@zanichelli/albe-web-components 19.4.0 → 19.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +38 -0
- package/dist/cjs/{index-Cn7FFDHr.js → index-DppFfqsn.js} +8 -2
- package/dist/cjs/index-DppFfqsn.js.map +1 -0
- package/dist/cjs/index.cjs.js +6 -2
- package/dist/cjs/index.cjs.js.map +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{reactive-controller-BBJFF12W.js → reactive-controller-B2CuCldJ.js} +4 -4
- package/dist/cjs/{reactive-controller-BBJFF12W.js.map → reactive-controller-B2CuCldJ.js.map} +1 -1
- package/dist/cjs/{utils-kQZHfpti.js → utils-C0QY75C2.js} +3 -3
- package/dist/cjs/{utils-kQZHfpti.js.map → utils-C0QY75C2.js.map} +1 -1
- package/dist/cjs/{utils-By4U4KkV.js → utils-C6lcMaul.js} +3 -3
- package/dist/cjs/{utils-By4U4KkV.js.map → utils-C6lcMaul.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-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 +30 -26
- package/dist/cjs/z-app-header_12.cjs.entry.js.map +1 -1
- package/dist/cjs/z-aria-alert.cjs.entry.js +2 -2
- package/dist/cjs/z-avatar.cjs.entry.js +3 -3
- package/dist/cjs/z-book-card-app.cjs.entry.js +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-book-cover.cjs.entry.js +2 -1
- package/dist/cjs/z-book-cover.cjs.entry.js.map +1 -1
- package/dist/cjs/z-breadcrumb.cjs.entry.js +4 -4
- package/dist/cjs/z-button-sort.cjs.entry.js +1 -1
- package/dist/cjs/z-card.cjs.entry.js +1 -1
- package/dist/cjs/z-carousel.cjs.entry.js +1 -1
- package/dist/cjs/z-chip.cjs.entry.js +7 -4
- package/dist/cjs/z-chip.cjs.entry.js.map +1 -1
- package/dist/cjs/z-color-picker.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 +9 -9
- package/dist/cjs/z-file-upload.cjs.entry.js +1 -1
- package/dist/cjs/z-file.cjs.entry.js +2 -2
- package/dist/cjs/z-ghost-loading.cjs.entry.js +1 -1
- package/dist/cjs/z-info-box.cjs.entry.js +1 -1
- package/dist/cjs/z-info-reveal.cjs.entry.js +2 -2
- package/dist/cjs/z-input-range.cjs.entry.js +3 -3
- 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 +1 -1
- package/dist/cjs/z-myz-card-dictionary.cjs.entry.js +1 -1
- package/dist/cjs/z-myz-card-footer.cjs.entry.js +1 -1
- package/dist/cjs/z-myz-card-info.cjs.entry.js +2 -2
- package/dist/cjs/z-myz-card_4.cjs.entry.js +1 -1
- package/dist/cjs/z-myz-list-item.cjs.entry.js +2 -2
- package/dist/cjs/z-navigation-tabs.cjs.entry.js +3 -3
- package/dist/cjs/z-notification.cjs.entry.js +1 -1
- package/dist/cjs/z-otp.cjs.entry.js +1 -1
- 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 +3 -3
- package/dist/cjs/z-range-picker.cjs.entry.js +2 -2
- package/dist/cjs/z-result-card.cjs.entry.js +1 -1
- package/dist/cjs/z-result-card.cjs.entry.js.map +1 -1
- package/dist/cjs/z-section-title.cjs.entry.js +1 -1
- package/dist/cjs/z-select.cjs.entry.js +6 -4
- package/dist/cjs/z-select.cjs.entry.js.map +1 -1
- 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 +3 -3
- package/dist/cjs/z-tbody.cjs.entry.js +1 -1
- package/dist/cjs/z-td.cjs.entry.js +2 -2
- package/dist/cjs/z-tfoot.cjs.entry.js +1 -1
- package/dist/cjs/z-th.cjs.entry.js +2 -2
- package/dist/cjs/z-thead.cjs.entry.js +1 -1
- package/dist/cjs/z-toast-notification-list.cjs.entry.js +2 -2
- package/dist/cjs/z-toast-notification.cjs.entry.js +4 -4
- package/dist/cjs/z-toggle-button.cjs.entry.js +2 -2
- package/dist/cjs/z-toggle-button.cjs.entry.js.map +1 -1
- package/dist/cjs/z-toggle-switch.cjs.entry.js +2 -2
- package/dist/cjs/z-tool.cjs.entry.js +2 -2
- package/dist/cjs/z-toolbar.cjs.entry.js +1 -1
- package/dist/cjs/z-tooltip.cjs.entry.js +1 -1
- package/dist/cjs/z-tr.cjs.entry.js +3 -3
- package/dist/cjs/z-tree-list.cjs.entry.js +2 -2
- package/dist/collection/beans/index.js +6 -0
- package/dist/collection/beans/index.js.map +1 -1
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/collection/components/{z-toggle-button → deprecated/z-toggle-button}/index.js +2 -2
- package/dist/collection/components/deprecated/z-toggle-button/index.js.map +1 -0
- package/dist/collection/components/file-upload/z-dragdrop-area/index.js +2 -2
- package/dist/collection/components/file-upload/z-file/index.js +1 -1
- package/dist/collection/components/list/z-list/index.js +1 -1
- package/dist/collection/components/list/z-list-element/index.js +1 -1
- package/dist/collection/components/list/z-list-group/index.js +2 -2
- package/dist/collection/components/list/z-tree-list/index.js +1 -1
- package/dist/collection/components/table/cells/z-td/index.js +1 -1
- package/dist/collection/components/table/cells/z-th/index.js +1 -1
- package/dist/collection/components/table/z-table/index.js +1 -1
- package/dist/collection/components/table/z-tbody/index.js +1 -1
- package/dist/collection/components/table/z-tfoot/index.js +1 -1
- package/dist/collection/components/table/z-thead/index.js +1 -1
- package/dist/collection/components/table/z-tr/index.js +1 -1
- package/dist/collection/components/z-accordion/index.js +1 -1
- package/dist/collection/components/z-anchor-navigation/index.js +1 -1
- package/dist/collection/components/z-app-header/index.js +1 -1
- package/dist/collection/components/z-aria-alert/index.js +1 -1
- package/dist/collection/components/z-avatar/index.js +2 -2
- package/dist/collection/components/z-book-cover/index.js +21 -1
- package/dist/collection/components/z-book-cover/index.js.map +1 -1
- package/dist/collection/components/z-breadcrumb/index.js +2 -2
- package/dist/collection/components/z-button/index.js +3 -2
- package/dist/collection/components/z-button/index.js.map +1 -1
- package/dist/collection/components/z-button-sort/index.js +1 -1
- package/dist/collection/components/z-chip/index.js +33 -3
- package/dist/collection/components/z-chip/index.js.map +1 -1
- package/dist/collection/components/z-chip/styles.css +83 -25
- package/dist/collection/components/z-color-picker/index.js +1 -1
- package/dist/collection/components/z-combobox/index.js +1 -1
- package/dist/collection/components/z-cover-hero/index.js +2 -2
- package/dist/collection/components/z-divider/index.js +1 -1
- package/dist/collection/components/z-ghost-loading/index.js +1 -1
- package/dist/collection/components/z-icon/index.js +1 -1
- package/dist/collection/components/z-info-box/index.js +1 -1
- package/dist/collection/components/z-info-reveal/index.js +1 -1
- package/dist/collection/components/z-input/index.js +8 -5
- package/dist/collection/components/z-input/index.js.map +1 -1
- package/dist/collection/components/z-input-message/index.js +1 -1
- package/dist/collection/components/z-input-message/index.js.map +1 -1
- package/dist/collection/components/z-input-range/index.js +1 -1
- package/dist/collection/components/z-logo/index.js +1 -1
- package/dist/collection/components/z-menu-section/index.js +1 -1
- package/dist/collection/components/z-modal/index.js +4 -4
- package/dist/collection/components/z-navigation-tabs/index.js +2 -2
- package/dist/collection/components/z-notification/index.js +1 -1
- package/dist/collection/components/z-offcanvas/index.js +2 -2
- package/dist/collection/components/z-panel-elem/index.js +2 -2
- package/dist/collection/components/z-popover/index.js +1 -1
- package/dist/collection/components/z-result-card/index.js +20 -1
- package/dist/collection/components/z-result-card/index.js.map +1 -1
- package/dist/collection/components/z-searchbar/index.js +3 -3
- package/dist/collection/components/z-searchbar/styles.css +2 -0
- package/dist/collection/components/z-select/index.js +24 -2
- package/dist/collection/components/z-select/index.js.map +1 -1
- package/dist/collection/components/z-skip-to-content/index.js +1 -1
- package/dist/collection/components/z-stepper/index.js +1 -1
- package/dist/collection/components/z-stepper-item/index.js +1 -1
- package/dist/collection/components/z-tag/index.js +2 -2
- package/dist/collection/components/z-toast-notification/index.js +3 -3
- package/dist/collection/components/z-toast-notification-list/index.js +1 -1
- package/dist/components/index.d.ts +1 -1
- package/dist/components/index.js +1 -1
- package/dist/components/index.js.map +1 -1
- package/dist/components/index10.js +1 -1
- package/dist/components/index11.js +1 -1
- package/dist/components/index12.js +1 -1
- package/dist/components/index13.js +1 -1
- package/dist/components/index13.js.map +1 -1
- package/dist/components/index14.js +1 -1
- package/dist/components/index15.js +1 -1
- package/dist/components/index15.js.map +1 -1
- package/dist/components/index16.js +1 -1
- package/dist/components/index17.js +1 -1
- package/dist/components/index18.js +1 -1
- package/dist/components/index19.js +1 -1
- package/dist/components/index19.js.map +1 -1
- package/dist/components/index2.js +1 -1
- package/dist/components/index2.js.map +1 -1
- package/dist/components/index20.js +1 -1
- package/dist/components/index21.js +1 -1
- package/dist/components/index3.js +1 -1
- package/dist/components/index5.js +1 -1
- package/dist/components/index5.js.map +1 -1
- package/dist/components/index6.js +1 -1
- package/dist/components/index7.js +1 -1
- package/dist/components/index7.js.map +1 -1
- package/dist/components/index8.js +1 -1
- package/dist/components/index8.js.map +1 -1
- package/dist/components/index9.js +1 -1
- package/dist/components/utils2.js +1 -1
- package/dist/components/z-accordion.js +1 -1
- package/dist/components/z-accordion.js.map +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 +1 -1
- package/dist/components/z-book-card-app.js +1 -1
- package/dist/components/z-book-card-deprecated.js +1 -1
- package/dist/components/z-book-card.js +1 -1
- package/dist/components/z-breadcrumb.js +1 -1
- package/dist/components/z-button-sort.js +1 -1
- package/dist/components/z-carousel.js +1 -1
- package/dist/components/z-color-picker.js +1 -1
- package/dist/components/z-combobox.js +1 -1
- package/dist/components/z-cover-hero.js +1 -1
- package/dist/components/z-date-picker.js +1 -1
- package/dist/components/z-file.js +1 -1
- package/dist/components/z-info-box.js +1 -1
- package/dist/components/z-input-range.js +1 -1
- package/dist/components/z-logo.js +1 -1
- package/dist/components/z-menu-section.js +1 -1
- package/dist/components/z-navigation-tabs.js +1 -1
- package/dist/components/z-notification.js +1 -1
- package/dist/components/z-panel-elem.js +1 -1
- package/dist/components/z-range-picker.js +1 -1
- package/dist/components/z-result-card.js +1 -1
- package/dist/components/z-result-card.js.map +1 -1
- package/dist/components/z-section-title.js +1 -1
- package/dist/components/z-select.js +1 -1
- package/dist/components/z-select.js.map +1 -1
- package/dist/components/z-skip-to-content.js +1 -1
- package/dist/components/z-stepper-item.js +1 -1
- package/dist/components/z-stepper.js +1 -1
- package/dist/components/z-table.js +1 -1
- package/dist/components/z-tbody.js +1 -1
- package/dist/components/z-td.js +1 -1
- package/dist/components/z-tfoot.js +1 -1
- package/dist/components/z-th.js +1 -1
- package/dist/components/z-thead.js +1 -1
- package/dist/components/z-toast-notification-list.js +1 -1
- package/dist/components/z-toast-notification.js +2 -2
- package/dist/components/z-toggle-button.js +1 -1
- package/dist/components/z-toggle-button.js.map +1 -1
- package/dist/components/z-tr.js +1 -1
- package/dist/components/z-tree-list.js +1 -1
- package/dist/esm/{index-B3nR3-Jw.js → index-DdetsoIY.js} +9 -3
- package/dist/esm/index-DdetsoIY.js.map +1 -0
- package/dist/esm/index.js +2 -2
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{reactive-controller--oxj7x8w.js → reactive-controller-C_qN1xPW.js} +4 -4
- package/dist/esm/{reactive-controller--oxj7x8w.js.map → reactive-controller-C_qN1xPW.js.map} +1 -1
- package/dist/esm/{utils-DP4zBIll.js → utils-BO5sSCUY.js} +3 -3
- package/dist/esm/{utils-DP4zBIll.js.map → utils-BO5sSCUY.js.map} +1 -1
- package/dist/esm/{utils-C9lc3rtK.js → utils-CEdyahRZ.js} +3 -3
- package/dist/esm/{utils-C9lc3rtK.js.map → utils-CEdyahRZ.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-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 +30 -26
- package/dist/esm/z-app-header_12.entry.js.map +1 -1
- package/dist/esm/z-aria-alert.entry.js +2 -2
- package/dist/esm/z-avatar.entry.js +3 -3
- package/dist/esm/z-book-card-app.entry.js +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-book-cover.entry.js +2 -1
- package/dist/esm/z-book-cover.entry.js.map +1 -1
- package/dist/esm/z-breadcrumb.entry.js +4 -4
- package/dist/esm/z-button-sort.entry.js +1 -1
- package/dist/esm/z-card.entry.js +1 -1
- package/dist/esm/z-carousel.entry.js +1 -1
- package/dist/esm/z-chip.entry.js +7 -4
- package/dist/esm/z-chip.entry.js.map +1 -1
- package/dist/esm/z-color-picker.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 +9 -9
- package/dist/esm/z-file-upload.entry.js +1 -1
- package/dist/esm/z-file.entry.js +2 -2
- package/dist/esm/z-ghost-loading.entry.js +1 -1
- package/dist/esm/z-info-box.entry.js +1 -1
- package/dist/esm/z-info-reveal.entry.js +2 -2
- package/dist/esm/z-input-range.entry.js +3 -3
- 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 +1 -1
- package/dist/esm/z-myz-card-dictionary.entry.js +1 -1
- package/dist/esm/z-myz-card-footer.entry.js +1 -1
- package/dist/esm/z-myz-card-info.entry.js +2 -2
- package/dist/esm/z-myz-card_4.entry.js +1 -1
- package/dist/esm/z-myz-list-item.entry.js +2 -2
- package/dist/esm/z-navigation-tabs.entry.js +3 -3
- package/dist/esm/z-notification.entry.js +1 -1
- package/dist/esm/z-otp.entry.js +1 -1
- 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 +3 -3
- package/dist/esm/z-range-picker.entry.js +2 -2
- package/dist/esm/z-result-card.entry.js +1 -1
- package/dist/esm/z-result-card.entry.js.map +1 -1
- package/dist/esm/z-section-title.entry.js +1 -1
- package/dist/esm/z-select.entry.js +6 -4
- package/dist/esm/z-select.entry.js.map +1 -1
- 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 +3 -3
- package/dist/esm/z-tbody.entry.js +1 -1
- package/dist/esm/z-td.entry.js +2 -2
- package/dist/esm/z-tfoot.entry.js +1 -1
- package/dist/esm/z-th.entry.js +2 -2
- package/dist/esm/z-thead.entry.js +1 -1
- package/dist/esm/z-toast-notification-list.entry.js +2 -2
- package/dist/esm/z-toast-notification.entry.js +4 -4
- package/dist/esm/z-toggle-button.entry.js +2 -2
- package/dist/esm/z-toggle-button.entry.js.map +1 -1
- package/dist/esm/z-toggle-switch.entry.js +2 -2
- package/dist/esm/z-tool.entry.js +2 -2
- package/dist/esm/z-toolbar.entry.js +1 -1
- package/dist/esm/z-tooltip.entry.js +1 -1
- package/dist/esm/z-tr.entry.js +3 -3
- package/dist/esm/z-tree-list.entry.js +2 -2
- package/dist/types/beans/index.d.ts +5 -0
- package/dist/types/components/{z-toggle-button → deprecated/z-toggle-button}/index.d.ts +1 -1
- package/dist/types/components/z-book-cover/index.d.ts +2 -0
- package/dist/types/components/z-chip/index.d.ts +3 -1
- package/dist/types/components/z-result-card/index.d.ts +2 -0
- package/dist/types/components/z-select/index.d.ts +2 -0
- package/dist/types/components.d.ts +42 -2
- package/dist/web-components-library/index.esm.js +1 -1
- package/dist/web-components-library/{p-257be457.entry.js → p-0251d009.entry.js} +2 -2
- package/{www/build/p-8a545910.entry.js → dist/web-components-library/p-0380c815.entry.js} +2 -2
- package/dist/web-components-library/{p-d15e7b4f.entry.js → p-0c9247be.entry.js} +2 -2
- package/dist/web-components-library/{p-db1fa456.entry.js → p-136f336a.entry.js} +2 -2
- package/dist/web-components-library/{p-62485d56.entry.js → p-1a13cd9b.entry.js} +2 -2
- package/dist/web-components-library/{p-6a952697.entry.js → p-20401d48.entry.js} +2 -2
- package/{www/build/p-e5736b1f.entry.js → dist/web-components-library/p-22cb956c.entry.js} +2 -2
- package/dist/web-components-library/{p-474493cc.entry.js → p-30d82cf1.entry.js} +2 -2
- package/dist/web-components-library/{p-6f58880c.entry.js → p-315ca31f.entry.js} +2 -2
- package/dist/web-components-library/p-315ca31f.entry.js.map +1 -0
- package/dist/web-components-library/{p-a238a3d0.entry.js → p-31883d39.entry.js} +2 -2
- package/dist/web-components-library/{p-71ddff9a.entry.js → p-39027ac1.entry.js} +2 -2
- package/dist/web-components-library/{p-10ad3d7c.entry.js → p-39b91bfa.entry.js} +2 -2
- package/dist/web-components-library/{p-c64a8fd8.entry.js → p-39bb7ee4.entry.js} +2 -2
- package/{www/build/p-d639463e.entry.js → dist/web-components-library/p-4085be9a.entry.js} +2 -2
- package/dist/web-components-library/p-41f63f0e.entry.js +2 -0
- package/dist/web-components-library/{p-f9c859dc.entry.js.map → p-41f63f0e.entry.js.map} +1 -1
- package/dist/web-components-library/{p-3f2658a0.entry.js → p-487e3fca.entry.js} +2 -2
- package/dist/web-components-library/{p-3f6ea914.entry.js → p-4a7431f6.entry.js} +2 -2
- package/dist/web-components-library/{p-34d4ee45.entry.js → p-5af96c6f.entry.js} +2 -2
- package/dist/web-components-library/{p-f31f04b9.entry.js → p-5b3cfc2e.entry.js} +2 -2
- package/dist/web-components-library/p-5c012917.entry.js +2 -0
- package/{www/build/p-dc26eb78.entry.js.map → dist/web-components-library/p-5c012917.entry.js.map} +1 -1
- package/dist/web-components-library/{p-f4b9e6f4.entry.js → p-67476a7c.entry.js} +2 -2
- package/dist/web-components-library/{p-c5b3368c.entry.js → p-6d382092.entry.js} +2 -2
- package/dist/web-components-library/p-7313c22c.entry.js +2 -0
- package/dist/web-components-library/p-7313c22c.entry.js.map +1 -0
- package/dist/web-components-library/{p-f0557dd9.entry.js → p-791a76d6.entry.js} +2 -2
- package/dist/web-components-library/{p-01d2d4e2.entry.js → p-7965766c.entry.js} +2 -2
- package/dist/web-components-library/{p-076d802a.entry.js → p-7b4f5936.entry.js} +2 -2
- package/{www/build/p-b38cacf2.entry.js → dist/web-components-library/p-7f37e2a2.entry.js} +2 -2
- package/dist/web-components-library/{p-c7d65071.entry.js → p-817630e4.entry.js} +2 -2
- package/{www/build/p-d866a2e1.entry.js → dist/web-components-library/p-82e87326.entry.js} +2 -2
- package/dist/web-components-library/{p-4954dd38.entry.js → p-831d85f5.entry.js} +2 -2
- package/dist/web-components-library/{p-98089231.entry.js → p-869ba2b5.entry.js} +2 -2
- package/dist/web-components-library/{p-1c63269a.entry.js → p-873e12a2.entry.js} +2 -2
- package/dist/web-components-library/{p-418a7ee5.entry.js → p-87ea0b0a.entry.js} +2 -2
- package/{www/build/p-8751b09d.entry.js → dist/web-components-library/p-88c45ed6.entry.js} +2 -2
- package/{www/build/p-c7046a20.entry.js → dist/web-components-library/p-8f6ff78c.entry.js} +2 -2
- package/{www/build/p-88e3fb55.entry.js → dist/web-components-library/p-908b8d73.entry.js} +2 -2
- package/dist/web-components-library/{p-1c1f699b.entry.js → p-9ac57635.entry.js} +2 -2
- package/dist/web-components-library/p-9b181758.entry.js +2 -0
- package/dist/web-components-library/p-9b181758.entry.js.map +1 -0
- package/{www/build/p-Bx6o9v2_.js → dist/web-components-library/p-B6jtvVtV.js} +2 -2
- package/{www/build/p-Bx6o9v2_.js.map → dist/web-components-library/p-B6jtvVtV.js.map} +1 -1
- package/dist/web-components-library/{p-C8pbzcmM.js → p-C_25lDQa.js} +3 -3
- package/dist/web-components-library/{p-C8pbzcmM.js.map → p-C_25lDQa.js.map} +1 -1
- package/{www/build/p-B3nR3-Jw.js → dist/web-components-library/p-DdetsoIY.js} +2 -2
- package/dist/web-components-library/p-DdetsoIY.js.map +1 -0
- package/{www/build/p-1e25b55b.entry.js → dist/web-components-library/p-a09646a9.entry.js} +2 -2
- package/dist/web-components-library/p-a09646a9.entry.js.map +1 -0
- package/dist/web-components-library/{p-372e83b1.entry.js → p-a2eb700b.entry.js} +2 -2
- package/dist/web-components-library/p-a47b9059.entry.js +2 -0
- package/dist/web-components-library/p-a47b9059.entry.js.map +1 -0
- package/dist/web-components-library/{p-55f6d3fe.entry.js → p-a4df3220.entry.js} +2 -2
- package/dist/web-components-library/{p-354abbd7.entry.js → p-a702edc4.entry.js} +2 -2
- package/{www/build/p-4730e9a5.entry.js → dist/web-components-library/p-aa59ca29.entry.js} +2 -2
- package/{www/build/p-30579764.entry.js → dist/web-components-library/p-ab221eac.entry.js} +4 -4
- package/{www/build/p-a0a84d24.entry.js → dist/web-components-library/p-aba618c3.entry.js} +2 -2
- package/dist/web-components-library/{p-7056f90f.entry.js → p-ad4c702b.entry.js} +2 -2
- package/dist/web-components-library/{p-89e96cde.entry.js → p-af6bdd6e.entry.js} +2 -2
- package/dist/web-components-library/{p-f9e5a0aa.entry.js → p-b15d006f.entry.js} +2 -2
- package/dist/web-components-library/p-b15d006f.entry.js.map +1 -0
- package/{www/build/p-330486fc.entry.js → dist/web-components-library/p-b38bca77.entry.js} +2 -2
- package/{www/build/p-1ba5aa7a.entry.js → dist/web-components-library/p-b7d4b886.entry.js} +2 -2
- package/{www/build/p-ff89690a.entry.js → dist/web-components-library/p-bb610386.entry.js} +2 -2
- package/dist/web-components-library/{p-e8eb3bc5.entry.js → p-bbb9029e.entry.js} +2 -2
- package/{www/build/p-21b9ec81.entry.js → dist/web-components-library/p-c39e4a49.entry.js} +2 -2
- package/dist/web-components-library/p-cb7381a0.entry.js +2 -0
- package/dist/web-components-library/{p-164b8342.entry.js → p-cdfbcb3b.entry.js} +2 -2
- package/{www/build/p-fb8a0bda.entry.js → dist/web-components-library/p-d8c06756.entry.js} +2 -2
- package/dist/web-components-library/{p-2adbfd30.entry.js → p-e1081a2f.entry.js} +2 -2
- package/dist/web-components-library/{p-02a5c216.entry.js → p-ec12d752.entry.js} +2 -2
- package/{www/build/p-86d3a3da.entry.js → dist/web-components-library/p-f36e7e6b.entry.js} +2 -2
- package/dist/web-components-library/p-f6138bf7.entry.js +2 -0
- package/dist/web-components-library/p-f8bc8ed9.entry.js +2 -0
- package/dist/web-components-library/{p-9b1deaa1.entry.js → p-f8fd6f08.entry.js} +2 -2
- package/dist/web-components-library/{p-ab364ca1.entry.js → p-fa02ba25.entry.js} +2 -2
- package/{www/build/p-BeiZJJuW.js → dist/web-components-library/p-ip3tTfYi.js} +3 -3
- package/{www/build/p-BeiZJJuW.js.map → dist/web-components-library/p-ip3tTfYi.js.map} +1 -1
- package/dist/web-components-library/web-components-library.esm.js +1 -1
- package/package.json +1 -1
- package/www/build/index.esm.js +1 -1
- package/www/build/{p-257be457.entry.js → p-0251d009.entry.js} +2 -2
- package/{dist/web-components-library/p-8a545910.entry.js → www/build/p-0380c815.entry.js} +2 -2
- package/www/build/{p-d15e7b4f.entry.js → p-0c9247be.entry.js} +2 -2
- package/www/build/{p-db1fa456.entry.js → p-136f336a.entry.js} +2 -2
- package/www/build/{p-62485d56.entry.js → p-1a13cd9b.entry.js} +2 -2
- package/www/build/{p-6a952697.entry.js → p-20401d48.entry.js} +2 -2
- package/{dist/web-components-library/p-e5736b1f.entry.js → www/build/p-22cb956c.entry.js} +2 -2
- package/www/build/{p-474493cc.entry.js → p-30d82cf1.entry.js} +2 -2
- package/www/build/{p-6f58880c.entry.js → p-315ca31f.entry.js} +2 -2
- package/www/build/p-315ca31f.entry.js.map +1 -0
- package/www/build/{p-a238a3d0.entry.js → p-31883d39.entry.js} +2 -2
- package/www/build/{p-71ddff9a.entry.js → p-39027ac1.entry.js} +2 -2
- package/www/build/{p-10ad3d7c.entry.js → p-39b91bfa.entry.js} +2 -2
- package/www/build/{p-c64a8fd8.entry.js → p-39bb7ee4.entry.js} +2 -2
- package/{dist/web-components-library/p-d639463e.entry.js → www/build/p-4085be9a.entry.js} +2 -2
- package/www/build/p-41f63f0e.entry.js +2 -0
- package/www/build/{p-f9c859dc.entry.js.map → p-41f63f0e.entry.js.map} +1 -1
- package/www/build/{p-3f2658a0.entry.js → p-487e3fca.entry.js} +2 -2
- package/www/build/{p-3f6ea914.entry.js → p-4a7431f6.entry.js} +2 -2
- package/www/build/{p-34d4ee45.entry.js → p-5af96c6f.entry.js} +2 -2
- package/www/build/{p-f31f04b9.entry.js → p-5b3cfc2e.entry.js} +2 -2
- package/www/build/p-5c012917.entry.js +2 -0
- package/{dist/web-components-library/p-dc26eb78.entry.js.map → www/build/p-5c012917.entry.js.map} +1 -1
- package/www/build/{p-f4b9e6f4.entry.js → p-67476a7c.entry.js} +2 -2
- package/www/build/{p-c5b3368c.entry.js → p-6d382092.entry.js} +2 -2
- package/www/build/p-7313c22c.entry.js +2 -0
- package/www/build/p-7313c22c.entry.js.map +1 -0
- package/www/build/{p-f0557dd9.entry.js → p-791a76d6.entry.js} +2 -2
- package/www/build/{p-01d2d4e2.entry.js → p-7965766c.entry.js} +2 -2
- package/www/build/{p-076d802a.entry.js → p-7b4f5936.entry.js} +2 -2
- package/{dist/web-components-library/p-b38cacf2.entry.js → www/build/p-7f37e2a2.entry.js} +2 -2
- package/www/build/p-7ffd9721.js +2 -0
- package/www/build/{p-c7d65071.entry.js → p-817630e4.entry.js} +2 -2
- package/{dist/web-components-library/p-d866a2e1.entry.js → www/build/p-82e87326.entry.js} +2 -2
- package/www/build/{p-4954dd38.entry.js → p-831d85f5.entry.js} +2 -2
- package/www/build/{p-98089231.entry.js → p-869ba2b5.entry.js} +2 -2
- package/www/build/{p-1c63269a.entry.js → p-873e12a2.entry.js} +2 -2
- package/www/build/{p-418a7ee5.entry.js → p-87ea0b0a.entry.js} +2 -2
- package/{dist/web-components-library/p-8751b09d.entry.js → www/build/p-88c45ed6.entry.js} +2 -2
- package/{dist/web-components-library/p-c7046a20.entry.js → www/build/p-8f6ff78c.entry.js} +2 -2
- package/{dist/web-components-library/p-88e3fb55.entry.js → www/build/p-908b8d73.entry.js} +2 -2
- package/www/build/{p-1c1f699b.entry.js → p-9ac57635.entry.js} +2 -2
- package/www/build/p-9b181758.entry.js +2 -0
- package/www/build/p-9b181758.entry.js.map +1 -0
- package/{dist/web-components-library/p-Bx6o9v2_.js → www/build/p-B6jtvVtV.js} +2 -2
- package/{dist/web-components-library/p-Bx6o9v2_.js.map → www/build/p-B6jtvVtV.js.map} +1 -1
- package/www/build/{p-C8pbzcmM.js → p-C_25lDQa.js} +3 -3
- package/www/build/{p-C8pbzcmM.js.map → p-C_25lDQa.js.map} +1 -1
- package/{dist/web-components-library/p-B3nR3-Jw.js → www/build/p-DdetsoIY.js} +2 -2
- package/www/build/p-DdetsoIY.js.map +1 -0
- package/{dist/web-components-library/p-1e25b55b.entry.js → www/build/p-a09646a9.entry.js} +2 -2
- package/www/build/p-a09646a9.entry.js.map +1 -0
- package/www/build/{p-372e83b1.entry.js → p-a2eb700b.entry.js} +2 -2
- package/www/build/p-a47b9059.entry.js +2 -0
- package/www/build/p-a47b9059.entry.js.map +1 -0
- package/www/build/{p-55f6d3fe.entry.js → p-a4df3220.entry.js} +2 -2
- package/www/build/{p-354abbd7.entry.js → p-a702edc4.entry.js} +2 -2
- package/{dist/web-components-library/p-4730e9a5.entry.js → www/build/p-aa59ca29.entry.js} +2 -2
- package/{dist/web-components-library/p-30579764.entry.js → www/build/p-ab221eac.entry.js} +4 -4
- package/{dist/web-components-library/p-a0a84d24.entry.js → www/build/p-aba618c3.entry.js} +2 -2
- package/www/build/{p-7056f90f.entry.js → p-ad4c702b.entry.js} +2 -2
- package/www/build/{p-89e96cde.entry.js → p-af6bdd6e.entry.js} +2 -2
- package/www/build/{p-f9e5a0aa.entry.js → p-b15d006f.entry.js} +2 -2
- package/www/build/p-b15d006f.entry.js.map +1 -0
- package/{dist/web-components-library/p-330486fc.entry.js → www/build/p-b38bca77.entry.js} +2 -2
- package/{dist/web-components-library/p-1ba5aa7a.entry.js → www/build/p-b7d4b886.entry.js} +2 -2
- package/{dist/web-components-library/p-ff89690a.entry.js → www/build/p-bb610386.entry.js} +2 -2
- package/www/build/{p-e8eb3bc5.entry.js → p-bbb9029e.entry.js} +2 -2
- package/{dist/web-components-library/p-21b9ec81.entry.js → www/build/p-c39e4a49.entry.js} +2 -2
- package/www/build/p-cb7381a0.entry.js +2 -0
- package/www/build/{p-164b8342.entry.js → p-cdfbcb3b.entry.js} +2 -2
- package/{dist/web-components-library/p-fb8a0bda.entry.js → www/build/p-d8c06756.entry.js} +2 -2
- package/www/build/{p-2adbfd30.entry.js → p-e1081a2f.entry.js} +2 -2
- package/www/build/{p-02a5c216.entry.js → p-ec12d752.entry.js} +2 -2
- package/{dist/web-components-library/p-86d3a3da.entry.js → www/build/p-f36e7e6b.entry.js} +2 -2
- package/www/build/p-f6138bf7.entry.js +2 -0
- package/www/build/p-f8bc8ed9.entry.js +2 -0
- package/www/build/{p-9b1deaa1.entry.js → p-f8fd6f08.entry.js} +2 -2
- package/www/build/{p-ab364ca1.entry.js → p-fa02ba25.entry.js} +2 -2
- package/{dist/web-components-library/p-BeiZJJuW.js → www/build/p-ip3tTfYi.js} +3 -3
- package/{dist/web-components-library/p-BeiZJJuW.js.map → www/build/p-ip3tTfYi.js.map} +1 -1
- package/www/build/web-components-library.esm.js +1 -1
- package/www/index.html +1 -1
- package/dist/cjs/index-Cn7FFDHr.js.map +0 -1
- package/dist/collection/components/z-toggle-button/index.js.map +0 -1
- package/dist/esm/index-B3nR3-Jw.js.map +0 -1
- package/dist/web-components-library/p-06aba4ff.entry.js +0 -2
- package/dist/web-components-library/p-1e25b55b.entry.js.map +0 -1
- package/dist/web-components-library/p-55468801.entry.js +0 -2
- package/dist/web-components-library/p-6f58880c.entry.js.map +0 -1
- package/dist/web-components-library/p-70fe7ed8.entry.js +0 -2
- package/dist/web-components-library/p-70fe7ed8.entry.js.map +0 -1
- package/dist/web-components-library/p-927d50ea.entry.js +0 -2
- package/dist/web-components-library/p-927d50ea.entry.js.map +0 -1
- package/dist/web-components-library/p-95c2e9b0.entry.js +0 -2
- package/dist/web-components-library/p-B3nR3-Jw.js.map +0 -1
- package/dist/web-components-library/p-b565bff1.entry.js +0 -2
- package/dist/web-components-library/p-b565bff1.entry.js.map +0 -1
- package/dist/web-components-library/p-dc26eb78.entry.js +0 -2
- package/dist/web-components-library/p-f9c859dc.entry.js +0 -2
- package/dist/web-components-library/p-f9e5a0aa.entry.js.map +0 -1
- package/www/build/p-06aba4ff.entry.js +0 -2
- package/www/build/p-1e25b55b.entry.js.map +0 -1
- package/www/build/p-55468801.entry.js +0 -2
- package/www/build/p-6f58880c.entry.js.map +0 -1
- package/www/build/p-70fe7ed8.entry.js +0 -2
- package/www/build/p-70fe7ed8.entry.js.map +0 -1
- package/www/build/p-927d50ea.entry.js +0 -2
- package/www/build/p-927d50ea.entry.js.map +0 -1
- package/www/build/p-95c2e9b0.entry.js +0 -2
- package/www/build/p-B3nR3-Jw.js.map +0 -1
- package/www/build/p-b565bff1.entry.js +0 -2
- package/www/build/p-b565bff1.entry.js.map +0 -1
- package/www/build/p-bcc5602c.js +0 -2
- package/www/build/p-dc26eb78.entry.js +0 -2
- package/www/build/p-f9c859dc.entry.js +0 -2
- package/www/build/p-f9e5a0aa.entry.js.map +0 -1
- /package/dist/collection/components/{z-toggle-button → deprecated/z-toggle-button}/styles.css +0 -0
- /package/dist/web-components-library/{p-257be457.entry.js.map → p-0251d009.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-8a545910.entry.js.map → p-0380c815.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-d15e7b4f.entry.js.map → p-0c9247be.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-db1fa456.entry.js.map → p-136f336a.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-62485d56.entry.js.map → p-1a13cd9b.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-6a952697.entry.js.map → p-20401d48.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-e5736b1f.entry.js.map → p-22cb956c.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-474493cc.entry.js.map → p-30d82cf1.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-a238a3d0.entry.js.map → p-31883d39.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-71ddff9a.entry.js.map → p-39027ac1.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-10ad3d7c.entry.js.map → p-39b91bfa.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-c64a8fd8.entry.js.map → p-39bb7ee4.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-d639463e.entry.js.map → p-4085be9a.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-3f2658a0.entry.js.map → p-487e3fca.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-3f6ea914.entry.js.map → p-4a7431f6.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-34d4ee45.entry.js.map → p-5af96c6f.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-f31f04b9.entry.js.map → p-5b3cfc2e.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-f4b9e6f4.entry.js.map → p-67476a7c.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-c5b3368c.entry.js.map → p-6d382092.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-f0557dd9.entry.js.map → p-791a76d6.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-01d2d4e2.entry.js.map → p-7965766c.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-076d802a.entry.js.map → p-7b4f5936.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-b38cacf2.entry.js.map → p-7f37e2a2.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-c7d65071.entry.js.map → p-817630e4.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-d866a2e1.entry.js.map → p-82e87326.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-4954dd38.entry.js.map → p-831d85f5.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-98089231.entry.js.map → p-869ba2b5.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-1c63269a.entry.js.map → p-873e12a2.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-418a7ee5.entry.js.map → p-87ea0b0a.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-8751b09d.entry.js.map → p-88c45ed6.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-c7046a20.entry.js.map → p-8f6ff78c.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-88e3fb55.entry.js.map → p-908b8d73.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-1c1f699b.entry.js.map → p-9ac57635.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-372e83b1.entry.js.map → p-a2eb700b.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-55f6d3fe.entry.js.map → p-a4df3220.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-354abbd7.entry.js.map → p-a702edc4.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-4730e9a5.entry.js.map → p-aa59ca29.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-30579764.entry.js.map → p-ab221eac.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-a0a84d24.entry.js.map → p-aba618c3.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-7056f90f.entry.js.map → p-ad4c702b.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-89e96cde.entry.js.map → p-af6bdd6e.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-330486fc.entry.js.map → p-b38bca77.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-1ba5aa7a.entry.js.map → p-b7d4b886.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-ff89690a.entry.js.map → p-bb610386.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-e8eb3bc5.entry.js.map → p-bbb9029e.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-21b9ec81.entry.js.map → p-c39e4a49.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-95c2e9b0.entry.js.map → p-cb7381a0.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-164b8342.entry.js.map → p-cdfbcb3b.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-fb8a0bda.entry.js.map → p-d8c06756.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-2adbfd30.entry.js.map → p-e1081a2f.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-02a5c216.entry.js.map → p-ec12d752.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-86d3a3da.entry.js.map → p-f36e7e6b.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-55468801.entry.js.map → p-f6138bf7.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-06aba4ff.entry.js.map → p-f8bc8ed9.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-9b1deaa1.entry.js.map → p-f8fd6f08.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-ab364ca1.entry.js.map → p-fa02ba25.entry.js.map} +0 -0
- /package/www/build/{p-257be457.entry.js.map → p-0251d009.entry.js.map} +0 -0
- /package/www/build/{p-8a545910.entry.js.map → p-0380c815.entry.js.map} +0 -0
- /package/www/build/{p-d15e7b4f.entry.js.map → p-0c9247be.entry.js.map} +0 -0
- /package/www/build/{p-db1fa456.entry.js.map → p-136f336a.entry.js.map} +0 -0
- /package/www/build/{p-62485d56.entry.js.map → p-1a13cd9b.entry.js.map} +0 -0
- /package/www/build/{p-6a952697.entry.js.map → p-20401d48.entry.js.map} +0 -0
- /package/www/build/{p-e5736b1f.entry.js.map → p-22cb956c.entry.js.map} +0 -0
- /package/www/build/{p-474493cc.entry.js.map → p-30d82cf1.entry.js.map} +0 -0
- /package/www/build/{p-a238a3d0.entry.js.map → p-31883d39.entry.js.map} +0 -0
- /package/www/build/{p-71ddff9a.entry.js.map → p-39027ac1.entry.js.map} +0 -0
- /package/www/build/{p-10ad3d7c.entry.js.map → p-39b91bfa.entry.js.map} +0 -0
- /package/www/build/{p-c64a8fd8.entry.js.map → p-39bb7ee4.entry.js.map} +0 -0
- /package/www/build/{p-d639463e.entry.js.map → p-4085be9a.entry.js.map} +0 -0
- /package/www/build/{p-3f2658a0.entry.js.map → p-487e3fca.entry.js.map} +0 -0
- /package/www/build/{p-3f6ea914.entry.js.map → p-4a7431f6.entry.js.map} +0 -0
- /package/www/build/{p-34d4ee45.entry.js.map → p-5af96c6f.entry.js.map} +0 -0
- /package/www/build/{p-f31f04b9.entry.js.map → p-5b3cfc2e.entry.js.map} +0 -0
- /package/www/build/{p-f4b9e6f4.entry.js.map → p-67476a7c.entry.js.map} +0 -0
- /package/www/build/{p-c5b3368c.entry.js.map → p-6d382092.entry.js.map} +0 -0
- /package/www/build/{p-f0557dd9.entry.js.map → p-791a76d6.entry.js.map} +0 -0
- /package/www/build/{p-01d2d4e2.entry.js.map → p-7965766c.entry.js.map} +0 -0
- /package/www/build/{p-076d802a.entry.js.map → p-7b4f5936.entry.js.map} +0 -0
- /package/www/build/{p-b38cacf2.entry.js.map → p-7f37e2a2.entry.js.map} +0 -0
- /package/www/build/{p-c7d65071.entry.js.map → p-817630e4.entry.js.map} +0 -0
- /package/www/build/{p-d866a2e1.entry.js.map → p-82e87326.entry.js.map} +0 -0
- /package/www/build/{p-4954dd38.entry.js.map → p-831d85f5.entry.js.map} +0 -0
- /package/www/build/{p-98089231.entry.js.map → p-869ba2b5.entry.js.map} +0 -0
- /package/www/build/{p-1c63269a.entry.js.map → p-873e12a2.entry.js.map} +0 -0
- /package/www/build/{p-418a7ee5.entry.js.map → p-87ea0b0a.entry.js.map} +0 -0
- /package/www/build/{p-8751b09d.entry.js.map → p-88c45ed6.entry.js.map} +0 -0
- /package/www/build/{p-c7046a20.entry.js.map → p-8f6ff78c.entry.js.map} +0 -0
- /package/www/build/{p-88e3fb55.entry.js.map → p-908b8d73.entry.js.map} +0 -0
- /package/www/build/{p-1c1f699b.entry.js.map → p-9ac57635.entry.js.map} +0 -0
- /package/www/build/{p-372e83b1.entry.js.map → p-a2eb700b.entry.js.map} +0 -0
- /package/www/build/{p-55f6d3fe.entry.js.map → p-a4df3220.entry.js.map} +0 -0
- /package/www/build/{p-354abbd7.entry.js.map → p-a702edc4.entry.js.map} +0 -0
- /package/www/build/{p-4730e9a5.entry.js.map → p-aa59ca29.entry.js.map} +0 -0
- /package/www/build/{p-30579764.entry.js.map → p-ab221eac.entry.js.map} +0 -0
- /package/www/build/{p-a0a84d24.entry.js.map → p-aba618c3.entry.js.map} +0 -0
- /package/www/build/{p-7056f90f.entry.js.map → p-ad4c702b.entry.js.map} +0 -0
- /package/www/build/{p-89e96cde.entry.js.map → p-af6bdd6e.entry.js.map} +0 -0
- /package/www/build/{p-330486fc.entry.js.map → p-b38bca77.entry.js.map} +0 -0
- /package/www/build/{p-1ba5aa7a.entry.js.map → p-b7d4b886.entry.js.map} +0 -0
- /package/www/build/{p-ff89690a.entry.js.map → p-bb610386.entry.js.map} +0 -0
- /package/www/build/{p-e8eb3bc5.entry.js.map → p-bbb9029e.entry.js.map} +0 -0
- /package/www/build/{p-21b9ec81.entry.js.map → p-c39e4a49.entry.js.map} +0 -0
- /package/www/build/{p-95c2e9b0.entry.js.map → p-cb7381a0.entry.js.map} +0 -0
- /package/www/build/{p-164b8342.entry.js.map → p-cdfbcb3b.entry.js.map} +0 -0
- /package/www/build/{p-fb8a0bda.entry.js.map → p-d8c06756.entry.js.map} +0 -0
- /package/www/build/{p-2adbfd30.entry.js.map → p-e1081a2f.entry.js.map} +0 -0
- /package/www/build/{p-02a5c216.entry.js.map → p-ec12d752.entry.js.map} +0 -0
- /package/www/build/{p-86d3a3da.entry.js.map → p-f36e7e6b.entry.js.map} +0 -0
- /package/www/build/{p-55468801.entry.js.map → p-f6138bf7.entry.js.map} +0 -0
- /package/www/build/{p-06aba4ff.entry.js.map → p-f8bc8ed9.entry.js.map} +0 -0
- /package/www/build/{p-9b1deaa1.entry.js.map → p-f8fd6f08.entry.js.map} +0 -0
- /package/www/build/{p-ab364ca1.entry.js.map → p-fa02ba25.entry.js.map} +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/z-button/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAsB,OAAO,EAAE,IAAI,EAAE,CAAC,EAAC,MAAM,eAAe,CAAC;AAE9E,OAAO,EAAa,UAAU,EAAE,aAAa,EAAE,WAAW,EAAE,YAAY,EAAC,MAAM,aAAa,CAAC;AAE7F;;GAEG;AAOH,MAAM,OAAO,OAAO;IANpB;QASE,mGAAmG;QAEnG,cAAS,GAAuB,SAAS,CAAC;QAE1C;;;WAGG;QAEH,SAAI,GAAG,EAAE,CAAC;QAsBV,sCAAsC;QAEtC,aAAQ,GAAa,KAAK,CAAC;QAE3B,kCAAkC;QAElC,SAAI,GAAgB,UAAU,CAAC,MAAM,CAAC;QAEtC,oFAAoF;QAEpF,YAAO,GAAmB,aAAa,CAAC,OAAO,CAAC;QAMhD,mDAAmD;QAEnD,iBAAY,GAAkB,YAAY,CAAC,IAAI,C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port {JSXBase} from \"@stencil/core/internal\";\nimport {ButtonSize, ButtonType, ButtonVariant, ControlSize, IconPosition} from \"../../beans\";\n\n/**\n * @slot - button label\n */\n@Component({\n tag: \"z-button\",\n styleUrl: \"styles.css\",\n shadow: false,\n scoped: true,\n})\nexport class ZButton implements ComponentInterface {\n @Element() hostElement: HTMLZButtonElement;\n\n /** defines a string value that labels the internal interactive element. Used for accessibility. */\n @Prop()\n ariaLabel: string | undefined = undefined;\n\n /**\n * Use `htmlrole` instead.\n * @deprecated This prop has been deprecated in favor of `htmlrole` for better accessibility.\n */\n @Prop()\n role = \"\";\n\n /** defines role attribute, used for accessibility. */\n @Prop()\n htmlrole?: string;\n\n /** HTML <a> href attribute. If it is set, it renders an HTML <a> tag. */\n @Prop()\n href?: string;\n\n /** HTML a target attribute. */\n @Prop()\n target?: string;\n\n /** Identifier, should be unique. */\n @Prop()\n htmlid?: string;\n\n /** HTML button name attribute. */\n @Prop()\n name?: string;\n\n /** HTML button disabled attribute. */\n @Prop({reflect: true})\n disabled?: boolean = false;\n\n /** HTML button type attribute. */\n @Prop()\n type?: ButtonType = ButtonType.BUTTON;\n\n /** Graphical variant: `primary`, `secondary`, `tertiary`. Defaults to `primary`. */\n @Prop({reflect: true})\n variant?: ButtonVariant = ButtonVariant.PRIMARY;\n\n /** `z-icon` name to use (optional). */\n @Prop()\n icon?: string;\n\n /** the button icon position. Defaults to `left` */\n @Prop({reflect: true})\n iconPosition?: IconPosition = IconPosition.LEFT;\n\n /** Available sizes: `big`, `small` and `x-small`. Defaults to `big`. */\n @Prop({reflect: true})\n size?: ButtonSize | ControlSize = ControlSize.BIG;\n\n private hasText = false;\n\n componentWillLoad(): void {\n this.hasText = !!this.hostElement.textContent?.trim();\n }\n\n private get attributes(): JSXBase.HTMLAttributes<HTMLAnchorElement | HTMLButtonElement> {\n return {\n id: this.htmlid,\n class: {\n \"z-button--container\": true,\n \"z-button--has-text\": this.hasText,\n },\n };\n }\n\n private renderIcon(): HTMLZIconElement | undefined {\n return this.icon && <z-icon name={this.icon} />;\n }\n\n render(): HTMLAnchorElement | HTMLButtonElement {\n const normalizedAriaLabel = this.ariaLabel?.trim() || undefined;\n const normalizedRole = this.htmlrole || this.role?.trim() || undefined;\n const shouldRenderAsLink = normalizedRole === \"link\";\n\n if (this.href || shouldRenderAsLink) {\n return (\n <a\n {...this.attributes}\n aria-label={normalizedAriaLabel}\n href={this.href || \"#\"}\n target={this.target}\n >\n {this.renderIcon()}\n <slot />\n </a>\n );\n }\n\n return (\n <button\n {...this.attributes}\n aria-label={normalizedAriaLabel}\n name={this.name}\n type={this.type}\n disabled={this.disabled}\n role={normalizedRole}\n >\n {this.renderIcon()}\n <slot />\n </button>\n );\n }\n}\n"]}
|
|
@@ -36,7 +36,7 @@ export class ZButtonSort {
|
|
|
36
36
|
return this.ellipsis.offsetWidth < this.ellipsis.scrollWidth;
|
|
37
37
|
}
|
|
38
38
|
render() {
|
|
39
|
-
return (h("button", { key: '
|
|
39
|
+
return (h("button", { key: '269e2d1a959dde597965561177dde2374d92a27b', title: this.setButtonTitle(), id: this.buttonid, class: { selected: this.isselected }, onClick: () => this.emitButtonSortClick() }, h("span", { key: 'e33cb753f6c120cdd12f5ea4251ca626cfc28711', ref: (el) => (this.ellipsis = el), class: "ellipsis" }, !this.sortasc && this.desclabel ? this.desclabel : this.label), h("span", { key: 'c852c01e557ca5245352ddcc7e35a9fe2d9710fb', class: "counter" }, this.counter && ` (${this.counter})`), h("span", { key: 'abc484df3ccc4a976831c3664e1e451620741419', class: "sort" }, this.sortasc ? this.sortlabelasc : this.sortlabeldesc), h("z-icon", { key: 'f6325a573dd1f8f2208fb3edd70d176a2b7ad141', name: "caret-up-down", width: 16, height: 16 })));
|
|
40
40
|
}
|
|
41
41
|
static get is() { return "z-button-sort"; }
|
|
42
42
|
static get encapsulation() { return "shadow"; }
|
|
@@ -1,20 +1,23 @@
|
|
|
1
1
|
import { h } from "@stencil/core";
|
|
2
|
-
import { ZChipType } from "../../beans";
|
|
2
|
+
import { ZChipType, ZChipVariant } from "../../beans";
|
|
3
3
|
export class ZChip {
|
|
4
4
|
constructor() {
|
|
5
5
|
/** z-chip size type, can be default, medium or small */
|
|
6
6
|
this.type = ZChipType.DEFAULT;
|
|
7
|
+
/** z-chip variant type, can be outline, filled or soft */
|
|
8
|
+
this.variant = ZChipVariant.OUTLINE;
|
|
7
9
|
/** set z-chip as disabled */
|
|
8
10
|
this.disabled = false;
|
|
9
11
|
/** z-chip aria-label string */
|
|
10
12
|
this.ariaLabel = "";
|
|
11
13
|
}
|
|
12
14
|
render() {
|
|
13
|
-
return (h("div", { key: '
|
|
15
|
+
return (h("div", { key: '9a098f7915cfbb84e2290a853fe59b7e30c6f555', class: {
|
|
14
16
|
"z-chip-container": true,
|
|
15
17
|
"z-chip-interactive": !!this.interactiveIcon,
|
|
16
18
|
[this.type]: true,
|
|
17
|
-
|
|
19
|
+
[this.variant]: true,
|
|
20
|
+
}, "aria-disabled": this.disabled ? "true" : undefined }, this.icon && h("z-icon", { key: 'e563c31c093f46beeda6e658c5c05e7c16a56204', name: this.icon }), h("slot", { key: '9b186a85b090df0ab12c030ee3a517ef253e62d6' }), this.interactiveIcon && (h("button", { key: '4a5dd47a8ec40062d0b564f165adb81b11a3b4a5', type: "button", onClick: () => this.interactiveIconClick.emit(), "aria-label": this.ariaLabel, disabled: this.disabled }, h("z-icon", { key: '092864aef71920ba68f9d778797489e476c51971', class: "interactive-icon", name: this.interactiveIcon })))));
|
|
18
21
|
}
|
|
19
22
|
static get is() { return "z-chip"; }
|
|
20
23
|
static get encapsulation() { return "scoped"; }
|
|
@@ -76,6 +79,33 @@ export class ZChip {
|
|
|
76
79
|
"attribute": "type",
|
|
77
80
|
"defaultValue": "ZChipType.DEFAULT"
|
|
78
81
|
},
|
|
82
|
+
"variant": {
|
|
83
|
+
"type": "string",
|
|
84
|
+
"mutable": false,
|
|
85
|
+
"complexType": {
|
|
86
|
+
"original": "ZChipVariant",
|
|
87
|
+
"resolved": "ZChipVariant.FILLED | ZChipVariant.OUTLINE | ZChipVariant.SOFT",
|
|
88
|
+
"references": {
|
|
89
|
+
"ZChipVariant": {
|
|
90
|
+
"location": "import",
|
|
91
|
+
"path": "../../beans",
|
|
92
|
+
"id": "src/beans/index.tsx::ZChipVariant",
|
|
93
|
+
"referenceLocation": "ZChipVariant"
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
},
|
|
97
|
+
"required": false,
|
|
98
|
+
"optional": true,
|
|
99
|
+
"docs": {
|
|
100
|
+
"tags": [],
|
|
101
|
+
"text": "z-chip variant type, can be outline, filled or soft"
|
|
102
|
+
},
|
|
103
|
+
"getter": false,
|
|
104
|
+
"setter": false,
|
|
105
|
+
"reflect": true,
|
|
106
|
+
"attribute": "variant",
|
|
107
|
+
"defaultValue": "ZChipVariant.OUTLINE"
|
|
108
|
+
},
|
|
79
109
|
"interactiveIcon": {
|
|
80
110
|
"type": "string",
|
|
81
111
|
"mutable": false,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/z-chip/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAsB,OAAO,EAAE,KAAK,EAAgB,IAAI,EAAE,CAAC,EAAC,MAAM,eAAe,CAAC;AACnG,OAAO,EAAC,SAAS,EAAC,MAAM,aAAa,CAAC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/z-chip/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAsB,OAAO,EAAE,KAAK,EAAgB,IAAI,EAAE,CAAC,EAAC,MAAM,eAAe,CAAC;AACnG,OAAO,EAAC,SAAS,EAAE,YAAY,EAAC,MAAM,aAAa,CAAC;AAQpD,MAAM,OAAO,KAAK;IANlB;QAaE,wDAAwD;QAExD,SAAI,GAAe,SAAS,CAAC,OAAO,CAAC;QAErC,0DAA0D;QAE1D,YAAO,GAAkB,YAAY,CAAC,OAAO,CAAC;QAM9C,6BAA6B;QAE7B,aAAQ,GAAa,KAAK,CAAC;QAE3B,+BAA+B;QAE/B,cAAS,GAAG,EAAE,CAAC;KAmChB;IA7BC,MAAM;QACJ,OAAO,CACL,4DACE,KAAK,EAAE;gBACL,kBAAkB,EAAE,IAAI;gBACxB,oBAAoB,EAAE,CAAC,CAAC,IAAI,CAAC,eAAe;gBAC5C,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,IAAI;gBACjB,CAAC,IAAI,CAAC,OAAO,CAAC,EAAE,IAAI;aACrB,mBACc,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS;YAEhD,IAAI,CAAC,IAAI,IAAI,+DAAQ,IAAI,EAAE,IAAI,CAAC,IAAI,GAAI;YACzC,8DAAQ;YACP,IAAI,CAAC,eAAe,IAAI,CACvB,+DACE,IAAI,EAAC,QAAQ,EACb,OAAO,EAAE,GAAG,EAAE,CAAC,IAAI,CAAC,oBAAoB,CAAC,IAAI,EAAE,gBACnC,IAAI,CAAC,SAAS,EAC1B,QAAQ,EAAE,IAAI,CAAC,QAAQ;gBAEvB,+DACE,KAAK,EAAC,kBAAkB,EACxB,IAAI,EAAE,IAAI,CAAC,eAAe,GAC1B,CACK,CACV,CACG,CACP,CAAC;IACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import {Component, ComponentInterface, Element, Event, EventEmitter, Prop, h} from \"@stencil/core\";\nimport {ZChipType, ZChipVariant} from \"../../beans\";\n\n@Component({\n tag: \"z-chip\",\n styleUrl: \"styles.css\",\n shadow: false,\n scoped: true,\n})\nexport class ZChip implements ComponentInterface {\n @Element() el: HTMLZChipElement;\n\n /** Non interactive icon */\n @Prop()\n icon?: string;\n\n /** z-chip size type, can be default, medium or small */\n @Prop({reflect: true})\n type?: ZChipType = ZChipType.DEFAULT;\n\n /** z-chip variant type, can be outline, filled or soft */\n @Prop({reflect: true})\n variant?: ZChipVariant = ZChipVariant.OUTLINE;\n\n /** z-chip interactive icon */\n @Prop({reflect: true})\n interactiveIcon?: string;\n\n /** set z-chip as disabled */\n @Prop({reflect: true})\n disabled?: boolean = false;\n\n /** z-chip aria-label string */\n @Prop()\n ariaLabel = \"\";\n\n /** click on interactive icon */\n @Event()\n interactiveIconClick: EventEmitter;\n\n render(): HTMLDivElement {\n return (\n <div\n class={{\n \"z-chip-container\": true,\n \"z-chip-interactive\": !!this.interactiveIcon,\n [this.type]: true,\n [this.variant]: true,\n }}\n aria-disabled={this.disabled ? \"true\" : undefined}\n >\n {this.icon && <z-icon name={this.icon} />}\n <slot />\n {this.interactiveIcon && (\n <button\n type=\"button\"\n onClick={() => this.interactiveIconClick.emit()}\n aria-label={this.ariaLabel}\n disabled={this.disabled}\n >\n <z-icon\n class=\"interactive-icon\"\n name={this.interactiveIcon}\n />\n </button>\n )}\n </div>\n );\n }\n}\n"]}
|
|
@@ -1,45 +1,100 @@
|
|
|
1
|
+
:host,
|
|
2
|
+
:host * {
|
|
3
|
+
box-sizing: border-box;
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
:host {
|
|
7
|
+
display: block;
|
|
8
|
+
}
|
|
9
|
+
|
|
1
10
|
:host > .z-chip-container {
|
|
2
11
|
display: inline-flex;
|
|
3
12
|
min-height: 28px;
|
|
4
13
|
align-items: center;
|
|
5
|
-
padding: 0 calc(var(--space-unit) *
|
|
14
|
+
padding: 0 calc(var(--space-unit) * 2);
|
|
6
15
|
border: var(--border-size-small) solid var(--color-surface03);
|
|
7
16
|
background-color: var(--color-surface01);
|
|
8
17
|
border-radius: 14px;
|
|
9
|
-
color: var(--color-
|
|
18
|
+
color: var(--color-primary01);
|
|
10
19
|
fill: var(--color-default-icon);
|
|
11
20
|
font-family: var(--font-family-sans);
|
|
12
21
|
font-size: 14px;
|
|
13
|
-
line-height: 28px;
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
:host > .z-chip-interactive {
|
|
17
22
|
font-weight: var(--font-sb);
|
|
23
|
+
gap: var(--space-unit);
|
|
24
|
+
line-height: 1;
|
|
18
25
|
}
|
|
19
26
|
|
|
20
27
|
:host > .z-chip-container > button {
|
|
28
|
+
position: relative;
|
|
29
|
+
display: flex;
|
|
30
|
+
width: 28px;
|
|
31
|
+
height: 28px;
|
|
32
|
+
align-items: center;
|
|
33
|
+
justify-content: center;
|
|
21
34
|
padding: 0;
|
|
22
35
|
border: none;
|
|
23
|
-
margin-left: var(--space-unit);
|
|
24
36
|
background-color: transparent;
|
|
37
|
+
border-radius: 50%;
|
|
25
38
|
cursor: pointer;
|
|
26
39
|
}
|
|
27
40
|
|
|
28
|
-
:host > .z-chip-container > z-icon:first-child {
|
|
29
|
-
margin-right: calc(var(--space-unit) / 2);
|
|
30
|
-
}
|
|
31
|
-
|
|
32
41
|
:host > .z-chip-container .interactive-icon {
|
|
33
|
-
fill: var(--color-primary01
|
|
42
|
+
fill: var(--color-primary01);
|
|
34
43
|
}
|
|
35
44
|
|
|
36
|
-
:host > .z-chip-container:not([aria-disabled]) .interactive-icon
|
|
45
|
+
:host > .z-chip-container:not([aria-disabled]) button:hover .interactive-icon {
|
|
37
46
|
color: var(--color-hover-primary);
|
|
38
47
|
fill: var(--color-hover-primary);
|
|
39
48
|
}
|
|
40
49
|
|
|
50
|
+
/* Variants */
|
|
51
|
+
:host > .z-chip-container.filled {
|
|
52
|
+
border-color: transparent;
|
|
53
|
+
background-color: var(--color-primary01);
|
|
54
|
+
color: var(--color-text-inverse);
|
|
55
|
+
fill: var(--color-inverse-icon);
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
:host > .z-chip-container.filled .interactive-icon {
|
|
59
|
+
fill: var(--color-inverse-icon);
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
:host > .z-chip-container.filled:not([aria-disabled]) button::before {
|
|
63
|
+
position: absolute;
|
|
64
|
+
top: 0;
|
|
65
|
+
left: 0;
|
|
66
|
+
width: 100%;
|
|
67
|
+
height: 100%;
|
|
68
|
+
background-color: var(--color-inverse-icon);
|
|
69
|
+
border-radius: 50%;
|
|
70
|
+
content: "";
|
|
71
|
+
opacity: 0;
|
|
72
|
+
pointer-events: none;
|
|
73
|
+
transition: opacity 0.2s;
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
:host > .z-chip-container.filled:not([aria-disabled]) button:hover::before {
|
|
77
|
+
opacity: 0.16;
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
:host > .z-chip-container.filled:not([aria-disabled]) button:hover .interactive-icon {
|
|
81
|
+
color: var(--color-inverse-icon);
|
|
82
|
+
fill: var(--color-inverse-icon);
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
:host > .z-chip-container.soft {
|
|
86
|
+
border-color: transparent;
|
|
87
|
+
background-color: var(--color-primary02);
|
|
88
|
+
color: var(--color-default-text);
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
:host > .z-chip-container.soft .interactive-icon {
|
|
92
|
+
fill: var(--color-primary01);
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
/* Disabled state */
|
|
41
96
|
:host > .z-chip-container[aria-disabled],
|
|
42
|
-
:host > .z-chip-container[aria-disabled]
|
|
97
|
+
:host > .z-chip-container[aria-disabled] .interactive-icon {
|
|
43
98
|
color: var(--color-disabled03);
|
|
44
99
|
cursor: auto;
|
|
45
100
|
fill: var(--color-disabled03);
|
|
@@ -47,6 +102,13 @@
|
|
|
47
102
|
|
|
48
103
|
:host > .z-chip-container[aria-disabled] {
|
|
49
104
|
border: var(--border-size-small) solid var(--color-disabled01);
|
|
105
|
+
background-color: transparent;
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
:host > .z-chip-container.filled[aria-disabled],
|
|
109
|
+
:host > .z-chip-container.soft[aria-disabled] {
|
|
110
|
+
border-color: transparent;
|
|
111
|
+
background-color: var(--color-disabled01);
|
|
50
112
|
}
|
|
51
113
|
|
|
52
114
|
:host > .z-chip-container > button:focus:focus-visible {
|
|
@@ -55,11 +117,6 @@
|
|
|
55
117
|
outline: none;
|
|
56
118
|
}
|
|
57
119
|
|
|
58
|
-
:host > button:not([disabled]):active:hover .interactive-icon {
|
|
59
|
-
color: var(--color-primary01);
|
|
60
|
-
fill: var(--color-primary01-icon);
|
|
61
|
-
}
|
|
62
|
-
|
|
63
120
|
:host > .z-chip-container > z-icon,
|
|
64
121
|
:host > .z-chip-container .interactive-icon {
|
|
65
122
|
--z-icon-width: 22px;
|
|
@@ -70,44 +127,40 @@
|
|
|
70
127
|
:host > .z-chip-container.default {
|
|
71
128
|
min-height: 44px;
|
|
72
129
|
border-radius: 22px;
|
|
73
|
-
line-height: 44px;
|
|
74
130
|
}
|
|
75
131
|
|
|
76
132
|
:host > .z-chip-container.medium {
|
|
77
133
|
min-height: 40px;
|
|
78
134
|
border-radius: 22px;
|
|
79
|
-
line-height: 40px;
|
|
80
135
|
}
|
|
81
136
|
|
|
82
137
|
:host > .z-chip-container.small {
|
|
83
138
|
min-height: 36px;
|
|
84
139
|
border-radius: 22px;
|
|
85
|
-
line-height: 36px;
|
|
86
140
|
}
|
|
87
141
|
|
|
88
142
|
/* Desktop breakpoint */
|
|
89
143
|
@media (min-width: 1152px) {
|
|
90
144
|
:host > .z-chip-container {
|
|
145
|
+
padding: 0 calc(var(--space-unit) * 1.5);
|
|
91
146
|
font-size: 12px;
|
|
147
|
+
gap: calc(var(--space-unit) / 2);
|
|
92
148
|
}
|
|
93
149
|
|
|
94
150
|
/* :host type */
|
|
95
151
|
:host > .z-chip-container.default {
|
|
96
152
|
min-height: 32px;
|
|
97
153
|
border-radius: 16px;
|
|
98
|
-
line-height: 32px;
|
|
99
154
|
}
|
|
100
155
|
|
|
101
156
|
:host > .z-chip-container.medium {
|
|
102
157
|
min-height: 28px;
|
|
103
158
|
border-radius: 16px;
|
|
104
|
-
line-height: 28px;
|
|
105
159
|
}
|
|
106
160
|
|
|
107
161
|
:host > .z-chip-container.small {
|
|
108
162
|
min-height: 24px;
|
|
109
163
|
border-radius: 16px;
|
|
110
|
-
line-height: 24px;
|
|
111
164
|
}
|
|
112
165
|
|
|
113
166
|
:host > .z-chip-container > z-icon,
|
|
@@ -115,4 +168,9 @@
|
|
|
115
168
|
--z-icon-width: 14px;
|
|
116
169
|
--z-icon-height: 14px;
|
|
117
170
|
}
|
|
171
|
+
|
|
172
|
+
:host > .z-chip-container > button {
|
|
173
|
+
width: 20px;
|
|
174
|
+
height: 20px;
|
|
175
|
+
}
|
|
118
176
|
}
|
|
@@ -192,7 +192,7 @@ export class ZColorPicker {
|
|
|
192
192
|
this.colorKeysByRow = this.sortColorKeysByRow();
|
|
193
193
|
}
|
|
194
194
|
render() {
|
|
195
|
-
return (h(Host, { key: '
|
|
195
|
+
return (h(Host, { key: 'ea14b99e379cb85851c041edc4c4136afd693ba1', role: "listbox", "aria-label": this.htmlAriaLabel || LOCALES[this.lng]["Select a color"], tabIndex: 0 }, this.colorKeysByRow.map((colorKey) => {
|
|
196
196
|
var _a;
|
|
197
197
|
return (h("button", { class: "color-swatch", "data-color": colorKey, role: "option", "aria-selected": ((_a = this.selectedColor) === null || _a === void 0 ? void 0 : _a.toUpperCase()) === colorKey.toUpperCase() ? "true" : "false", tabIndex: -1, onClick: () => (this.selectedColor = colorKey), disabled: this.disableTransparent && colorKey === "#FFFFFF00" }, h("div", { class: "color-swatch", role: "img", "aria-roledescription": LOCALES[this.lng]["Color swatch"], "aria-label": ColorPickerPalette[colorKey][this.lng], title: ColorPickerPalette[colorKey][this.lng], style: { backgroundColor: colorKey } })));
|
|
198
198
|
})));
|
|
@@ -297,7 +297,7 @@ export class ZCombobox {
|
|
|
297
297
|
return (h("z-list-element", { class: "check-all-wrapper", role: "presentation", htmlTabindex: -1, dividerType: ListDividerType.ELEMENT, dividerColor: "gray800", size: this.getControlToListSize(), disabled: !!isDisabled }, h("span", { class: "option-wrap", role: "presentation", onClick: () => this.checkOption(optionId) }, h("z-icon", { name: allChecked ? "checkbox-checked" : "checkbox", class: this.focusedItemId === optionId ? "focused" : "" }), h("span", { id: optionId, role: isDisabled ? "presentation" : "option", "aria-selected": allChecked ? "true" : "false" }, allChecked ? this.uncheckalltext : this.checkalltext))));
|
|
298
298
|
}
|
|
299
299
|
render() {
|
|
300
|
-
return (h("div", { key: '
|
|
300
|
+
return (h("div", { key: 'a2df3543d11b1e568d1aa397a0cc4acd78496a1b', "data-action": `combo-${this.inputid}`, class: { open: this.isopen, fixed: this.isfixed, disabled: this.disabled }, id: this.inputid }, this.renderHeader(), !this.disabled && this.renderContent()));
|
|
301
301
|
}
|
|
302
302
|
static get is() { return "z-combobox"; }
|
|
303
303
|
static get encapsulation() { return "shadow"; }
|
|
@@ -44,9 +44,9 @@ export class ZCoverHero {
|
|
|
44
44
|
return (h("div", { class: "content-container" }, h("slot", { name: "content" })));
|
|
45
45
|
}
|
|
46
46
|
render() {
|
|
47
|
-
return (h(Host, { key: '
|
|
47
|
+
return (h(Host, { key: '94a8612be36a5b2b14c93e68b8b6ecbf2cfb47c9' }, this.variant === CoverHeroVariant.STACKED &&
|
|
48
48
|
this.contentPosition === CoverHeroContentPosition.TOP &&
|
|
49
|
-
this.renderContent(), h("div", { key: '
|
|
49
|
+
this.renderContent(), h("div", { key: '7b57691247bc581f9c43f36c475892cf7927abbf', class: "main-container" }, h("div", { key: '46ff0b8886b5450e2a2d3a5df5cc4fd3adf5962b', class: "cover-container" }, h("slot", { key: 'c84a53350c2077d1201cd938745cb2e5c797b76b', name: "cover" })), h("slot", { key: '6debb9704761c43ed9c485b66e1e97e41f7780da', name: "info-reveal" }), this.variant === CoverHeroVariant.OVERLAY && this.renderContent()), this.variant === CoverHeroVariant.STACKED &&
|
|
50
50
|
this.contentPosition === CoverHeroContentPosition.BOTTOM &&
|
|
51
51
|
this.renderContent()));
|
|
52
52
|
}
|
|
@@ -10,7 +10,7 @@ export class ZDivider {
|
|
|
10
10
|
this.orientation = DividerOrientation.HORIZONTAL;
|
|
11
11
|
}
|
|
12
12
|
render() {
|
|
13
|
-
return (h(Host, { key: '
|
|
13
|
+
return (h(Host, { key: '43a290ca09c39c630779133fa5fd9912fca785e0', class: `divider-${this.size} divider-${this.orientation}`, style: { backgroundColor: `var(--${this.color})` } }));
|
|
14
14
|
}
|
|
15
15
|
static get is() { return "z-divider"; }
|
|
16
16
|
static get encapsulation() { return "scoped"; }
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { h, Host } from "@stencil/core";
|
|
2
2
|
export class ZGhostLoading {
|
|
3
3
|
render() {
|
|
4
|
-
return h(Host, { key: '
|
|
4
|
+
return h(Host, { key: '15c0d5cc4985a23bd1cba510e6c1d323ac0be0c4' });
|
|
5
5
|
}
|
|
6
6
|
static get is() { return "z-ghost-loading"; }
|
|
7
7
|
static get encapsulation() { return "shadow"; }
|
|
@@ -48,7 +48,7 @@ export class ZIcon {
|
|
|
48
48
|
return (h("svg", { id: this.iconid || undefined, fill: this.fill ? `var(--${this.fill})` : undefined, viewBox: "0 0 1000 1000", width: this.width, height: this.height, "aria-hidden": "true" }, this.selectPathOrPolygon(ICONS[this.getTransparentIndicatorIconIfNeeded()])));
|
|
49
49
|
}
|
|
50
50
|
render() {
|
|
51
|
-
return (h(Host, { key: '
|
|
51
|
+
return (h(Host, { key: '7c57cd059787e6ec7d12b0aceb02f8b6bb5b79a2', "aria-hidden": "true" }, this.hasColorIndicator && !this.needsTransparentIndicator ? (h("div", { class: "icon-wrapper" }, this.renderColorIndicator(), this.renderBaseIcon())) : (this.renderBaseIcon())));
|
|
52
52
|
}
|
|
53
53
|
static get is() { return "z-icon"; }
|
|
54
54
|
static get encapsulation() { return "shadow"; }
|
|
@@ -11,7 +11,7 @@ export class ZInfoBox {
|
|
|
11
11
|
this.infoBoxClose.emit({ boxid: this.boxid });
|
|
12
12
|
}
|
|
13
13
|
render() {
|
|
14
|
-
return (h("div", { key: '
|
|
14
|
+
return (h("div", { key: '3cc569ffebd21d03c33f5764291fca612caae620', id: this.boxid }, h("slot", { key: 'a4110163e695bbbfa7e291771e3b531f3f678a3b', name: "content" }), this.isclosable && (h("z-icon", { key: 'bb3ec9d56fa2c52b38ceea0cfaf70a5c04dffd65', name: "multiply", "data-action": "infoBoxClose", onClick: () => this.emitInfoBoxClose() }))));
|
|
15
15
|
}
|
|
16
16
|
static get is() { return "z-info-box"; }
|
|
17
17
|
static get encapsulation() { return "shadow"; }
|
|
@@ -54,7 +54,7 @@ export class ZInfoReveal {
|
|
|
54
54
|
}
|
|
55
55
|
}
|
|
56
56
|
render() {
|
|
57
|
-
return (h(Host, { key: '
|
|
57
|
+
return (h(Host, { key: '062623399b8e6d19274dd482570f4ae1649ef23b', open: this.open }, h("button", { key: '1fc4f3951ad4055943e7ef8fc61d94cc425e70c2', class: "z-info-reveal-trigger", type: "button", onClick: this.togglePanel.bind(this), "aria-label": !this.label ? this.ariaLabel : undefined, "aria-expanded": this.open ? "true" : "false", "aria-controls": "z-info-reveal-panel" }, this.icon && h("z-icon", { key: '67d263d17b3a238af33c7fd5785a4409b3817eb7', name: this.icon }), this.label && h("span", { key: '8de421e649b240588bd11a87a4f241ddd7bee004', class: "z-info-reveal-label" }, this.label)), h("div", { key: 'd588ee526e87e72712a00b78c9090ed40b6473c9', class: "z-info-reveal-panel", id: "z-info-reveal-panel", ref: (el) => (this.panel = el), hidden: !this.open }, h("slot", { key: 'd6739b3a91ba44106ee1f72abd185bf2a7bc5727' }), h("button", { key: '978742081a1d1f51b0e05d99989e0bfc5c7cf276', class: "z-info-reveal-close", type: "button", onClick: this.closePanel.bind(this), "aria-label": "Chiudi pannello informazioni" }, h("z-icon", { key: 'bef98b8858f38d06099d94a33bb8b97c588a8465', name: "multiply" })))));
|
|
58
58
|
}
|
|
59
59
|
static get is() { return "z-info-reveal"; }
|
|
60
60
|
static get encapsulation() { return "shadow"; }
|
|
@@ -165,7 +165,8 @@ export class ZInput {
|
|
|
165
165
|
? { "aria-describedby": this.htmlAriaDescribedBy || `${this.htmlid}-message` }
|
|
166
166
|
: {};
|
|
167
167
|
const ariaInvalid = this.status === InputStatus.ERROR ? { "aria-invalid": "true" } : {};
|
|
168
|
-
|
|
168
|
+
const required = this.required ? { "aria-required": "true" } : {};
|
|
169
|
+
return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, this.getAriaAttributes()), expanded), controls), autocomplete), activedescendant), ariaDescribedby), ariaInvalid), required);
|
|
169
170
|
}
|
|
170
171
|
getFocusBlurAttributes() {
|
|
171
172
|
return {
|
|
@@ -214,7 +215,7 @@ export class ZInput {
|
|
|
214
215
|
} }, h("z-icon", { name: "multiply", class: this.size })));
|
|
215
216
|
}
|
|
216
217
|
renderShowHidePassword() {
|
|
217
|
-
return (h("button", { type: "button", class: "input-icon toggle-password-icon", disabled: this.disabled, "aria-label": this.passwordHidden ? "
|
|
218
|
+
return (h("button", { type: "button", class: "input-icon toggle-password-icon", disabled: this.disabled, "aria-label": "mostra password", "aria-pressed": !this.passwordHidden ? "true" : "false", onClick: () => (this.passwordHidden = !this.passwordHidden) }, h("z-icon", { name: this.passwordHidden ? "view-filled" : "view-off-filled", class: this.size })));
|
|
218
219
|
}
|
|
219
220
|
renderMessage() {
|
|
220
221
|
if (boolean(this.message) === false) {
|
|
@@ -236,7 +237,8 @@ export class ZInput {
|
|
|
236
237
|
}
|
|
237
238
|
/* START checkbox */
|
|
238
239
|
renderCheckbox() {
|
|
239
|
-
|
|
240
|
+
const ariaRequired = this.required ? { "aria-required": "true" } : {};
|
|
241
|
+
return (h("div", { class: "checkbox-wrapper" }, h("input", Object.assign({ id: this.htmlid, type: "checkbox", name: this.name, checked: this.checked, disabled: this.disabled, readonly: this.readonly, required: this.required, onChange: this.handleCheck.bind(this), value: this.value }, ariaRequired, this.getAriaAttributes(), this.getFocusBlurAttributes())), h("label", { htmlFor: this.htmlid, class: {
|
|
240
242
|
"checkbox-label": true,
|
|
241
243
|
"after": this.labelPosition === LabelPosition.RIGHT,
|
|
242
244
|
"before": this.labelPosition === LabelPosition.LEFT,
|
|
@@ -245,7 +247,8 @@ export class ZInput {
|
|
|
245
247
|
/* END checkbox */
|
|
246
248
|
/* START radio */
|
|
247
249
|
renderRadio() {
|
|
248
|
-
|
|
250
|
+
const ariaRequired = this.required ? { "aria-required": "true" } : {};
|
|
251
|
+
return (h("div", { class: "radio-wrapper" }, h("input", Object.assign({ id: this.htmlid, type: "radio", name: this.name, checked: this.checked, disabled: this.disabled, readonly: this.readonly, required: this.required, onChange: this.handleCheck.bind(this), value: this.value }, this.getAriaAttributes(), this.getFocusBlurAttributes(), ariaRequired)), h("label", { htmlFor: this.htmlid, class: {
|
|
249
252
|
"radio-label": true,
|
|
250
253
|
"after": this.labelPosition === LabelPosition.RIGHT,
|
|
251
254
|
"before": this.labelPosition === LabelPosition.LEFT,
|
|
@@ -267,7 +270,7 @@ export class ZInput {
|
|
|
267
270
|
default:
|
|
268
271
|
input = this.renderInputText(this.type);
|
|
269
272
|
}
|
|
270
|
-
return h(Host, { key: '
|
|
273
|
+
return h(Host, { key: '7a98a32f222c422a2f253f0cadd78cf27e0c8913' }, input);
|
|
271
274
|
}
|
|
272
275
|
static get is() { return "z-input"; }
|
|
273
276
|
static get encapsulation() { return "scoped"; }
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/z-input/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EACL,SAAS,EAET,OAAO,EACP,KAAK,EAEL,MAAM,EACN,MAAM,EACN,IAAI,EACJ,KAAK,EACL,CAAC,GACF,MAAM,eAAe,CAAC;AACvB,OAAO,EAAC,QAAQ,EAAE,IAAI,EAAU,MAAM,wBAAwB,CAAC;AAC/D,OAAO,EAAC,WAAW,EAAE,WAAW,EAAE,SAAS,EAAE,aAAa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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import {\n Component,\n ComponentInterface,\n Element,\n Event,\n EventEmitter,\n Listen,\n Method,\n Prop,\n State,\n h,\n} from \"@stencil/core\";\nimport {Fragment, Host, JSXBase} from \"@stencil/core/internal\";\nimport {ControlSize, InputStatus, InputType, LabelPosition} from \"../../beans\";\nimport {boolean, randomId} from \"../../utils/utils\";\n\n@Component({\n tag: \"z-input\",\n styleUrls: [\"styles-general.css\", \"styles-text.css\", \"styles-textarea.css\", \"styles-checkbox-radio.css\"],\n shadow: false,\n scoped: true,\n})\nexport class ZInput implements ComponentInterface {\n @Element() hostElement: HTMLZInputElement;\n\n /** the id of the input element */\n @Prop()\n htmlid = `id-${randomId()}`;\n\n /** input types */\n @Prop()\n type: InputType;\n\n /** the input name */\n @Prop()\n name?: string;\n\n /** the input label */\n @Prop()\n label?: string;\n\n /** the input aria-label */\n @Prop()\n ariaLabel = \"\";\n\n /** the input aria-expaded: available for text, password, number, email */\n @Prop()\n htmlAriaExpanded = \"\";\n\n /** the input aria-controls (optional): available for text, password, number, email */\n @Prop()\n htmlAriaControls?: string;\n\n /** the input aria-autocomplete (optional): available for text, password, number, email */\n @Prop()\n htmlAriaAutocomplete?: string;\n\n /** the input aria-activedescendant (optional): available for text, password, number, email */\n @Prop()\n htmlAriaActivedescendant?: string;\n\n /** the input aria-describedby (optional) */\n @Prop()\n htmlAriaDescribedBy?: string;\n\n /** the input aria-labelledby (optional) */\n @Prop()\n htmlAriaLabelledby?: string;\n\n /** the input value */\n @Prop({mutable: true})\n value?: string;\n\n /** the input is disabled */\n @Prop({reflect: true})\n disabled?: boolean = false;\n\n /** the input is readonly */\n @Prop()\n readonly?: boolean = false;\n\n /** the input is required (optional): available for text, password, number, email, textarea, checkbox */\n @Prop()\n required?: boolean = false;\n\n /** checked: available for checkbox, radio */\n @Prop({mutable: true})\n checked?: boolean = false;\n\n /** the input placeholder (optional) */\n @Prop()\n placeholder?: string;\n\n /** the input html title (optional) */\n @Prop()\n htmltitle?: string;\n\n /** the input status (optional): available for text, password, number, email, textarea */\n @Prop()\n status?: InputStatus;\n\n /** input helper message (optional): available for text, password, number, email, textarea - if set to `false` message won't be displayed */\n @Prop()\n message?: string | boolean = true;\n\n /** the input label position: available for checkbox, radio */\n @Prop()\n labelPosition?: LabelPosition = LabelPosition.RIGHT;\n\n /** the input has autocomplete option (optional): available for text, password, number, email */\n @Prop()\n autocomplete?: string;\n\n /** the input role */\n @Prop()\n role = \"\";\n\n /** render clear icon when typing (optional): available for text */\n @Prop()\n hasclearicon?: boolean = true;\n\n /** render icon (optional): available for text */\n @Prop()\n icon?: string;\n\n /** min number value (optional): available for number */\n @Prop()\n min?: number;\n\n /** Min length value (optional): available for text */\n @Prop()\n minlength?: number;\n\n /** max number value (optional): available for number */\n @Prop()\n max?: number;\n\n /** Max length value (optional): available for text */\n @Prop()\n maxlength?: number;\n\n /** step number value (optional): available for number */\n @Prop()\n step?: number;\n\n /** pattern value (optional): available for tel, text, search, url, email, password*/\n @Prop()\n pattern?: string;\n\n /** Available sizes: `big`, `small` and `x-small`. Defaults to `big`. */\n @Prop({reflect: true})\n size?: ControlSize = ControlSize.BIG;\n\n @State()\n isTyping = false;\n\n @State()\n passwordHidden = true;\n\n private timer;\n\n private typingtimeout = 300;\n\n private inputRef: HTMLInputElement;\n\n @Listen(\"inputCheck\", {target: \"document\"})\n inputCheckListener(e: CustomEvent): void {\n const data = e.detail;\n switch (this.type) {\n case InputType.RADIO:\n if (data.type === InputType.RADIO && data.name === this.name && data.id !== this.htmlid) {\n this.checked = false;\n }\n break;\n }\n }\n\n /** get checked status */\n @Method()\n async isChecked(): Promise<boolean> {\n switch (this.type) {\n case InputType.CHECKBOX:\n case InputType.RADIO:\n return this.checked;\n default:\n console.warn(\"`isChecked` method is only available for type `checkbox` and `radio`\");\n\n return false;\n }\n }\n\n /** Emitted on input value change, returns value, validity */\n @Event()\n inputChange: EventEmitter;\n\n private emitInputChange(value: string): void {\n if (!this.isTyping) {\n this.emitStartTyping();\n }\n\n let validity: ValidityState;\n if (this.type === InputType.TEXTAREA) {\n validity = this.getValidity(\"textarea\");\n } else {\n validity = this.getValidity(\"input\");\n }\n this.value = value;\n this.inputChange.emit({value, validity});\n\n clearTimeout(this.timer);\n this.timer = setTimeout(() => {\n this.emitStopTyping(this.value, validity);\n }, this.typingtimeout);\n }\n\n /** Emitted when user starts typing */\n @Event()\n startTyping: EventEmitter;\n\n private emitStartTyping(): void {\n this.isTyping = true;\n this.startTyping.emit();\n }\n\n /** Emitted when user stops typing, returns value, validity */\n @Event()\n stopTyping: EventEmitter;\n\n private emitStopTyping(value: string, validity: ValidityState): void {\n this.isTyping = false;\n this.stopTyping.emit({\n value: value,\n validity: validity,\n });\n }\n\n /** Emitted on checkbox check/uncheck, returns id, checked, type, name, value, validity */\n @Event()\n inputCheck: EventEmitter;\n\n private emitInputCheck(checked: boolean): void {\n this.inputCheck.emit({\n id: this.htmlid,\n checked: checked,\n type: this.type,\n name: this.name,\n value: this.value,\n validity: this.getValidity(\"input\"),\n });\n }\n\n /** Emitted on input focus */\n @Event()\n inputFocus: EventEmitter;\n\n private emitInputFocus(): void {\n this.inputFocus.emit({id: this.htmlid});\n }\n\n /** Emitted on input blur */\n @Event()\n inputBlur: EventEmitter;\n\n private emitInputBlur(): void {\n this.inputBlur.emit({id: this.htmlid});\n }\n\n private getValidity(type: string): ValidityState {\n const input = this.hostElement.querySelector(type) as HTMLInputElement;\n\n return input.validity;\n }\n\n /* START text/password/email/number */\n\n private getTextAttributes(): JSXBase.InputHTMLAttributes<HTMLInputElement | HTMLTextAreaElement> {\n return {\n id: this.htmlid,\n name: this.name,\n placeholder: this.placeholder,\n value: this.value,\n disabled: this.disabled,\n readonly: this.readonly,\n required: this.required,\n title: this.htmltitle,\n minlength: this.minlength,\n maxlength: this.maxlength,\n class: {\n [`input-${this.status}`]: !!this.status,\n },\n autocomplete: this.autocomplete,\n onInput: (e: InputEvent) => this.emitInputChange((e.target as HTMLInputElement).value),\n };\n }\n\n private getNumberAttributes(type: InputType): JSXBase.InputHTMLAttributes<HTMLInputElement> {\n if (type != InputType.NUMBER) {\n return;\n }\n\n return {\n min: this.min,\n max: this.max,\n step: this.step,\n };\n }\n\n private getPatternAttribute(type: InputType): JSXBase.InputHTMLAttributes<HTMLInputElement> {\n if (\n type != InputType.PASSWORD &&\n type != InputType.TEXT &&\n type != InputType.TEL &&\n type != InputType.SEARCH &&\n type != InputType.URL &&\n type != InputType.EMAIL\n ) {\n return;\n }\n\n return {\n pattern: this.pattern,\n };\n }\n\n private inputHasMessage(): boolean {\n if (boolean(this.message) === false || boolean(this.message) === true) {\n return false;\n }\n\n return true;\n }\n\n private getAriaAttributes(): Record<string, unknown> {\n return {\n ...(this.role ? {role: this.role} : {}),\n ...(this.htmlAriaDescribedBy ? {\"aria-describedby\": this.htmlAriaDescribedBy} : {}),\n ...(this.htmlAriaLabelledby ? {\"aria-labelledby\": this.htmlAriaLabelledby} : {}),\n };\n }\n\n private getTextAriaAttributes(): Record<string, unknown> {\n const expanded = this.htmlAriaExpanded ? {\"aria-expanded\": this.htmlAriaExpanded} : {};\n const controls = this.htmlAriaControls ? {\"aria-controls\": this.htmlAriaControls} : {};\n const autocomplete = this.htmlAriaAutocomplete ? {\"aria-autocomplete\": this.htmlAriaAutocomplete} : {};\n const activedescendant = this.htmlAriaActivedescendant\n ? {\"aria-activedescendant\": this.htmlAriaActivedescendant}\n : {};\n const ariaDescribedby =\n this.htmlAriaDescribedBy || this.inputHasMessage()\n ? {\"aria-describedby\": this.htmlAriaDescribedBy || `${this.htmlid}-message`}\n : {};\n\n const ariaInvalid = this.status === InputStatus.ERROR ? {\"aria-invalid\": \"true\"} : {};\n\n return {\n ...this.getAriaAttributes(),\n ...expanded,\n ...controls,\n ...autocomplete,\n ...activedescendant,\n ...ariaDescribedby,\n ...ariaInvalid,\n };\n }\n\n private getFocusBlurAttributes(): JSXBase.InputHTMLAttributes<HTMLInputElement | HTMLTextAreaElement> {\n return {\n onFocus: () => this.emitInputFocus(),\n onBlur: () => this.emitInputBlur(),\n };\n }\n\n private renderInputText(type: InputType = InputType.TEXT): HTMLDivElement {\n const ariaLabel = this.ariaLabel ? {\"aria-label\": this.ariaLabel} : {};\n const attr = {\n ...this.getTextAttributes(),\n ...this.getNumberAttributes(type),\n ...this.getPatternAttribute(type),\n ...ariaLabel,\n ...this.getTextAriaAttributes(),\n ...this.getFocusBlurAttributes(),\n };\n if (this.icon || type === InputType.PASSWORD) {\n Object.assign(attr.class, {\"has-icon\": true});\n }\n if (this.hasclearicon && type != InputType.NUMBER) {\n Object.assign(attr.class, {\"has-clear-icon\": true});\n }\n\n return (\n <div class=\"text-wrapper\">\n {this.renderLabel()}\n <div>\n <input\n type={type === InputType.PASSWORD && !this.passwordHidden ? InputType.TEXT : type}\n {...attr}\n ref={(el) => (this.inputRef = el)}\n />\n {this.renderIcons()}\n </div>\n {this.renderMessage()}\n </div>\n );\n }\n\n private renderLabel(): HTMLLabelElement {\n if (!this.label) {\n return;\n }\n\n return (\n <label\n class=\"z-label body-5-sb\"\n id={`${this.htmlid}_label`}\n htmlFor={this.htmlid}\n >\n {this.label}\n </label>\n );\n }\n\n private renderIcons(): HTMLSpanElement {\n return (\n <span class=\"icons-wrapper\">\n {this.renderResetIcon()}\n {this.renderIcon()}\n </span>\n );\n }\n\n private renderIcon(): HTMLButtonElement {\n if (this.type === InputType.PASSWORD) {\n return this.renderShowHidePassword();\n }\n\n if (!this.icon) {\n return;\n }\n\n return (\n <z-icon\n name={this.icon}\n class={{[this.size]: true, \"input-icon\": true}}\n />\n );\n }\n\n private renderResetIcon(): HTMLButtonElement {\n let hidden = false;\n if (!this.hasclearicon || !this.value || this.disabled || this.readonly || this.type == InputType.NUMBER) {\n hidden = true;\n }\n\n return (\n <button\n type=\"button\"\n class={{\"reset-icon\": true, \"input-icon\": true, hidden}}\n aria-label=\"cancella il contenuto dell'input\"\n onClick={() => {\n this.inputRef.value = \"\";\n this.emitInputChange(\"\");\n this.inputRef.focus();\n }}\n >\n <z-icon\n name=\"multiply\"\n class={this.size}\n />\n </button>\n );\n }\n\n private renderShowHidePassword(): HTMLButtonElement {\n return (\n <button\n type=\"button\"\n class=\"input-icon toggle-password-icon\"\n disabled={this.disabled}\n aria-label={this.passwordHidden ? \"mostra password\" : \"nascondi password\"}\n onClick={() => (this.passwordHidden = !this.passwordHidden)}\n >\n <z-icon\n name={this.passwordHidden ? \"view-filled\" : \"view-off-filled\"}\n class={this.size}\n />\n </button>\n );\n }\n\n private renderMessage(): HTMLZInputMessageElement {\n if (boolean(this.message) === false) {\n return;\n }\n\n return (\n <z-input-message\n html-id={`${this.htmlid}-message`}\n message={boolean(this.message) === true ? undefined : (this.message as string)}\n status={this.status}\n class={this.size}\n disabled={this.disabled}\n />\n );\n }\n\n /* END text/password/email/number */\n\n /* START textarea */\n\n private renderTextarea(): HTMLDivElement {\n const attributes = this.getTextAttributes();\n const ariaAttributes = this.getTextAriaAttributes();\n\n return (\n <Fragment>\n {this.renderLabel()}\n <div\n class={{\n ...(attributes.class as {[className: string]: boolean}),\n \"textarea-wrapper\": true,\n \"readonly\": !!attributes.readonly,\n }}\n >\n <textarea\n {...attributes}\n {...ariaAttributes}\n class={{\n ...(attributes.class as {[className: string]: boolean}),\n \"z-scrollbar\": true,\n }}\n aria-label={this.ariaLabel || undefined}\n ></textarea>\n </div>\n {this.renderMessage()}\n </Fragment>\n );\n }\n\n /* END textarea */\n\n private handleCheck(ev: Event): void {\n this.checked = (ev.target as HTMLInputElement).checked;\n this.emitInputCheck(this.checked);\n }\n\n /* START checkbox */\n private renderCheckbox(): HTMLDivElement {\n return (\n <div class=\"checkbox-wrapper\">\n <input\n id={this.htmlid}\n type=\"checkbox\"\n name={this.name}\n checked={this.checked}\n disabled={this.disabled}\n readonly={this.readonly}\n required={this.required}\n onChange={this.handleCheck.bind(this)}\n value={this.value}\n {...this.getAriaAttributes()}\n {...this.getFocusBlurAttributes()}\n />\n\n <label\n htmlFor={this.htmlid}\n class={{\n \"checkbox-label\": true,\n \"after\": this.labelPosition === LabelPosition.RIGHT,\n \"before\": this.labelPosition === LabelPosition.LEFT,\n }}\n >\n <z-icon\n name={this.checked ? \"checkbox-checked\" : \"checkbox\"}\n class={this.size}\n />\n {this.label && <span innerHTML={this.label}></span>}\n </label>\n </div>\n );\n }\n\n /* END checkbox */\n\n /* START radio */\n private renderRadio(): HTMLDivElement {\n return (\n <div class=\"radio-wrapper\">\n <input\n id={this.htmlid}\n type=\"radio\"\n name={this.name}\n checked={this.checked}\n disabled={this.disabled}\n readonly={this.readonly}\n onChange={this.handleCheck.bind(this)}\n value={this.value}\n {...this.getAriaAttributes()}\n {...this.getFocusBlurAttributes()}\n />\n\n <label\n htmlFor={this.htmlid}\n class={{\n \"radio-label\": true,\n \"after\": this.labelPosition === LabelPosition.RIGHT,\n \"before\": this.labelPosition === LabelPosition.LEFT,\n }}\n >\n <z-icon\n name={this.checked ? \"radio-button-checked\" : \"radio-button\"}\n class={this.size}\n />\n {this.label && <span innerHTML={this.label} />}\n </label>\n </div>\n );\n }\n /* END radio */\n\n render(): HTMLInputElement | HTMLDivElement {\n let input;\n switch (this.type) {\n case InputType.TEXTAREA:\n input = this.renderTextarea();\n break;\n case InputType.CHECKBOX:\n input = this.renderCheckbox();\n break;\n case InputType.RADIO:\n input = this.renderRadio();\n break;\n default:\n input = this.renderInputText(this.type);\n }\n\n return <Host>{input}</Host>;\n }\n}\n"]}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/z-input/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EACL,SAAS,EAET,OAAO,EACP,KAAK,EAEL,MAAM,EACN,MAAM,EACN,IAAI,EACJ,KAAK,EACL,CAAC,GACF,MAAM,eAAe,CAAC;AACvB,OAAO,EAAC,QAAQ,EAAE,IAAI,EAAU,MAAM,wBAAwB,CAAC;AAC/D,OAAO,EAAC,WAAW,EAAE,WAAW,EAAE,SAAS,EAAE,aAAa,EAAC,MAAM,aAAa,CAAC;AAC/E,OAAO,EAAC,OAAO,EAAE,QAAQ,EAAC,MAAM,mBAAmB,CAAC;AAQpD,MAAM,OAAO,MAAM;IANnB;QASE,kCAAkC;QAElC,WAAM,GAAG,MAAM,QAAQ,EAAE,EAAE,CAAC;QAc5B,2BAA2B;QAE3B,cAAS,GAAG,EAAE,CAAC;QAEf,0EAA0E;QAE1E,qBAAgB,GAAG,EAAE,CAAC;QA0BtB,4BAA4B;QAE5B,aAAQ,GAAa,KAAK,CAAC;QAE3B,4BAA4B;QAE5B,aAAQ,GAAa,KAAK,CAAC;QAE3B,wGAAwG;QAExG,aAAQ,GAAa,KAAK,CAAC;QAE3B,6CAA6C;QAE7C,YAAO,GAAa,KAAK,CAAC;QAc1B,4IAA4I;QAE5I,YAAO,GAAsB,IAAI,CAAC;QAElC,8DAA8D;QAE9D,kBAAa,GAAmB,aAAa,CAAC,KAAK,CAAC;QAMpD,qBAAqB;QAErB,SAAI,GAAG,EAAE,CAAC;QAEV,mEAAmE;QAEnE,iBAAY,GAAa,IAAI,CAAC;QA8B9B,wEAAwE;QAExE,SAAI,GAAiB,WAAW,CAAC,GAAG,CAAC;QAGrC,aAAQ,GAAG,KAAK,C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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import {\n Component,\n ComponentInterface,\n Element,\n Event,\n EventEmitter,\n Listen,\n Method,\n Prop,\n State,\n h,\n} from \"@stencil/core\";\nimport {Fragment, Host, JSXBase} from \"@stencil/core/internal\";\nimport {ControlSize, InputStatus, InputType, LabelPosition} from \"../../beans\";\nimport {boolean, randomId} from \"../../utils/utils\";\n\n@Component({\n tag: \"z-input\",\n styleUrls: [\"styles-general.css\", \"styles-text.css\", \"styles-textarea.css\", \"styles-checkbox-radio.css\"],\n shadow: false,\n scoped: true,\n})\nexport class ZInput implements ComponentInterface {\n @Element() hostElement: HTMLZInputElement;\n\n /** the id of the input element */\n @Prop()\n htmlid = `id-${randomId()}`;\n\n /** input types */\n @Prop()\n type: InputType;\n\n /** the input name */\n @Prop()\n name?: string;\n\n /** the input label */\n @Prop()\n label?: string;\n\n /** the input aria-label */\n @Prop()\n ariaLabel = \"\";\n\n /** the input aria-expaded: available for text, password, number, email */\n @Prop()\n htmlAriaExpanded = \"\";\n\n /** the input aria-controls (optional): available for text, password, number, email */\n @Prop()\n htmlAriaControls?: string;\n\n /** the input aria-autocomplete (optional): available for text, password, number, email */\n @Prop()\n htmlAriaAutocomplete?: string;\n\n /** the input aria-activedescendant (optional): available for text, password, number, email */\n @Prop()\n htmlAriaActivedescendant?: string;\n\n /** the input aria-describedby (optional) */\n @Prop()\n htmlAriaDescribedBy?: string;\n\n /** the input aria-labelledby (optional) */\n @Prop()\n htmlAriaLabelledby?: string;\n\n /** the input value */\n @Prop({mutable: true})\n value?: string;\n\n /** the input is disabled */\n @Prop({reflect: true})\n disabled?: boolean = false;\n\n /** the input is readonly */\n @Prop()\n readonly?: boolean = false;\n\n /** the input is required (optional): available for text, password, number, email, textarea, checkbox */\n @Prop()\n required?: boolean = false;\n\n /** checked: available for checkbox, radio */\n @Prop({mutable: true})\n checked?: boolean = false;\n\n /** the input placeholder (optional) */\n @Prop()\n placeholder?: string;\n\n /** the input html title (optional) */\n @Prop()\n htmltitle?: string;\n\n /** the input status (optional): available for text, password, number, email, textarea */\n @Prop()\n status?: InputStatus;\n\n /** input helper message (optional): available for text, password, number, email, textarea - if set to `false` message won't be displayed */\n @Prop()\n message?: string | boolean = true;\n\n /** the input label position: available for checkbox, radio */\n @Prop()\n labelPosition?: LabelPosition = LabelPosition.RIGHT;\n\n /** the input has autocomplete option (optional): available for text, password, number, email */\n @Prop()\n autocomplete?: string;\n\n /** the input role */\n @Prop()\n role = \"\";\n\n /** render clear icon when typing (optional): available for text */\n @Prop()\n hasclearicon?: boolean = true;\n\n /** render icon (optional): available for text */\n @Prop()\n icon?: string;\n\n /** min number value (optional): available for number */\n @Prop()\n min?: number;\n\n /** Min length value (optional): available for text */\n @Prop()\n minlength?: number;\n\n /** max number value (optional): available for number */\n @Prop()\n max?: number;\n\n /** Max length value (optional): available for text */\n @Prop()\n maxlength?: number;\n\n /** step number value (optional): available for number */\n @Prop()\n step?: number;\n\n /** pattern value (optional): available for tel, text, search, url, email, password*/\n @Prop()\n pattern?: string;\n\n /** Available sizes: `big`, `small` and `x-small`. Defaults to `big`. */\n @Prop({reflect: true})\n size?: ControlSize = ControlSize.BIG;\n\n @State()\n isTyping = false;\n\n @State()\n passwordHidden = true;\n\n private timer;\n\n private typingtimeout = 300;\n\n private inputRef: HTMLInputElement;\n\n @Listen(\"inputCheck\", {target: \"document\"})\n inputCheckListener(e: CustomEvent): void {\n const data = e.detail;\n switch (this.type) {\n case InputType.RADIO:\n if (data.type === InputType.RADIO && data.name === this.name && data.id !== this.htmlid) {\n this.checked = false;\n }\n break;\n }\n }\n\n /** get checked status */\n @Method()\n async isChecked(): Promise<boolean> {\n switch (this.type) {\n case InputType.CHECKBOX:\n case InputType.RADIO:\n return this.checked;\n default:\n console.warn(\"`isChecked` method is only available for type `checkbox` and `radio`\");\n\n return false;\n }\n }\n\n /** Emitted on input value change, returns value, validity */\n @Event()\n inputChange: EventEmitter;\n\n private emitInputChange(value: string): void {\n if (!this.isTyping) {\n this.emitStartTyping();\n }\n\n let validity: ValidityState;\n if (this.type === InputType.TEXTAREA) {\n validity = this.getValidity(\"textarea\");\n } else {\n validity = this.getValidity(\"input\");\n }\n this.value = value;\n this.inputChange.emit({value, validity});\n\n clearTimeout(this.timer);\n this.timer = setTimeout(() => {\n this.emitStopTyping(this.value, validity);\n }, this.typingtimeout);\n }\n\n /** Emitted when user starts typing */\n @Event()\n startTyping: EventEmitter;\n\n private emitStartTyping(): void {\n this.isTyping = true;\n this.startTyping.emit();\n }\n\n /** Emitted when user stops typing, returns value, validity */\n @Event()\n stopTyping: EventEmitter;\n\n private emitStopTyping(value: string, validity: ValidityState): void {\n this.isTyping = false;\n this.stopTyping.emit({\n value: value,\n validity: validity,\n });\n }\n\n /** Emitted on checkbox check/uncheck, returns id, checked, type, name, value, validity */\n @Event()\n inputCheck: EventEmitter;\n\n private emitInputCheck(checked: boolean): void {\n this.inputCheck.emit({\n id: this.htmlid,\n checked: checked,\n type: this.type,\n name: this.name,\n value: this.value,\n validity: this.getValidity(\"input\"),\n });\n }\n\n /** Emitted on input focus */\n @Event()\n inputFocus: EventEmitter;\n\n private emitInputFocus(): void {\n this.inputFocus.emit({id: this.htmlid});\n }\n\n /** Emitted on input blur */\n @Event()\n inputBlur: EventEmitter;\n\n private emitInputBlur(): void {\n this.inputBlur.emit({id: this.htmlid});\n }\n\n private getValidity(type: string): ValidityState {\n const input = this.hostElement.querySelector(type) as HTMLInputElement;\n\n return input.validity;\n }\n\n /* START text/password/email/number */\n\n private getTextAttributes(): JSXBase.InputHTMLAttributes<HTMLInputElement | HTMLTextAreaElement> {\n return {\n id: this.htmlid,\n name: this.name,\n placeholder: this.placeholder,\n value: this.value,\n disabled: this.disabled,\n readonly: this.readonly,\n required: this.required,\n title: this.htmltitle,\n minlength: this.minlength,\n maxlength: this.maxlength,\n class: {\n [`input-${this.status}`]: !!this.status,\n },\n autocomplete: this.autocomplete,\n onInput: (e: InputEvent) => this.emitInputChange((e.target as HTMLInputElement).value),\n };\n }\n\n private getNumberAttributes(type: InputType): JSXBase.InputHTMLAttributes<HTMLInputElement> {\n if (type != InputType.NUMBER) {\n return;\n }\n\n return {\n min: this.min,\n max: this.max,\n step: this.step,\n };\n }\n\n private getPatternAttribute(type: InputType): JSXBase.InputHTMLAttributes<HTMLInputElement> {\n if (\n type != InputType.PASSWORD &&\n type != InputType.TEXT &&\n type != InputType.TEL &&\n type != InputType.SEARCH &&\n type != InputType.URL &&\n type != InputType.EMAIL\n ) {\n return;\n }\n\n return {\n pattern: this.pattern,\n };\n }\n\n private inputHasMessage(): boolean {\n if (boolean(this.message) === false || boolean(this.message) === true) {\n return false;\n }\n\n return true;\n }\n\n private getAriaAttributes(): Record<string, unknown> {\n return {\n ...(this.role ? {role: this.role} : {}),\n ...(this.htmlAriaDescribedBy ? {\"aria-describedby\": this.htmlAriaDescribedBy} : {}),\n ...(this.htmlAriaLabelledby ? {\"aria-labelledby\": this.htmlAriaLabelledby} : {}),\n };\n }\n\n private getTextAriaAttributes(): Record<string, unknown> {\n const expanded = this.htmlAriaExpanded ? {\"aria-expanded\": this.htmlAriaExpanded} : {};\n const controls = this.htmlAriaControls ? {\"aria-controls\": this.htmlAriaControls} : {};\n const autocomplete = this.htmlAriaAutocomplete ? {\"aria-autocomplete\": this.htmlAriaAutocomplete} : {};\n const activedescendant = this.htmlAriaActivedescendant\n ? {\"aria-activedescendant\": this.htmlAriaActivedescendant}\n : {};\n const ariaDescribedby =\n this.htmlAriaDescribedBy || this.inputHasMessage()\n ? {\"aria-describedby\": this.htmlAriaDescribedBy || `${this.htmlid}-message`}\n : {};\n\n const ariaInvalid = this.status === InputStatus.ERROR ? {\"aria-invalid\": \"true\"} : {};\n const required = this.required ? {\"aria-required\": \"true\"} : {};\n\n return {\n ...this.getAriaAttributes(),\n ...expanded,\n ...controls,\n ...autocomplete,\n ...activedescendant,\n ...ariaDescribedby,\n ...ariaInvalid,\n ...required,\n };\n }\n\n private getFocusBlurAttributes(): JSXBase.InputHTMLAttributes<HTMLInputElement | HTMLTextAreaElement> {\n return {\n onFocus: () => this.emitInputFocus(),\n onBlur: () => this.emitInputBlur(),\n };\n }\n\n private renderInputText(type: InputType = InputType.TEXT): HTMLDivElement {\n const ariaLabel = this.ariaLabel ? {\"aria-label\": this.ariaLabel} : {};\n const attr = {\n ...this.getTextAttributes(),\n ...this.getNumberAttributes(type),\n ...this.getPatternAttribute(type),\n ...ariaLabel,\n ...this.getTextAriaAttributes(),\n ...this.getFocusBlurAttributes(),\n };\n if (this.icon || type === InputType.PASSWORD) {\n Object.assign(attr.class, {\"has-icon\": true});\n }\n if (this.hasclearicon && type != InputType.NUMBER) {\n Object.assign(attr.class, {\"has-clear-icon\": true});\n }\n\n return (\n <div class=\"text-wrapper\">\n {this.renderLabel()}\n <div>\n <input\n type={type === InputType.PASSWORD && !this.passwordHidden ? InputType.TEXT : type}\n {...attr}\n ref={(el) => (this.inputRef = el)}\n />\n {this.renderIcons()}\n </div>\n {this.renderMessage()}\n </div>\n );\n }\n\n private renderLabel(): HTMLLabelElement {\n if (!this.label) {\n return;\n }\n\n return (\n <label\n class=\"z-label body-5-sb\"\n id={`${this.htmlid}_label`}\n htmlFor={this.htmlid}\n >\n {this.label}\n </label>\n );\n }\n\n private renderIcons(): HTMLSpanElement {\n return (\n <span class=\"icons-wrapper\">\n {this.renderResetIcon()}\n {this.renderIcon()}\n </span>\n );\n }\n\n private renderIcon(): HTMLButtonElement {\n if (this.type === InputType.PASSWORD) {\n return this.renderShowHidePassword();\n }\n\n if (!this.icon) {\n return;\n }\n\n return (\n <z-icon\n name={this.icon}\n class={{[this.size]: true, \"input-icon\": true}}\n />\n );\n }\n\n private renderResetIcon(): HTMLButtonElement {\n let hidden = false;\n if (!this.hasclearicon || !this.value || this.disabled || this.readonly || this.type == InputType.NUMBER) {\n hidden = true;\n }\n\n return (\n <button\n type=\"button\"\n class={{\"reset-icon\": true, \"input-icon\": true, hidden}}\n aria-label=\"cancella il contenuto dell'input\"\n onClick={() => {\n this.inputRef.value = \"\";\n this.emitInputChange(\"\");\n this.inputRef.focus();\n }}\n >\n <z-icon\n name=\"multiply\"\n class={this.size}\n />\n </button>\n );\n }\n\n private renderShowHidePassword(): HTMLButtonElement {\n return (\n <button\n type=\"button\"\n class=\"input-icon toggle-password-icon\"\n disabled={this.disabled}\n aria-label=\"mostra password\"\n aria-pressed={!this.passwordHidden ? \"true\" : \"false\"}\n onClick={() => (this.passwordHidden = !this.passwordHidden)}\n >\n <z-icon\n name={this.passwordHidden ? \"view-filled\" : \"view-off-filled\"}\n class={this.size}\n />\n </button>\n );\n }\n\n private renderMessage(): HTMLZInputMessageElement {\n if (boolean(this.message) === false) {\n return;\n }\n\n return (\n <z-input-message\n html-id={`${this.htmlid}-message`}\n message={boolean(this.message) === true ? undefined : (this.message as string)}\n status={this.status}\n class={this.size}\n disabled={this.disabled}\n />\n );\n }\n\n /* END text/password/email/number */\n\n /* START textarea */\n\n private renderTextarea(): HTMLDivElement {\n const attributes = this.getTextAttributes();\n const ariaAttributes = this.getTextAriaAttributes();\n\n return (\n <Fragment>\n {this.renderLabel()}\n <div\n class={{\n ...(attributes.class as {[className: string]: boolean}),\n \"textarea-wrapper\": true,\n \"readonly\": !!attributes.readonly,\n }}\n >\n <textarea\n {...attributes}\n {...ariaAttributes}\n class={{\n ...(attributes.class as {[className: string]: boolean}),\n \"z-scrollbar\": true,\n }}\n aria-label={this.ariaLabel || undefined}\n ></textarea>\n </div>\n {this.renderMessage()}\n </Fragment>\n );\n }\n\n /* END textarea */\n\n private handleCheck(ev: Event): void {\n this.checked = (ev.target as HTMLInputElement).checked;\n this.emitInputCheck(this.checked);\n }\n\n /* START checkbox */\n private renderCheckbox(): HTMLDivElement {\n const ariaRequired = this.required ? {\"aria-required\": \"true\"} : {};\n\n return (\n <div class=\"checkbox-wrapper\">\n <input\n id={this.htmlid}\n type=\"checkbox\"\n name={this.name}\n checked={this.checked}\n disabled={this.disabled}\n readonly={this.readonly}\n required={this.required}\n onChange={this.handleCheck.bind(this)}\n value={this.value}\n {...ariaRequired}\n {...this.getAriaAttributes()}\n {...this.getFocusBlurAttributes()}\n />\n\n <label\n htmlFor={this.htmlid}\n class={{\n \"checkbox-label\": true,\n \"after\": this.labelPosition === LabelPosition.RIGHT,\n \"before\": this.labelPosition === LabelPosition.LEFT,\n }}\n >\n <z-icon\n name={this.checked ? \"checkbox-checked\" : \"checkbox\"}\n class={this.size}\n />\n {this.label && <span innerHTML={this.label}></span>}\n </label>\n </div>\n );\n }\n\n /* END checkbox */\n\n /* START radio */\n private renderRadio(): HTMLDivElement {\n const ariaRequired = this.required ? {\"aria-required\": \"true\"} : {};\n\n return (\n <div class=\"radio-wrapper\">\n <input\n id={this.htmlid}\n type=\"radio\"\n name={this.name}\n checked={this.checked}\n disabled={this.disabled}\n readonly={this.readonly}\n required={this.required}\n onChange={this.handleCheck.bind(this)}\n value={this.value}\n {...this.getAriaAttributes()}\n {...this.getFocusBlurAttributes()}\n {...ariaRequired}\n />\n\n <label\n htmlFor={this.htmlid}\n class={{\n \"radio-label\": true,\n \"after\": this.labelPosition === LabelPosition.RIGHT,\n \"before\": this.labelPosition === LabelPosition.LEFT,\n }}\n >\n <z-icon\n name={this.checked ? \"radio-button-checked\" : \"radio-button\"}\n class={this.size}\n />\n {this.label && <span innerHTML={this.label} />}\n </label>\n </div>\n );\n }\n /* END radio */\n\n render(): HTMLInputElement | HTMLDivElement {\n let input;\n switch (this.type) {\n case InputType.TEXTAREA:\n input = this.renderTextarea();\n break;\n case InputType.CHECKBOX:\n input = this.renderCheckbox();\n break;\n case InputType.RADIO:\n input = this.renderRadio();\n break;\n default:\n input = this.renderInputText(this.type);\n }\n\n return <Host>{input}</Host>;\n }\n}\n"]}
|
|
@@ -20,7 +20,7 @@ export class ZInputMessage {
|
|
|
20
20
|
this.onMessageChange();
|
|
21
21
|
}
|
|
22
22
|
render() {
|
|
23
|
-
return (h(Host, Object.assign({ key: '
|
|
23
|
+
return (h(Host, Object.assign({ key: 'a35cc36ee979d11215b973a0f11e2c8f59105a50' }, this.statusRole, { id: this.htmlId }), this.statusIcons[this.status] && this.message && h("z-icon", { key: 'be5aa19afcdddefe15f252b8ea175b0615a5e983', name: this.statusIcons[this.status] }), h("span", { key: 'b1d11a0a9694e604b6aa252c2d8a77143288ad99', innerHTML: this.message })));
|
|
24
24
|
}
|
|
25
25
|
static get is() { return "z-input-message"; }
|
|
26
26
|
static get encapsulation() { return "shadow"; }
|