@zanichelli/albe-web-components 7.6.0-RC1 → 8.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/cjs/{index-10e0d8b7.js → index-b7c319f2.js} +0 -6
- package/dist/cjs/index-e3299e0a.js +4 -8
- package/dist/cjs/index.cjs.js +2 -8
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{utils-dd90aed2.js → utils-38f8555a.js} +1 -1
- package/dist/cjs/{utils-3b4947cd.js → utils-938e5834.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-breadcrumb.cjs.entry.js +2 -2
- package/dist/cjs/z-card.cjs.entry.js +1 -1
- package/dist/cjs/z-carousel.cjs.entry.js +1 -1
- package/dist/cjs/z-chip.cjs.entry.js +2 -2
- package/dist/cjs/z-combobox.cjs.entry.js +2 -2
- package/dist/cjs/z-contextual-menu.cjs.entry.js +1 -1
- 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 +1 -1
- 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 +1 -1
- package/dist/collection/beans/index.js +0 -6
- package/dist/collection/collection-manifest.json +0 -1
- package/dist/esm/{index-c53ca6bc.js → index-7e4df1be.js} +1 -7
- package/dist/esm/index-a2ca4b97.js +4 -8
- package/dist/esm/index.js +2 -2
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{utils-4db4ed1f.js → utils-825aed23.js} +1 -1
- package/dist/esm/{utils-412ebe25.js → utils-af924ea4.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-breadcrumb.entry.js +2 -2
- package/dist/esm/z-card.entry.js +1 -1
- package/dist/esm/z-carousel.entry.js +1 -1
- package/dist/esm/z-chip.entry.js +2 -2
- package/dist/esm/z-combobox.entry.js +2 -2
- package/dist/esm/z-contextual-menu.entry.js +1 -1
- 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 +1 -1
- 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 +1 -1
- package/dist/types/beans/index.d.ts +0 -5
- 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 +0 -0
- 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-card/index.d.ts +0 -0
- package/dist/types/components/z-carousel/index.d.ts +0 -0
- package/dist/types/components/z-contextual-menu/index.d.ts +0 -0
- 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 +1 -86
- 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-e4d78452.entry.js → p-022854df.entry.js} +1 -1
- package/dist/web-components-library/{p-0aa025fa.entry.js → p-0418f9fb.entry.js} +1 -1
- package/dist/web-components-library/{p-47c095c2.entry.js → p-073f24c9.entry.js} +1 -1
- package/dist/web-components-library/{p-29426408.entry.js → p-079357ba.entry.js} +1 -1
- package/dist/web-components-library/{p-dd515f64.entry.js → p-0b822ad0.entry.js} +1 -1
- package/dist/web-components-library/{p-fed42db6.entry.js → p-0b942851.entry.js} +1 -1
- package/{www/build/p-d8ea70ed.entry.js → dist/web-components-library/p-0c0735e5.entry.js} +1 -1
- package/dist/web-components-library/{p-661905c0.entry.js → p-0eb7cb35.entry.js} +1 -1
- package/{www/build/p-095ce6ef.entry.js → dist/web-components-library/p-0fd40ac5.entry.js} +1 -1
- package/dist/web-components-library/p-14c2c56c.js +1 -0
- package/dist/web-components-library/p-1cc1a418.js +1 -0
- package/dist/web-components-library/{p-89d048ff.entry.js → p-227667b6.entry.js} +1 -1
- package/dist/web-components-library/{p-b0141c4d.entry.js → p-27100ea1.entry.js} +1 -1
- package/{www/build/p-78c5f1a4.entry.js → dist/web-components-library/p-2e7da553.entry.js} +1 -1
- package/{www/build/p-c59c6c78.entry.js → dist/web-components-library/p-2f547970.entry.js} +1 -1
- package/dist/web-components-library/{p-3ea868e0.entry.js → p-39595f7a.entry.js} +1 -1
- package/dist/web-components-library/{p-81e6e4c8.entry.js → p-39863e41.entry.js} +1 -1
- package/dist/web-components-library/{p-8ff9de86.entry.js → p-447a7c51.entry.js} +1 -1
- package/dist/web-components-library/{p-03ee7c14.entry.js → p-4610db36.entry.js} +1 -1
- package/dist/web-components-library/{p-a0345d42.entry.js → p-4b9882b3.entry.js} +1 -1
- package/dist/web-components-library/{p-0f8f488c.entry.js → p-5825ef19.entry.js} +1 -1
- package/dist/web-components-library/{p-5aee5484.entry.js → p-613d6de7.entry.js} +1 -1
- package/dist/web-components-library/{p-e7c7ac3d.entry.js → p-6be6a2f4.entry.js} +1 -1
- package/{www/build/p-bee6bf99.entry.js → dist/web-components-library/p-7ac431a5.entry.js} +1 -1
- package/dist/web-components-library/{p-aa228ddb.entry.js → p-8f7680ef.entry.js} +1 -1
- package/dist/web-components-library/{p-64fa04a0.entry.js → p-910ca14c.entry.js} +1 -1
- package/dist/web-components-library/p-98dcf178.entry.js +1 -0
- package/dist/web-components-library/{p-757c4b4d.entry.js → p-98df8460.entry.js} +1 -1
- package/{www/build/p-482c478a.entry.js → dist/web-components-library/p-9a1b8000.entry.js} +1 -1
- package/{www/build/p-d00cf0ff.entry.js → dist/web-components-library/p-9e400a11.entry.js} +1 -1
- package/dist/web-components-library/{p-9b4b0fbb.entry.js → p-9fee86aa.entry.js} +1 -1
- package/dist/web-components-library/{p-0e92e0d9.entry.js → p-a19a70a0.entry.js} +1 -1
- package/{www/build/p-e663af8b.entry.js → dist/web-components-library/p-b44030d0.entry.js} +1 -1
- package/dist/web-components-library/{p-ab1799fe.entry.js → p-cd456854.entry.js} +1 -1
- package/dist/web-components-library/{p-d4afc10f.entry.js → p-cfc9cf52.entry.js} +1 -1
- package/{www/build/p-856c6f33.entry.js → dist/web-components-library/p-d966a1b9.entry.js} +1 -1
- package/dist/web-components-library/{p-800ca36a.entry.js → p-d98d3cf1.entry.js} +1 -1
- package/dist/web-components-library/{p-374d6f57.entry.js → p-dcad3493.entry.js} +1 -1
- package/dist/web-components-library/{p-d9c76001.entry.js → p-e606b019.entry.js} +1 -1
- package/dist/web-components-library/{p-6a459468.entry.js → p-ec5242da.entry.js} +1 -1
- package/{www/build/p-c18b8fb3.js → dist/web-components-library/p-ee918c17.js} +1 -1
- package/{www/build/p-f3fce575.entry.js → dist/web-components-library/p-f5a247b9.entry.js} +1 -1
- package/dist/web-components-library/{p-e4e5a652.entry.js → p-f8f862f9.entry.js} +1 -1
- package/{www/build/p-a2d11471.entry.js → dist/web-components-library/p-fa7a11fd.entry.js} +1 -1
- package/dist/web-components-library/{p-e41e28f7.entry.js → p-fd8eae32.entry.js} +1 -1
- package/dist/web-components-library/{p-d96d4f30.entry.js → p-ff838f90.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 +0 -1
- package/react/components.js +2 -3
- package/react/components.js.map +1 -1
- package/www/build/index.esm.js +1 -1
- package/www/build/{p-e4d78452.entry.js → p-022854df.entry.js} +1 -1
- package/www/build/{p-0aa025fa.entry.js → p-0418f9fb.entry.js} +1 -1
- package/www/build/{p-47c095c2.entry.js → p-073f24c9.entry.js} +1 -1
- package/www/build/{p-29426408.entry.js → p-079357ba.entry.js} +1 -1
- package/www/build/{p-dd515f64.entry.js → p-0b822ad0.entry.js} +1 -1
- package/www/build/{p-fed42db6.entry.js → p-0b942851.entry.js} +1 -1
- package/{dist/web-components-library/p-d8ea70ed.entry.js → www/build/p-0c0735e5.entry.js} +1 -1
- package/www/build/{p-661905c0.entry.js → p-0eb7cb35.entry.js} +1 -1
- package/{dist/web-components-library/p-095ce6ef.entry.js → www/build/p-0fd40ac5.entry.js} +1 -1
- package/www/build/p-14c2c56c.js +1 -0
- package/www/build/p-1cc1a418.js +1 -0
- package/www/build/{p-89d048ff.entry.js → p-227667b6.entry.js} +1 -1
- package/www/build/{p-b0141c4d.entry.js → p-27100ea1.entry.js} +1 -1
- package/{dist/web-components-library/p-78c5f1a4.entry.js → www/build/p-2e7da553.entry.js} +1 -1
- package/{dist/web-components-library/p-c59c6c78.entry.js → www/build/p-2f547970.entry.js} +1 -1
- package/www/build/{p-3ea868e0.entry.js → p-39595f7a.entry.js} +1 -1
- package/www/build/{p-81e6e4c8.entry.js → p-39863e41.entry.js} +1 -1
- package/www/build/{p-8ff9de86.entry.js → p-447a7c51.entry.js} +1 -1
- package/www/build/{p-03ee7c14.entry.js → p-4610db36.entry.js} +1 -1
- package/www/build/{p-a0345d42.entry.js → p-4b9882b3.entry.js} +1 -1
- package/www/build/{p-0f8f488c.entry.js → p-5825ef19.entry.js} +1 -1
- package/www/build/{p-5aee5484.entry.js → p-613d6de7.entry.js} +1 -1
- package/www/build/{p-e7c7ac3d.entry.js → p-6be6a2f4.entry.js} +1 -1
- package/{dist/web-components-library/p-bee6bf99.entry.js → www/build/p-7ac431a5.entry.js} +1 -1
- package/www/build/{p-aa228ddb.entry.js → p-8f7680ef.entry.js} +1 -1
- package/www/build/{p-64fa04a0.entry.js → p-910ca14c.entry.js} +1 -1
- package/www/build/p-98dcf178.entry.js +1 -0
- package/www/build/{p-757c4b4d.entry.js → p-98df8460.entry.js} +1 -1
- package/{dist/web-components-library/p-482c478a.entry.js → www/build/p-9a1b8000.entry.js} +1 -1
- package/{dist/web-components-library/p-d00cf0ff.entry.js → www/build/p-9e400a11.entry.js} +1 -1
- package/www/build/{p-9b4b0fbb.entry.js → p-9fee86aa.entry.js} +1 -1
- package/www/build/{p-0e92e0d9.entry.js → p-a19a70a0.entry.js} +1 -1
- package/{dist/web-components-library/p-e663af8b.entry.js → www/build/p-b44030d0.entry.js} +1 -1
- package/www/build/p-cb047349.js +1 -0
- package/www/build/{p-ab1799fe.entry.js → p-cd456854.entry.js} +1 -1
- package/www/build/{p-d4afc10f.entry.js → p-cfc9cf52.entry.js} +1 -1
- package/{dist/web-components-library/p-856c6f33.entry.js → www/build/p-d966a1b9.entry.js} +1 -1
- package/www/build/{p-800ca36a.entry.js → p-d98d3cf1.entry.js} +1 -1
- package/www/build/{p-374d6f57.entry.js → p-dcad3493.entry.js} +1 -1
- package/www/build/{p-d9c76001.entry.js → p-e606b019.entry.js} +1 -1
- package/www/build/{p-6a459468.entry.js → p-ec5242da.entry.js} +1 -1
- package/{dist/web-components-library/p-c18b8fb3.js → www/build/p-ee918c17.js} +1 -1
- package/www/build/p-f39bb490.css +2 -0
- package/{dist/web-components-library/p-f3fce575.entry.js → www/build/p-f5a247b9.entry.js} +1 -1
- package/www/build/{p-e4e5a652.entry.js → p-f8f862f9.entry.js} +1 -1
- package/{dist/web-components-library/p-a2d11471.entry.js → www/build/p-fa7a11fd.entry.js} +1 -1
- package/www/build/{p-e41e28f7.entry.js → p-fd8eae32.entry.js} +1 -1
- package/www/build/{p-d96d4f30.entry.js → p-ff838f90.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/CHANGELOG.md +0 -2575
- package/dist/cjs/z-book-card.cjs.entry.js +0 -115
- package/dist/collection/components/z-book-card/index.js +0 -308
- package/dist/collection/components/z-book-card/styles.css +0 -337
- package/dist/esm/z-book-card.entry.js +0 -111
- package/dist/types/components/z-book-card/index.d.ts +0 -75
- package/dist/web-components-library/p-8c3eeb55.js +0 -1
- package/dist/web-components-library/p-e0fb4e05.entry.js +0 -1
- package/dist/web-components-library/p-e936bf5f.entry.js +0 -1
- package/dist/web-components-library/p-f0cd78f2.js +0 -1
- package/src-react/index.ts +0 -1
- package/www/build/p-8c3eeb55.js +0 -1
- package/www/build/p-9e1e6212.js +0 -129
- package/www/build/p-bc2bd463.css +0 -1617
- package/www/build/p-e0fb4e05.entry.js +0 -1
- package/www/build/p-e936bf5f.entry.js +0 -1
- package/www/build/p-f0cd78f2.js +0 -1
- package/www/pages/book-cards.html +0 -269
|
@@ -1,115 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
-
|
|
5
|
-
const index = require('./index-e3299e0a.js');
|
|
6
|
-
const index$1 = require('./index-10e0d8b7.js');
|
|
7
|
-
const breakpoints = require('./breakpoints-ebe1a437.js');
|
|
8
|
-
const utils = require('./utils-dd90aed2.js');
|
|
9
|
-
|
|
10
|
-
const stylesCss = ":host{--z-book-card-ribbon-background-color:var(--avatar-C08);--z-book-card-ribbon-shadow-color:var(--green950);display:block;width:100%;max-width:360px;font-family:var(--font-family-sans);font-weight:var(--font-rg)}:host>article{box-sizing:border-box;border:var(--border-size-medium) solid var(--color-surface03);background-color:var(--color-surface01);border-radius:var(--border-radius)}:host div.cover{position:relative;display:flex}:host div.cover img{width:auto;max-width:100%;height:auto;max-height:100%;align-self:flex-end}:host div.cover div.ribbon{position:absolute;top:calc(var(--space-unit) * 2);display:flex;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);margin-left:calc(var(--space-unit) * -2);background:var(--z-book-card-ribbon-background-color);border-radius:0 var(--border-radius) var(--border-radius) 0;color:var(--color-text04);font-size:var(--font-size-2);font-weight:var(--font-sb);line-height:initial}:host div.cover div.ribbon::before{position:absolute;bottom:-12px;left:0;width:0;height:0;border-top:10px solid var(--z-book-card-ribbon-shadow-color);border-left:14px solid transparent;content:\"\"}:host div.title{color:var(--color-text01);font-size:var(--font-size-4);font-weight:var(--font-sb);line-height:1.5}:host div.title *{all:unset}:host div.subtitle{color:var(--color-text01);font-size:var(--font-size-2);font-weight:var(--font-rg);line-height:1.4}:host div.authors{color:var(--color-text01);font-size:var(--font-size-1);font-weight:var(--font-rg);line-height:1.33}:host div.isbn{color:var(--color-text01);font-size:var(--font-size-2);line-height:1.33}:host div.isbn>.code{font-weight:var(--font-sb)}:host 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 ::slotted([slot=\"tags\"]){margin-bottom:var(--space-unit)}:host ::slotted([slot=\"header-cta\"]){--z-icon-width:20px;--z-icon-height:20px;padding:var(--space-unit);cursor:pointer;fill:var(--color-icon01)}:host>article.expanded div.content,:host>article.search div.content{margin:var(--space-unit) 0}:host>article.expanded div.cover,:host>article.search div.cover{border:var(--border-size-small) solid var(--color-surface03);border-radius:var(--border-radius);line-height:0}: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 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 z-link.show-resources{--font-size-link:var(--font-size-2);--font-weight-link:var(--font-sb);display:flex;width:100%;flex-flow:row nowrap;align-content:center;align-items:center;justify-content:center;padding-top:var(--space-unit)}:host>article.search{width:262px;height:536px;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);margin:auto;margin-bottom:0}: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{height:314px}:host>article.search div.title{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;word-wrap:nowrap}@media (min-width: 768px){:host{width:initial;max-width:initial}:host>article.expanded{width:635px;min-width:initial;max-width:initial;height:360px;padding: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{width:262px;height:356px;border:0;background:var(--color-surface01);border-radius:0}:host>article.expanded div.cover img{width:auto}:host>article.expanded div.cover div.ribbon::before{border-left:12px solid transparent}:host>article.expanded div.content{display:flex;overflow:hidden;width:369px;height:356px;flex-flow:column nowrap;align-content:stretch;align-items:stretch;justify-content:space-between;margin:0;background:var(--color-surface01)}: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}}";
|
|
11
|
-
|
|
12
|
-
const ZBookCard = class {
|
|
13
|
-
constructor(hostRef) {
|
|
14
|
-
index.registerInstance(this, hostRef);
|
|
15
|
-
this.isMobile = false;
|
|
16
|
-
this.hasResources = false;
|
|
17
|
-
this.showResources = false;
|
|
18
|
-
this.moveFocusToResources = false;
|
|
19
|
-
}
|
|
20
|
-
handleResize() {
|
|
21
|
-
this.isMobile = window.innerWidth <= breakpoints.mobileBreakpoint;
|
|
22
|
-
}
|
|
23
|
-
componentWillLoad() {
|
|
24
|
-
this.id = `id-${utils.randomId()}`;
|
|
25
|
-
this.handleResize();
|
|
26
|
-
}
|
|
27
|
-
componentWillRender() {
|
|
28
|
-
this.handleResources();
|
|
29
|
-
}
|
|
30
|
-
componentDidRender() {
|
|
31
|
-
if (this.moveFocusToResources) {
|
|
32
|
-
this.resourcesWrapper.focus();
|
|
33
|
-
this.moveFocusToResources = false;
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
|
-
handleResources() {
|
|
37
|
-
var _a;
|
|
38
|
-
if (this.variant !== index$1.BookCardVariant.EXPANDED || !this.isMobile) {
|
|
39
|
-
return;
|
|
40
|
-
}
|
|
41
|
-
this.hasResources = ((_a = this.hostElement.querySelectorAll("[slot=resources]")) === null || _a === void 0 ? void 0 : _a.length) > 0;
|
|
42
|
-
}
|
|
43
|
-
toggleResources() {
|
|
44
|
-
this.showResources = !this.showResources;
|
|
45
|
-
if (this.showResources) {
|
|
46
|
-
this.moveFocusToResources = true;
|
|
47
|
-
}
|
|
48
|
-
}
|
|
49
|
-
renderCard() {
|
|
50
|
-
switch (this.variant) {
|
|
51
|
-
case index$1.BookCardVariant.EXPANDED:
|
|
52
|
-
return this.isMobile ? this.renderMobileExpandedCard() : this.renderExpandedCard();
|
|
53
|
-
case index$1.BookCardVariant.COMPACT:
|
|
54
|
-
return index.h("div", null);
|
|
55
|
-
case index$1.BookCardVariant.SEARCH:
|
|
56
|
-
return this.renderSearchCard();
|
|
57
|
-
}
|
|
58
|
-
}
|
|
59
|
-
renderExpandedCard() {
|
|
60
|
-
return (index.h("div", { class: "wrapper" }, this.renderCover(), index.h("div", { class: "content" }, index.h("div", { class: "top" }, index.h("div", { class: "info" }, index.h("div", { class: "left" }, this.renderAuthors(), this.renderOperaTitle(), this.renderVolumeTitle(), this.renderIsbn()), index.h("div", { class: "right" }, this.renderHeaderCtaSlot())), this.renderTagsSlot()), index.h("div", { class: "bottom" }, this.renderResourcesSlot()))));
|
|
61
|
-
}
|
|
62
|
-
renderMobileExpandedCard() {
|
|
63
|
-
return (index.h("div", { class: "wrapper" }, index.h("div", { class: "header" }, this.renderOperaTitle(), this.renderHeaderCtaSlot()), this.renderCover(), index.h("div", { class: "content" }, this.renderTagsSlot(), this.renderAuthors(), this.renderVolumeTitle(), this.renderIsbn()), this.hasResources && (index.h("div", { class: `footer ${this.showResources ? "open" : "close"}` }, this.renderResourcesSlot(), this.renderShowResources()))));
|
|
64
|
-
}
|
|
65
|
-
renderSearchCard() {
|
|
66
|
-
return (index.h("div", { class: "wrapper-container" }, index.h("div", { class: "wrapper" }, index.h("div", { class: "header" }, this.renderOperaTitle(), this.renderHeaderCtaSlot()), this.renderCover(), index.h("div", { class: "content" }, this.renderTagsSlot(), this.renderAuthors(), this.renderVolumeTitle(), this.renderIsbn())), this.renderFooterCtaSlot()));
|
|
67
|
-
}
|
|
68
|
-
renderCover() {
|
|
69
|
-
return (index.h("div", { class: "cover" }, this.ribbon && this.variant !== index$1.BookCardVariant.COMPACT && (index.h("div", { class: "ribbon" }, index.h("span", null, this.ribbon))), index.h("img", { src: this.cover, onError: () => {
|
|
70
|
-
if (this.fallbackCover) {
|
|
71
|
-
this.cover = this.fallbackCover;
|
|
72
|
-
}
|
|
73
|
-
}, "aria-hidden": "true" })));
|
|
74
|
-
}
|
|
75
|
-
renderOperaTitle() {
|
|
76
|
-
const title = this.operaTitleTag
|
|
77
|
-
? `<${this.operaTitleTag}>${this.operaTitle}</${this.operaTitleTag}>`
|
|
78
|
-
: this.operaTitle;
|
|
79
|
-
return (index.h("div", { class: "title", innerHTML: title }));
|
|
80
|
-
}
|
|
81
|
-
renderVolumeTitle() {
|
|
82
|
-
return this.volumeTitle ? index.h("div", { class: "subtitle" }, this.volumeTitle) : null;
|
|
83
|
-
}
|
|
84
|
-
renderAuthors() {
|
|
85
|
-
return this.authors ? (index.h("div", { class: "authors", "aria-description": "Autori" }, this.authors)) : null;
|
|
86
|
-
}
|
|
87
|
-
renderIsbn() {
|
|
88
|
-
if (!this.isbn) {
|
|
89
|
-
return null;
|
|
90
|
-
}
|
|
91
|
-
return (index.h("div", { class: "isbn" }, index.h("span", { class: "code", "aria-description": "ISBN edizione cartacea" }, this.isbn), index.h("span", { class: "label" }, " (ed. cartacea)")));
|
|
92
|
-
}
|
|
93
|
-
renderShowResources() {
|
|
94
|
-
return (index.h("z-link", { icon: this.showResources ? "chevron-up" : "chevron-down", iconposition: "right", role: "button", class: "show-resources", "aria-label": `Risorse del libro ${this.operaTitle}`, "aria-expanded": this.showResources.toString(), "aria-haspopup": "menu", "aria-controls": `resources-${this.id}`, onClick: () => this.toggleResources(), onKeyUp: (e) => utils.handleEnterKeydSubmit(e, this.toggleResources.bind(this)) }, this.showResources ? "Chiudi" : "Vedi tutto"));
|
|
95
|
-
}
|
|
96
|
-
renderTagsSlot() {
|
|
97
|
-
return (index.h("div", { class: "tags" }, index.h("slot", { name: "tags" })));
|
|
98
|
-
}
|
|
99
|
-
renderHeaderCtaSlot() {
|
|
100
|
-
return index.h("slot", { name: "header-cta" });
|
|
101
|
-
}
|
|
102
|
-
renderResourcesSlot() {
|
|
103
|
-
return (index.h("div", { id: `resources-${this.id}`, class: "resources", tabIndex: this.showResources ? 0 : -1, ref: (el) => (this.resourcesWrapper = el) }, index.h("slot", { name: "resources" })));
|
|
104
|
-
}
|
|
105
|
-
renderFooterCtaSlot() {
|
|
106
|
-
return (index.h("div", { class: "action-container" }, index.h("slot", { name: "footer-cta" })));
|
|
107
|
-
}
|
|
108
|
-
render() {
|
|
109
|
-
return index.h("article", { class: `${this.variant}` }, this.renderCard());
|
|
110
|
-
}
|
|
111
|
-
get hostElement() { return index.getElement(this); }
|
|
112
|
-
};
|
|
113
|
-
ZBookCard.style = stylesCss;
|
|
114
|
-
|
|
115
|
-
exports.z_book_card = ZBookCard;
|
|
@@ -1,308 +0,0 @@
|
|
|
1
|
-
import { h } from "@stencil/core";
|
|
2
|
-
import { BookCardVariant } from "../../beans";
|
|
3
|
-
import { mobileBreakpoint } from "../../constants/breakpoints";
|
|
4
|
-
import { handleEnterKeydSubmit, randomId } from "../../utils/utils";
|
|
5
|
-
/**
|
|
6
|
-
* @slot resources - books resources (extended variant only)
|
|
7
|
-
* @slot header-cta - header CTA (e.g. bookmark icon)
|
|
8
|
-
* @slot tags - card tags
|
|
9
|
-
* @slot footer-cta - footer cta button (search variant only)
|
|
10
|
-
* @cssprop --z-book-card-ribbon-background-color - ribbon backgrund color
|
|
11
|
-
* @cssprop --z-book-card-ribbon-shadow-color - ribbon shadow color
|
|
12
|
-
*/
|
|
13
|
-
export class ZBookCard {
|
|
14
|
-
constructor() {
|
|
15
|
-
this.isMobile = false;
|
|
16
|
-
this.hasResources = false;
|
|
17
|
-
this.showResources = false;
|
|
18
|
-
this.moveFocusToResources = false;
|
|
19
|
-
}
|
|
20
|
-
handleResize() {
|
|
21
|
-
this.isMobile = window.innerWidth <= mobileBreakpoint;
|
|
22
|
-
}
|
|
23
|
-
componentWillLoad() {
|
|
24
|
-
this.id = `id-${randomId()}`;
|
|
25
|
-
this.handleResize();
|
|
26
|
-
}
|
|
27
|
-
componentWillRender() {
|
|
28
|
-
this.handleResources();
|
|
29
|
-
}
|
|
30
|
-
componentDidRender() {
|
|
31
|
-
if (this.moveFocusToResources) {
|
|
32
|
-
this.resourcesWrapper.focus();
|
|
33
|
-
this.moveFocusToResources = false;
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
|
-
handleResources() {
|
|
37
|
-
var _a;
|
|
38
|
-
if (this.variant !== BookCardVariant.EXPANDED || !this.isMobile) {
|
|
39
|
-
return;
|
|
40
|
-
}
|
|
41
|
-
this.hasResources = ((_a = this.hostElement.querySelectorAll("[slot=resources]")) === null || _a === void 0 ? void 0 : _a.length) > 0;
|
|
42
|
-
}
|
|
43
|
-
toggleResources() {
|
|
44
|
-
this.showResources = !this.showResources;
|
|
45
|
-
if (this.showResources) {
|
|
46
|
-
this.moveFocusToResources = true;
|
|
47
|
-
}
|
|
48
|
-
}
|
|
49
|
-
renderCard() {
|
|
50
|
-
switch (this.variant) {
|
|
51
|
-
case BookCardVariant.EXPANDED:
|
|
52
|
-
return this.isMobile ? this.renderMobileExpandedCard() : this.renderExpandedCard();
|
|
53
|
-
case BookCardVariant.COMPACT:
|
|
54
|
-
return h("div", null);
|
|
55
|
-
case BookCardVariant.SEARCH:
|
|
56
|
-
return this.renderSearchCard();
|
|
57
|
-
}
|
|
58
|
-
}
|
|
59
|
-
renderExpandedCard() {
|
|
60
|
-
return (h("div", { class: "wrapper" }, this.renderCover(), h("div", { class: "content" }, h("div", { class: "top" }, h("div", { class: "info" }, h("div", { class: "left" }, this.renderAuthors(), this.renderOperaTitle(), this.renderVolumeTitle(), this.renderIsbn()), h("div", { class: "right" }, this.renderHeaderCtaSlot())), this.renderTagsSlot()), h("div", { class: "bottom" }, this.renderResourcesSlot()))));
|
|
61
|
-
}
|
|
62
|
-
renderMobileExpandedCard() {
|
|
63
|
-
return (h("div", { class: "wrapper" }, h("div", { class: "header" }, this.renderOperaTitle(), this.renderHeaderCtaSlot()), this.renderCover(), h("div", { class: "content" }, this.renderTagsSlot(), this.renderAuthors(), this.renderVolumeTitle(), this.renderIsbn()), this.hasResources && (h("div", { class: `footer ${this.showResources ? "open" : "close"}` }, this.renderResourcesSlot(), this.renderShowResources()))));
|
|
64
|
-
}
|
|
65
|
-
renderSearchCard() {
|
|
66
|
-
return (h("div", { class: "wrapper-container" }, h("div", { class: "wrapper" }, h("div", { class: "header" }, this.renderOperaTitle(), this.renderHeaderCtaSlot()), this.renderCover(), h("div", { class: "content" }, this.renderTagsSlot(), this.renderAuthors(), this.renderVolumeTitle(), this.renderIsbn())), this.renderFooterCtaSlot()));
|
|
67
|
-
}
|
|
68
|
-
renderCover() {
|
|
69
|
-
return (h("div", { class: "cover" }, this.ribbon && this.variant !== BookCardVariant.COMPACT && (h("div", { class: "ribbon" }, h("span", null, this.ribbon))), h("img", { src: this.cover, onError: () => {
|
|
70
|
-
if (this.fallbackCover) {
|
|
71
|
-
this.cover = this.fallbackCover;
|
|
72
|
-
}
|
|
73
|
-
}, "aria-hidden": "true" })));
|
|
74
|
-
}
|
|
75
|
-
renderOperaTitle() {
|
|
76
|
-
const title = this.operaTitleTag
|
|
77
|
-
? `<${this.operaTitleTag}>${this.operaTitle}</${this.operaTitleTag}>`
|
|
78
|
-
: this.operaTitle;
|
|
79
|
-
return (h("div", { class: "title", innerHTML: title }));
|
|
80
|
-
}
|
|
81
|
-
renderVolumeTitle() {
|
|
82
|
-
return this.volumeTitle ? h("div", { class: "subtitle" }, this.volumeTitle) : null;
|
|
83
|
-
}
|
|
84
|
-
renderAuthors() {
|
|
85
|
-
return this.authors ? (h("div", { class: "authors", "aria-description": "Autori" }, this.authors)) : null;
|
|
86
|
-
}
|
|
87
|
-
renderIsbn() {
|
|
88
|
-
if (!this.isbn) {
|
|
89
|
-
return null;
|
|
90
|
-
}
|
|
91
|
-
return (h("div", { class: "isbn" }, h("span", { class: "code", "aria-description": "ISBN edizione cartacea" }, this.isbn), h("span", { class: "label" }, " (ed. cartacea)")));
|
|
92
|
-
}
|
|
93
|
-
renderShowResources() {
|
|
94
|
-
return (h("z-link", { icon: this.showResources ? "chevron-up" : "chevron-down", iconposition: "right", role: "button", class: "show-resources", "aria-label": `Risorse del libro ${this.operaTitle}`, "aria-expanded": this.showResources.toString(), "aria-haspopup": "menu", "aria-controls": `resources-${this.id}`, onClick: () => this.toggleResources(), onKeyUp: (e) => handleEnterKeydSubmit(e, this.toggleResources.bind(this)) }, this.showResources ? "Chiudi" : "Vedi tutto"));
|
|
95
|
-
}
|
|
96
|
-
renderTagsSlot() {
|
|
97
|
-
return (h("div", { class: "tags" }, h("slot", { name: "tags" })));
|
|
98
|
-
}
|
|
99
|
-
renderHeaderCtaSlot() {
|
|
100
|
-
return h("slot", { name: "header-cta" });
|
|
101
|
-
}
|
|
102
|
-
renderResourcesSlot() {
|
|
103
|
-
return (h("div", { id: `resources-${this.id}`, class: "resources", tabIndex: this.showResources ? 0 : -1, ref: (el) => (this.resourcesWrapper = el) }, h("slot", { name: "resources" })));
|
|
104
|
-
}
|
|
105
|
-
renderFooterCtaSlot() {
|
|
106
|
-
return (h("div", { class: "action-container" }, h("slot", { name: "footer-cta" })));
|
|
107
|
-
}
|
|
108
|
-
render() {
|
|
109
|
-
return h("article", { class: `${this.variant}` }, this.renderCard());
|
|
110
|
-
}
|
|
111
|
-
static get is() { return "z-book-card"; }
|
|
112
|
-
static get encapsulation() { return "shadow"; }
|
|
113
|
-
static get originalStyleUrls() {
|
|
114
|
-
return {
|
|
115
|
-
"$": ["styles.css"]
|
|
116
|
-
};
|
|
117
|
-
}
|
|
118
|
-
static get styleUrls() {
|
|
119
|
-
return {
|
|
120
|
-
"$": ["styles.css"]
|
|
121
|
-
};
|
|
122
|
-
}
|
|
123
|
-
static get properties() {
|
|
124
|
-
return {
|
|
125
|
-
"variant": {
|
|
126
|
-
"type": "string",
|
|
127
|
-
"mutable": false,
|
|
128
|
-
"complexType": {
|
|
129
|
-
"original": "BookCardVariant",
|
|
130
|
-
"resolved": "BookCardVariant.COMPACT | BookCardVariant.EXPANDED | BookCardVariant.SEARCH",
|
|
131
|
-
"references": {
|
|
132
|
-
"BookCardVariant": {
|
|
133
|
-
"location": "import",
|
|
134
|
-
"path": "../../beans"
|
|
135
|
-
}
|
|
136
|
-
}
|
|
137
|
-
},
|
|
138
|
-
"required": false,
|
|
139
|
-
"optional": false,
|
|
140
|
-
"docs": {
|
|
141
|
-
"tags": [],
|
|
142
|
-
"text": "Card variant: expanded, compact, search"
|
|
143
|
-
},
|
|
144
|
-
"attribute": "variant",
|
|
145
|
-
"reflect": false
|
|
146
|
-
},
|
|
147
|
-
"cover": {
|
|
148
|
-
"type": "string",
|
|
149
|
-
"mutable": false,
|
|
150
|
-
"complexType": {
|
|
151
|
-
"original": "string",
|
|
152
|
-
"resolved": "string",
|
|
153
|
-
"references": {}
|
|
154
|
-
},
|
|
155
|
-
"required": false,
|
|
156
|
-
"optional": false,
|
|
157
|
-
"docs": {
|
|
158
|
-
"tags": [],
|
|
159
|
-
"text": "Cover URL"
|
|
160
|
-
},
|
|
161
|
-
"attribute": "cover",
|
|
162
|
-
"reflect": false
|
|
163
|
-
},
|
|
164
|
-
"operaTitle": {
|
|
165
|
-
"type": "string",
|
|
166
|
-
"mutable": false,
|
|
167
|
-
"complexType": {
|
|
168
|
-
"original": "string",
|
|
169
|
-
"resolved": "string",
|
|
170
|
-
"references": {}
|
|
171
|
-
},
|
|
172
|
-
"required": false,
|
|
173
|
-
"optional": false,
|
|
174
|
-
"docs": {
|
|
175
|
-
"tags": [],
|
|
176
|
-
"text": "Card main title"
|
|
177
|
-
},
|
|
178
|
-
"attribute": "opera-title",
|
|
179
|
-
"reflect": false
|
|
180
|
-
},
|
|
181
|
-
"volumeTitle": {
|
|
182
|
-
"type": "string",
|
|
183
|
-
"mutable": false,
|
|
184
|
-
"complexType": {
|
|
185
|
-
"original": "string",
|
|
186
|
-
"resolved": "string",
|
|
187
|
-
"references": {}
|
|
188
|
-
},
|
|
189
|
-
"required": false,
|
|
190
|
-
"optional": true,
|
|
191
|
-
"docs": {
|
|
192
|
-
"tags": [],
|
|
193
|
-
"text": "[optional] Card subtitle"
|
|
194
|
-
},
|
|
195
|
-
"attribute": "volume-title",
|
|
196
|
-
"reflect": false
|
|
197
|
-
},
|
|
198
|
-
"authors": {
|
|
199
|
-
"type": "string",
|
|
200
|
-
"mutable": false,
|
|
201
|
-
"complexType": {
|
|
202
|
-
"original": "string",
|
|
203
|
-
"resolved": "string",
|
|
204
|
-
"references": {}
|
|
205
|
-
},
|
|
206
|
-
"required": false,
|
|
207
|
-
"optional": true,
|
|
208
|
-
"docs": {
|
|
209
|
-
"tags": [],
|
|
210
|
-
"text": "[optional] Authors"
|
|
211
|
-
},
|
|
212
|
-
"attribute": "authors",
|
|
213
|
-
"reflect": false
|
|
214
|
-
},
|
|
215
|
-
"isbn": {
|
|
216
|
-
"type": "string",
|
|
217
|
-
"mutable": false,
|
|
218
|
-
"complexType": {
|
|
219
|
-
"original": "string",
|
|
220
|
-
"resolved": "string",
|
|
221
|
-
"references": {}
|
|
222
|
-
},
|
|
223
|
-
"required": false,
|
|
224
|
-
"optional": true,
|
|
225
|
-
"docs": {
|
|
226
|
-
"tags": [],
|
|
227
|
-
"text": "[optional] Main ISBN"
|
|
228
|
-
},
|
|
229
|
-
"attribute": "isbn",
|
|
230
|
-
"reflect": false
|
|
231
|
-
},
|
|
232
|
-
"ribbon": {
|
|
233
|
-
"type": "string",
|
|
234
|
-
"mutable": false,
|
|
235
|
-
"complexType": {
|
|
236
|
-
"original": "string",
|
|
237
|
-
"resolved": "string",
|
|
238
|
-
"references": {}
|
|
239
|
-
},
|
|
240
|
-
"required": false,
|
|
241
|
-
"optional": true,
|
|
242
|
-
"docs": {
|
|
243
|
-
"tags": [],
|
|
244
|
-
"text": "[optional] Ribbon label"
|
|
245
|
-
},
|
|
246
|
-
"attribute": "ribbon",
|
|
247
|
-
"reflect": false
|
|
248
|
-
},
|
|
249
|
-
"fallbackCover": {
|
|
250
|
-
"type": "string",
|
|
251
|
-
"mutable": false,
|
|
252
|
-
"complexType": {
|
|
253
|
-
"original": "string",
|
|
254
|
-
"resolved": "string",
|
|
255
|
-
"references": {}
|
|
256
|
-
},
|
|
257
|
-
"required": false,
|
|
258
|
-
"optional": true,
|
|
259
|
-
"docs": {
|
|
260
|
-
"tags": [],
|
|
261
|
-
"text": "[optional] Fallback cover URL"
|
|
262
|
-
},
|
|
263
|
-
"attribute": "fallback-cover",
|
|
264
|
-
"reflect": false
|
|
265
|
-
},
|
|
266
|
-
"operaTitleTag": {
|
|
267
|
-
"type": "string",
|
|
268
|
-
"mutable": false,
|
|
269
|
-
"complexType": {
|
|
270
|
-
"original": "string",
|
|
271
|
-
"resolved": "string",
|
|
272
|
-
"references": {}
|
|
273
|
-
},
|
|
274
|
-
"required": false,
|
|
275
|
-
"optional": true,
|
|
276
|
-
"docs": {
|
|
277
|
-
"tags": [],
|
|
278
|
-
"text": "[optional] [accessibility] Card title HTML tag"
|
|
279
|
-
},
|
|
280
|
-
"attribute": "opera-title-tag",
|
|
281
|
-
"reflect": false
|
|
282
|
-
}
|
|
283
|
-
};
|
|
284
|
-
}
|
|
285
|
-
static get states() {
|
|
286
|
-
return {
|
|
287
|
-
"isMobile": {},
|
|
288
|
-
"hasResources": {},
|
|
289
|
-
"showResources": {}
|
|
290
|
-
};
|
|
291
|
-
}
|
|
292
|
-
static get elementRef() { return "hostElement"; }
|
|
293
|
-
static get listeners() {
|
|
294
|
-
return [{
|
|
295
|
-
"name": "resize",
|
|
296
|
-
"method": "handleResize",
|
|
297
|
-
"target": "window",
|
|
298
|
-
"capture": false,
|
|
299
|
-
"passive": true
|
|
300
|
-
}, {
|
|
301
|
-
"name": "orientationchange",
|
|
302
|
-
"method": "handleResize",
|
|
303
|
-
"target": "window",
|
|
304
|
-
"capture": false,
|
|
305
|
-
"passive": false
|
|
306
|
-
}];
|
|
307
|
-
}
|
|
308
|
-
}
|