@zanichelli/albe-web-components 18.5.4-RC1 → 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-6b856bc1.js → index-66928615.js} +3 -3
- package/dist/cjs/{index-6b856bc1.js.map → index-66928615.js.map} +1 -1
- package/dist/cjs/{index-2d4fb043.js → index-97a4c18d.js} +6 -1
- package/dist/cjs/index-97a4c18d.js.map +1 -0
- 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/index.cjs.js +2 -2
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{utils-7bfaaf8c.js → utils-7f9d5a78.js} +2 -2
- package/dist/cjs/{utils-7bfaaf8c.js.map → utils-7f9d5a78.js.map} +1 -1
- package/dist/cjs/{utils-ecc8ba50.js → utils-93961cb6.js} +2 -2
- package/dist/cjs/{utils-ecc8ba50.js.map → utils-93961cb6.js.map} +1 -1
- package/dist/cjs/web-components-library.cjs.js +1 -1
- package/dist/cjs/z-accordion.cjs.entry.js +2 -2
- package/dist/cjs/z-alert.cjs.entry.js +1 -1
- package/dist/cjs/z-anchor-navigation.cjs.entry.js +2 -2
- package/dist/cjs/z-app-header-deprecated.cjs.entry.js +1 -1
- package/dist/cjs/z-app-header_12.cjs.entry.js +8 -8
- package/dist/cjs/z-aria-alert.cjs.entry.js +2 -2
- package/dist/cjs/z-avatar.cjs.entry.js +3 -3
- package/dist/cjs/z-book-card-app.cjs.entry.js +1 -1
- package/dist/cjs/z-book-card-deprecated.cjs.entry.js +2 -2
- package/dist/cjs/z-book-card.cjs.entry.js +1 -1
- package/dist/cjs/z-breadcrumb.cjs.entry.js +4 -4
- package/dist/cjs/z-button-sort.cjs.entry.js +1 -1
- package/dist/cjs/z-card.cjs.entry.js +1 -1
- package/dist/cjs/z-carousel.cjs.entry.js +1 -1
- package/dist/cjs/z-chip.cjs.entry.js +3 -3
- package/dist/cjs/z-combobox.cjs.entry.js +3 -3
- package/dist/cjs/z-cover-hero.cjs.entry.js +3 -3
- package/dist/cjs/z-date-picker.cjs.entry.js +2 -2
- package/dist/cjs/z-dragdrop-area_2.cjs.entry.js +5 -5
- package/dist/cjs/z-file-upload.cjs.entry.js +1 -1
- package/dist/cjs/z-file.cjs.entry.js +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 +2 -2
- package/dist/cjs/z-logo.cjs.entry.js +1 -1
- package/dist/cjs/z-menu-section.cjs.entry.js +2 -2
- package/dist/cjs/z-menu.cjs.entry.js +2 -2
- package/dist/cjs/z-myz-card-alert.cjs.entry.js +2 -2
- package/dist/cjs/z-myz-card-dictionary.cjs.entry.js +2 -2
- package/dist/cjs/z-myz-card-footer-sections.cjs.entry.js +1 -1
- package/dist/cjs/z-myz-card-footer.cjs.entry.js +2 -2
- package/dist/cjs/z-myz-card-icon.cjs.entry.js +1 -1
- package/dist/cjs/z-myz-card-info.cjs.entry.js +3 -3
- package/dist/cjs/z-myz-card-list.cjs.entry.js +1 -1
- package/dist/cjs/z-myz-card_4.cjs.entry.js +5 -5
- package/dist/cjs/z-myz-list-item.cjs.entry.js +3 -3
- package/dist/cjs/z-myz-list.cjs.entry.js +1 -1
- package/dist/cjs/z-navigation-tabs.cjs.entry.js +4 -4
- package/dist/cjs/z-navigation-tabs.cjs.entry.js.map +1 -1
- package/dist/cjs/z-notification.cjs.entry.js +1 -1
- package/dist/cjs/z-otp.cjs.entry.js +3 -3
- package/dist/cjs/z-pagination.cjs.entry.js +1 -1
- package/dist/cjs/z-panel-elem.cjs.entry.js +2 -2
- package/dist/cjs/z-popover.cjs.entry.js +307 -153
- package/dist/cjs/z-popover.cjs.entry.js.map +1 -1
- package/dist/cjs/z-range-picker.cjs.entry.js +2 -2
- package/dist/cjs/z-section-title.cjs.entry.js +1 -1
- package/dist/cjs/z-select.cjs.entry.js +3 -3
- package/dist/cjs/z-skip-to-content.cjs.entry.js +3 -3
- package/dist/cjs/z-slideshow.cjs.entry.js +2 -2
- package/dist/cjs/z-stepper-item.cjs.entry.js +1 -1
- package/dist/cjs/z-stepper.cjs.entry.js +1 -1
- package/dist/cjs/z-table.cjs.entry.js +9 -9
- package/dist/cjs/z-table.cjs.entry.js.map +1 -1
- package/dist/cjs/z-td.cjs.entry.js +2 -2
- package/dist/cjs/z-tfoot.cjs.entry.js +1 -1
- package/dist/cjs/z-th.cjs.entry.js +2 -2
- package/dist/cjs/z-thead.cjs.entry.js +1 -1
- package/dist/cjs/z-toast-notification-list.cjs.entry.js +2 -2
- package/dist/cjs/z-toast-notification.cjs.entry.js +2 -2
- package/dist/cjs/z-toggle-button.cjs.entry.js +2 -2
- package/dist/cjs/z-toggle-switch.cjs.entry.js +5 -5
- package/dist/cjs/z-tooltip.cjs.entry.js +2 -2
- package/dist/cjs/z-tr.cjs.entry.js +5 -5
- package/dist/cjs/z-tree-list.cjs.entry.js +1 -1
- package/dist/cjs/z-visually-hidden.cjs.entry.js +1 -1
- package/dist/collection/beans/index.js +5 -0
- package/dist/collection/beans/index.js.map +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-navigation-tabs/styles.css +1 -1
- 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 +316 -156
- package/dist/collection/components/z-popover/index.js.map +1 -1
- package/dist/collection/components/z-popover/index.stories.js +124 -41
- package/dist/collection/components/z-popover/index.stories.js.map +1 -1
- package/dist/collection/components/z-popover/styles.css +16 -10
- 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/index2.js +5 -0
- 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 +308 -154
- package/dist/components/index23.js.map +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 +3 -3
- package/dist/components/z-navigation-tabs.js.map +1 -1
- 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 +3 -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 +17 -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-cb76b648.js → index-2a6324f8.js} +6 -1
- package/dist/esm/index-2a6324f8.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-d02d53b4.js → index-b64ced16.js} +3 -3
- package/dist/esm/{index-d02d53b4.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/index.js +2 -2
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{utils-26154cbf.js → utils-227ef1c0.js} +2 -2
- package/dist/esm/{utils-26154cbf.js.map → utils-227ef1c0.js.map} +1 -1
- package/dist/esm/{utils-f6ae5714.js → utils-c8abef2f.js} +2 -2
- package/dist/esm/{utils-f6ae5714.js.map → utils-c8abef2f.js.map} +1 -1
- package/dist/esm/web-components-library.js +1 -1
- package/dist/esm/z-accordion.entry.js +2 -2
- package/dist/esm/z-alert.entry.js +1 -1
- package/dist/esm/z-anchor-navigation.entry.js +2 -2
- package/dist/esm/z-app-header-deprecated.entry.js +1 -1
- package/dist/esm/z-app-header_12.entry.js +8 -8
- package/dist/esm/z-aria-alert.entry.js +2 -2
- package/dist/esm/z-avatar.entry.js +3 -3
- package/dist/esm/z-book-card-app.entry.js +1 -1
- package/dist/esm/z-book-card-deprecated.entry.js +2 -2
- package/dist/esm/z-book-card.entry.js +1 -1
- package/dist/esm/z-breadcrumb.entry.js +4 -4
- package/dist/esm/z-button-sort.entry.js +1 -1
- package/dist/esm/z-card.entry.js +1 -1
- package/dist/esm/z-carousel.entry.js +1 -1
- package/dist/esm/z-chip.entry.js +3 -3
- package/dist/esm/z-combobox.entry.js +3 -3
- package/dist/esm/z-cover-hero.entry.js +3 -3
- package/dist/esm/z-date-picker.entry.js +2 -2
- package/dist/esm/z-dragdrop-area_2.entry.js +5 -5
- package/dist/esm/z-file-upload.entry.js +1 -1
- package/dist/esm/z-file.entry.js +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 +2 -2
- package/dist/esm/z-logo.entry.js +1 -1
- package/dist/esm/z-menu-section.entry.js +2 -2
- package/dist/esm/z-menu.entry.js +2 -2
- package/dist/esm/z-myz-card-alert.entry.js +2 -2
- package/dist/esm/z-myz-card-dictionary.entry.js +2 -2
- package/dist/esm/z-myz-card-footer-sections.entry.js +1 -1
- package/dist/esm/z-myz-card-footer.entry.js +2 -2
- package/dist/esm/z-myz-card-icon.entry.js +1 -1
- package/dist/esm/z-myz-card-info.entry.js +3 -3
- package/dist/esm/z-myz-card-list.entry.js +1 -1
- package/dist/esm/z-myz-card_4.entry.js +5 -5
- package/dist/esm/z-myz-list-item.entry.js +3 -3
- package/dist/esm/z-myz-list.entry.js +1 -1
- package/dist/esm/z-navigation-tabs.entry.js +4 -4
- package/dist/esm/z-navigation-tabs.entry.js.map +1 -1
- package/dist/esm/z-notification.entry.js +1 -1
- package/dist/esm/z-otp.entry.js +3 -3
- package/dist/esm/z-pagination.entry.js +1 -1
- package/dist/esm/z-panel-elem.entry.js +2 -2
- package/dist/esm/z-popover.entry.js +308 -154
- package/dist/esm/z-popover.entry.js.map +1 -1
- package/dist/esm/z-range-picker.entry.js +2 -2
- package/dist/esm/z-section-title.entry.js +1 -1
- package/dist/esm/z-select.entry.js +3 -3
- package/dist/esm/z-skip-to-content.entry.js +3 -3
- package/dist/esm/z-slideshow.entry.js +2 -2
- package/dist/esm/z-stepper-item.entry.js +1 -1
- package/dist/esm/z-stepper.entry.js +1 -1
- package/dist/esm/z-table.entry.js +9 -9
- package/dist/esm/z-table.entry.js.map +1 -1
- package/dist/esm/z-td.entry.js +2 -2
- package/dist/esm/z-tfoot.entry.js +1 -1
- package/dist/esm/z-th.entry.js +2 -2
- package/dist/esm/z-thead.entry.js +1 -1
- package/dist/esm/z-toast-notification-list.entry.js +2 -2
- package/dist/esm/z-toast-notification.entry.js +2 -2
- package/dist/esm/z-toggle-button.entry.js +2 -2
- package/dist/esm/z-toggle-switch.entry.js +5 -5
- package/dist/esm/z-tooltip.entry.js +2 -2
- package/dist/esm/z-tr.entry.js +5 -5
- package/dist/esm/z-tree-list.entry.js +1 -1
- package/dist/esm/z-visually-hidden.entry.js +1 -1
- package/dist/types/beans/index.d.ts +5 -0
- 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/z-popover/index.d.ts +50 -4
- package/dist/types/components/z-popover/index.stories.d.ts +26 -6
- package/dist/types/components.d.ts +31 -3
- package/dist/web-components-library/index.esm.js +1 -1
- package/dist/web-components-library/{p-10345a6d.entry.js → p-0756fe6f.entry.js} +2 -2
- package/dist/web-components-library/{p-173b1867.entry.js → p-09ba466b.entry.js} +2 -2
- package/dist/web-components-library/{p-fa9fdeb5.entry.js → p-14f0bdf4.entry.js} +2 -2
- package/{www/build/p-b49aeff4.js → dist/web-components-library/p-17af7fb2.js} +1 -1
- package/dist/web-components-library/p-17af7fb2.js.map +1 -0
- package/dist/web-components-library/{p-0c61db99.entry.js → p-25935be3.entry.js} +2 -2
- package/dist/web-components-library/{p-333e3cef.entry.js → p-2fb52cd0.entry.js} +2 -2
- package/dist/web-components-library/{p-892f03fc.entry.js → p-30575221.entry.js} +2 -2
- package/{www/build/p-d67e2f1b.js → dist/web-components-library/p-30e42fb1.js} +2 -2
- package/dist/web-components-library/{p-411e98ab.entry.js → p-342b0eb0.entry.js} +2 -2
- package/dist/web-components-library/p-37f271c8.entry.js +2 -0
- package/dist/web-components-library/p-37f271c8.entry.js.map +1 -0
- package/dist/web-components-library/p-3ed25564.entry.js +2 -0
- 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/{www/build/p-b2bb23bb.entry.js → dist/web-components-library/p-4cec3345.entry.js} +2 -2
- package/dist/web-components-library/{p-a61cb9dc.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/dist/web-components-library/{p-49f5ad13.entry.js → p-57b8bd19.entry.js} +2 -2
- package/dist/web-components-library/{p-fed6d4ac.entry.js → p-5cf3a797.entry.js} +2 -2
- package/{www/build/p-ee7185cf.entry.js → dist/web-components-library/p-6273db7f.entry.js} +2 -2
- package/dist/web-components-library/{p-22aab9d2.entry.js → p-63c1bde5.entry.js} +2 -2
- package/dist/web-components-library/{p-a372e8cb.entry.js → p-6793061a.entry.js} +2 -2
- package/dist/web-components-library/p-67edb420.entry.js +2 -0
- package/{www/build/p-59c1d10c.entry.js → dist/web-components-library/p-689b0280.entry.js} +2 -2
- package/{www/build/p-dd350f70.entry.js → dist/web-components-library/p-6a62a0a7.entry.js} +3 -3
- package/dist/web-components-library/{p-6efc0b32.entry.js → p-6ca0ee2f.entry.js} +2 -2
- package/dist/web-components-library/{p-98148b01.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-171ee634.js.map → dist/web-components-library/p-748fa3ae.js.map} +1 -1
- package/{www/build/p-99e3d7f4.entry.js → dist/web-components-library/p-757415e9.entry.js} +2 -2
- package/dist/web-components-library/p-8117a929.entry.js +2 -0
- package/dist/web-components-library/p-8117a929.entry.js.map +1 -0
- package/dist/web-components-library/{p-23d669a8.entry.js → p-817689d5.entry.js} +2 -2
- package/{www/build/p-cbc1f955.entry.js → dist/web-components-library/p-8b93bc6d.entry.js} +2 -2
- package/dist/web-components-library/{p-c96b2352.entry.js → p-8c164e0d.entry.js} +2 -2
- package/dist/web-components-library/p-8c52635e.entry.js +2 -0
- package/dist/web-components-library/{p-064c29b7.entry.js → p-962c7f6b.entry.js} +2 -2
- package/dist/web-components-library/p-97608d16.entry.js +2 -0
- package/dist/web-components-library/{p-dc46730d.entry.js.map → p-97608d16.entry.js.map} +1 -1
- package/dist/web-components-library/{p-35b5c549.entry.js → p-98fdc6b5.entry.js} +2 -2
- package/dist/web-components-library/p-9e3da0b7.entry.js +2 -0
- package/dist/web-components-library/{p-02c55ed9.js → p-a06fbbc0.js} +2 -2
- package/dist/web-components-library/{p-a840eb59.entry.js → p-a905df88.entry.js} +2 -2
- package/dist/web-components-library/{p-684c8fcb.entry.js → p-ac585bcd.entry.js} +2 -2
- package/dist/web-components-library/{p-634b9589.entry.js → p-b63c8e8b.entry.js} +2 -2
- package/dist/web-components-library/{p-60ea979a.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-6ba6ed17.entry.js → p-c2ba8a6c.entry.js} +2 -2
- package/dist/web-components-library/{p-dd66d76e.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/dist/web-components-library/{p-38ffeac0.entry.js → 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-62aaee7a.entry.js → p-cb1de7b4.entry.js} +2 -2
- package/dist/web-components-library/p-cbab66f7.entry.js +2 -0
- package/{www/build/p-40ac080b.entry.js → dist/web-components-library/p-cebc9451.entry.js} +2 -2
- package/{www/build/p-33c8d043.entry.js → dist/web-components-library/p-d0d54d42.entry.js} +2 -2
- package/{www/build/p-5cca3cf8.entry.js → dist/web-components-library/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-edceccad.entry.js → p-d8aa6afa.entry.js} +2 -2
- package/dist/web-components-library/p-d90d2698.entry.js +2 -0
- package/{www/build/p-800bd543.entry.js → dist/web-components-library/p-da30a6cb.entry.js} +2 -2
- package/{www/build/p-9425d3d1.entry.js → dist/web-components-library/p-dc5ba112.entry.js} +2 -2
- package/dist/web-components-library/{p-76102f08.entry.js → p-e231e811.entry.js} +2 -2
- package/{www/build/p-2fd165a0.entry.js → dist/web-components-library/p-e3b82454.entry.js} +2 -2
- package/dist/web-components-library/p-e5407cc1.entry.js +2 -0
- package/dist/web-components-library/{p-e853ccde.entry.js → p-e639e1bc.entry.js} +2 -2
- package/dist/web-components-library/{p-8ec302f8.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-a1d45a8b.entry.js → p-f1c55eda.entry.js} +2 -2
- package/{www/build/p-9c6fc3a6.entry.js → dist/web-components-library/p-f5efb3fc.entry.js} +2 -2
- package/dist/web-components-library/{p-2afe6219.entry.js → p-fb232d07.entry.js} +2 -2
- package/dist/web-components-library/web-components-library.esm.js +1 -1
- package/dist/web-components-library/web-components-library.esm.js.map +1 -1
- package/package.json +1 -1
- package/www/build/index.esm.js +1 -1
- package/www/build/{p-10345a6d.entry.js → p-0756fe6f.entry.js} +2 -2
- package/www/build/{p-173b1867.entry.js → p-09ba466b.entry.js} +2 -2
- package/www/build/{p-fa9fdeb5.entry.js → p-14f0bdf4.entry.js} +2 -2
- package/{dist/web-components-library/p-b49aeff4.js → www/build/p-17af7fb2.js} +1 -1
- package/www/build/p-17af7fb2.js.map +1 -0
- package/www/build/{p-62dcf5d1.js → p-1b63615d.js} +1 -1
- package/www/build/{p-0c61db99.entry.js → p-25935be3.entry.js} +2 -2
- package/www/build/{p-333e3cef.entry.js → p-2fb52cd0.entry.js} +2 -2
- package/www/build/{p-892f03fc.entry.js → p-30575221.entry.js} +2 -2
- package/{dist/web-components-library/p-d67e2f1b.js → www/build/p-30e42fb1.js} +2 -2
- package/www/build/{p-411e98ab.entry.js → p-342b0eb0.entry.js} +2 -2
- package/www/build/p-37f271c8.entry.js +2 -0
- package/www/build/p-37f271c8.entry.js.map +1 -0
- package/www/build/p-3ed25564.entry.js +2 -0
- 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/{dist/web-components-library/p-b2bb23bb.entry.js → www/build/p-4cec3345.entry.js} +2 -2
- package/www/build/{p-a61cb9dc.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/www/build/{p-49f5ad13.entry.js → p-57b8bd19.entry.js} +2 -2
- package/www/build/{p-fed6d4ac.entry.js → p-5cf3a797.entry.js} +2 -2
- package/{dist/web-components-library/p-ee7185cf.entry.js → www/build/p-6273db7f.entry.js} +2 -2
- package/www/build/{p-22aab9d2.entry.js → p-63c1bde5.entry.js} +2 -2
- package/www/build/{p-a372e8cb.entry.js → p-6793061a.entry.js} +2 -2
- package/www/build/p-67edb420.entry.js +2 -0
- package/{dist/web-components-library/p-59c1d10c.entry.js → www/build/p-689b0280.entry.js} +2 -2
- package/{dist/web-components-library/p-dd350f70.entry.js → www/build/p-6a62a0a7.entry.js} +3 -3
- package/www/build/{p-6efc0b32.entry.js → p-6ca0ee2f.entry.js} +2 -2
- package/www/build/{p-98148b01.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-171ee634.js.map → www/build/p-748fa3ae.js.map} +1 -1
- package/{dist/web-components-library/p-99e3d7f4.entry.js → www/build/p-757415e9.entry.js} +2 -2
- package/www/build/p-8117a929.entry.js +2 -0
- package/www/build/p-8117a929.entry.js.map +1 -0
- package/www/build/{p-23d669a8.entry.js → p-817689d5.entry.js} +2 -2
- package/{dist/web-components-library/p-cbc1f955.entry.js → www/build/p-8b93bc6d.entry.js} +2 -2
- package/www/build/{p-c96b2352.entry.js → p-8c164e0d.entry.js} +2 -2
- package/www/build/p-8c52635e.entry.js +2 -0
- package/www/build/{p-064c29b7.entry.js → p-962c7f6b.entry.js} +2 -2
- package/www/build/p-97608d16.entry.js +2 -0
- package/www/build/{p-dc46730d.entry.js.map → p-97608d16.entry.js.map} +1 -1
- package/www/build/{p-35b5c549.entry.js → p-98fdc6b5.entry.js} +2 -2
- package/www/build/p-9e3da0b7.entry.js +2 -0
- package/www/build/{p-02c55ed9.js → p-a06fbbc0.js} +2 -2
- package/www/build/{p-a840eb59.entry.js → p-a905df88.entry.js} +2 -2
- package/www/build/{p-684c8fcb.entry.js → p-ac585bcd.entry.js} +2 -2
- package/www/build/{p-634b9589.entry.js → p-b63c8e8b.entry.js} +2 -2
- package/www/build/{p-60ea979a.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-6ba6ed17.entry.js → p-c2ba8a6c.entry.js} +2 -2
- package/www/build/{p-dd66d76e.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/www/build/{p-38ffeac0.entry.js → p-c962e854.entry.js} +2 -2
- package/www/build/{p-3cb9a131.entry.js → p-caa491ca.entry.js} +2 -2
- package/www/build/{p-62aaee7a.entry.js → p-cb1de7b4.entry.js} +2 -2
- package/www/build/p-cbab66f7.entry.js +2 -0
- package/{dist/web-components-library/p-40ac080b.entry.js → www/build/p-cebc9451.entry.js} +2 -2
- package/{dist/web-components-library/p-33c8d043.entry.js → www/build/p-d0d54d42.entry.js} +2 -2
- package/{dist/web-components-library/p-5cca3cf8.entry.js → www/build/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-edceccad.entry.js → p-d8aa6afa.entry.js} +2 -2
- package/www/build/p-d90d2698.entry.js +2 -0
- package/{dist/web-components-library/p-800bd543.entry.js → www/build/p-da30a6cb.entry.js} +2 -2
- package/{dist/web-components-library/p-9425d3d1.entry.js → www/build/p-dc5ba112.entry.js} +2 -2
- package/www/build/{p-76102f08.entry.js → p-e231e811.entry.js} +2 -2
- package/{dist/web-components-library/p-2fd165a0.entry.js → www/build/p-e3b82454.entry.js} +2 -2
- package/www/build/p-e5407cc1.entry.js +2 -0
- package/www/build/{p-e853ccde.entry.js → p-e639e1bc.entry.js} +2 -2
- package/www/build/{p-8ec302f8.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-a1d45a8b.entry.js → p-f1c55eda.entry.js} +2 -2
- package/{dist/web-components-library/p-9c6fc3a6.entry.js → www/build/p-f5efb3fc.entry.js} +2 -2
- package/www/build/{p-2afe6219.entry.js → p-fb232d07.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-10fe85fc.js +0 -47
- package/dist/cjs/index-10fe85fc.js.map +0 -1
- package/dist/cjs/index-152c983a.js +0 -59
- package/dist/cjs/index-152c983a.js.map +0 -1
- package/dist/cjs/index-2d4fb043.js.map +0 -1
- package/dist/cjs/index-364e3f60.js.map +0 -1
- package/dist/cjs/index-bf197d11.js.map +0 -1
- package/dist/esm/index-571f913c.js.map +0 -1
- package/dist/esm/index-6b637355.js +0 -45
- package/dist/esm/index-6b637355.js.map +0 -1
- package/dist/esm/index-cb76b648.js.map +0 -1
- package/dist/esm/index-d0f93a38.js +0 -57
- package/dist/esm/index-d0f93a38.js.map +0 -1
- package/dist/esm/index-eb53c87f.js +0 -19
- package/dist/esm/index-eb53c87f.js.map +0 -1
- package/dist/web-components-library/p-171ee634.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-2174d968.js +0 -2
- package/dist/web-components-library/p-2174d968.js.map +0 -1
- package/dist/web-components-library/p-22a8071a.entry.js +0 -2
- package/dist/web-components-library/p-28b41569.entry.js +0 -2
- package/dist/web-components-library/p-2aa75dee.entry.js +0 -2
- package/dist/web-components-library/p-2aa75dee.entry.js.map +0 -1
- package/dist/web-components-library/p-305d294a.entry.js +0 -2
- package/dist/web-components-library/p-3315c3e1.entry.js +0 -2
- package/dist/web-components-library/p-3315c3e1.entry.js.map +0 -1
- package/dist/web-components-library/p-39a968af.entry.js +0 -2
- package/dist/web-components-library/p-440db280.entry.js +0 -2
- package/dist/web-components-library/p-56156e0e.entry.js +0 -2
- package/dist/web-components-library/p-5cda7027.entry.js +0 -2
- package/dist/web-components-library/p-6a5bf3df.js +0 -2
- package/dist/web-components-library/p-6a5bf3df.js.map +0 -1
- package/dist/web-components-library/p-a2217ed8.entry.js +0 -2
- package/dist/web-components-library/p-a22b7aa0.entry.js +0 -2
- package/dist/web-components-library/p-a9d05a92.entry.js +0 -2
- package/dist/web-components-library/p-b49aeff4.js.map +0 -1
- package/dist/web-components-library/p-dc46730d.entry.js +0 -2
- package/dist/web-components-library/p-e2f36e53.entry.js +0 -2
- package/dist/web-components-library/p-e2f36e53.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-171ee634.js +0 -2
- package/www/build/p-195ed6d2.js +0 -2
- package/www/build/p-195ed6d2.js.map +0 -1
- package/www/build/p-2174d968.js +0 -2
- package/www/build/p-2174d968.js.map +0 -1
- package/www/build/p-22a8071a.entry.js +0 -2
- package/www/build/p-28b41569.entry.js +0 -2
- package/www/build/p-2aa75dee.entry.js +0 -2
- package/www/build/p-2aa75dee.entry.js.map +0 -1
- package/www/build/p-305d294a.entry.js +0 -2
- package/www/build/p-3315c3e1.entry.js +0 -2
- package/www/build/p-3315c3e1.entry.js.map +0 -1
- package/www/build/p-39a968af.entry.js +0 -2
- package/www/build/p-440db280.entry.js +0 -2
- package/www/build/p-56156e0e.entry.js +0 -2
- package/www/build/p-5cda7027.entry.js +0 -2
- package/www/build/p-6a5bf3df.js +0 -2
- package/www/build/p-6a5bf3df.js.map +0 -1
- package/www/build/p-a2217ed8.entry.js +0 -2
- package/www/build/p-a22b7aa0.entry.js +0 -2
- package/www/build/p-a9d05a92.entry.js +0 -2
- package/www/build/p-b49aeff4.js.map +0 -1
- package/www/build/p-dc46730d.entry.js +0 -2
- package/www/build/p-e2f36e53.entry.js +0 -2
- package/www/build/p-e2f36e53.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-10345a6d.entry.js.map → p-0756fe6f.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-173b1867.entry.js.map → p-09ba466b.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-fa9fdeb5.entry.js.map → p-14f0bdf4.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-0c61db99.entry.js.map → p-25935be3.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-333e3cef.entry.js.map → p-2fb52cd0.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-892f03fc.entry.js.map → p-30575221.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-d67e2f1b.js.map → p-30e42fb1.js.map} +0 -0
- /package/dist/web-components-library/{p-411e98ab.entry.js.map → p-342b0eb0.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-a2217ed8.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-b2bb23bb.entry.js.map → p-4cec3345.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-a61cb9dc.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-28b41569.entry.js.map → p-4fcbbe1c.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-49f5ad13.entry.js.map → p-57b8bd19.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-ee7185cf.entry.js.map → p-6273db7f.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-22aab9d2.entry.js.map → p-63c1bde5.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-a372e8cb.entry.js.map → p-6793061a.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-a9d05a92.entry.js.map → p-67edb420.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-59c1d10c.entry.js.map → p-689b0280.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-dd350f70.entry.js.map → p-6a62a0a7.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-6efc0b32.entry.js.map → p-6ca0ee2f.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-98148b01.entry.js.map → p-72a7eb26.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-440db280.entry.js.map → p-74819cbe.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-99e3d7f4.entry.js.map → p-757415e9.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-23d669a8.entry.js.map → p-817689d5.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-cbc1f955.entry.js.map → p-8b93bc6d.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-c96b2352.entry.js.map → p-8c164e0d.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-064c29b7.entry.js.map → p-962c7f6b.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-35b5c549.entry.js.map → p-98fdc6b5.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-305d294a.entry.js.map → p-9e3da0b7.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-02c55ed9.js.map → p-a06fbbc0.js.map} +0 -0
- /package/dist/web-components-library/{p-a840eb59.entry.js.map → p-a905df88.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-634b9589.entry.js.map → p-b63c8e8b.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-60ea979a.entry.js.map → p-badd98ad.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-6ba6ed17.entry.js.map → p-c2ba8a6c.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-dd66d76e.entry.js.map → p-c8814ae1.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-38ffeac0.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-62aaee7a.entry.js.map → p-cb1de7b4.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-22a8071a.entry.js.map → p-cbab66f7.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-40ac080b.entry.js.map → p-cebc9451.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-33c8d043.entry.js.map → p-d0d54d42.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-5cca3cf8.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-39a968af.entry.js.map → p-d75f8bbb.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-edceccad.entry.js.map → p-d8aa6afa.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-56156e0e.entry.js.map → p-d90d2698.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-800bd543.entry.js.map → p-da30a6cb.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-9425d3d1.entry.js.map → p-dc5ba112.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-76102f08.entry.js.map → p-e231e811.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-2fd165a0.entry.js.map → p-e3b82454.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-e853ccde.entry.js.map → p-e639e1bc.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-8ec302f8.entry.js.map → p-e8419614.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-a1d45a8b.entry.js.map → p-f1c55eda.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-9c6fc3a6.entry.js.map → p-f5efb3fc.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-2afe6219.entry.js.map → p-fb232d07.entry.js.map} +0 -0
- /package/www/build/{p-10345a6d.entry.js.map → p-0756fe6f.entry.js.map} +0 -0
- /package/www/build/{p-173b1867.entry.js.map → p-09ba466b.entry.js.map} +0 -0
- /package/www/build/{p-fa9fdeb5.entry.js.map → p-14f0bdf4.entry.js.map} +0 -0
- /package/www/build/{p-0c61db99.entry.js.map → p-25935be3.entry.js.map} +0 -0
- /package/www/build/{p-333e3cef.entry.js.map → p-2fb52cd0.entry.js.map} +0 -0
- /package/www/build/{p-892f03fc.entry.js.map → p-30575221.entry.js.map} +0 -0
- /package/www/build/{p-d67e2f1b.js.map → p-30e42fb1.js.map} +0 -0
- /package/www/build/{p-411e98ab.entry.js.map → p-342b0eb0.entry.js.map} +0 -0
- /package/www/build/{p-a2217ed8.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-b2bb23bb.entry.js.map → p-4cec3345.entry.js.map} +0 -0
- /package/www/build/{p-a61cb9dc.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-28b41569.entry.js.map → p-4fcbbe1c.entry.js.map} +0 -0
- /package/www/build/{p-49f5ad13.entry.js.map → p-57b8bd19.entry.js.map} +0 -0
- /package/www/build/{p-fed6d4ac.entry.js.map → p-5cf3a797.entry.js.map} +0 -0
- /package/www/build/{p-ee7185cf.entry.js.map → p-6273db7f.entry.js.map} +0 -0
- /package/www/build/{p-22aab9d2.entry.js.map → p-63c1bde5.entry.js.map} +0 -0
- /package/www/build/{p-a372e8cb.entry.js.map → p-6793061a.entry.js.map} +0 -0
- /package/www/build/{p-a9d05a92.entry.js.map → p-67edb420.entry.js.map} +0 -0
- /package/www/build/{p-59c1d10c.entry.js.map → p-689b0280.entry.js.map} +0 -0
- /package/www/build/{p-dd350f70.entry.js.map → p-6a62a0a7.entry.js.map} +0 -0
- /package/www/build/{p-6efc0b32.entry.js.map → p-6ca0ee2f.entry.js.map} +0 -0
- /package/www/build/{p-98148b01.entry.js.map → p-72a7eb26.entry.js.map} +0 -0
- /package/www/build/{p-440db280.entry.js.map → p-74819cbe.entry.js.map} +0 -0
- /package/www/build/{p-99e3d7f4.entry.js.map → p-757415e9.entry.js.map} +0 -0
- /package/www/build/{p-23d669a8.entry.js.map → p-817689d5.entry.js.map} +0 -0
- /package/www/build/{p-cbc1f955.entry.js.map → p-8b93bc6d.entry.js.map} +0 -0
- /package/www/build/{p-c96b2352.entry.js.map → p-8c164e0d.entry.js.map} +0 -0
- /package/www/build/{p-5cda7027.entry.js.map → p-8c52635e.entry.js.map} +0 -0
- /package/www/build/{p-064c29b7.entry.js.map → p-962c7f6b.entry.js.map} +0 -0
- /package/www/build/{p-35b5c549.entry.js.map → p-98fdc6b5.entry.js.map} +0 -0
- /package/www/build/{p-305d294a.entry.js.map → p-9e3da0b7.entry.js.map} +0 -0
- /package/www/build/{p-02c55ed9.js.map → p-a06fbbc0.js.map} +0 -0
- /package/www/build/{p-a840eb59.entry.js.map → p-a905df88.entry.js.map} +0 -0
- /package/www/build/{p-684c8fcb.entry.js.map → p-ac585bcd.entry.js.map} +0 -0
- /package/www/build/{p-634b9589.entry.js.map → p-b63c8e8b.entry.js.map} +0 -0
- /package/www/build/{p-60ea979a.entry.js.map → p-badd98ad.entry.js.map} +0 -0
- /package/www/build/{p-6ba6ed17.entry.js.map → p-c2ba8a6c.entry.js.map} +0 -0
- /package/www/build/{p-dd66d76e.entry.js.map → p-c8814ae1.entry.js.map} +0 -0
- /package/www/build/{p-38ffeac0.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-62aaee7a.entry.js.map → p-cb1de7b4.entry.js.map} +0 -0
- /package/www/build/{p-22a8071a.entry.js.map → p-cbab66f7.entry.js.map} +0 -0
- /package/www/build/{p-40ac080b.entry.js.map → p-cebc9451.entry.js.map} +0 -0
- /package/www/build/{p-33c8d043.entry.js.map → p-d0d54d42.entry.js.map} +0 -0
- /package/www/build/{p-5cca3cf8.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-39a968af.entry.js.map → p-d75f8bbb.entry.js.map} +0 -0
- /package/www/build/{p-edceccad.entry.js.map → p-d8aa6afa.entry.js.map} +0 -0
- /package/www/build/{p-56156e0e.entry.js.map → p-d90d2698.entry.js.map} +0 -0
- /package/www/build/{p-800bd543.entry.js.map → p-da30a6cb.entry.js.map} +0 -0
- /package/www/build/{p-9425d3d1.entry.js.map → p-dc5ba112.entry.js.map} +0 -0
- /package/www/build/{p-76102f08.entry.js.map → p-e231e811.entry.js.map} +0 -0
- /package/www/build/{p-2fd165a0.entry.js.map → p-e3b82454.entry.js.map} +0 -0
- /package/www/build/{p-a22b7aa0.entry.js.map → p-e5407cc1.entry.js.map} +0 -0
- /package/www/build/{p-e853ccde.entry.js.map → p-e639e1bc.entry.js.map} +0 -0
- /package/www/build/{p-8ec302f8.entry.js.map → p-e8419614.entry.js.map} +0 -0
- /package/www/build/{p-a1d45a8b.entry.js.map → p-f1c55eda.entry.js.map} +0 -0
- /package/www/build/{p-9c6fc3a6.entry.js.map → p-f5efb3fc.entry.js.map} +0 -0
- /package/www/build/{p-2afe6219.entry.js.map → p-fb232d07.entry.js.map} +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"file":"z-navigation-tabs.js","mappings":";;;;AAAA,MAAM,SAAS,GAAG,ymIAAymI,CAAC;AAC5nI,8BAAe,SAAS;;MCaXA,iBAAe;;;;;;;;QAyDlB,eAAU,GAAG,SAAS,CAAC;yBApDnB,EAAE;2BAMC,yBAAyB,CAAC,UAAU;oBAM3C,kBAAkB,CAAC,GAAG;2BAQR,SAAS;;;;;;;;IA0C/B,IAAI,SAAS;Q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AW,IAE5B,+DACE,KAAK,EAAC,mBAAmB,EACzB,OAAO,EAAE,IAAI,CAAC,iBAAiB,CAAC,IAAI,CAAC,IAAI,CAAC,EAC1C,QAAQ,EAAE,CAAC,CAAC,EACZ,QAAQ,EAAE,CAAC,IAAI,CAAC,eAAe,gBACpB,4BAA4B,EACvC,MAAM,EAAE,CAAC,IAAI,CAAC,WAAW,IAEzB,+DACE,IAAI,EAAE,IAAI,CAAC,WAAW,KAAK,yBAAyB,CAAC,UAAU,GAAG,cAAc,GAAG,YAAY,EAC/F,KAAK,EAAE,EAAE,EACT,MAAM,EAAE,EAAE,GACV,CACK,EAET,4DACE,IAAI,EAAC,SAAS,gBACF,IAAI,CAAC,SAAS,EAC1B,GAAG,EAAE,CAAC,EAAE,MAAM,IAAI,CAAC,GAAG,GAAG,EAAE,aAAF,EAAE,cAAF,EAAE,GAAI,IAAI,CAAC,GAAG,CAAC,EACxC,QAAQ,EAAE,IAAI,CAAC,kBAAkB,CAAC,IAAI,CAAC,IAAI,CAAC,sBAC1B,IAAI,CAAC,WAAW,IAElC,8DAAa,CACT,EAEN,+DACE,KAAK,EAAC,mBAAmB,EACzB,OAAO,EAAE,IAAI,CAAC,eAAe,CAAC,IAAI,CAAC,IAAI,CAAC,EACxC,QAAQ,EAAE,CAAC,CAAC,EACZ,QAAQ,EAAE,CAAC,IAAI,CAAC,eAAe,gBACpB,4BAA4B,EACvC,MAAM,EAAE,CAAC,IAAI,CAAC,WAAW,IAEzB,+DACE,IAAI,EAAE,IAAI,CAAC,WAAW,KAAK,yBAAyB,CAAC,UAAU,GAAG,eAAe,GAAG,cAAc,EAClG,KAAK,EAAE,EAAE,EACT,MAAM,EAAE,EAAE,GACV,CACK,CACJ,EACP;KACH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["ZNavigationTabs"],"sources":["src/components/z-navigation-tabs/styles.css?tag=z-navigation-tabs","src/components/z-navigation-tabs/index.tsx"],"sourcesContent":["z-navigation-tabs {\n --z-navigation-tabs-nav-buttons-bg: ;\n --z-navigation-tabs-nav-buttons-fg: ;\n\n position: relative;\n z-index: 0;\n display: flex;\n overflow: hidden;\n flex-direction: row;\n font-family: var(--font-family-sans);\n font-weight: var(--font-rg);\n}\n\nz-navigation-tabs,\nz-navigation-tabs * {\n box-sizing: border-box;\n}\n\nz-navigation-tabs > nav::-webkit-scrollbar {\n display: none;\n}\n\nz-navigation-tabs .navigation-button {\n position: absolute;\n z-index: 1;\n display: flex;\n align-items: center;\n justify-content: center;\n padding: 0;\n border: none;\n margin: 0;\n background-color: var(--z-navigation-tabs-nav-buttons-bg, var(--color-surface01));\n border-radius: var(--border-no-radius);\n box-shadow: 0 0 4px 1px var(--shadow-color-base);\n cursor: pointer;\n fill: var(--z-navigation-tabs-nav-buttons-fg, var(--color-primary01));\n outline: none;\n}\n\nz-navigation-tabs .navigation-button:disabled {\n display: none;\n}\n\nz-navigation-tabs > nav {\n z-index: 0;\n display: flex;\n overflow: auto;\n align-items: center;\n justify-content: flex-start;\n scroll-behavior: smooth;\n\n /* hide scrollbar in Firefox */\n scrollbar-width: none;\n}\n\nz-navigation-tabs[orientation=\"horizontal\"] > nav {\n width: 100%;\n}\n\nz-navigation-tabs[orientation=\"horizontal\"] .navigation-button {\n top: 0;\n width: calc(var(--space-unit) * 4);\n height: 100%;\n}\n\nz-navigation-tabs[orientation=\"horizontal\"] .navigation-button:first-child {\n left: 0;\n}\n\nz-navigation-tabs[orientation=\"horizontal\"] .navigation-button:last-child {\n right: 0;\n}\n\n/* Orientation vertical */\nz-navigation-tabs[orientation=\"vertical\"] {\n width: fit-content;\n flex-direction: column;\n}\n\nz-navigation-tabs[orientation=\"vertical\"] > nav {\n height: 100%;\n flex-direction: column;\n align-items: stretch;\n}\n\nz-navigation-tabs[orientation=\"vertical\"] .navigation-button {\n left: 0;\n width: 100%;\n height: calc(var(--space-unit) * 4);\n}\n\nz-navigation-tabs[orientation=\"vertical\"] .navigation-button:first-child {\n top: 0;\n}\n\nz-navigation-tabs[orientation=\"vertical\"] .navigation-button:last-child {\n bottom: 0;\n}\n\nz-navigation-tabs[size=\"small\"][orientation=\"vertical\"] .navigation-button {\n height: calc(var(--space-unit) * 4);\n}\n\n/* Style for the tabs */\n\nz-navigation-tabs > nav > * {\n position: relative;\n z-index: 0;\n display: inline-flex;\n width: auto;\n align-items: center;\n justify-content: center;\n padding: calc(var(--space-unit) * 2) calc(var(--space-unit) * 5);\n border: none;\n margin: 0;\n background-color: unset;\n border-radius: var(--border-no-radius);\n color: var(--color-primary01);\n cursor: pointer;\n fill: currentcolor;\n font-family: var(--font-family-sans);\n font-size: inherit;\n gap: var(--space-unit);\n letter-spacing: inherit;\n line-height: inherit;\n outline: none;\n text-align: center;\n white-space: nowrap;\n}\n\nz-navigation-tabs > nav > a {\n text-decoration: none;\n}\n\nz-navigation-tabs > nav > *:focus:focus-visible {\n z-index: 1;\n box-shadow: inset 0 0 2px 2px var(--blue800);\n}\n\nz-navigation-tabs > nav > :not([disabled]):hover {\n background-color: var(--color-background);\n}\n\nz-navigation-tabs > nav > button[disabled] {\n color: var(--color-disabled03);\n cursor: not-allowed;\n fill: currentcolor;\n pointer-events: all;\n}\n\nz-navigation-tabs > nav > :not([disabled]):hover,\nnav > [aria-selected=\"true\"] {\n color: var(--color-hover-primary);\n fill: currentcolor;\n}\n\nz-navigation-tabs > nav > :not([disabled]):hover::after,\nnav > [aria-selected=\"true\"]::after {\n position: absolute;\n background-color: var(--color-hover-primary);\n content: \"\";\n}\n\nz-navigation-tabs[orientation=\"horizontal\"] > nav > :not([disabled]):hover::after,\nz-navigation-tabs[orientation=\"horizontal\"] > nav > [aria-selected=\"true\"]::after {\n bottom: 0;\n left: 0;\n width: 100%;\n height: var(--border-size-large);\n}\n\nz-navigation-tabs > nav > * z-icon {\n --z-icon-width: calc(var(--space-unit) * 2);\n --z-icon-height: calc(var(--space-unit) * 2);\n\n display: flex;\n margin: 0;\n}\n\n/* `small` size (only available for horizontal orientation) */\n\nz-navigation-tabs[size=\"small\"][orientation=\"horizontal\"] > nav > * {\n padding: var(--space-unit) calc(var(--space-unit) * 2);\n}\n\nz-navigation-tabs[size=\"small\"][orientation=\"horizontal\"] > nav > :not([disabled]):hover::after,\nz-navigation-tabs[size=\"small\"][orientation=\"horizontal\"] > nav > [aria-selected=\"true\"]::after {\n height: var(--border-size-medium);\n}\n\nz-navigation-tabs[size=\"small\"]:not([orientation=\"vertical\"]) > nav > * z-icon {\n --z-icon-width: 14px;\n --z-icon-height: 14px;\n}\n\n/* Orientation Vertical */\n\nz-navigation-tabs[orientation=\"vertical\"] > nav > * {\n padding: calc(var(--space-unit) * 3) calc(var(--space-unit) * 2);\n}\n\nz-navigation-tabs[orientation=\"vertical\"] > nav > * > :not(z-icon) {\n display: none;\n}\n\nz-navigation-tabs[orientation=\"vertical\"] > nav > :not([disabled]):hover::after,\nz-navigation-tabs[orientation=\"vertical\"] > nav > [aria-selected=\"true\"]::after {\n top: 0;\n right: 0;\n width: var(--border-size-large);\n height: 100%;\n}\n","import {Component, Element, Event, EventEmitter, Host, Listen, Prop, State, Watch, h} from \"@stencil/core\";\nimport {NavigationTabsKeyboardEvents, NavigationTabsOrientation, NavigationTabsSize} from \"../../beans\";\n\n/**\n * Navigation tabs component.\n * To select a specific tab programmatically, set the `aria-selected` attribute to `true` on the desired tab.\n * @slot - Main slot. Use `<button>` or `<a>` tags as children.\n * @cssprop --z-navigation-tabs-nav-buttons-bg - Navigation buttons background color.\n * @cssprop --z-navigation-tabs-nav-buttons-fg - Navigation buttons foreground color.\n */\n@Component({\n tag: \"z-navigation-tabs\",\n styleUrl: \"styles.css\",\n})\nexport class ZNavigationTabs {\n /**\n * Set `aria-label` attribute to the internal `<nav>` element with `tablist` role.\n */\n @Prop()\n ariaLabel = \"\";\n\n /**\n * Navigation tabs orientation.\n */\n @Prop({reflect: true})\n orientation? = NavigationTabsOrientation.HORIZONTAL;\n\n /**\n * Navigation tabs size.\n */\n @Prop({reflect: true})\n size? = NavigationTabsSize.BIG;\n\n /**\n * Index of the selected tab.\n * Useful to programmatically select a tab.\n * The tab can also be selected by setting the `aria-selected` attribute to `true` on the desired tab.\n */\n @Prop({mutable: true})\n selectedTab: number = undefined;\n\n /**\n * Emitted when the selected tab changes.\n * Contains the index of the new selected tab in the `detail` of the event.\n */\n @Event()\n selected: EventEmitter<number>;\n\n /**\n * Whether to show navigation buttons.\n */\n @State()\n canNavigate: boolean;\n\n /**\n * Whether backwards navigation is allowed.\n */\n @State()\n canNavigatePrev: boolean;\n\n /**\n * Whether forward navigation is allowed.\n */\n @State()\n canNavigateNext: boolean;\n\n @Element() host: HTMLZNavigationTabsElement;\n\n /**\n * Index of the last tab that held focus.\n */\n private focusedTab = undefined;\n\n /**\n * Reference to the `<nav>` element\n */\n private nav: HTMLElement;\n\n /**\n * Getter for the direction to check based on current orientation.\n */\n get direction(): string {\n return this.orientation == NavigationTabsOrientation.HORIZONTAL ? \"Left\" : \"Top\";\n }\n\n /**\n * Getter for the dimension to check based on current orientation.\n */\n get dimension(): string {\n return this.orientation == NavigationTabsOrientation.HORIZONTAL ? \"Width\" : \"Height\";\n }\n\n get tabs(): HTMLElement[] {\n return Array.from(this.nav.children) as HTMLElement[];\n }\n\n private resizeObserver: ResizeObserver;\n\n /**\n * Scroll into view to center the tab.\n */\n private scrollToTab(tabElement: HTMLElement): void {\n const container = tabElement.parentElement;\n\n if (!container) {\n return;\n }\n\n setTimeout(() => {\n const isHorizontal = this.orientation === NavigationTabsOrientation.HORIZONTAL;\n\n const containerRect = container.getBoundingClientRect();\n const tabRect = tabElement.getBoundingClientRect();\n\n const offset = isHorizontal ? tabRect.left - containerRect.left : tabRect.top - containerRect.top;\n const containerSize = isHorizontal ? container.clientWidth : container.clientHeight;\n const tabSize = isHorizontal ? tabElement.clientWidth : tabElement.clientHeight;\n const scrollAmount = offset - containerSize / 2 + tabSize / 2;\n\n container.scrollTo({\n [isHorizontal ? \"left\" : \"top\"]: container[isHorizontal ? \"scrollLeft\" : \"scrollTop\"] + scrollAmount,\n behavior: \"smooth\",\n });\n }, 100);\n }\n\n /**\n * Scroll the navigation bar half of its size backward.\n */\n private navigateBackwards(): void {\n this.nav.scrollBy({\n [this.direction.toLowerCase()]: 0 - this.nav[`client${this.dimension}`] / 2,\n behavior: \"smooth\",\n });\n }\n\n /**\n * Scroll the navigation bar half of its size forward.\n */\n private navigateForward(): void {\n this.nav.scrollBy({\n [this.direction.toLowerCase()]: this.nav[`scroll${this.direction}`] + this.nav[`client${this.dimension}`] / 2,\n behavior: \"smooth\",\n });\n }\n\n /**\n * Check if a keyboard event was triggered by an arrow key.\n */\n private isArrowNavigation(e: KeyboardEvent): boolean {\n return Object.values(NavigationTabsKeyboardEvents).includes(e.key as NavigationTabsKeyboardEvents);\n }\n\n /**\n * Check if the navigation buttons are needed.\n */\n private checkScrollVisible(): void {\n if (!this.nav) {\n return;\n }\n\n this.canNavigate = this.nav[`scroll${this.dimension}`] > this.nav[`client${this.dimension}`];\n }\n\n /**\n * Check if navigation buttons can be enabled for each direction.\n */\n @Watch(\"canNavigate\")\n checkScrollEnabled(): void {\n if (!this.nav) {\n return;\n }\n\n this.canNavigateNext =\n this.nav[`scroll${this.direction}`] + this.nav[`client${this.dimension}`] < this.nav[`scroll${this.dimension}`];\n this.canNavigatePrev = this.nav[`scroll${this.direction}`] > 0;\n }\n\n /**\n * When the selected tab changes, update the `aria-selected` attribute on each tab and scroll to the selected tab.\n */\n @Watch(\"selectedTab\")\n onTabSelected(): void {\n this.tabs.forEach((tab, i) => {\n const zicon = tab.querySelector(\"z-icon\");\n const strokeIcon = zicon?.name.replace(\"-filled\", \"\");\n if (i !== this.selectedTab) {\n tab.setAttribute(\"aria-selected\", \"false\");\n tab.tabIndex = -1;\n if (zicon) {\n zicon.name = strokeIcon;\n }\n\n return;\n }\n\n if (zicon) {\n zicon.name = `${strokeIcon}-filled`;\n }\n tab.setAttribute(\"aria-selected\", \"true\");\n });\n this.selected.emit(this.selectedTab);\n if (this.selectedTab !== undefined) {\n this.scrollToTab(this.tabs[this.selectedTab]);\n }\n }\n\n /**\n * Handle click on the tabs.\n * @param event `click` event triggered by a child tab\n */\n @Listen(\"click\")\n handleTabClick(event: MouseEvent): void {\n const clickedTab = (event.target as HTMLElement).closest<HTMLElement>(\"[role='tab']\");\n if (!this.tabs.some((child) => child.contains(clickedTab))) {\n return;\n }\n\n this.selectedTab = this.tabs.indexOf(clickedTab);\n }\n\n /**\n * When a tab is focused, temporarily set to -1 the `tabindex` of the selected tab (if any) and set the `focusedTab` to the index of the focused tab.\n */\n @Listen(\"focusin\")\n onTabFocusIn(event: FocusEvent): void {\n const focused = this.tabs.findIndex((tab) => tab.contains(event.target as HTMLElement));\n if (focused === -1) {\n return;\n }\n\n if (this.selectedTab !== undefined) {\n this.tabs[this.selectedTab].tabIndex = -1;\n }\n this.focusedTab = focused;\n this.tabs[this.focusedTab].tabIndex = -1;\n this.scrollToTab(this.tabs[this.focusedTab]);\n }\n\n /**\n * Handle keyboard navigation through tabs with arrow keys.\n */\n @Listen(\"keydown\")\n navigateThroughTabs(event: KeyboardEvent): void | boolean {\n if (!this.tabs.some((tab) => tab.contains(event.target as HTMLElement)) || !this.isArrowNavigation(event)) {\n return true;\n }\n\n event.preventDefault();\n if (\n (event.key === NavigationTabsKeyboardEvents.RIGHT && this.orientation == NavigationTabsOrientation.HORIZONTAL) ||\n (event.key === NavigationTabsKeyboardEvents.DOWN && this.orientation == NavigationTabsOrientation.VERTICAL)\n ) {\n // Move forward\n this.focusedTab++;\n if (this.focusedTab >= this.tabs.length) {\n this.focusedTab = 0;\n }\n } else if (\n (event.key === NavigationTabsKeyboardEvents.LEFT && this.orientation == NavigationTabsOrientation.HORIZONTAL) ||\n (event.key === NavigationTabsKeyboardEvents.UP && this.orientation == NavigationTabsOrientation.VERTICAL)\n ) {\n // Move backward\n this.focusedTab--;\n if (this.focusedTab < 0) {\n this.focusedTab = this.tabs.length - 1;\n }\n }\n // Ignore disabled tabs\n if (\n this.tabs[this.focusedTab].hasAttribute(\"disabled\") &&\n this.tabs[this.focusedTab].getAttribute(\"disabled\") !== \"false\"\n ) {\n return this.navigateThroughTabs(event);\n }\n\n this.tabs[this.focusedTab].focus();\n this.scrollToTab(this.tabs[this.focusedTab]);\n }\n\n /**\n * If the focus is not going on a tab (`relatedTarget` is the new focused element), set to 0 the `tabindex` of the selected tab or the one of the first tab, then unset the `focusedTab`.\n */\n @Listen(\"focusout\")\n onTabFocusOut(event: FocusEvent): void {\n if (!this.tabs.some((tab) => tab.contains(event.relatedTarget as HTMLElement))) {\n this.tabs[this.selectedTab ?? 0].tabIndex = 0;\n this.focusedTab = undefined;\n }\n }\n\n connectedCallback(): void {\n this.resizeObserver = new ResizeObserver(() => this.checkScrollVisible());\n }\n\n componentDidLoad(): void {\n // Set role and tabindex to each slotted tab\n this.tabs.forEach((tab) => {\n tab.setAttribute(\"role\", \"tab\");\n tab.tabIndex = -1;\n });\n\n const preselectedTab = this.selectedTab ?? this.tabs.findIndex((tab) => tab.ariaSelected === \"true\");\n if (preselectedTab !== -1) {\n this.selectedTab = preselectedTab;\n this.tabs[preselectedTab].tabIndex = 0;\n this.onTabSelected();\n } else {\n this.tabs[0].tabIndex = 0;\n }\n\n this.resizeObserver.observe(this.nav);\n }\n\n disconnectedCallback(): void {\n this.resizeObserver?.disconnect();\n }\n\n render(): HTMLZNavigationTabsElement {\n return (\n <Host\n class={{\n \"interactive-2\": this.size === NavigationTabsSize.SMALL,\n \"interactive-1\": this.size !== NavigationTabsSize.SMALL,\n }}\n scrollable={this.canNavigate}\n >\n <button\n class=\"navigation-button\"\n onClick={this.navigateBackwards.bind(this)}\n tabIndex={-1}\n disabled={!this.canNavigatePrev}\n aria-label=\"Mostra elementi precedenti\"\n hidden={!this.canNavigate}\n >\n <z-icon\n name={this.orientation === NavigationTabsOrientation.HORIZONTAL ? \"chevron-left\" : \"chevron-up\"}\n width={16}\n height={16}\n />\n </button>\n\n <nav\n role=\"tablist\"\n aria-label={this.ariaLabel}\n ref={(el) => (this.nav = el ?? this.nav)}\n onScroll={this.checkScrollEnabled.bind(this)}\n aria-orientation={this.orientation}\n >\n <slot></slot>\n </nav>\n\n <button\n class=\"navigation-button\"\n onClick={this.navigateForward.bind(this)}\n tabIndex={-1}\n disabled={!this.canNavigateNext}\n aria-label=\"Mostra elementi successivi\"\n hidden={!this.canNavigate}\n >\n <z-icon\n name={this.orientation === NavigationTabsOrientation.HORIZONTAL ? \"chevron-right\" : \"chevron-down\"}\n width={16}\n height={16}\n />\n </button>\n </Host>\n );\n }\n}\n"],"version":3}
|
|
1
|
+
{"file":"z-navigation-tabs.js","mappings":";;;;AAAA,MAAM,SAAS,GAAG,mnIAAmnI,CAAC;AACtoI,8BAAe,SAAS;;MCaXA,iBAAe;;;;;;;;QAyDlB,eAAU,GAAG,SAAS,CAAC;yBApDnB,EAAE;2BAMC,yBAAyB,CAAC,UAAU;oBAM3C,kBAAkB,CAAC,GAAG;2BAQR,SAAS;;;;;;;;IA0C/B,IAAI,SAAS;QACX,OAAO,IAAI,CAAC,WAAW,IAAI,yBAAyB,CAAC,UAAU,GAAG,MAAM,GAAG,KAAK,CAAC;KAClF;;;;IAKD,IAAI,SAAS;QACX,OAAO,IAAI,CAAC,WAAW,IAAI,yBAAyB,CAAC,UAAU,GAAG,OAAO,GAAG,QAAQ,CAAC;KACtF;IAED,IAAI,IAAI;QACN,OAAO,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,CAAC,QAAQ,CAAkB,CAAC;KACvD;;;;IAOO,WAAW,CAAC,UAAuB;QACzC,MAAM,SAAS,GAAG,UAAU,CAAC,aAAa,CAAC;QAE3C,IAAI,CAAC,SAAS,EAAE;YACd,OAAO;SACR;QAED,UAAU,CAAC;YACT,MAAM,YAAY,GAAG,IAAI,CAAC,WAAW,KAAK,yBAAyB,CAAC,UAAU,CAAC;YAE/E,MAAM,aAAa,GAAG,SAAS,CAAC,qBAAqB,EAAE,CAAC;YACxD,MAAM,OAAO,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kBAAkB,CAAC,IAAI,CAAC,IAAI,CAAC,sBAC1B,IAAI,CAAC,WAAW,IAElC,8DAAa,CACT,EAEN,+DACE,KAAK,EAAC,mBAAmB,EACzB,OAAO,EAAE,IAAI,CAAC,eAAe,CAAC,IAAI,CAAC,IAAI,CAAC,EACxC,QAAQ,EAAE,CAAC,CAAC,EACZ,QAAQ,EAAE,CAAC,IAAI,CAAC,eAAe,gBACpB,4BAA4B,EACvC,MAAM,EAAE,CAAC,IAAI,CAAC,WAAW,IAEzB,+DACE,IAAI,EAAE,IAAI,CAAC,WAAW,KAAK,yBAAyB,CAAC,UAAU,GAAG,eAAe,GAAG,cAAc,EAClG,KAAK,EAAE,EAAE,EACT,MAAM,EAAE,EAAE,GACV,CACK,CACJ,EACP;KACH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["ZNavigationTabs"],"sources":["src/components/z-navigation-tabs/styles.css?tag=z-navigation-tabs","src/components/z-navigation-tabs/index.tsx"],"sourcesContent":["z-navigation-tabs {\n --z-navigation-tabs-nav-buttons-bg: ;\n --z-navigation-tabs-nav-buttons-fg: ;\n\n position: relative;\n z-index: 0;\n display: flex;\n overflow: hidden;\n flex-direction: row;\n font-family: var(--font-family-sans);\n font-weight: var(--font-rg);\n}\n\nz-navigation-tabs,\nz-navigation-tabs * {\n box-sizing: border-box;\n}\n\nz-navigation-tabs > nav::-webkit-scrollbar {\n display: none;\n}\n\nz-navigation-tabs .navigation-button {\n position: absolute;\n z-index: 1;\n display: flex;\n align-items: center;\n justify-content: center;\n padding: 0;\n border: none;\n margin: 0;\n background-color: var(--z-navigation-tabs-nav-buttons-bg, var(--color-surface01));\n border-radius: var(--border-no-radius);\n box-shadow: 0 0 4px 1px var(--shadow-color-base);\n cursor: pointer;\n fill: var(--z-navigation-tabs-nav-buttons-fg, var(--color-primary01));\n outline: none;\n}\n\nz-navigation-tabs .navigation-button:disabled {\n display: none;\n}\n\nz-navigation-tabs > nav {\n z-index: 0;\n display: flex;\n overflow: auto;\n align-items: center;\n justify-content: flex-start;\n scroll-behavior: smooth;\n\n /* hide scrollbar in Firefox */\n scrollbar-width: none;\n}\n\nz-navigation-tabs[orientation=\"horizontal\"] > nav {\n width: 100%;\n}\n\nz-navigation-tabs[orientation=\"horizontal\"] .navigation-button {\n top: 0;\n width: calc(var(--space-unit) * 4);\n height: 100%;\n}\n\nz-navigation-tabs[orientation=\"horizontal\"] .navigation-button:first-child {\n left: 0;\n}\n\nz-navigation-tabs[orientation=\"horizontal\"] .navigation-button:last-child {\n right: 0;\n}\n\n/* Orientation vertical */\nz-navigation-tabs[orientation=\"vertical\"] {\n width: fit-content;\n flex-direction: column;\n}\n\nz-navigation-tabs[orientation=\"vertical\"] > nav {\n height: 100%;\n flex-direction: column;\n align-items: stretch;\n}\n\nz-navigation-tabs[orientation=\"vertical\"] .navigation-button {\n left: 0;\n width: 100%;\n height: calc(var(--space-unit) * 4);\n}\n\nz-navigation-tabs[orientation=\"vertical\"] .navigation-button:first-child {\n top: 0;\n}\n\nz-navigation-tabs[orientation=\"vertical\"] .navigation-button:last-child {\n bottom: 0;\n}\n\nz-navigation-tabs[size=\"small\"][orientation=\"vertical\"] .navigation-button {\n height: calc(var(--space-unit) * 4);\n}\n\n/* Style for the tabs */\n\nz-navigation-tabs > nav > * {\n position: relative;\n z-index: 0;\n display: inline-flex;\n width: auto;\n align-items: center;\n justify-content: center;\n padding: calc(var(--space-unit) * 2) calc(var(--space-unit) * 5);\n border: none;\n margin: 0;\n background-color: unset;\n border-radius: var(--border-no-radius);\n color: var(--color-primary01);\n cursor: pointer;\n fill: currentcolor;\n font-family: var(--font-family-sans);\n font-size: inherit;\n gap: var(--space-unit);\n letter-spacing: inherit;\n line-height: inherit;\n outline: none;\n text-align: center;\n white-space: nowrap;\n}\n\nz-navigation-tabs > nav > a {\n text-decoration: none;\n}\n\nz-navigation-tabs > nav > *:focus:focus-visible {\n z-index: 1;\n box-shadow: inset 0 0 2px 2px var(--shadow-color-base);\n}\n\nz-navigation-tabs > nav > :not([disabled]):hover {\n background-color: var(--color-background);\n}\n\nz-navigation-tabs > nav > button[disabled] {\n color: var(--color-disabled03);\n cursor: not-allowed;\n fill: currentcolor;\n pointer-events: all;\n}\n\nz-navigation-tabs > nav > :not([disabled]):hover,\nnav > [aria-selected=\"true\"] {\n color: var(--color-hover-primary);\n fill: currentcolor;\n}\n\nz-navigation-tabs > nav > :not([disabled]):hover::after,\nnav > [aria-selected=\"true\"]::after {\n position: absolute;\n background-color: var(--color-hover-primary);\n content: \"\";\n}\n\nz-navigation-tabs[orientation=\"horizontal\"] > nav > :not([disabled]):hover::after,\nz-navigation-tabs[orientation=\"horizontal\"] > nav > [aria-selected=\"true\"]::after {\n bottom: 0;\n left: 0;\n width: 100%;\n height: var(--border-size-large);\n}\n\nz-navigation-tabs > nav > * z-icon {\n --z-icon-width: calc(var(--space-unit) * 2);\n --z-icon-height: calc(var(--space-unit) * 2);\n\n display: flex;\n margin: 0;\n}\n\n/* `small` size (only available for horizontal orientation) */\n\nz-navigation-tabs[size=\"small\"][orientation=\"horizontal\"] > nav > * {\n padding: var(--space-unit) calc(var(--space-unit) * 2);\n}\n\nz-navigation-tabs[size=\"small\"][orientation=\"horizontal\"] > nav > :not([disabled]):hover::after,\nz-navigation-tabs[size=\"small\"][orientation=\"horizontal\"] > nav > [aria-selected=\"true\"]::after {\n height: var(--border-size-medium);\n}\n\nz-navigation-tabs[size=\"small\"]:not([orientation=\"vertical\"]) > nav > * z-icon {\n --z-icon-width: 14px;\n --z-icon-height: 14px;\n}\n\n/* Orientation Vertical */\n\nz-navigation-tabs[orientation=\"vertical\"] > nav > * {\n padding: calc(var(--space-unit) * 3) calc(var(--space-unit) * 2);\n}\n\nz-navigation-tabs[orientation=\"vertical\"] > nav > * > :not(z-icon) {\n display: none;\n}\n\nz-navigation-tabs[orientation=\"vertical\"] > nav > :not([disabled]):hover::after,\nz-navigation-tabs[orientation=\"vertical\"] > nav > [aria-selected=\"true\"]::after {\n top: 0;\n right: 0;\n width: var(--border-size-large);\n height: 100%;\n}\n","import {Component, Element, Event, EventEmitter, Host, Listen, Prop, State, Watch, h} from \"@stencil/core\";\nimport {NavigationTabsKeyboardEvents, NavigationTabsOrientation, NavigationTabsSize} from \"../../beans\";\n\n/**\n * Navigation tabs component.\n * To select a specific tab programmatically, set the `aria-selected` attribute to `true` on the desired tab.\n * @slot - Main slot. Use `<button>` or `<a>` tags as children.\n * @cssprop --z-navigation-tabs-nav-buttons-bg - Navigation buttons background color.\n * @cssprop --z-navigation-tabs-nav-buttons-fg - Navigation buttons foreground color.\n */\n@Component({\n tag: \"z-navigation-tabs\",\n styleUrl: \"styles.css\",\n})\nexport class ZNavigationTabs {\n /**\n * Set `aria-label` attribute to the internal `<nav>` element with `tablist` role.\n */\n @Prop()\n ariaLabel = \"\";\n\n /**\n * Navigation tabs orientation.\n */\n @Prop({reflect: true})\n orientation? = NavigationTabsOrientation.HORIZONTAL;\n\n /**\n * Navigation tabs size.\n */\n @Prop({reflect: true})\n size? = NavigationTabsSize.BIG;\n\n /**\n * Index of the selected tab.\n * Useful to programmatically select a tab.\n * The tab can also be selected by setting the `aria-selected` attribute to `true` on the desired tab.\n */\n @Prop({mutable: true})\n selectedTab: number = undefined;\n\n /**\n * Emitted when the selected tab changes.\n * Contains the index of the new selected tab in the `detail` of the event.\n */\n @Event()\n selected: EventEmitter<number>;\n\n /**\n * Whether to show navigation buttons.\n */\n @State()\n canNavigate: boolean;\n\n /**\n * Whether backwards navigation is allowed.\n */\n @State()\n canNavigatePrev: boolean;\n\n /**\n * Whether forward navigation is allowed.\n */\n @State()\n canNavigateNext: boolean;\n\n @Element() host: HTMLZNavigationTabsElement;\n\n /**\n * Index of the last tab that held focus.\n */\n private focusedTab = undefined;\n\n /**\n * Reference to the `<nav>` element\n */\n private nav: HTMLElement;\n\n /**\n * Getter for the direction to check based on current orientation.\n */\n get direction(): string {\n return this.orientation == NavigationTabsOrientation.HORIZONTAL ? \"Left\" : \"Top\";\n }\n\n /**\n * Getter for the dimension to check based on current orientation.\n */\n get dimension(): string {\n return this.orientation == NavigationTabsOrientation.HORIZONTAL ? \"Width\" : \"Height\";\n }\n\n get tabs(): HTMLElement[] {\n return Array.from(this.nav.children) as HTMLElement[];\n }\n\n private resizeObserver: ResizeObserver;\n\n /**\n * Scroll into view to center the tab.\n */\n private scrollToTab(tabElement: HTMLElement): void {\n const container = tabElement.parentElement;\n\n if (!container) {\n return;\n }\n\n setTimeout(() => {\n const isHorizontal = this.orientation === NavigationTabsOrientation.HORIZONTAL;\n\n const containerRect = container.getBoundingClientRect();\n const tabRect = tabElement.getBoundingClientRect();\n\n const offset = isHorizontal ? tabRect.left - containerRect.left : tabRect.top - containerRect.top;\n const containerSize = isHorizontal ? container.clientWidth : container.clientHeight;\n const tabSize = isHorizontal ? tabElement.clientWidth : tabElement.clientHeight;\n const scrollAmount = offset - containerSize / 2 + tabSize / 2;\n\n container.scrollTo({\n [isHorizontal ? \"left\" : \"top\"]: container[isHorizontal ? \"scrollLeft\" : \"scrollTop\"] + scrollAmount,\n behavior: \"smooth\",\n });\n }, 100);\n }\n\n /**\n * Scroll the navigation bar half of its size backward.\n */\n private navigateBackwards(): void {\n this.nav.scrollBy({\n [this.direction.toLowerCase()]: 0 - this.nav[`client${this.dimension}`] / 2,\n behavior: \"smooth\",\n });\n }\n\n /**\n * Scroll the navigation bar half of its size forward.\n */\n private navigateForward(): void {\n this.nav.scrollBy({\n [this.direction.toLowerCase()]: this.nav[`scroll${this.direction}`] + this.nav[`client${this.dimension}`] / 2,\n behavior: \"smooth\",\n });\n }\n\n /**\n * Check if a keyboard event was triggered by an arrow key.\n */\n private isArrowNavigation(e: KeyboardEvent): boolean {\n return Object.values(NavigationTabsKeyboardEvents).includes(e.key as NavigationTabsKeyboardEvents);\n }\n\n /**\n * Check if the navigation buttons are needed.\n */\n private checkScrollVisible(): void {\n if (!this.nav) {\n return;\n }\n\n this.canNavigate = this.nav[`scroll${this.dimension}`] > this.nav[`client${this.dimension}`];\n }\n\n /**\n * Check if navigation buttons can be enabled for each direction.\n */\n @Watch(\"canNavigate\")\n checkScrollEnabled(): void {\n if (!this.nav) {\n return;\n }\n\n this.canNavigateNext =\n this.nav[`scroll${this.direction}`] + this.nav[`client${this.dimension}`] < this.nav[`scroll${this.dimension}`];\n this.canNavigatePrev = this.nav[`scroll${this.direction}`] > 0;\n }\n\n /**\n * When the selected tab changes, update the `aria-selected` attribute on each tab and scroll to the selected tab.\n */\n @Watch(\"selectedTab\")\n onTabSelected(): void {\n this.tabs.forEach((tab, i) => {\n const zicon = tab.querySelector(\"z-icon\");\n const strokeIcon = zicon?.name.replace(\"-filled\", \"\");\n if (i !== this.selectedTab) {\n tab.setAttribute(\"aria-selected\", \"false\");\n tab.tabIndex = -1;\n if (zicon) {\n zicon.name = strokeIcon;\n }\n\n return;\n }\n\n if (zicon) {\n zicon.name = `${strokeIcon}-filled`;\n }\n tab.setAttribute(\"aria-selected\", \"true\");\n });\n this.selected.emit(this.selectedTab);\n if (this.selectedTab !== undefined) {\n this.scrollToTab(this.tabs[this.selectedTab]);\n }\n }\n\n /**\n * Handle click on the tabs.\n * @param event `click` event triggered by a child tab\n */\n @Listen(\"click\")\n handleTabClick(event: MouseEvent): void {\n const clickedTab = (event.target as HTMLElement).closest<HTMLElement>(\"[role='tab']\");\n if (!this.tabs.some((child) => child.contains(clickedTab))) {\n return;\n }\n\n this.selectedTab = this.tabs.indexOf(clickedTab);\n }\n\n /**\n * When a tab is focused, temporarily set to -1 the `tabindex` of the selected tab (if any) and set the `focusedTab` to the index of the focused tab.\n */\n @Listen(\"focusin\")\n onTabFocusIn(event: FocusEvent): void {\n const focused = this.tabs.findIndex((tab) => tab.contains(event.target as HTMLElement));\n if (focused === -1) {\n return;\n }\n\n if (this.selectedTab !== undefined) {\n this.tabs[this.selectedTab].tabIndex = -1;\n }\n this.focusedTab = focused;\n this.tabs[this.focusedTab].tabIndex = -1;\n this.scrollToTab(this.tabs[this.focusedTab]);\n }\n\n /**\n * Handle keyboard navigation through tabs with arrow keys.\n */\n @Listen(\"keydown\")\n navigateThroughTabs(event: KeyboardEvent): void | boolean {\n if (!this.tabs.some((tab) => tab.contains(event.target as HTMLElement)) || !this.isArrowNavigation(event)) {\n return true;\n }\n\n event.preventDefault();\n if (\n (event.key === NavigationTabsKeyboardEvents.RIGHT && this.orientation == NavigationTabsOrientation.HORIZONTAL) ||\n (event.key === NavigationTabsKeyboardEvents.DOWN && this.orientation == NavigationTabsOrientation.VERTICAL)\n ) {\n // Move forward\n this.focusedTab++;\n if (this.focusedTab >= this.tabs.length) {\n this.focusedTab = 0;\n }\n } else if (\n (event.key === NavigationTabsKeyboardEvents.LEFT && this.orientation == NavigationTabsOrientation.HORIZONTAL) ||\n (event.key === NavigationTabsKeyboardEvents.UP && this.orientation == NavigationTabsOrientation.VERTICAL)\n ) {\n // Move backward\n this.focusedTab--;\n if (this.focusedTab < 0) {\n this.focusedTab = this.tabs.length - 1;\n }\n }\n // Ignore disabled tabs\n if (\n this.tabs[this.focusedTab].hasAttribute(\"disabled\") &&\n this.tabs[this.focusedTab].getAttribute(\"disabled\") !== \"false\"\n ) {\n return this.navigateThroughTabs(event);\n }\n\n this.tabs[this.focusedTab].focus();\n this.scrollToTab(this.tabs[this.focusedTab]);\n }\n\n /**\n * If the focus is not going on a tab (`relatedTarget` is the new focused element), set to 0 the `tabindex` of the selected tab or the one of the first tab, then unset the `focusedTab`.\n */\n @Listen(\"focusout\")\n onTabFocusOut(event: FocusEvent): void {\n if (!this.tabs.some((tab) => tab.contains(event.relatedTarget as HTMLElement))) {\n this.tabs[this.selectedTab ?? 0].tabIndex = 0;\n this.focusedTab = undefined;\n }\n }\n\n connectedCallback(): void {\n this.resizeObserver = new ResizeObserver(() => this.checkScrollVisible());\n }\n\n componentDidLoad(): void {\n // Set role and tabindex to each slotted tab\n this.tabs.forEach((tab) => {\n tab.setAttribute(\"role\", \"tab\");\n tab.tabIndex = -1;\n });\n\n const preselectedTab = this.selectedTab ?? this.tabs.findIndex((tab) => tab.ariaSelected === \"true\");\n if (preselectedTab !== -1) {\n this.selectedTab = preselectedTab;\n this.tabs[preselectedTab].tabIndex = 0;\n this.onTabSelected();\n } else {\n this.tabs[0].tabIndex = 0;\n }\n\n this.resizeObserver.observe(this.nav);\n }\n\n disconnectedCallback(): void {\n this.resizeObserver?.disconnect();\n }\n\n render(): HTMLZNavigationTabsElement {\n return (\n <Host\n class={{\n \"interactive-2\": this.size === NavigationTabsSize.SMALL,\n \"interactive-1\": this.size !== NavigationTabsSize.SMALL,\n }}\n scrollable={this.canNavigate}\n >\n <button\n class=\"navigation-button\"\n onClick={this.navigateBackwards.bind(this)}\n tabIndex={-1}\n disabled={!this.canNavigatePrev}\n aria-label=\"Mostra elementi precedenti\"\n hidden={!this.canNavigate}\n >\n <z-icon\n name={this.orientation === NavigationTabsOrientation.HORIZONTAL ? \"chevron-left\" : \"chevron-up\"}\n width={16}\n height={16}\n />\n </button>\n\n <nav\n role=\"tablist\"\n aria-label={this.ariaLabel}\n ref={(el) => (this.nav = el ?? this.nav)}\n onScroll={this.checkScrollEnabled.bind(this)}\n aria-orientation={this.orientation}\n >\n <slot></slot>\n </nav>\n\n <button\n class=\"navigation-button\"\n onClick={this.navigateForward.bind(this)}\n tabIndex={-1}\n disabled={!this.canNavigateNext}\n aria-label=\"Mostra elementi successivi\"\n hidden={!this.canNavigate}\n >\n <z-icon\n name={this.orientation === NavigationTabsOrientation.HORIZONTAL ? \"chevron-right\" : \"chevron-down\"}\n width={16}\n height={16}\n />\n </button>\n </Host>\n );\n }\n}\n"],"version":3}
|
|
@@ -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"]);
|
|
@@ -2,8 +2,9 @@ import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal
|
|
|
2
2
|
import './index2.js';
|
|
3
3
|
import './breakpoints.js';
|
|
4
4
|
import './iconset.js';
|
|
5
|
+
import './index23.js';
|
|
5
6
|
|
|
6
|
-
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)}";
|
|
7
8
|
const ZTableStyle0 = stylesCss;
|
|
8
9
|
|
|
9
10
|
const ZTable$1 = /*@__PURE__*/ proxyCustomElement(class ZTable extends HTMLElement {
|
|
@@ -37,7 +38,7 @@ const ZTable$1 = /*@__PURE__*/ proxyCustomElement(class ZTable extends HTMLEleme
|
|
|
37
38
|
(_a = this.expandableMutationObserver) === null || _a === void 0 ? void 0 : _a.disconnect();
|
|
38
39
|
}
|
|
39
40
|
render() {
|
|
40
|
-
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' }))));
|
|
41
42
|
}
|
|
42
43
|
get host() { return this; }
|
|
43
44
|
static get style() { return ZTableStyle0; }
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"file":"z-table.js","mappings":"
|
|
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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;;;;;;;;;;;;;;;;;;;;;;;;;","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":";;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,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
|
@@ -2,8 +2,9 @@ import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/
|
|
|
2
2
|
import { r as randomId } from './utils.js';
|
|
3
3
|
import './index2.js';
|
|
4
4
|
import { d as defineCustomElement$2 } from './index9.js';
|
|
5
|
+
import './index23.js';
|
|
5
6
|
|
|
6
|
-
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}";
|
|
7
8
|
const ZTrStyle0 = stylesCss;
|
|
8
9
|
|
|
9
10
|
const ZTr$1 = /*@__PURE__*/ proxyCustomElement(class ZTr extends HTMLElement {
|
|
@@ -41,11 +42,25 @@ const ZTr$1 = /*@__PURE__*/ proxyCustomElement(class ZTr extends HTMLElement {
|
|
|
41
42
|
this.expanded = !this.expanded;
|
|
42
43
|
this.expand.emit({ expanded: this.expanded });
|
|
43
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
|
+
}
|
|
44
59
|
componentWillLoad() {
|
|
45
60
|
this.updateColumns();
|
|
46
61
|
}
|
|
47
62
|
render() {
|
|
48
|
-
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) })));
|
|
49
64
|
}
|
|
50
65
|
get host() { return this; }
|
|
51
66
|
static get watchers() { return {
|