@zanichelli/albe-web-components 16.4.1 → 17.0.0-RC2
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 +0 -2
- package/dist/cjs/{index-97f9a3a0.js → index-0753c66c.js} +3 -3
- package/dist/cjs/{index-97f9a3a0.js.map → index-0753c66c.js.map} +1 -1
- package/dist/cjs/{index-01778132.js → index-112405cf.js} +2 -2
- package/dist/cjs/{index-01778132.js.map → index-112405cf.js.map} +1 -1
- package/dist/cjs/{index-6726b7d2.js → index-147da308.js} +5 -5
- package/dist/cjs/{index-6726b7d2.js.map → index-147da308.js.map} +1 -1
- package/dist/cjs/{index-ef486baa.js → index-2633ab47.js} +2 -2
- package/dist/cjs/{index-ef486baa.js.map → index-2633ab47.js.map} +1 -1
- package/dist/cjs/{index-b26fbd76.js → index-7c3bd0f4.js} +2 -2
- package/dist/cjs/{index-b26fbd76.js.map → index-7c3bd0f4.js.map} +1 -1
- package/dist/cjs/index-96af6326.js +12 -4
- package/dist/cjs/{index-22bdf239.js → index-c175c82a.js} +3 -3
- package/dist/cjs/{index-22bdf239.js.map → index-c175c82a.js.map} +1 -1
- package/dist/cjs/{index-daad5eae.js → index-f5ebcaa2.js} +14 -4
- package/dist/cjs/index-f5ebcaa2.js.map +1 -0
- package/dist/cjs/index.cjs.js +14 -2
- package/dist/cjs/index.cjs.js.map +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{utils-4a30b263.js → utils-c95c97b8.js} +2 -2
- package/dist/cjs/{utils-4a30b263.js.map → utils-c95c97b8.js.map} +1 -1
- package/dist/cjs/{utils-24df887f.js → utils-d08d4b80.js} +2 -2
- package/dist/cjs/{utils-24df887f.js.map → utils-d08d4b80.js.map} +1 -1
- package/dist/cjs/web-components-library.cjs.js +1 -1
- package/dist/cjs/z-accordion.cjs.entry.js +2 -2
- package/dist/cjs/z-alert.cjs.entry.js +1 -1
- package/dist/cjs/z-anchor-navigation.cjs.entry.js +2 -2
- package/dist/cjs/z-app-header-deprecated.cjs.entry.js +2 -2
- package/dist/cjs/z-app-header_12.cjs.entry.js +15 -25
- package/dist/cjs/z-app-header_12.cjs.entry.js.map +1 -1
- package/dist/cjs/z-aria-alert.cjs.entry.js +2 -2
- package/dist/cjs/z-avatar.cjs.entry.js +3 -3
- package/dist/cjs/z-book-card-app.cjs.entry.js +45 -0
- package/dist/cjs/z-book-card-app.cjs.entry.js.map +1 -0
- package/dist/cjs/z-book-card-deprecated.cjs.entry.js +138 -0
- package/dist/cjs/z-book-card-deprecated.cjs.entry.js.map +1 -0
- package/dist/cjs/z-book-card.cjs.entry.js +94 -99
- package/dist/cjs/z-book-card.cjs.entry.js.map +1 -1
- package/dist/cjs/z-breadcrumb.cjs.entry.js +4 -4
- package/dist/cjs/z-button-sort.cjs.entry.js +1 -1
- package/dist/cjs/z-card.cjs.entry.js +1 -1
- package/dist/cjs/z-carousel.cjs.entry.js +1 -1
- package/dist/cjs/z-chip.cjs.entry.js +3 -3
- package/dist/cjs/z-combobox.cjs.entry.js +3 -3
- package/dist/cjs/z-cover-hero.cjs.entry.js +3 -3
- package/dist/cjs/z-date-picker.cjs.entry.js +3 -3
- package/dist/cjs/z-dragdrop-area_2.cjs.entry.js +13 -7
- package/dist/cjs/z-dragdrop-area_2.cjs.entry.js.map +1 -1
- package/dist/cjs/z-file-upload.cjs.entry.js +3 -3
- package/dist/cjs/z-file.cjs.entry.js +2 -2
- package/dist/cjs/z-ghost-loading.cjs.entry.js +1 -1
- package/dist/cjs/z-info-box.cjs.entry.js +1 -1
- package/dist/cjs/z-info-reveal.cjs.entry.js +2 -2
- package/dist/cjs/z-logo.cjs.entry.js +1 -1
- package/dist/cjs/z-menu-deprecated.cjs.entry.js +1 -1
- package/dist/cjs/z-menu-section-deprecated.cjs.entry.js +1 -1
- package/dist/cjs/z-menu-section.cjs.entry.js +2 -2
- package/dist/cjs/z-menu.cjs.entry.js +2 -2
- package/dist/cjs/z-myz-card-alert.cjs.entry.js +2 -2
- package/dist/cjs/z-myz-card-dictionary.cjs.entry.js +2 -2
- package/dist/cjs/z-myz-card-footer-sections.cjs.entry.js +1 -1
- package/dist/cjs/z-myz-card-footer.cjs.entry.js +2 -2
- package/dist/cjs/z-myz-card-icon.cjs.entry.js +1 -1
- package/dist/cjs/z-myz-card-info.cjs.entry.js +3 -3
- package/dist/cjs/z-myz-card-list.cjs.entry.js +1 -1
- package/dist/cjs/z-myz-card_4.cjs.entry.js +5 -5
- package/dist/cjs/z-myz-list-item.cjs.entry.js +3 -3
- package/dist/cjs/z-myz-list.cjs.entry.js +1 -1
- package/dist/cjs/z-navigation-tabs.cjs.entry.js +3 -3
- package/dist/cjs/z-notification.cjs.entry.js +1 -1
- package/dist/cjs/z-otp.cjs.entry.js +3 -3
- package/dist/cjs/z-pagination.cjs.entry.js +1 -1
- package/dist/cjs/z-panel-elem.cjs.entry.js +2 -2
- package/dist/cjs/z-popover.cjs.entry.js +2 -2
- package/dist/cjs/z-range-picker.cjs.entry.js +5 -5
- package/dist/cjs/z-section-title.cjs.entry.js +2 -2
- package/dist/cjs/z-select.cjs.entry.js +3 -3
- package/dist/cjs/z-skip-to-content.cjs.entry.js +3 -3
- package/dist/cjs/z-slideshow.cjs.entry.js +2 -2
- package/dist/cjs/z-stepper-item.cjs.entry.js +1 -1
- package/dist/cjs/z-stepper.cjs.entry.js +1 -1
- package/dist/cjs/z-table.cjs.entry.js +9 -9
- package/dist/cjs/z-tbody.cjs.entry.js +1 -1
- package/dist/cjs/z-td.cjs.entry.js +2 -2
- package/dist/cjs/z-tfoot.cjs.entry.js +1 -1
- package/dist/cjs/z-th.cjs.entry.js +2 -2
- package/dist/cjs/z-thead.cjs.entry.js +1 -1
- package/dist/cjs/z-toast-notification-list.cjs.entry.js +2 -2
- package/dist/cjs/z-toast-notification.cjs.entry.js +2 -2
- package/dist/cjs/z-toggle-button.cjs.entry.js +2 -2
- package/dist/cjs/z-toggle-switch.cjs.entry.js +5 -5
- package/dist/cjs/z-tooltip.cjs.entry.js +2 -2
- package/dist/cjs/z-tr.cjs.entry.js +5 -5
- package/dist/cjs/z-visually-hidden.cjs.entry.js +1 -1
- package/dist/collection/beans/index.js +13 -3
- package/dist/collection/beans/index.js.map +1 -1
- package/dist/collection/collection-manifest.json +5 -3
- package/dist/collection/components/book-card/z-book-card/index.js +490 -0
- package/dist/collection/components/book-card/z-book-card/index.js.map +1 -0
- package/dist/collection/components/book-card/z-book-card/index.stories.js +149 -0
- package/dist/collection/components/book-card/z-book-card/index.stories.js.map +1 -0
- package/dist/collection/components/book-card/z-book-card/styles.css +245 -0
- package/dist/collection/components/book-card/z-book-card-app/index.js +145 -0
- package/dist/collection/components/book-card/z-book-card-app/index.js.map +1 -0
- package/dist/collection/components/book-card/z-book-card-app/index.stories.js +29 -0
- package/dist/collection/components/book-card/z-book-card-app/index.stories.js.map +1 -0
- package/dist/collection/components/book-card/z-book-card-app/styles.css +65 -0
- package/dist/collection/components/css-components/z-link/styles.css +174 -0
- package/dist/collection/components/date-picker/z-date-picker/index.js +1 -1
- package/dist/collection/components/date-picker/z-range-picker/index.js +3 -3
- package/dist/collection/components/deprecated/z-app-header-deprecated/index.js +1 -1
- package/dist/collection/components/{z-book-card → deprecated/z-book-card-deprecated}/index.js +16 -16
- package/dist/collection/components/deprecated/z-book-card-deprecated/index.js.map +1 -0
- package/dist/collection/components/{z-book-card → deprecated/z-book-card-deprecated}/index.stories.js +24 -24
- package/dist/collection/components/deprecated/z-book-card-deprecated/index.stories.js.map +1 -0
- package/dist/collection/components/deprecated/z-menu-deprecated/index.js +1 -1
- package/dist/collection/components/deprecated/z-menu-section-deprecated/index.js +1 -1
- package/dist/collection/components/file-upload/z-dragdrop-area/index.js +2 -2
- package/dist/collection/components/file-upload/z-file/index.js +1 -1
- package/dist/collection/components/file-upload/z-file-upload/index.js +1 -1
- package/dist/collection/components/list/z-list/index.js +1 -1
- package/dist/collection/components/list/z-list-element/index.js +1 -1
- package/dist/collection/components/list/z-list-group/index.js +2 -2
- package/dist/collection/components/table/cells/z-td/index.js +1 -1
- package/dist/collection/components/table/cells/z-th/index.js +1 -1
- package/dist/collection/components/table/z-table/index.js +1 -1
- package/dist/collection/components/table/z-tbody/index.js +1 -1
- package/dist/collection/components/table/z-tfoot/index.js +1 -1
- package/dist/collection/components/table/z-thead/index.js +1 -1
- package/dist/collection/components/table/z-tr/index.js +1 -1
- package/dist/collection/components/z-accordion/index.js +1 -1
- package/dist/collection/components/z-anchor-navigation/index.js +1 -1
- package/dist/collection/components/z-app-header/index.js +1 -1
- package/dist/collection/components/z-aria-alert/index.js +1 -1
- package/dist/collection/components/z-avatar/index.js +2 -2
- package/dist/collection/components/z-breadcrumb/index.js +2 -2
- package/dist/collection/components/z-button-sort/index.js +1 -1
- package/dist/collection/components/z-chip/index.js +2 -2
- package/dist/collection/components/z-combobox/index.js +1 -1
- package/dist/collection/components/z-cover-hero/index.js +2 -2
- package/dist/collection/components/z-divider/index.js +1 -1
- package/dist/collection/components/z-ghost-loading/index.js +1 -1
- package/dist/collection/components/z-icon/index.js +1 -1
- package/dist/collection/components/z-info-box/index.js +1 -1
- package/dist/collection/components/z-info-reveal/index.js +1 -1
- package/dist/collection/components/z-input/index.js +1 -1
- package/dist/collection/components/z-input-message/index.js +1 -1
- package/dist/collection/components/z-logo/index.js +1 -1
- package/dist/collection/components/z-menu-section/index.js +1 -1
- package/dist/collection/components/z-modal/index.js +10 -4
- package/dist/collection/components/z-modal/index.js.map +1 -1
- package/dist/collection/components/z-navigation-tabs/index.js +2 -2
- package/dist/collection/components/z-notification/index.js +1 -1
- package/dist/collection/components/z-offcanvas/index.js +1 -1
- package/dist/collection/components/z-panel-elem/index.js +2 -2
- package/dist/collection/components/z-popover/index.js +1 -1
- package/dist/collection/components/z-searchbar/index.js +1 -1
- package/dist/collection/components/z-section-title/index.js +1 -1
- package/dist/collection/components/z-select/index.js +1 -1
- package/dist/collection/components/z-skip-to-content/index.js +1 -1
- package/dist/collection/components/z-stepper/index.js +1 -1
- package/dist/collection/components/z-stepper-item/index.js +1 -1
- package/dist/collection/components/z-tag/index.js +2 -2
- package/dist/collection/components/z-toast-notification/index.js +1 -1
- package/dist/collection/components/z-toast-notification-list/index.js +1 -1
- package/dist/collection/components/z-toggle-button/index.js +2 -2
- package/dist/collection/components/z-toggle-switch/index.js +3 -3
- package/dist/collection/components/z-tooltip/index.js +1 -1
- package/dist/collection/components/z-visually-hidden/index.js +1 -1
- package/dist/collection/constants/iconset.js +0 -10
- package/dist/collection/constants/iconset.js.map +1 -1
- package/dist/collection/snowflakes/myz/card/z-myz-card/index.js +1 -1
- package/dist/collection/snowflakes/myz/card/z-myz-card-alert/index.js +1 -1
- package/dist/collection/snowflakes/myz/card/z-myz-card-body/index.js +1 -1
- package/dist/collection/snowflakes/myz/card/z-myz-card-cover/index.js +1 -1
- package/dist/collection/snowflakes/myz/card/z-myz-card-dictionary/index.js +1 -1
- package/dist/collection/snowflakes/myz/card/z-myz-card-footer/index.js +1 -1
- package/dist/collection/snowflakes/myz/card/z-myz-card-footer-sections/index.js +1 -1
- package/dist/collection/snowflakes/myz/card/z-myz-card-header/index.js +1 -1
- package/dist/collection/snowflakes/myz/card/z-myz-card-icon/index.js +1 -1
- package/dist/collection/snowflakes/myz/card/z-myz-card-info/index.js +1 -1
- package/dist/collection/snowflakes/myz/card/z-myz-card-list/index.js +1 -1
- package/dist/collection/snowflakes/myz/list/z-myz-list/index.js +1 -1
- package/dist/collection/snowflakes/myz/list/z-myz-list-item/index.js +1 -1
- package/dist/collection/snowflakes/myz/z-alert/index.js +1 -1
- package/dist/collection/snowflakes/myz/z-otp/index.js +2 -2
- package/dist/collection/tokens/typography.css +681 -0
- package/dist/components/iconset.js +0 -10
- package/dist/components/iconset.js.map +1 -1
- package/dist/components/index.d.ts +5 -1
- package/dist/components/index.js +3 -1
- package/dist/components/index.js.map +1 -1
- package/dist/components/index10.js +58 -308
- package/dist/components/index10.js.map +1 -1
- package/dist/components/index11.js +314 -36
- package/dist/components/index11.js.map +1 -1
- package/dist/components/index12.js +38 -27
- package/dist/components/index12.js.map +1 -1
- package/dist/components/index13.js +23 -146
- package/dist/components/index13.js.map +1 -1
- package/dist/components/index14.js +141 -36
- package/dist/components/index14.js.map +1 -1
- package/dist/components/index15.js +39 -989
- package/dist/components/index15.js.map +1 -1
- package/dist/components/index16.js +1000 -38
- package/dist/components/index16.js.map +1 -1
- package/dist/components/index17.js +42 -10
- package/dist/components/index17.js.map +1 -1
- package/dist/components/index18.js +10 -22
- package/dist/components/index18.js.map +1 -1
- package/dist/components/index19.js +16 -33
- package/dist/components/index19.js.map +1 -1
- package/dist/components/index2.js +14 -4
- package/dist/components/index2.js.map +1 -1
- package/dist/components/index20.js +39 -43
- package/dist/components/index20.js.map +1 -1
- package/dist/components/index21.js +44 -81
- package/dist/components/index21.js.map +1 -1
- package/dist/components/index22.js +63 -301
- package/dist/components/index22.js.map +1 -1
- package/dist/components/index23.js +286 -347
- package/dist/components/index23.js.map +1 -1
- package/dist/components/index24.js +376 -19
- package/dist/components/index24.js.map +1 -1
- package/dist/components/index25.js +45 -0
- package/dist/components/index25.js.map +1 -0
- package/dist/components/index3.js +1 -1
- package/dist/components/index5.js +2 -2
- package/dist/components/index6.js +1 -1
- package/dist/components/index7.js +2 -2
- package/dist/components/index8.js +1 -1
- package/dist/components/index9.js +1 -1
- package/dist/components/z-accordion.js +2 -2
- package/dist/components/z-anchor-navigation.js +1 -1
- package/dist/components/z-app-header-deprecated.js +9 -9
- package/dist/components/z-app-header.js +9 -9
- package/dist/components/z-aria-alert.js +1 -1
- package/dist/components/z-avatar.js +2 -2
- package/dist/components/z-book-card-app.d.ts +11 -0
- package/dist/components/z-book-card-app.js +77 -0
- package/dist/components/z-book-card-app.js.map +1 -0
- package/dist/components/z-book-card-deprecated.d.ts +11 -0
- package/dist/components/z-book-card-deprecated.js +175 -0
- package/dist/components/z-book-card-deprecated.js.map +1 -0
- package/dist/components/z-book-card.js +123 -110
- package/dist/components/z-book-card.js.map +1 -1
- package/dist/components/z-breadcrumb.js +6 -6
- package/dist/components/z-button-sort.js +1 -1
- package/dist/components/z-combobox.js +6 -6
- package/dist/components/z-cover-hero.js +2 -2
- package/dist/components/z-date-picker.js +3 -3
- package/dist/components/z-file-upload.js +2 -2
- package/dist/components/z-file.js +2 -2
- package/dist/components/z-info-box.js +1 -1
- package/dist/components/z-info-reveal.js +1 -88
- package/dist/components/z-info-reveal.js.map +1 -1
- package/dist/components/z-input-message.js +1 -1
- package/dist/components/z-input.js +1 -1
- package/dist/components/z-list-element.js +1 -1
- package/dist/components/z-list-group.js +1 -1
- package/dist/components/z-list.js +1 -1
- package/dist/components/z-logo.js +1 -1
- package/dist/components/z-menu-deprecated.js +1 -1
- package/dist/components/z-menu-section-deprecated.js +1 -1
- package/dist/components/z-menu-section.js +1 -1
- package/dist/components/z-modal.js +1 -1
- package/dist/components/z-myz-card-alert.js +1 -1
- package/dist/components/z-myz-card-body.js +1 -1
- package/dist/components/z-myz-card-cover.js +1 -1
- package/dist/components/z-myz-card-dictionary.js +5 -5
- package/dist/components/z-myz-card-footer-sections.js +1 -1
- package/dist/components/z-myz-card-footer.js +1 -1
- package/dist/components/z-myz-card-header.js +1 -1
- package/dist/components/z-myz-card-icon.js +1 -1
- package/dist/components/z-myz-card-info.js +2 -2
- package/dist/components/z-myz-card-list.js +1 -1
- package/dist/components/z-myz-card.js +1 -1
- package/dist/components/z-myz-list-item.js +1 -1
- package/dist/components/z-myz-list.js +2 -2
- package/dist/components/z-navigation-tabs.js +2 -2
- package/dist/components/z-notification.js +1 -1
- package/dist/components/z-offcanvas.js +1 -1
- package/dist/components/z-otp.js +3 -3
- package/dist/components/z-pagination.js +2 -2
- package/dist/components/z-panel-elem.js +2 -2
- package/dist/components/z-popover.js +1 -1
- package/dist/components/z-range-picker.js +5 -5
- package/dist/components/z-searchbar.js +1 -1
- package/dist/components/z-section-title.js +1 -1
- package/dist/components/z-select.js +7 -7
- package/dist/components/z-skip-to-content.js +1 -1
- package/dist/components/z-stepper-item.js +1 -1
- package/dist/components/z-stepper.js +1 -1
- package/dist/components/z-table.js +1 -1
- package/dist/components/z-tag.js +1 -1
- package/dist/components/z-tbody.js +1 -1
- package/dist/components/z-td.js +2 -2
- package/dist/components/z-tfoot.js +1 -1
- package/dist/components/z-th.js +2 -2
- package/dist/components/z-thead.js +1 -1
- package/dist/components/z-toast-notification-list.js +1 -1
- package/dist/components/z-toast-notification.js +1 -1
- package/dist/components/z-toggle-button.js +2 -2
- package/dist/components/z-toggle-switch.js +3 -3
- package/dist/components/z-tooltip.js +2 -2
- package/dist/components/z-tr.js +1 -1
- package/dist/components/z-visually-hidden.js +1 -1
- package/dist/esm/{index-19b24f63.js → index-1a6848fc.js} +3 -3
- package/dist/esm/{index-19b24f63.js.map → index-1a6848fc.js.map} +1 -1
- package/dist/esm/{index-8e5c830a.js → index-27165d8c.js} +2 -2
- package/dist/esm/{index-8e5c830a.js.map → index-27165d8c.js.map} +1 -1
- package/dist/esm/{index-681cc2b7.js → index-8641cd14.js} +3 -3
- package/dist/esm/{index-681cc2b7.js.map → index-8641cd14.js.map} +1 -1
- package/dist/esm/{index-7b64c875.js → index-bc28e44a.js} +5 -5
- package/dist/esm/{index-7b64c875.js.map → index-bc28e44a.js.map} +1 -1
- package/dist/esm/index-c8ceadeb.js +12 -4
- package/dist/esm/{index-fe4fc8da.js → index-caa29397.js} +2 -2
- package/dist/esm/{index-fe4fc8da.js.map → index-caa29397.js.map} +1 -1
- package/dist/esm/{index-a63060e9.js → index-ee40e66b.js} +15 -5
- package/dist/esm/index-ee40e66b.js.map +1 -0
- package/dist/esm/{index-09ff70db.js → index-f50b4232.js} +2 -2
- package/dist/esm/{index-09ff70db.js.map → index-f50b4232.js.map} +1 -1
- package/dist/esm/index.js +2 -2
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{utils-5e595d4f.js → utils-a31c16d9.js} +2 -2
- package/dist/esm/{utils-5e595d4f.js.map → utils-a31c16d9.js.map} +1 -1
- package/dist/esm/{utils-305762b5.js → utils-ed82ce58.js} +2 -2
- package/dist/esm/{utils-305762b5.js.map → utils-ed82ce58.js.map} +1 -1
- package/dist/esm/web-components-library.js +1 -1
- package/dist/esm/z-accordion.entry.js +2 -2
- package/dist/esm/z-alert.entry.js +1 -1
- package/dist/esm/z-anchor-navigation.entry.js +2 -2
- package/dist/esm/z-app-header-deprecated.entry.js +2 -2
- package/dist/esm/z-app-header_12.entry.js +15 -25
- package/dist/esm/z-app-header_12.entry.js.map +1 -1
- package/dist/esm/z-aria-alert.entry.js +2 -2
- package/dist/esm/z-avatar.entry.js +3 -3
- package/dist/esm/z-book-card-app.entry.js +41 -0
- package/dist/esm/z-book-card-app.entry.js.map +1 -0
- package/dist/esm/z-book-card-deprecated.entry.js +134 -0
- package/dist/esm/z-book-card-deprecated.entry.js.map +1 -0
- package/dist/esm/z-book-card.entry.js +94 -99
- package/dist/esm/z-book-card.entry.js.map +1 -1
- package/dist/esm/z-breadcrumb.entry.js +4 -4
- package/dist/esm/z-button-sort.entry.js +1 -1
- package/dist/esm/z-card.entry.js +1 -1
- package/dist/esm/z-carousel.entry.js +1 -1
- package/dist/esm/z-chip.entry.js +3 -3
- package/dist/esm/z-combobox.entry.js +3 -3
- package/dist/esm/z-cover-hero.entry.js +3 -3
- package/dist/esm/z-date-picker.entry.js +3 -3
- package/dist/esm/z-dragdrop-area_2.entry.js +13 -7
- package/dist/esm/z-dragdrop-area_2.entry.js.map +1 -1
- package/dist/esm/z-file-upload.entry.js +3 -3
- package/dist/esm/z-file.entry.js +2 -2
- package/dist/esm/z-ghost-loading.entry.js +1 -1
- package/dist/esm/z-info-box.entry.js +1 -1
- package/dist/esm/z-info-reveal.entry.js +2 -2
- package/dist/esm/z-logo.entry.js +1 -1
- package/dist/esm/z-menu-deprecated.entry.js +1 -1
- package/dist/esm/z-menu-section-deprecated.entry.js +1 -1
- package/dist/esm/z-menu-section.entry.js +2 -2
- package/dist/esm/z-menu.entry.js +2 -2
- package/dist/esm/z-myz-card-alert.entry.js +2 -2
- package/dist/esm/z-myz-card-dictionary.entry.js +2 -2
- package/dist/esm/z-myz-card-footer-sections.entry.js +1 -1
- package/dist/esm/z-myz-card-footer.entry.js +2 -2
- package/dist/esm/z-myz-card-icon.entry.js +1 -1
- package/dist/esm/z-myz-card-info.entry.js +3 -3
- package/dist/esm/z-myz-card-list.entry.js +1 -1
- package/dist/esm/z-myz-card_4.entry.js +5 -5
- package/dist/esm/z-myz-list-item.entry.js +3 -3
- package/dist/esm/z-myz-list.entry.js +1 -1
- package/dist/esm/z-navigation-tabs.entry.js +3 -3
- package/dist/esm/z-notification.entry.js +1 -1
- package/dist/esm/z-otp.entry.js +3 -3
- package/dist/esm/z-pagination.entry.js +1 -1
- package/dist/esm/z-panel-elem.entry.js +2 -2
- package/dist/esm/z-popover.entry.js +2 -2
- package/dist/esm/z-range-picker.entry.js +5 -5
- package/dist/esm/z-section-title.entry.js +2 -2
- package/dist/esm/z-select.entry.js +3 -3
- package/dist/esm/z-skip-to-content.entry.js +3 -3
- package/dist/esm/z-slideshow.entry.js +2 -2
- package/dist/esm/z-stepper-item.entry.js +1 -1
- package/dist/esm/z-stepper.entry.js +1 -1
- package/dist/esm/z-table.entry.js +9 -9
- package/dist/esm/z-tbody.entry.js +1 -1
- package/dist/esm/z-td.entry.js +2 -2
- package/dist/esm/z-tfoot.entry.js +1 -1
- package/dist/esm/z-th.entry.js +2 -2
- package/dist/esm/z-thead.entry.js +1 -1
- package/dist/esm/z-toast-notification-list.entry.js +2 -2
- package/dist/esm/z-toast-notification.entry.js +2 -2
- package/dist/esm/z-toggle-button.entry.js +2 -2
- package/dist/esm/z-toggle-switch.entry.js +5 -5
- package/dist/esm/z-tooltip.entry.js +2 -2
- package/dist/esm/z-tr.entry.js +5 -5
- package/dist/esm/z-visually-hidden.entry.js +1 -1
- package/dist/types/beans/index.d.ts +16 -0
- package/dist/types/components/book-card/z-book-card/index.d.ts +66 -0
- package/dist/types/components/book-card/z-book-card/index.stories.d.ts +77 -0
- package/dist/types/components/book-card/z-book-card-app/index.d.ts +29 -0
- package/dist/types/components/book-card/z-book-card-app/index.stories.d.ts +22 -0
- package/dist/types/components/{z-book-card → deprecated/z-book-card-deprecated}/index.d.ts +6 -6
- package/dist/types/components/{z-book-card → deprecated/z-book-card-deprecated}/index.stories.d.ts +9 -9
- package/dist/types/components/z-modal/index.d.ts +1 -0
- package/dist/types/components.d.ts +253 -14
- package/dist/types/constants/iconset.d.ts +0 -20
- package/dist/web-components-library/index.esm.js +1 -1
- package/dist/web-components-library/index.esm.js.map +1 -1
- package/dist/web-components-library/{p-b222df41.entry.js → p-009458f1.entry.js} +2 -2
- package/dist/web-components-library/{p-7c20b8f6.entry.js → p-00ddac69.entry.js} +2 -2
- package/dist/web-components-library/{p-0b100bd7.entry.js → p-02d127ec.entry.js} +2 -2
- package/dist/web-components-library/{p-ab45ba6d.js → p-05f6053f.js} +2 -2
- package/dist/web-components-library/{p-ec740313.entry.js → p-08e29422.entry.js} +2 -2
- package/dist/web-components-library/p-0eb7715b.entry.js +2 -0
- package/dist/web-components-library/{p-90908f36.js → p-10607a39.js} +2 -2
- package/{www/build/p-c62825e1.js → dist/web-components-library/p-10e26ed9.js} +2 -2
- package/{www/build/p-a9805b32.entry.js → dist/web-components-library/p-1630e240.entry.js} +2 -2
- package/dist/web-components-library/{p-f7ef289b.entry.js → p-17a48a14.entry.js} +2 -2
- package/{www/build/p-273f3c53.entry.js → dist/web-components-library/p-192b110c.entry.js} +2 -2
- package/dist/web-components-library/p-19a3a2a6.entry.js +2 -0
- package/{www/build/p-0778e75d.entry.js → dist/web-components-library/p-1ca63396.entry.js} +2 -2
- package/{www/build/p-d847bfcd.entry.js → dist/web-components-library/p-1e5850ba.entry.js} +2 -2
- package/dist/web-components-library/p-1fa427f1.entry.js +2 -0
- package/dist/web-components-library/p-217c9214.entry.js +2 -0
- package/dist/web-components-library/p-217c9214.entry.js.map +1 -0
- package/dist/web-components-library/p-2a10219c.entry.js +2 -0
- package/{www/build/p-63488a2b.entry.js → dist/web-components-library/p-2ca08187.entry.js} +2 -2
- package/dist/web-components-library/p-2d1a00b5.js +2 -0
- package/dist/web-components-library/p-2d54b0b8.entry.js +2 -0
- package/{www/build/p-228db53f.entry.js.map → dist/web-components-library/p-2d54b0b8.entry.js.map} +1 -1
- package/dist/web-components-library/{p-09552f18.entry.js → p-383eedc4.entry.js} +2 -2
- package/dist/web-components-library/{p-8b24d801.entry.js → p-38e8c15d.entry.js} +2 -2
- package/dist/web-components-library/{p-6ed39f10.entry.js → p-4315cb7f.entry.js} +2 -2
- package/dist/web-components-library/p-4c8c12e5.entry.js +2 -0
- package/dist/web-components-library/{p-9a48e70b.entry.js.map → p-4c8c12e5.entry.js.map} +1 -1
- package/{www/build/p-a4aaffd3.entry.js → dist/web-components-library/p-4d2b5dae.entry.js} +2 -2
- package/{www/build/p-b7af7fa4.entry.js → dist/web-components-library/p-4df68dea.entry.js} +2 -2
- package/{www/build/p-c451b4d7.entry.js → dist/web-components-library/p-5071fa2b.entry.js} +2 -2
- package/dist/web-components-library/{p-eb3985d0.entry.js → p-53259824.entry.js} +2 -2
- package/dist/web-components-library/{p-ceb4403d.entry.js → p-563e86c0.entry.js} +2 -2
- package/dist/web-components-library/p-5651f576.js +2 -0
- package/dist/web-components-library/{p-51f5e5e6.entry.js → p-585dee35.entry.js} +2 -2
- package/dist/web-components-library/p-595b71d7.entry.js +2 -0
- package/dist/web-components-library/p-595b71d7.entry.js.map +1 -0
- package/dist/web-components-library/{p-be2405e2.entry.js → p-5b677d6c.entry.js} +2 -2
- package/{www/build/p-985e61f5.entry.js → dist/web-components-library/p-5fa93345.entry.js} +2 -2
- package/dist/web-components-library/p-5fa93345.entry.js.map +1 -0
- package/{www/build/p-417ed850.entry.js → dist/web-components-library/p-612053d0.entry.js} +3 -3
- package/dist/web-components-library/p-62cb3441.entry.js +2 -0
- package/dist/web-components-library/{p-17d2d60b.entry.js → p-65ebe30f.entry.js} +2 -2
- package/{www/build/p-e38df1a4.entry.js → dist/web-components-library/p-66ae33e4.entry.js} +3 -3
- package/dist/web-components-library/p-69082885.entry.js +2 -0
- package/dist/web-components-library/p-69082885.entry.js.map +1 -0
- package/{www/build/p-13366542.js → dist/web-components-library/p-6e918064.js} +2 -2
- package/dist/web-components-library/{p-db04ba75.entry.js → p-7253e223.entry.js} +2 -2
- package/dist/web-components-library/{p-03e85eac.entry.js → p-739ab487.entry.js} +2 -2
- package/dist/web-components-library/{p-6e92df75.entry.js → p-7e79e234.entry.js} +2 -2
- package/dist/web-components-library/{p-571f1e1d.entry.js → p-815f156c.entry.js} +2 -2
- package/dist/web-components-library/{p-03cd1ead.entry.js → p-83d9d8e1.entry.js} +2 -2
- package/dist/web-components-library/{p-af7e5773.entry.js → p-84ce3410.entry.js} +2 -2
- package/dist/web-components-library/{p-ecae1a7a.entry.js → p-899bd07d.entry.js} +2 -2
- package/dist/web-components-library/{p-140b5d8f.entry.js → p-9287cb7b.entry.js} +2 -2
- package/dist/web-components-library/{p-d13520c2.entry.js → p-9f7a2eab.entry.js} +2 -2
- package/{www/build/p-48b2e967.entry.js → dist/web-components-library/p-a9d44417.entry.js} +2 -2
- package/dist/web-components-library/{p-9c36d574.entry.js → p-acca8b92.entry.js} +2 -2
- package/dist/web-components-library/{p-b1039f3d.entry.js → p-ae5206a6.entry.js} +2 -2
- package/{www/build/p-456f984f.js → dist/web-components-library/p-b20482f3.js} +2 -2
- package/dist/web-components-library/p-b34993de.js +2 -0
- package/dist/web-components-library/p-b34993de.js.map +1 -0
- package/dist/web-components-library/{p-291319ed.entry.js → p-b6178a44.entry.js} +2 -2
- package/dist/web-components-library/{p-e0a0bfb2.entry.js → p-b746bdfa.entry.js} +2 -2
- package/dist/web-components-library/p-b78f26da.entry.js +2 -0
- package/dist/web-components-library/p-b78f26da.entry.js.map +1 -0
- package/dist/web-components-library/{p-0c489c4b.entry.js → p-b7aecfdb.entry.js} +2 -2
- package/dist/web-components-library/p-b93e0b22.entry.js +2 -0
- package/dist/web-components-library/{p-6b759395.entry.js.map → p-b93e0b22.entry.js.map} +1 -1
- package/{www/build/p-3618e227.entry.js → dist/web-components-library/p-bc9cda42.entry.js} +2 -2
- package/dist/web-components-library/{p-350f84c5.entry.js → p-bf3ec62b.entry.js} +2 -2
- package/dist/web-components-library/{p-f3037ac9.entry.js → p-c18be7cb.entry.js} +2 -2
- package/{www/build/p-fb2eb3c0.entry.js → dist/web-components-library/p-cc143ffd.entry.js} +2 -2
- package/dist/web-components-library/{p-b6ea478b.entry.js → p-ce70faad.entry.js} +2 -2
- package/dist/web-components-library/{p-910fd48c.entry.js → p-d41b0ffc.entry.js} +2 -2
- package/{www/build/p-47137e39.entry.js → dist/web-components-library/p-d93a0eaa.entry.js} +2 -2
- package/dist/web-components-library/{p-db340bc6.entry.js → p-da71e0f0.entry.js} +2 -2
- package/dist/web-components-library/p-e6102e19.entry.js +2 -0
- package/{www/build/p-b3272516.entry.js → dist/web-components-library/p-ed091723.entry.js} +2 -2
- package/dist/web-components-library/p-ed17a1ae.entry.js +2 -0
- package/dist/web-components-library/{p-ef8a7250.entry.js → p-ee01c1e9.entry.js} +2 -2
- package/{www/build/p-38d5e74f.entry.js → dist/web-components-library/p-f408af2b.entry.js} +2 -2
- package/dist/web-components-library/{p-eb5a148f.entry.js → p-f7079f2c.entry.js} +2 -2
- package/dist/web-components-library/p-fbbd8574.js +2 -0
- package/dist/web-components-library/web-components-library.esm.js +1 -1
- package/dist/web-components-library/web-components-library.esm.js.map +1 -1
- package/package.json +1 -1
- package/react/components.d.ts +2 -0
- package/react/components.js +4 -2
- package/react/components.js.map +1 -1
- package/www/build/index.esm.js +1 -1
- package/www/build/index.esm.js.map +1 -1
- package/www/build/{p-b222df41.entry.js → p-009458f1.entry.js} +2 -2
- package/www/build/{p-7c20b8f6.entry.js → p-00ddac69.entry.js} +2 -2
- package/www/build/{p-0b100bd7.entry.js → p-02d127ec.entry.js} +2 -2
- package/www/build/{p-ab45ba6d.js → p-05f6053f.js} +2 -2
- package/www/build/{p-ec740313.entry.js → p-08e29422.entry.js} +2 -2
- package/www/build/p-0eb7715b.entry.js +2 -0
- package/www/build/{p-90908f36.js → p-10607a39.js} +2 -2
- package/{dist/web-components-library/p-c62825e1.js → www/build/p-10e26ed9.js} +2 -2
- package/{dist/web-components-library/p-a9805b32.entry.js → www/build/p-1630e240.entry.js} +2 -2
- package/www/build/{p-f7ef289b.entry.js → p-17a48a14.entry.js} +2 -2
- package/{dist/web-components-library/p-273f3c53.entry.js → www/build/p-192b110c.entry.js} +2 -2
- package/www/build/p-19a3a2a6.entry.js +2 -0
- package/{dist/web-components-library/p-0778e75d.entry.js → www/build/p-1ca63396.entry.js} +2 -2
- package/{dist/web-components-library/p-d847bfcd.entry.js → www/build/p-1e5850ba.entry.js} +2 -2
- package/www/build/p-1fa427f1.entry.js +2 -0
- package/www/build/p-217c9214.entry.js +2 -0
- package/www/build/p-217c9214.entry.js.map +1 -0
- package/www/build/p-2a10219c.entry.js +2 -0
- package/{dist/web-components-library/p-63488a2b.entry.js → www/build/p-2ca08187.entry.js} +2 -2
- package/www/build/p-2d1a00b5.js +2 -0
- package/www/build/p-2d54b0b8.entry.js +2 -0
- package/{dist/web-components-library/p-228db53f.entry.js.map → www/build/p-2d54b0b8.entry.js.map} +1 -1
- package/www/build/{p-09552f18.entry.js → p-383eedc4.entry.js} +2 -2
- package/www/build/{p-8b24d801.entry.js → p-38e8c15d.entry.js} +2 -2
- package/www/build/{p-6ed39f10.entry.js → p-4315cb7f.entry.js} +2 -2
- package/www/build/p-4c8c12e5.entry.js +2 -0
- package/www/build/{p-9a48e70b.entry.js.map → p-4c8c12e5.entry.js.map} +1 -1
- package/{dist/web-components-library/p-a4aaffd3.entry.js → www/build/p-4d2b5dae.entry.js} +2 -2
- package/{dist/web-components-library/p-b7af7fa4.entry.js → www/build/p-4df68dea.entry.js} +2 -2
- package/{dist/web-components-library/p-c451b4d7.entry.js → www/build/p-5071fa2b.entry.js} +2 -2
- package/www/build/{p-eb3985d0.entry.js → p-53259824.entry.js} +2 -2
- package/www/build/{p-ceb4403d.entry.js → p-563e86c0.entry.js} +2 -2
- package/www/build/p-5651f576.js +2 -0
- package/www/build/{p-51f5e5e6.entry.js → p-585dee35.entry.js} +2 -2
- package/www/build/p-595b71d7.entry.js +2 -0
- package/www/build/p-595b71d7.entry.js.map +1 -0
- package/www/build/{p-be2405e2.entry.js → p-5b677d6c.entry.js} +2 -2
- package/{dist/web-components-library/p-985e61f5.entry.js → www/build/p-5fa93345.entry.js} +2 -2
- package/www/build/p-5fa93345.entry.js.map +1 -0
- package/{dist/web-components-library/p-417ed850.entry.js → www/build/p-612053d0.entry.js} +3 -3
- package/www/build/p-62cb3441.entry.js +2 -0
- package/www/build/{p-17d2d60b.entry.js → p-65ebe30f.entry.js} +2 -2
- package/{dist/web-components-library/p-e38df1a4.entry.js → www/build/p-66ae33e4.entry.js} +3 -3
- package/www/build/p-69082885.entry.js +2 -0
- package/www/build/p-69082885.entry.js.map +1 -0
- package/{dist/web-components-library/p-13366542.js → www/build/p-6e918064.js} +2 -2
- package/www/build/{p-db04ba75.entry.js → p-7253e223.entry.js} +2 -2
- package/www/build/{p-03e85eac.entry.js → p-739ab487.entry.js} +2 -2
- package/www/build/{p-6e92df75.entry.js → p-7e79e234.entry.js} +2 -2
- package/www/build/{p-571f1e1d.entry.js → p-815f156c.entry.js} +2 -2
- package/www/build/{p-03cd1ead.entry.js → p-83d9d8e1.entry.js} +2 -2
- package/www/build/{p-af7e5773.entry.js → p-84ce3410.entry.js} +2 -2
- package/www/build/{p-ecae1a7a.entry.js → p-899bd07d.entry.js} +2 -2
- package/www/build/{p-140b5d8f.entry.js → p-9287cb7b.entry.js} +2 -2
- package/www/build/{p-d13520c2.entry.js → p-9f7a2eab.entry.js} +2 -2
- package/{dist/web-components-library/p-48b2e967.entry.js → www/build/p-a9d44417.entry.js} +2 -2
- package/www/build/{p-9c36d574.entry.js → p-acca8b92.entry.js} +2 -2
- package/www/build/{p-b1039f3d.entry.js → p-ae5206a6.entry.js} +2 -2
- package/{dist/web-components-library/p-456f984f.js → www/build/p-b20482f3.js} +2 -2
- package/www/build/p-b34993de.js +2 -0
- package/www/build/p-b34993de.js.map +1 -0
- package/www/build/{p-291319ed.entry.js → p-b6178a44.entry.js} +2 -2
- package/www/build/{p-e0a0bfb2.entry.js → p-b746bdfa.entry.js} +2 -2
- package/www/build/p-b78f26da.entry.js +2 -0
- package/www/build/p-b78f26da.entry.js.map +1 -0
- package/www/build/{p-0c489c4b.entry.js → p-b7aecfdb.entry.js} +2 -2
- package/www/build/p-b93e0b22.entry.js +2 -0
- package/www/build/{p-6b759395.entry.js.map → p-b93e0b22.entry.js.map} +1 -1
- package/{dist/web-components-library/p-3618e227.entry.js → www/build/p-bc9cda42.entry.js} +2 -2
- package/www/build/p-bcaf5873.js +2 -0
- package/www/build/{p-350f84c5.entry.js → p-bf3ec62b.entry.js} +2 -2
- package/www/build/{p-f3037ac9.entry.js → p-c18be7cb.entry.js} +2 -2
- package/{dist/web-components-library/p-fb2eb3c0.entry.js → www/build/p-cc143ffd.entry.js} +2 -2
- package/www/build/{p-b6ea478b.entry.js → p-ce70faad.entry.js} +2 -2
- package/www/build/{p-910fd48c.entry.js → p-d41b0ffc.entry.js} +2 -2
- package/{dist/web-components-library/p-47137e39.entry.js → www/build/p-d93a0eaa.entry.js} +2 -2
- package/www/build/{p-db340bc6.entry.js → p-da71e0f0.entry.js} +2 -2
- package/www/build/p-e6102e19.entry.js +2 -0
- package/{dist/web-components-library/p-b3272516.entry.js → www/build/p-ed091723.entry.js} +2 -2
- package/www/build/p-ed17a1ae.entry.js +2 -0
- package/www/build/{p-ef8a7250.entry.js → p-ee01c1e9.entry.js} +2 -2
- package/{dist/web-components-library/p-38d5e74f.entry.js → www/build/p-f408af2b.entry.js} +2 -2
- package/www/build/{p-eb5a148f.entry.js → p-f7079f2c.entry.js} +2 -2
- package/www/build/p-fbbd8574.js +2 -0
- package/www/build/web-components-library.esm.js +1 -1
- package/www/build/web-components-library.esm.js.map +1 -1
- package/www/index.html +1 -1
- package/www/pages/book-cards.html +75 -573
- package/dist/cjs/index-daad5eae.js.map +0 -1
- package/dist/collection/components/z-book-card/index.js.map +0 -1
- package/dist/collection/components/z-book-card/index.stories.js.map +0 -1
- package/dist/esm/index-a63060e9.js.map +0 -1
- package/dist/web-components-library/p-06b8521b.entry.js +0 -2
- package/dist/web-components-library/p-11df2c0a.entry.js +0 -2
- package/dist/web-components-library/p-11df2c0a.entry.js.map +0 -1
- package/dist/web-components-library/p-16719dff.entry.js +0 -2
- package/dist/web-components-library/p-1c24255c.js +0 -2
- package/dist/web-components-library/p-1c24255c.js.map +0 -1
- package/dist/web-components-library/p-228db53f.entry.js +0 -2
- package/dist/web-components-library/p-32d603b8.js +0 -2
- package/dist/web-components-library/p-3d97dedf.entry.js +0 -2
- package/dist/web-components-library/p-6297dfaa.entry.js +0 -2
- package/dist/web-components-library/p-6b759395.entry.js +0 -2
- package/dist/web-components-library/p-6b791915.entry.js +0 -2
- package/dist/web-components-library/p-8855aef4.js +0 -2
- package/dist/web-components-library/p-8d443cac.entry.js +0 -2
- package/dist/web-components-library/p-985e61f5.entry.js.map +0 -1
- package/dist/web-components-library/p-9a48e70b.entry.js +0 -2
- package/dist/web-components-library/p-a167bdd5.js +0 -2
- package/dist/web-components-library/p-b20bfb34.entry.js +0 -2
- package/dist/web-components-library/p-b20bfb34.entry.js.map +0 -1
- package/dist/web-components-library/p-febc4982.entry.js +0 -2
- package/www/build/p-06b8521b.entry.js +0 -2
- package/www/build/p-11df2c0a.entry.js +0 -2
- package/www/build/p-11df2c0a.entry.js.map +0 -1
- package/www/build/p-16719dff.entry.js +0 -2
- package/www/build/p-1c24255c.js +0 -2
- package/www/build/p-1c24255c.js.map +0 -1
- package/www/build/p-1fcf4111.js +0 -2
- package/www/build/p-228db53f.entry.js +0 -2
- package/www/build/p-32d603b8.js +0 -2
- package/www/build/p-3d97dedf.entry.js +0 -2
- package/www/build/p-6297dfaa.entry.js +0 -2
- package/www/build/p-6b759395.entry.js +0 -2
- package/www/build/p-6b791915.entry.js +0 -2
- package/www/build/p-8855aef4.js +0 -2
- package/www/build/p-8d443cac.entry.js +0 -2
- package/www/build/p-985e61f5.entry.js.map +0 -1
- package/www/build/p-9a48e70b.entry.js +0 -2
- package/www/build/p-a167bdd5.js +0 -2
- package/www/build/p-b20bfb34.entry.js +0 -2
- package/www/build/p-b20bfb34.entry.js.map +0 -1
- package/www/build/p-febc4982.entry.js +0 -2
- /package/dist/collection/components/{z-book-card → deprecated/z-book-card-deprecated}/styles.css +0 -0
- /package/dist/web-components-library/{p-b222df41.entry.js.map → p-009458f1.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-7c20b8f6.entry.js.map → p-00ddac69.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-0b100bd7.entry.js.map → p-02d127ec.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-ab45ba6d.js.map → p-05f6053f.js.map} +0 -0
- /package/dist/web-components-library/{p-ec740313.entry.js.map → p-08e29422.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-06b8521b.entry.js.map → p-0eb7715b.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-90908f36.js.map → p-10607a39.js.map} +0 -0
- /package/dist/web-components-library/{p-c62825e1.js.map → p-10e26ed9.js.map} +0 -0
- /package/dist/web-components-library/{p-a9805b32.entry.js.map → p-1630e240.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-f7ef289b.entry.js.map → p-17a48a14.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-273f3c53.entry.js.map → p-192b110c.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-16719dff.entry.js.map → p-19a3a2a6.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-0778e75d.entry.js.map → p-1ca63396.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-d847bfcd.entry.js.map → p-1e5850ba.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-6297dfaa.entry.js.map → p-1fa427f1.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-6b791915.entry.js.map → p-2a10219c.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-63488a2b.entry.js.map → p-2ca08187.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-32d603b8.js.map → p-2d1a00b5.js.map} +0 -0
- /package/dist/web-components-library/{p-09552f18.entry.js.map → p-383eedc4.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-8b24d801.entry.js.map → p-38e8c15d.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-6ed39f10.entry.js.map → p-4315cb7f.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-a4aaffd3.entry.js.map → p-4d2b5dae.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-b7af7fa4.entry.js.map → p-4df68dea.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-c451b4d7.entry.js.map → p-5071fa2b.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-eb3985d0.entry.js.map → p-53259824.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-ceb4403d.entry.js.map → p-563e86c0.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-a167bdd5.js.map → p-5651f576.js.map} +0 -0
- /package/dist/web-components-library/{p-51f5e5e6.entry.js.map → p-585dee35.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-be2405e2.entry.js.map → p-5b677d6c.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-417ed850.entry.js.map → p-612053d0.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-8d443cac.entry.js.map → p-62cb3441.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-17d2d60b.entry.js.map → p-65ebe30f.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-e38df1a4.entry.js.map → p-66ae33e4.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-13366542.js.map → p-6e918064.js.map} +0 -0
- /package/dist/web-components-library/{p-db04ba75.entry.js.map → p-7253e223.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-03e85eac.entry.js.map → p-739ab487.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-6e92df75.entry.js.map → p-7e79e234.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-571f1e1d.entry.js.map → p-815f156c.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-03cd1ead.entry.js.map → p-83d9d8e1.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-af7e5773.entry.js.map → p-84ce3410.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-ecae1a7a.entry.js.map → p-899bd07d.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-140b5d8f.entry.js.map → p-9287cb7b.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-d13520c2.entry.js.map → p-9f7a2eab.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-48b2e967.entry.js.map → p-a9d44417.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-9c36d574.entry.js.map → p-acca8b92.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-b1039f3d.entry.js.map → p-ae5206a6.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-456f984f.js.map → p-b20482f3.js.map} +0 -0
- /package/dist/web-components-library/{p-291319ed.entry.js.map → p-b6178a44.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-e0a0bfb2.entry.js.map → p-b746bdfa.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-0c489c4b.entry.js.map → p-b7aecfdb.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-3618e227.entry.js.map → p-bc9cda42.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-350f84c5.entry.js.map → p-bf3ec62b.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-f3037ac9.entry.js.map → p-c18be7cb.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-fb2eb3c0.entry.js.map → p-cc143ffd.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-b6ea478b.entry.js.map → p-ce70faad.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-910fd48c.entry.js.map → p-d41b0ffc.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-47137e39.entry.js.map → p-d93a0eaa.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-db340bc6.entry.js.map → p-da71e0f0.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-3d97dedf.entry.js.map → p-e6102e19.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-b3272516.entry.js.map → p-ed091723.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-febc4982.entry.js.map → p-ed17a1ae.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-ef8a7250.entry.js.map → p-ee01c1e9.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-38d5e74f.entry.js.map → p-f408af2b.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-eb5a148f.entry.js.map → p-f7079f2c.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-8855aef4.js.map → p-fbbd8574.js.map} +0 -0
- /package/www/build/{p-b222df41.entry.js.map → p-009458f1.entry.js.map} +0 -0
- /package/www/build/{p-7c20b8f6.entry.js.map → p-00ddac69.entry.js.map} +0 -0
- /package/www/build/{p-0b100bd7.entry.js.map → p-02d127ec.entry.js.map} +0 -0
- /package/www/build/{p-ab45ba6d.js.map → p-05f6053f.js.map} +0 -0
- /package/www/build/{p-ec740313.entry.js.map → p-08e29422.entry.js.map} +0 -0
- /package/www/build/{p-06b8521b.entry.js.map → p-0eb7715b.entry.js.map} +0 -0
- /package/www/build/{p-90908f36.js.map → p-10607a39.js.map} +0 -0
- /package/www/build/{p-c62825e1.js.map → p-10e26ed9.js.map} +0 -0
- /package/www/build/{p-a9805b32.entry.js.map → p-1630e240.entry.js.map} +0 -0
- /package/www/build/{p-f7ef289b.entry.js.map → p-17a48a14.entry.js.map} +0 -0
- /package/www/build/{p-273f3c53.entry.js.map → p-192b110c.entry.js.map} +0 -0
- /package/www/build/{p-16719dff.entry.js.map → p-19a3a2a6.entry.js.map} +0 -0
- /package/www/build/{p-0778e75d.entry.js.map → p-1ca63396.entry.js.map} +0 -0
- /package/www/build/{p-d847bfcd.entry.js.map → p-1e5850ba.entry.js.map} +0 -0
- /package/www/build/{p-6297dfaa.entry.js.map → p-1fa427f1.entry.js.map} +0 -0
- /package/www/build/{p-6b791915.entry.js.map → p-2a10219c.entry.js.map} +0 -0
- /package/www/build/{p-63488a2b.entry.js.map → p-2ca08187.entry.js.map} +0 -0
- /package/www/build/{p-32d603b8.js.map → p-2d1a00b5.js.map} +0 -0
- /package/www/build/{p-09552f18.entry.js.map → p-383eedc4.entry.js.map} +0 -0
- /package/www/build/{p-8b24d801.entry.js.map → p-38e8c15d.entry.js.map} +0 -0
- /package/www/build/{p-6ed39f10.entry.js.map → p-4315cb7f.entry.js.map} +0 -0
- /package/www/build/{p-a4aaffd3.entry.js.map → p-4d2b5dae.entry.js.map} +0 -0
- /package/www/build/{p-b7af7fa4.entry.js.map → p-4df68dea.entry.js.map} +0 -0
- /package/www/build/{p-c451b4d7.entry.js.map → p-5071fa2b.entry.js.map} +0 -0
- /package/www/build/{p-eb3985d0.entry.js.map → p-53259824.entry.js.map} +0 -0
- /package/www/build/{p-ceb4403d.entry.js.map → p-563e86c0.entry.js.map} +0 -0
- /package/www/build/{p-a167bdd5.js.map → p-5651f576.js.map} +0 -0
- /package/www/build/{p-51f5e5e6.entry.js.map → p-585dee35.entry.js.map} +0 -0
- /package/www/build/{p-be2405e2.entry.js.map → p-5b677d6c.entry.js.map} +0 -0
- /package/www/build/{p-417ed850.entry.js.map → p-612053d0.entry.js.map} +0 -0
- /package/www/build/{p-8d443cac.entry.js.map → p-62cb3441.entry.js.map} +0 -0
- /package/www/build/{p-17d2d60b.entry.js.map → p-65ebe30f.entry.js.map} +0 -0
- /package/www/build/{p-e38df1a4.entry.js.map → p-66ae33e4.entry.js.map} +0 -0
- /package/www/build/{p-13366542.js.map → p-6e918064.js.map} +0 -0
- /package/www/build/{p-db04ba75.entry.js.map → p-7253e223.entry.js.map} +0 -0
- /package/www/build/{p-03e85eac.entry.js.map → p-739ab487.entry.js.map} +0 -0
- /package/www/build/{p-6e92df75.entry.js.map → p-7e79e234.entry.js.map} +0 -0
- /package/www/build/{p-571f1e1d.entry.js.map → p-815f156c.entry.js.map} +0 -0
- /package/www/build/{p-03cd1ead.entry.js.map → p-83d9d8e1.entry.js.map} +0 -0
- /package/www/build/{p-af7e5773.entry.js.map → p-84ce3410.entry.js.map} +0 -0
- /package/www/build/{p-ecae1a7a.entry.js.map → p-899bd07d.entry.js.map} +0 -0
- /package/www/build/{p-140b5d8f.entry.js.map → p-9287cb7b.entry.js.map} +0 -0
- /package/www/build/{p-d13520c2.entry.js.map → p-9f7a2eab.entry.js.map} +0 -0
- /package/www/build/{p-48b2e967.entry.js.map → p-a9d44417.entry.js.map} +0 -0
- /package/www/build/{p-9c36d574.entry.js.map → p-acca8b92.entry.js.map} +0 -0
- /package/www/build/{p-b1039f3d.entry.js.map → p-ae5206a6.entry.js.map} +0 -0
- /package/www/build/{p-456f984f.js.map → p-b20482f3.js.map} +0 -0
- /package/www/build/{p-291319ed.entry.js.map → p-b6178a44.entry.js.map} +0 -0
- /package/www/build/{p-e0a0bfb2.entry.js.map → p-b746bdfa.entry.js.map} +0 -0
- /package/www/build/{p-0c489c4b.entry.js.map → p-b7aecfdb.entry.js.map} +0 -0
- /package/www/build/{p-3618e227.entry.js.map → p-bc9cda42.entry.js.map} +0 -0
- /package/www/build/{p-350f84c5.entry.js.map → p-bf3ec62b.entry.js.map} +0 -0
- /package/www/build/{p-f3037ac9.entry.js.map → p-c18be7cb.entry.js.map} +0 -0
- /package/www/build/{p-fb2eb3c0.entry.js.map → p-cc143ffd.entry.js.map} +0 -0
- /package/www/build/{p-b6ea478b.entry.js.map → p-ce70faad.entry.js.map} +0 -0
- /package/www/build/{p-910fd48c.entry.js.map → p-d41b0ffc.entry.js.map} +0 -0
- /package/www/build/{p-47137e39.entry.js.map → p-d93a0eaa.entry.js.map} +0 -0
- /package/www/build/{p-db340bc6.entry.js.map → p-da71e0f0.entry.js.map} +0 -0
- /package/www/build/{p-3d97dedf.entry.js.map → p-e6102e19.entry.js.map} +0 -0
- /package/www/build/{p-b3272516.entry.js.map → p-ed091723.entry.js.map} +0 -0
- /package/www/build/{p-febc4982.entry.js.map → p-ed17a1ae.entry.js.map} +0 -0
- /package/www/build/{p-ef8a7250.entry.js.map → p-ee01c1e9.entry.js.map} +0 -0
- /package/www/build/{p-38d5e74f.entry.js.map → p-f408af2b.entry.js.map} +0 -0
- /package/www/build/{p-eb5a148f.entry.js.map → p-f7079f2c.entry.js.map} +0 -0
- /package/www/build/{p-8855aef4.js.map → p-fbbd8574.js.map} +0 -0
|
@@ -193,7 +193,7 @@ export class ZFileUpload {
|
|
|
193
193
|
}))))));
|
|
194
194
|
}
|
|
195
195
|
render() {
|
|
196
|
-
return (h(Host, { key: '
|
|
196
|
+
return (h(Host, { key: 'e68a1c50d06ebac5cb95860fa918d6c88b27a4e2' }, h("div", { key: 'd54fb8a28b5acb9d2dd42f64fc82d7dd733847ba', class: `container ${this.getType()}` }, this.mainTitle && this.renderTitle(), this.getType() == ZFileUploadType.DEFAULT ? this.renderDefaultMode() : this.renderDragDropMode()), !!this.invalidFiles.size && (h("z-modal", { key: '7760199223a8c2249aa9cca3be4bae916b7f57e6', modalid: `file-upload-${this.type}-error-modal`, tabIndex: 0, ref: (val) => (this.errorModal = val), modaltitle: this.errorModalTitle, onModalClose: () => (this.invalidFiles = new Map()), onModalBackgroundClick: () => (this.invalidFiles = new Map()) }, this.handleErrorModalContent()))));
|
|
197
197
|
}
|
|
198
198
|
static get is() { return "z-file-upload"; }
|
|
199
199
|
static get encapsulation() { return "shadow"; }
|
|
@@ -18,7 +18,7 @@ export class ZList {
|
|
|
18
18
|
this.setChildrenSizeType();
|
|
19
19
|
}
|
|
20
20
|
render() {
|
|
21
|
-
return (h(Host, { key: '
|
|
21
|
+
return (h(Host, { key: 'c01e8c9e4b4f7afb0ca872d7ceab5cb6ddbb1489' }, h("slot", { key: '794584b339e6c16dd9286a7f64b86836fe43ad9a' })));
|
|
22
22
|
}
|
|
23
23
|
static get is() { return "z-list"; }
|
|
24
24
|
static get encapsulation() { return "shadow"; }
|
|
@@ -115,7 +115,7 @@ export class ZListElement {
|
|
|
115
115
|
}
|
|
116
116
|
}
|
|
117
117
|
render() {
|
|
118
|
-
return (h(Host, { key: '
|
|
118
|
+
return (h(Host, { key: '5d91602e00c7da63a8697ba7fefb0358128806ea', "aria-expanded": this.expandable ? this.showInnerContent : null, onClick: this.handleClick, onFocus: () => this.ariaDescendantFocus.emit(this.listElementId), onKeyDown: this.handleKeyDown, clickable: this.clickable && !this.disabled, tabIndex: this.htmlTabindex }, h("div", { key: '862f8416c97f4843741566729e5a28105cb88d90', class: "container", style: { color: `var(--${this.color})` }, tabindex: "-1", id: `z-list-element-id-${this.listElementId}`, part: "list-item-container" }, h("div", { key: '17ff37f44019ebf4d92c4730b9535c0edf6e8ace', class: "z-list-element-container" }, this.renderExpandableButton(), this.renderContent()), this.renderExpandedContent()), this.dividerType === ListDividerType.ELEMENT && (h("z-divider", { key: '0a283eb65f2ca71d3d5c40d5e0c561ec95b3fcc9', color: this.dividerColor, size: this.dividerSize }))));
|
|
119
119
|
}
|
|
120
120
|
static get is() { return "z-list-element"; }
|
|
121
121
|
static get encapsulation() { return "shadow"; }
|
|
@@ -25,10 +25,10 @@ export class ZListGroup {
|
|
|
25
25
|
this.hasHeader = !!this.host.querySelector('[slot="header-title"]');
|
|
26
26
|
}
|
|
27
27
|
render() {
|
|
28
|
-
return (h(Host, { key: '
|
|
28
|
+
return (h(Host, { key: '7dc5fbe5639f76dd3582024780546dd5f5eeacd9', role: "group" }, h("div", { key: '697940e26acd3c2a56e15d74ef3c7b4dd735a773', class: {
|
|
29
29
|
"z-list-group-header-container": true,
|
|
30
30
|
"has-header": this.hasHeader,
|
|
31
|
-
} }, h("slot", { key: '
|
|
31
|
+
} }, h("slot", { key: 'bc95ab750467cd507c7a0c77b50364185d964e10', name: "header-title" }), this.dividerType === ListDividerType.HEADER && (h("z-divider", { key: '1f0fa574ba3ed9d71bd8c24718258c6a2b08b5b4', color: this.dividerColor, size: this.dividerSize }))), h("slot", { key: '33019310cb014686a44889d8333ba1dd48c4ede3' })));
|
|
32
32
|
}
|
|
33
33
|
static get is() { return "z-list-group"; }
|
|
34
34
|
static get encapsulation() { return "shadow"; }
|
|
@@ -29,7 +29,7 @@ export class ZTd {
|
|
|
29
29
|
this.updateColspan();
|
|
30
30
|
}
|
|
31
31
|
render() {
|
|
32
|
-
return (h(Host, { key: '
|
|
32
|
+
return (h(Host, { key: 'c23aff45c5f7c8be5725064c8b1e41880dc8a181', role: "cell", "menu-open": this.isMenuOpen }, h("div", { key: 'ac94183fe84827a9953c22e53769c5eb14bda38d', class: "cell--content" }, h("slot", { key: 'fe9247cefa14306bea82fdc0509f27d9b9bc9dc9' }), this.showMenu && (h("div", { key: 'b389e78768220495f19005c03e5e5ee2f6e5ceb0', class: "cell--menu-container prevent-expand" }, h("z-button", { key: 'e9340861d4ed7fca740edd61d496580d0351c606', variant: ButtonVariant.TERTIARY, icon: "contextual-menu", size: ControlSize.X_SMALL, ref: (el) => (this.menuTrigger = el), onClick: this.onMenuButtonClick.bind(this) }), h("z-popover", { key: '79626910b1f2fce99c70f462dab372c1a6c84983', class: "cell-popover", ref: (el) => (this.popoverEl = el), bindTo: this.menuTrigger, onOpenChange: (event) => (this.isMenuOpen = event.detail.open), position: this.popoverPosition }, h("slot", { key: '10973d34641dd975e0b450a80530f5398131166d', name: "contextual-menu" })))))));
|
|
33
33
|
}
|
|
34
34
|
static get is() { return "z-td"; }
|
|
35
35
|
static get encapsulation() { return "shadow"; }
|
|
@@ -50,7 +50,7 @@ export class ZTh {
|
|
|
50
50
|
this.updateColspan();
|
|
51
51
|
}
|
|
52
52
|
render() {
|
|
53
|
-
return (h(Host, { key: '
|
|
53
|
+
return (h(Host, { key: 'e7efcdcf5a92680808006b72248f02e35d00f50b', role: "columnheader", "menu-open": this.isMenuOpen, "aria-sort": this.ariaSortDirection, sortable: this.showSorting }, h("div", { key: '763042f42f58d8636337cc3cb958d3f68e24f934', class: "cell--content" }, h("slot", { key: 'b4b7068f6f3b345d335a84e8e322644cc817af90' }), this.showSorting && (h("button", { key: 'e4baac0a793d3626791b16e1868041b96a89d934', class: "z-th--sort-button", type: "button", onClick: this.handleSort.bind(this) }, h("z-icon", { key: '877e5d01cc8943f6cf034cb5d726ac9d97975e8d', name: this.sortDirection === SortDirection.DESC ? "arrow-simple-up" : "arrow-simple-down", width: 14, height: 14 }))), this.showMenu && (h("div", { key: '990ac8bc8c274b77c37fc56da0c25b6042aa1d53', class: "cell--menu-container" }, h("z-button", { key: '877468c31868c3dd8707b1d8a0004ed28db1872e', variant: ButtonVariant.TERTIARY, icon: "contextual-menu", size: ControlSize.X_SMALL, ref: (el) => (this.menuTrigger = el), onClick: () => (this.popoverEl.open = !this.popoverEl.open) }), h("z-popover", { key: '255b3e47c770eb87aef8742c6ca3365aa5e6903c', ref: (el) => (this.popoverEl = el), bindTo: this.menuTrigger, onOpenChange: (event) => (this.isMenuOpen = event.detail.open), position: this.popoverPosition }, h("slot", { key: '3aeec135bd29027346aeda2165e181e961b39d17', name: "contextual-menu" })))))));
|
|
54
54
|
}
|
|
55
55
|
static get is() { return "z-th"; }
|
|
56
56
|
static get encapsulation() { return "shadow"; }
|
|
@@ -36,7 +36,7 @@ export class ZTable {
|
|
|
36
36
|
(_a = this.expandableMutationObserver) === null || _a === void 0 ? void 0 : _a.disconnect();
|
|
37
37
|
}
|
|
38
38
|
render() {
|
|
39
|
-
return (h(Host, { key: '
|
|
39
|
+
return (h(Host, { key: 'c4f14e4f4b2c86b75cdb8d16278585687abcb9db', expandable: this.expandable }, h("div", { key: '04205d4e02f1a23cd7f250d43439d6ec2a0113bf', class: "table", role: "table" }, h("slot", { key: 'd3912b2efc7cd2321fc6f7a16664169e405f1234' }))));
|
|
40
40
|
}
|
|
41
41
|
static get is() { return "z-table"; }
|
|
42
42
|
static get encapsulation() { return "shadow"; }
|
|
@@ -5,7 +5,7 @@ import { Host, h } from "@stencil/core";
|
|
|
5
5
|
*/
|
|
6
6
|
export class ZTbody {
|
|
7
7
|
render() {
|
|
8
|
-
return (h(Host, { key: '
|
|
8
|
+
return (h(Host, { key: 'e585e51ab73c509aa7ee84759946bb99964a3383', role: "rowgroup" }, h("slot", { key: 'de704bc4e5e8b8b67b74866f570616a9ef797b17' })));
|
|
9
9
|
}
|
|
10
10
|
static get is() { return "z-tbody"; }
|
|
11
11
|
static get encapsulation() { return "shadow"; }
|
|
@@ -8,7 +8,7 @@ export class ZTfoot {
|
|
|
8
8
|
this.sticky = false;
|
|
9
9
|
}
|
|
10
10
|
render() {
|
|
11
|
-
return (h(Host, { key: '
|
|
11
|
+
return (h(Host, { key: '6df70d40572663b9e9ac24aaa1c46408b3ec72b7', role: "rowgroup" }, h("slot", { key: '6440f9b4a2c3241b33c3975bce5d37328b59e9f4' })));
|
|
12
12
|
}
|
|
13
13
|
static get is() { return "z-tfoot"; }
|
|
14
14
|
static get encapsulation() { return "shadow"; }
|
|
@@ -8,7 +8,7 @@ export class ZThead {
|
|
|
8
8
|
this.sticky = false;
|
|
9
9
|
}
|
|
10
10
|
render() {
|
|
11
|
-
return (h(Host, { key: '
|
|
11
|
+
return (h(Host, { key: '2857b5a45be55f32bf10cb523d8f0035ed65e238', role: "rowgroup" }, h("slot", { key: '015a96ef6c0b72eff9dfde65cf96c6afdfaf6cd5' })));
|
|
12
12
|
}
|
|
13
13
|
static get is() { return "z-thead"; }
|
|
14
14
|
static get encapsulation() { return "shadow"; }
|
|
@@ -43,7 +43,7 @@ export class ZTr {
|
|
|
43
43
|
this.updateColumns();
|
|
44
44
|
}
|
|
45
45
|
render() {
|
|
46
|
-
return (h(Host, { key: '
|
|
46
|
+
return (h(Host, { key: '108f17d961307c112ccb6dd092870de5e71c4cdf', role: "row", onClick: this.onRowClick.bind(this), expanded: this.expanded }, h("div", { key: '09dda94d10d8ea2e5bb600337a6d26cb1709e39f', class: "z-tr--expand-button-container" }, this.expandable && (h("button", { key: 'f247194666828e2bc869e1eb95dd829422226d6a', "aria-expanded": this.expanded ? "true" : "false", "aria-label": this.expanded ? "Comprimi riga" : "Espandi riga", "aria-controls": this.expandableContentId, type: "button" }, h("z-icon", { key: '7c7a94e6133752f3710c89fd2cebf039fea028ce', name: this.expanded ? "minus-circled" : "plus-circled" })))), h("slot", { key: '3a5488915119a0172ee74b3f2202ad9ac93c1186', onSlotchange: this.updateColumns.bind(this) })));
|
|
47
47
|
}
|
|
48
48
|
static get is() { return "z-tr"; }
|
|
49
49
|
static get encapsulation() { return "shadow"; }
|
|
@@ -47,7 +47,7 @@ export class ZAccordion {
|
|
|
47
47
|
this.toggled.emit(this.open);
|
|
48
48
|
}
|
|
49
49
|
render() {
|
|
50
|
-
return (h("details", { key: '
|
|
50
|
+
return (h("details", { key: '553c092830aef8aeb00d68ff98bcde8432aca6b1', ref: (elm) => (this.detailsElm = elm), onToggle: this.onDetailsToggle.bind(this), open: this.open }, h("summary", { key: 'd9834ea9fc0ddf03e1988134a72885357c885761', tabIndex: this.isDisabled ? -1 : null, part: "summary" }, this.icon && (h("z-icon", { key: 'a36e67e30ca2239ee1ea95a1a50bbed3d34815ab', class: "z-accordion-label-icon", name: this.icon })), h("span", { key: 'd26597865876c38d5d23a24e39b1a2fb1ee83f31', class: "z-accordion-label" }, this.label), h("span", { key: 'd0c3a1691b7d0b2c8b4b789461864d1e40adbf53', class: "z-accordion-tags" }, h("slot", { key: '7a00b9f1df6db4b617026b3804a0183b8e5760fc', name: "tag" })), h("z-icon", { key: '44460b3f207965df5ad92386c00bb97c9ad14c20', class: "z-accordion-chevron", name: this.open ? "chevron-up" : "chevron-down" })), !this.isDisabled && (h("div", { key: 'c178a1ec6fadcdab1f612bbb465d68759fd11556', class: "z-accordion-content", part: "content" }, h("slot", { key: 'c472c1d459c4ac1c185caa7a143d2355a3811231' })))));
|
|
51
51
|
}
|
|
52
52
|
static get is() { return "z-accordion"; }
|
|
53
53
|
static get encapsulation() { return "shadow"; }
|
|
@@ -49,7 +49,7 @@ export class ZAnchorNavigation {
|
|
|
49
49
|
window.removeEventListener("hashchange", this.setCurrent);
|
|
50
50
|
}
|
|
51
51
|
render() {
|
|
52
|
-
return (h(Host, { key: '
|
|
52
|
+
return (h(Host, { key: '24a1293616740146069105e12e6e5e3285188c5c', collapsed: this.collapsed }, h("z-button", { key: 'd591dd0f7ad7756814264c68b99c4231056fc80e', class: "toggle", variant: ButtonVariant.SECONDARY, icon: this.collapsed ? "chevron-up" : "chevron-down", onClick: this.toggleCollapsed.bind(this) }, "salta a"), h("nav", { key: 'ce5d99d6235de3f09e94f603e25d9266e614dde4', ref: (el) => (this.nav = el) }, h("slot", { key: '6f9a769d7ba1b32504daf5a91deac3ab7431e411' }))));
|
|
53
53
|
}
|
|
54
54
|
static get is() { return "z-anchor-navigation"; }
|
|
55
55
|
static get originalStyleUrls() {
|
|
@@ -256,7 +256,7 @@ export class ZAppHeader {
|
|
|
256
256
|
}
|
|
257
257
|
render() {
|
|
258
258
|
const hasTopSubtitle = this.hasSlot("top-subtitle");
|
|
259
|
-
return (h(Host, { key: '
|
|
259
|
+
return (h(Host, { key: '73660687ce18057a727a2248273d06726f4170ca', "menu-length": this.menuLength }, h("div", { key: 'd2373224c1aae86b4f4a98af8e1bf399b9e1d48a', class: { "heading-panel": true, "has-menubar": this.menuLength > 0 && !this.enableOffcanvas }, ref: (el) => (this.container = el) }, h("div", { key: 'd91ee4a3bdf657cad1b929c4a272c0f814e1e059', class: "heading-container" }, ((!this.enableSearch && this.isMobile) || !this.isMobile) && (h("div", { key: 'c6dad6a4c91ace00fbdcff67dcdd6c1098bd9ff7', class: "top-subtitle" }, h("slot", { key: 'de9b4e221235a883084ae737b8c3a0d1898421c2', name: "top-subtitle" }))), h("div", { key: 'afd063f688ba48c6376374d11492a613939aa55e', class: "heading-title" }, this.renderMenuButton(), !hasTopSubtitle && !this._stuck && this.renderProductLogos(), h("slot", { key: '3739c4b5afcf36254eb6447ab48762326ed5c5cc', name: "title" }), this.enableSearch && !this.isMobile && this.renderSeachbar()), this.enableSearch && this.isMobile && this.renderSeachbar()), h("nav", { key: '15ab27c813c14db5d4e4edf8625e03d6d0649aa7', class: "menu-container", "aria-label": this.title || undefined }, this.canShowMenu && (h("div", { key: '8b275fc910cc9a2a7edca5cb8d265a97b852d42d', role: "menubar", "aria-label": this.title || undefined }, h("slot", { key: 'c6c9e409dd5c0a90bd37aacc6e12242cdb59dc0e', name: "menu", onSlotchange: this.collectMenuElements }))))), this.renderOffcanvas(), this._stuck && this.renderStuck()));
|
|
260
260
|
}
|
|
261
261
|
static get is() { return "z-app-header"; }
|
|
262
262
|
static get encapsulation() { return "shadow"; }
|
|
@@ -5,7 +5,7 @@ export class ZAriaAlert {
|
|
|
5
5
|
this.mode = ZAriaAlertMode.POLITE;
|
|
6
6
|
}
|
|
7
7
|
render() {
|
|
8
|
-
return (h(Host, { key: '
|
|
8
|
+
return (h(Host, { key: 'e8ceca73857489585911705b8812ba975e9f0c13', "aria-live": this.mode, "aria-atomic": "true", "aria-relevant": "additions" }, h("slot", { key: '33318fdf8854824a83ee0273d26990ba6344778d' })));
|
|
9
9
|
}
|
|
10
10
|
static get is() { return "z-aria-alert"; }
|
|
11
11
|
static get properties() {
|
|
@@ -24,10 +24,10 @@ export class ZAvatar {
|
|
|
24
24
|
}
|
|
25
25
|
}
|
|
26
26
|
render() {
|
|
27
|
-
return (h(Host, { key: '
|
|
27
|
+
return (h(Host, { key: 'd5f252f18b2268372c5541072887e6c8d12bfb17', class: { [this.size]: true, [`body-${this.getTextSize()}-sb`]: true }, style: {
|
|
28
28
|
color: `var(--${this.textColor})`,
|
|
29
29
|
backgroundColor: `var(--${this.backgroundColor})`,
|
|
30
|
-
} }, this.text && !this.image && h("span", { key: '
|
|
30
|
+
} }, this.text && !this.image && h("span", { key: '5ef7c7096048ec680afc83a5d5f38116e86421f4' }, this.text.substring(0, 2)), this.image && (h("img", { key: 'cc4f580eed60c8f07e28e1cde52a3bad8dbb91ad', src: this.image, onError: () => (this.image = "") }))));
|
|
31
31
|
}
|
|
32
32
|
static get is() { return "z-avatar"; }
|
|
33
33
|
static get encapsulation() { return "shadow"; }
|
|
@@ -193,10 +193,10 @@ export class ZBreadcrumb {
|
|
|
193
193
|
];
|
|
194
194
|
}
|
|
195
195
|
render() {
|
|
196
|
-
return (h(Host, { key: '
|
|
196
|
+
return (h(Host, { key: '8a55265a6d9ceab8a707e341ea3c6be295b35e61', style: { "--line-clamp-popover": `${this.overflowMenuItemRows}` } }, h("nav", { key: '286628bb48c88c0f14b485dee20ef354a0c990b3', ref: (val) => (this.wrapElement = val), "aria-label": "Breadcrumb", class: {
|
|
197
197
|
semibold: this.pathStyle === BreadcrumbPathStyle.SEMIBOLD,
|
|
198
198
|
underlined: this.pathStyle === BreadcrumbPathStyle.UNDERLINED,
|
|
199
|
-
} }, h("ol", { key: '
|
|
199
|
+
} }, h("ol", { key: 'd038bc9a7717ecca40df643afd6c01f51112952f' }, this.viewPortWidth === Device.MOBILE ? this.renderMobileItems() : this.renderItems()))));
|
|
200
200
|
}
|
|
201
201
|
static get is() { return "z-breadcrumb"; }
|
|
202
202
|
static get encapsulation() { return "shadow"; }
|
|
@@ -36,7 +36,7 @@ export class ZButtonSort {
|
|
|
36
36
|
return this.ellipsis.offsetWidth < this.ellipsis.scrollWidth;
|
|
37
37
|
}
|
|
38
38
|
render() {
|
|
39
|
-
return (h("button", { key: '
|
|
39
|
+
return (h("button", { key: 'a09a742f73dcb341b95de8e1a21311f406e3fdee', title: this.setButtonTitle(), id: this.buttonid, class: { selected: this.isselected }, onClick: () => this.emitButtonSortClick() }, h("span", { key: '285d082ae761e08b52360eaa4ee6a92db46a872e', ref: (el) => (this.ellipsis = el), class: "ellipsis" }, !this.sortasc && this.desclabel ? this.desclabel : this.label), h("span", { key: '48789b6db3045fd412e1d0282da0356399fd8c85', class: "counter" }, this.counter && ` (${this.counter})`), h("span", { key: '607456b9464deadfd3d5d2c1f0910f01bb644afe', class: "sort" }, this.sortasc ? this.sortlabelasc : this.sortlabeldesc), h("z-icon", { key: 'c17f4fd8a9197069fd995ae750747da0bc0716ff', name: "caret-up-down", width: 16, height: 16 })));
|
|
40
40
|
}
|
|
41
41
|
static get is() { return "z-button-sort"; }
|
|
42
42
|
static get encapsulation() { return "shadow"; }
|
|
@@ -9,11 +9,11 @@ export class ZChip {
|
|
|
9
9
|
this.ariaLabel = "";
|
|
10
10
|
}
|
|
11
11
|
render() {
|
|
12
|
-
return (h("div", { key: '
|
|
12
|
+
return (h("div", { key: '6d69c4fbf49ee67c044dce152116c5bf9835e120', class: {
|
|
13
13
|
"z-chip-container": true,
|
|
14
14
|
"z-chip-interactive": !!this.interactiveIcon,
|
|
15
15
|
[this.type]: true,
|
|
16
|
-
}, "aria-disabled": this.disabled }, this.icon && h("z-icon", { key: '
|
|
16
|
+
}, "aria-disabled": this.disabled }, this.icon && h("z-icon", { key: '2143b1018aff1184681cd29da4bf19c64df7240b', name: this.icon }), h("slot", { key: '0df71559165514d1b26422a5fbf17ba1f428758e' }), this.interactiveIcon && (h("button", { key: '3ab388932ca992187c6b832e58df0431217c7ca8', type: "button", onClick: () => this.interactiveIconClick.emit(), "aria-label": this.ariaLabel, disabled: this.disabled }, h("z-icon", { key: 'fc6369ac78edf36b9eb31fd7537130cde930de32', class: "interactive-icon", name: this.interactiveIcon })))));
|
|
17
17
|
}
|
|
18
18
|
static get is() { return "z-chip"; }
|
|
19
19
|
static get encapsulation() { return "scoped"; }
|
|
@@ -251,7 +251,7 @@ export class ZCombobox {
|
|
|
251
251
|
return (h("div", { class: "check-all-wrapper" }, h("z-input", { type: InputType.CHECKBOX, checked: allChecked, htmlid: checkAllId, class: this.getCheckboxClass(), label: allChecked ? this.uncheckalltext : this.checkalltext, disabled: this.maxcheckableitems && this.maxcheckableitems < this.itemsList.length, size: this.size === ControlSize.X_SMALL ? ControlSize.SMALL : this.size, role: "option", "aria-selected": allChecked ? "true" : "false", onKeyDown: (e) => this.handleSelectArrowsNavigation(e, checkAllId), onInputCheck: (e) => this.checkAll(e.detail.checked), onInputFocus: (e) => this.handleCheckboxFocus(e.detail.id) })));
|
|
252
252
|
}
|
|
253
253
|
render() {
|
|
254
|
-
return (h("div", { key: '
|
|
254
|
+
return (h("div", { key: 'ecb637de1521ed5d7a8d09f506c3944358e6e355', "data-action": `combo-${this.inputid}`, class: { open: this.isopen, fixed: this.isfixed, disabled: this.disabled }, id: this.inputid }, this.renderHeader(), !this.disabled && this.renderContent()));
|
|
255
255
|
}
|
|
256
256
|
static get is() { return "z-combobox"; }
|
|
257
257
|
static get encapsulation() { return "shadow"; }
|
|
@@ -35,9 +35,9 @@ export class ZCoverHero {
|
|
|
35
35
|
return (h("div", { class: "content-container" }, h("slot", { name: "content" })));
|
|
36
36
|
}
|
|
37
37
|
render() {
|
|
38
|
-
return (h(Host, { key: '
|
|
38
|
+
return (h(Host, { key: '6c1b2c2b0e945199902ea9f265c8e202c834eb83' }, this.variant === CoverHeroVariant.STACKED &&
|
|
39
39
|
this.contentPosition === CoverHeroContentPosition.TOP &&
|
|
40
|
-
this.renderContent(), h("div", { key: '
|
|
40
|
+
this.renderContent(), h("div", { key: '802d7dc249692b4772035c223f2f0124cd9c3e4b', class: "main-container" }, h("div", { key: 'b0d2ea184ce216b2557d3bb403e11ae057a6ef19', class: "cover-container" }, h("slot", { key: '7a3c329bf5b38fff390ee10f346b588a2194f2b3', name: "cover" })), h("slot", { key: 'f7bfde21308e3f22c6633b96af5fb09bd2f659ae', name: "info-reveal" }), this.variant === CoverHeroVariant.OVERLAY && this.renderContent()), this.variant === CoverHeroVariant.STACKED &&
|
|
41
41
|
this.contentPosition === CoverHeroContentPosition.BOTTOM &&
|
|
42
42
|
this.renderContent()));
|
|
43
43
|
}
|
|
@@ -7,7 +7,7 @@ export class ZDivider {
|
|
|
7
7
|
this.orientation = DividerOrientation.HORIZONTAL;
|
|
8
8
|
}
|
|
9
9
|
render() {
|
|
10
|
-
return (h(Host, { key: '
|
|
10
|
+
return (h(Host, { key: '51d07c34bce26aee25166c180e8b7802686782aa', class: `divider-${this.size} divider-${this.orientation}`, style: { backgroundColor: `var(--${this.color})` } }));
|
|
11
11
|
}
|
|
12
12
|
static get is() { return "z-divider"; }
|
|
13
13
|
static get encapsulation() { return "scoped"; }
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { h, Host } from "@stencil/core";
|
|
2
2
|
export class ZGhostLoading {
|
|
3
3
|
render() {
|
|
4
|
-
return h(Host, { key: '
|
|
4
|
+
return h(Host, { key: '6eea73c0f46a3413cde6d9181d0175eee9826ab8' });
|
|
5
5
|
}
|
|
6
6
|
static get is() { return "z-ghost-loading"; }
|
|
7
7
|
static get encapsulation() { return "shadow"; }
|
|
@@ -15,7 +15,7 @@ export class ZIcon {
|
|
|
15
15
|
return h("polygon", { points: ICONS[this.name] });
|
|
16
16
|
}
|
|
17
17
|
render() {
|
|
18
|
-
return (h(Host, { key: '
|
|
18
|
+
return (h(Host, { key: '87e20d411d3a0476f484ddf7929e463273f9f64a', "aria-hidden": "true" }, h("svg", { key: '3467f40fa08154f3e48c8346bbcc81a4e60e7c8d', viewBox: "0 0 1000 1000", width: this.width, height: this.height, id: this.iconid, fill: this.fill ? `var(--${this.fill})` : "" }, this.selectPathOrPolygon(ICONS[this.name]))));
|
|
19
19
|
}
|
|
20
20
|
static get is() { return "z-icon"; }
|
|
21
21
|
static get encapsulation() { return "shadow"; }
|
|
@@ -11,7 +11,7 @@ export class ZInfoBox {
|
|
|
11
11
|
this.infoBoxClose.emit({ boxid: this.boxid });
|
|
12
12
|
}
|
|
13
13
|
render() {
|
|
14
|
-
return (h("div", { key: '
|
|
14
|
+
return (h("div", { key: '0045eb418845bbf110614082c0b9a2923b747c08', id: this.boxid }, h("slot", { key: 'ffa268a29a1bf33d1366cd9bb6d6564bc82d3306', name: "content" }), this.isclosable && (h("z-icon", { key: 'd78e798a31af02d01762d046a8a78fd72d3764c2', name: "multiply", "data-action": "infoBoxClose", onClick: () => this.emitInfoBoxClose() }))));
|
|
15
15
|
}
|
|
16
16
|
static get is() { return "z-info-box"; }
|
|
17
17
|
static get encapsulation() { return "shadow"; }
|
|
@@ -47,7 +47,7 @@ export class ZInfoReveal {
|
|
|
47
47
|
}
|
|
48
48
|
}
|
|
49
49
|
render() {
|
|
50
|
-
return (h(Host, { key: '
|
|
50
|
+
return (h(Host, { key: '7b83b3501b67a664e60b210eef1749ed0161ffd8', open: this.open }, h("button", { key: '1cfa35284679639b5448b381fed85e33638f299b', class: "z-info-reveal-trigger", type: "button", onClick: this.togglePanel.bind(this), "aria-label": !this.label ? this.ariaLabel : undefined, "aria-expanded": this.open ? "true" : "false", "aria-controls": "z-info-reveal-panel" }, this.icon && h("z-icon", { key: 'd84ea2e8e508e7e87d2974256613e5c1a9fba59e', name: this.icon }), this.label && h("span", { key: '169679bf52a125bdd3fac5aa84eb8c585136d563', class: "z-info-reveal-label" }, this.label)), h("div", { key: '22764431af3874cef38473fe254ad81004418d86', class: "z-info-reveal-panel", id: "z-info-reveal-panel", ref: (el) => (this.panel = el), hidden: !this.open }, h("slot", { key: 'de0d9c9e5065644b68e6b42b61d44813f80028e5' }), h("button", { key: 'a9afc989189dc20f48f6a27460fca1fd94e14fd1', class: "z-info-reveal-close", type: "button", onClick: this.closePanel.bind(this), "aria-label": "Chiudi pannello informazioni" }, h("z-icon", { key: 'e0dcfd4b2631f3ed0bea6434f4d248e66d1a56f7', name: "multiply" })))));
|
|
51
51
|
}
|
|
52
52
|
static get is() { return "z-info-reveal"; }
|
|
53
53
|
static get encapsulation() { return "shadow"; }
|
|
@@ -261,7 +261,7 @@ export class ZInput {
|
|
|
261
261
|
default:
|
|
262
262
|
input = this.renderInputText(this.type);
|
|
263
263
|
}
|
|
264
|
-
return h(Host, { key: '
|
|
264
|
+
return h(Host, { key: 'a5f48d2f5870b944d081f2248427212e1876015c' }, input);
|
|
265
265
|
}
|
|
266
266
|
static get is() { return "z-input"; }
|
|
267
267
|
static get encapsulation() { return "scoped"; }
|
|
@@ -17,7 +17,7 @@ export class ZInputMessage {
|
|
|
17
17
|
this.onMessageChange();
|
|
18
18
|
}
|
|
19
19
|
render() {
|
|
20
|
-
return (h(Host, Object.assign({ key: '
|
|
20
|
+
return (h(Host, Object.assign({ key: 'f8a0fc725c8e09f171076fdc58f0dec018a01112' }, this.statusRole, { "aria-label": this.message }), this.statusIcons[this.status] && this.message && h("z-icon", { key: 'ab887f18fcdee987b77a2b211a1c8cbe0d88f778', name: this.statusIcons[this.status] }), h("span", { key: '7bf90a5951acbc4a0e66a01e7daa15a1962e3ede', innerHTML: this.message })));
|
|
21
21
|
}
|
|
22
22
|
static get is() { return "z-input-message"; }
|
|
23
23
|
static get encapsulation() { return "shadow"; }
|
|
@@ -16,7 +16,7 @@ export class ZLogo {
|
|
|
16
16
|
if (this.height) {
|
|
17
17
|
style["height"] = style["max-height"] = `${this.height}px`;
|
|
18
18
|
}
|
|
19
|
-
return (h(Host, { key: '
|
|
19
|
+
return (h(Host, { key: 'dff898ba5911d6e7751af0cdefcf36a20a10d999', style: style, class: { mobile: !!this.mobileLogo } }, this.link ? (h("a", { href: this.link, target: this.targetBlank ? "_blank" : "_self" }, h("img", { alt: this.imageAlt }))) : (h("img", { alt: this.imageAlt }))));
|
|
20
20
|
}
|
|
21
21
|
static get is() { return "z-logo"; }
|
|
22
22
|
static get encapsulation() { return "shadow"; }
|
|
@@ -171,7 +171,7 @@ export class ZMenuSection {
|
|
|
171
171
|
this.onItemsChange();
|
|
172
172
|
}
|
|
173
173
|
render() {
|
|
174
|
-
return (h(Host, { key: '
|
|
174
|
+
return (h(Host, { key: '58d9bd4b0d75c4ae935ade13c634c667c3a23d48', open: this.open }, h("button", { key: '1974d5f004188eed1d5e9b3818af67a5643d74d3', ref: (el) => (this.label = el), class: "label", "aria-haspopup": `${!!this.hasItems}`, "aria-expanded": `${!!this.open}`, role: "menuitem", tabindex: this.htmlTabindex, onClick: this.onLabelClick, onKeyDown: this.onLabelKeydown }, h("slot", { key: '04b077536b31244987c454e147e74778953d0b97', onSlotchange: this.onLabelSlotChange }), this.hasItems && h("z-icon", { key: '915bb2bfea20172356ddb24ca0ca78f7fe62d2e7', name: this.open ? "chevron-up" : "chevron-down" })), h("div", { key: '4103c4516aea0b6bc8e362a6a7ed7f8e8db6ddde', class: "items", role: "menu", hidden: !this.open }, h("slot", { key: 'bb21ddd5f73efd7ed7d7dadc8e1ea74609bbf13a', name: "section", onSlotchange: this.onItemsChange }))));
|
|
175
175
|
}
|
|
176
176
|
static get is() { return "z-menu-section"; }
|
|
177
177
|
static get encapsulation() { return "shadow"; }
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { h } from "@stencil/core";
|
|
2
2
|
import dialogPolyfill from "dialog-polyfill";
|
|
3
3
|
import { KeyboardCode } from "../../beans";
|
|
4
|
+
import { Breakpoints } from "../../constants/breakpoints";
|
|
4
5
|
const FOCUSABLE_ELEMENTS_SELECTOR = ':is(button, input, select, textarea, [contenteditable=""], [contenteditable="true"], a[href], [tabindex], summary):not([disabled], [disabled=""], [tabindex="-1"], [aria-hidden="true"], [hidden])';
|
|
5
6
|
/**
|
|
6
7
|
* @slot modalCloseButton - accept custom close button
|
|
@@ -30,6 +31,10 @@ export class ZModal {
|
|
|
30
31
|
this.modalBackgroundClick.emit({ modalid: this.modalid });
|
|
31
32
|
}
|
|
32
33
|
}
|
|
34
|
+
handlePageOverflow() {
|
|
35
|
+
const mobileMediaQuery = window.matchMedia(`(max-width: ${Breakpoints.MOBILE}px)`);
|
|
36
|
+
document.body.style["overflow-y"] = mobileMediaQuery.matches ? "hidden" : "";
|
|
37
|
+
}
|
|
33
38
|
componentDidLoad() {
|
|
34
39
|
if (typeof window.HTMLDialogElement !== "function") {
|
|
35
40
|
/* workaround to fix `registerDialog` in test environment:
|
|
@@ -44,6 +49,7 @@ export class ZModal {
|
|
|
44
49
|
else {
|
|
45
50
|
this.open();
|
|
46
51
|
}
|
|
52
|
+
this.handlePageOverflow();
|
|
47
53
|
}
|
|
48
54
|
/** open modal */
|
|
49
55
|
async open() {
|
|
@@ -105,16 +111,16 @@ export class ZModal {
|
|
|
105
111
|
e.preventDefault();
|
|
106
112
|
}
|
|
107
113
|
render() {
|
|
108
|
-
return (h("dialog", { key: '
|
|
114
|
+
return (h("dialog", { key: 'b9a7dfc0194d437b48daf1a22efc514bceb93a71', class: {
|
|
109
115
|
"modal-dialog": !this.scrollInside,
|
|
110
|
-
}, "aria-labelledby": "modal-title", "aria-describedby": "modal-content", role: this.alertdialog ? "alertdialog" : undefined, ref: (el) => (this.dialog = el), onClose: () => this.emitModalClose(), onCancel: (e) => this.handleEscape(e) }, h("div", { key: '
|
|
116
|
+
}, "aria-labelledby": "modal-title", "aria-describedby": "modal-content", role: this.alertdialog ? "alertdialog" : undefined, ref: (el) => (this.dialog = el), onClose: () => this.emitModalClose(), onCancel: (e) => this.handleEscape(e) }, h("div", { key: '41ddc29245cb7bed110b3b1410b8296b1684b7a1', class: {
|
|
111
117
|
"modal-container": true,
|
|
112
118
|
"modal-container-scroll-inside": this.scrollInside,
|
|
113
119
|
"modal-container-scroll-outside": !this.scrollInside,
|
|
114
|
-
}, id: this.modalid }, h("header", { key: '
|
|
120
|
+
}, id: this.modalid }, h("header", { key: '69a76356adb26693c7292675bb9d75a7ec721efd', onClick: this.emitModalHeaderActive.bind(this) }, h("div", { key: 'ed7499a8e3a45348a4789f15c16cd87adb5328a2' }, this.modaltitle && h("h1", { key: 'fc65554e7e51d40189d11862f53683dc1ef9f9c3', id: "modal-title" }, this.modaltitle), this.closeButtonSlot()), this.modalsubtitle && (h("div", { key: 'a590631026c2410fb0974ccdf20fec3973b9b1b5', class: "subtitle", id: "modal-subtitle" }, this.modalsubtitle))), h("div", { key: '97b2332bbfc2601db62142dfeec21fe62515a0fb', class: {
|
|
115
121
|
"modal-content-scroll-inside": this.scrollInside,
|
|
116
122
|
"modal-content-scroll-outside": !this.scrollInside,
|
|
117
|
-
}, id: "modal-content" }, h("slot", { key: '
|
|
123
|
+
}, id: "modal-content" }, h("slot", { key: '765f4c3f0cdeb903e275d21e7cd897980c980e15', name: "modalContent" }))), h("div", { key: '399af0bbf37da37b7bc066e2a096c52e8079a540', class: {
|
|
118
124
|
"modal-background": true,
|
|
119
125
|
"modal-background-scroll-outside": !this.scrollInside,
|
|
120
126
|
}, "data-action": "modalBackground", "data-modal": this.modalid, onClick: () => {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/z-modal/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAE,OAAO,EAAE,KAAK,EAAgB,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC,EAAC,MAAM,eAAe,CAAC;AAC/F,OAAO,cAAc,MAAM,iBAAiB,CAAC;AAC7C,OAAO,EAAC,YAAY,EAAC,MAAM,aAAa,CAAC;AAEzC,MAAM,2BAA2B,GAC/B,oMAAoM,CAAC;AAEvM;;;;GAIG;AAMH,MAAM,OAAO,MAAM;;;;;gCAeE,eAAe;2BAIV,KAAK;wBAIR,IAAI;4BAIA,IAAI;;IAUrB,cAAc;QACpB,IAAI,IAAI,CAAC,QAAQ,EAAE,CAAC;YAClB,IAAI,CAAC,UAAU,CAAC,IAAI,CAAC,EAAC,OAAO,EAAE,IAAI,CAAC,OAAO,EAAC,CAAC,CAAC;QAChD,CAAC;IACH,CAAC;IAMO,qBAAqB;QAC3B,IAAI,CAAC,iBAAiB,CAAC,IAAI,CAAC,EAAC,OAAO,EAAE,IAAI,CAAC,OAAO,EAAC,CAAC,CAAC;IACvD,CAAC;IAMO,mBAAmB;QACzB,IAAI,IAAI,CAAC,QAAQ,EAAE,CAAC;YAClB,IAAI,CAAC,oBAAoB,CAAC,IAAI,CAAC,EAAC,OAAO,EAAE,IAAI,CAAC,OAAO,EAAC,CAAC,CAAC;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D,EACD,EAAE,EAAC,eAAe;oBAElB,6DAAM,IAAI,EAAC,cAAc,GAAQ,CAC7B,CACF;YACN,4DACE,KAAK,EAAE;oBACL,kBAAkB,EAAE,IAAI;oBACxB,iCAAiC,EAAE,CAAC,IAAI,CAAC,YAAY;iBACtD,iBACW,iBAAiB,gBACjB,IAAI,CAAC,OAAO,EACxB,OAAO,EAAE,GAAG,EAAE;oBACZ,IAAI,CAAC,mBAAmB,EAAE,CAAC;oBAC3B,IAAI,CAAC,KAAK,EAAE,CAAC;gBACf,CAAC,GACI,CACA,CACV,CAAC;IACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import {Component, Element, Event, EventEmitter, Listen, Method, Prop, h} from \"@stencil/core\";\nimport dialogPolyfill from \"dialog-polyfill\";\nimport {KeyboardCode} from \"../../beans\";\n\nconst FOCUSABLE_ELEMENTS_SELECTOR =\n ':is(button, input, select, textarea, [contenteditable=\"\"], [contenteditable=\"true\"], a[href], [tabindex], summary):not([disabled], [disabled=\"\"], [tabindex=\"-1\"], [aria-hidden=\"true\"], [hidden])';\n\n/**\n * @slot modalCloseButton - accept custom close button\n * @slot modalContent - set the content of the modal\n * @cssprop --z-modal-content-padding - set a default padding for the modal content slot to 16px\n */\n@Component({\n tag: \"z-modal\",\n styleUrl: \"styles.css\",\n shadow: true,\n})\nexport class ZModal {\n /** unique id */\n @Prop()\n modalid: string;\n\n /** title text (optional) */\n @Prop()\n modaltitle?: string;\n\n /** subtitle (optional) */\n @Prop()\n modalsubtitle?: string;\n\n /** aria-label for close button (optional) */\n @Prop()\n closeButtonLabel = \"chiudi modale\";\n\n /** add role \"alertdialog\" to dialog (optional, default is false) */\n @Prop()\n alertdialog?: boolean = false;\n\n /** if true, the modal is closable (optional, default is true) */\n @Prop()\n closable?: boolean = true;\n\n /** if true, the modal can scroll inside, if false the viewport can scroll */\n @Prop()\n scrollInside?: boolean = true;\n\n private dialog: HTMLDialogElement;\n\n @Element() host: HTMLZModalElement;\n\n /** emitted on close button click, returns modalid */\n @Event()\n modalClose: EventEmitter;\n\n private emitModalClose(): void {\n if (this.closable) {\n this.modalClose.emit({modalid: this.modalid});\n }\n }\n\n /** emitted on modal header click, returns modalid */\n @Event()\n modalHeaderActive: EventEmitter;\n\n private emitModalHeaderActive(): void {\n this.modalHeaderActive.emit({modalid: this.modalid});\n }\n\n /** emitted on background click, returns modalid */\n @Event()\n modalBackgroundClick: EventEmitter;\n\n private emitBackgroundClick(): void {\n if (this.closable) {\n this.modalBackgroundClick.emit({modalid: this.modalid});\n }\n }\n\n componentDidLoad(): void {\n if (typeof window.HTMLDialogElement !== \"function\") {\n /* workaround to fix `registerDialog` in test environment:\n stencil converts html elements to MockHTMLElement but this element is missing the `localName` property,\n which is used by `registerDialog` to recognize the element as dialog */\n if (!this.dialog.localName) {\n Object.defineProperty(this.dialog, \"localName\", {value: \"dialog\"});\n }\n dialogPolyfill.registerDialog(this.dialog);\n this.dialog.setAttribute(\"open\", \"true\");\n } else {\n this.open();\n }\n }\n\n /** open modal */\n @Method()\n async open(): Promise<void> {\n this.dialog?.showModal();\n }\n\n /** close modal */\n @Method()\n async close(): Promise<void> {\n if (this.closable) {\n this.dialog?.close();\n }\n }\n\n /**\n * Get a list of focusable elements in the dialog.\n * Remove elements with `display: none` from the list, because they're not focusable.\n *\n * N.B. The list is built on the assumption that elements inside shadow root are placed ALL before the `modalContent` slot.\n * Adding focusable elements after the `modalContent` slot would break the order of elements in the list.\n */\n private get focusableElements(): HTMLElement[] {\n return [\n ...Array.from(this.host.shadowRoot.querySelectorAll<HTMLElement>(FOCUSABLE_ELEMENTS_SELECTOR)),\n ...Array.from(this.host.querySelectorAll<HTMLElement>(FOCUSABLE_ELEMENTS_SELECTOR)),\n ].filter((element) => getComputedStyle(element).display !== \"none\");\n }\n\n @Listen(\"keydown\")\n handleKeyDown(e: KeyboardEvent): void {\n if (e.code === KeyboardCode.ESC && !this.closable) {\n e.preventDefault();\n }\n\n if (e.code !== KeyboardCode.TAB) {\n return;\n }\n\n const focusableElements = this.focusableElements;\n const shadowActiveElement = this.host.shadowRoot.activeElement;\n const activeElement = this.host.ownerDocument.activeElement;\n const firstFocusableElement = focusableElements[0];\n const lastFocusableElement = focusableElements[focusableElements.length - 1];\n if (e.shiftKey && (shadowActiveElement == firstFocusableElement || activeElement == firstFocusableElement)) {\n // shift + tab was pressed and current active element is the first focusable element\n e.preventDefault();\n lastFocusableElement.focus();\n } else if (!e.shiftKey && (shadowActiveElement == lastFocusableElement || activeElement == lastFocusableElement)) {\n // shift + tab was pressed and current active element is the first focusable element\n e.preventDefault();\n firstFocusableElement.focus();\n }\n }\n\n private closeButtonSlot(): HTMLElement | void {\n if (this.closable) {\n return (\n <slot name=\"modalCloseButton\">\n <button\n aria-label={this.closeButtonLabel}\n onClick={() => this.close()}\n >\n <z-icon name=\"multiply-circle-filled\"></z-icon>\n </button>\n </slot>\n );\n }\n }\n\n private handleEscape(e: Event): void {\n if (this.closable) {\n return;\n }\n e.preventDefault();\n }\n\n render(): HTMLZModalElement {\n return (\n <dialog\n class={{\n \"modal-dialog\": !this.scrollInside,\n }}\n aria-labelledby=\"modal-title\"\n aria-describedby=\"modal-content\"\n role={this.alertdialog ? \"alertdialog\" : undefined}\n ref={(el) => (this.dialog = el as HTMLDialogElement)}\n onClose={() => this.emitModalClose()}\n onCancel={(e) => this.handleEscape(e)}\n >\n <div\n class={{\n \"modal-container\": true,\n \"modal-container-scroll-inside\": this.scrollInside,\n \"modal-container-scroll-outside\": !this.scrollInside,\n }}\n id={this.modalid}\n >\n <header onClick={this.emitModalHeaderActive.bind(this)}>\n <div>\n {this.modaltitle && <h1 id=\"modal-title\">{this.modaltitle}</h1>}\n {this.closeButtonSlot()}\n </div>\n {this.modalsubtitle && (\n <div\n class=\"subtitle\"\n id=\"modal-subtitle\"\n >\n {this.modalsubtitle}\n </div>\n )}\n </header>\n\n <div\n class={{\n \"modal-content-scroll-inside\": this.scrollInside,\n \"modal-content-scroll-outside\": !this.scrollInside,\n }}\n id=\"modal-content\"\n >\n <slot name=\"modalContent\"></slot>\n </div>\n </div>\n <div\n class={{\n \"modal-background\": true,\n \"modal-background-scroll-outside\": !this.scrollInside,\n }}\n data-action=\"modalBackground\"\n data-modal={this.modalid}\n onClick={() => {\n this.emitBackgroundClick();\n this.close();\n }}\n ></div>\n </dialog>\n );\n }\n}\n"]}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/z-modal/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAE,OAAO,EAAE,KAAK,EAAgB,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC,EAAC,MAAM,eAAe,CAAC;AAC/F,OAAO,cAAc,MAAM,iBAAiB,CAAC;AAC7C,OAAO,EAAC,YAAY,EAAC,MAAM,aAAa,CAAC;AACzC,OAAO,EAAC,WAAW,EAAC,MAAM,6BAA6B,CAAC;AAExD,MAAM,2BAA2B,GAC/B,oMAAoM,CAAC;AAEvM;;;;GAIG;AAMH,MAAM,OAAO,MAAM;;;;;gCAeE,eAAe;2BAIV,KAAK;wBAIR,IAAI;4BAIA,IAAI;;IAUrB,cAAc;QACpB,IAAI,IAAI,CAAC,QAAQ,EAAE,CAAC;YAClB,IAAI,CAAC,UAAU,CAAC,IAAI,CAAC,EAAC,OAAO,EAAE,IAAI,CAAC,OAAO,EAAC,CAAC,CAAC;QAChD,CAAC;IACH,CAAC;IAMO,qBAAqB;QAC3B,IAAI,CAAC,iBAAiB,CAAC,IAAI,CAAC,EAAC,OAAO,EAAE,IAAI,CAAC,OAAO,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EACD,EAAE,EAAE,IAAI,CAAC,OAAO;gBAEhB,+DAAQ,OAAO,EAAE,IAAI,CAAC,qBAAqB,CAAC,IAAI,CAAC,IAAI,CAAC;oBACpD;wBACG,IAAI,CAAC,UAAU,IAAI,2DAAI,EAAE,EAAC,aAAa,IAAE,IAAI,CAAC,UAAU,CAAM;wBAC9D,IAAI,CAAC,eAAe,EAAE,CACnB;oBACL,IAAI,CAAC,aAAa,IAAI,CACrB,4DACE,KAAK,EAAC,UAAU,EAChB,EAAE,EAAC,gBAAgB,IAElB,IAAI,CAAC,aAAa,CACf,CACP,CACM;gBAET,4DACE,KAAK,EAAE;wBACL,6BAA6B,EAAE,IAAI,CAAC,YAAY;wBAChD,8BAA8B,EAAE,CAAC,IAAI,CAAC,YAAY;qBACnD,EACD,EAAE,EAAC,eAAe;oBAElB,6DAAM,IAAI,EAAC,cAAc,GAAQ,CAC7B,CACF;YACN,4DACE,KAAK,EAAE;oBACL,kBAAkB,EAAE,IAAI;oBACxB,iCAAiC,EAAE,CAAC,IAAI,CAAC,YAAY;iBACtD,iBACW,iBAAiB,gBACjB,IAAI,CAAC,OAAO,EACxB,OAAO,EAAE,GAAG,EAAE;oBACZ,IAAI,CAAC,mBAAmB,EAAE,CAAC;oBAC3B,IAAI,CAAC,KAAK,EAAE,CAAC;gBACf,CAAC,GACI,CACA,CACV,CAAC;IACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import {Component, Element, Event, EventEmitter, Listen, Method, Prop, h} from \"@stencil/core\";\nimport dialogPolyfill from \"dialog-polyfill\";\nimport {KeyboardCode} from \"../../beans\";\nimport {Breakpoints} from \"../../constants/breakpoints\";\n\nconst FOCUSABLE_ELEMENTS_SELECTOR =\n ':is(button, input, select, textarea, [contenteditable=\"\"], [contenteditable=\"true\"], a[href], [tabindex], summary):not([disabled], [disabled=\"\"], [tabindex=\"-1\"], [aria-hidden=\"true\"], [hidden])';\n\n/**\n * @slot modalCloseButton - accept custom close button\n * @slot modalContent - set the content of the modal\n * @cssprop --z-modal-content-padding - set a default padding for the modal content slot to 16px\n */\n@Component({\n tag: \"z-modal\",\n styleUrl: \"styles.css\",\n shadow: true,\n})\nexport class ZModal {\n /** unique id */\n @Prop()\n modalid: string;\n\n /** title text (optional) */\n @Prop()\n modaltitle?: string;\n\n /** subtitle (optional) */\n @Prop()\n modalsubtitle?: string;\n\n /** aria-label for close button (optional) */\n @Prop()\n closeButtonLabel = \"chiudi modale\";\n\n /** add role \"alertdialog\" to dialog (optional, default is false) */\n @Prop()\n alertdialog?: boolean = false;\n\n /** if true, the modal is closable (optional, default is true) */\n @Prop()\n closable?: boolean = true;\n\n /** if true, the modal can scroll inside, if false the viewport can scroll */\n @Prop()\n scrollInside?: boolean = true;\n\n private dialog: HTMLDialogElement;\n\n @Element() host: HTMLZModalElement;\n\n /** emitted on close button click, returns modalid */\n @Event()\n modalClose: EventEmitter;\n\n private emitModalClose(): void {\n if (this.closable) {\n this.modalClose.emit({modalid: this.modalid});\n }\n }\n\n /** emitted on modal header click, returns modalid */\n @Event()\n modalHeaderActive: EventEmitter;\n\n private emitModalHeaderActive(): void {\n this.modalHeaderActive.emit({modalid: this.modalid});\n }\n\n /** emitted on background click, returns modalid */\n @Event()\n modalBackgroundClick: EventEmitter;\n\n private emitBackgroundClick(): void {\n if (this.closable) {\n this.modalBackgroundClick.emit({modalid: this.modalid});\n }\n }\n\n private handlePageOverflow(): void {\n const mobileMediaQuery = window.matchMedia(`(max-width: ${Breakpoints.MOBILE}px)`);\n document.body.style[\"overflow-y\"] = mobileMediaQuery.matches ? \"hidden\" : \"\";\n }\n\n componentDidLoad(): void {\n if (typeof window.HTMLDialogElement !== \"function\") {\n /* workaround to fix `registerDialog` in test environment:\n stencil converts html elements to MockHTMLElement but this element is missing the `localName` property,\n which is used by `registerDialog` to recognize the element as dialog */\n if (!this.dialog.localName) {\n Object.defineProperty(this.dialog, \"localName\", {value: \"dialog\"});\n }\n dialogPolyfill.registerDialog(this.dialog);\n this.dialog.setAttribute(\"open\", \"true\");\n } else {\n this.open();\n }\n\n this.handlePageOverflow();\n }\n\n /** open modal */\n @Method()\n async open(): Promise<void> {\n this.dialog?.showModal();\n }\n\n /** close modal */\n @Method()\n async close(): Promise<void> {\n if (this.closable) {\n this.dialog?.close();\n }\n }\n\n /**\n * Get a list of focusable elements in the dialog.\n * Remove elements with `display: none` from the list, because they're not focusable.\n *\n * N.B. The list is built on the assumption that elements inside shadow root are placed ALL before the `modalContent` slot.\n * Adding focusable elements after the `modalContent` slot would break the order of elements in the list.\n */\n private get focusableElements(): HTMLElement[] {\n return [\n ...Array.from(this.host.shadowRoot.querySelectorAll<HTMLElement>(FOCUSABLE_ELEMENTS_SELECTOR)),\n ...Array.from(this.host.querySelectorAll<HTMLElement>(FOCUSABLE_ELEMENTS_SELECTOR)),\n ].filter((element) => getComputedStyle(element).display !== \"none\");\n }\n\n @Listen(\"keydown\")\n handleKeyDown(e: KeyboardEvent): void {\n if (e.code === KeyboardCode.ESC && !this.closable) {\n e.preventDefault();\n }\n\n if (e.code !== KeyboardCode.TAB) {\n return;\n }\n\n const focusableElements = this.focusableElements;\n const shadowActiveElement = this.host.shadowRoot.activeElement;\n const activeElement = this.host.ownerDocument.activeElement;\n const firstFocusableElement = focusableElements[0];\n const lastFocusableElement = focusableElements[focusableElements.length - 1];\n if (e.shiftKey && (shadowActiveElement == firstFocusableElement || activeElement == firstFocusableElement)) {\n // shift + tab was pressed and current active element is the first focusable element\n e.preventDefault();\n lastFocusableElement.focus();\n } else if (!e.shiftKey && (shadowActiveElement == lastFocusableElement || activeElement == lastFocusableElement)) {\n // shift + tab was pressed and current active element is the first focusable element\n e.preventDefault();\n firstFocusableElement.focus();\n }\n }\n\n private closeButtonSlot(): HTMLElement | void {\n if (this.closable) {\n return (\n <slot name=\"modalCloseButton\">\n <button\n aria-label={this.closeButtonLabel}\n onClick={() => this.close()}\n >\n <z-icon name=\"multiply-circle-filled\"></z-icon>\n </button>\n </slot>\n );\n }\n }\n\n private handleEscape(e: Event): void {\n if (this.closable) {\n return;\n }\n e.preventDefault();\n }\n\n render(): HTMLZModalElement {\n return (\n <dialog\n class={{\n \"modal-dialog\": !this.scrollInside,\n }}\n aria-labelledby=\"modal-title\"\n aria-describedby=\"modal-content\"\n role={this.alertdialog ? \"alertdialog\" : undefined}\n ref={(el) => (this.dialog = el as HTMLDialogElement)}\n onClose={() => this.emitModalClose()}\n onCancel={(e) => this.handleEscape(e)}\n >\n <div\n class={{\n \"modal-container\": true,\n \"modal-container-scroll-inside\": this.scrollInside,\n \"modal-container-scroll-outside\": !this.scrollInside,\n }}\n id={this.modalid}\n >\n <header onClick={this.emitModalHeaderActive.bind(this)}>\n <div>\n {this.modaltitle && <h1 id=\"modal-title\">{this.modaltitle}</h1>}\n {this.closeButtonSlot()}\n </div>\n {this.modalsubtitle && (\n <div\n class=\"subtitle\"\n id=\"modal-subtitle\"\n >\n {this.modalsubtitle}\n </div>\n )}\n </header>\n\n <div\n class={{\n \"modal-content-scroll-inside\": this.scrollInside,\n \"modal-content-scroll-outside\": !this.scrollInside,\n }}\n id=\"modal-content\"\n >\n <slot name=\"modalContent\"></slot>\n </div>\n </div>\n <div\n class={{\n \"modal-background\": true,\n \"modal-background-scroll-outside\": !this.scrollInside,\n }}\n data-action=\"modalBackground\"\n data-modal={this.modalid}\n onClick={() => {\n this.emitBackgroundClick();\n this.close();\n }}\n ></div>\n </dialog>\n );\n }\n}\n"]}
|
|
@@ -208,10 +208,10 @@ export class ZNavigationTabs {
|
|
|
208
208
|
(_a = this.resizeObserver) === null || _a === void 0 ? void 0 : _a.disconnect();
|
|
209
209
|
}
|
|
210
210
|
render() {
|
|
211
|
-
return (h(Host, { key: '
|
|
211
|
+
return (h(Host, { key: 'ac35ce3ef46a51e61ce9c9eabf6162931f2aaca6', class: {
|
|
212
212
|
"interactive-2": this.size === NavigationTabsSize.SMALL,
|
|
213
213
|
"interactive-1": this.size !== NavigationTabsSize.SMALL,
|
|
214
|
-
}, scrollable: this.canNavigate }, h("button", { key: '
|
|
214
|
+
}, scrollable: this.canNavigate }, h("button", { key: '786f2c6b9ed0946ef537c7b940a45fdba0fad584', class: "navigation-button", onClick: this.navigateBackwards.bind(this), tabIndex: -1, disabled: !this.canNavigatePrev, "aria-label": "Mostra elementi precedenti", hidden: !this.canNavigate }, h("z-icon", { key: '84070a0d34a9bca56a7c0f96b8749876933ede5e', name: this.orientation === NavigationTabsOrientation.HORIZONTAL ? "chevron-left" : "chevron-up", width: 16, height: 16 })), h("nav", { key: '28aa5903faaabd9efd388217a9df5f9809e8f7af', role: "tablist", "aria-label": this.ariaLabel, ref: (el) => (this.nav = el !== null && el !== void 0 ? el : this.nav), onScroll: this.checkScrollEnabled.bind(this), "aria-orientation": this.orientation }, h("slot", { key: 'e4f812fc7e986193f42196b3cca48ebc396d7d1f' })), h("button", { key: 'e3c3ca48afe50912597387066fffb95c6b30536c', class: "navigation-button", onClick: this.navigateForward.bind(this), tabIndex: -1, disabled: !this.canNavigateNext, "aria-label": "Mostra elementi successivi", hidden: !this.canNavigate }, h("z-icon", { key: 'cf2f62ed786f77e3c1a06d046d5f75254fc46b8d', name: this.orientation === NavigationTabsOrientation.HORIZONTAL ? "chevron-right" : "chevron-down", width: 16, height: 16 }))));
|
|
215
215
|
}
|
|
216
216
|
static get is() { return "z-navigation-tabs"; }
|
|
217
217
|
static get originalStyleUrls() {
|
|
@@ -25,7 +25,7 @@ export class ZNotification {
|
|
|
25
25
|
}
|
|
26
26
|
render() {
|
|
27
27
|
var _a;
|
|
28
|
-
return (h(Host, { key: '
|
|
28
|
+
return (h(Host, { key: 'cf70e33cea7793f3185e4b0d4ebe95b1ea79f437' }, this.contenticonname && (h("z-icon", { key: 'e5b3a7f2d4f95372267a38d93fa7a5a04aacffd7', class: "status-icon", name: this.contenticonname, width: 16, height: 16 })), h("div", { key: 'f7444528fd7c916fa32a88bd163fb97d876fc81b', class: "content-container" }, h("div", { key: 'd3a2bb635692d6ce44ce3ddd255618657064987f', class: "content-text" }, h("slot", { key: '717588ae9ebab4f940d881d1f3d1bb9ae4837208' })), !!((_a = this.actiontext) === null || _a === void 0 ? void 0 : _a.trim()) && (h("button", { key: 'bdb3a4d60fd342a0d26091d3c3ff782a8e6e21b5', class: "action-button", type: "button", onClick: this.handleActionButtonClick }, this.actiontext))), this.showclose && (h("button", { key: '48818733cdc2f156b02654c1d49cd20fe883d248', class: "close-button", type: "button", onClick: this.handleCloseButtonClick }, h("z-icon", { key: 'c44ae446e926e375096da3f413ef96f193fb8297', name: "multiply-circle", width: 16, height: 16 })))));
|
|
29
29
|
}
|
|
30
30
|
static get is() { return "z-notification"; }
|
|
31
31
|
static get encapsulation() { return "shadow"; }
|
|
@@ -66,7 +66,7 @@ export class ZOffcanvas {
|
|
|
66
66
|
this.open = false;
|
|
67
67
|
}
|
|
68
68
|
render() {
|
|
69
|
-
return (h(Host, { key: '
|
|
69
|
+
return (h(Host, { key: '1e33dcee1ad8e36289e98efb41f899d6e7d3ef65', "skip-animation": this.skipAnimation, "aria-hidden": !this.open ? "true" : null }, h("div", { key: '6f97e9ce4dd928d0da4fb908393675369f10f510', class: "canvas-container", role: "presentation", ref: (el) => (this.canvasContainer = el) }, h("div", { key: '4346fe24097dd96a7e210b526ec25edc87aee75c', class: "canvas-content", role: "presentation" }, h("slot", { key: 'd19ccabacac91f39a4402f1a6015165fa03f5984', name: "canvasContent" }))), (this.variant == OffCanvasVariant.OVERLAY || this.transitiondirection === TransitionDirection.UP) && (h("div", { key: 'eaee11e9a44ab1a432dc49e5c0d03d26eb5cc869', class: "canvas-background", onClick: () => (this.open = false) }))));
|
|
70
70
|
}
|
|
71
71
|
static get is() { return "z-offcanvas"; }
|
|
72
72
|
static get encapsulation() { return "scoped"; }
|
|
@@ -16,11 +16,11 @@ export class ZPanelElem {
|
|
|
16
16
|
}
|
|
17
17
|
render() {
|
|
18
18
|
const elemId = this.elemid ? this.elemid : "";
|
|
19
|
-
return (h("div", { key: '
|
|
19
|
+
return (h("div", { key: 'f496afdd737f8f301856283f8d2f93032851fdd8', class: "panel-elem-container" }, (this.imgurl || this.imgalt) && (h("div", { key: '20eaa60cebdad4296f12ed506ad84675fadc9943', "aria-hidden": "true", class: "panel-elem-icon" }, h("img", { key: '3ca2626855985cca2b5c5faddea7a9cf5531ff74', src: this.imgurl, alt: this.imgalt }))), h("div", { key: '28872c77b4d3a4a5110ef647b647cec0057b67a3', class: "panel-elem-link" }, h("a", { key: '6d576850e07b08c73a5e75630fa3a9dfee6debcb', class: {
|
|
20
20
|
"z-link": true,
|
|
21
21
|
"z-link-disabled": this.isdisabled,
|
|
22
22
|
"z-link-icon": true,
|
|
23
|
-
}, id: elemId + "link_id", href: this.url, target: this.target }, h("z-icon", { key: '
|
|
23
|
+
}, id: elemId + "link_id", href: this.url, target: this.target }, h("z-icon", { key: '55a800ee3ba16afda9dfb0334b7d1f7065a9a6ad', height: 14, width: 14, name: this.linkicon }), this.linklabel)), this.descrSlotName && (h("div", { key: 'ab07b33a573a41d4e6bda595f2f1e05c29fb8858', class: "panel-elem-desc" }, h("slot", { key: 'ae882f23127a8afc5d1b9939b6dc557792750161', name: this.descrSlotName })))));
|
|
24
24
|
}
|
|
25
25
|
static get is() { return "z-panel-elem"; }
|
|
26
26
|
static get encapsulation() { return "scoped"; }
|
|
@@ -301,7 +301,7 @@ export class ZPopover {
|
|
|
301
301
|
this.onOpen();
|
|
302
302
|
}
|
|
303
303
|
render() {
|
|
304
|
-
return h("slot", { key: '
|
|
304
|
+
return h("slot", { key: '8489e64acda7ad13853fcef6e440ae2209b14564' });
|
|
305
305
|
}
|
|
306
306
|
static get is() { return "z-popover"; }
|
|
307
307
|
static get encapsulation() { return "shadow"; }
|