@zanichelli/albe-web-components 18.5.3 → 18.5.4
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 +7 -0
- package/dist/cjs/index-09238e31.js +47 -0
- package/dist/cjs/index-09238e31.js.map +1 -0
- package/dist/cjs/{index-364e3f60.js → index-1c7cd5df.js} +2 -2
- package/dist/cjs/index-1c7cd5df.js.map +1 -0
- package/dist/cjs/{index-aeea3159.js → index-66928615.js} +2 -2
- package/dist/cjs/{index-aeea3159.js.map → index-66928615.js.map} +1 -1
- package/dist/cjs/index-c798013f.js +73 -0
- package/dist/cjs/index-c798013f.js.map +1 -0
- package/dist/cjs/{index-bf197d11.js → index-f011b2e3.js} +5 -3
- package/dist/cjs/index-f011b2e3.js.map +1 -0
- 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 +6 -6
- 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-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-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 +7 -7
- package/dist/cjs/z-table.cjs.entry.js.map +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 +1 -7
- package/dist/collection/components/table/cells/z-th/styles.css +10 -7
- package/dist/collection/components/table/z-table/index.js +1 -1
- package/dist/collection/components/table/z-table/index.stories.js +7 -2
- package/dist/collection/components/table/z-table/index.stories.js.map +1 -1
- package/dist/collection/components/table/z-table/styles.css +2 -0
- package/dist/collection/components/table/z-tfoot/index.js +1 -1
- package/dist/collection/components/table/z-tfoot/index.js.map +1 -1
- package/dist/collection/components/table/z-thead/index.js +21 -1
- package/dist/collection/components/table/z-thead/index.js.map +1 -1
- package/dist/collection/components/table/z-thead/styles.css +5 -0
- package/dist/collection/components/table/z-tr/index.js +15 -1
- package/dist/collection/components/table/z-tr/index.js.map +1 -1
- package/dist/collection/components/table/z-tr/styles.css +39 -9
- 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-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-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-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/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/index10.js +1 -1
- package/dist/components/index11.js +1 -1
- package/dist/components/index12.js +1 -1
- package/dist/components/index16.js +4 -4
- 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 +1 -1
- 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-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-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-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-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-tfoot.js.map +1 -1
- package/dist/components/z-th.js +1 -1
- package/dist/components/z-th.js.map +1 -1
- package/dist/components/z-thead.js +6 -3
- package/dist/components/z-thead.js.map +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 +16 -2
- package/dist/components/z-tr.js.map +1 -1
- package/dist/components/z-visually-hidden.js +1 -1
- package/dist/esm/index-0bcacbd3.js +21 -0
- package/dist/esm/index-0bcacbd3.js.map +1 -0
- package/dist/esm/{index-571f913c.js → index-36122d8f.js} +2 -2
- package/dist/esm/index-36122d8f.js.map +1 -0
- package/dist/esm/index-628f296f.js +71 -0
- package/dist/esm/index-628f296f.js.map +1 -0
- package/dist/esm/{index-5e18fc4b.js → index-b64ced16.js} +2 -2
- package/dist/esm/{index-5e18fc4b.js.map → index-b64ced16.js.map} +1 -1
- package/dist/esm/index-f20179ad.js +45 -0
- package/dist/esm/index-f20179ad.js.map +1 -0
- 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 +6 -6
- package/dist/esm/z-aria-alert.entry.js +1 -1
- package/dist/esm/z-avatar.entry.js +2 -2
- 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-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 +7 -7
- package/dist/esm/z-table.entry.js.map +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/z-table/index.stories.d.ts +5 -0
- package/dist/types/components/table/z-thead/index.d.ts +5 -0
- package/dist/types/components/table/z-tr/index.d.ts +1 -0
- package/dist/types/components.d.ts +8 -0
- package/{www/build/p-c4b78535.entry.js → dist/web-components-library/p-0756fe6f.entry.js} +2 -2
- package/dist/web-components-library/{p-7c69b70a.entry.js → p-09ba466b.entry.js} +2 -2
- package/{www/build/p-914f9d32.entry.js → dist/web-components-library/p-14f0bdf4.entry.js} +2 -2
- package/dist/web-components-library/{p-8f4a90dc.entry.js → p-25935be3.entry.js} +2 -2
- package/dist/web-components-library/{p-956d977d.entry.js → p-30575221.entry.js} +2 -2
- package/{www/build/p-42819df4.entry.js → dist/web-components-library/p-37f271c8.entry.js} +2 -2
- package/dist/web-components-library/{p-651250c2.entry.js → p-3ed25564.entry.js} +2 -2
- package/dist/web-components-library/{p-209db20e.entry.js → p-4c730d4a.entry.js} +2 -2
- package/dist/web-components-library/p-4c9bf42d.js +2 -0
- package/dist/web-components-library/p-4c9bf42d.js.map +1 -0
- package/dist/web-components-library/{p-f36d7044.entry.js → p-4d73640e.entry.js} +2 -2
- package/dist/web-components-library/{p-40fc2770.entry.js → p-4fbcf534.entry.js} +2 -2
- package/dist/web-components-library/p-4fcbbe1c.entry.js +2 -0
- package/{www/build/p-fed6d4ac.entry.js → dist/web-components-library/p-5cf3a797.entry.js} +2 -2
- package/dist/web-components-library/{p-b2313d3c.entry.js → p-6273db7f.entry.js} +2 -2
- package/dist/web-components-library/{p-afea8173.entry.js → p-63c1bde5.entry.js} +2 -2
- package/dist/web-components-library/{p-d0a18050.entry.js → p-6793061a.entry.js} +2 -2
- package/dist/web-components-library/p-67edb420.entry.js +2 -0
- package/dist/web-components-library/{p-7fbdf8f9.entry.js → p-689b0280.entry.js} +2 -2
- package/{www/build/p-512033d3.entry.js → dist/web-components-library/p-6a62a0a7.entry.js} +3 -3
- package/dist/web-components-library/{p-3a9405b3.entry.js → p-6ca0ee2f.entry.js} +2 -2
- package/dist/web-components-library/{p-ae8b17a1.entry.js → p-72a7eb26.entry.js} +2 -2
- package/dist/web-components-library/p-74819cbe.entry.js +2 -0
- package/dist/web-components-library/p-748fa3ae.js +2 -0
- package/{www/build/p-12900bf7.js.map → dist/web-components-library/p-748fa3ae.js.map} +1 -1
- package/{www/build/p-ae82ba49.entry.js → dist/web-components-library/p-8117a929.entry.js} +2 -2
- package/dist/web-components-library/{p-8b0c8e6d.entry.js → p-8b93bc6d.entry.js} +2 -2
- package/dist/web-components-library/p-8c52635e.entry.js +2 -0
- package/{www/build/p-ac888c48.entry.js → dist/web-components-library/p-962c7f6b.entry.js} +2 -2
- package/dist/web-components-library/p-97608d16.entry.js +2 -0
- package/dist/web-components-library/{p-3cc02ff9.entry.js.map → p-97608d16.entry.js.map} +1 -1
- package/dist/web-components-library/p-9e3da0b7.entry.js +2 -0
- package/dist/web-components-library/{p-684c8fcb.entry.js → p-ac585bcd.entry.js} +2 -2
- package/dist/web-components-library/{p-9047fe2a.entry.js → p-badd98ad.entry.js} +2 -2
- package/dist/web-components-library/p-bdbee3b2.entry.js +2 -0
- package/dist/web-components-library/p-bdbee3b2.entry.js.map +1 -0
- package/dist/web-components-library/{p-1174942e.entry.js → p-c8814ae1.entry.js} +2 -2
- package/dist/web-components-library/p-c9381ebf.js +2 -0
- package/dist/web-components-library/p-c9381ebf.js.map +1 -0
- package/{www/build/p-def1bcc7.entry.js → dist/web-components-library/p-c962e854.entry.js} +2 -2
- package/dist/web-components-library/{p-3cb9a131.entry.js → p-caa491ca.entry.js} +2 -2
- package/dist/web-components-library/{p-1477f263.entry.js → p-cb1de7b4.entry.js} +2 -2
- package/dist/web-components-library/p-cbab66f7.entry.js +2 -0
- package/dist/web-components-library/{p-97294823.entry.js.map → p-cbab66f7.entry.js.map} +1 -1
- package/dist/web-components-library/{p-252ef047.entry.js → p-d0d54d42.entry.js} +2 -2
- package/dist/web-components-library/{p-0df112c4.entry.js → p-d6a7b7f3.entry.js} +2 -2
- package/dist/web-components-library/{p-b376a58c.entry.js → p-d6d3a92a.entry.js} +2 -2
- package/dist/web-components-library/p-d75f8bbb.entry.js +2 -0
- package/dist/web-components-library/p-d7f12672.js +2 -0
- package/dist/web-components-library/p-d7f12672.js.map +1 -0
- package/dist/web-components-library/{p-dc566d6d.entry.js → p-d8aa6afa.entry.js} +2 -2
- package/dist/web-components-library/p-d90d2698.entry.js +2 -0
- package/dist/web-components-library/{p-ee08aec0.entry.js → p-da30a6cb.entry.js} +2 -2
- package/{www/build/p-eb6f59a8.entry.js → dist/web-components-library/p-dc5ba112.entry.js} +2 -2
- package/dist/web-components-library/{p-afc9e99e.entry.js → p-e231e811.entry.js} +2 -2
- package/dist/web-components-library/p-e5407cc1.entry.js +2 -0
- package/dist/web-components-library/{p-c231ed32.entry.js → p-e639e1bc.entry.js} +2 -2
- package/dist/web-components-library/{p-c6ae7dfa.entry.js → p-e8419614.entry.js} +2 -2
- package/dist/web-components-library/p-f19f12b1.js +2 -0
- package/dist/web-components-library/p-f19f12b1.js.map +1 -0
- package/dist/web-components-library/{p-a3aef2c0.entry.js → p-f1c55eda.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/{dist/web-components-library/p-c4b78535.entry.js → www/build/p-0756fe6f.entry.js} +2 -2
- package/www/build/{p-7c69b70a.entry.js → p-09ba466b.entry.js} +2 -2
- package/{dist/web-components-library/p-914f9d32.entry.js → www/build/p-14f0bdf4.entry.js} +2 -2
- package/www/build/{p-23b6a1e1.js → p-1b63615d.js} +1 -1
- package/www/build/{p-8f4a90dc.entry.js → p-25935be3.entry.js} +2 -2
- package/www/build/{p-956d977d.entry.js → p-30575221.entry.js} +2 -2
- package/{dist/web-components-library/p-42819df4.entry.js → www/build/p-37f271c8.entry.js} +2 -2
- package/www/build/{p-651250c2.entry.js → p-3ed25564.entry.js} +2 -2
- package/www/build/{p-209db20e.entry.js → p-4c730d4a.entry.js} +2 -2
- package/www/build/p-4c9bf42d.js +2 -0
- package/www/build/p-4c9bf42d.js.map +1 -0
- package/www/build/{p-f36d7044.entry.js → p-4d73640e.entry.js} +2 -2
- package/www/build/{p-40fc2770.entry.js → p-4fbcf534.entry.js} +2 -2
- package/www/build/p-4fcbbe1c.entry.js +2 -0
- package/{dist/web-components-library/p-fed6d4ac.entry.js → www/build/p-5cf3a797.entry.js} +2 -2
- package/www/build/{p-b2313d3c.entry.js → p-6273db7f.entry.js} +2 -2
- package/www/build/{p-afea8173.entry.js → p-63c1bde5.entry.js} +2 -2
- package/www/build/{p-d0a18050.entry.js → p-6793061a.entry.js} +2 -2
- package/www/build/p-67edb420.entry.js +2 -0
- package/www/build/{p-7fbdf8f9.entry.js → p-689b0280.entry.js} +2 -2
- package/{dist/web-components-library/p-512033d3.entry.js → www/build/p-6a62a0a7.entry.js} +3 -3
- package/www/build/{p-3a9405b3.entry.js → p-6ca0ee2f.entry.js} +2 -2
- package/www/build/{p-ae8b17a1.entry.js → p-72a7eb26.entry.js} +2 -2
- package/www/build/p-74819cbe.entry.js +2 -0
- package/www/build/p-748fa3ae.js +2 -0
- package/{dist/web-components-library/p-12900bf7.js.map → www/build/p-748fa3ae.js.map} +1 -1
- package/{dist/web-components-library/p-ae82ba49.entry.js → www/build/p-8117a929.entry.js} +2 -2
- package/www/build/{p-8b0c8e6d.entry.js → p-8b93bc6d.entry.js} +2 -2
- package/www/build/p-8c52635e.entry.js +2 -0
- package/{dist/web-components-library/p-ac888c48.entry.js → www/build/p-962c7f6b.entry.js} +2 -2
- package/www/build/p-97608d16.entry.js +2 -0
- package/www/build/{p-3cc02ff9.entry.js.map → p-97608d16.entry.js.map} +1 -1
- package/www/build/p-9e3da0b7.entry.js +2 -0
- package/www/build/{p-684c8fcb.entry.js → p-ac585bcd.entry.js} +2 -2
- package/www/build/{p-9047fe2a.entry.js → p-badd98ad.entry.js} +2 -2
- package/www/build/p-bdbee3b2.entry.js +2 -0
- package/www/build/p-bdbee3b2.entry.js.map +1 -0
- package/www/build/{p-1174942e.entry.js → p-c8814ae1.entry.js} +2 -2
- package/www/build/p-c9381ebf.js +2 -0
- package/www/build/p-c9381ebf.js.map +1 -0
- package/{dist/web-components-library/p-def1bcc7.entry.js → www/build/p-c962e854.entry.js} +2 -2
- package/www/build/{p-3cb9a131.entry.js → p-caa491ca.entry.js} +2 -2
- package/www/build/{p-1477f263.entry.js → p-cb1de7b4.entry.js} +2 -2
- package/www/build/p-cbab66f7.entry.js +2 -0
- package/www/build/{p-97294823.entry.js.map → p-cbab66f7.entry.js.map} +1 -1
- package/www/build/{p-252ef047.entry.js → p-d0d54d42.entry.js} +2 -2
- package/www/build/{p-0df112c4.entry.js → p-d6a7b7f3.entry.js} +2 -2
- package/www/build/{p-b376a58c.entry.js → p-d6d3a92a.entry.js} +2 -2
- package/www/build/p-d75f8bbb.entry.js +2 -0
- package/www/build/p-d7f12672.js +2 -0
- package/www/build/p-d7f12672.js.map +1 -0
- package/www/build/{p-dc566d6d.entry.js → p-d8aa6afa.entry.js} +2 -2
- package/www/build/p-d90d2698.entry.js +2 -0
- package/www/build/{p-ee08aec0.entry.js → p-da30a6cb.entry.js} +2 -2
- package/{dist/web-components-library/p-eb6f59a8.entry.js → www/build/p-dc5ba112.entry.js} +2 -2
- package/www/build/{p-afc9e99e.entry.js → p-e231e811.entry.js} +2 -2
- package/www/build/p-e5407cc1.entry.js +2 -0
- package/www/build/{p-c231ed32.entry.js → p-e639e1bc.entry.js} +2 -2
- package/www/build/{p-c6ae7dfa.entry.js → p-e8419614.entry.js} +2 -2
- package/www/build/p-f19f12b1.js +2 -0
- package/www/build/p-f19f12b1.js.map +1 -0
- package/www/build/{p-a3aef2c0.entry.js → p-f1c55eda.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-339004f9.js +0 -59
- package/dist/cjs/index-339004f9.js.map +0 -1
- package/dist/cjs/index-364e3f60.js.map +0 -1
- package/dist/cjs/index-6ba31c6e.js +0 -47
- package/dist/cjs/index-6ba31c6e.js.map +0 -1
- package/dist/cjs/index-bf197d11.js.map +0 -1
- package/dist/esm/index-3e140e28.js +0 -57
- package/dist/esm/index-3e140e28.js.map +0 -1
- package/dist/esm/index-571f913c.js.map +0 -1
- package/dist/esm/index-eb53c87f.js +0 -19
- package/dist/esm/index-eb53c87f.js.map +0 -1
- package/dist/esm/index-eb99d165.js +0 -45
- package/dist/esm/index-eb99d165.js.map +0 -1
- package/dist/web-components-library/p-05348da8.entry.js +0 -2
- package/dist/web-components-library/p-12900bf7.js +0 -2
- package/dist/web-components-library/p-195ed6d2.js +0 -2
- package/dist/web-components-library/p-195ed6d2.js.map +0 -1
- package/dist/web-components-library/p-39a968af.entry.js +0 -2
- package/dist/web-components-library/p-3cc02ff9.entry.js +0 -2
- package/dist/web-components-library/p-4cfe0f87.entry.js +0 -2
- package/dist/web-components-library/p-5cda7027.entry.js +0 -2
- package/dist/web-components-library/p-76ee5c89.entry.js +0 -2
- package/dist/web-components-library/p-7ad751e7.entry.js +0 -2
- package/dist/web-components-library/p-92cc912e.entry.js +0 -2
- package/dist/web-components-library/p-97294823.entry.js +0 -2
- package/dist/web-components-library/p-a22b7aa0.entry.js +0 -2
- package/dist/web-components-library/p-a35c1fab.js +0 -2
- package/dist/web-components-library/p-a35c1fab.js.map +0 -1
- package/dist/web-components-library/p-ca525798.js +0 -2
- package/dist/web-components-library/p-ca525798.js.map +0 -1
- package/dist/web-components-library/p-e1687f75.entry.js +0 -2
- package/dist/web-components-library/p-e1687f75.entry.js.map +0 -1
- package/dist/web-components-library/p-eb9ef3cb.js +0 -2
- package/dist/web-components-library/p-eb9ef3cb.js.map +0 -1
- package/www/build/p-05348da8.entry.js +0 -2
- package/www/build/p-12900bf7.js +0 -2
- package/www/build/p-195ed6d2.js +0 -2
- package/www/build/p-195ed6d2.js.map +0 -1
- package/www/build/p-39a968af.entry.js +0 -2
- package/www/build/p-3cc02ff9.entry.js +0 -2
- package/www/build/p-4cfe0f87.entry.js +0 -2
- package/www/build/p-5cda7027.entry.js +0 -2
- package/www/build/p-76ee5c89.entry.js +0 -2
- package/www/build/p-7ad751e7.entry.js +0 -2
- package/www/build/p-92cc912e.entry.js +0 -2
- package/www/build/p-97294823.entry.js +0 -2
- package/www/build/p-a22b7aa0.entry.js +0 -2
- package/www/build/p-a35c1fab.js +0 -2
- package/www/build/p-a35c1fab.js.map +0 -1
- package/www/build/p-ca525798.js +0 -2
- package/www/build/p-ca525798.js.map +0 -1
- package/www/build/p-e1687f75.entry.js +0 -2
- package/www/build/p-e1687f75.entry.js.map +0 -1
- package/www/build/p-eb9ef3cb.js +0 -2
- package/www/build/p-eb9ef3cb.js.map +0 -1
- /package/dist/web-components-library/{p-c4b78535.entry.js.map → p-0756fe6f.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-7c69b70a.entry.js.map → p-09ba466b.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-914f9d32.entry.js.map → p-14f0bdf4.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-8f4a90dc.entry.js.map → p-25935be3.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-956d977d.entry.js.map → p-30575221.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-42819df4.entry.js.map → p-37f271c8.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-651250c2.entry.js.map → p-3ed25564.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-209db20e.entry.js.map → p-4c730d4a.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-f36d7044.entry.js.map → p-4d73640e.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-40fc2770.entry.js.map → p-4fbcf534.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-05348da8.entry.js.map → p-4fcbbe1c.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-fed6d4ac.entry.js.map → p-5cf3a797.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-b2313d3c.entry.js.map → p-6273db7f.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-afea8173.entry.js.map → p-63c1bde5.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-d0a18050.entry.js.map → p-6793061a.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-76ee5c89.entry.js.map → p-67edb420.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-7fbdf8f9.entry.js.map → p-689b0280.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-512033d3.entry.js.map → p-6a62a0a7.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-3a9405b3.entry.js.map → p-6ca0ee2f.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-ae8b17a1.entry.js.map → p-72a7eb26.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-4cfe0f87.entry.js.map → p-74819cbe.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-ae82ba49.entry.js.map → p-8117a929.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-8b0c8e6d.entry.js.map → p-8b93bc6d.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-5cda7027.entry.js.map → p-8c52635e.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-ac888c48.entry.js.map → p-962c7f6b.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-39a968af.entry.js.map → p-9e3da0b7.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-684c8fcb.entry.js.map → p-ac585bcd.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-9047fe2a.entry.js.map → p-badd98ad.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-1174942e.entry.js.map → p-c8814ae1.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-def1bcc7.entry.js.map → p-c962e854.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-3cb9a131.entry.js.map → p-caa491ca.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-1477f263.entry.js.map → p-cb1de7b4.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-252ef047.entry.js.map → p-d0d54d42.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-0df112c4.entry.js.map → p-d6a7b7f3.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-b376a58c.entry.js.map → p-d6d3a92a.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-7ad751e7.entry.js.map → p-d75f8bbb.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-dc566d6d.entry.js.map → p-d8aa6afa.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-92cc912e.entry.js.map → p-d90d2698.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-ee08aec0.entry.js.map → p-da30a6cb.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-eb6f59a8.entry.js.map → p-dc5ba112.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-afc9e99e.entry.js.map → p-e231e811.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-a22b7aa0.entry.js.map → p-e5407cc1.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-c231ed32.entry.js.map → p-e639e1bc.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-c6ae7dfa.entry.js.map → p-e8419614.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-a3aef2c0.entry.js.map → p-f1c55eda.entry.js.map} +0 -0
- /package/www/build/{p-c4b78535.entry.js.map → p-0756fe6f.entry.js.map} +0 -0
- /package/www/build/{p-7c69b70a.entry.js.map → p-09ba466b.entry.js.map} +0 -0
- /package/www/build/{p-914f9d32.entry.js.map → p-14f0bdf4.entry.js.map} +0 -0
- /package/www/build/{p-8f4a90dc.entry.js.map → p-25935be3.entry.js.map} +0 -0
- /package/www/build/{p-956d977d.entry.js.map → p-30575221.entry.js.map} +0 -0
- /package/www/build/{p-42819df4.entry.js.map → p-37f271c8.entry.js.map} +0 -0
- /package/www/build/{p-651250c2.entry.js.map → p-3ed25564.entry.js.map} +0 -0
- /package/www/build/{p-209db20e.entry.js.map → p-4c730d4a.entry.js.map} +0 -0
- /package/www/build/{p-f36d7044.entry.js.map → p-4d73640e.entry.js.map} +0 -0
- /package/www/build/{p-40fc2770.entry.js.map → p-4fbcf534.entry.js.map} +0 -0
- /package/www/build/{p-05348da8.entry.js.map → p-4fcbbe1c.entry.js.map} +0 -0
- /package/www/build/{p-fed6d4ac.entry.js.map → p-5cf3a797.entry.js.map} +0 -0
- /package/www/build/{p-b2313d3c.entry.js.map → p-6273db7f.entry.js.map} +0 -0
- /package/www/build/{p-afea8173.entry.js.map → p-63c1bde5.entry.js.map} +0 -0
- /package/www/build/{p-d0a18050.entry.js.map → p-6793061a.entry.js.map} +0 -0
- /package/www/build/{p-76ee5c89.entry.js.map → p-67edb420.entry.js.map} +0 -0
- /package/www/build/{p-7fbdf8f9.entry.js.map → p-689b0280.entry.js.map} +0 -0
- /package/www/build/{p-512033d3.entry.js.map → p-6a62a0a7.entry.js.map} +0 -0
- /package/www/build/{p-3a9405b3.entry.js.map → p-6ca0ee2f.entry.js.map} +0 -0
- /package/www/build/{p-ae8b17a1.entry.js.map → p-72a7eb26.entry.js.map} +0 -0
- /package/www/build/{p-4cfe0f87.entry.js.map → p-74819cbe.entry.js.map} +0 -0
- /package/www/build/{p-ae82ba49.entry.js.map → p-8117a929.entry.js.map} +0 -0
- /package/www/build/{p-8b0c8e6d.entry.js.map → p-8b93bc6d.entry.js.map} +0 -0
- /package/www/build/{p-5cda7027.entry.js.map → p-8c52635e.entry.js.map} +0 -0
- /package/www/build/{p-ac888c48.entry.js.map → p-962c7f6b.entry.js.map} +0 -0
- /package/www/build/{p-39a968af.entry.js.map → p-9e3da0b7.entry.js.map} +0 -0
- /package/www/build/{p-684c8fcb.entry.js.map → p-ac585bcd.entry.js.map} +0 -0
- /package/www/build/{p-9047fe2a.entry.js.map → p-badd98ad.entry.js.map} +0 -0
- /package/www/build/{p-1174942e.entry.js.map → p-c8814ae1.entry.js.map} +0 -0
- /package/www/build/{p-def1bcc7.entry.js.map → p-c962e854.entry.js.map} +0 -0
- /package/www/build/{p-3cb9a131.entry.js.map → p-caa491ca.entry.js.map} +0 -0
- /package/www/build/{p-1477f263.entry.js.map → p-cb1de7b4.entry.js.map} +0 -0
- /package/www/build/{p-252ef047.entry.js.map → p-d0d54d42.entry.js.map} +0 -0
- /package/www/build/{p-0df112c4.entry.js.map → p-d6a7b7f3.entry.js.map} +0 -0
- /package/www/build/{p-b376a58c.entry.js.map → p-d6d3a92a.entry.js.map} +0 -0
- /package/www/build/{p-7ad751e7.entry.js.map → p-d75f8bbb.entry.js.map} +0 -0
- /package/www/build/{p-dc566d6d.entry.js.map → p-d8aa6afa.entry.js.map} +0 -0
- /package/www/build/{p-92cc912e.entry.js.map → p-d90d2698.entry.js.map} +0 -0
- /package/www/build/{p-ee08aec0.entry.js.map → p-da30a6cb.entry.js.map} +0 -0
- /package/www/build/{p-eb6f59a8.entry.js.map → p-dc5ba112.entry.js.map} +0 -0
- /package/www/build/{p-afc9e99e.entry.js.map → p-e231e811.entry.js.map} +0 -0
- /package/www/build/{p-a22b7aa0.entry.js.map → p-e5407cc1.entry.js.map} +0 -0
- /package/www/build/{p-c231ed32.entry.js.map → p-e639e1bc.entry.js.map} +0 -0
- /package/www/build/{p-c6ae7dfa.entry.js.map → p-e8419614.entry.js.map} +0 -0
- /package/www/build/{p-a3aef2c0.entry.js.map → p-f1c55eda.entry.js.map} +0 -0
|
@@ -14,7 +14,7 @@ const ZMyzCardIcon$1 = /*@__PURE__*/ proxyCustomElement(class ZMyzCardIcon exten
|
|
|
14
14
|
this.ariaLabel = "";
|
|
15
15
|
}
|
|
16
16
|
render() {
|
|
17
|
-
return (h("button", { key: '
|
|
17
|
+
return (h("button", { key: 'f55508220a6e8890568fcb51e53028a815cf9d6c', disabled: this.isdisabled, "aria-label": this.ariaLabel }, h("span", { key: '35b9a8fe1dceead8ca5e8074171f3a589abe50c9' }, h("z-icon", { key: 'b8ba6455b6966949359abd52da1b092b515b1f7b', name: this.icon, width: 16, height: 16 }))));
|
|
18
18
|
}
|
|
19
19
|
static get style() { return ZMyzCardIconStyle0; }
|
|
20
20
|
}, [1, "z-myz-card-icon", {
|
|
@@ -121,7 +121,7 @@ const ZMyzCardInfo$1 = /*@__PURE__*/ proxyCustomElement(class ZMyzCardInfo exten
|
|
|
121
121
|
return (h("section", { ref: (el) => (this.offlineLicenseWrapper = el) }, h("span", { class: "license-heading" }, h("span", null, "Licenza offline"), this.setExpirationLicenseMessage("offline")), "Scadenza il ", h("b", null, this.cardData.offlineLicense.expiration), h("br", null), "Installazioni disponibili: ", h("b", null, this.cardData.offlineLicense.installations)));
|
|
122
122
|
}
|
|
123
123
|
render() {
|
|
124
|
-
return (h("div", { key: '
|
|
124
|
+
return (h("div", { key: '2da5c29057a85f238e99b34bf5afe2d3fced734f' }, this.renderCloseIcon(), h("div", { key: '7a1a52d3dd21f2a73d6af292705162dc3bb7a977', class: "content-wrapper", ref: (el) => (this.contentWrapper = el) }, this.renderGeneralSection(), this.renderTooltip(), this.renderOnlineLicenseSection(), this.renderOfflineLicenseSection()), h("div", { key: '3df54c0ab2569fa911b5ddddf38b59672fa02867', class: "cta-wrapper" }, h("slot", { key: '83e473746c24c97cb9910f25e8f25f3ea7d41cc2' }))));
|
|
125
125
|
}
|
|
126
126
|
static get style() { return ZMyzCardInfoStyle0; }
|
|
127
127
|
}, [1, "z-myz-card-info", {
|
|
@@ -30,7 +30,7 @@ const ZMyzCardList$1 = /*@__PURE__*/ proxyCustomElement(class ZMyzCardList exten
|
|
|
30
30
|
});
|
|
31
31
|
}
|
|
32
32
|
render() {
|
|
33
|
-
return h("ul", { key: '
|
|
33
|
+
return h("ul", { key: '79d7e2eeb6daf06409e4c39a0ea454f37083ae99' }, this.renderList(JSON.parse(this.listdata)));
|
|
34
34
|
}
|
|
35
35
|
static get style() { return ZMyzCardListStyle0; }
|
|
36
36
|
}, [1, "z-myz-card-list", {
|
|
@@ -26,7 +26,7 @@ const ZMyzList$1 = /*@__PURE__*/ proxyCustomElement(class ZMyzList extends HTMLE
|
|
|
26
26
|
}
|
|
27
27
|
render() {
|
|
28
28
|
const lastElem = this.list ? this.list.length - 1 : -1;
|
|
29
|
-
return (h("ul", { key: '
|
|
29
|
+
return (h("ul", { key: '6c533b3d206e3c6349647afd560ee0e71979b951' }, this.list &&
|
|
30
30
|
this.list.map((bean, i) => (h("z-myz-list-item", { listitemid: bean.listitemid, text: bean.text, link: bean.link, linktarget: bean.linktarget, icon: bean.icon, underlined: lastElem != i })))));
|
|
31
31
|
}
|
|
32
32
|
static get watchers() { return {
|
|
@@ -222,10 +222,10 @@ const ZNavigationTabs$1 = /*@__PURE__*/ proxyCustomElement(class ZNavigationTabs
|
|
|
222
222
|
(_a = this.resizeObserver) === null || _a === void 0 ? void 0 : _a.disconnect();
|
|
223
223
|
}
|
|
224
224
|
render() {
|
|
225
|
-
return (h(Host, { key: '
|
|
225
|
+
return (h(Host, { key: '5216c71c53d3263870b4d64749554c36dadfdb8c', class: {
|
|
226
226
|
"interactive-2": this.size === NavigationTabsSize.SMALL,
|
|
227
227
|
"interactive-1": this.size !== NavigationTabsSize.SMALL,
|
|
228
|
-
}, scrollable: this.canNavigate }, h("button", { key: '
|
|
228
|
+
}, scrollable: this.canNavigate }, h("button", { key: 'b59fcef70ff51453d679678caabae7f69a3a91d9', 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: '2f2a9f0630c6f7c340132bfde3c90c2392ea3f07', name: this.orientation === NavigationTabsOrientation.HORIZONTAL ? "chevron-left" : "chevron-up", width: 16, height: 16 })), h("nav", { key: 'f8e06aaadd56dfd9e1ab068a4a0d5633083b2ca9', 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: '8f1062acbb5616c395cac371d8737660f69c5326' })), h("button", { key: '28342d0ad1c43119862b148b550c57c352d6a07c', 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: 'e975d966cdc0f0f52345bca3cb842cd0672783b8', name: this.orientation === NavigationTabsOrientation.HORIZONTAL ? "chevron-right" : "chevron-down", width: 16, height: 16 }))));
|
|
229
229
|
}
|
|
230
230
|
get host() { return this; }
|
|
231
231
|
static get watchers() { return {
|
|
@@ -30,7 +30,7 @@ const ZNotification$1 = /*@__PURE__*/ proxyCustomElement(class ZNotification ext
|
|
|
30
30
|
}
|
|
31
31
|
render() {
|
|
32
32
|
var _a;
|
|
33
|
-
return (h(Host, { key: '
|
|
33
|
+
return (h(Host, { key: '1476969ad9cd71af738c1032fa1b426a31faef9f' }, this.contenticonname && (h("z-icon", { key: '449b25859ae4f501b42d4c4cd0c26cd9dcb1935e', class: "status-icon", name: this.contenticonname, width: 16, height: 16 })), h("div", { key: '5b8feced4f05c6e14e6ac7e9a06096db6fd93997', class: "content-container" }, h("div", { key: 'ec6a27aebcc0d60efdb5fd3cb29cc7fddc441331', class: "content-text" }, h("slot", { key: 'd66a3fbf761e5460f0d52c5111b07166c59fa7f4' })), !!((_a = this.actiontext) === null || _a === void 0 ? void 0 : _a.trim()) && (h("button", { key: '73f5c71a14294c230342ef7382f9ae3fa2b330ce', class: "action-button", type: "button", onClick: this.handleActionButtonClick }, this.actiontext))), this.showclose && (h("button", { key: 'a0be489166ad16faa182adac379ce08ca06317ed', class: "close-button", type: "button", onClick: this.handleCloseButtonClick }, h("z-icon", { key: '254d0f36a6ee1a356506db703658053959020070', name: "multiply-circle", width: 16, height: 16 })))));
|
|
34
34
|
}
|
|
35
35
|
static get style() { return ZNotificationStyle0; }
|
|
36
36
|
}, [1, "z-notification", {
|
package/dist/components/z-otp.js
CHANGED
|
@@ -24,7 +24,7 @@ const ZOtp$1 = /*@__PURE__*/ proxyCustomElement(class ZOtp extends HTMLElement {
|
|
|
24
24
|
this.otpRef = [...Array(this.inputNum)];
|
|
25
25
|
}
|
|
26
26
|
render() {
|
|
27
|
-
return (h("div", { key: '
|
|
27
|
+
return (h("div", { key: 'fbc28e800a7fb7fe81b836869f44d24797c09922', class: "otp-container" }, h("div", { key: '547c8f308045f1f4d5a463404f2ec494ef67421b', class: "digits-container" }, this.otp.map((_val, i) => (h("input", { class: this.status == InputStatus.ERROR ? "error" : null, onKeyDown: (e) => {
|
|
28
28
|
if (e.keyCode > 47) {
|
|
29
29
|
this.otpRef[i].value = "";
|
|
30
30
|
}
|
|
@@ -35,7 +35,7 @@ const ZOtp$1 = /*@__PURE__*/ proxyCustomElement(class ZOtp extends HTMLElement {
|
|
|
35
35
|
}, onInput: (e) => {
|
|
36
36
|
this.otp[i] = e.target.value;
|
|
37
37
|
this.emitInputChange(this.otp.join(""));
|
|
38
|
-
}, type: "text", minlength: "1", maxlength: "1", autoComplete: "off", ref: (el) => (this.otpRef[i] = el) })))), h("z-input-message", { key: '
|
|
38
|
+
}, type: "text", minlength: "1", maxlength: "1", autoComplete: "off", ref: (el) => (this.otpRef[i] = el) })))), h("z-input-message", { key: '51eacbd4b0a7ec9e1ac0fa55a132cd43aa6b7ecf', message: this.message, status: this.status })));
|
|
39
39
|
}
|
|
40
40
|
static get style() { return ZOtpStyle0; }
|
|
41
41
|
}, [1, "z-otp", {
|
|
@@ -20,12 +20,12 @@ const ZPanelElem$1 = /*@__PURE__*/ proxyCustomElement(class ZPanelElem extends H
|
|
|
20
20
|
}
|
|
21
21
|
render() {
|
|
22
22
|
const elemId = this.elemid ? this.elemid : "";
|
|
23
|
-
return (h("div", { key: '
|
|
23
|
+
return (h("div", { key: '90afba46bcde1bd3bd27b35c6e5db38ce9071aee', class: "panel-elem-container" }, (this.imgurl || this.imgalt) && (h("div", { key: 'd9493560e96ad743ae3ee52be6c9205b6014b8da', "aria-hidden": "true", class: "panel-elem-icon" }, h("img", { key: '5bd7c14c0083b9fed6e320a4ef4652018abf2762', src: this.imgurl, alt: this.imgalt }))), h("div", { key: '4cbebd354b6b3b56304970aedb0e94e084d49a9f', class: "panel-elem-link" }, h("a", { key: '195ec2e77eac163c65cf746faa114f39618d2abc', class: {
|
|
24
24
|
"z-link": true,
|
|
25
25
|
"z-link-disabled": this.isdisabled,
|
|
26
26
|
"z-link-icon": true,
|
|
27
27
|
"z-link-blue": true,
|
|
28
|
-
}, id: elemId + "link_id", href: this.url, target: this.target }, h("z-icon", { key: '
|
|
28
|
+
}, id: elemId + "link_id", href: this.url, target: this.target }, h("z-icon", { key: 'c11c35e5bff66d382b309fece4bec295abb1a0d4', height: 14, width: 14, name: this.linkicon }), this.linklabel)), this.descrSlotName && (h("div", { key: '319374f4955314400344ce558486c6afa36ca4f2', class: "panel-elem-desc" }, h("slot", { key: '7e7dcf38991bc7f67ab164e4bac9d20026fa29d9', name: this.descrSlotName })))));
|
|
29
29
|
}
|
|
30
30
|
static get style() { return ZPanelElemStyle0; }
|
|
31
31
|
}, [6, "z-panel-elem", {
|
|
@@ -487,7 +487,7 @@ const ZSelect$1 = /*@__PURE__*/ proxyCustomElement(class ZSelect extends HTMLEle
|
|
|
487
487
|
return (h("z-input-message", { message: boolean(this.message) === true ? undefined : this.message, status: this.status, class: this.size, disabled: this.disabled }));
|
|
488
488
|
}
|
|
489
489
|
render() {
|
|
490
|
-
return (h("div", { key: '
|
|
490
|
+
return (h("div", { key: '175046b438342ee0b6bae38a35a0c70f47cdc0f8', class: "select-wrapper" }, this.renderInput(), this.renderSelectUl(), this.renderMessage()));
|
|
491
491
|
}
|
|
492
492
|
get host() { return this; }
|
|
493
493
|
static get watchers() { return {
|
|
@@ -48,7 +48,7 @@ const ZSkipToContent$1 = /*@__PURE__*/ proxyCustomElement(class ZSkipToContent e
|
|
|
48
48
|
this.visible = false;
|
|
49
49
|
}
|
|
50
50
|
render() {
|
|
51
|
-
return (h(Host, { key: '
|
|
51
|
+
return (h(Host, { key: 'b8589c4336335b3bdc4666c073f95c3f2b7ed8ea', class: {
|
|
52
52
|
[this.variant]: true,
|
|
53
53
|
"skip-to-content-visible": this.visible,
|
|
54
54
|
} }, this.links.map((link, i) => {
|
|
@@ -23,7 +23,7 @@ const ZStepperItem$1 = /*@__PURE__*/ proxyCustomElement(class ZStepperItem exten
|
|
|
23
23
|
return Object.assign(Object.assign(Object.assign(Object.assign({}, href), role), current), tabindex);
|
|
24
24
|
}
|
|
25
25
|
render() {
|
|
26
|
-
return (h(Host, { key: '
|
|
26
|
+
return (h(Host, { key: '916903deb19e21efcbf41a7b6abdc67fd9d77e24', role: "listitem" }, h("button", Object.assign({ key: '8b1f517486bc8f20a068005097e4c05de79f03a3', class: "stepper-item", disabled: this.disabled }, this.getAttributes()), h("div", { key: '9ee7e36ec5bea649c0bcbffcfc01c60e7f20015a', class: "indicator" }, this.checked ? h("z-icon", { name: "checkmark" }) : this.index), h("span", { key: 'd9a2fcfb5af81003984c2c826a585ff67f956d31' }, h("slot", { key: '7fbbe5e023e32231a7efae862fea122d0455d20f' })))));
|
|
27
27
|
}
|
|
28
28
|
static get style() { return ZStepperItemStyle0; }
|
|
29
29
|
}, [1, "z-stepper-item", {
|
|
@@ -10,7 +10,7 @@ const ZStepper$1 = /*@__PURE__*/ proxyCustomElement(class ZStepper extends HTMLE
|
|
|
10
10
|
this.__attachShadow();
|
|
11
11
|
}
|
|
12
12
|
render() {
|
|
13
|
-
return (h(Host, { key: '
|
|
13
|
+
return (h(Host, { key: 'd0ee7919dcc30630687f4ad0e09365be7005fdcf', role: "list" }, h("slot", { key: '7ee595454d4fe021ab10cab8114f65dce9d3e428' })));
|
|
14
14
|
}
|
|
15
15
|
static get style() { return ZStepperStyle0; }
|
|
16
16
|
}, [1, "z-stepper"]);
|
|
@@ -4,7 +4,7 @@ import './breakpoints.js';
|
|
|
4
4
|
import './iconset.js';
|
|
5
5
|
import './index23.js';
|
|
6
6
|
|
|
7
|
-
const stylesCss = ":host{--z-table--cells-padding:calc(var(--space-unit) * 2);position:relative;display:block;overflow:auto;max-width:100%;box-sizing:border-box;background-color:var(--color-surface01)}:host([expandable]){--z-table--expand-button-size:40px}:host([bordered]){--z-table--cell-left-border:1px solid var(--color-surface03)}";
|
|
7
|
+
const stylesCss = ":host{--z-table--cells-padding:calc(var(--space-unit) * 2);position:relative;display:block;overflow:auto;min-width:max-content;max-width:100%;box-sizing:border-box;padding:var(--space-unit);background-color:var(--color-surface01)}:host([expandable]){--z-table--expand-button-size:40px}:host([bordered]){--z-table--cell-left-border:1px solid var(--color-surface03)}";
|
|
8
8
|
const ZTableStyle0 = stylesCss;
|
|
9
9
|
|
|
10
10
|
const ZTable$1 = /*@__PURE__*/ proxyCustomElement(class ZTable extends HTMLElement {
|
|
@@ -38,7 +38,7 @@ const ZTable$1 = /*@__PURE__*/ proxyCustomElement(class ZTable extends HTMLEleme
|
|
|
38
38
|
(_a = this.expandableMutationObserver) === null || _a === void 0 ? void 0 : _a.disconnect();
|
|
39
39
|
}
|
|
40
40
|
render() {
|
|
41
|
-
return (h(Host, { key: '
|
|
41
|
+
return (h(Host, { key: '6749b44ab2c28b92e6b282487bf9f23c40cead58', expandable: this.expandable }, h("div", { key: '633237695b09182263ac74b5118d533a8cae33b8', class: "table", role: "table" }, h("slot", { key: 'f46d287050238e137ababadae8b8eb1ffdb96c7b' }))));
|
|
42
42
|
}
|
|
43
43
|
get host() { return this; }
|
|
44
44
|
static get style() { return ZTableStyle0; }
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"file":"z-table.js","mappings":";;;;;;AAAA,MAAM,SAAS,GAAG,
|
|
1
|
+
{"file":"z-table.js","mappings":";;;;;;AAAA,MAAM,SAAS,GAAG,8WAA8W,CAAC;AACjY,qBAAe,SAAS;;MCeXA,QAAM;;;;;wBAON,KAAK;0BAMH,KAAK;;IAEV,gBAAgB;QACtB,IAAI,CAAC,UAAU,GAAG,IAAI,CAAC,IAAI,CAAC,gBAAgB,CAAC,kBAAkB,CAAC,CAAC,MAAM,GAAG,CAAC,CAAC;KAC7E;;;;IAOD,iBAAiB;QACf,IAAI,CAAC,0BAA0B,GAAG,IAAI,gBAAgB,CAAC;YACrD,IAAI,CAAC,gBAAgB,EAAE,CAAC;SACzB,CAAC,CAAC;QACH,IAAI,CAAC,0BAA0B,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,EAAE;YACjD,SAAS,EAAE,IAAI;YACf,OAAO,EAAE,IAAI;YACb,UAAU,EAAE,IAAI;YAChB,eAAe,EAAE,CAAC,YAAY,CAAC;YAC/B,iBAAiB,EAAE,KAAK;SACzB,CAAC,CAAC;KACJ;IAED,oBAAoB;;QAClB,MAAA,IAAI,CAAC,0BAA0B,0CAAE,UAAU,EAAE,CAAC;KAC/C;IAED,MAAM;QACJ,QACE,EAAC,IAAI,qDAAC,UAAU,EAAE,IAAI,CAAC,UAAU,IAC/B,4DACE,KAAK,EAAC,OAAO,EACb,IAAI,EAAC,OAAO,IAEZ,8DAAa,CACT,CACD,EACP;KACH;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["ZTable"],"sources":["src/components/table/z-table/styles.css?tag=z-table&encapsulation=shadow","src/components/table/z-table/index.tsx"],"sourcesContent":[":host {\n --z-table--cells-padding: calc(var(--space-unit) * 2);\n\n position: relative;\n display: block;\n overflow: auto;\n min-width: max-content;\n max-width: 100%;\n box-sizing: border-box;\n padding: var(--space-unit);\n background-color: var(--color-surface01);\n}\n\n:host([expandable]) {\n --z-table--expand-button-size: 40px;\n}\n\n:host([bordered]) {\n --z-table--cell-left-border: 1px solid var(--color-surface03);\n}\n","import {Component, Element, Host, Prop, State, h} from \"@stencil/core\";\nimport \"../z-tbody/index\";\nimport \"../z-tfoot/index\";\nimport \"../z-thead/index\";\nimport \"../z-tr/index\";\n\n/**\n * ZTable component.\n * @slot - Table content (`z-thead`, `z-tbody`, `z-tfoot`, `z-tr`).\n * @cssprop --z-table--cells-padding - Padding of the cells.\n */\n@Component({\n tag: \"z-table\",\n styleUrl: \"styles.css\",\n shadow: true,\n})\nexport class ZTable {\n @Element() host: HTMLZTableElement;\n\n /**\n * Whether the table cells should show a border between them.\n */\n @Prop({reflect: true})\n bordered = false;\n\n /**\n * Whether the table contains some expandable rows.\n */\n @State()\n expandable = false;\n\n private updateExpandable(): void {\n this.expandable = this.host.querySelectorAll(\"z-tr[expandable]\").length > 0;\n }\n\n private expandableMutationObserver: MutationObserver;\n\n /**\n * Setup the table creating a mutation observer for the expandable attribute.\n */\n componentWillLoad(): void {\n this.expandableMutationObserver = new MutationObserver(() => {\n this.updateExpandable();\n });\n this.expandableMutationObserver.observe(this.host, {\n childList: true,\n subtree: true,\n attributes: true,\n attributeFilter: [\"expandable\"],\n attributeOldValue: false,\n });\n }\n\n disconnectedCallback(): void {\n this.expandableMutationObserver?.disconnect();\n }\n\n render(): HTMLZTableElement {\n return (\n <Host expandable={this.expandable}>\n <div\n class=\"table\"\n role=\"table\"\n >\n <slot></slot>\n </div>\n </Host>\n );\n }\n}\n"],"version":3}
|
package/dist/components/z-td.js
CHANGED
|
@@ -4,7 +4,7 @@ import { d as defineCustomElement$4 } from './index4.js';
|
|
|
4
4
|
import { d as defineCustomElement$3 } from './index9.js';
|
|
5
5
|
import { d as defineCustomElement$2 } from './index23.js';
|
|
6
6
|
|
|
7
|
-
const stylesCss = ":host{position:relative;display:flex;max-width:100%;align-items:center;padding:var(--z-table--cells-padding, calc(var(--space-unit) * 2));background-color:var(--color-surface01);gap:calc(var(--space-unit) * 2) var(--space-unit)}:host,*{box-sizing:border-box}:host([sticky]){position:sticky;z-index:1;top:0;left:0;box-shadow:8px 0 16px -8px var(--shadow-color-base)}:host([menu-open]){z-index:2}
|
|
7
|
+
const stylesCss = ":host{position:relative;display:flex;max-width:100%;align-items:center;padding:calc(var(--z-table--cells-padding, calc(var(--space-unit) * 2)));background-color:var(--color-surface01);gap:calc(var(--space-unit) * 2) var(--space-unit)}:host,*{box-sizing:border-box}:host([sticky]){position:sticky;z-index:1;top:0;left:0;box-shadow:8px 0 16px -8px var(--shadow-color-base)}:host([menu-open]){z-index:2}.cell--content{display:flex;width:100%;height:100%;align-items:center}:host([show-menu]) .cell--content{column-gap:var(--space-unit)}.cell--menu-container{margin-left:auto}:host(:not([show-menu])) .cell--menu-container{opacity:0;pointer-events:none}:host(:is([show-menu],[menu-open])) .cell--menu-container,:host([show-menu]) .cell--menu-container:focus-within{z-index:1;opacity:1;pointer-events:all}:host .cell-popover{z-index:100}@media (min-width: 768px) and (hover: hover){:host([show-menu=\"hover\"]) .cell--menu-container{opacity:0;pointer-events:none}:host([show-menu=\"hover\"]:hover) .cell--menu-container{z-index:1;opacity:1;pointer-events:all}}";
|
|
8
8
|
const ZTdStyle0 = stylesCss;
|
|
9
9
|
|
|
10
10
|
const ZTd$1 = /*@__PURE__*/ proxyCustomElement(class ZTd extends HTMLElement {
|
|
@@ -36,7 +36,7 @@ const ZTd$1 = /*@__PURE__*/ proxyCustomElement(class ZTd extends HTMLElement {
|
|
|
36
36
|
this.updateColspan();
|
|
37
37
|
}
|
|
38
38
|
render() {
|
|
39
|
-
return (h(Host, { key: '
|
|
39
|
+
return (h(Host, { key: 'c9c2a31f99dc72acd54744c8c1abdbb56b0a7df3', role: "cell", "menu-open": this.isMenuOpen }, h("div", { key: 'f503630802052c5c3566b725aba40ea0923d60da', class: "cell--content" }, h("slot", { key: 'e26dc22a7b21eef5475d10124312384593957bf8' }), this.showMenu && (h("div", { key: '4c7204766c53e4502ff24e51e9ea751620246278', class: "cell--menu-container prevent-expand" }, h("z-button", { key: '3d0f59414241c2b195dd45cf74f678b15e957cac', variant: ButtonVariant.TERTIARY, icon: "contextual-menu", size: ControlSize.X_SMALL, ref: (el) => (this.menuTrigger = el), onClick: this.onMenuButtonClick.bind(this) }), h("z-popover", { key: '68d2f577c442c9a72009dd6365cd4182e9333d5a', class: "cell-popover", ref: (el) => (this.popoverEl = el), bindTo: this.menuTrigger, onOpenChange: (event) => (this.isMenuOpen = event.detail.open), position: this.popoverPosition }, h("slot", { key: 'c90cf570174b2e2af659ae02e217d725a1951cb4', name: "contextual-menu" })))))));
|
|
40
40
|
}
|
|
41
41
|
get host() { return this; }
|
|
42
42
|
static get watchers() { return {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"file":"z-td.js","mappings":";;;;;;AAAA,MAAM,SAAS,GAAG,
|
|
1
|
+
{"file":"z-td.js","mappings":";;;;;;AAAA,MAAM,SAAS,GAAG,iiCAAiiC,CAAC;AACpjC,kBAAe,SAAS;;MCWXA,KAAG;;;;;;;sBAaL,KAAK;wBAQkB,IAAI;+BAMA,eAAe,CAAC,IAAI;0BAM3C,KAAK;;IAgBR,aAAa;QACrB,IAAI,IAAI,CAAC,OAAO,EAAE;YAChB,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,UAAU,GAAG,QAAQ,IAAI,CAAC,OAAO,EAAE,CAAC;SACrD;aAAM;YACL,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,cAAc,CAAC,aAAa,CAAC,CAAC;SAC/C;QAED,IAAI,CAAC,aAAa,CAAC,IAAI,CAAC,IAAI,CAAC,OAAO,IAAI,CAAC,CAAC,CAAC;KAC5C;IAEO,iBAAiB,CAAC,EAAc;QACtC,EAAE,CAAC,eAAe,EAAE,CAAC;QACrB,IAAI,CAAC,SAAS,CAAC,IAAI,GAAG,CAAC,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC;KAC5C;IAED,iBAAiB;QACf,IAAI,CAAC,aAAa,EAAE,CAAC;KACtB;IAED,MAAM;QACJ,QACE,EAAC,IAAI,qDACH,IAAI,EAAC,MAAM,eACA,IAAI,CAAC,UAAU,IAE1B,4DAAK,KAAK,EAAC,eAAe,IACxB,8DAAa,EACZ,IAAI,CAAC,QAAQ,KACZ,4DAAK,KAAK,EAAC,qCAAqC,IAC9C,iEACE,OAAO,EAAE,aAAa,CAAC,QAAQ,EAC/B,IAAI,EAAC,iBAAiB,EACtB,IAAI,EAAE,WAAW,CAAC,OAAO,EACzB,GAAG,EAAE,CAAC,EAAE,MAAM,IAAI,CAAC,WAAW,GAAG,EAAwB,CAAC,EAC1D,OAAO,EAAE,IAAI,CAAC,iBAAiB,CAAC,IAAI,CAAC,IAAI,CAAC,GAC1C,EACF,kEACE,KAAK,EAAC,cAAc,EACpB,GAAG,EAAE,CAAC,EAAE,MAAM,IAAI,CAAC,SAAS,GAAG,EAAyB,CAAC,EACzD,MAAM,EAAE,IAAI,CAAC,WAA0B,EACvC,YAAY,EAAE,CAAC,KAAK,MAAM,IAAI,CAAC,UAAU,GAAG,KAAK,CAAC,MAAM,CAAC,IAAI,CAAC,EAC9D,QAAQ,EAAE,IAAI,CAAC,eAAe,IAE9B,6DAAM,IAAI,EAAC,iBAAiB,GAAQ,CAC1B,CACR,CACP,CACG,CACD,EACP;KACH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["ZTd"],"sources":["src/components/table/cells/z-td/styles.css?tag=z-td&encapsulation=shadow","src/components/table/cells/z-td/index.tsx"],"sourcesContent":["@import \"../z-table-cells.css\";\n","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"],"version":3}
|
|
@@ -11,7 +11,7 @@ const ZTfoot$1 = /*@__PURE__*/ proxyCustomElement(class ZTfoot extends HTMLEleme
|
|
|
11
11
|
this.sticky = false;
|
|
12
12
|
}
|
|
13
13
|
render() {
|
|
14
|
-
return (h(Host, { key: '
|
|
14
|
+
return (h(Host, { key: 'a7106c5ef3c347b7cc797a6cd1031e5d29cf2ae3', role: "rowgroup", tabIndex: -1 }, h("slot", { key: 'cd4f042bdfd7df449603fbcb49cf4b78da6f4d36' })));
|
|
15
15
|
}
|
|
16
16
|
static get style() { return ZTfootStyle0; }
|
|
17
17
|
}, [1, "z-tfoot", {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"file":"z-tfoot.js","mappings":";;AAAA,MAAM,SAAS,GAAG,kOAAkO,CAAC;AACrP,qBAAe,SAAS;;MCUXA,QAAM;;;;;sBAKR,KAAK;;IAEd,MAAM;QACJ,QACE,EAAC,IAAI,
|
|
1
|
+
{"file":"z-tfoot.js","mappings":";;AAAA,MAAM,SAAS,GAAG,kOAAkO,CAAC;AACrP,qBAAe,SAAS;;MCUXA,QAAM;;;;;sBAKR,KAAK;;IAEd,MAAM;QACJ,QACE,EAAC,IAAI,qDACH,IAAI,EAAC,UAAU,EACf,QAAQ,EAAE,CAAC,CAAC,IAEZ,8DAAa,CACR,EACP;KACH;;;;;;;;;;;;;;;;;;;;;;;;","names":["ZTfoot"],"sources":["src/components/table/z-tfoot/styles.css?tag=z-tfoot&encapsulation=shadow","src/components/table/z-tfoot/index.tsx"],"sourcesContent":[":host {\n display: block;\n box-sizing: border-box;\n border-top: 1px solid var(--color-surface03);\n border-bottom: 1px solid var(--color-surface03);\n}\n\n:host([sticky]) {\n position: sticky;\n z-index: 1;\n bottom: 0;\n background-color: var(--color-surface01);\n}\n","import {Component, Host, Prop, h} from \"@stencil/core\";\n\n/**\n * ZTFoot component.\n * @slot - ZTFoot content (`z-tr`).\n */\n@Component({\n tag: \"z-tfoot\",\n styleUrl: \"styles.css\",\n shadow: true,\n})\nexport class ZTfoot {\n /**\n * If true, the footer will be stuck to the bottom of the table.\n */\n @Prop({reflect: true})\n sticky = false;\n\n render(): void {\n return (\n <Host\n role=\"rowgroup\"\n tabIndex={-1}\n >\n <slot></slot>\n </Host>\n );\n }\n}\n"],"version":3}
|
package/dist/components/z-th.js
CHANGED
|
@@ -4,7 +4,7 @@ import { d as defineCustomElement$4 } from './index4.js';
|
|
|
4
4
|
import { d as defineCustomElement$3 } from './index9.js';
|
|
5
5
|
import { d as defineCustomElement$2 } from './index23.js';
|
|
6
6
|
|
|
7
|
-
const stylesCss = ":host{position:relative;display:flex;max-width:100%;align-items:center;padding:var(--z-table--cells-padding, calc(var(--space-unit) * 2));background-color:var(--color-surface01);gap:calc(var(--space-unit) * 2) var(--space-unit)}:host,*{box-sizing:border-box}:host([sticky]){position:sticky;z-index:1;top:0;left:0;box-shadow:8px 0 16px -8px var(--shadow-color-base)}:host([menu-open]){z-index:2}
|
|
7
|
+
const stylesCss = ":host{position:relative;display:flex;max-width:100%;align-items:center;padding:calc(var(--z-table--cells-padding, calc(var(--space-unit) * 2)));background-color:var(--color-surface01);gap:calc(var(--space-unit) * 2) var(--space-unit)}:host,*{box-sizing:border-box}:host([sticky]){position:sticky;z-index:1;top:0;left:0;box-shadow:8px 0 16px -8px var(--shadow-color-base)}:host([menu-open]){z-index:2}.cell--content{display:flex;width:100%;height:100%;align-items:center}:host([show-menu]) .cell--content{column-gap:var(--space-unit)}.cell--menu-container{margin-left:auto}:host(:not([show-menu])) .cell--menu-container{opacity:0;pointer-events:none}:host(:is([show-menu],[menu-open])) .cell--menu-container,:host([show-menu]) .cell--menu-container:focus-within{z-index:1;opacity:1;pointer-events:all}:host .cell-popover{z-index:100}@media (min-width: 768px) and (hover: hover){:host([show-menu=\"hover\"]) .cell--menu-container{opacity:0;pointer-events:none}:host([show-menu=\"hover\"]:hover) .cell--menu-container{z-index:1;opacity:1;pointer-events:all}}:host{z-index:1;padding:0;background-color:var(--color-background);font-weight:var(--font-sb)}.cell--content{padding:var(--z-table--cells-padding, calc(var(--space-unit) * 2))}:host([show-sorting]) .cell--content{column-gap:var(--space-unit)}.z-th--sort-button{position:relative;padding:0;border:none;background-color:transparent;cursor:pointer;outline:none}.z-th--sort-button:focus,.z-th--sort-button:focus-visible{box-shadow:var(--shadow-focus-primary);opacity:1;outline:none;pointer-events:all}@media (min-width: 768px) and (hover: hover){:host([show-sorting=\"hover\"]) .z-th--sort-button{opacity:0;pointer-events:none}:host([show-sorting=\"hover\"]:hover) .z-th--sort-button,:host([show-sorting=\"hover\"]) .z-th--sort-button:focus:focus-visible,:host([show-sorting=\"always\"]) .z-th--sort-button,:host([sorted]) .z-th--sort-button{opacity:1;pointer-events:all}}:host([show-sorting=\"hover\"]:hover) .z-th--sort-button::after,:host([show-sorting=\"hover\"]) .z-th--sort-button:focus:focus-visible::after,:host([show-sorting=\"always\"]) .z-th--sort-button::after,:host([sorted]) .z-th--sort-button::after{position:absolute;top:6px;left:6px;width:calc(100% - 12px);height:calc(100% - 10px);background-color:transparent;content:\"\"}";
|
|
8
8
|
const ZThStyle0 = stylesCss;
|
|
9
9
|
|
|
10
10
|
const ZTh$1 = /*@__PURE__*/ proxyCustomElement(class ZTh extends HTMLElement {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"file":"z-th.js","mappings":";;;;;;AAAA,MAAM,SAAS,GAAG,
|
|
1
|
+
{"file":"z-th.js","mappings":";;;;;;AAAA,MAAM,SAAS,GAAG,svEAAsvE,CAAC;AACzwE,kBAAe,SAAS;;MCYXA,KAAG;;;;;;;wBAekB,IAAI;2BAQD,IAAI;sBAM9B,KAAK;;sBAYW,KAAK;+BAMZ,eAAe,CAAC,IAAI;0BAMzB,KAAK;;;;;IAiBlB,IAAY,iBAAiB;QAC3B,IAAI,CAAC,IAAI,CAAC,aAAa,EAAE;YACvB,OAAO,IAAI,CAAC;SACb;QAED,OAAO,IAAI,CAAC,aAAa,KAAK,aAAa,CAAC,GAAG,GAAG,WAAW,GAAG,YAAY,CAAC;KAC9E;;;;;IAMO,UAAU;QAChB,IAAI,CAAC,IAAI,CAAC,aAAa,EAAE;YACvB,IAAI,CAAC,MAAM,GAAG,KAAK,CAAC;YAEpB,OAAO;SACR;QAED,IAAI,CAAC,aAAa,GAAG,IAAI,CAAC,aAAa,KAAK,aAAa,CAAC,GAAG,GAAG,aAAa,CAAC,IAAI,GAAG,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;KACrD;IAGS,aAAa;QACrB,IAAI,IAAI,CAAC,OAAO,EAAE;YAChB,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,UAAU,GAAG,QAAQ,IAAI,CAAC,OAAO,EAAE,CAAC;SACrD;aAAM;YACL,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,cAAc,CAAC,aAAa,CAAC,CAAC;SAC/C;KACF;IAED,iBAAiB;QACf,IAAI,CAAC,aAAa,EAAE,CAAC;KACtB;IAED,MAAM;QACJ,QACE,EAAC,IAAI,qDACH,IAAI,EAAC,cAAc,eACR,IAAI,CAAC,UAAU,eACf,IAAI,CAAC,iBAAiB,EACjC,QAAQ,EAAE,IAAI,CAAC,WAAW,IAE1B,4DAAK,KAAK,EAAC,eAAe,IACxB,8DAAa,EACZ,IAAI,CAAC,WAAW,KACf,+DACE,KAAK,EAAC,mBAAmB,EACzB,IAAI,EAAC,QAAQ,EACb,OAAO,EAAE,IAAI,CAAC,UAAU,CAAC,IAAI,CAAC,IAAI,CAAC,IAEnC,+DACE,IAAI,EAAE,IAAI,CAAC,aAAa,KAAK,aAAa,CAAC,IAAI,GAAG,iBAAiB,GAAG,mBAAmB,EACzF,KAAK,EAAE,EAAE,EACT,MAAM,EAAE,EAAE,GACV,CACK,CACV,EACA,IAAI,CAAC,QAAQ,KACZ,4DAAK,KAAK,EAAC,sBAAsB,IAC/B,iEACE,OAAO,EAAE,aAAa,CAAC,QAAQ,EAC/B,IAAI,EAAC,iBAAiB,EACtB,IAAI,EAAE,WAAW,CAAC,OAAO,EACzB,GAAG,EAAE,CAAC,EAAE,MAAM,IAAI,CAAC,WAAW,GAAG,EAAiB,CAAC,EACnD,OAAO,EAAE,OAAO,IAAI,CAAC,SAAS,CAAC,IAAI,GAAG,CAAC,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,GAC3D,EACF,kEACE,GAAG,EAAE,CAAC,EAAE,MAAM,IAAI,CAAC,SAAS,GAAG,EAAyB,CAAC,EACzD,MAAM,EAAE,IAAI,CAAC,WAAW,EACxB,YAAY,EAAE,CAAC,KAAK,MAAM,IAAI,CAAC,UAAU,GAAG,KAAK,CAAC,MAAM,CAAC,IAAI,CAAC,EAC9D,QAAQ,EAAE,IAAI,CAAC,eAAe,IAE9B,6DAAM,IAAI,EAAC,iBAAiB,GAAQ,CAC1B,CACR,CACP,CACG,CACD,EACP;KACH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["ZTh"],"sources":["src/components/table/cells/z-th/styles.css?tag=z-th&encapsulation=shadow","src/components/table/cells/z-th/index.tsx"],"sourcesContent":["@import \"../z-table-cells.css\";\n\n:host {\n z-index: 1;\n padding: 0;\n background-color: var(--color-background);\n font-weight: var(--font-sb);\n}\n\n.cell--content {\n padding: var(--z-table--cells-padding, calc(var(--space-unit) * 2));\n}\n\n:host([show-sorting]) .cell--content {\n column-gap: var(--space-unit);\n}\n\n.z-th--sort-button {\n position: relative;\n padding: 0;\n border: none;\n background-color: transparent;\n cursor: pointer;\n outline: none;\n}\n\n.z-th--sort-button:focus,\n.z-th--sort-button:focus-visible {\n box-shadow: var(--shadow-focus-primary);\n opacity: 1;\n outline: none;\n pointer-events: all;\n}\n\n@media (min-width: 768px) and (hover: hover) {\n :host([show-sorting=\"hover\"]) .z-th--sort-button {\n opacity: 0;\n pointer-events: none;\n }\n\n :host([show-sorting=\"hover\"]:hover) .z-th--sort-button,\n :host([show-sorting=\"hover\"]) .z-th--sort-button:focus:focus-visible,\n :host([show-sorting=\"always\"]) .z-th--sort-button,\n :host([sorted]) .z-th--sort-button {\n opacity: 1;\n pointer-events: all;\n }\n}\n\n:host([show-sorting=\"hover\"]:hover) .z-th--sort-button::after,\n:host([show-sorting=\"hover\"]) .z-th--sort-button:focus:focus-visible::after,\n:host([show-sorting=\"always\"]) .z-th--sort-button::after,\n:host([sorted]) .z-th--sort-button::after {\n position: absolute;\n top: 6px;\n left: 6px;\n width: calc(100% - 12px);\n height: calc(100% - 10px);\n background-color: transparent;\n content: \"\";\n}\n","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"],"version":3}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
|
|
2
2
|
|
|
3
|
-
const stylesCss = ":host{--z-table--cells-bottom-border-size:var(\n --border-size-medium\n );--z-table--cells-background:var(\n --color-background\n );display:block;box-sizing:border-box}:host([sticky]){position:sticky;z-index:2;top:0;box-shadow:0 2px 4px -2px var(--shadow-color-base)}";
|
|
3
|
+
const stylesCss = ":host{--z-table--cells-bottom-border-size:var(\n --border-size-medium\n );--z-table--cells-background:var(\n --color-background\n );display:block;box-sizing:border-box}:host([sticky]){position:sticky;z-index:2;top:0;box-shadow:0 2px 4px -2px var(--shadow-color-base)}:host(:focus-visible){box-shadow:none;outline:none}";
|
|
4
4
|
const ZTheadStyle0 = stylesCss;
|
|
5
5
|
|
|
6
6
|
const ZThead$1 = /*@__PURE__*/ proxyCustomElement(class ZThead extends HTMLElement {
|
|
@@ -9,13 +9,16 @@ const ZThead$1 = /*@__PURE__*/ proxyCustomElement(class ZThead extends HTMLEleme
|
|
|
9
9
|
this.__registerHost();
|
|
10
10
|
this.__attachShadow();
|
|
11
11
|
this.sticky = false;
|
|
12
|
+
this.isFocusable = false;
|
|
12
13
|
}
|
|
13
14
|
render() {
|
|
14
|
-
return (h(Host, { key: '
|
|
15
|
+
return (h(Host, { key: '17fe1d87112460ce7b7dd16e72cb3be1b92c7eb3', role: "rowgroup", tabIndex: this.isFocusable ? 0 : -1 }, h("slot", { key: 'ef0c0e95a383057b7ed5964f7c24cb8a59b31808' })));
|
|
15
16
|
}
|
|
17
|
+
get host() { return this; }
|
|
16
18
|
static get style() { return ZTheadStyle0; }
|
|
17
19
|
}, [1, "z-thead", {
|
|
18
|
-
"sticky": [516]
|
|
20
|
+
"sticky": [516],
|
|
21
|
+
"isFocusable": [516, "is-focusable"]
|
|
19
22
|
}]);
|
|
20
23
|
function defineCustomElement$1() {
|
|
21
24
|
if (typeof customElements === "undefined") {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"file":"z-thead.js","mappings":";;AAAA,MAAM,SAAS,GAAG,
|
|
1
|
+
{"file":"z-thead.js","mappings":";;AAAA,MAAM,SAAS,GAAG,wUAAwU,CAAC;AAC3V,qBAAe,SAAS;;MCUXA,QAAM;;;;;sBAOR,KAAK;2BAMA,KAAK;;IAEnB,MAAM;QACJ,QACE,EAAC,IAAI,qDACH,IAAI,EAAC,UAAU,EACf,QAAQ,EAAE,IAAI,CAAC,WAAW,GAAG,CAAC,GAAG,CAAC,CAAC,IAEnC,8DAAa,CACR,EACP;KACH;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["ZThead"],"sources":["src/components/table/z-thead/styles.css?tag=z-thead&encapsulation=shadow","src/components/table/z-thead/index.tsx"],"sourcesContent":[":host {\n --z-table--cells-bottom-border-size: var(\n --border-size-medium\n ); /* Needed to handle the border of the expand button cell */\n\n --z-table--cells-background: var(\n --color-background\n ); /* Needed to handle the background-color of the expand button cell */\n\n display: block;\n box-sizing: border-box;\n}\n\n:host([sticky]) {\n position: sticky;\n z-index: 2;\n top: 0;\n box-shadow: 0 2px 4px -2px var(--shadow-color-base);\n}\n\n:host(:focus-visible) {\n box-shadow: none;\n outline: none;\n}\n","import {Component, Element, Host, Prop, h} from \"@stencil/core\";\n\n/**\n * ZThead component.\n * @slot - ZThead content (`z-tr`).\n */\n@Component({\n tag: \"z-thead\",\n styleUrl: \"styles.css\",\n shadow: true,\n})\nexport class ZThead {\n @Element() host: HTMLZTheadElement;\n\n /**\n * If true, the header will be stuck to the top of the table.\n */\n @Prop({reflect: true})\n sticky = false;\n\n /**\n * The element is focusable\n */\n @Prop({reflect: true})\n isFocusable = false;\n\n render(): HTMLZTheadElement {\n return (\n <Host\n role=\"rowgroup\"\n tabIndex={this.isFocusable ? 0 : -1}\n >\n <slot></slot>\n </Host>\n );\n }\n}\n"],"version":3}
|
|
@@ -43,7 +43,7 @@ const ZToastNotificationList$1 = /*@__PURE__*/ proxyCustomElement(class ZToastNo
|
|
|
43
43
|
}
|
|
44
44
|
}
|
|
45
45
|
render() {
|
|
46
|
-
return h("slot", { key: '
|
|
46
|
+
return h("slot", { key: 'a9c11e55185366906495c445a3352f72254ae390', name: "toasts" });
|
|
47
47
|
}
|
|
48
48
|
get hostElement() { return this; }
|
|
49
49
|
static get watchers() { return {
|
|
@@ -4171,7 +4171,7 @@ const ZToastNotification$1 = /*@__PURE__*/ proxyCustomElement(class ZToastNotifi
|
|
|
4171
4171
|
} })))));
|
|
4172
4172
|
}
|
|
4173
4173
|
render() {
|
|
4174
|
-
return (h(Host, { key: '
|
|
4174
|
+
return (h(Host, { key: '2be336d6b255e861e1e60fc7fab83ae29a5dfb1b', style: { "--percentuale": `${this.percentage}%` }, class: this.transition ? this.transition : "", onAnimationEnd: (e) => {
|
|
4175
4175
|
if (this.autoclose && e.animationName.includes("slidein")) {
|
|
4176
4176
|
this.startClosingTimeout(this.autoclose);
|
|
4177
4177
|
}
|
|
@@ -24,10 +24,10 @@ const ZToggleButton$1 = /*@__PURE__*/ proxyCustomElement(class ZToggleButton ext
|
|
|
24
24
|
this.toggleClick.emit(this.opened);
|
|
25
25
|
}
|
|
26
26
|
render() {
|
|
27
|
-
return (h("button", { key: '
|
|
27
|
+
return (h("button", { key: '7ea71641a362b06f79fc18c44f5722f148d68bca', tabindex: this.avoidclick ? "-1" : "0", class: {
|
|
28
28
|
"isopen": this.opened,
|
|
29
29
|
"avoid-clicks": this.avoidclick,
|
|
30
|
-
}, disabled: this.isdisabled, "aria-expanded": this.opened ? "true" : "false", "aria-label": this.ariaLabel, onClick: () => this.emitToggleClick() }, h("z-icon", { key: '
|
|
30
|
+
}, disabled: this.isdisabled, "aria-expanded": this.opened ? "true" : "false", "aria-label": this.ariaLabel, onClick: () => this.emitToggleClick() }, h("z-icon", { key: 'b6362ba86a8f2e9ae5778e70ec28712a541841cd', name: this.opened ? "chevron-down" : "chevron-up", width: 16, height: 16 }), this.label));
|
|
31
31
|
}
|
|
32
32
|
static get style() { return ZToggleButtonStyle0; }
|
|
33
33
|
}, [1, "z-toggle-button", {
|
|
@@ -30,14 +30,14 @@ const ZToggleSwitch$1 = /*@__PURE__*/ proxyCustomElement(class ZToggleSwitch ext
|
|
|
30
30
|
this.emitToggleClick();
|
|
31
31
|
}
|
|
32
32
|
render() {
|
|
33
|
-
return (h(Host, { key: '
|
|
33
|
+
return (h(Host, { key: '25e15bfaa9fadcb7b96251ff8146905877233624' }, h("input", { key: '9f4f0be0fcf7fba56195998a16966b74a6e2324c', id: this.htmlid, type: "checkbox", checked: this.checked, disabled: this.disabled, onChange: this.handleClick.bind(this) }), h("label", { key: 'cc29c0e884c74f3beeaf81290ba607f17c67701a', htmlFor: this.htmlid, class: {
|
|
34
34
|
[this.labelPosition]: true,
|
|
35
35
|
disabled: this.disabled,
|
|
36
|
-
} }, h("span", { key: '
|
|
36
|
+
} }, h("span", { key: '757ccbc98f2a7f91ff5b3477fc149f4496d87189' }, h("slot", { key: '505879e878f513c75c8d9af2a82ede3259fe39a0' })), h("span", { key: '7d56c1e57c886cfe8f7ab2ce903958f07a1e83ba', class: {
|
|
37
37
|
container: true,
|
|
38
38
|
disabled: this.disabled,
|
|
39
39
|
checked: this.checked,
|
|
40
|
-
} }, h("span", { key: '
|
|
40
|
+
} }, h("span", { key: 'b2c587e20596144ddd26ab0a002ad560df156aa6', class: "circle" }, this.checked && (h("z-icon", { key: 'd438e7f776b8eae418293bfa827b4950285dc6da', width: 12, height: 12, name: "checkmark" })))))));
|
|
41
41
|
}
|
|
42
42
|
static get style() { return ZToggleSwitchStyle0; }
|
|
43
43
|
}, [6, "z-toggle-switch", {
|
|
@@ -20,7 +20,7 @@ const ZTooltip$1 = /*@__PURE__*/ proxyCustomElement(class ZTooltip extends HTMLE
|
|
|
20
20
|
this.open = this.popoverEl.open;
|
|
21
21
|
}
|
|
22
22
|
render() {
|
|
23
|
-
return (h("z-popover", { key: '
|
|
23
|
+
return (h("z-popover", { key: '7f3f2a54754ce53b4480eed65116bdff1cd0ac30', ref: (el) => (this.popoverEl = el), bindTo: this.bindTo, open: this.open, position: this.position, closable: this.closable, center: true, showArrow: true }, h("slot", { key: '37f2dab454e27b1817c9fc3ae68e5f29dfee13e8' })));
|
|
24
24
|
}
|
|
25
25
|
static get style() { return ZTooltipStyle0; }
|
|
26
26
|
}, [1, "z-tooltip", {
|
package/dist/components/z-tr.js
CHANGED
|
@@ -4,7 +4,7 @@ import './index2.js';
|
|
|
4
4
|
import { d as defineCustomElement$2 } from './index9.js';
|
|
5
5
|
import './index23.js';
|
|
6
6
|
|
|
7
|
-
const stylesCss = ":host{
|
|
7
|
+
const stylesCss = ":host{position:relative;display:grid;width:100%;box-sizing:border-box;grid-auto-flow:column;grid-template-columns:var(--z-table--expand-button-size, 0) repeat(var(--columns), minmax(128px, 1fr));--columns:1}*{box-sizing:border-box}.z-tr--expand-button-container,::slotted(*){border-bottom:var(--z-table--cells-bottom-border-size, var(--border-size-small)) solid var(--color-surface03)}::slotted(*:not(:last-child)){border-right:var(--z-table--cell-left-border, none)}:host([expandable]){--show-expandable-button:visible;cursor:pointer}:host([expandable]) ::slotted(*){grid-row:1}:host([expandable]) ::slotted(:nth-last-child(2)){border-right:none}:host([expandable]) ::slotted(*:last-child){border-left:0;grid-column:1 / span calc(var(--columns) + 1);grid-row:2}:host([expandable]:not([expanded])) ::slotted(*:last-child){display:none}:host([expanded]){margin-bottom:4px;box-shadow:0 4px 4px -2px var(--shadow-color-base)}:host([expanded]) .z-tr--expand-button-container,:host([expanded]) ::slotted(*){background-color:var(--color-background)}:host(:hover){position:relative;z-index:10;box-shadow:0 4px 4px -2px var(--shadow-color-base, rgb(0 0 0 / 20%))}:host(:focus){position:relative;z-index:20;box-shadow:var(--shadow-focus-primary);outline:none}.z-tr--expand-button-container{display:flex;align-items:center;justify-content:center;background-color:var(--z-table--cells-background, var(--color-surface01))}.z-tr--expand-button-container button{display:flex;align-items:center;justify-content:center;padding:0;border:none;margin:auto;appearance:none;background:transparent;cursor:pointer;visibility:var(--show-expandable-button, hidden)}.z-tr--expand-button-container button:focus{box-shadow:var(--shadow-focus-primary);outline:none}.z-tr--expand-button-container button z-icon{--z-icon-width:16px;--z-icon-height:16px}.z-tr--focus-overlay{position:absolute;z-index:30;right:0;left:0;width:100%;border-radius:4px;box-shadow:none;inset:0;outline:none;pointer-events:none;transition:box-shadow 0.2s}:host(:focus) .z-tr--focus-overlay{box-shadow:0 0 0 2px var(--shadow-focus-primary),\n var(--shadow-focus-primary);outline:none}:host(:focus) ::slotted(*){border-bottom:none}:host(:focus) .z-tr--expand-button-container{border-bottom:none}";
|
|
8
8
|
const ZTrStyle0 = stylesCss;
|
|
9
9
|
|
|
10
10
|
const ZTr$1 = /*@__PURE__*/ proxyCustomElement(class ZTr extends HTMLElement {
|
|
@@ -42,11 +42,25 @@ const ZTr$1 = /*@__PURE__*/ proxyCustomElement(class ZTr extends HTMLElement {
|
|
|
42
42
|
this.expanded = !this.expanded;
|
|
43
43
|
this.expand.emit({ expanded: this.expanded });
|
|
44
44
|
}
|
|
45
|
+
onKeyDown(event) {
|
|
46
|
+
if (!this.expandable) {
|
|
47
|
+
return;
|
|
48
|
+
}
|
|
49
|
+
const active = document.activeElement;
|
|
50
|
+
if (active !== this.host) {
|
|
51
|
+
return;
|
|
52
|
+
}
|
|
53
|
+
if (event.key === "Enter" || event.key === " ") {
|
|
54
|
+
event.preventDefault();
|
|
55
|
+
this.expanded = !this.expanded;
|
|
56
|
+
this.expand.emit({ expanded: this.expanded });
|
|
57
|
+
}
|
|
58
|
+
}
|
|
45
59
|
componentWillLoad() {
|
|
46
60
|
this.updateColumns();
|
|
47
61
|
}
|
|
48
62
|
render() {
|
|
49
|
-
return (h(Host, { key: '
|
|
63
|
+
return (h(Host, { key: '5a8cbf39900a7569b0fb31d225be6fade59c82ea', role: "row", tabIndex: 0, expanded: this.expanded, onClick: this.onRowClick.bind(this), onKeyDown: this.onKeyDown.bind(this) }, h("div", { key: '75f7a74a6eda8f50d40beedbe387da74d58c276b', class: "z-tr--focus-overlay", "aria-hidden": "true" }), h("div", { key: 'd34b5aa1778f3d830fd80354c79cd93a9b703737', class: "z-tr--expand-button-container" }, this.expandable && (h("button", { key: 'fef99c968e191fe7970665b9a45721fada207db0', tabIndex: -1, "aria-expanded": this.expanded ? "true" : "false", "aria-label": this.expanded ? "Comprimi riga" : "Espandi riga", "aria-controls": this.expandableContentId, type: "button" }, h("z-icon", { key: 'f1cf676da370f0c2500914decdc5f09e1e647b7f', name: this.expanded ? "minus-circled" : "plus-circled" })))), h("slot", { key: 'cd09d8ed8cf0a33137d4d1d91ec9720227f359ba', onSlotchange: this.updateColumns.bind(this) })));
|
|
50
64
|
}
|
|
51
65
|
get host() { return this; }
|
|
52
66
|
static get watchers() { return {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"file":"z-tr.js","mappings":";;;;;;AAAA,MAAM,SAAS,GAAG,
|
|
1
|
+
{"file":"z-tr.js","mappings":";;;;;;AAAA,MAAM,SAAS,GAAG,msEAAmsE,CAAC;AACttE,kBAAe,SAAS;;MCeXA,KAAG;;;;;;0BAaD,KAAK;wBAMP,KAAK;;;IAeN,aAAa;QACrB,MAAM,KAAK,GAAG,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,gBAAgB,CAAkC,YAAY,CAAC,CAAC,CAAC;QACpG,IAAI,IAAI,CAAC,UAAU,EAAE;YACnB,KAAK,CAAC,GAAG,EAAE,CAAC;SACb;QAED,MAAM,OAAO,GAAG,KAAK,CAAC,GAAG,CAAC,CAAC,IAAI,KAAK,IAAI,CAAC,OAAO,IAAI,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,CAAC,KAAK,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC,CAAC;QAClF,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,WAAW,CAAC,WAAW,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;QAEvD,IAAI,IAAI,CAAC,UAAU,EAAE;YACnB,MAAM,iBAAiB,GAAG,KAAK,CAAC,GAAG,EAAE,CAAC;YACtC,iBAAiB,CAAC,EAAE,GAAG,iBAAiB,CAAC,EAAE,IAAI,2BAA2B,QAAQ,EAAE,EAAE,CAAC;YACvF,IAAI,CAAC,mBAAmB,GAAG,iBAAiB,CAAC,EAAE,CAAC;SACjD;KACF;;;;;IAMO,UAAU,CAAC,KAAiB;QAClC,MAAM,aAAa,GAAI,KAAK,CAAC,MAAsB,CAAC,OAAO,CAAC,iBAAiB,CAAC,CAAC;QAC/E,IAAI,CAAC,IAAI,CAAC,UAAU,IAAI,aAAa,EAAE;YACrC,OAAO;SACR;QAED,IAAI,CAAC,QAAQ,GAAG,CAAC,IAAI,CAAC,QAAQ,CAAC;QAC/B,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,EAAC,QAAQ,EAAE,IAAI,CAAC,QAAQ,EAAC,CAAC,CAAC;KAC7C;IAEO,SAAS,CAAC,KAAoB;QACpC,IAAI,CAAC,IAAI,CAAC,UAAU,EAAE;YACpB,OAAO;SACR;QAED,MAAM,MAAM,GAAG,QAAQ,CAAC,aAAa,CAAC;QACtC,IAAI,MAAM,KAAK,IAAI,CAAC,IAAI,EAAE;YACxB,OAAO;SACR;QAED,IAAI,KAAK,CAAC,GAAG,KAAK,OAAO,IAAI,KAAK,CAAC,GAAG,KAAK,GAAG,EAAE;YAC9C,KAAK,CAAC,cAAc,EAAE,CAAC;YACvB,IAAI,CAAC,QAAQ,GAAG,CAAC,IAAI,CAAC,QAAQ,CAAC;YAC/B,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,EAAC,QAAQ,EAAE,IAAI,CAAC,QAAQ,EAAC,CAAC,CAAC;SAC7C;KACF;IAED,iBAAiB;QACf,IAAI,CAAC,aAAa,EAAE,CAAC;KACtB;IAED,MAAM;QACJ,QACE,EAAC,IAAI,qDACH,IAAI,EAAC,KAAK,EACV,QAAQ,EAAE,CAAC,EACX,QAAQ,EAAE,IAAI,CAAC,QAAQ,EACvB,OAAO,EAAE,IAAI,CAAC,UAAU,CAAC,IAAI,CAAC,IAAI,CAAC,EACnC,SAAS,EAAE,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,IAEpC,4DACE,KAAK,EAAC,qBAAqB,iBACf,MAAM,GACb,EACP,4DAAK,KAAK,EAAC,+BAA+B,IACvC,IAAI,CAAC,UAAU,KACd,+DACE,QAAQ,EAAE,CAAC,CAAC,mBACG,IAAI,CAAC,QAAQ,GAAG,MAAM,GAAG,OAAO,gBACnC,IAAI,CAAC,QAAQ,GAAG,eAAe,GAAG,cAAc,mBAC7C,IAAI,CAAC,mBAAmB,EACvC,IAAI,EAAC,QAAQ,IAEb,+DAAQ,IAAI,EAAE,IAAI,CAAC,QAAQ,GAAG,eAAe,GAAG,cAAc,GAAW,CAClE,CACV,CACG,EACN,6DAAM,YAAY,EAAE,IAAI,CAAC,aAAa,CAAC,IAAI,CAAC,IAAI,CAAC,GAAS,CACrD,EACP;KACH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["ZTr"],"sources":["src/components/table/z-tr/styles.css?tag=z-tr&encapsulation=shadow","src/components/table/z-tr/index.tsx"],"sourcesContent":[":host {\n position: relative;\n display: grid;\n width: 100%;\n box-sizing: border-box;\n grid-auto-flow: column;\n grid-template-columns: var(--z-table--expand-button-size, 0) repeat(var(--columns), minmax(128px, 1fr));\n\n --columns: 1;\n}\n\n* {\n box-sizing: border-box;\n}\n\n.z-tr--expand-button-container,\n::slotted(*) {\n border-bottom: var(--z-table--cells-bottom-border-size, var(--border-size-small)) solid var(--color-surface03);\n}\n\n::slotted(*:not(:last-child)) {\n border-right: var(--z-table--cell-left-border, none);\n}\n\n:host([expandable]) {\n --show-expandable-button: visible;\n\n cursor: pointer;\n}\n\n:host([expandable]) ::slotted(*) {\n grid-row: 1;\n}\n\n:host([expandable]) ::slotted(:nth-last-child(2)) {\n border-right: none;\n}\n\n:host([expandable]) ::slotted(*:last-child) {\n border-left: 0;\n grid-column: 1 / span calc(var(--columns) + 1);\n grid-row: 2;\n}\n\n:host([expandable]:not([expanded])) ::slotted(*:last-child) {\n display: none;\n}\n\n:host([expanded]) {\n margin-bottom: 4px; /* prevents shadow to be cut by the next element */\n box-shadow: 0 4px 4px -2px var(--shadow-color-base);\n}\n\n:host([expanded]) .z-tr--expand-button-container,\n:host([expanded]) ::slotted(*) {\n background-color: var(--color-background);\n}\n\n:host(:hover) {\n position: relative;\n z-index: 10;\n box-shadow: 0 4px 4px -2px var(--shadow-color-base, rgb(0 0 0 / 20%));\n}\n\n:host(:focus) {\n position: relative;\n z-index: 20;\n box-shadow: var(--shadow-focus-primary);\n outline: none;\n}\n\n.z-tr--expand-button-container {\n display: flex;\n align-items: center;\n justify-content: center;\n background-color: var(--z-table--cells-background, var(--color-surface01));\n}\n\n.z-tr--expand-button-container button {\n display: flex;\n align-items: center;\n justify-content: center;\n padding: 0;\n border: none;\n margin: auto;\n appearance: none;\n background: transparent;\n cursor: pointer;\n visibility: var(--show-expandable-button, hidden);\n}\n\n.z-tr--expand-button-container button:focus {\n box-shadow: var(--shadow-focus-primary);\n outline: none;\n}\n\n.z-tr--expand-button-container button z-icon {\n --z-icon-width: 16px;\n --z-icon-height: 16px;\n}\n\n.z-tr--focus-overlay {\n position: absolute;\n z-index: 30;\n right: 0;\n left: 0;\n width: 100%;\n border-radius: 4px;\n box-shadow: none;\n inset: 0;\n outline: none;\n pointer-events: none;\n transition: box-shadow 0.2s;\n}\n\n:host(:focus) .z-tr--focus-overlay {\n box-shadow:\n 0 0 0 2px var(--shadow-focus-primary),\n var(--shadow-focus-primary);\n outline: none;\n}\n\n:host(:focus) ::slotted(*) {\n border-bottom: none;\n}\n\n:host(:focus) .z-tr--expand-button-container {\n border-bottom: none;\n}\n","import {Component, Element, Event, EventEmitter, Host, Listen, Prop, State, Watch, h} from \"@stencil/core\";\nimport {randomId} from \"../../../utils/utils\";\nimport \"../cells/z-td/index\";\nimport \"../cells/z-th/index\";\n\n/**\n * ZTr component.\n * When the row is `expandable`, you can set the `prevent-expand` css class on an interactive element inside the row\n * to prevent the row from expanding.\n * @slot - ZTr content (`z-td` or `z-th`).\n */\n@Component({\n tag: \"z-tr\",\n styleUrl: \"styles.css\",\n shadow: true,\n})\nexport class ZTr {\n @Element() host: HTMLZTrElement;\n\n /**\n * Whether the row is expandable.\n * Use a `z-td` as the last cell of the row for the additional content.\n * It will show a button to expand/collapse the row.\n * The last cell will be hidden until the button or row is clicked.\n *\n * If some element inside the expandable row contains the `prevent-expand` css class,\n * the row will not expand by clicking that element.\n */\n @Prop({reflect: true})\n expandable = false;\n\n /**\n * Whether the row is currently expanded.\n */\n @State()\n expanded = false;\n\n /**\n * HTML Id of the expandable content.\n * It is used to link the button to the content through the `aria-controls` attribute.\n */\n @State()\n expandableContentId: string;\n\n /** Row has been expanded */\n @Event()\n expand: EventEmitter;\n\n @Watch(\"expandable\")\n @Listen(\"colspanchange\")\n protected updateColumns(): void {\n const cells = Array.from(this.host.querySelectorAll<HTMLZTdElement | HTMLZThElement>(\"z-td, z-th\"));\n if (this.expandable) {\n cells.pop();\n }\n\n const columns = cells.map((cell) => cell.colspan || 1).reduce((a, b) => a + b, 0);\n this.host.style.setProperty(\"--columns\", `${columns}`);\n\n if (this.expandable) {\n const expandableContent = cells.pop();\n expandableContent.id = expandableContent.id || `z-tr-expandable-content-${randomId()}`;\n this.expandableContentId = expandableContent.id;\n }\n }\n\n /**\n * Handle click on row.\n * Skip expansion if the click is on a element with `prevent-expand` css class.\n */\n private onRowClick(event: MouseEvent): void {\n const preventExpand = (event.target as HTMLElement).closest(\".prevent-expand\");\n if (!this.expandable || preventExpand) {\n return;\n }\n\n this.expanded = !this.expanded;\n this.expand.emit({expanded: this.expanded});\n }\n\n private onKeyDown(event: KeyboardEvent): void {\n if (!this.expandable) {\n return;\n }\n\n const active = document.activeElement;\n if (active !== this.host) {\n return;\n }\n\n if (event.key === \"Enter\" || event.key === \" \") {\n event.preventDefault();\n this.expanded = !this.expanded;\n this.expand.emit({expanded: this.expanded});\n }\n }\n\n componentWillLoad(): void {\n this.updateColumns();\n }\n\n render(): HTMLZTrElement {\n return (\n <Host\n role=\"row\"\n tabIndex={0}\n expanded={this.expanded}\n onClick={this.onRowClick.bind(this)}\n onKeyDown={this.onKeyDown.bind(this)}\n >\n <div\n class=\"z-tr--focus-overlay\"\n aria-hidden=\"true\"\n ></div>\n <div class=\"z-tr--expand-button-container\">\n {this.expandable && (\n <button\n tabIndex={-1}\n aria-expanded={this.expanded ? \"true\" : \"false\"}\n aria-label={this.expanded ? \"Comprimi riga\" : \"Espandi riga\"}\n aria-controls={this.expandableContentId}\n type=\"button\"\n >\n <z-icon name={this.expanded ? \"minus-circled\" : \"plus-circled\"}></z-icon>\n </button>\n )}\n </div>\n <slot onSlotchange={this.updateColumns.bind(this)}></slot>\n </Host>\n );\n }\n}\n"],"version":3}
|
|
@@ -10,7 +10,7 @@ const ZVisuallyHidden$1 = /*@__PURE__*/ proxyCustomElement(class ZVisuallyHidden
|
|
|
10
10
|
this.__attachShadow();
|
|
11
11
|
}
|
|
12
12
|
render() {
|
|
13
|
-
return h("slot", { key: '
|
|
13
|
+
return h("slot", { key: 'b76451842cf32ab957ee81e9b689e94e35256524' });
|
|
14
14
|
}
|
|
15
15
|
static get style() { return ZVisuallyHiddenStyle0; }
|
|
16
16
|
}, [1, "z-visually-hidden"]);
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { r as registerInstance, h, a as Host, g as getElement } from './index-c8ceadeb.js';
|
|
2
|
+
|
|
3
|
+
const stylesCss = ":host{--z-table--cells-bottom-border-size:var(\n --border-size-medium\n );--z-table--cells-background:var(\n --color-background\n );display:block;box-sizing:border-box}:host([sticky]){position:sticky;z-index:2;top:0;box-shadow:0 2px 4px -2px var(--shadow-color-base)}:host(:focus-visible){box-shadow:none;outline:none}";
|
|
4
|
+
const ZTheadStyle0 = stylesCss;
|
|
5
|
+
|
|
6
|
+
const ZThead = class {
|
|
7
|
+
constructor(hostRef) {
|
|
8
|
+
registerInstance(this, hostRef);
|
|
9
|
+
this.sticky = false;
|
|
10
|
+
this.isFocusable = false;
|
|
11
|
+
}
|
|
12
|
+
render() {
|
|
13
|
+
return (h(Host, { key: '17fe1d87112460ce7b7dd16e72cb3be1b92c7eb3', role: "rowgroup", tabIndex: this.isFocusable ? 0 : -1 }, h("slot", { key: 'ef0c0e95a383057b7ed5964f7c24cb8a59b31808' })));
|
|
14
|
+
}
|
|
15
|
+
get host() { return getElement(this); }
|
|
16
|
+
};
|
|
17
|
+
ZThead.style = ZTheadStyle0;
|
|
18
|
+
|
|
19
|
+
export { ZThead as Z };
|
|
20
|
+
|
|
21
|
+
//# sourceMappingURL=index-0bcacbd3.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"file":"index-0bcacbd3.js","mappings":";;AAAA,MAAM,SAAS,GAAG,wUAAwU,CAAC;AAC3V,qBAAe,SAAS;;MCUX,MAAM;;;sBAOR,KAAK;2BAMA,KAAK;;IAEnB,MAAM;QACJ,QACE,EAAC,IAAI,qDACH,IAAI,EAAC,UAAU,EACf,QAAQ,EAAE,IAAI,CAAC,WAAW,GAAG,CAAC,GAAG,CAAC,CAAC,IAEnC,8DAAa,CACR,EACP;KACH;;;;;;;","names":[],"sources":["src/components/table/z-thead/styles.css?tag=z-thead&encapsulation=shadow","src/components/table/z-thead/index.tsx"],"sourcesContent":[":host {\n --z-table--cells-bottom-border-size: var(\n --border-size-medium\n ); /* Needed to handle the border of the expand button cell */\n\n --z-table--cells-background: var(\n --color-background\n ); /* Needed to handle the background-color of the expand button cell */\n\n display: block;\n box-sizing: border-box;\n}\n\n:host([sticky]) {\n position: sticky;\n z-index: 2;\n top: 0;\n box-shadow: 0 2px 4px -2px var(--shadow-color-base);\n}\n\n:host(:focus-visible) {\n box-shadow: none;\n outline: none;\n}\n","import {Component, Element, Host, Prop, h} from \"@stencil/core\";\n\n/**\n * ZThead component.\n * @slot - ZThead content (`z-tr`).\n */\n@Component({\n tag: \"z-thead\",\n styleUrl: \"styles.css\",\n shadow: true,\n})\nexport class ZThead {\n @Element() host: HTMLZTheadElement;\n\n /**\n * If true, the header will be stuck to the top of the table.\n */\n @Prop({reflect: true})\n sticky = false;\n\n /**\n * The element is focusable\n */\n @Prop({reflect: true})\n isFocusable = false;\n\n render(): HTMLZTheadElement {\n return (\n <Host\n role=\"rowgroup\"\n tabIndex={this.isFocusable ? 0 : -1}\n >\n <slot></slot>\n </Host>\n );\n }\n}\n"],"version":3}
|