@zanichelli/albe-web-components 16.3.4 → 16.3.6
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 +4 -0
- package/dist/cjs/{index-041b41e6.js → index-01778132.js} +2 -2
- package/dist/cjs/{index-041b41e6.js.map → index-01778132.js.map} +1 -1
- package/dist/cjs/index-0335126f.js +67 -0
- package/dist/cjs/index-0335126f.js.map +1 -0
- package/dist/cjs/index-30387c1f.js +59 -0
- package/dist/cjs/index-30387c1f.js.map +1 -0
- package/dist/cjs/{index-b7759a0d.js → index-b26fbd76.js} +2 -2
- package/dist/cjs/{index-b7759a0d.js.map → index-b26fbd76.js.map} +1 -1
- package/dist/cjs/index-b504fdc8.js +47 -0
- package/dist/cjs/index-b504fdc8.js.map +1 -0
- package/dist/cjs/{index-25ded558.js → index-ef486baa.js} +2 -2
- package/dist/cjs/{index-25ded558.js.map → index-ef486baa.js.map} +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/web-components-library.cjs.js +1 -1
- package/dist/cjs/z-accordion.cjs.entry.js +1 -1
- package/dist/cjs/z-alert.cjs.entry.js +1 -1
- package/dist/cjs/z-anchor-navigation.cjs.entry.js +1 -1
- package/dist/cjs/z-app-header_12.cjs.entry.js +10 -8
- package/dist/cjs/z-app-header_12.cjs.entry.js.map +1 -1
- package/dist/cjs/z-aria-alert.cjs.entry.js +1 -1
- package/dist/cjs/z-avatar.cjs.entry.js +2 -2
- package/dist/cjs/z-book-card.cjs.entry.js +1 -1
- package/dist/cjs/z-breadcrumb.cjs.entry.js +2 -2
- package/dist/cjs/z-button-sort.cjs.entry.js +1 -1
- package/dist/cjs/z-chip.cjs.entry.js +2 -2
- package/dist/cjs/z-combobox.cjs.entry.js +1 -1
- package/dist/cjs/z-cover-hero.cjs.entry.js +2 -2
- package/dist/cjs/z-dragdrop-area_2.cjs.entry.js +4 -4
- 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 +1 -1
- package/dist/cjs/z-logo.cjs.entry.js +1 -1
- package/dist/cjs/z-menu-section.cjs.entry.js +1 -1
- package/dist/cjs/z-myz-card-alert.cjs.entry.js +1 -1
- package/dist/cjs/z-myz-card-dictionary.cjs.entry.js +1 -1
- package/dist/cjs/z-myz-card-footer-sections.cjs.entry.js +1 -1
- package/dist/cjs/z-myz-card-footer.cjs.entry.js +1 -1
- package/dist/cjs/z-myz-card-icon.cjs.entry.js +1 -1
- package/dist/cjs/z-myz-card-info.cjs.entry.js +1 -1
- package/dist/cjs/z-myz-card-list.cjs.entry.js +1 -1
- package/dist/cjs/z-myz-card_4.cjs.entry.js +4 -4
- package/dist/cjs/z-myz-list-item.cjs.entry.js +1 -1
- package/dist/cjs/z-myz-list.cjs.entry.js +1 -1
- package/dist/cjs/z-navigation-tabs.cjs.entry.js +2 -2
- package/dist/cjs/z-notification.cjs.entry.js +1 -1
- package/dist/cjs/z-otp.cjs.entry.js +2 -2
- package/dist/cjs/z-panel-elem.cjs.entry.js +2 -2
- package/dist/cjs/z-popover.cjs.entry.js +1 -1
- package/dist/cjs/z-section-title.cjs.entry.js +1 -1
- package/dist/cjs/z-select.cjs.entry.js +1 -1
- package/dist/cjs/z-skip-to-content.cjs.entry.js +1 -1
- 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 +8 -8
- package/dist/cjs/z-table.cjs.entry.js.map +1 -1
- package/dist/cjs/z-tbody.cjs.entry.js +1 -1
- package/dist/cjs/z-td.cjs.entry.js +1 -1
- package/dist/cjs/z-tfoot.cjs.entry.js +1 -1
- package/dist/cjs/z-th.cjs.entry.js +1 -1
- package/dist/cjs/z-thead.cjs.entry.js +1 -1
- package/dist/cjs/z-toast-notification-list.cjs.entry.js +1 -1
- package/dist/cjs/z-toast-notification.cjs.entry.js +1 -1
- package/dist/cjs/z-toggle-button.cjs.entry.js +2 -2
- package/dist/cjs/z-toggle-switch.cjs.entry.js +3 -3
- package/dist/cjs/z-tooltip.cjs.entry.js +1 -1
- package/dist/cjs/z-tr.cjs.entry.js +3 -3
- package/dist/cjs/z-visually-hidden.cjs.entry.js +1 -1
- package/dist/collection/components/table/cells/z-td/index.js +1 -1
- package/dist/collection/components/table/cells/z-td/index.js.map +1 -1
- package/dist/collection/components/table/cells/z-td/styles.css +21 -13
- package/dist/collection/components/table/cells/z-th/index.js +49 -5
- package/dist/collection/components/table/cells/z-th/index.js.map +1 -1
- package/dist/collection/components/table/cells/z-th/styles.css +59 -24
- package/dist/collection/components/table/z-table/index.js +1 -1
- package/dist/collection/components/table/z-table/index.stories.js +19 -3
- package/dist/collection/components/table/z-table/index.stories.js.map +1 -1
- package/dist/collection/components/table/z-table/styles.css +0 -4
- 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/table/z-tr/styles.css +0 -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-book-card/index.js +1 -1
- 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-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 +4 -4
- 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 +2 -0
- 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/components/iconset.js +2 -0
- package/dist/components/iconset.js.map +1 -1
- package/dist/components/index10.js +1 -1
- package/dist/components/index11.js +1 -1
- package/dist/components/index15.js +4 -4
- package/dist/components/index16.js +1 -1
- package/dist/components/index17.js +1 -1
- package/dist/components/index18.js +1 -1
- package/dist/components/index19.js +1 -1
- package/dist/components/index20.js +1 -1
- package/dist/components/index21.js +1 -1
- package/dist/components/index22.js +1 -1
- package/dist/components/index23.js +1 -1
- package/dist/components/index24.js +2 -2
- package/dist/components/index3.js +1 -1
- package/dist/components/index5.js +2 -2
- package/dist/components/index6.js +1 -1
- package/dist/components/index8.js +1 -1
- package/dist/components/z-accordion.js +1 -1
- package/dist/components/z-anchor-navigation.js +1 -1
- package/dist/components/z-app-header.js +1 -1
- package/dist/components/z-aria-alert.js +1 -1
- package/dist/components/z-avatar.js +2 -2
- package/dist/components/z-book-card.js +1 -1
- package/dist/components/z-breadcrumb.js +2 -2
- package/dist/components/z-button-sort.js +1 -1
- package/dist/components/z-combobox.js +1 -1
- package/dist/components/z-cover-hero.js +2 -2
- package/dist/components/z-info-box.js +1 -1
- package/dist/components/z-info-reveal.js +1 -1
- package/dist/components/z-logo.js +1 -1
- package/dist/components/z-menu-section.js +1 -1
- package/dist/components/z-myz-card-alert.js +1 -1
- package/dist/components/z-myz-card-dictionary.js +1 -1
- 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-icon.js +1 -1
- package/dist/components/z-myz-card-info.js +1 -1
- package/dist/components/z-myz-card-list.js +1 -1
- package/dist/components/z-myz-list.js +1 -1
- package/dist/components/z-navigation-tabs.js +2 -2
- package/dist/components/z-notification.js +1 -1
- package/dist/components/z-otp.js +2 -2
- package/dist/components/z-panel-elem.js +2 -2
- package/dist/components/z-section-title.js +1 -1
- package/dist/components/z-select.js +1 -1
- 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 +2 -2
- package/dist/components/z-table.js.map +1 -1
- package/dist/components/z-tbody.js +1 -1
- package/dist/components/z-td.js +2 -2
- package/dist/components/z-td.js.map +1 -1
- package/dist/components/z-tfoot.js +1 -1
- package/dist/components/z-th.js +9 -5
- package/dist/components/z-th.js.map +1 -1
- 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 +1 -1
- package/dist/components/z-tr.js +2 -2
- package/dist/components/z-tr.js.map +1 -1
- package/dist/components/z-visually-hidden.js +1 -1
- package/dist/esm/{index-e70be23f.js → index-09ff70db.js} +2 -2
- package/dist/esm/{index-e70be23f.js.map → index-09ff70db.js.map} +1 -1
- package/dist/esm/index-7a486f3d.js +65 -0
- package/dist/esm/index-7a486f3d.js.map +1 -0
- package/dist/esm/index-81b223e5.js +45 -0
- package/dist/esm/index-81b223e5.js.map +1 -0
- package/dist/esm/{index-36f0f6c0.js → index-8e5c830a.js} +2 -2
- package/dist/esm/{index-36f0f6c0.js.map → index-8e5c830a.js.map} +1 -1
- package/dist/esm/index-ea820724.js +57 -0
- package/dist/esm/index-ea820724.js.map +1 -0
- package/dist/esm/{index-dfddeb25.js → index-fe4fc8da.js} +2 -2
- package/dist/esm/{index-dfddeb25.js.map → index-fe4fc8da.js.map} +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/web-components-library.js +1 -1
- package/dist/esm/z-accordion.entry.js +1 -1
- package/dist/esm/z-alert.entry.js +1 -1
- package/dist/esm/z-anchor-navigation.entry.js +1 -1
- package/dist/esm/z-app-header_12.entry.js +10 -8
- package/dist/esm/z-app-header_12.entry.js.map +1 -1
- package/dist/esm/z-aria-alert.entry.js +1 -1
- package/dist/esm/z-avatar.entry.js +2 -2
- package/dist/esm/z-book-card.entry.js +1 -1
- package/dist/esm/z-breadcrumb.entry.js +2 -2
- package/dist/esm/z-button-sort.entry.js +1 -1
- package/dist/esm/z-chip.entry.js +2 -2
- package/dist/esm/z-combobox.entry.js +1 -1
- package/dist/esm/z-cover-hero.entry.js +2 -2
- package/dist/esm/z-dragdrop-area_2.entry.js +4 -4
- 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 +1 -1
- package/dist/esm/z-logo.entry.js +1 -1
- package/dist/esm/z-menu-section.entry.js +1 -1
- package/dist/esm/z-myz-card-alert.entry.js +1 -1
- package/dist/esm/z-myz-card-dictionary.entry.js +1 -1
- package/dist/esm/z-myz-card-footer-sections.entry.js +1 -1
- package/dist/esm/z-myz-card-footer.entry.js +1 -1
- package/dist/esm/z-myz-card-icon.entry.js +1 -1
- package/dist/esm/z-myz-card-info.entry.js +1 -1
- package/dist/esm/z-myz-card-list.entry.js +1 -1
- package/dist/esm/z-myz-card_4.entry.js +4 -4
- package/dist/esm/z-myz-list-item.entry.js +1 -1
- package/dist/esm/z-myz-list.entry.js +1 -1
- package/dist/esm/z-navigation-tabs.entry.js +2 -2
- package/dist/esm/z-notification.entry.js +1 -1
- package/dist/esm/z-otp.entry.js +2 -2
- package/dist/esm/z-panel-elem.entry.js +2 -2
- package/dist/esm/z-popover.entry.js +1 -1
- package/dist/esm/z-section-title.entry.js +1 -1
- package/dist/esm/z-select.entry.js +1 -1
- package/dist/esm/z-skip-to-content.entry.js +1 -1
- 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 +8 -8
- package/dist/esm/z-table.entry.js.map +1 -1
- package/dist/esm/z-tbody.entry.js +1 -1
- package/dist/esm/z-td.entry.js +1 -1
- package/dist/esm/z-tfoot.entry.js +1 -1
- package/dist/esm/z-th.entry.js +1 -1
- package/dist/esm/z-thead.entry.js +1 -1
- package/dist/esm/z-toast-notification-list.entry.js +1 -1
- package/dist/esm/z-toast-notification.entry.js +1 -1
- package/dist/esm/z-toggle-button.entry.js +2 -2
- package/dist/esm/z-toggle-switch.entry.js +3 -3
- package/dist/esm/z-tooltip.entry.js +1 -1
- package/dist/esm/z-tr.entry.js +3 -3
- package/dist/esm/z-visually-hidden.entry.js +1 -1
- package/dist/types/components/table/cells/z-th/index.d.ts +10 -1
- package/dist/types/components/table/z-table/index.stories.d.ts +11 -0
- package/dist/types/components.d.ts +18 -2
- package/dist/types/constants/iconset.d.ts +4 -0
- package/dist/web-components-library/{p-f15d0a00.entry.js → p-00f7e0da.entry.js} +2 -2
- package/dist/web-components-library/{p-5a0f0978.entry.js → p-0b100bd7.entry.js} +2 -2
- package/dist/web-components-library/{p-707e5f91.entry.js → p-0ca0265f.entry.js} +2 -2
- package/dist/web-components-library/{p-9b9a04ad.entry.js → p-140b5d8f.entry.js} +2 -2
- package/dist/web-components-library/p-155c52f7.js +2 -0
- package/{www/build/p-4a2e0034.js.map → dist/web-components-library/p-155c52f7.js.map} +1 -1
- package/dist/web-components-library/p-16719dff.entry.js +2 -0
- package/dist/web-components-library/{p-45dc157c.entry.js → p-17d2d60b.entry.js} +2 -2
- package/dist/web-components-library/p-17fea974.js +2 -0
- package/dist/web-components-library/p-17fea974.js.map +1 -0
- package/dist/web-components-library/p-27bfe123.js +2 -0
- package/dist/web-components-library/p-27bfe123.js.map +1 -0
- package/dist/web-components-library/{p-100c6243.entry.js → p-291319ed.entry.js} +2 -2
- package/dist/web-components-library/p-2b15df8e.entry.js +2 -0
- package/dist/web-components-library/p-2cab65f7.entry.js +2 -0
- package/dist/web-components-library/{p-f8bbca6e.entry.js → p-30f09188.entry.js} +2 -2
- package/dist/web-components-library/p-32d603b8.js +2 -0
- package/dist/web-components-library/p-3b26bd7b.entry.js +2 -0
- package/dist/web-components-library/p-3d97dedf.entry.js +2 -0
- package/dist/web-components-library/{p-9a1b51ed.entry.js → p-4704cece.entry.js} +2 -2
- package/dist/web-components-library/{p-d5f5e107.entry.js → p-48b2e967.entry.js} +2 -2
- package/dist/web-components-library/p-6297dfaa.entry.js +2 -0
- package/{www/build/p-ad97fdc4.entry.js → dist/web-components-library/p-62b75a18.entry.js} +2 -2
- package/{www/build/p-a64a1bf0.entry.js → dist/web-components-library/p-64ba80da.entry.js} +2 -2
- package/dist/web-components-library/{p-f9aa2d11.entry.js → p-67e48546.entry.js} +2 -2
- package/dist/web-components-library/{p-2f662fea.entry.js → p-6e92df75.entry.js} +2 -2
- package/{www/build/p-820b48f6.entry.js → dist/web-components-library/p-6f9fc850.entry.js} +2 -2
- package/dist/web-components-library/p-73a58288.entry.js +2 -0
- package/dist/web-components-library/p-73a58288.entry.js.map +1 -0
- package/dist/web-components-library/p-7a674e6c.entry.js +2 -0
- package/dist/web-components-library/p-8855aef4.js +2 -0
- package/{www/build/p-777ad335.entry.js → dist/web-components-library/p-89b1e0ce.entry.js} +2 -2
- package/{www/build/p-51f1c9c0.entry.js → dist/web-components-library/p-956ece11.entry.js} +2 -2
- package/dist/web-components-library/{p-f06ad42c.entry.js → p-9a48e70b.entry.js} +2 -2
- package/dist/web-components-library/p-9bf06eb5.entry.js +2 -0
- package/dist/web-components-library/{p-c679277c.entry.js.map → p-9bf06eb5.entry.js.map} +1 -1
- package/dist/web-components-library/p-9c36d574.entry.js +2 -0
- package/dist/web-components-library/p-9d857607.entry.js +2 -0
- package/dist/web-components-library/p-9d857607.entry.js.map +1 -0
- package/dist/web-components-library/{p-8d56e74b.entry.js → p-9fc6961e.entry.js} +2 -2
- package/dist/web-components-library/p-a167bdd5.js +2 -0
- package/dist/web-components-library/{p-4537f922.entry.js → p-a16ed530.entry.js} +2 -2
- package/{www/build/p-e4d97fbf.entry.js → dist/web-components-library/p-a45e72f0.entry.js} +2 -2
- package/dist/web-components-library/p-af7e5773.entry.js +2 -0
- package/{www/build/p-6a1b3e86.entry.js → dist/web-components-library/p-b387e877.entry.js} +2 -2
- package/dist/web-components-library/{p-46d98609.entry.js → p-b6ea478b.entry.js} +2 -2
- package/{www/build/p-b2356bc7.entry.js → dist/web-components-library/p-b7af7424.entry.js} +2 -2
- package/{www/build/p-f425c6f2.entry.js → dist/web-components-library/p-c38833ea.entry.js} +2 -2
- package/dist/web-components-library/p-c39ca8e7.entry.js +2 -0
- package/dist/web-components-library/{p-e529a714.entry.js → p-c451b4d7.entry.js} +2 -2
- package/{www/build/p-e25d7f0a.entry.js → dist/web-components-library/p-ca7634bf.entry.js} +2 -2
- package/dist/web-components-library/{p-855334f4.entry.js → p-d847bfcd.entry.js} +2 -2
- package/dist/web-components-library/{p-ab7f129e.entry.js → p-d94c5857.entry.js} +2 -2
- package/dist/web-components-library/{p-aaae6b16.entry.js → p-e770ed95.entry.js} +2 -2
- package/dist/web-components-library/{p-7aba5af3.entry.js → p-eb93aa0b.entry.js} +2 -2
- package/dist/web-components-library/{p-ea9c0ff3.entry.js → p-ecae1a7a.entry.js} +2 -2
- package/dist/web-components-library/{p-5a178c69.entry.js → p-ee430669.entry.js} +2 -2
- package/dist/web-components-library/{p-a0fd1323.entry.js → p-ef8a7250.entry.js} +2 -2
- package/dist/web-components-library/{p-cd0219b4.entry.js → p-f26b2e47.entry.js} +2 -2
- package/dist/web-components-library/{p-df8c381a.entry.js → p-f410f295.entry.js} +2 -2
- package/dist/web-components-library/p-f87bcdc3.entry.js +2 -0
- package/dist/web-components-library/{p-68f4fbc8.entry.js.map → p-f87bcdc3.entry.js.map} +1 -1
- package/dist/web-components-library/p-febc4982.entry.js +2 -0
- package/dist/web-components-library/{p-3f0be317.entry.js → p-ffccfe63.entry.js} +2 -2
- 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/www/build/{p-f15d0a00.entry.js → p-00f7e0da.entry.js} +2 -2
- package/www/build/{p-5a0f0978.entry.js → p-0b100bd7.entry.js} +2 -2
- package/www/build/{p-707e5f91.entry.js → p-0ca0265f.entry.js} +2 -2
- package/www/build/{p-9b9a04ad.entry.js → p-140b5d8f.entry.js} +2 -2
- package/www/build/p-155c52f7.js +2 -0
- package/{dist/web-components-library/p-4a2e0034.js.map → www/build/p-155c52f7.js.map} +1 -1
- package/www/build/p-16719dff.entry.js +2 -0
- package/www/build/{p-45dc157c.entry.js → p-17d2d60b.entry.js} +2 -2
- package/www/build/p-17fea974.js +2 -0
- package/www/build/p-17fea974.js.map +1 -0
- package/www/build/p-27bfe123.js +2 -0
- package/www/build/p-27bfe123.js.map +1 -0
- package/www/build/{p-100c6243.entry.js → p-291319ed.entry.js} +2 -2
- package/www/build/p-2b15df8e.entry.js +2 -0
- package/www/build/p-2cab65f7.entry.js +2 -0
- package/www/build/{p-f8bbca6e.entry.js → p-30f09188.entry.js} +2 -2
- package/www/build/p-32d603b8.js +2 -0
- package/www/build/p-3b26bd7b.entry.js +2 -0
- package/www/build/p-3d97dedf.entry.js +2 -0
- package/www/build/{p-9a1b51ed.entry.js → p-4704cece.entry.js} +2 -2
- package/www/build/{p-d5f5e107.entry.js → p-48b2e967.entry.js} +2 -2
- package/www/build/p-6297dfaa.entry.js +2 -0
- package/{dist/web-components-library/p-ad97fdc4.entry.js → www/build/p-62b75a18.entry.js} +2 -2
- package/{dist/web-components-library/p-a64a1bf0.entry.js → www/build/p-64ba80da.entry.js} +2 -2
- package/www/build/{p-f9aa2d11.entry.js → p-67e48546.entry.js} +2 -2
- package/www/build/{p-2f662fea.entry.js → p-6e92df75.entry.js} +2 -2
- package/{dist/web-components-library/p-820b48f6.entry.js → www/build/p-6f9fc850.entry.js} +2 -2
- package/www/build/p-73a58288.entry.js +2 -0
- package/www/build/p-73a58288.entry.js.map +1 -0
- package/www/build/p-7a674e6c.entry.js +2 -0
- package/www/build/p-8855aef4.js +2 -0
- package/{dist/web-components-library/p-777ad335.entry.js → www/build/p-89b1e0ce.entry.js} +2 -2
- package/{dist/web-components-library/p-51f1c9c0.entry.js → www/build/p-956ece11.entry.js} +2 -2
- package/www/build/{p-f06ad42c.entry.js → p-9a48e70b.entry.js} +2 -2
- package/www/build/p-9bf06eb5.entry.js +2 -0
- package/www/build/{p-c679277c.entry.js.map → p-9bf06eb5.entry.js.map} +1 -1
- package/www/build/p-9c36d574.entry.js +2 -0
- package/www/build/p-9d857607.entry.js +2 -0
- package/www/build/p-9d857607.entry.js.map +1 -0
- package/www/build/{p-8d56e74b.entry.js → p-9fc6961e.entry.js} +2 -2
- package/www/build/p-a167bdd5.js +2 -0
- package/www/build/{p-4537f922.entry.js → p-a16ed530.entry.js} +2 -2
- package/{dist/web-components-library/p-e4d97fbf.entry.js → www/build/p-a45e72f0.entry.js} +2 -2
- package/www/build/p-af7e5773.entry.js +2 -0
- package/{dist/web-components-library/p-6a1b3e86.entry.js → www/build/p-b387e877.entry.js} +2 -2
- package/www/build/{p-46d98609.entry.js → p-b6ea478b.entry.js} +2 -2
- package/{dist/web-components-library/p-b2356bc7.entry.js → www/build/p-b7af7424.entry.js} +2 -2
- package/{dist/web-components-library/p-f425c6f2.entry.js → www/build/p-c38833ea.entry.js} +2 -2
- package/www/build/p-c39ca8e7.entry.js +2 -0
- package/www/build/{p-e529a714.entry.js → p-c451b4d7.entry.js} +2 -2
- package/www/build/{p-ee649874.js → p-ca107e5c.js} +1 -1
- package/{dist/web-components-library/p-e25d7f0a.entry.js → www/build/p-ca7634bf.entry.js} +2 -2
- package/www/build/{p-855334f4.entry.js → p-d847bfcd.entry.js} +2 -2
- package/www/build/{p-ab7f129e.entry.js → p-d94c5857.entry.js} +2 -2
- package/www/build/{p-aaae6b16.entry.js → p-e770ed95.entry.js} +2 -2
- package/www/build/{p-7aba5af3.entry.js → p-eb93aa0b.entry.js} +2 -2
- package/www/build/{p-ea9c0ff3.entry.js → p-ecae1a7a.entry.js} +2 -2
- package/www/build/{p-5a178c69.entry.js → p-ee430669.entry.js} +2 -2
- package/www/build/{p-a0fd1323.entry.js → p-ef8a7250.entry.js} +2 -2
- package/www/build/{p-cd0219b4.entry.js → p-f26b2e47.entry.js} +2 -2
- package/www/build/{p-df8c381a.entry.js → p-f410f295.entry.js} +2 -2
- package/www/build/p-f87bcdc3.entry.js +2 -0
- package/www/build/{p-68f4fbc8.entry.js.map → p-f87bcdc3.entry.js.map} +1 -1
- package/www/build/p-febc4982.entry.js +2 -0
- package/www/build/{p-3f0be317.entry.js → p-ffccfe63.entry.js} +2 -2
- 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/dist/cjs/index-1dfb8b3c.js +0 -47
- package/dist/cjs/index-1dfb8b3c.js.map +0 -1
- package/dist/cjs/index-4bce26ea.js +0 -59
- package/dist/cjs/index-4bce26ea.js.map +0 -1
- package/dist/cjs/index-d4272b0e.js +0 -65
- package/dist/cjs/index-d4272b0e.js.map +0 -1
- package/dist/esm/index-66bd56db.js +0 -57
- package/dist/esm/index-66bd56db.js.map +0 -1
- package/dist/esm/index-89520805.js +0 -63
- package/dist/esm/index-89520805.js.map +0 -1
- package/dist/esm/index-cddfba10.js +0 -45
- package/dist/esm/index-cddfba10.js.map +0 -1
- package/dist/web-components-library/p-02418303.entry.js +0 -2
- package/dist/web-components-library/p-02418303.entry.js.map +0 -1
- package/dist/web-components-library/p-06d98334.entry.js +0 -2
- package/dist/web-components-library/p-28018cd3.entry.js +0 -2
- package/dist/web-components-library/p-28018cd3.entry.js.map +0 -1
- package/dist/web-components-library/p-2b1fd95a.entry.js +0 -2
- package/dist/web-components-library/p-3ae8fb1a.entry.js +0 -2
- package/dist/web-components-library/p-3dbad75e.js +0 -2
- package/dist/web-components-library/p-4a2e0034.js +0 -2
- package/dist/web-components-library/p-4f3f8578.entry.js +0 -2
- package/dist/web-components-library/p-60f410df.js +0 -2
- package/dist/web-components-library/p-60f410df.js.map +0 -1
- package/dist/web-components-library/p-63ec7bad.entry.js +0 -2
- package/dist/web-components-library/p-64aab82f.js +0 -2
- package/dist/web-components-library/p-68f4fbc8.entry.js +0 -2
- package/dist/web-components-library/p-7d5bf905.entry.js +0 -2
- package/dist/web-components-library/p-823c45d4.entry.js +0 -2
- package/dist/web-components-library/p-8a6a4d22.js +0 -2
- package/dist/web-components-library/p-8a6a4d22.js.map +0 -1
- package/dist/web-components-library/p-95cb8701.js +0 -2
- package/dist/web-components-library/p-c1e498ac.entry.js +0 -2
- package/dist/web-components-library/p-c54d0925.entry.js +0 -2
- package/dist/web-components-library/p-c679277c.entry.js +0 -2
- package/dist/web-components-library/p-cc71a90c.entry.js +0 -2
- package/dist/web-components-library/p-f703660d.entry.js +0 -2
- package/www/build/p-02418303.entry.js +0 -2
- package/www/build/p-02418303.entry.js.map +0 -1
- package/www/build/p-06d98334.entry.js +0 -2
- package/www/build/p-28018cd3.entry.js +0 -2
- package/www/build/p-28018cd3.entry.js.map +0 -1
- package/www/build/p-2b1fd95a.entry.js +0 -2
- package/www/build/p-3ae8fb1a.entry.js +0 -2
- package/www/build/p-3dbad75e.js +0 -2
- package/www/build/p-4a2e0034.js +0 -2
- package/www/build/p-4f3f8578.entry.js +0 -2
- package/www/build/p-60f410df.js +0 -2
- package/www/build/p-60f410df.js.map +0 -1
- package/www/build/p-63ec7bad.entry.js +0 -2
- package/www/build/p-64aab82f.js +0 -2
- package/www/build/p-68f4fbc8.entry.js +0 -2
- package/www/build/p-7d5bf905.entry.js +0 -2
- package/www/build/p-823c45d4.entry.js +0 -2
- package/www/build/p-8a6a4d22.js +0 -2
- package/www/build/p-8a6a4d22.js.map +0 -1
- package/www/build/p-95cb8701.js +0 -2
- package/www/build/p-c1e498ac.entry.js +0 -2
- package/www/build/p-c54d0925.entry.js +0 -2
- package/www/build/p-c679277c.entry.js +0 -2
- package/www/build/p-cc71a90c.entry.js +0 -2
- package/www/build/p-f703660d.entry.js +0 -2
- /package/dist/web-components-library/{p-f15d0a00.entry.js.map → p-00f7e0da.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-5a0f0978.entry.js.map → p-0b100bd7.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-707e5f91.entry.js.map → p-0ca0265f.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-9b9a04ad.entry.js.map → p-140b5d8f.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-2b1fd95a.entry.js.map → p-16719dff.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-45dc157c.entry.js.map → p-17d2d60b.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-100c6243.entry.js.map → p-291319ed.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-4f3f8578.entry.js.map → p-2b15df8e.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-c54d0925.entry.js.map → p-2cab65f7.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-f8bbca6e.entry.js.map → p-30f09188.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-95cb8701.js.map → p-32d603b8.js.map} +0 -0
- /package/dist/web-components-library/{p-63ec7bad.entry.js.map → p-3b26bd7b.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-c1e498ac.entry.js.map → p-3d97dedf.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-9a1b51ed.entry.js.map → p-4704cece.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-d5f5e107.entry.js.map → p-48b2e967.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-7d5bf905.entry.js.map → p-6297dfaa.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-ad97fdc4.entry.js.map → p-62b75a18.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-a64a1bf0.entry.js.map → p-64ba80da.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-f9aa2d11.entry.js.map → p-67e48546.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-2f662fea.entry.js.map → p-6e92df75.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-820b48f6.entry.js.map → p-6f9fc850.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-823c45d4.entry.js.map → p-7a674e6c.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-64aab82f.js.map → p-8855aef4.js.map} +0 -0
- /package/dist/web-components-library/{p-777ad335.entry.js.map → p-89b1e0ce.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-51f1c9c0.entry.js.map → p-956ece11.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-f06ad42c.entry.js.map → p-9a48e70b.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-06d98334.entry.js.map → p-9c36d574.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-8d56e74b.entry.js.map → p-9fc6961e.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-3dbad75e.js.map → p-a167bdd5.js.map} +0 -0
- /package/dist/web-components-library/{p-4537f922.entry.js.map → p-a16ed530.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-e4d97fbf.entry.js.map → p-a45e72f0.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-3ae8fb1a.entry.js.map → p-af7e5773.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-6a1b3e86.entry.js.map → p-b387e877.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-46d98609.entry.js.map → p-b6ea478b.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-b2356bc7.entry.js.map → p-b7af7424.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-f425c6f2.entry.js.map → p-c38833ea.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-cc71a90c.entry.js.map → p-c39ca8e7.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-e529a714.entry.js.map → p-c451b4d7.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-e25d7f0a.entry.js.map → p-ca7634bf.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-855334f4.entry.js.map → p-d847bfcd.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-ab7f129e.entry.js.map → p-d94c5857.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-aaae6b16.entry.js.map → p-e770ed95.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-7aba5af3.entry.js.map → p-eb93aa0b.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-ea9c0ff3.entry.js.map → p-ecae1a7a.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-5a178c69.entry.js.map → p-ee430669.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-a0fd1323.entry.js.map → p-ef8a7250.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-cd0219b4.entry.js.map → p-f26b2e47.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-df8c381a.entry.js.map → p-f410f295.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-f703660d.entry.js.map → p-febc4982.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-3f0be317.entry.js.map → p-ffccfe63.entry.js.map} +0 -0
- /package/www/build/{p-f15d0a00.entry.js.map → p-00f7e0da.entry.js.map} +0 -0
- /package/www/build/{p-5a0f0978.entry.js.map → p-0b100bd7.entry.js.map} +0 -0
- /package/www/build/{p-707e5f91.entry.js.map → p-0ca0265f.entry.js.map} +0 -0
- /package/www/build/{p-9b9a04ad.entry.js.map → p-140b5d8f.entry.js.map} +0 -0
- /package/www/build/{p-2b1fd95a.entry.js.map → p-16719dff.entry.js.map} +0 -0
- /package/www/build/{p-45dc157c.entry.js.map → p-17d2d60b.entry.js.map} +0 -0
- /package/www/build/{p-100c6243.entry.js.map → p-291319ed.entry.js.map} +0 -0
- /package/www/build/{p-4f3f8578.entry.js.map → p-2b15df8e.entry.js.map} +0 -0
- /package/www/build/{p-c54d0925.entry.js.map → p-2cab65f7.entry.js.map} +0 -0
- /package/www/build/{p-f8bbca6e.entry.js.map → p-30f09188.entry.js.map} +0 -0
- /package/www/build/{p-95cb8701.js.map → p-32d603b8.js.map} +0 -0
- /package/www/build/{p-63ec7bad.entry.js.map → p-3b26bd7b.entry.js.map} +0 -0
- /package/www/build/{p-c1e498ac.entry.js.map → p-3d97dedf.entry.js.map} +0 -0
- /package/www/build/{p-9a1b51ed.entry.js.map → p-4704cece.entry.js.map} +0 -0
- /package/www/build/{p-d5f5e107.entry.js.map → p-48b2e967.entry.js.map} +0 -0
- /package/www/build/{p-7d5bf905.entry.js.map → p-6297dfaa.entry.js.map} +0 -0
- /package/www/build/{p-ad97fdc4.entry.js.map → p-62b75a18.entry.js.map} +0 -0
- /package/www/build/{p-a64a1bf0.entry.js.map → p-64ba80da.entry.js.map} +0 -0
- /package/www/build/{p-f9aa2d11.entry.js.map → p-67e48546.entry.js.map} +0 -0
- /package/www/build/{p-2f662fea.entry.js.map → p-6e92df75.entry.js.map} +0 -0
- /package/www/build/{p-820b48f6.entry.js.map → p-6f9fc850.entry.js.map} +0 -0
- /package/www/build/{p-823c45d4.entry.js.map → p-7a674e6c.entry.js.map} +0 -0
- /package/www/build/{p-64aab82f.js.map → p-8855aef4.js.map} +0 -0
- /package/www/build/{p-777ad335.entry.js.map → p-89b1e0ce.entry.js.map} +0 -0
- /package/www/build/{p-51f1c9c0.entry.js.map → p-956ece11.entry.js.map} +0 -0
- /package/www/build/{p-f06ad42c.entry.js.map → p-9a48e70b.entry.js.map} +0 -0
- /package/www/build/{p-06d98334.entry.js.map → p-9c36d574.entry.js.map} +0 -0
- /package/www/build/{p-8d56e74b.entry.js.map → p-9fc6961e.entry.js.map} +0 -0
- /package/www/build/{p-3dbad75e.js.map → p-a167bdd5.js.map} +0 -0
- /package/www/build/{p-4537f922.entry.js.map → p-a16ed530.entry.js.map} +0 -0
- /package/www/build/{p-e4d97fbf.entry.js.map → p-a45e72f0.entry.js.map} +0 -0
- /package/www/build/{p-3ae8fb1a.entry.js.map → p-af7e5773.entry.js.map} +0 -0
- /package/www/build/{p-6a1b3e86.entry.js.map → p-b387e877.entry.js.map} +0 -0
- /package/www/build/{p-46d98609.entry.js.map → p-b6ea478b.entry.js.map} +0 -0
- /package/www/build/{p-b2356bc7.entry.js.map → p-b7af7424.entry.js.map} +0 -0
- /package/www/build/{p-f425c6f2.entry.js.map → p-c38833ea.entry.js.map} +0 -0
- /package/www/build/{p-cc71a90c.entry.js.map → p-c39ca8e7.entry.js.map} +0 -0
- /package/www/build/{p-e529a714.entry.js.map → p-c451b4d7.entry.js.map} +0 -0
- /package/www/build/{p-e25d7f0a.entry.js.map → p-ca7634bf.entry.js.map} +0 -0
- /package/www/build/{p-855334f4.entry.js.map → p-d847bfcd.entry.js.map} +0 -0
- /package/www/build/{p-ab7f129e.entry.js.map → p-d94c5857.entry.js.map} +0 -0
- /package/www/build/{p-aaae6b16.entry.js.map → p-e770ed95.entry.js.map} +0 -0
- /package/www/build/{p-7aba5af3.entry.js.map → p-eb93aa0b.entry.js.map} +0 -0
- /package/www/build/{p-ea9c0ff3.entry.js.map → p-ecae1a7a.entry.js.map} +0 -0
- /package/www/build/{p-5a178c69.entry.js.map → p-ee430669.entry.js.map} +0 -0
- /package/www/build/{p-a0fd1323.entry.js.map → p-ef8a7250.entry.js.map} +0 -0
- /package/www/build/{p-cd0219b4.entry.js.map → p-f26b2e47.entry.js.map} +0 -0
- /package/www/build/{p-df8c381a.entry.js.map → p-f410f295.entry.js.map} +0 -0
- /package/www/build/{p-f703660d.entry.js.map → p-febc4982.entry.js.map} +0 -0
- /package/www/build/{p-3f0be317.entry.js.map → p-ffccfe63.entry.js.map} +0 -0
|
@@ -45,7 +45,7 @@ const ZToastNotificationList = class {
|
|
|
45
45
|
}
|
|
46
46
|
}
|
|
47
47
|
render() {
|
|
48
|
-
return index.h("slot", { key: '
|
|
48
|
+
return index.h("slot", { key: '92d1e3eb3d27b178014dec77a61efcf6de185933', name: "toasts" });
|
|
49
49
|
}
|
|
50
50
|
get hostElement() { return index.getElement(this); }
|
|
51
51
|
static get watchers() { return {
|
|
@@ -2830,7 +2830,7 @@ const ZToastNotification = class {
|
|
|
2830
2830
|
} }, index.h("div", { id: "flex-container", ref: (el) => (this.container = el) }, this.renderText(), this.renderButton()), this.renderCloseIcon()));
|
|
2831
2831
|
}
|
|
2832
2832
|
render() {
|
|
2833
|
-
return (index.h(index.Host, { key: '
|
|
2833
|
+
return (index.h(index.Host, { key: '64e3bc3f5fea2d418f58e010fb4660fc2369dacb', style: {
|
|
2834
2834
|
"--percentuale": `${this.percentage}%`,
|
|
2835
2835
|
}, class: this.transition ? this.transition : index$1.ToastNotificationTransition.SLIDE_IN_DOWN, onAnimationEnd: (e) => {
|
|
2836
2836
|
if (this.autoclose && e.animationName.includes("slidein")) {
|
|
@@ -25,10 +25,10 @@ const ZToggleButton = class {
|
|
|
25
25
|
this.toggleClick.emit(this.opened);
|
|
26
26
|
}
|
|
27
27
|
render() {
|
|
28
|
-
return (index.h("button", { key: '
|
|
28
|
+
return (index.h("button", { key: 'ff8e644553c0ebb8e943a7be38308fcebcbb9f74', tabindex: this.avoidclick ? "-1" : "0", class: {
|
|
29
29
|
"isopen": this.opened,
|
|
30
30
|
"avoid-clicks": this.avoidclick,
|
|
31
|
-
}, disabled: this.isdisabled, "aria-expanded": this.opened ? "true" : "false", "aria-label": this.ariaLabel, onClick: () => this.emitToggleClick() }, index.h("z-icon", { key: '
|
|
31
|
+
}, disabled: this.isdisabled, "aria-expanded": this.opened ? "true" : "false", "aria-label": this.ariaLabel, onClick: () => this.emitToggleClick() }, index.h("z-icon", { key: '75be11bb4f5f880aa057a1f519956e683ce4601f', name: this.opened ? "chevron-down" : "chevron-up", width: 16, height: 16 }), this.label));
|
|
32
32
|
}
|
|
33
33
|
};
|
|
34
34
|
ZToggleButton.style = ZToggleButtonStyle0;
|
|
@@ -33,14 +33,14 @@ const ZToggleSwitch = class {
|
|
|
33
33
|
this.emitToggleClick();
|
|
34
34
|
}
|
|
35
35
|
render() {
|
|
36
|
-
return (index.h(index.Host, { key: '
|
|
36
|
+
return (index.h(index.Host, { key: '362b31e90ab912df5167446dfd415dfe8f16beaa' }, index.h("input", { key: '0fe79cb376f214a1ef2f7bfeb70e8538db0bf4be', id: this.htmlid, type: "checkbox", checked: this.checked, disabled: this.disabled, onChange: this.handleClick.bind(this) }), index.h("label", { key: 'e98eb52726eae27cdf4df9c46c96259f77b708ea', htmlFor: this.htmlid, class: {
|
|
37
37
|
[this.labelPosition]: true,
|
|
38
38
|
disabled: this.disabled,
|
|
39
|
-
} }, index.h("span", { key: '
|
|
39
|
+
} }, index.h("span", { key: 'a0b1627779aa98080777b817a3930d750904afc9' }, index.h("slot", { key: 'cd44ff95db14fc84f360f64aa08180972cb8d532' })), index.h("span", { key: '070a6d688fd1899554c4a6913ea3df1e5a395403', class: {
|
|
40
40
|
container: true,
|
|
41
41
|
disabled: this.disabled,
|
|
42
42
|
checked: this.checked,
|
|
43
|
-
} }, index.h("span", { key: '
|
|
43
|
+
} }, index.h("span", { key: '0ff0eced728bbc43d0a754374dc233c88abe4603', class: "circle" }, this.checked && (index.h("z-icon", { key: 'bce3b5b876c813e2f9b8c9715a973133ecd3863b', width: 12, height: 12, name: "checkmark" })))))));
|
|
44
44
|
}
|
|
45
45
|
};
|
|
46
46
|
ZToggleSwitch.style = ZToggleSwitchStyle0;
|
|
@@ -21,7 +21,7 @@ const ZTooltip = class {
|
|
|
21
21
|
this.open = this.popoverEl.open;
|
|
22
22
|
}
|
|
23
23
|
render() {
|
|
24
|
-
return (index.h("z-popover", { key: '
|
|
24
|
+
return (index.h("z-popover", { key: '055811eac8115dde60dadaf79951780df2ff64ae', ref: (el) => (this.popoverEl = el), bindTo: this.bindTo, open: this.open, position: this.position, closable: this.closable, center: true, showArrow: true }, index.h("slot", { key: 'bf96152d1131f62d93afbfe155ed0e80ad001385' })));
|
|
25
25
|
}
|
|
26
26
|
};
|
|
27
27
|
ZTooltip.style = ZTooltipStyle0;
|
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-30387c1f.js');
|
|
6
6
|
require('./index-96af6326.js');
|
|
7
7
|
require('./utils-257558ff.js');
|
|
8
8
|
require('./index-bab7a651.js');
|
|
9
9
|
require('./breakpoints-8a1e87e0.js');
|
|
10
|
-
require('./index-
|
|
11
|
-
require('./index-
|
|
10
|
+
require('./index-b504fdc8.js');
|
|
11
|
+
require('./index-0335126f.js');
|
|
12
12
|
|
|
13
13
|
|
|
14
14
|
|
|
@@ -12,7 +12,7 @@ const ZVisuallyHidden = class {
|
|
|
12
12
|
index.registerInstance(this, hostRef);
|
|
13
13
|
}
|
|
14
14
|
render() {
|
|
15
|
-
return index.h("slot", { key: '
|
|
15
|
+
return index.h("slot", { key: '3f4358dfc989f8813ff2aa14180b8ec23ce55494' });
|
|
16
16
|
}
|
|
17
17
|
};
|
|
18
18
|
ZVisuallyHidden.style = ZVisuallyHiddenStyle0;
|
|
@@ -29,7 +29,7 @@ export class ZTd {
|
|
|
29
29
|
this.updateColspan();
|
|
30
30
|
}
|
|
31
31
|
render() {
|
|
32
|
-
return (h(Host, { key: '36a62d2c751b3b889c7f69280418e95ff02192d5', role: "cell", "menu-open": this.isMenuOpen }, h("slot", { key: '
|
|
32
|
+
return (h(Host, { key: '36a62d2c751b3b889c7f69280418e95ff02192d5', role: "cell", "menu-open": this.isMenuOpen }, h("div", { key: 'd9cdf988ecedb17c06b7081919a77122b5d28660', class: "cell--content" }, h("slot", { key: 'f5627d2fea6d851092356ba32932f7ccc1031398' }), this.showMenu && (h("div", { key: 'f58a7b0a33b62aeca07a2fa21958a714345b6dac', class: "cell--menu-container prevent-expand" }, h("z-button", { key: '6b96fb5d5f7108f29a010f93e68f4e9e1b249ab1', variant: ButtonVariant.TERTIARY, icon: "contextual-menu", size: ControlSize.X_SMALL, ref: (el) => (this.menuTrigger = el), onClick: this.onMenuButtonClick.bind(this) }), h("z-popover", { key: 'a73b3a6c8b3aff6c689f14c2b90bc4a2626cff3b', class: "cell-popover", ref: (el) => (this.popoverEl = el), bindTo: this.menuTrigger, onOpenChange: (event) => (this.isMenuOpen = event.detail.open), position: this.popoverPosition }, h("slot", { key: '9444ad52d7660466cb784e565306fd72922d5426', name: "contextual-menu" })))))));
|
|
33
33
|
}
|
|
34
34
|
static get is() { return "z-td"; }
|
|
35
35
|
static get encapsulation() { return "shadow"; }
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/components/table/cells/z-td/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAE,OAAO,EAAE,KAAK,EAAgB,IAAI,EAAE,IAAI,EAAE,KAAK,EAAE,KAAK,EAAE,CAAC,EAAC,MAAM,eAAe,CAAC;AACnG,OAAO,EAAC,aAAa,EAAE,WAAW,EAAE,eAAe,EAAE,mBAAmB,EAAC,MAAM,mBAAmB,CAAC;AAEnG;;;GAGG;AAMH,MAAM,OAAO,GAAG;;;sBAaL,KAAK;wBAQkB,IAAI;+BAMA,eAAe,CAAC,IAAI;0BAM3C,KAAK;;IAgBR,aAAa;QACrB,IAAI,IAAI,CAAC,OAAO,EAAE,CAAC;YACjB,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,UAAU,GAAG,QAAQ,IAAI,CAAC,OAAO,EAAE,CAAC;QACtD,CAAC;aAAM,CAAC;YACN,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,cAAc,CAAC,aAAa,CAAC,CAAC;QAChD,CAAC;QAED,IAAI,CAAC,aAAa,CAAC,IAAI,CAAC,IAAI,CAAC,OAAO,IAAI,CAAC,CAAC,CAAC;IAC7C,CAAC;IAEO,iBAAiB,CAAC,EAAc;QACtC,EAAE,CAAC,eAAe,EAAE,CAAC;QACrB,IAAI,CAAC,SAAS,CAAC,IAAI,GAAG,CAAC,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC;IAC7C,CAAC;IAED,iBAAiB;QACf,IAAI,CAAC,aAAa,EAAE,CAAC;IACvB,CAAC;IAED,MAAM;QACJ,OAAO,CACL,EAAC,IAAI,qDACH,IAAI,EAAC,MAAM,eACA,IAAI,CAAC,UAAU;YAE1B,8DAAa;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/components/table/cells/z-td/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAE,OAAO,EAAE,KAAK,EAAgB,IAAI,EAAE,IAAI,EAAE,KAAK,EAAE,KAAK,EAAE,CAAC,EAAC,MAAM,eAAe,CAAC;AACnG,OAAO,EAAC,aAAa,EAAE,WAAW,EAAE,eAAe,EAAE,mBAAmB,EAAC,MAAM,mBAAmB,CAAC;AAEnG;;;GAGG;AAMH,MAAM,OAAO,GAAG;;;sBAaL,KAAK;wBAQkB,IAAI;+BAMA,eAAe,CAAC,IAAI;0BAM3C,KAAK;;IAgBR,aAAa;QACrB,IAAI,IAAI,CAAC,OAAO,EAAE,CAAC;YACjB,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,UAAU,GAAG,QAAQ,IAAI,CAAC,OAAO,EAAE,CAAC;QACtD,CAAC;aAAM,CAAC;YACN,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,cAAc,CAAC,aAAa,CAAC,CAAC;QAChD,CAAC;QAED,IAAI,CAAC,aAAa,CAAC,IAAI,CAAC,IAAI,CAAC,OAAO,IAAI,CAAC,CAAC,CAAC;IAC7C,CAAC;IAEO,iBAAiB,CAAC,EAAc;QACtC,EAAE,CAAC,eAAe,EAAE,CAAC;QACrB,IAAI,CAAC,SAAS,CAAC,IAAI,GAAG,CAAC,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC;IAC7C,CAAC;IAED,iBAAiB;QACf,IAAI,CAAC,aAAa,EAAE,CAAC;IACvB,CAAC;IAED,MAAM;QACJ,OAAO,CACL,EAAC,IAAI,qDACH,IAAI,EAAC,MAAM,eACA,IAAI,CAAC,UAAU;YAE1B,4DAAK,KAAK,EAAC,eAAe;gBACxB,8DAAa;gBACZ,IAAI,CAAC,QAAQ,IAAI,CAChB,4DAAK,KAAK,EAAC,qCAAqC;oBAC9C,iEACE,OAAO,EAAE,aAAa,CAAC,QAAQ,EAC/B,IAAI,EAAC,iBAAiB,EACtB,IAAI,EAAE,WAAW,CAAC,OAAO,EACzB,GAAG,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC,IAAI,CAAC,WAAW,GAAG,EAAwB,CAAC,EAC1D,OAAO,EAAE,IAAI,CAAC,iBAAiB,CAAC,IAAI,CAAC,IAAI,CAAC,GAC1C;oBACF,kEACE,KAAK,EAAC,cAAc,EACpB,GAAG,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC,IAAI,CAAC,SAAS,GAAG,EAAyB,CAAC,EACzD,MAAM,EAAE,IAAI,CAAC,WAA0B,EACvC,YAAY,EAAE,CAAC,KAAK,EAAE,EAAE,CAAC,CAAC,IAAI,CAAC,UAAU,GAAG,KAAK,CAAC,MAAM,CAAC,IAAI,CAAC,EAC9D,QAAQ,EAAE,IAAI,CAAC,eAAe;wBAE9B,6DAAM,IAAI,EAAC,iBAAiB,GAAQ,CAC1B,CACR,CACP,CACG,CACD,CACR,CAAC;IACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import {Component, Element, Event, EventEmitter, Host, Prop, State, Watch, h} from \"@stencil/core\";\nimport {ButtonVariant, ControlSize, PopoverPosition, VisibilityCondition} from \"../../../../beans\";\n\n/**\n * ZTd component.\n * @slot - ZTd content.\n */\n@Component({\n tag: \"z-td\",\n styleUrl: \"styles.css\",\n shadow: true,\n})\nexport class ZTd {\n @Element() host: HTMLZTdElement;\n\n /**\n * Number of columns that the cell should span.\n */\n @Prop()\n colspan: number;\n\n /**\n * Whether the cell should stick.\n */\n @Prop({reflect: true})\n sticky = false;\n\n /**\n * Enables the contextual menu.\n * Can be set to \"hover\" or \"always\" to show the button only on cell hover or always.\n * Set a nullish value to hide the menu button.\n */\n @Prop({reflect: true})\n showMenu: VisibilityCondition = null;\n\n /**\n * Set the popover position, the default is \"auto\".\n */\n @Prop()\n popoverPosition?: PopoverPosition = PopoverPosition.AUTO;\n\n /**\n * Store the open state of the menu.\n */\n @State()\n isMenuOpen = false;\n\n private menuTrigger: HTMLZButtonElement;\n\n private popoverEl: HTMLZPopoverElement;\n\n /**\n * Emitted when the value of the `colspan` changes.\n */\n @Event({\n bubbles: true,\n cancelable: false,\n })\n colspanChange: EventEmitter<number>;\n\n @Watch(\"colspan\")\n protected updateColspan(): void {\n if (this.colspan) {\n this.host.style.gridColumn = `span ${this.colspan}`;\n } else {\n this.host.style.removeProperty(\"grid-column\");\n }\n\n this.colspanChange.emit(this.colspan || 1);\n }\n\n private onMenuButtonClick(ev: MouseEvent): void {\n ev.stopPropagation();\n this.popoverEl.open = !this.popoverEl.open;\n }\n\n componentWillLoad(): void {\n this.updateColspan();\n }\n\n render(): HTMLZTdElement {\n return (\n <Host\n role=\"cell\"\n menu-open={this.isMenuOpen}\n >\n <div class=\"cell--content\">\n <slot></slot>\n {this.showMenu && (\n <div class=\"cell--menu-container prevent-expand\">\n <z-button\n variant={ButtonVariant.TERTIARY}\n icon=\"contextual-menu\"\n size={ControlSize.X_SMALL}\n ref={(el) => (this.menuTrigger = el as HTMLZButtonElement)}\n onClick={this.onMenuButtonClick.bind(this)}\n />\n <z-popover\n class=\"cell-popover\"\n ref={(el) => (this.popoverEl = el as HTMLZPopoverElement)}\n bindTo={this.menuTrigger as HTMLElement}\n onOpenChange={(event) => (this.isMenuOpen = event.detail.open)}\n position={this.popoverPosition}\n >\n <slot name=\"contextual-menu\"></slot>\n </z-popover>\n </div>\n )}\n </div>\n </Host>\n );\n }\n}\n"]}
|
|
@@ -1,14 +1,18 @@
|
|
|
1
1
|
:host {
|
|
2
2
|
position: relative;
|
|
3
3
|
display: flex;
|
|
4
|
-
|
|
5
|
-
box-sizing: border-box;
|
|
4
|
+
max-width: 100%;
|
|
6
5
|
align-items: center;
|
|
7
6
|
padding: var(--z-table--cells-padding, calc(var(--space-unit) * 2));
|
|
8
7
|
background-color: var(--color-surface01);
|
|
9
8
|
gap: calc(var(--space-unit) * 2) var(--space-unit);
|
|
10
9
|
}
|
|
11
10
|
|
|
11
|
+
:host,
|
|
12
|
+
* {
|
|
13
|
+
box-sizing: border-box;
|
|
14
|
+
}
|
|
15
|
+
|
|
12
16
|
:host([sticky]) {
|
|
13
17
|
position: sticky;
|
|
14
18
|
z-index: 1;
|
|
@@ -17,21 +21,23 @@
|
|
|
17
21
|
box-shadow: 8px 0 16px -8px var(--shadow-color-base);
|
|
18
22
|
}
|
|
19
23
|
|
|
20
|
-
|
|
21
|
-
:
|
|
22
|
-
|
|
24
|
+
:host([menu-open]) {
|
|
25
|
+
z-index: 2;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.cell--content {
|
|
29
|
+
display: flex;
|
|
30
|
+
width: 100%;
|
|
23
31
|
height: 100%;
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
32
|
+
align-items: center;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
:host([show-menu]) .cell--content {
|
|
36
|
+
column-gap: var(--space-unit);
|
|
28
37
|
}
|
|
29
38
|
|
|
30
39
|
.cell--menu-container {
|
|
31
|
-
|
|
32
|
-
z-index: 1;
|
|
33
|
-
top: var(--space-unit);
|
|
34
|
-
right: var(--space-unit);
|
|
40
|
+
margin-left: auto;
|
|
35
41
|
}
|
|
36
42
|
|
|
37
43
|
:host(:not([show-menu])) .cell--menu-container {
|
|
@@ -41,6 +47,7 @@
|
|
|
41
47
|
|
|
42
48
|
:host(:is([show-menu], [menu-open])) .cell--menu-container,
|
|
43
49
|
:host([show-menu]) .cell--menu-container:focus-within {
|
|
50
|
+
z-index: 1;
|
|
44
51
|
opacity: 1;
|
|
45
52
|
pointer-events: all;
|
|
46
53
|
}
|
|
@@ -56,6 +63,7 @@
|
|
|
56
63
|
}
|
|
57
64
|
|
|
58
65
|
:host([show-menu="hover"]:hover) .cell--menu-container {
|
|
66
|
+
z-index: 1;
|
|
59
67
|
opacity: 1;
|
|
60
68
|
pointer-events: all;
|
|
61
69
|
}
|
|
@@ -9,8 +9,10 @@ export class ZTh {
|
|
|
9
9
|
constructor() {
|
|
10
10
|
this.colspan = undefined;
|
|
11
11
|
this.showMenu = null;
|
|
12
|
+
this.showSorting = null;
|
|
12
13
|
this.sticky = false;
|
|
13
14
|
this.sortDirection = undefined;
|
|
15
|
+
this.sorted = false;
|
|
14
16
|
this.popoverPosition = PopoverPosition.AUTO;
|
|
15
17
|
this.isMenuOpen = false;
|
|
16
18
|
}
|
|
@@ -29,12 +31,12 @@ export class ZTh {
|
|
|
29
31
|
*/
|
|
30
32
|
handleSort() {
|
|
31
33
|
if (!this.sortDirection) {
|
|
34
|
+
this.sorted = false;
|
|
32
35
|
return;
|
|
33
36
|
}
|
|
34
37
|
this.sortDirection = this.sortDirection === SortDirection.ASC ? SortDirection.DESC : SortDirection.ASC;
|
|
35
|
-
this.
|
|
36
|
-
|
|
37
|
-
});
|
|
38
|
+
this.sorted = true;
|
|
39
|
+
this.sort.emit({ sortDirection: this.sortDirection });
|
|
38
40
|
}
|
|
39
41
|
updateColspan() {
|
|
40
42
|
if (this.colspan) {
|
|
@@ -48,7 +50,7 @@ export class ZTh {
|
|
|
48
50
|
this.updateColspan();
|
|
49
51
|
}
|
|
50
52
|
render() {
|
|
51
|
-
return (h(Host, { key: '
|
|
53
|
+
return (h(Host, { key: 'e0dd2a24787597fa832ba06e3eec6c18a8204f2f', role: "columnheader", "menu-open": this.isMenuOpen, "aria-sort": this.ariaSortDirection, sortable: this.showSorting }, h("div", { key: '4274667d48308bfdaf727f1707ef7d44eb71a356', class: "cell--content" }, h("slot", { key: '52166cb6e7a60e5fb248e22990c8942944ca05fe' }), this.showSorting && (h("button", { key: '1b8c8cbb9539eb83b3381535fdb857bdd9451fe3', class: "z-th--sort-button", type: "button", onClick: this.handleSort.bind(this) }, h("z-icon", { key: '414ddf43bf9fec1df07cfe4146a4c9bdbc8dacbf', name: this.sortDirection === SortDirection.DESC ? "arrow-simple-up" : "arrow-simple-down", width: 14, height: 14 }))), this.showMenu && (h("div", { key: '7633c04c015392315720bc7566fc59b7cfb2cc1d', class: "cell--menu-container" }, h("z-button", { key: '0786009425989ad4eb5878f665d095c318a335d8', 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: '59ebb822c77766acc18cdb9c4e292aba20407e63', ref: (el) => (this.popoverEl = el), bindTo: this.menuTrigger, onOpenChange: (event) => (this.isMenuOpen = event.detail.open), position: this.popoverPosition }, h("slot", { key: '801d41cbe534e989407421b60df2a7a7c46e4d22', name: "contextual-menu" })))))));
|
|
52
54
|
}
|
|
53
55
|
static get is() { return "z-th"; }
|
|
54
56
|
static get encapsulation() { return "shadow"; }
|
|
@@ -105,6 +107,30 @@ export class ZTh {
|
|
|
105
107
|
"reflect": true,
|
|
106
108
|
"defaultValue": "null"
|
|
107
109
|
},
|
|
110
|
+
"showSorting": {
|
|
111
|
+
"type": "string",
|
|
112
|
+
"mutable": false,
|
|
113
|
+
"complexType": {
|
|
114
|
+
"original": "VisibilityCondition",
|
|
115
|
+
"resolved": "VisibilityCondition.ALWAYS | VisibilityCondition.HOVER",
|
|
116
|
+
"references": {
|
|
117
|
+
"VisibilityCondition": {
|
|
118
|
+
"location": "import",
|
|
119
|
+
"path": "../../../../beans",
|
|
120
|
+
"id": "src/beans/index.tsx::VisibilityCondition"
|
|
121
|
+
}
|
|
122
|
+
}
|
|
123
|
+
},
|
|
124
|
+
"required": false,
|
|
125
|
+
"optional": false,
|
|
126
|
+
"docs": {
|
|
127
|
+
"tags": [],
|
|
128
|
+
"text": "Enables the sorting button.\nCan be set to \"hover\" or \"always\" to show the button only on cell hover or always.\nSet a nullish value to hide the sort button."
|
|
129
|
+
},
|
|
130
|
+
"attribute": "show-sorting",
|
|
131
|
+
"reflect": true,
|
|
132
|
+
"defaultValue": "null"
|
|
133
|
+
},
|
|
108
134
|
"sticky": {
|
|
109
135
|
"type": "boolean",
|
|
110
136
|
"mutable": false,
|
|
@@ -141,11 +167,29 @@ export class ZTh {
|
|
|
141
167
|
"optional": true,
|
|
142
168
|
"docs": {
|
|
143
169
|
"tags": [],
|
|
144
|
-
"text": "Current sorting direction
|
|
170
|
+
"text": "Current sorting direction."
|
|
145
171
|
},
|
|
146
172
|
"attribute": "sort-direction",
|
|
147
173
|
"reflect": false
|
|
148
174
|
},
|
|
175
|
+
"sorted": {
|
|
176
|
+
"type": "boolean",
|
|
177
|
+
"mutable": true,
|
|
178
|
+
"complexType": {
|
|
179
|
+
"original": "boolean | null",
|
|
180
|
+
"resolved": "boolean",
|
|
181
|
+
"references": {}
|
|
182
|
+
},
|
|
183
|
+
"required": false,
|
|
184
|
+
"optional": false,
|
|
185
|
+
"docs": {
|
|
186
|
+
"tags": [],
|
|
187
|
+
"text": "Sorted state of the column."
|
|
188
|
+
},
|
|
189
|
+
"attribute": "sorted",
|
|
190
|
+
"reflect": true,
|
|
191
|
+
"defaultValue": "false"
|
|
192
|
+
},
|
|
149
193
|
"popoverPosition": {
|
|
150
194
|
"type": "string",
|
|
151
195
|
"mutable": false,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/components/table/cells/z-th/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAE,OAAO,EAAE,KAAK,EAAgB,IAAI,EAAE,IAAI,EAAE,KAAK,EAAE,KAAK,EAAE,CAAC,EAAC,MAAM,eAAe,CAAC;AACnG,OAAO,EAAC,aAAa,EAAE,WAAW,EAAE,eAAe,EAAE,aAAa,EAAE,mBAAmB,EAAC,MAAM,mBAAmB,CAAC;AAElH;;;;GAIG;AAMH,MAAM,OAAO,GAAG;;;wBAekB,IAAI;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/components/table/cells/z-th/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAE,OAAO,EAAE,KAAK,EAAgB,IAAI,EAAE,IAAI,EAAE,KAAK,EAAE,KAAK,EAAE,CAAC,EAAC,MAAM,eAAe,CAAC;AACnG,OAAO,EAAC,aAAa,EAAE,WAAW,EAAE,eAAe,EAAE,aAAa,EAAE,mBAAmB,EAAC,MAAM,mBAAmB,CAAC;AAElH;;;;GAIG;AAMH,MAAM,OAAO,GAAG;;;wBAekB,IAAI;2BAQD,IAAI;sBAM9B,KAAK;;sBAYW,KAAK;+BAMZ,eAAe,CAAC,IAAI;0BAMzB,KAAK;;IAclB;;OAEG;IACH,IAAY,iBAAiB;QAC3B,IAAI,CAAC,IAAI,CAAC,aAAa,EAAE,CAAC;YACxB,OAAO,IAAI,CAAC;QACd,CAAC;QAED,OAAO,IAAI,CAAC,aAAa,KAAK,aAAa,CAAC,GAAG,CAAC,CAAC,CAAC,WAAW,CAAC,CAAC,CAAC,YAAY,CAAC;IAC/E,CAAC;IAED;;;OAGG;IACK,UAAU;QAChB,IAAI,CAAC,IAAI,CAAC,aAAa,EAAE,CAAC;YACxB,IAAI,CAAC,MAAM,GAAG,KAAK,CAAC;YAEpB,OAAO;QACT,CAAC;QAED,IAAI,CAAC,aAAa,GAAG,IAAI,CAAC,aAAa,KAAK,aAAa,CAAC,GAAG,CAAC,CAAC,CAAC,aAAa,CAAC,IAAI,CAAC,CAAC,CAAC,aAAa,CAAC,GAAG,CAAC;QACvG,IAAI,CAAC,MAAM,GAAG,IAAI,CAAC;QAEnB,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,EAAC,aAAa,EAAE,IAAI,CAAC,aAAa,EAAC,CAAC,CAAC;IACtD,CAAC;IAGS,aAAa;QACrB,IAAI,IAAI,CAAC,OAAO,EAAE,CAAC;YACjB,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,UAAU,GAAG,QAAQ,IAAI,CAAC,OAAO,EAAE,CAAC;QACtD,CAAC;aAAM,CAAC;YACN,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,cAAc,CAAC,aAAa,CAAC,CAAC;QAChD,CAAC;IACH,CAAC;IAED,iBAAiB;QACf,IAAI,CAAC,aAAa,EAAE,CAAC;IACvB,CAAC;IAED,MAAM;QACJ,OAAO,CACL,EAAC,IAAI,qDACH,IAAI,EAAC,cAAc,eACR,IAAI,CAAC,UAAU,eACf,IAAI,CAAC,iBAAiB,EACjC,QAAQ,EAAE,IAAI,CAAC,WAAW;YAE1B,4DAAK,KAAK,EAAC,eAAe;gBACxB,8DAAa;gBACZ,IAAI,CAAC,WAAW,IAAI,CACnB,+DACE,KAAK,EAAC,mBAAmB,EACzB,IAAI,EAAC,QAAQ,EACb,OAAO,EAAE,IAAI,CAAC,UAAU,CAAC,IAAI,CAAC,IAAI,CAAC;oBAEnC,+DACE,IAAI,EAAE,IAAI,CAAC,aAAa,KAAK,aAAa,CAAC,IAAI,CAAC,CAAC,CAAC,iBAAiB,CAAC,CAAC,CAAC,mBAAmB,EACzF,KAAK,EAAE,EAAE,EACT,MAAM,EAAE,EAAE,GACV,CACK,CACV;gBACA,IAAI,CAAC,QAAQ,IAAI,CAChB,4DAAK,KAAK,EAAC,sBAAsB;oBAC/B,iEACE,OAAO,EAAE,aAAa,CAAC,QAAQ,EAC/B,IAAI,EAAC,iBAAiB,EACtB,IAAI,EAAE,WAAW,CAAC,OAAO,EACzB,GAAG,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC,IAAI,CAAC,WAAW,GAAG,EAAiB,CAAC,EACnD,OAAO,EAAE,GAAG,EAAE,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,IAAI,GAAG,CAAC,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,GAC3D;oBACF,kEACE,GAAG,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC,IAAI,CAAC,SAAS,GAAG,EAAyB,CAAC,EACzD,MAAM,EAAE,IAAI,CAAC,WAAW,EACxB,YAAY,EAAE,CAAC,KAAK,EAAE,EAAE,CAAC,CAAC,IAAI,CAAC,UAAU,GAAG,KAAK,CAAC,MAAM,CAAC,IAAI,CAAC,EAC9D,QAAQ,EAAE,IAAI,CAAC,eAAe;wBAE9B,6DAAM,IAAI,EAAC,iBAAiB,GAAQ,CAC1B,CACR,CACP,CACG,CACD,CACR,CAAC;IACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import {Component, Element, Event, EventEmitter, Host, Prop, State, Watch, h} from \"@stencil/core\";\nimport {ButtonVariant, ControlSize, PopoverPosition, SortDirection, VisibilityCondition} from \"../../../../beans\";\n\n/**\n * ZTh component.\n * @slot - ZTh content.\n * @slot contextual-menu - Contextual menu content. Only visible when `showMenu` is true.\n */\n@Component({\n tag: \"z-th\",\n styleUrl: \"styles.css\",\n shadow: true,\n})\nexport class ZTh {\n @Element() host: HTMLZThElement;\n\n /**\n * Number of columns that the cell should span.\n */\n @Prop()\n colspan: number;\n\n /**\n * Enables the contextual menu.\n * Can be set to \"hover\" or \"always\" to show the button only on cell hover or always.\n * Set a nullish value to hide the menu button.\n */\n @Prop({reflect: true})\n showMenu: VisibilityCondition = null;\n\n /**\n * Enables the sorting button.\n * Can be set to \"hover\" or \"always\" to show the button only on cell hover or always.\n * Set a nullish value to hide the sort button.\n */\n @Prop({reflect: true})\n showSorting: VisibilityCondition = null;\n\n /**\n * Whether the cell should stick.\n */\n @Prop({reflect: true})\n sticky = false;\n\n /**\n * Current sorting direction.\n */\n @Prop({mutable: true})\n sortDirection?: SortDirection;\n\n /**\n * Sorted state of the column.\n */\n @Prop({reflect: true, mutable: true})\n sorted: boolean | null = false;\n\n /**\n * Set popover position.\n */\n @Prop()\n popoverPosition = PopoverPosition.AUTO;\n\n /**\n * Store the open state of the menu.\n */\n @State()\n isMenuOpen = false;\n\n /**\n * Sort event fired when the user clicks on the sort button.\n * The sorting logic must be implemented by the app.\n * You can set an `id` on the `z-th` to easly identify the column in the event listener.\n */\n @Event()\n private sort: EventEmitter;\n\n private menuTrigger: HTMLElement;\n\n private popoverEl: HTMLZPopoverElement;\n\n /**\n * Get the value to set to the `aria-sort` attribute based on the current sort direction.\n */\n private get ariaSortDirection(): string {\n if (!this.sortDirection) {\n return null;\n }\n\n return this.sortDirection === SortDirection.ASC ? \"ascending\" : \"descending\";\n }\n\n /**\n * Handle the click on the sort button.\n * @fires sort\n */\n private handleSort(): void {\n if (!this.sortDirection) {\n this.sorted = false;\n\n return;\n }\n\n this.sortDirection = this.sortDirection === SortDirection.ASC ? SortDirection.DESC : SortDirection.ASC;\n this.sorted = true;\n\n this.sort.emit({sortDirection: this.sortDirection});\n }\n\n @Watch(\"colspan\")\n protected updateColspan(): void {\n if (this.colspan) {\n this.host.style.gridColumn = `span ${this.colspan}`;\n } else {\n this.host.style.removeProperty(\"grid-column\");\n }\n }\n\n componentWillLoad(): void {\n this.updateColspan();\n }\n\n render(): HTMLZThElement {\n return (\n <Host\n role=\"columnheader\"\n menu-open={this.isMenuOpen}\n aria-sort={this.ariaSortDirection}\n sortable={this.showSorting}\n >\n <div class=\"cell--content\">\n <slot></slot>\n {this.showSorting && (\n <button\n class=\"z-th--sort-button\"\n type=\"button\"\n onClick={this.handleSort.bind(this)}\n >\n <z-icon\n name={this.sortDirection === SortDirection.DESC ? \"arrow-simple-up\" : \"arrow-simple-down\"}\n width={14}\n height={14}\n />\n </button>\n )}\n {this.showMenu && (\n <div class=\"cell--menu-container\">\n <z-button\n variant={ButtonVariant.TERTIARY}\n icon=\"contextual-menu\"\n size={ControlSize.X_SMALL}\n ref={(el) => (this.menuTrigger = el as HTMLElement)}\n onClick={() => (this.popoverEl.open = !this.popoverEl.open)}\n />\n <z-popover\n ref={(el) => (this.popoverEl = el as HTMLZPopoverElement)}\n bindTo={this.menuTrigger}\n onOpenChange={(event) => (this.isMenuOpen = event.detail.open)}\n position={this.popoverPosition}\n >\n <slot name=\"contextual-menu\"></slot>\n </z-popover>\n </div>\n )}\n </div>\n </Host>\n );\n }\n}\n"]}
|
|
@@ -1,14 +1,18 @@
|
|
|
1
1
|
:host {
|
|
2
2
|
position: relative;
|
|
3
3
|
display: flex;
|
|
4
|
-
|
|
5
|
-
box-sizing: border-box;
|
|
4
|
+
max-width: 100%;
|
|
6
5
|
align-items: center;
|
|
7
6
|
padding: var(--z-table--cells-padding, calc(var(--space-unit) * 2));
|
|
8
7
|
background-color: var(--color-surface01);
|
|
9
8
|
gap: calc(var(--space-unit) * 2) var(--space-unit);
|
|
10
9
|
}
|
|
11
10
|
|
|
11
|
+
:host,
|
|
12
|
+
* {
|
|
13
|
+
box-sizing: border-box;
|
|
14
|
+
}
|
|
15
|
+
|
|
12
16
|
:host([sticky]) {
|
|
13
17
|
position: sticky;
|
|
14
18
|
z-index: 1;
|
|
@@ -17,21 +21,23 @@
|
|
|
17
21
|
box-shadow: 8px 0 16px -8px var(--shadow-color-base);
|
|
18
22
|
}
|
|
19
23
|
|
|
20
|
-
|
|
21
|
-
:
|
|
22
|
-
|
|
24
|
+
:host([menu-open]) {
|
|
25
|
+
z-index: 2;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.cell--content {
|
|
29
|
+
display: flex;
|
|
30
|
+
width: 100%;
|
|
23
31
|
height: 100%;
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
32
|
+
align-items: center;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
:host([show-menu]) .cell--content {
|
|
36
|
+
column-gap: var(--space-unit);
|
|
28
37
|
}
|
|
29
38
|
|
|
30
39
|
.cell--menu-container {
|
|
31
|
-
|
|
32
|
-
z-index: 1;
|
|
33
|
-
top: var(--space-unit);
|
|
34
|
-
right: var(--space-unit);
|
|
40
|
+
margin-left: auto;
|
|
35
41
|
}
|
|
36
42
|
|
|
37
43
|
:host(:not([show-menu])) .cell--menu-container {
|
|
@@ -41,6 +47,7 @@
|
|
|
41
47
|
|
|
42
48
|
:host(:is([show-menu], [menu-open])) .cell--menu-container,
|
|
43
49
|
:host([show-menu]) .cell--menu-container:focus-within {
|
|
50
|
+
z-index: 1;
|
|
44
51
|
opacity: 1;
|
|
45
52
|
pointer-events: all;
|
|
46
53
|
}
|
|
@@ -56,6 +63,7 @@
|
|
|
56
63
|
}
|
|
57
64
|
|
|
58
65
|
:host([show-menu="hover"]:hover) .cell--menu-container {
|
|
66
|
+
z-index: 1;
|
|
59
67
|
opacity: 1;
|
|
60
68
|
pointer-events: all;
|
|
61
69
|
}
|
|
@@ -63,30 +71,57 @@
|
|
|
63
71
|
|
|
64
72
|
|
|
65
73
|
:host {
|
|
74
|
+
z-index: 1;
|
|
75
|
+
padding: 0;
|
|
66
76
|
background-color: var(--color-surface02);
|
|
67
77
|
font-weight: var(--font-sb);
|
|
68
78
|
}
|
|
69
79
|
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
}
|
|
80
|
+
.cell--content {
|
|
81
|
+
padding: calc(var(--space-unit) * 2);
|
|
82
|
+
}
|
|
73
83
|
|
|
74
|
-
:host([
|
|
75
|
-
|
|
84
|
+
:host([show-sorting]) .cell--content {
|
|
85
|
+
column-gap: var(--space-unit);
|
|
76
86
|
}
|
|
77
87
|
|
|
78
88
|
.z-th--sort-button {
|
|
79
|
-
display: flex;
|
|
80
|
-
align-items: center;
|
|
81
|
-
justify-content: center;
|
|
82
89
|
padding: 0;
|
|
83
90
|
border: none;
|
|
84
|
-
margin-top: auto;
|
|
85
91
|
background-color: transparent;
|
|
86
92
|
cursor: pointer;
|
|
93
|
+
outline: none;
|
|
87
94
|
}
|
|
88
95
|
|
|
89
|
-
|
|
96
|
+
@media (min-width: 768px) and (hover: hover) {
|
|
97
|
+
:host([show-sorting="hover"]) .z-th--sort-button {
|
|
98
|
+
opacity: 0;
|
|
99
|
+
pointer-events: none;
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
:host([show-sorting="hover"]:hover) .z-th--sort-button,
|
|
103
|
+
:host([show-sorting="hover"]) .z-th--sort-button:focus:focus-visible,
|
|
104
|
+
:host([show-sorting="always"]) .z-th--sort-button,
|
|
105
|
+
:host([sorted]) .z-th--sort-button {
|
|
106
|
+
opacity: 1;
|
|
107
|
+
pointer-events: all;
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
:host([show-sorting="hover"]:hover) .z-th--sort-button::after,
|
|
112
|
+
:host([show-sorting="hover"]) .z-th--sort-button:focus:focus-visible::after,
|
|
113
|
+
:host([show-sorting="always"]) .z-th--sort-button::after,
|
|
114
|
+
:host([sorted]) .z-th--sort-button::after {
|
|
115
|
+
position: absolute;
|
|
116
|
+
top: 6px;
|
|
117
|
+
left: 6px;
|
|
118
|
+
width: calc(100% - 12px);
|
|
119
|
+
height: calc(100% - 10px);
|
|
120
|
+
background-color: transparent;
|
|
121
|
+
content: "";
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
:host([sorted]) .z-th--sort-button::after,
|
|
125
|
+
.z-th--sort-button:focus:focus-visible::after {
|
|
90
126
|
box-shadow: var(--shadow-focus-primary);
|
|
91
|
-
outline: none;
|
|
92
127
|
}
|
|
@@ -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: '6fa1464a9d96267c0a1a45078a7b19e15930b2be', expandable: this.expandable }, h("div", { key: '9436f4627cab2b6c474bbfc803b64514cd152fb3', class: "table", role: "table" }, h("slot", { key: 'b9cf927ccd915cf55f4bb2e5a8943ceff347f9f7' }))));
|
|
40
40
|
}
|
|
41
41
|
static get is() { return "z-table"; }
|
|
42
42
|
static get encapsulation() { return "shadow"; }
|
|
@@ -236,6 +236,17 @@ export const CellsWithContextualMenu = {
|
|
|
236
236
|
* Clicking the button will fire the `sort` event with the `sortDirection` as detail.
|
|
237
237
|
*/
|
|
238
238
|
export const SortAction = {
|
|
239
|
+
argTypes: {
|
|
240
|
+
showSorting: {
|
|
241
|
+
options: Object.values(VisibilityCondition),
|
|
242
|
+
control: {
|
|
243
|
+
type: "inline-radio",
|
|
244
|
+
},
|
|
245
|
+
},
|
|
246
|
+
},
|
|
247
|
+
args: {
|
|
248
|
+
showSorting: VisibilityCondition.HOVER,
|
|
249
|
+
},
|
|
239
250
|
render: (args) => html `<z-table
|
|
240
251
|
class="z-table-demo"
|
|
241
252
|
.bordered=${args.bordered}
|
|
@@ -245,15 +256,20 @@ export const SortAction = {
|
|
|
245
256
|
>
|
|
246
257
|
<z-thead>
|
|
247
258
|
<z-tr>
|
|
248
|
-
<z-th>Colonna 1</z-th>
|
|
249
259
|
<z-th
|
|
250
260
|
.sortDirection=${SortDirection.ASC}
|
|
251
261
|
.showMenu=${VisibilityCondition.HOVER}
|
|
262
|
+
.showSorting=${args.showSorting}
|
|
252
263
|
>
|
|
253
|
-
Colonna
|
|
264
|
+
Colonna 1 con menu e sorting
|
|
254
265
|
<div slot="contextual-menu">Contenuto del popover</div>
|
|
255
266
|
</z-th>
|
|
256
|
-
<z-th
|
|
267
|
+
<z-th>Colonna 2</z-th>
|
|
268
|
+
<z-th
|
|
269
|
+
.sortDirection=${SortDirection.DESC}
|
|
270
|
+
.showSorting=${args.showSorting}
|
|
271
|
+
>Colonna 3 con sorting</z-th
|
|
272
|
+
>
|
|
257
273
|
</z-tr>
|
|
258
274
|
</z-thead>
|
|
259
275
|
<z-tbody>${repeat([...new Array(3)], () => html `<z-tr>${cellsTemplate(3)}</z-tr>`)}</z-tbody>
|