@zanichelli/albe-web-components 18.2.0-RC1 → 18.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +4 -0
- package/dist/cjs/{index-0cb5e57a.js → index-1c288846.js} +2 -2
- package/dist/cjs/{index-0cb5e57a.js.map → index-1c288846.js.map} +1 -1
- package/dist/cjs/index-4f18c0e2.js.map +1 -1
- package/dist/cjs/{index-41d3dc9e.js → index-50ec1f12.js} +2 -2
- package/dist/cjs/{index-41d3dc9e.js.map → index-50ec1f12.js.map} +1 -1
- package/dist/cjs/{index-48540995.js → index-5af9d3d1.js} +2 -2
- package/dist/cjs/{index-48540995.js.map → index-5af9d3d1.js.map} +1 -1
- package/dist/cjs/index-96af6326.js +4 -0
- package/dist/cjs/{index-1c3f7a64.js → index-afafb76c.js} +2 -2
- package/dist/cjs/{index-1c3f7a64.js.map → index-afafb76c.js.map} +1 -1
- package/dist/cjs/{index-24b23a97.js → index-be1dfa97.js} +4 -4
- package/dist/cjs/{index-24b23a97.js.map → index-be1dfa97.js.map} +1 -1
- package/dist/cjs/{index-f9fe3768.js → index-be650150.js} +2 -2
- package/dist/cjs/{index-f9fe3768.js.map → index-be650150.js.map} +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/web-components-library.cjs.js +1 -1
- package/dist/cjs/z-accordion.cjs.entry.js +1 -1
- package/dist/cjs/z-alert.cjs.entry.js +1 -1
- package/dist/cjs/z-anchor-navigation.cjs.entry.js +1 -1
- package/dist/cjs/z-app-header_12.cjs.entry.js +7 -7
- package/dist/cjs/z-app-header_12.cjs.entry.js.map +1 -1
- package/dist/cjs/z-aria-alert.cjs.entry.js +1 -1
- package/dist/cjs/z-avatar.cjs.entry.js +2 -2
- package/dist/cjs/z-book-card.cjs.entry.js +1 -1
- package/dist/cjs/z-book-card.cjs.entry.js.map +1 -1
- package/dist/cjs/z-breadcrumb.cjs.entry.js +2 -2
- package/dist/cjs/z-button-sort.cjs.entry.js +1 -1
- package/dist/cjs/z-chip.cjs.entry.js +2 -2
- package/dist/cjs/z-combobox.cjs.entry.js +1 -1
- package/dist/cjs/z-cover-hero.cjs.entry.js +2 -2
- package/dist/cjs/z-dragdrop-area_2.cjs.entry.js +4 -4
- package/dist/cjs/z-file-upload.cjs.entry.js +3 -2
- package/dist/cjs/z-file-upload.cjs.entry.js.map +1 -1
- package/dist/cjs/z-ghost-loading.cjs.entry.js +1 -1
- package/dist/cjs/z-info-box.cjs.entry.js +1 -1
- package/dist/cjs/z-info-reveal.cjs.entry.js +1 -1
- package/dist/cjs/z-logo.cjs.entry.js +1 -1
- package/dist/cjs/z-menu-section.cjs.entry.js +1 -1
- package/dist/cjs/z-myz-card-alert.cjs.entry.js +1 -1
- package/dist/cjs/z-myz-card-dictionary.cjs.entry.js +1 -1
- package/dist/cjs/z-myz-card-footer-sections.cjs.entry.js +1 -1
- package/dist/cjs/z-myz-card-footer.cjs.entry.js +1 -1
- package/dist/cjs/z-myz-card-icon.cjs.entry.js +1 -1
- package/dist/cjs/z-myz-card-info.cjs.entry.js +1 -1
- package/dist/cjs/z-myz-card-list.cjs.entry.js +1 -1
- package/dist/cjs/z-myz-card_4.cjs.entry.js +4 -4
- package/dist/cjs/z-myz-list-item.cjs.entry.js +1 -1
- package/dist/cjs/z-myz-list.cjs.entry.js +1 -1
- package/dist/cjs/z-navigation-tabs.cjs.entry.js +2 -2
- package/dist/cjs/z-notification.cjs.entry.js +1 -1
- package/dist/cjs/z-otp.cjs.entry.js +2 -2
- package/dist/cjs/z-panel-elem.cjs.entry.js +2 -2
- package/dist/cjs/z-popover.cjs.entry.js +1 -1
- package/dist/cjs/z-section-title.cjs.entry.js +1 -1
- package/dist/cjs/z-select.cjs.entry.js +22 -15
- package/dist/cjs/z-select.cjs.entry.js.map +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-tbody.cjs.entry.js +1 -1
- package/dist/cjs/z-td.cjs.entry.js +1 -1
- package/dist/cjs/z-tfoot.cjs.entry.js +1 -1
- package/dist/cjs/z-th.cjs.entry.js +1 -1
- package/dist/cjs/z-thead.cjs.entry.js +1 -1
- package/dist/cjs/z-toast-notification-list.cjs.entry.js +1 -1
- package/dist/cjs/z-toast-notification.cjs.entry.js +1 -1
- package/dist/cjs/z-toggle-button.cjs.entry.js +2 -2
- package/dist/cjs/z-toggle-switch.cjs.entry.js +3 -3
- package/dist/cjs/z-tooltip.cjs.entry.js +1 -1
- package/dist/cjs/z-tr.cjs.entry.js +3 -3
- package/dist/cjs/z-tree-list.cjs.entry.js +118 -0
- package/dist/cjs/z-tree-list.cjs.entry.js.map +1 -0
- package/dist/cjs/z-visually-hidden.cjs.entry.js +1 -1
- package/dist/collection/beans/index.js.map +1 -1
- package/dist/collection/collection-manifest.json +1 -0
- package/dist/collection/components/book-card/z-book-card/styles.css +3 -3
- package/dist/collection/components/file-upload/z-file-upload/index.js +5 -3
- package/dist/collection/components/file-upload/z-file-upload/index.js.map +1 -1
- package/dist/collection/components/list/z-list-element/index.js +1 -1
- package/dist/collection/components/list/z-list-element/index.js.map +1 -1
- package/dist/collection/components/list/z-tree-list/index.js +199 -0
- package/dist/collection/components/list/z-tree-list/index.js.map +1 -0
- package/dist/collection/components/list/z-tree-list/index.stories.js +120 -0
- package/dist/collection/components/list/z-tree-list/index.stories.js.map +1 -0
- package/dist/collection/components/list/z-tree-list/styles.css +142 -0
- package/dist/collection/components/table/cells/z-td/index.js +1 -1
- package/dist/collection/components/table/cells/z-th/index.js +1 -1
- package/dist/collection/components/table/z-table/index.js +1 -1
- package/dist/collection/components/table/z-tbody/index.js +1 -1
- package/dist/collection/components/table/z-tfoot/index.js +1 -1
- package/dist/collection/components/table/z-thead/index.js +1 -1
- package/dist/collection/components/table/z-tr/index.js +1 -1
- package/dist/collection/components/z-accordion/index.js +1 -1
- package/dist/collection/components/z-anchor-navigation/index.js +1 -1
- package/dist/collection/components/z-app-header/index.js +1 -1
- package/dist/collection/components/z-aria-alert/index.js +1 -1
- package/dist/collection/components/z-avatar/index.js +2 -2
- package/dist/collection/components/z-breadcrumb/index.js +2 -2
- package/dist/collection/components/z-button-sort/index.js +1 -1
- package/dist/collection/components/z-chip/index.js +2 -2
- package/dist/collection/components/z-combobox/index.js +1 -1
- package/dist/collection/components/z-cover-hero/index.js +2 -2
- package/dist/collection/components/z-divider/index.js +1 -1
- package/dist/collection/components/z-ghost-loading/index.js +1 -1
- package/dist/collection/components/z-info-box/index.js +1 -1
- package/dist/collection/components/z-info-reveal/index.js +1 -1
- package/dist/collection/components/z-input/index.js +1 -1
- package/dist/collection/components/z-input-message/index.js +1 -1
- package/dist/collection/components/z-logo/index.js +1 -1
- package/dist/collection/components/z-menu-section/index.js +1 -1
- package/dist/collection/components/z-modal/index.js +4 -4
- package/dist/collection/components/z-navigation-tabs/index.js +2 -2
- package/dist/collection/components/z-notification/index.js +1 -1
- package/dist/collection/components/z-offcanvas/index.js +1 -1
- package/dist/collection/components/z-panel-elem/index.js +2 -2
- package/dist/collection/components/z-popover/index.js +1 -1
- package/dist/collection/components/z-searchbar/index.js +1 -1
- package/dist/collection/components/z-section-title/index.js +1 -1
- package/dist/collection/components/z-select/index.js +22 -15
- package/dist/collection/components/z-select/index.js.map +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/index.d.ts +2 -0
- package/dist/components/index.js +1 -0
- package/dist/components/index.js.map +1 -1
- package/dist/components/index10.js +1 -1
- package/dist/components/index11.js +1 -1
- package/dist/components/index12.js +1 -1
- package/dist/components/index14.js +1 -1
- package/dist/components/index14.js.map +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/index2.js.map +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-book-card.js +1 -1
- package/dist/components/z-book-card.js.map +1 -1
- package/dist/components/z-breadcrumb.js +2 -2
- package/dist/components/z-button-sort.js +1 -1
- package/dist/components/z-combobox.js +1 -1
- package/dist/components/z-cover-hero.js +2 -2
- package/dist/components/z-file-upload.js +4 -2
- package/dist/components/z-file-upload.js.map +1 -1
- 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-section-title.js +1 -1
- package/dist/components/z-select.js +22 -15
- package/dist/components/z-select.js.map +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 +1 -1
- package/dist/components/z-tbody.js +1 -1
- package/dist/components/z-td.js +1 -1
- package/dist/components/z-tfoot.js +1 -1
- package/dist/components/z-th.js +1 -1
- package/dist/components/z-thead.js +1 -1
- package/dist/components/z-toast-notification-list.js +1 -1
- package/dist/components/z-toast-notification.js +1 -1
- package/dist/components/z-toggle-button.js +2 -2
- package/dist/components/z-toggle-switch.js +3 -3
- package/dist/components/z-tooltip.js +1 -1
- package/dist/components/z-tr.js +1 -1
- package/dist/components/z-tree-list.d.ts +11 -0
- package/dist/components/z-tree-list.js +162 -0
- package/dist/components/z-tree-list.js.map +1 -0
- package/dist/components/z-visually-hidden.js +1 -1
- package/dist/esm/{index-7ff7476c.js → index-1294ef3d.js} +4 -4
- package/dist/esm/{index-7ff7476c.js.map → index-1294ef3d.js.map} +1 -1
- package/dist/esm/{index-f87879d9.js → index-2a83dc12.js} +2 -2
- package/dist/esm/{index-f87879d9.js.map → index-2a83dc12.js.map} +1 -1
- package/dist/esm/{index-8965837f.js → index-43637886.js} +2 -2
- package/dist/esm/{index-8965837f.js.map → index-43637886.js.map} +1 -1
- package/dist/esm/{index-dfd97928.js → index-9a0ea49b.js} +2 -2
- package/dist/esm/{index-dfd97928.js.map → index-9a0ea49b.js.map} +1 -1
- package/dist/esm/{index-0ebe53c2.js → index-b2c92bbb.js} +2 -2
- package/dist/esm/{index-0ebe53c2.js.map → index-b2c92bbb.js.map} +1 -1
- package/dist/esm/index-c8ceadeb.js +4 -0
- package/dist/esm/{index-f75609c5.js → index-ea1d61dc.js} +2 -2
- package/dist/esm/{index-f75609c5.js.map → index-ea1d61dc.js.map} +1 -1
- package/dist/esm/index-fe87283d.js.map +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/web-components-library.js +1 -1
- package/dist/esm/z-accordion.entry.js +1 -1
- package/dist/esm/z-alert.entry.js +1 -1
- package/dist/esm/z-anchor-navigation.entry.js +1 -1
- package/dist/esm/z-app-header_12.entry.js +7 -7
- package/dist/esm/z-app-header_12.entry.js.map +1 -1
- package/dist/esm/z-aria-alert.entry.js +1 -1
- package/dist/esm/z-avatar.entry.js +2 -2
- package/dist/esm/z-book-card.entry.js +1 -1
- package/dist/esm/z-book-card.entry.js.map +1 -1
- package/dist/esm/z-breadcrumb.entry.js +2 -2
- package/dist/esm/z-button-sort.entry.js +1 -1
- package/dist/esm/z-chip.entry.js +2 -2
- package/dist/esm/z-combobox.entry.js +1 -1
- package/dist/esm/z-cover-hero.entry.js +2 -2
- package/dist/esm/z-dragdrop-area_2.entry.js +4 -4
- package/dist/esm/z-file-upload.entry.js +3 -2
- package/dist/esm/z-file-upload.entry.js.map +1 -1
- package/dist/esm/z-ghost-loading.entry.js +1 -1
- package/dist/esm/z-info-box.entry.js +1 -1
- package/dist/esm/z-info-reveal.entry.js +1 -1
- package/dist/esm/z-logo.entry.js +1 -1
- package/dist/esm/z-menu-section.entry.js +1 -1
- package/dist/esm/z-myz-card-alert.entry.js +1 -1
- package/dist/esm/z-myz-card-dictionary.entry.js +1 -1
- package/dist/esm/z-myz-card-footer-sections.entry.js +1 -1
- package/dist/esm/z-myz-card-footer.entry.js +1 -1
- package/dist/esm/z-myz-card-icon.entry.js +1 -1
- package/dist/esm/z-myz-card-info.entry.js +1 -1
- package/dist/esm/z-myz-card-list.entry.js +1 -1
- package/dist/esm/z-myz-card_4.entry.js +4 -4
- package/dist/esm/z-myz-list-item.entry.js +1 -1
- package/dist/esm/z-myz-list.entry.js +1 -1
- package/dist/esm/z-navigation-tabs.entry.js +2 -2
- package/dist/esm/z-notification.entry.js +1 -1
- package/dist/esm/z-otp.entry.js +2 -2
- package/dist/esm/z-panel-elem.entry.js +2 -2
- package/dist/esm/z-popover.entry.js +1 -1
- package/dist/esm/z-section-title.entry.js +1 -1
- package/dist/esm/z-select.entry.js +22 -15
- package/dist/esm/z-select.entry.js.map +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-tbody.entry.js +1 -1
- package/dist/esm/z-td.entry.js +1 -1
- package/dist/esm/z-tfoot.entry.js +1 -1
- package/dist/esm/z-th.entry.js +1 -1
- package/dist/esm/z-thead.entry.js +1 -1
- package/dist/esm/z-toast-notification-list.entry.js +1 -1
- package/dist/esm/z-toast-notification.entry.js +1 -1
- package/dist/esm/z-toggle-button.entry.js +2 -2
- package/dist/esm/z-toggle-switch.entry.js +3 -3
- package/dist/esm/z-tooltip.entry.js +1 -1
- package/dist/esm/z-tr.entry.js +3 -3
- package/dist/esm/z-tree-list.entry.js +114 -0
- package/dist/esm/z-tree-list.entry.js.map +1 -0
- package/dist/esm/z-visually-hidden.entry.js +1 -1
- package/dist/types/beans/index.d.ts +8 -0
- package/dist/types/components/file-upload/z-file-upload/index.d.ts +2 -1
- package/dist/types/components/list/z-tree-list/index.d.ts +27 -0
- package/dist/types/components/list/z-tree-list/index.stories.d.ts +25 -0
- package/dist/types/components.d.ts +58 -2
- package/dist/web-components-library/{p-838b298b.entry.js → p-07da09b0.entry.js} +2 -2
- package/dist/web-components-library/{p-7b13eeff.entry.js → p-1d78d37b.entry.js} +2 -2
- package/dist/web-components-library/{p-9bad1dbc.entry.js → p-1ee52b2e.entry.js} +2 -2
- package/{www/build/p-8fa23b47.entry.js → dist/web-components-library/p-2618e4de.entry.js} +2 -2
- package/dist/web-components-library/p-26f324ab.js +2 -0
- package/dist/web-components-library/p-2726182b.entry.js +2 -0
- package/dist/web-components-library/p-2726182b.entry.js.map +1 -0
- package/dist/web-components-library/p-29759f61.entry.js +2 -0
- package/{www/build/p-df97df54.entry.js → dist/web-components-library/p-2a657ab1.entry.js} +2 -2
- package/dist/web-components-library/p-2ac26cde.entry.js +2 -0
- package/dist/web-components-library/p-2e373eba.entry.js +2 -0
- package/{www/build/p-7ecc3acf.entry.js → dist/web-components-library/p-3abd3f25.entry.js} +2 -2
- package/dist/web-components-library/{p-1ece11f1.entry.js → p-3e1983eb.entry.js} +2 -2
- package/dist/web-components-library/{p-121f2960.entry.js → p-43aea424.entry.js} +2 -2
- package/dist/web-components-library/p-473ac922.entry.js +2 -0
- package/dist/web-components-library/{p-8fdf9453.entry.js.map → p-473ac922.entry.js.map} +1 -1
- package/dist/web-components-library/p-4900a14c.entry.js +2 -0
- package/{www/build/p-abd3b914.entry.js → dist/web-components-library/p-506d2cdb.entry.js} +2 -2
- package/{www/build/p-bae9cf07.entry.js → dist/web-components-library/p-542e0154.entry.js} +2 -2
- package/dist/web-components-library/{p-adb5caab.entry.js → p-6598aee0.entry.js} +2 -2
- package/{www/build/p-9fcc8e5d.entry.js → dist/web-components-library/p-663115e2.entry.js} +2 -2
- package/dist/web-components-library/p-66576512.entry.js +2 -0
- package/dist/web-components-library/p-66576512.entry.js.map +1 -0
- package/dist/web-components-library/{p-4de706ad.entry.js → p-6669b4c9.entry.js} +2 -2
- package/dist/web-components-library/p-6a6d30ae.entry.js +2 -0
- package/dist/web-components-library/p-6a6d30ae.entry.js.map +1 -0
- package/dist/web-components-library/{p-390bbfd4.entry.js → p-6b679226.entry.js} +2 -2
- package/dist/web-components-library/p-6e8d5142.js +2 -0
- package/dist/web-components-library/{p-bc408f39.js.map → p-6e8d5142.js.map} +1 -1
- package/{www/build/p-2467913e.entry.js → dist/web-components-library/p-6f761080.entry.js} +2 -2
- package/dist/web-components-library/p-7000e4f8.js +2 -0
- package/dist/web-components-library/{p-1c017b32.entry.js → p-72c07bbd.entry.js} +2 -2
- package/dist/web-components-library/{p-054da210.entry.js → p-79aab6de.entry.js} +2 -2
- package/dist/web-components-library/{p-054da210.entry.js.map → p-79aab6de.entry.js.map} +1 -1
- package/dist/web-components-library/{p-1cbc1b08.entry.js → p-7a33fe43.entry.js} +2 -2
- package/dist/web-components-library/p-88983b48.entry.js +2 -0
- package/{www/build/p-bc71a934.entry.js → dist/web-components-library/p-8ca5851b.entry.js} +2 -2
- package/dist/web-components-library/{p-e5ce98e0.entry.js → p-8ec302f8.entry.js} +2 -2
- package/dist/web-components-library/{p-ae1b5e23.entry.js → p-8f59d90d.entry.js} +2 -2
- package/dist/web-components-library/{p-28c972c6.entry.js → p-8fe13fca.entry.js} +2 -2
- package/{www/build/p-bd44674f.entry.js → dist/web-components-library/p-95e28308.entry.js} +2 -2
- package/dist/web-components-library/p-95e28308.entry.js.map +1 -0
- package/dist/web-components-library/{p-d9fdc804.entry.js → p-a1d45a8b.entry.js} +2 -2
- package/dist/web-components-library/p-a2217ed8.entry.js +2 -0
- package/dist/web-components-library/{p-0d9f1574.js → p-a2b1d98b.js} +2 -2
- package/dist/web-components-library/p-a9d05a92.entry.js +2 -0
- package/dist/web-components-library/p-ad821c05.entry.js +2 -0
- package/{www/build/p-8eb94125.entry.js → dist/web-components-library/p-b0d88afc.entry.js} +2 -2
- package/dist/web-components-library/{p-25be56d1.entry.js → p-b0f758e7.entry.js} +2 -2
- package/dist/web-components-library/{p-b94e0513.entry.js → p-b1561f18.entry.js} +2 -2
- package/dist/web-components-library/{p-5d7bbd82.entry.js → p-b16272ea.entry.js} +2 -2
- package/dist/web-components-library/{p-fad6ea09.entry.js → p-b240bd96.entry.js} +2 -2
- package/{www/build/p-d20df54b.entry.js → dist/web-components-library/p-b555681f.entry.js} +2 -2
- package/dist/web-components-library/{p-7f707293.entry.js → p-b69a3542.entry.js} +2 -2
- package/dist/web-components-library/{p-301b56f1.entry.js → p-c4878fa9.entry.js} +2 -2
- package/dist/web-components-library/{p-55fad9b1.entry.js → p-c8501bd3.entry.js} +2 -2
- package/dist/web-components-library/p-ca1a7347.entry.js +2 -0
- package/dist/web-components-library/{p-8c5dcab3.entry.js → p-d5e29462.entry.js} +2 -2
- package/{www/build/p-7314c74b.entry.js → dist/web-components-library/p-d60b9285.entry.js} +2 -2
- package/dist/web-components-library/{p-30677b5c.entry.js → p-d9592fa6.entry.js} +2 -2
- package/dist/web-components-library/p-dc46730d.entry.js +2 -0
- package/dist/web-components-library/p-dfcf9936.js.map +1 -1
- package/dist/web-components-library/{p-1c51153b.entry.js → p-e4627f9a.entry.js} +2 -2
- package/dist/web-components-library/{p-6655e19b.entry.js → p-e853ccde.entry.js} +2 -2
- package/dist/web-components-library/p-ee43894c.js +2 -0
- package/dist/web-components-library/{p-f9f98130.entry.js → p-ee7185cf.entry.js} +2 -2
- package/dist/web-components-library/{p-0cb113f9.js → p-fbe3bc33.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 +2 -2
- package/react/components.d.ts +1 -0
- package/react/components.js +2 -1
- package/react/components.js.map +1 -1
- package/www/build/{p-838b298b.entry.js → p-07da09b0.entry.js} +2 -2
- package/www/build/{p-7b13eeff.entry.js → p-1d78d37b.entry.js} +2 -2
- package/www/build/{p-9bad1dbc.entry.js → p-1ee52b2e.entry.js} +2 -2
- package/{dist/web-components-library/p-8fa23b47.entry.js → www/build/p-2618e4de.entry.js} +2 -2
- package/www/build/p-26f324ab.js +2 -0
- package/www/build/p-2726182b.entry.js +2 -0
- package/www/build/p-2726182b.entry.js.map +1 -0
- package/www/build/p-29759f61.entry.js +2 -0
- package/{dist/web-components-library/p-df97df54.entry.js → www/build/p-2a657ab1.entry.js} +2 -2
- package/www/build/p-2ac26cde.entry.js +2 -0
- package/www/build/p-2e373eba.entry.js +2 -0
- package/{dist/web-components-library/p-7ecc3acf.entry.js → www/build/p-3abd3f25.entry.js} +2 -2
- package/www/build/{p-1ece11f1.entry.js → p-3e1983eb.entry.js} +2 -2
- package/www/build/{p-121f2960.entry.js → p-43aea424.entry.js} +2 -2
- package/www/build/p-473ac922.entry.js +2 -0
- package/www/build/{p-8fdf9453.entry.js.map → p-473ac922.entry.js.map} +1 -1
- package/www/build/p-4900a14c.entry.js +2 -0
- package/{dist/web-components-library/p-abd3b914.entry.js → www/build/p-506d2cdb.entry.js} +2 -2
- package/{dist/web-components-library/p-bae9cf07.entry.js → www/build/p-542e0154.entry.js} +2 -2
- package/www/build/{p-adb5caab.entry.js → p-6598aee0.entry.js} +2 -2
- package/{dist/web-components-library/p-9fcc8e5d.entry.js → www/build/p-663115e2.entry.js} +2 -2
- package/www/build/p-66576512.entry.js +2 -0
- package/www/build/p-66576512.entry.js.map +1 -0
- package/www/build/{p-4de706ad.entry.js → p-6669b4c9.entry.js} +2 -2
- package/www/build/p-6a6d30ae.entry.js +2 -0
- package/www/build/p-6a6d30ae.entry.js.map +1 -0
- package/www/build/{p-390bbfd4.entry.js → p-6b679226.entry.js} +2 -2
- package/www/build/p-6e8d5142.js +2 -0
- package/www/build/{p-bc408f39.js.map → p-6e8d5142.js.map} +1 -1
- package/{dist/web-components-library/p-2467913e.entry.js → www/build/p-6f761080.entry.js} +2 -2
- package/www/build/p-7000e4f8.js +2 -0
- package/www/build/{p-1c017b32.entry.js → p-72c07bbd.entry.js} +2 -2
- package/www/build/{p-054da210.entry.js → p-79aab6de.entry.js} +2 -2
- package/www/build/{p-054da210.entry.js.map → p-79aab6de.entry.js.map} +1 -1
- package/www/build/{p-1cbc1b08.entry.js → p-7a33fe43.entry.js} +2 -2
- package/www/build/p-88983b48.entry.js +2 -0
- package/{dist/web-components-library/p-bc71a934.entry.js → www/build/p-8ca5851b.entry.js} +2 -2
- package/www/build/{p-e5ce98e0.entry.js → p-8ec302f8.entry.js} +2 -2
- package/www/build/{p-ae1b5e23.entry.js → p-8f59d90d.entry.js} +2 -2
- package/www/build/{p-28c972c6.entry.js → p-8fe13fca.entry.js} +2 -2
- package/{dist/web-components-library/p-bd44674f.entry.js → www/build/p-95e28308.entry.js} +2 -2
- package/www/build/p-95e28308.entry.js.map +1 -0
- package/www/build/{p-d9fdc804.entry.js → p-a1d45a8b.entry.js} +2 -2
- package/www/build/p-a2217ed8.entry.js +2 -0
- package/www/build/{p-0d9f1574.js → p-a2b1d98b.js} +2 -2
- package/www/build/p-a9d05a92.entry.js +2 -0
- package/www/build/p-ad821c05.entry.js +2 -0
- package/{dist/web-components-library/p-8eb94125.entry.js → www/build/p-b0d88afc.entry.js} +2 -2
- package/www/build/{p-25be56d1.entry.js → p-b0f758e7.entry.js} +2 -2
- package/www/build/{p-b94e0513.entry.js → p-b1561f18.entry.js} +2 -2
- package/www/build/{p-5d7bbd82.entry.js → p-b16272ea.entry.js} +2 -2
- package/www/build/{p-fad6ea09.entry.js → p-b240bd96.entry.js} +2 -2
- package/{dist/web-components-library/p-d20df54b.entry.js → www/build/p-b555681f.entry.js} +2 -2
- package/www/build/{p-7f707293.entry.js → p-b69a3542.entry.js} +2 -2
- package/www/build/{p-301b56f1.entry.js → p-c4878fa9.entry.js} +2 -2
- package/www/build/{p-55fad9b1.entry.js → p-c8501bd3.entry.js} +2 -2
- package/www/build/p-ca1a7347.entry.js +2 -0
- package/www/build/{p-8c5dcab3.entry.js → p-d5e29462.entry.js} +2 -2
- package/{dist/web-components-library/p-7314c74b.entry.js → www/build/p-d60b9285.entry.js} +2 -2
- package/www/build/{p-30677b5c.entry.js → p-d9592fa6.entry.js} +2 -2
- package/www/build/p-dc46730d.entry.js +2 -0
- package/www/build/p-dfcf9936.js.map +1 -1
- package/www/build/{p-1c51153b.entry.js → p-e4627f9a.entry.js} +2 -2
- package/www/build/{p-6655e19b.entry.js → p-e853ccde.entry.js} +2 -2
- package/www/build/p-ee43894c.js +2 -0
- package/www/build/{p-f9f98130.entry.js → p-ee7185cf.entry.js} +2 -2
- package/www/build/p-fb3cf8fc.js +2 -0
- package/www/build/{p-0cb113f9.js → p-fbe3bc33.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/web-components-library/p-1bbf185c.js +0 -2
- package/dist/web-components-library/p-3a42612f.entry.js +0 -2
- package/dist/web-components-library/p-431f5871.js +0 -2
- package/dist/web-components-library/p-5ed87dec.entry.js +0 -2
- package/dist/web-components-library/p-61a83529.entry.js +0 -2
- package/dist/web-components-library/p-7ce5ca87.entry.js +0 -2
- package/dist/web-components-library/p-8fdf9453.entry.js +0 -2
- package/dist/web-components-library/p-968727f8.entry.js +0 -2
- package/dist/web-components-library/p-968727f8.entry.js.map +0 -1
- package/dist/web-components-library/p-99a6c92f.entry.js +0 -2
- package/dist/web-components-library/p-99a6c92f.entry.js.map +0 -1
- package/dist/web-components-library/p-aaab7f44.entry.js +0 -2
- package/dist/web-components-library/p-abc08ea3.entry.js +0 -2
- package/dist/web-components-library/p-acee5500.entry.js +0 -2
- package/dist/web-components-library/p-bc408f39.js +0 -2
- package/dist/web-components-library/p-bd44674f.entry.js.map +0 -1
- package/dist/web-components-library/p-cfbef2c3.entry.js +0 -2
- package/dist/web-components-library/p-ec8f8ac8.entry.js +0 -2
- package/dist/web-components-library/p-f7f2beae.js +0 -2
- package/dist/web-components-library/p-f8d49a59.entry.js +0 -2
- package/www/build/p-1bbf185c.js +0 -2
- package/www/build/p-3a42612f.entry.js +0 -2
- package/www/build/p-431f5871.js +0 -2
- package/www/build/p-5ed87dec.entry.js +0 -2
- package/www/build/p-61a83529.entry.js +0 -2
- package/www/build/p-7ce5ca87.entry.js +0 -2
- package/www/build/p-8fdf9453.entry.js +0 -2
- package/www/build/p-968727f8.entry.js +0 -2
- package/www/build/p-968727f8.entry.js.map +0 -1
- package/www/build/p-99a6c92f.entry.js +0 -2
- package/www/build/p-99a6c92f.entry.js.map +0 -1
- package/www/build/p-aaab7f44.entry.js +0 -2
- package/www/build/p-abc08ea3.entry.js +0 -2
- package/www/build/p-acee5500.entry.js +0 -2
- package/www/build/p-b16b67df.js +0 -2
- package/www/build/p-bc408f39.js +0 -2
- package/www/build/p-bd44674f.entry.js.map +0 -1
- package/www/build/p-cfbef2c3.entry.js +0 -2
- package/www/build/p-ec8f8ac8.entry.js +0 -2
- package/www/build/p-f7f2beae.js +0 -2
- package/www/build/p-f8d49a59.entry.js +0 -2
- /package/dist/web-components-library/{p-838b298b.entry.js.map → p-07da09b0.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-7b13eeff.entry.js.map → p-1d78d37b.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-9bad1dbc.entry.js.map → p-1ee52b2e.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-8fa23b47.entry.js.map → p-2618e4de.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-f7f2beae.js.map → p-26f324ab.js.map} +0 -0
- /package/dist/web-components-library/{p-3a42612f.entry.js.map → p-29759f61.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-df97df54.entry.js.map → p-2a657ab1.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-61a83529.entry.js.map → p-2ac26cde.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-aaab7f44.entry.js.map → p-2e373eba.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-7ecc3acf.entry.js.map → p-3abd3f25.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-1ece11f1.entry.js.map → p-3e1983eb.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-121f2960.entry.js.map → p-43aea424.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-abc08ea3.entry.js.map → p-4900a14c.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-abd3b914.entry.js.map → p-506d2cdb.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-bae9cf07.entry.js.map → p-542e0154.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-adb5caab.entry.js.map → p-6598aee0.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-9fcc8e5d.entry.js.map → p-663115e2.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-4de706ad.entry.js.map → p-6669b4c9.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-390bbfd4.entry.js.map → p-6b679226.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-2467913e.entry.js.map → p-6f761080.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-1bbf185c.js.map → p-7000e4f8.js.map} +0 -0
- /package/dist/web-components-library/{p-1c017b32.entry.js.map → p-72c07bbd.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-1cbc1b08.entry.js.map → p-7a33fe43.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-cfbef2c3.entry.js.map → p-88983b48.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-bc71a934.entry.js.map → p-8ca5851b.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-e5ce98e0.entry.js.map → p-8ec302f8.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-ae1b5e23.entry.js.map → p-8f59d90d.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-28c972c6.entry.js.map → p-8fe13fca.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-d9fdc804.entry.js.map → p-a1d45a8b.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-5ed87dec.entry.js.map → p-a2217ed8.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-0d9f1574.js.map → p-a2b1d98b.js.map} +0 -0
- /package/dist/web-components-library/{p-7ce5ca87.entry.js.map → p-a9d05a92.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-f8d49a59.entry.js.map → p-ad821c05.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-8eb94125.entry.js.map → p-b0d88afc.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-25be56d1.entry.js.map → p-b0f758e7.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-b94e0513.entry.js.map → p-b1561f18.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-5d7bbd82.entry.js.map → p-b16272ea.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-fad6ea09.entry.js.map → p-b240bd96.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-d20df54b.entry.js.map → p-b555681f.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-7f707293.entry.js.map → p-b69a3542.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-301b56f1.entry.js.map → p-c4878fa9.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-55fad9b1.entry.js.map → p-c8501bd3.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-acee5500.entry.js.map → p-ca1a7347.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-8c5dcab3.entry.js.map → p-d5e29462.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-7314c74b.entry.js.map → p-d60b9285.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-30677b5c.entry.js.map → p-d9592fa6.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-ec8f8ac8.entry.js.map → p-dc46730d.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-1c51153b.entry.js.map → p-e4627f9a.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-6655e19b.entry.js.map → p-e853ccde.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-431f5871.js.map → p-ee43894c.js.map} +0 -0
- /package/dist/web-components-library/{p-f9f98130.entry.js.map → p-ee7185cf.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-0cb113f9.js.map → p-fbe3bc33.js.map} +0 -0
- /package/www/build/{p-838b298b.entry.js.map → p-07da09b0.entry.js.map} +0 -0
- /package/www/build/{p-7b13eeff.entry.js.map → p-1d78d37b.entry.js.map} +0 -0
- /package/www/build/{p-9bad1dbc.entry.js.map → p-1ee52b2e.entry.js.map} +0 -0
- /package/www/build/{p-8fa23b47.entry.js.map → p-2618e4de.entry.js.map} +0 -0
- /package/www/build/{p-f7f2beae.js.map → p-26f324ab.js.map} +0 -0
- /package/www/build/{p-3a42612f.entry.js.map → p-29759f61.entry.js.map} +0 -0
- /package/www/build/{p-df97df54.entry.js.map → p-2a657ab1.entry.js.map} +0 -0
- /package/www/build/{p-61a83529.entry.js.map → p-2ac26cde.entry.js.map} +0 -0
- /package/www/build/{p-aaab7f44.entry.js.map → p-2e373eba.entry.js.map} +0 -0
- /package/www/build/{p-7ecc3acf.entry.js.map → p-3abd3f25.entry.js.map} +0 -0
- /package/www/build/{p-1ece11f1.entry.js.map → p-3e1983eb.entry.js.map} +0 -0
- /package/www/build/{p-121f2960.entry.js.map → p-43aea424.entry.js.map} +0 -0
- /package/www/build/{p-abc08ea3.entry.js.map → p-4900a14c.entry.js.map} +0 -0
- /package/www/build/{p-abd3b914.entry.js.map → p-506d2cdb.entry.js.map} +0 -0
- /package/www/build/{p-bae9cf07.entry.js.map → p-542e0154.entry.js.map} +0 -0
- /package/www/build/{p-adb5caab.entry.js.map → p-6598aee0.entry.js.map} +0 -0
- /package/www/build/{p-9fcc8e5d.entry.js.map → p-663115e2.entry.js.map} +0 -0
- /package/www/build/{p-4de706ad.entry.js.map → p-6669b4c9.entry.js.map} +0 -0
- /package/www/build/{p-390bbfd4.entry.js.map → p-6b679226.entry.js.map} +0 -0
- /package/www/build/{p-2467913e.entry.js.map → p-6f761080.entry.js.map} +0 -0
- /package/www/build/{p-1bbf185c.js.map → p-7000e4f8.js.map} +0 -0
- /package/www/build/{p-1c017b32.entry.js.map → p-72c07bbd.entry.js.map} +0 -0
- /package/www/build/{p-1cbc1b08.entry.js.map → p-7a33fe43.entry.js.map} +0 -0
- /package/www/build/{p-cfbef2c3.entry.js.map → p-88983b48.entry.js.map} +0 -0
- /package/www/build/{p-bc71a934.entry.js.map → p-8ca5851b.entry.js.map} +0 -0
- /package/www/build/{p-e5ce98e0.entry.js.map → p-8ec302f8.entry.js.map} +0 -0
- /package/www/build/{p-ae1b5e23.entry.js.map → p-8f59d90d.entry.js.map} +0 -0
- /package/www/build/{p-28c972c6.entry.js.map → p-8fe13fca.entry.js.map} +0 -0
- /package/www/build/{p-d9fdc804.entry.js.map → p-a1d45a8b.entry.js.map} +0 -0
- /package/www/build/{p-5ed87dec.entry.js.map → p-a2217ed8.entry.js.map} +0 -0
- /package/www/build/{p-0d9f1574.js.map → p-a2b1d98b.js.map} +0 -0
- /package/www/build/{p-7ce5ca87.entry.js.map → p-a9d05a92.entry.js.map} +0 -0
- /package/www/build/{p-f8d49a59.entry.js.map → p-ad821c05.entry.js.map} +0 -0
- /package/www/build/{p-8eb94125.entry.js.map → p-b0d88afc.entry.js.map} +0 -0
- /package/www/build/{p-25be56d1.entry.js.map → p-b0f758e7.entry.js.map} +0 -0
- /package/www/build/{p-b94e0513.entry.js.map → p-b1561f18.entry.js.map} +0 -0
- /package/www/build/{p-5d7bbd82.entry.js.map → p-b16272ea.entry.js.map} +0 -0
- /package/www/build/{p-fad6ea09.entry.js.map → p-b240bd96.entry.js.map} +0 -0
- /package/www/build/{p-d20df54b.entry.js.map → p-b555681f.entry.js.map} +0 -0
- /package/www/build/{p-7f707293.entry.js.map → p-b69a3542.entry.js.map} +0 -0
- /package/www/build/{p-301b56f1.entry.js.map → p-c4878fa9.entry.js.map} +0 -0
- /package/www/build/{p-55fad9b1.entry.js.map → p-c8501bd3.entry.js.map} +0 -0
- /package/www/build/{p-acee5500.entry.js.map → p-ca1a7347.entry.js.map} +0 -0
- /package/www/build/{p-8c5dcab3.entry.js.map → p-d5e29462.entry.js.map} +0 -0
- /package/www/build/{p-7314c74b.entry.js.map → p-d60b9285.entry.js.map} +0 -0
- /package/www/build/{p-30677b5c.entry.js.map → p-d9592fa6.entry.js.map} +0 -0
- /package/www/build/{p-ec8f8ac8.entry.js.map → p-dc46730d.entry.js.map} +0 -0
- /package/www/build/{p-1c51153b.entry.js.map → p-e4627f9a.entry.js.map} +0 -0
- /package/www/build/{p-6655e19b.entry.js.map → p-e853ccde.entry.js.map} +0 -0
- /package/www/build/{p-431f5871.js.map → p-ee43894c.js.map} +0 -0
- /package/www/build/{p-f9f98130.entry.js.map → p-ee7185cf.entry.js.map} +0 -0
- /package/www/build/{p-0cb113f9.js.map → p-fbe3bc33.js.map} +0 -0
|
@@ -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: '441a3e0656da274193c4a12681b9e9d641690982', role: "rowgroup" }, h("slot", { key: '5e80207cbf1238b2141fcd657cb10fc18be7bccb' })));
|
|
15
15
|
}
|
|
16
16
|
static get style() { return ZTfootStyle0; }
|
|
17
17
|
}, [1, "z-tfoot", {
|
package/dist/components/z-th.js
CHANGED
|
@@ -56,7 +56,7 @@ const ZTh$1 = /*@__PURE__*/ proxyCustomElement(class ZTh extends HTMLElement {
|
|
|
56
56
|
this.updateColspan();
|
|
57
57
|
}
|
|
58
58
|
render() {
|
|
59
|
-
return (h(Host, { key: '
|
|
59
|
+
return (h(Host, { key: 'e8bf215c5bdf5c0486d0de3768919d54a94b8b46', role: "columnheader", "menu-open": this.isMenuOpen, "aria-sort": this.ariaSortDirection, sortable: this.showSorting }, h("div", { key: 'e7dfc68ddaeac9f1f763eb62e2717ea5e166df16', class: "cell--content" }, h("slot", { key: '96edba7522e8e43bcfecea9d305ffc9840548020' }), this.showSorting && (h("button", { key: '81cef37216c2c823b1027df224ddb905d3c9d412', class: "z-th--sort-button", type: "button", onClick: this.handleSort.bind(this) }, h("z-icon", { key: 'b00db383bf202b9f774781551a6e59329fed10b2', name: this.sortDirection === SortDirection.DESC ? "arrow-simple-up" : "arrow-simple-down", width: 14, height: 14 }))), this.showMenu && (h("div", { key: '2762feca4feeff61aa673d2a3535f91c9ee7db03', class: "cell--menu-container" }, h("z-button", { key: 'e91a00179db0075255b57d5f946e3c321883faf6', variant: ButtonVariant.TERTIARY, icon: "contextual-menu", size: ControlSize.X_SMALL, ref: (el) => (this.menuTrigger = el), onClick: () => (this.popoverEl.open = !this.popoverEl.open) }), h("z-popover", { key: 'c632eb1071f2533aa86251e8e345eda845512693', ref: (el) => (this.popoverEl = el), bindTo: this.menuTrigger, onOpenChange: (event) => (this.isMenuOpen = event.detail.open), position: this.popoverPosition }, h("slot", { key: 'bc3aa447b61972c3299352d49f27c9a060a2ce4d', name: "contextual-menu" })))))));
|
|
60
60
|
}
|
|
61
61
|
get host() { return this; }
|
|
62
62
|
static get watchers() { return {
|
|
@@ -11,7 +11,7 @@ const ZThead$1 = /*@__PURE__*/ proxyCustomElement(class ZThead extends HTMLEleme
|
|
|
11
11
|
this.sticky = false;
|
|
12
12
|
}
|
|
13
13
|
render() {
|
|
14
|
-
return (h(Host, { key: '
|
|
14
|
+
return (h(Host, { key: '96a3a467d89c4de659693e31c46f8aee89497140', role: "rowgroup" }, h("slot", { key: 'd1af4ab3b7b484f5de8b16a9d4a74e93ae65ee60' })));
|
|
15
15
|
}
|
|
16
16
|
static get style() { return ZTheadStyle0; }
|
|
17
17
|
}, [1, "z-thead", {
|
|
@@ -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: 'a40d72d8809dbf05ddce6a05fc59fd4891cd92e7', name: "toasts" });
|
|
47
47
|
}
|
|
48
48
|
get hostElement() { return this; }
|
|
49
49
|
static get watchers() { return {
|
|
@@ -2829,7 +2829,7 @@ const ZToastNotification$1 = /*@__PURE__*/ proxyCustomElement(class ZToastNotifi
|
|
|
2829
2829
|
} }, h("div", { id: "flex-container", ref: (el) => (this.container = el) }, this.renderText(), this.renderButton()), this.renderCloseIcon()));
|
|
2830
2830
|
}
|
|
2831
2831
|
render() {
|
|
2832
|
-
return (h(Host, { key: '
|
|
2832
|
+
return (h(Host, { key: '1fcfaf1bf2d6d6701eabab75ef95d956e2886fb3', style: {
|
|
2833
2833
|
"--percentuale": `${this.percentage}%`,
|
|
2834
2834
|
}, class: this.transition ? this.transition : ToastNotificationTransition.SLIDE_IN_DOWN, onAnimationEnd: (e) => {
|
|
2835
2835
|
if (this.autoclose && e.animationName.includes("slidein")) {
|
|
@@ -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: 'cd6e7b7d9e8366975ac5a35938638c36736900ef', 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: 'd93a2b08f889f918dac31a6dd1a27878d9cac907', 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: '5c2fa5cdb898b1948d3961780c5fa72786c2e6bc' }, h("input", { key: '3471fe87f44daf4a9c7a197f9d7d7349736c9823', id: this.htmlid, type: "checkbox", checked: this.checked, disabled: this.disabled, onChange: this.handleClick.bind(this) }), h("label", { key: '6fcbb7ff25810d00f311c22be960ff04f900907b', htmlFor: this.htmlid, class: {
|
|
34
34
|
[this.labelPosition]: true,
|
|
35
35
|
disabled: this.disabled,
|
|
36
|
-
} }, h("span", { key: '
|
|
36
|
+
} }, h("span", { key: '6f734eaac90511fd4939b4f8bab2632f8ad24c6d' }, h("slot", { key: '0b7b519ae530e0ebf6b4b3ea0199e8b0d54094da' })), h("span", { key: 'b41791cbd5aa569a3f1361dd5881b86cb3aa0322', class: {
|
|
37
37
|
container: true,
|
|
38
38
|
disabled: this.disabled,
|
|
39
39
|
checked: this.checked,
|
|
40
|
-
} }, h("span", { key: '
|
|
40
|
+
} }, h("span", { key: 'f79160dde4dda3a3988e57fa5addb698573acde5', class: "circle" }, this.checked && (h("z-icon", { key: '011bd9649c7cb1c08f5ee7dd534edbe11fe7706f', 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: 'a978e9df607830aec7c30ef3d83c5f8529772722', ref: (el) => (this.popoverEl = el), bindTo: this.bindTo, open: this.open, position: this.position, closable: this.closable, center: true, showArrow: true }, h("slot", { key: '0c6adc98da3941ed5f19902dc52ad8188215c340' })));
|
|
24
24
|
}
|
|
25
25
|
static get style() { return ZTooltipStyle0; }
|
|
26
26
|
}, [1, "z-tooltip", {
|
package/dist/components/z-tr.js
CHANGED
|
@@ -45,7 +45,7 @@ const ZTr$1 = /*@__PURE__*/ proxyCustomElement(class ZTr extends HTMLElement {
|
|
|
45
45
|
this.updateColumns();
|
|
46
46
|
}
|
|
47
47
|
render() {
|
|
48
|
-
return (h(Host, { key: '
|
|
48
|
+
return (h(Host, { key: '5ce42271810a5e186701cef65ba6d0e4b7f044fe', role: "row", onClick: this.onRowClick.bind(this), expanded: this.expanded }, h("div", { key: 'e699c444b5d3f21e5468e895a1b4f39829077cc9', class: "z-tr--expand-button-container" }, this.expandable && (h("button", { key: '9f4dee6f1fd647c40fe3612ed52ccff4f8231778', "aria-expanded": this.expanded ? "true" : "false", "aria-label": this.expanded ? "Comprimi riga" : "Espandi riga", "aria-controls": this.expandableContentId, type: "button" }, h("z-icon", { key: '572c95ff115f9c00c07a2e84130020e2f03031c5', name: this.expanded ? "minus-circled" : "plus-circled" })))), h("slot", { key: '97c0be024dde1cf6e218ddaaef53a2b4ca723d37', onSlotchange: this.updateColumns.bind(this) })));
|
|
49
49
|
}
|
|
50
50
|
get host() { return this; }
|
|
51
51
|
static get watchers() { return {
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { Components, JSX } from "../types/components";
|
|
2
|
+
|
|
3
|
+
interface ZTreeList extends Components.ZTreeList, HTMLElement {}
|
|
4
|
+
export const ZTreeList: {
|
|
5
|
+
prototype: ZTreeList;
|
|
6
|
+
new (): ZTreeList;
|
|
7
|
+
};
|
|
8
|
+
/**
|
|
9
|
+
* Used to define this component and all nested components recursively.
|
|
10
|
+
*/
|
|
11
|
+
export const defineCustomElement: () => void;
|
|
@@ -0,0 +1,162 @@
|
|
|
1
|
+
import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client';
|
|
2
|
+
import { g as KeyboardCode } from './index2.js';
|
|
3
|
+
import { d as defineCustomElement$5 } from './index6.js';
|
|
4
|
+
import { d as defineCustomElement$4 } from './index9.js';
|
|
5
|
+
import { d as defineCustomElement$3 } from './index13.js';
|
|
6
|
+
import { d as defineCustomElement$2 } from './index14.js';
|
|
7
|
+
|
|
8
|
+
const stylesCss = ":host{font-family:var(--font-family-sans)}z-list-element{position:relative;display:block;padding-top:var(--space-unit)}z-list-element::before,z-list-element::after{position:absolute;z-index:100;top:0.125rem;left:-0.5rem;content:\"\"}z-list z-list-element::before{width:var(--space-unit);height:calc(var(--space-unit) * 2);border-bottom:var(--border-size-small) solid var(--color-disabled01-icon);border-left:var(--border-size-small) solid var(--color-disabled01-icon)}z-list z-list-element::after{width:var(--space-unit);height:100%;border-left:var(--border-size-small) solid var(--color-disabled01-icon)}z-list z-list-element:last-child::after,z-list>z-list-element::before,z-list>z-list-element::after,z-list>z-list-group>z-list-element::before,z-list>z-list-group>z-list-element::after{display:none}z-list>div.children-node{padding-left:calc(var(--space-unit) * 2)}z-list-element>.list-element{z-index:100;display:flex;justify-content:space-between;padding:0;color:var(--color-default-text);font-size:var(--font-size-2);font-style:normal;font-weight:var(--font-rg);text-decoration:none}z-list-element>.list-element.link-clickable{color:var(--color-primary01)}z-list-element>.list-element.link-clickable:hover{text-decoration:underline}z-list-element>.list-element .item.ellipsis{overflow:hidden}z-list-element .list-element::after{position:absolute;top:0;right:-0.0625rem;display:block;width:100%;height:calc(var(--space-unit) * 5);content:\"\";transform:translateX(-100%)}.item-label{overflow:hidden;flex-grow:1;font-size:var(--font-size-2);font-style:normal;font-weight:var(--font-rg);letter-spacing:0.0032rem;line-height:1.25rem;text-overflow:ellipsis;white-space:nowrap}.item-label.bold-item{font-weight:var(--font-sb)}.item.ellipsis{display:flex;overflow:hidden;max-width:100%;text-overflow:ellipsis;white-space:nowrap}.children-node>z-list-element{padding:0;padding-top:0.125;padding-left:calc(var(--space-unit) * 1.25)}.item-icon{margin-right:var(--space-unit)}.no-icon-label{padding-left:var(--space-unit)}.children-node>z-list-element.no-icon-elm{padding-left:0}z-list-element>.list-element:focus:focus-visible{position:relative;z-index:200;box-shadow:var(--shadow-focus-primary);outline:none}@media (max-width: 767px){z-list-element::before,z-list-element::after{top:0.1875rem}z-list z-list-element::before{height:calc(var(--space-unit) * 2.5)}.children-node>z-list-element{padding-top:var(--space-unit)}}";
|
|
9
|
+
const ZTreeListStyle0 = stylesCss;
|
|
10
|
+
|
|
11
|
+
const ZTreeList$1 = /*@__PURE__*/ proxyCustomElement(class ZTreeList extends HTMLElement {
|
|
12
|
+
constructor() {
|
|
13
|
+
super();
|
|
14
|
+
this.__registerHost();
|
|
15
|
+
this.__attachShadow();
|
|
16
|
+
this.treeItemClicked = createEvent(this, "treeItemClicked", 7);
|
|
17
|
+
this.parsedItems = [];
|
|
18
|
+
this.items = [];
|
|
19
|
+
this.htmlAriaLabelledby = undefined;
|
|
20
|
+
this.htmlSectionTitle = undefined;
|
|
21
|
+
}
|
|
22
|
+
watchItems() {
|
|
23
|
+
this.parsedItems = typeof this.items === "string" ? JSON.parse(this.items) : this.items;
|
|
24
|
+
}
|
|
25
|
+
componentWillLoad() {
|
|
26
|
+
this.watchItems();
|
|
27
|
+
}
|
|
28
|
+
handleClick(item) {
|
|
29
|
+
this.treeItemClicked.emit({ id: item.id, name: item.name, url: item.url });
|
|
30
|
+
}
|
|
31
|
+
getFocusableElements() {
|
|
32
|
+
return Array.from(this.host.shadowRoot.querySelectorAll('a[tabindex="0"]'));
|
|
33
|
+
}
|
|
34
|
+
getAncestor(element, levels) {
|
|
35
|
+
let ancestor = element;
|
|
36
|
+
for (let i = 0; i < levels; i++) {
|
|
37
|
+
ancestor = ancestor === null || ancestor === void 0 ? void 0 : ancestor.parentElement;
|
|
38
|
+
if (!ancestor) {
|
|
39
|
+
return;
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
return ancestor;
|
|
43
|
+
}
|
|
44
|
+
handleArrowNav(event) {
|
|
45
|
+
if (event.code === KeyboardCode.TAB) {
|
|
46
|
+
event.preventDefault();
|
|
47
|
+
return;
|
|
48
|
+
}
|
|
49
|
+
const focusableElements = this.getFocusableElements();
|
|
50
|
+
const currentIndex = focusableElements.indexOf(event.target);
|
|
51
|
+
if (currentIndex === -1) {
|
|
52
|
+
return;
|
|
53
|
+
}
|
|
54
|
+
if (event.code === KeyboardCode.ARROW_DOWN || event.code === KeyboardCode.ARROW_UP) {
|
|
55
|
+
event.preventDefault();
|
|
56
|
+
const nextIndex = currentIndex + (event.code === KeyboardCode.ARROW_DOWN ? 1 : -1);
|
|
57
|
+
if (nextIndex < 0 || nextIndex >= focusableElements.length) {
|
|
58
|
+
return;
|
|
59
|
+
}
|
|
60
|
+
focusableElements[nextIndex].focus();
|
|
61
|
+
}
|
|
62
|
+
if (event.code === KeyboardCode.ARROW_LEFT) {
|
|
63
|
+
event.preventDefault();
|
|
64
|
+
const ancestor = this.getAncestor(focusableElements[currentIndex], 4);
|
|
65
|
+
if (!ancestor ||
|
|
66
|
+
!ancestor.children[0] ||
|
|
67
|
+
(ancestor.children[0].tagName.toLowerCase() !== "a" && ancestor.getAttribute("tabindex") === null)) {
|
|
68
|
+
return;
|
|
69
|
+
}
|
|
70
|
+
ancestor.children[0].focus();
|
|
71
|
+
}
|
|
72
|
+
if (event.code === KeyboardCode.ARROW_RIGHT) {
|
|
73
|
+
event.preventDefault();
|
|
74
|
+
const parentElm = event.target.closest("z-list-element");
|
|
75
|
+
if (!parentElm) {
|
|
76
|
+
return;
|
|
77
|
+
}
|
|
78
|
+
const childrenContainer = parentElm.querySelector("z-list");
|
|
79
|
+
if (!childrenContainer) {
|
|
80
|
+
return;
|
|
81
|
+
}
|
|
82
|
+
const firstChild = childrenContainer.querySelector('a[tabindex="0"]');
|
|
83
|
+
if (!firstChild) {
|
|
84
|
+
return;
|
|
85
|
+
}
|
|
86
|
+
firstChild.focus();
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
renderTreeList(item, key, level = 1) {
|
|
90
|
+
var _a, _b;
|
|
91
|
+
this.htmlTag = item.url ? "a" : "span";
|
|
92
|
+
const treeListContent = (h("z-list-element", { id: key, class: !item.icon ? "no-icon-elm" : "", clickable: Boolean(item.url), hasTreeItems: true, role: "none", "aria-hidden": undefined }, h(this.htmlTag, { class: {
|
|
93
|
+
"list-element": true,
|
|
94
|
+
"z-link": Boolean(item.url),
|
|
95
|
+
"link-clickable": Boolean(item.url),
|
|
96
|
+
}, tabIndex: item.url ? 0 : -1, onClick: () => this.handleClick(item), onKeyUp: (event) => {
|
|
97
|
+
if (event.code === KeyboardCode.ENTER || event.code === KeyboardCode.SPACE) {
|
|
98
|
+
this.handleClick(item);
|
|
99
|
+
}
|
|
100
|
+
}, onKeyDown: (event) => this.handleArrowNav(event), role: item.url ? "treeitem" : undefined, "aria-hidden": item.url ? undefined : "true", "aria-expanded": ((_a = item.children) === null || _a === void 0 ? void 0 : _a.length) > 0 && true, "aria-level": level, "aria-label": item.name, href: item.url }, h("span", { class: "item ellipsis" }, item.icon && (h("z-icon", { width: 16, height: 16, fill: item.url ? "color-primary01" : "color-default-icon", class: "item-icon", name: item.icon })), h("span", { class: {
|
|
101
|
+
"item-label": true,
|
|
102
|
+
"no-icon-label": !item.icon,
|
|
103
|
+
"bold-item": item.bold,
|
|
104
|
+
}, title: item.name }, item.name))), ((_b = item.children) === null || _b === void 0 ? void 0 : _b.length) > 0 && (h("z-list", { role: "group" }, h("div", { class: "children-node" }, item.children.map((child, key) => this.renderTreeList(child, `${key}`, level + 1)))))));
|
|
105
|
+
return treeListContent;
|
|
106
|
+
}
|
|
107
|
+
render() {
|
|
108
|
+
const hasClickableItems = this.parsedItems.some((item) => !!item.url);
|
|
109
|
+
return (h(Host, { key: 'a69d54dfd302656adc09278ac77cde23a7c1e69c', class: "tree-list", role: hasClickableItems ? "navigation" : "none", "aria-hidden": hasClickableItems ? undefined : "true", "aria-labelledby": this.htmlAriaLabelledby }, h("div", { key: '780851098b592574ee55839e4a28d030d9bfa5b7', tabIndex: -1, role: hasClickableItems ? "tree" : "none", "aria-hidden": hasClickableItems ? undefined : "true", "aria-label": this.htmlSectionTitle }, this.parsedItems.map((item, key) => this.renderTreeList(item, `${key}`)))));
|
|
110
|
+
}
|
|
111
|
+
get host() { return this; }
|
|
112
|
+
static get watchers() { return {
|
|
113
|
+
"items": ["watchItems"]
|
|
114
|
+
}; }
|
|
115
|
+
static get style() { return ZTreeListStyle0; }
|
|
116
|
+
}, [1, "z-tree-list", {
|
|
117
|
+
"items": [1],
|
|
118
|
+
"htmlAriaLabelledby": [513, "html-aria-labelledby"],
|
|
119
|
+
"htmlSectionTitle": [513, "html-section-title"]
|
|
120
|
+
}, undefined, {
|
|
121
|
+
"items": ["watchItems"]
|
|
122
|
+
}]);
|
|
123
|
+
function defineCustomElement$1() {
|
|
124
|
+
if (typeof customElements === "undefined") {
|
|
125
|
+
return;
|
|
126
|
+
}
|
|
127
|
+
const components = ["z-tree-list", "z-divider", "z-icon", "z-list", "z-list-element"];
|
|
128
|
+
components.forEach(tagName => { switch (tagName) {
|
|
129
|
+
case "z-tree-list":
|
|
130
|
+
if (!customElements.get(tagName)) {
|
|
131
|
+
customElements.define(tagName, ZTreeList$1);
|
|
132
|
+
}
|
|
133
|
+
break;
|
|
134
|
+
case "z-divider":
|
|
135
|
+
if (!customElements.get(tagName)) {
|
|
136
|
+
defineCustomElement$5();
|
|
137
|
+
}
|
|
138
|
+
break;
|
|
139
|
+
case "z-icon":
|
|
140
|
+
if (!customElements.get(tagName)) {
|
|
141
|
+
defineCustomElement$4();
|
|
142
|
+
}
|
|
143
|
+
break;
|
|
144
|
+
case "z-list":
|
|
145
|
+
if (!customElements.get(tagName)) {
|
|
146
|
+
defineCustomElement$3();
|
|
147
|
+
}
|
|
148
|
+
break;
|
|
149
|
+
case "z-list-element":
|
|
150
|
+
if (!customElements.get(tagName)) {
|
|
151
|
+
defineCustomElement$2();
|
|
152
|
+
}
|
|
153
|
+
break;
|
|
154
|
+
} });
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
const ZTreeList = ZTreeList$1;
|
|
158
|
+
const defineCustomElement = defineCustomElement$1;
|
|
159
|
+
|
|
160
|
+
export { ZTreeList, defineCustomElement };
|
|
161
|
+
|
|
162
|
+
//# sourceMappingURL=z-tree-list.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"file":"z-tree-list.js","mappings":"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","names":["ZTreeList"],"sources":["src/components/list/z-tree-list/styles.css?tag=z-tree-list&encapsulation=shadow","src/components/list/z-tree-list/index.tsx"],"sourcesContent":[":host {\n font-family: var(--font-family-sans);\n}\n\nz-list-element {\n position: relative;\n display: block;\n padding-top: var(--space-unit);\n}\n\nz-list-element::before,\nz-list-element::after {\n position: absolute;\n z-index: 100;\n top: 0.125rem;\n left: -0.5rem;\n content: \"\";\n}\n\nz-list z-list-element::before {\n width: var(--space-unit);\n height: calc(var(--space-unit) * 2);\n border-bottom: var(--border-size-small) solid var(--color-disabled01-icon);\n border-left: var(--border-size-small) solid var(--color-disabled01-icon);\n}\n\nz-list z-list-element::after {\n width: var(--space-unit);\n height: 100%;\n border-left: var(--border-size-small) solid var(--color-disabled01-icon);\n}\n\nz-list z-list-element:last-child::after,\nz-list > z-list-element::before,\nz-list > z-list-element::after,\nz-list > z-list-group > z-list-element::before,\nz-list > z-list-group > z-list-element::after {\n display: none;\n}\n\nz-list > div.children-node {\n padding-left: calc(var(--space-unit) * 2);\n}\n\nz-list-element > .list-element {\n z-index: 100;\n display: flex;\n justify-content: space-between;\n padding: 0;\n color: var(--color-default-text);\n font-size: var(--font-size-2);\n font-style: normal;\n font-weight: var(--font-rg);\n text-decoration: none;\n}\n\nz-list-element > .list-element.link-clickable {\n color: var(--color-primary01);\n}\n\nz-list-element > .list-element.link-clickable:hover {\n text-decoration: underline;\n}\n\nz-list-element > .list-element .item.ellipsis {\n overflow: hidden;\n}\n\nz-list-element .list-element::after {\n position: absolute;\n top: 0;\n right: -0.0625rem;\n display: block;\n width: 100%;\n height: calc(var(--space-unit) * 5);\n content: \"\";\n transform: translateX(-100%);\n}\n\n.item-label {\n overflow: hidden;\n flex-grow: 1;\n font-size: var(--font-size-2);\n font-style: normal;\n font-weight: var(--font-rg);\n letter-spacing: 0.0032rem;\n line-height: 1.25rem;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n\n.item-label.bold-item {\n font-weight: var(--font-sb);\n}\n\n.item.ellipsis {\n display: flex;\n overflow: hidden;\n max-width: 100%;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n\n.children-node > z-list-element {\n padding: 0;\n padding-top: 0.125;\n padding-left: calc(var(--space-unit) * 1.25);\n}\n\n.item-icon {\n margin-right: var(--space-unit);\n}\n\n.no-icon-label {\n padding-left: var(--space-unit);\n}\n\n.children-node > z-list-element.no-icon-elm {\n padding-left: 0;\n}\n\nz-list-element > .list-element:focus:focus-visible {\n position: relative;\n z-index: 200;\n box-shadow: var(--shadow-focus-primary);\n outline: none;\n}\n\n@media (max-width: 767px) {\n z-list-element::before,\n z-list-element::after {\n top: 0.1875rem;\n }\n\n z-list z-list-element::before {\n height: calc(var(--space-unit) * 2.5);\n }\n\n .children-node > z-list-element {\n padding-top: var(--space-unit);\n }\n}\n","import {Component, Element, Event, EventEmitter, Host, Prop, Watch, h} from \"@stencil/core\";\nimport {KeyboardCode, TreeListItem} from \"../../../beans\";\n\n@Component({\n tag: \"z-tree-list\",\n styleUrl: \"styles.css\",\n shadow: true,\n})\nexport class ZTreeList {\n @Element() host: HTMLZTreeListElement;\n\n /** Items to render, if they have the url property they will be rendered as clickable links */\n @Prop()\n items: TreeListItem[] | string = [];\n\n /** Used for aria-labelledby attribute, sets name in \"navigation\" */\n @Prop({reflect: true})\n htmlAriaLabelledby: string;\n\n /** Used for aria-label attribute, sets name in \"tree\" */\n @Prop({reflect: true})\n htmlSectionTitle: string;\n\n /** Emitted on item click, it return the id, name and url of the clicked item */\n @Event()\n treeItemClicked: EventEmitter<{id: string; name: string; url: string}>;\n\n private parsedItems: TreeListItem[] = [];\n\n private htmlTag: string;\n\n @Watch(\"items\")\n watchItems(): void {\n this.parsedItems = typeof this.items === \"string\" ? JSON.parse(this.items) : this.items;\n }\n\n componentWillLoad(): void {\n this.watchItems();\n }\n\n private handleClick(item: TreeListItem): void {\n this.treeItemClicked.emit({id: item.id, name: item.name, url: item.url});\n }\n\n private getFocusableElements(): HTMLElement[] {\n return Array.from(this.host.shadowRoot.querySelectorAll('a[tabindex=\"0\"]'));\n }\n\n private getAncestor(element: HTMLElement, levels: number): HTMLElement | null {\n let ancestor: HTMLElement | null = element;\n\n for (let i = 0; i < levels; i++) {\n ancestor = ancestor?.parentElement;\n if (!ancestor) {\n return;\n }\n }\n\n return ancestor;\n }\n\n private handleArrowNav(event: KeyboardEvent): void {\n if (event.code === KeyboardCode.TAB) {\n event.preventDefault();\n\n return;\n }\n\n const focusableElements = this.getFocusableElements();\n const currentIndex = focusableElements.indexOf(event.target as HTMLElement);\n\n if (currentIndex === -1) {\n return;\n }\n\n if (event.code === KeyboardCode.ARROW_DOWN || event.code === KeyboardCode.ARROW_UP) {\n event.preventDefault();\n\n const nextIndex = currentIndex + (event.code === KeyboardCode.ARROW_DOWN ? 1 : -1);\n if (nextIndex < 0 || nextIndex >= focusableElements.length) {\n return;\n }\n\n focusableElements[nextIndex].focus();\n }\n\n if (event.code === KeyboardCode.ARROW_LEFT) {\n event.preventDefault();\n const ancestor = this.getAncestor(focusableElements[currentIndex], 4);\n\n if (\n !ancestor ||\n !ancestor.children[0] ||\n (ancestor.children[0].tagName.toLowerCase() !== \"a\" && ancestor.getAttribute(\"tabindex\") === null)\n ) {\n return;\n }\n\n (ancestor.children[0] as HTMLElement).focus();\n }\n\n if (event.code === KeyboardCode.ARROW_RIGHT) {\n event.preventDefault();\n\n const parentElm = (event.target as HTMLElement).closest(\"z-list-element\") as HTMLElement;\n\n if (!parentElm) {\n return;\n }\n\n const childrenContainer = parentElm.querySelector(\"z-list\") as HTMLElement;\n\n if (!childrenContainer) {\n return;\n }\n\n const firstChild = childrenContainer.querySelector('a[tabindex=\"0\"]') as HTMLElement;\n\n if (!firstChild) {\n return;\n }\n\n firstChild.focus();\n }\n }\n\n private renderTreeList(item: TreeListItem, key: string, level = 1): HTMLZListElementElement {\n this.htmlTag = item.url ? \"a\" : \"span\";\n\n const treeListContent = (\n <z-list-element\n id={key}\n class={!item.icon ? \"no-icon-elm\" : \"\"}\n clickable={Boolean(item.url)}\n hasTreeItems={true}\n role=\"none\"\n aria-hidden={undefined}\n >\n <this.htmlTag\n class={{\n \"list-element\": true,\n \"z-link\": Boolean(item.url),\n \"link-clickable\": Boolean(item.url),\n }}\n tabIndex={item.url ? 0 : -1}\n onClick={() => this.handleClick(item)}\n onKeyUp={(event: KeyboardEvent) => {\n if (event.code === KeyboardCode.ENTER || event.code === KeyboardCode.SPACE) {\n this.handleClick(item);\n }\n }}\n onKeyDown={(event: KeyboardEvent) => this.handleArrowNav(event)}\n role={item.url ? \"treeitem\" : undefined}\n aria-hidden={item.url ? undefined : \"true\"}\n aria-expanded={item.children?.length > 0 && true}\n aria-level={level}\n aria-label={item.name}\n href={item.url}\n >\n <span class=\"item ellipsis\">\n {item.icon && (\n <z-icon\n width={16}\n height={16}\n fill={item.url ? \"color-primary01\" : \"color-default-icon\"}\n class=\"item-icon\"\n name={item.icon}\n />\n )}\n <span\n class={{\n \"item-label\": true,\n \"no-icon-label\": !item.icon,\n \"bold-item\": item.bold,\n }}\n title={item.name}\n >\n {item.name}\n </span>\n </span>\n </this.htmlTag>\n {item.children?.length > 0 && (\n <z-list role=\"group\">\n <div class=\"children-node\">\n {item.children.map((child, key) => this.renderTreeList(child, `${key}`, level + 1))}\n </div>\n </z-list>\n )}\n </z-list-element>\n );\n\n return treeListContent;\n }\n\n render(): HTMLZTreeListElement {\n const hasClickableItems = this.parsedItems.some((item) => !!item.url);\n\n return (\n <Host\n class=\"tree-list\"\n role={hasClickableItems ? \"navigation\" : \"none\"}\n aria-hidden={hasClickableItems ? undefined : \"true\"}\n aria-labelledby={this.htmlAriaLabelledby}\n >\n <div\n tabIndex={-1}\n role={hasClickableItems ? \"tree\" : \"none\"}\n aria-hidden={hasClickableItems ? undefined : \"true\"}\n aria-label={this.htmlSectionTitle}\n >\n {this.parsedItems.map((item, key) => this.renderTreeList(item, `${key}`))}\n </div>\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: '9ce7d87881fa96e717bc1556d5242cbfe68d0739' });
|
|
14
14
|
}
|
|
15
15
|
static get style() { return ZVisuallyHiddenStyle0; }
|
|
16
16
|
}, [1, "z-visually-hidden"]);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h, a as Host, g as getElement } from './index-c8ceadeb.js';
|
|
2
2
|
import { r as randomId } from './utils-c7062cf7.js';
|
|
3
|
-
import './index-
|
|
4
|
-
import './index-
|
|
3
|
+
import './index-2a83dc12.js';
|
|
4
|
+
import './index-ea1d61dc.js';
|
|
5
5
|
|
|
6
6
|
const stylesCss = ":host{--columns:1;display:grid;box-sizing:border-box;grid-auto-flow:column;grid-template-columns:var(--z-table--expand-button-size, 0) repeat(var(--columns), minmax(128px, 1fr))}*{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)}.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}";
|
|
7
7
|
const ZTrStyle0 = stylesCss;
|
|
@@ -43,7 +43,7 @@ const ZTr = class {
|
|
|
43
43
|
this.updateColumns();
|
|
44
44
|
}
|
|
45
45
|
render() {
|
|
46
|
-
return (h(Host, { key: '
|
|
46
|
+
return (h(Host, { key: '5ce42271810a5e186701cef65ba6d0e4b7f044fe', role: "row", onClick: this.onRowClick.bind(this), expanded: this.expanded }, h("div", { key: 'e699c444b5d3f21e5468e895a1b4f39829077cc9', class: "z-tr--expand-button-container" }, this.expandable && (h("button", { key: '9f4dee6f1fd647c40fe3612ed52ccff4f8231778', "aria-expanded": this.expanded ? "true" : "false", "aria-label": this.expanded ? "Comprimi riga" : "Espandi riga", "aria-controls": this.expandableContentId, type: "button" }, h("z-icon", { key: '572c95ff115f9c00c07a2e84130020e2f03031c5', name: this.expanded ? "minus-circled" : "plus-circled" })))), h("slot", { key: '97c0be024dde1cf6e218ddaaef53a2b4ca723d37', onSlotchange: this.updateColumns.bind(this) })));
|
|
47
47
|
}
|
|
48
48
|
get host() { return getElement(this); }
|
|
49
49
|
static get watchers() { return {
|
|
@@ -54,4 +54,4 @@ ZTr.style = ZTrStyle0;
|
|
|
54
54
|
|
|
55
55
|
export { ZTr as Z };
|
|
56
56
|
|
|
57
|
-
//# sourceMappingURL=index-
|
|
57
|
+
//# sourceMappingURL=index-1294ef3d.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"file":"index-
|
|
1
|
+
{"file":"index-1294ef3d.js","mappings":";;;;;AAAA,MAAM,SAAS,GAAG,ojDAAojD,CAAC;AACvkD,kBAAe,SAAS;;MCeX,GAAG;;;;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;IAED,iBAAiB;QACf,IAAI,CAAC,aAAa,EAAE,CAAC;KACtB;IAED,MAAM;QACJ,QACE,EAAC,IAAI,qDACH,IAAI,EAAC,KAAK,EACV,OAAO,EAAE,IAAI,CAAC,UAAU,CAAC,IAAI,CAAC,IAAI,CAAC,EACnC,QAAQ,EAAE,IAAI,CAAC,QAAQ,IAEvB,4DAAK,KAAK,EAAC,+BAA+B,IACvC,IAAI,CAAC,UAAU,KACd,gFACiB,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":[],"sources":["src/components/table/z-tr/styles.css?tag=z-tr&encapsulation=shadow","src/components/table/z-tr/index.tsx"],"sourcesContent":[":host {\n /* number of columns of the row. will be set in component's ts code */\n --columns: 1;\n\n display: grid;\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\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.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","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 componentWillLoad(): void {\n this.updateColumns();\n }\n\n render(): HTMLZTrElement {\n return (\n <Host\n role=\"row\"\n onClick={this.onRowClick.bind(this)}\n expanded={this.expanded}\n >\n <div class=\"z-tr--expand-button-container\">\n {this.expandable && (\n <button\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}
|
|
@@ -31,7 +31,7 @@ const ZTd = class {
|
|
|
31
31
|
this.updateColspan();
|
|
32
32
|
}
|
|
33
33
|
render() {
|
|
34
|
-
return (h(Host, { key: '
|
|
34
|
+
return (h(Host, { key: '9c7d03779f5c51ed26cd794d62f6fe489afa557c', role: "cell", "menu-open": this.isMenuOpen }, h("div", { key: '71494ed002d042d686248cc9382e6b8f98ec4f18', class: "cell--content" }, h("slot", { key: 'd4d89e6814b00e5e120468727205cff474201d00' }), this.showMenu && (h("div", { key: '60a3e28f42528ea07f9fed652f645397f949d197', class: "cell--menu-container prevent-expand" }, h("z-button", { key: '5bc9cfaa9f5215eb4068a6243c80131a1ea8b5c3', variant: ButtonVariant.TERTIARY, icon: "contextual-menu", size: ControlSize.X_SMALL, ref: (el) => (this.menuTrigger = el), onClick: this.onMenuButtonClick.bind(this) }), h("z-popover", { key: 'f9d6370971330f8fe989a59c5adeaecfa9d66180', class: "cell-popover", ref: (el) => (this.popoverEl = el), bindTo: this.menuTrigger, onOpenChange: (event) => (this.isMenuOpen = event.detail.open), position: this.popoverPosition }, h("slot", { key: '7e14e87932afb69dc68ffa04a874981770368c5e', name: "contextual-menu" })))))));
|
|
35
35
|
}
|
|
36
36
|
get host() { return getElement(this); }
|
|
37
37
|
static get watchers() { return {
|
|
@@ -42,4 +42,4 @@ ZTd.style = ZTdStyle0;
|
|
|
42
42
|
|
|
43
43
|
export { ZTd as Z };
|
|
44
44
|
|
|
45
|
-
//# sourceMappingURL=index-
|
|
45
|
+
//# sourceMappingURL=index-2a83dc12.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"file":"index-
|
|
1
|
+
{"file":"index-2a83dc12.js","mappings":";;;AAAA,MAAM,SAAS,GAAG,2hCAA2hC,CAAC;AAC9iC,kBAAe,SAAS;;MCWX,GAAG;;;;;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":[],"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}
|
|
@@ -9,11 +9,11 @@ const ZTfoot = class {
|
|
|
9
9
|
this.sticky = false;
|
|
10
10
|
}
|
|
11
11
|
render() {
|
|
12
|
-
return (h(Host, { key: '
|
|
12
|
+
return (h(Host, { key: '441a3e0656da274193c4a12681b9e9d641690982', role: "rowgroup" }, h("slot", { key: '5e80207cbf1238b2141fcd657cb10fc18be7bccb' })));
|
|
13
13
|
}
|
|
14
14
|
};
|
|
15
15
|
ZTfoot.style = ZTfootStyle0;
|
|
16
16
|
|
|
17
17
|
export { ZTfoot as Z };
|
|
18
18
|
|
|
19
|
-
//# sourceMappingURL=index-
|
|
19
|
+
//# sourceMappingURL=index-43637886.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"file":"index-
|
|
1
|
+
{"file":"index-43637886.js","mappings":";;AAAA,MAAM,SAAS,GAAG,kOAAkO,CAAC;AACrP,qBAAe,SAAS;;MCUX,MAAM;;;sBAKR,KAAK;;IAEd,MAAM;QACJ,QACE,EAAC,IAAI,qDAAC,IAAI,EAAC,UAAU,IACnB,8DAAa,CACR,EACP;KACH;;;;;;","names":[],"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 role=\"rowgroup\">\n <slot></slot>\n </Host>\n );\n }\n}\n"],"version":3}
|
|
@@ -8,11 +8,11 @@ const ZTbody = class {
|
|
|
8
8
|
registerInstance(this, hostRef);
|
|
9
9
|
}
|
|
10
10
|
render() {
|
|
11
|
-
return (h(Host, { key: '
|
|
11
|
+
return (h(Host, { key: 'b489d32d81a796eafef0fa82f9bb24c53db9e7f7', role: "rowgroup" }, h("slot", { key: '89b11f845de05e0a40dc0180fa45a23c2fd281c7' })));
|
|
12
12
|
}
|
|
13
13
|
};
|
|
14
14
|
ZTbody.style = ZTbodyStyle0;
|
|
15
15
|
|
|
16
16
|
export { ZTbody as Z };
|
|
17
17
|
|
|
18
|
-
//# sourceMappingURL=index-
|
|
18
|
+
//# sourceMappingURL=index-9a0ea49b.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"file":"index-
|
|
1
|
+
{"file":"index-9a0ea49b.js","mappings":";;AAAA,MAAM,SAAS,GAAG,4CAA4C,CAAC;AAC/D,qBAAe,SAAS;;MCUX,MAAM;;;;IACjB,MAAM;QACJ,QACE,EAAC,IAAI,qDAAC,IAAI,EAAC,UAAU,IACnB,8DAAa,CACR,EACP;KACH;;;;;;","names":[],"sources":["src/components/table/z-tbody/styles.css?tag=z-tbody&encapsulation=shadow","src/components/table/z-tbody/index.tsx"],"sourcesContent":[":host {\n display: block;\n box-sizing: border-box;\n}\n","import {Component, Host, h} from \"@stencil/core\";\n\n/**\n * ZTbody component.\n * @slot - ZTbody content (`z-tr`).\n */\n@Component({\n tag: \"z-tbody\",\n styleUrl: \"styles.css\",\n shadow: true,\n})\nexport class ZTbody {\n render(): HTMLZTbodyElement {\n return (\n <Host role=\"rowgroup\">\n <slot></slot>\n </Host>\n );\n }\n}\n"],"version":3}
|
|
@@ -9,11 +9,11 @@ const ZThead = class {
|
|
|
9
9
|
this.sticky = false;
|
|
10
10
|
}
|
|
11
11
|
render() {
|
|
12
|
-
return (h(Host, { key: '
|
|
12
|
+
return (h(Host, { key: '96a3a467d89c4de659693e31c46f8aee89497140', role: "rowgroup" }, h("slot", { key: 'd1af4ab3b7b484f5de8b16a9d4a74e93ae65ee60' })));
|
|
13
13
|
}
|
|
14
14
|
};
|
|
15
15
|
ZThead.style = ZTheadStyle0;
|
|
16
16
|
|
|
17
17
|
export { ZThead as Z };
|
|
18
18
|
|
|
19
|
-
//# sourceMappingURL=index-
|
|
19
|
+
//# sourceMappingURL=index-b2c92bbb.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"file":"index-
|
|
1
|
+
{"file":"index-b2c92bbb.js","mappings":";;AAAA,MAAM,SAAS,GAAG,qRAAqR,CAAC;AACxS,qBAAe,SAAS;;MCUX,MAAM;;;sBAKR,KAAK;;IAEd,MAAM;QACJ,QACE,EAAC,IAAI,qDAAC,IAAI,EAAC,UAAU,IACnB,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","import {Component, 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 /**\n * If true, the header will be stuck to the top of the table.\n */\n @Prop({reflect: true})\n sticky = false;\n\n render(): HTMLZTheadElement {\n return (\n <Host role=\"rowgroup\">\n <slot></slot>\n </Host>\n );\n }\n}\n"],"version":3}
|
|
@@ -276,6 +276,10 @@ var loadModule = (cmpMeta, hostRef, hmrVersionId) => {
|
|
|
276
276
|
return import(
|
|
277
277
|
/* webpackMode: "lazy" */
|
|
278
278
|
'./z-tr.entry.js').then(processMod, consoleError);
|
|
279
|
+
case 'z-tree-list':
|
|
280
|
+
return import(
|
|
281
|
+
/* webpackMode: "lazy" */
|
|
282
|
+
'./z-tree-list.entry.js').then(processMod, consoleError);
|
|
279
283
|
case 'z-visually-hidden':
|
|
280
284
|
return import(
|
|
281
285
|
/* webpackMode: "lazy" */
|
|
@@ -51,7 +51,7 @@ const ZTh = class {
|
|
|
51
51
|
this.updateColspan();
|
|
52
52
|
}
|
|
53
53
|
render() {
|
|
54
|
-
return (h(Host, { key: '
|
|
54
|
+
return (h(Host, { key: 'e8bf215c5bdf5c0486d0de3768919d54a94b8b46', role: "columnheader", "menu-open": this.isMenuOpen, "aria-sort": this.ariaSortDirection, sortable: this.showSorting }, h("div", { key: 'e7dfc68ddaeac9f1f763eb62e2717ea5e166df16', class: "cell--content" }, h("slot", { key: '96edba7522e8e43bcfecea9d305ffc9840548020' }), this.showSorting && (h("button", { key: '81cef37216c2c823b1027df224ddb905d3c9d412', class: "z-th--sort-button", type: "button", onClick: this.handleSort.bind(this) }, h("z-icon", { key: 'b00db383bf202b9f774781551a6e59329fed10b2', name: this.sortDirection === SortDirection.DESC ? "arrow-simple-up" : "arrow-simple-down", width: 14, height: 14 }))), this.showMenu && (h("div", { key: '2762feca4feeff61aa673d2a3535f91c9ee7db03', class: "cell--menu-container" }, h("z-button", { key: 'e91a00179db0075255b57d5f946e3c321883faf6', variant: ButtonVariant.TERTIARY, icon: "contextual-menu", size: ControlSize.X_SMALL, ref: (el) => (this.menuTrigger = el), onClick: () => (this.popoverEl.open = !this.popoverEl.open) }), h("z-popover", { key: 'c632eb1071f2533aa86251e8e345eda845512693', ref: (el) => (this.popoverEl = el), bindTo: this.menuTrigger, onOpenChange: (event) => (this.isMenuOpen = event.detail.open), position: this.popoverPosition }, h("slot", { key: 'bc3aa447b61972c3299352d49f27c9a060a2ce4d', name: "contextual-menu" })))))));
|
|
55
55
|
}
|
|
56
56
|
get host() { return getElement(this); }
|
|
57
57
|
static get watchers() { return {
|
|
@@ -62,4 +62,4 @@ ZTh.style = ZThStyle0;
|
|
|
62
62
|
|
|
63
63
|
export { ZTh as Z };
|
|
64
64
|
|
|
65
|
-
//# sourceMappingURL=index-
|
|
65
|
+
//# sourceMappingURL=index-ea1d61dc.js.map
|