@zanichelli/albe-web-components 19.3.0-RC5 → 19.3.0-rc1
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 +32 -0
- package/dist/cjs/{iconset-Bcbz2MS1.js → iconset-oiCBBbd2.js} +15 -3
- package/dist/cjs/{index-2H1EJ2Tl.js → index-D_S5lGcb.js} +5 -5
- package/dist/cjs/index.cjs.js +1 -1
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/web-components-library.cjs.js +2 -2
- package/dist/cjs/z-accordion.cjs.entry.js +1 -1
- package/dist/cjs/z-alert.cjs.entry.js +2 -2
- package/dist/cjs/z-anchor-navigation.cjs.entry.js +1 -1
- package/dist/cjs/z-app-header-deprecated.cjs.entry.js +1 -1
- package/dist/cjs/z-app-header_12.cjs.entry.js +137 -204
- package/dist/cjs/z-aria-alert.cjs.entry.js +1 -1
- package/dist/cjs/z-avatar.cjs.entry.js +1 -1
- package/dist/cjs/z-book-card-app.cjs.entry.js +1 -1
- package/dist/cjs/z-book-card-deprecated.cjs.entry.js +1 -1
- package/dist/cjs/z-book-card.cjs.entry.js +1 -1
- package/dist/cjs/z-book-cover.cjs.entry.js +1 -1
- package/dist/cjs/z-breadcrumb.cjs.entry.js +6 -6
- 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 +1 -1
- package/dist/cjs/z-color-picker.cjs.entry.js +1 -1
- package/dist/cjs/z-combobox.cjs.entry.js +6 -4
- package/dist/cjs/z-cover-hero.cjs.entry.js +1 -1
- package/dist/cjs/z-date-picker.cjs.entry.js +1 -1
- package/dist/cjs/z-dragdrop-area_2.cjs.entry.js +1 -1
- package/dist/cjs/z-file-upload.cjs.entry.js +1 -1
- package/dist/cjs/z-file.cjs.entry.js +1 -1
- package/dist/cjs/z-ghost-loading.cjs.entry.js +1 -1
- package/dist/cjs/z-info-box.cjs.entry.js +1 -1
- package/dist/cjs/z-info-reveal.cjs.entry.js +1 -1
- package/dist/cjs/z-logo.cjs.entry.js +1 -1
- package/dist/cjs/z-menu-deprecated.cjs.entry.js +1 -1
- package/dist/cjs/z-menu-section-deprecated.cjs.entry.js +1 -1
- package/dist/cjs/z-menu-section.cjs.entry.js +1 -1
- package/dist/cjs/z-menu.cjs.entry.js +1 -1
- package/dist/cjs/z-myz-card-alert.cjs.entry.js +2 -2
- package/dist/cjs/z-myz-card-dictionary.cjs.entry.js +2 -2
- package/dist/cjs/z-myz-card-footer-sections.cjs.entry.js +2 -2
- package/dist/cjs/z-myz-card-footer.cjs.entry.js +2 -2
- package/dist/cjs/z-myz-card-icon.cjs.entry.js +2 -2
- package/dist/cjs/z-myz-card-info.cjs.entry.js +2 -2
- package/dist/cjs/z-myz-card-list.cjs.entry.js +2 -2
- package/dist/cjs/z-myz-card_4.cjs.entry.js +5 -5
- package/dist/cjs/z-myz-list-item.cjs.entry.js +2 -2
- package/dist/cjs/z-myz-list.cjs.entry.js +2 -2
- package/dist/cjs/z-navigation-tabs.cjs.entry.js +1 -1
- package/dist/cjs/z-notification.cjs.entry.js +3 -3
- package/dist/cjs/z-otp.cjs.entry.js +3 -3
- package/dist/cjs/z-pagination.cjs.entry.js +3 -3
- package/dist/cjs/z-panel-elem.cjs.entry.js +1 -1
- package/dist/cjs/z-popover.cjs.entry.js +1 -1
- package/dist/cjs/z-range-picker.cjs.entry.js +1 -1
- package/dist/cjs/z-result-card.cjs.entry.js +1 -1
- package/dist/cjs/z-section-title.cjs.entry.js +1 -1
- package/dist/cjs/z-select.cjs.entry.js +1 -1
- package/dist/cjs/z-skip-to-content.cjs.entry.js +2 -2
- package/dist/cjs/z-slideshow.cjs.entry.js +1 -1
- package/dist/cjs/z-stepper-item.cjs.entry.js +2 -2
- package/dist/cjs/z-stepper.cjs.entry.js +2 -2
- package/dist/cjs/z-table.cjs.entry.js +1 -1
- package/dist/cjs/z-tbody.cjs.entry.js +1 -1
- package/dist/cjs/z-td.cjs.entry.js +4 -4
- package/dist/cjs/z-tfoot.cjs.entry.js +1 -1
- package/dist/cjs/z-th.cjs.entry.js +6 -4
- 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 +96 -35
- package/dist/cjs/z-toggle-button.cjs.entry.js +3 -3
- package/dist/cjs/z-toggle-switch.cjs.entry.js +4 -4
- package/dist/cjs/z-tool.cjs.entry.js +3 -3
- package/dist/cjs/z-toolbar.cjs.entry.js +2 -2
- package/dist/cjs/z-tooltip.cjs.entry.js +2 -2
- package/dist/cjs/z-tr.cjs.entry.js +1 -1
- package/dist/cjs/z-tree-list.cjs.entry.js +1 -1
- package/dist/cjs/z-visually-hidden.cjs.entry.js +1 -1
- package/dist/collection/components/css-components/z-scrollbar/styles.css +40 -0
- package/dist/collection/components/table/cells/{z-td/styles.css → z-table-cells.css} +0 -1
- package/dist/collection/components/table/cells/z-td/index.js +3 -3
- package/dist/collection/components/table/cells/z-th/index.js +3 -3
- package/dist/collection/components/table/cells/z-th/styles.css +0 -72
- package/dist/collection/components/z-app-header/index.js +21 -2
- package/dist/collection/components/z-app-header/index.stories.js +25 -9
- package/dist/collection/components/z-breadcrumb/index.js +5 -5
- package/dist/collection/components/z-button/index.js +5 -2
- package/dist/collection/components/z-combobox/index.js +3 -3
- package/dist/collection/components/z-combobox/styles.css +0 -12
- package/dist/collection/components/z-input/index.js +3 -3
- package/dist/collection/components/z-input/styles-checkbox-radio.css +130 -0
- package/dist/collection/components/z-input/styles-general.css +166 -0
- package/dist/collection/components/z-input/styles-text.css +87 -0
- package/dist/collection/components/z-input/styles-textarea.css +19 -0
- package/dist/collection/components/z-notification/index.js +3 -2
- package/dist/collection/components/z-notification/index.stories.js +79 -77
- package/dist/collection/components/z-notification/styles.css +8 -6
- package/dist/collection/components/z-pagination/index.js +2 -2
- package/dist/collection/components/z-searchbar/index.js +133 -193
- package/dist/collection/components/z-searchbar/index.stories.js +12 -16
- package/dist/collection/components/z-searchbar/styles.css +87 -201
- package/dist/collection/components/z-skip-to-content/index.js +1 -1
- package/dist/collection/components/z-stepper/index.js +1 -1
- package/dist/collection/components/z-stepper-item/index.js +1 -1
- package/dist/collection/components/z-toast-notification/index.js +3 -3
- package/dist/collection/components/z-toast-notification-list/index.js +1 -1
- package/dist/collection/components/z-toggle-button/index.js +2 -2
- package/dist/collection/components/z-toggle-switch/index.js +3 -3
- package/dist/collection/components/z-tool/index.js +3 -3
- package/dist/collection/components/z-toolbar/index.js +1 -1
- package/dist/collection/components/z-tooltip/index.js +1 -1
- package/dist/collection/constants/iconset.js +15 -3
- package/dist/collection/snowflakes/myz/card/z-myz-card/index.js +1 -1
- package/dist/collection/snowflakes/myz/card/z-myz-card-alert/index.js +1 -1
- package/dist/collection/snowflakes/myz/card/z-myz-card-body/index.js +1 -1
- package/dist/collection/snowflakes/myz/card/z-myz-card-cover/index.js +1 -1
- package/dist/collection/snowflakes/myz/card/z-myz-card-dictionary/index.js +1 -1
- package/dist/collection/snowflakes/myz/card/z-myz-card-footer/index.js +1 -1
- package/dist/collection/snowflakes/myz/card/z-myz-card-footer-sections/index.js +1 -1
- package/dist/collection/snowflakes/myz/card/z-myz-card-header/index.js +1 -1
- package/dist/collection/snowflakes/myz/card/z-myz-card-icon/index.js +1 -1
- package/dist/collection/snowflakes/myz/card/z-myz-card-info/index.js +1 -1
- package/dist/collection/snowflakes/myz/card/z-myz-card-list/index.js +1 -1
- package/dist/collection/snowflakes/myz/list/z-myz-list/index.js +1 -1
- package/dist/collection/snowflakes/myz/list/z-myz-list-item/index.js +1 -1
- package/dist/collection/snowflakes/myz/z-alert/index.js +1 -1
- package/dist/collection/snowflakes/myz/z-otp/index.js +2 -2
- package/dist/components/iconset.js +1 -1
- package/dist/components/index13.js +1 -1
- package/dist/components/index22.js +1 -1
- package/dist/components/index23.js +1 -1
- package/dist/components/index24.js +1 -1
- package/dist/components/index25.js +1 -1
- package/dist/components/index26.js +1 -1
- package/dist/components/index27.js +1 -1
- package/dist/components/index4.js +1 -1
- package/dist/components/index5.js +1 -1
- package/dist/components/index7.js +1 -1
- package/dist/components/z-app-header.js +1 -1
- package/dist/components/z-breadcrumb.js +1 -1
- package/dist/components/z-combobox.js +1 -1
- package/dist/components/z-myz-card-alert.js +1 -1
- package/dist/components/z-myz-card-dictionary.js +1 -1
- package/dist/components/z-myz-card-footer-sections.js +1 -1
- package/dist/components/z-myz-card-footer.js +1 -1
- package/dist/components/z-myz-card-icon.js +1 -1
- package/dist/components/z-myz-card-info.js +1 -1
- package/dist/components/z-myz-card-list.js +1 -1
- package/dist/components/z-myz-list.js +1 -1
- package/dist/components/z-notification.js +1 -1
- package/dist/components/z-otp.js +1 -1
- package/dist/components/z-pagination.js +1 -1
- package/dist/components/z-skip-to-content.js +1 -1
- package/dist/components/z-stepper-item.js +1 -1
- package/dist/components/z-stepper.js +1 -1
- package/dist/components/z-td.js +1 -1
- package/dist/components/z-th.js +1 -1
- package/dist/components/z-toast-notification-list.js +1 -1
- package/dist/components/z-toast-notification.js +1 -1
- package/dist/components/z-toggle-button.js +1 -1
- package/dist/components/z-toggle-switch.js +1 -1
- package/dist/components/z-tool.js +1 -1
- package/dist/components/z-toolbar.js +1 -1
- package/dist/esm/{iconset-BanpkIXZ.js → iconset-CjHS9zeM.js} +15 -3
- package/dist/esm/{index-ByN2sYu6.js → index-DPdXlnVe.js} +5 -5
- package/dist/esm/index.js +2 -2
- package/dist/esm/loader.js +3 -3
- package/dist/esm/{utils-0PByxJyN.js → utils-DYd3kO0P.js} +1 -1
- package/dist/esm/web-components-library.js +3 -3
- package/dist/esm/z-accordion.entry.js +1 -1
- package/dist/esm/z-alert.entry.js +2 -2
- package/dist/esm/z-anchor-navigation.entry.js +1 -1
- package/dist/esm/z-app-header-deprecated.entry.js +1 -1
- package/dist/esm/z-app-header_12.entry.js +139 -206
- package/dist/esm/z-aria-alert.entry.js +1 -1
- package/dist/esm/z-avatar.entry.js +1 -1
- 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 +1 -1
- package/dist/esm/z-breadcrumb.entry.js +7 -7
- 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 +1 -1
- package/dist/esm/z-color-picker.entry.js +2 -2
- package/dist/esm/z-combobox.entry.js +7 -5
- package/dist/esm/z-cover-hero.entry.js +1 -1
- package/dist/esm/z-date-picker.entry.js +1 -1
- package/dist/esm/z-dragdrop-area_2.entry.js +1 -1
- package/dist/esm/z-file-upload.entry.js +1 -1
- package/dist/esm/z-file.entry.js +1 -1
- package/dist/esm/z-ghost-loading.entry.js +1 -1
- package/dist/esm/z-info-box.entry.js +1 -1
- package/dist/esm/z-info-reveal.entry.js +1 -1
- package/dist/esm/z-logo.entry.js +1 -1
- package/dist/esm/z-menu-deprecated.entry.js +1 -1
- package/dist/esm/z-menu-section-deprecated.entry.js +1 -1
- package/dist/esm/z-menu-section.entry.js +1 -1
- package/dist/esm/z-menu.entry.js +2 -2
- package/dist/esm/z-myz-card-alert.entry.js +2 -2
- package/dist/esm/z-myz-card-dictionary.entry.js +2 -2
- package/dist/esm/z-myz-card-footer-sections.entry.js +2 -2
- package/dist/esm/z-myz-card-footer.entry.js +2 -2
- package/dist/esm/z-myz-card-icon.entry.js +2 -2
- package/dist/esm/z-myz-card-info.entry.js +3 -3
- package/dist/esm/z-myz-card-list.entry.js +2 -2
- package/dist/esm/z-myz-card_4.entry.js +5 -5
- package/dist/esm/z-myz-list-item.entry.js +3 -3
- package/dist/esm/z-myz-list.entry.js +2 -2
- package/dist/esm/z-navigation-tabs.entry.js +1 -1
- package/dist/esm/z-notification.entry.js +3 -3
- package/dist/esm/z-otp.entry.js +3 -3
- package/dist/esm/z-pagination.entry.js +3 -3
- package/dist/esm/z-panel-elem.entry.js +1 -1
- package/dist/esm/z-popover.entry.js +2 -2
- package/dist/esm/z-range-picker.entry.js +1 -1
- package/dist/esm/z-result-card.entry.js +1 -1
- package/dist/esm/z-section-title.entry.js +1 -1
- package/dist/esm/z-select.entry.js +2 -2
- 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 +2 -2
- package/dist/esm/z-stepper.entry.js +2 -2
- package/dist/esm/z-table.entry.js +2 -2
- package/dist/esm/z-tbody.entry.js +1 -1
- package/dist/esm/z-td.entry.js +4 -4
- package/dist/esm/z-tfoot.entry.js +1 -1
- package/dist/esm/z-th.entry.js +6 -4
- 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 +96 -35
- package/dist/esm/z-toggle-button.entry.js +3 -3
- package/dist/esm/z-toggle-switch.entry.js +5 -5
- package/dist/esm/z-tool.entry.js +4 -4
- package/dist/esm/z-toolbar.entry.js +2 -2
- package/dist/esm/z-tooltip.entry.js +2 -2
- package/dist/esm/z-tr.entry.js +2 -2
- package/dist/esm/z-tree-list.entry.js +1 -1
- package/dist/esm/z-visually-hidden.entry.js +1 -1
- package/dist/types/components/z-app-header/index.d.ts +4 -0
- package/dist/types/components/z-app-header/index.stories.d.ts +7 -0
- package/dist/types/components/z-notification/index.d.ts +2 -1
- package/dist/types/components/z-notification/index.stories.d.ts +27 -22
- package/dist/types/components/z-searchbar/index.d.ts +26 -28
- package/dist/types/components/z-searchbar/index.stories.d.ts +4 -0
- package/dist/types/components.d.ts +42 -18
- package/dist/types/constants/iconset.d.ts +30 -6
- package/dist/web-components-library/index.esm.js +1 -1
- package/dist/web-components-library/p-087956fa.entry.js +1 -0
- package/dist/web-components-library/{p-9b181c2c.entry.js → p-10e5e16e.entry.js} +1 -1
- package/dist/web-components-library/{p-8f945346.entry.js → p-13e7f751.entry.js} +1 -1
- package/dist/web-components-library/{p-366d2553.entry.js → p-14b804f9.entry.js} +1 -1
- package/{www/build/p-9d3bde23.entry.js → dist/web-components-library/p-1580db58.entry.js} +1 -1
- package/dist/web-components-library/p-15825811.entry.js +1 -0
- package/dist/web-components-library/{p-1210c90f.entry.js → p-1993b0ad.entry.js} +1 -1
- package/dist/web-components-library/{p-eb722234.entry.js → p-1a95491d.entry.js} +1 -1
- package/dist/web-components-library/{p-ebdbd84c.entry.js → p-1d023220.entry.js} +1 -1
- package/dist/web-components-library/{p-5fc4048b.entry.js → p-21c85e04.entry.js} +1 -1
- package/dist/web-components-library/{p-081b1648.entry.js → p-23b46642.entry.js} +1 -1
- package/dist/web-components-library/{p-59d4ac9e.entry.js → p-299f0f85.entry.js} +1 -1
- package/dist/web-components-library/p-29dde955.entry.js +1 -0
- package/dist/web-components-library/p-2c036e17.entry.js +1 -0
- package/dist/web-components-library/{p-c23bfec2.entry.js → p-2d4c01c3.entry.js} +1 -1
- package/dist/web-components-library/p-2dabe353.entry.js +1 -0
- package/dist/web-components-library/{p-1afd69ba.entry.js → p-2df6d169.entry.js} +1 -1
- package/dist/web-components-library/{p-2f99634d.entry.js → p-2ef82e17.entry.js} +1 -1
- package/dist/web-components-library/{p-30c86858.entry.js → p-324933f6.entry.js} +1 -1
- package/{www/build/p-50b59012.entry.js → dist/web-components-library/p-37e84b71.entry.js} +1 -1
- package/dist/web-components-library/{p-1e984688.entry.js → p-3c53e451.entry.js} +1 -1
- package/dist/web-components-library/{p-5883dbc1.entry.js → p-3ea03d34.entry.js} +1 -1
- package/dist/web-components-library/p-41584e90.entry.js +1 -0
- package/{www/build/p-6ece59b5.entry.js → dist/web-components-library/p-50e10a10.entry.js} +1 -1
- package/dist/web-components-library/{p-17429bce.entry.js → p-52899754.entry.js} +1 -1
- package/dist/web-components-library/p-53670be4.entry.js +1 -0
- package/dist/web-components-library/{p-02e588b4.entry.js → p-583b8152.entry.js} +1 -1
- package/dist/web-components-library/{p-afab22fc.entry.js → p-5a05dc1e.entry.js} +1 -1
- package/dist/web-components-library/{p-a975b91d.entry.js → p-5d20fc3d.entry.js} +1 -1
- package/{www/build/p-5c85b7f4.entry.js → dist/web-components-library/p-622466f9.entry.js} +1 -1
- package/dist/web-components-library/{p-0727e9aa.entry.js → p-658f022d.entry.js} +1 -1
- package/dist/web-components-library/{p-ecea3d09.entry.js → p-6bd35edf.entry.js} +1 -1
- package/dist/web-components-library/{p-00f09ae2.entry.js → p-7226f07a.entry.js} +1 -1
- package/dist/web-components-library/p-7371a543.entry.js +2 -0
- package/dist/web-components-library/{p-b5c180bc.entry.js → p-77bf39a4.entry.js} +1 -1
- package/dist/web-components-library/{p-acf23ad8.entry.js → p-788eaac7.entry.js} +1 -1
- package/{www/build/p-631f111d.entry.js → dist/web-components-library/p-7bf7539a.entry.js} +1 -1
- package/dist/web-components-library/p-81eb43fd.entry.js +1 -0
- package/dist/web-components-library/{p-abfdc045.entry.js → p-8261c869.entry.js} +1 -1
- package/{www/build/p-5bb77af2.entry.js → dist/web-components-library/p-83da1031.entry.js} +1 -1
- package/{www/build/p-d57c5efc.entry.js → dist/web-components-library/p-85cac60d.entry.js} +1 -1
- package/dist/web-components-library/{p-2294f1b0.entry.js → p-88a3ba7c.entry.js} +1 -1
- package/dist/web-components-library/{p-0ca6e928.entry.js → p-8a8df4f4.entry.js} +1 -1
- package/dist/web-components-library/{p-040fbd28.entry.js → p-8b026993.entry.js} +1 -1
- package/dist/web-components-library/{p-294f7b4e.entry.js → p-8d7e2e16.entry.js} +1 -1
- package/dist/web-components-library/{p-19536f5e.entry.js → p-8de064a4.entry.js} +1 -1
- package/dist/web-components-library/{p-aabb5aea.entry.js → p-8f4a04aa.entry.js} +1 -1
- package/dist/web-components-library/{p-D4yqZKyM.js → p-CPsEG702.js} +1 -1
- package/dist/web-components-library/p-CjHS9zeM.js +1 -0
- package/dist/web-components-library/{p-ByN2sYu6.js → p-DPdXlnVe.js} +1 -1
- package/dist/web-components-library/{p-58933ba5.entry.js → p-a4f673f8.entry.js} +1 -1
- package/dist/web-components-library/{p-a336c241.entry.js → p-aa4fc3d3.entry.js} +1 -1
- package/{www/build/p-48d72b52.entry.js → dist/web-components-library/p-aa72d766.entry.js} +1 -1
- package/{www/build/p-b38d52e5.entry.js → dist/web-components-library/p-ad2cd7fc.entry.js} +1 -1
- package/dist/web-components-library/{p-241eaed0.entry.js → p-b6223d7e.entry.js} +1 -1
- package/{www/build/p-41b55222.entry.js → dist/web-components-library/p-b851f20b.entry.js} +1 -1
- package/dist/web-components-library/{p-d304ce44.entry.js → p-b9343431.entry.js} +1 -1
- package/dist/web-components-library/{p-a3a7c406.entry.js → p-be354b22.entry.js} +1 -1
- package/dist/web-components-library/{p-c8f40472.entry.js → p-c42ddd93.entry.js} +1 -1
- package/dist/web-components-library/{p-896470e8.entry.js → p-c4e7bd16.entry.js} +1 -1
- package/dist/web-components-library/{p-794c613e.entry.js → p-c944a943.entry.js} +1 -1
- package/dist/web-components-library/{p-4b0a730e.entry.js → p-cd33f4b1.entry.js} +1 -1
- package/dist/web-components-library/{p-ad2ed505.entry.js → p-cdd88182.entry.js} +1 -1
- package/dist/web-components-library/{p-8745878e.entry.js → p-d3053434.entry.js} +1 -1
- package/dist/web-components-library/{p-fade8c19.entry.js → p-d63665c1.entry.js} +1 -1
- package/dist/web-components-library/{p-1b851174.entry.js → p-dabccb20.entry.js} +1 -1
- package/dist/web-components-library/p-dc5ab2cc.entry.js +1 -0
- package/dist/web-components-library/{p-5797bf38.entry.js → p-dfd43710.entry.js} +1 -1
- package/dist/web-components-library/{p-0a819ab4.entry.js → p-e1d0a6e3.entry.js} +1 -1
- package/dist/web-components-library/p-e48497f0.entry.js +1 -0
- package/dist/web-components-library/{p-a9534450.entry.js → p-ec4940ce.entry.js} +1 -1
- package/dist/web-components-library/{p-ed74f357.entry.js → p-eddc2d19.entry.js} +1 -1
- package/dist/web-components-library/{p-6d53942a.entry.js → p-ef5018bb.entry.js} +1 -1
- package/dist/web-components-library/{p-f5e7fa96.entry.js → p-f7e46ef2.entry.js} +1 -1
- package/dist/web-components-library/web-components-library.css +1 -1
- package/dist/web-components-library/web-components-library.esm.js +1 -1
- package/package.json +3 -3
- package/www/build/index.esm.js +1 -1
- package/www/build/p-087956fa.entry.js +1 -0
- package/www/build/{p-9b181c2c.entry.js → p-10e5e16e.entry.js} +1 -1
- package/www/build/{p-8f945346.entry.js → p-13e7f751.entry.js} +1 -1
- package/www/build/{p-366d2553.entry.js → p-14b804f9.entry.js} +1 -1
- package/{dist/web-components-library/p-9d3bde23.entry.js → www/build/p-1580db58.entry.js} +1 -1
- package/www/build/p-15825811.entry.js +1 -0
- package/www/build/{p-1210c90f.entry.js → p-1993b0ad.entry.js} +1 -1
- package/www/build/{p-eb722234.entry.js → p-1a95491d.entry.js} +1 -1
- package/www/build/{p-ebdbd84c.entry.js → p-1d023220.entry.js} +1 -1
- package/www/build/{p-5fc4048b.entry.js → p-21c85e04.entry.js} +1 -1
- package/www/build/{p-081b1648.entry.js → p-23b46642.entry.js} +1 -1
- package/www/build/{p-59d4ac9e.entry.js → p-299f0f85.entry.js} +1 -1
- package/www/build/p-29dde955.entry.js +1 -0
- package/www/build/p-2c036e17.entry.js +1 -0
- package/www/build/{p-c23bfec2.entry.js → p-2d4c01c3.entry.js} +1 -1
- package/www/build/p-2dabe353.entry.js +1 -0
- package/www/build/{p-1afd69ba.entry.js → p-2df6d169.entry.js} +1 -1
- package/www/build/{p-2f99634d.entry.js → p-2ef82e17.entry.js} +1 -1
- package/www/build/{p-30c86858.entry.js → p-324933f6.entry.js} +1 -1
- package/{dist/web-components-library/p-50b59012.entry.js → www/build/p-37e84b71.entry.js} +1 -1
- package/www/build/{p-1e984688.entry.js → p-3c53e451.entry.js} +1 -1
- package/www/build/{p-5883dbc1.entry.js → p-3ea03d34.entry.js} +1 -1
- package/www/build/p-41584e90.entry.js +1 -0
- package/{dist/web-components-library/p-6ece59b5.entry.js → www/build/p-50e10a10.entry.js} +1 -1
- package/www/build/{p-17429bce.entry.js → p-52899754.entry.js} +1 -1
- package/www/build/p-53670be4.entry.js +1 -0
- package/www/build/{p-02e588b4.entry.js → p-583b8152.entry.js} +1 -1
- package/www/build/{p-afab22fc.entry.js → p-5a05dc1e.entry.js} +1 -1
- package/www/build/{p-a975b91d.entry.js → p-5d20fc3d.entry.js} +1 -1
- package/{dist/web-components-library/p-5c85b7f4.entry.js → www/build/p-622466f9.entry.js} +1 -1
- package/www/build/{p-0727e9aa.entry.js → p-658f022d.entry.js} +1 -1
- package/www/build/{p-ecea3d09.entry.js → p-6bd35edf.entry.js} +1 -1
- package/www/build/{p-00f09ae2.entry.js → p-7226f07a.entry.js} +1 -1
- package/www/build/p-7371a543.entry.js +2 -0
- package/www/build/{p-b5c180bc.entry.js → p-77bf39a4.entry.js} +1 -1
- package/www/build/{p-acf23ad8.entry.js → p-788eaac7.entry.js} +1 -1
- package/{dist/web-components-library/p-631f111d.entry.js → www/build/p-7bf7539a.entry.js} +1 -1
- package/www/build/p-81eb43fd.entry.js +1 -0
- package/www/build/{p-abfdc045.entry.js → p-8261c869.entry.js} +1 -1
- package/{dist/web-components-library/p-5bb77af2.entry.js → www/build/p-83da1031.entry.js} +1 -1
- package/{dist/web-components-library/p-d57c5efc.entry.js → www/build/p-85cac60d.entry.js} +1 -1
- package/www/build/{p-2294f1b0.entry.js → p-88a3ba7c.entry.js} +1 -1
- package/www/build/{p-0ca6e928.entry.js → p-8a8df4f4.entry.js} +1 -1
- package/www/build/{p-040fbd28.entry.js → p-8b026993.entry.js} +1 -1
- package/www/build/{p-294f7b4e.entry.js → p-8d7e2e16.entry.js} +1 -1
- package/www/build/{p-19536f5e.entry.js → p-8de064a4.entry.js} +1 -1
- package/www/build/{p-aabb5aea.entry.js → p-8f4a04aa.entry.js} +1 -1
- package/www/build/{p-D4yqZKyM.js → p-CPsEG702.js} +1 -1
- package/www/build/p-CjHS9zeM.js +1 -0
- package/www/build/{p-ByN2sYu6.js → p-DPdXlnVe.js} +1 -1
- package/www/build/{p-58933ba5.entry.js → p-a4f673f8.entry.js} +1 -1
- package/www/build/{p-a336c241.entry.js → p-aa4fc3d3.entry.js} +1 -1
- package/{dist/web-components-library/p-48d72b52.entry.js → www/build/p-aa72d766.entry.js} +1 -1
- package/{dist/web-components-library/p-b38d52e5.entry.js → www/build/p-ad2cd7fc.entry.js} +1 -1
- package/www/build/{p-241eaed0.entry.js → p-b6223d7e.entry.js} +1 -1
- package/{dist/web-components-library/p-41b55222.entry.js → www/build/p-b851f20b.entry.js} +1 -1
- package/www/build/{p-d304ce44.entry.js → p-b9343431.entry.js} +1 -1
- package/www/build/{p-a3a7c406.entry.js → p-be354b22.entry.js} +1 -1
- package/www/build/{p-c8f40472.entry.js → p-c42ddd93.entry.js} +1 -1
- package/www/build/{p-896470e8.entry.js → p-c4e7bd16.entry.js} +1 -1
- package/www/build/{p-ea2cbe37.js → p-c5c5a64f.js} +1 -1
- package/www/build/{p-813bd63b.css → p-c60c851a.css} +1 -1
- package/www/build/{p-794c613e.entry.js → p-c944a943.entry.js} +1 -1
- package/www/build/{p-4b0a730e.entry.js → p-cd33f4b1.entry.js} +1 -1
- package/www/build/{p-ad2ed505.entry.js → p-cdd88182.entry.js} +1 -1
- package/www/build/{p-8745878e.entry.js → p-d3053434.entry.js} +1 -1
- package/www/build/{p-fade8c19.entry.js → p-d63665c1.entry.js} +1 -1
- package/www/build/{p-1b851174.entry.js → p-dabccb20.entry.js} +1 -1
- package/www/build/p-dc5ab2cc.entry.js +1 -0
- package/www/build/{p-5797bf38.entry.js → p-dfd43710.entry.js} +1 -1
- package/www/build/{p-0a819ab4.entry.js → p-e1d0a6e3.entry.js} +1 -1
- package/www/build/p-e48497f0.entry.js +1 -0
- package/www/build/{p-a9534450.entry.js → p-ec4940ce.entry.js} +1 -1
- package/www/build/{p-ed74f357.entry.js → p-eddc2d19.entry.js} +1 -1
- package/www/build/{p-6d53942a.entry.js → p-ef5018bb.entry.js} +1 -1
- package/www/build/{p-f5e7fa96.entry.js → p-f7e46ef2.entry.js} +1 -1
- package/www/build/web-components-library.css +1 -1
- package/www/build/web-components-library.esm.js +1 -1
- package/www/index.html +1 -1
- package/dist/collection/components/z-input/styles.css +0 -406
- package/dist/web-components-library/p-062ba668.entry.js +0 -1
- package/dist/web-components-library/p-0eb7baa4.entry.js +0 -1
- package/dist/web-components-library/p-1c5bbea1.entry.js +0 -1
- package/dist/web-components-library/p-27f93251.entry.js +0 -1
- package/dist/web-components-library/p-314302ce.entry.js +0 -1
- package/dist/web-components-library/p-3c861d49.entry.js +0 -1
- package/dist/web-components-library/p-7a55d688.entry.js +0 -2
- package/dist/web-components-library/p-8042aaf7.entry.js +0 -1
- package/dist/web-components-library/p-BanpkIXZ.js +0 -1
- package/dist/web-components-library/p-a1127213.entry.js +0 -1
- package/dist/web-components-library/p-afcabf3b.entry.js +0 -1
- package/dist/web-components-library/p-db0a60fc.entry.js +0 -1
- package/www/build/p-062ba668.entry.js +0 -1
- package/www/build/p-0eb7baa4.entry.js +0 -1
- package/www/build/p-1c5bbea1.entry.js +0 -1
- package/www/build/p-27f93251.entry.js +0 -1
- package/www/build/p-314302ce.entry.js +0 -1
- package/www/build/p-3c861d49.entry.js +0 -1
- package/www/build/p-7a55d688.entry.js +0 -2
- package/www/build/p-8042aaf7.entry.js +0 -1
- package/www/build/p-BanpkIXZ.js +0 -1
- package/www/build/p-a1127213.entry.js +0 -1
- package/www/build/p-afcabf3b.entry.js +0 -1
- package/www/build/p-db0a60fc.entry.js +0 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
3
|
+
var index = require('./index-D_S5lGcb.js');
|
|
4
4
|
|
|
5
5
|
const stylesCss = () => `:host{position:absolute;overflow:hidden;width:1px;height:1px;padding:0;border:0;margin:0 -1px -1px 0;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap}`;
|
|
6
6
|
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
/* Webkit Scrollbar */
|
|
2
|
+
.z-scrollbar::-webkit-scrollbar {
|
|
3
|
+
width: 6px;
|
|
4
|
+
background: linear-gradient(to right, transparent 0 1px, var(--gray200) 1px 5px, transparent 5px 6px);
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
.z-scrollbar::-webkit-scrollbar-thumb {
|
|
8
|
+
background-color: var(--color-primary01);
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
.z-scrollbar::-webkit-scrollbar-thumb:hover {
|
|
12
|
+
background-color: var(--color-hover-primary);
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
:host([theme="dark"]) .z-scrollbar,
|
|
16
|
+
.z-scrollbar--dark {
|
|
17
|
+
--z-scrollbar-track-gradient: linear-gradient(
|
|
18
|
+
to right,
|
|
19
|
+
transparent 0 1px,
|
|
20
|
+
var(--gray600) 1px 5px,
|
|
21
|
+
transparent 5px 6px
|
|
22
|
+
);
|
|
23
|
+
--z-scrollbar-track-color: var(--gray600);
|
|
24
|
+
--z-scrollbar-thumb-color: var(--color-primary03);
|
|
25
|
+
--z-scrollbar-thumb-hover-color: var(--color-hover-primary);
|
|
26
|
+
--z-scrollbar-corner-color: transparent;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
/* Firefox scrollbar */
|
|
30
|
+
@supports not selector(.z-scrollbar::-webkit-scrollbar-track) {
|
|
31
|
+
.z-scrollbar {
|
|
32
|
+
scrollbar-color: var(--color-primary01) transparent;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
:host([theme="dark"]) .z-scrollbar,
|
|
36
|
+
.z-scrollbar--dark {
|
|
37
|
+
scrollbar-color: var(--z-scrollbar-thumb-color, var(--color-primary03))
|
|
38
|
+
var(--z-scrollbar-track-color, var(--gray600));
|
|
39
|
+
}
|
|
40
|
+
}
|
|
@@ -42,18 +42,18 @@ export class ZTd {
|
|
|
42
42
|
this.updateColspan();
|
|
43
43
|
}
|
|
44
44
|
render() {
|
|
45
|
-
return (h(Host, { key: '
|
|
45
|
+
return (h(Host, { key: '3de2b08ae7ba78632945b3c7a18c39cbc91dd03f', role: "cell", "menu-open": this.isMenuOpen }, h("div", { key: '0c281b227221cbd01d76ee8e5909d2ea77071f9a', class: "cell--content" }, h("slot", { key: 'fb6a90291b513310d4f48ea3a26c5dfe197d6434' }), this.showMenu && (h("div", { key: 'dd2c301848ea64effee47f2c5e690eab30259d19', class: "cell--menu-container prevent-expand" }, h("z-button", { key: 'b010e8ef6fcd68289f1e5599216c416dcf866788', variant: ButtonVariant.TERTIARY, icon: "contextual-menu", size: ControlSize.X_SMALL, ref: (el) => (this.menuTrigger = el), onClick: this.onMenuButtonClick.bind(this) }), h("z-popover", { key: '055d4c47c314f74939b4de3ec60ad43d20beaad2', class: "cell-popover", ref: (el) => (this.popoverEl = el), bindTo: this.menuTrigger, onOpenChange: (event) => (this.isMenuOpen = event.detail.open), position: this.popoverPosition }, h("slot", { key: '2d097873fe805093434e9b932c0e36082f5a15a5', name: "contextual-menu" })))))));
|
|
46
46
|
}
|
|
47
47
|
static get is() { return "z-td"; }
|
|
48
48
|
static get encapsulation() { return "shadow"; }
|
|
49
49
|
static get originalStyleUrls() {
|
|
50
50
|
return {
|
|
51
|
-
"$": ["
|
|
51
|
+
"$": ["../z-table-cells.css"]
|
|
52
52
|
};
|
|
53
53
|
}
|
|
54
54
|
static get styleUrls() {
|
|
55
55
|
return {
|
|
56
|
-
"$": ["
|
|
56
|
+
"$": ["../z-table-cells.css"]
|
|
57
57
|
};
|
|
58
58
|
}
|
|
59
59
|
static get properties() {
|
|
@@ -70,18 +70,18 @@ export class ZTh {
|
|
|
70
70
|
this.updateColspan();
|
|
71
71
|
}
|
|
72
72
|
render() {
|
|
73
|
-
return (h(Host, { key: '
|
|
73
|
+
return (h(Host, { key: 'deec9e49e024f48b68fe8f54ebb141dcc2b19ec1', role: "columnheader", "menu-open": this.isMenuOpen, "aria-sort": this.ariaSortDirection, sortable: this.showSorting }, h("div", { key: '65fefbfef58a64f3287a2f1b5defd301392bba2b', class: "cell--content" }, h("slot", { key: 'a88011856bacb3b2e0875ed46b8b1468660e5b31' }), this.showSorting && (h("button", { key: '46f462137de04bb88eda2e14767660fc4629f087', class: "z-th--sort-button", type: "button", onClick: this.handleSort.bind(this) }, h("z-icon", { key: 'bcfe38f7ff932f2074dad3ab11b5df5867292654', name: this.sortDirection === SortDirection.DESC ? "arrow-simple-up" : "arrow-simple-down", width: 14, height: 14 }))), this.showMenu && (h("div", { key: '90ccc4ecc6f49f8d41a45c9979fabebfd8bcad01', class: "cell--menu-container" }, h("z-button", { key: '58b57db3a7129b6a811eca6f014a7b2c02050a41', variant: ButtonVariant.TERTIARY, icon: "contextual-menu", size: ControlSize.X_SMALL, ref: (el) => (this.menuTrigger = el), onClick: () => (this.popoverEl.open = !this.popoverEl.open) }), h("z-popover", { key: '927004bdbc077e358c00b765d58b64a70f95c83d', ref: (el) => (this.popoverEl = el), bindTo: this.menuTrigger, onOpenChange: (event) => (this.isMenuOpen = event.detail.open), position: this.popoverPosition }, h("slot", { key: '3b5dbcb8631fa4383366ff718c7e9a080b7ca3be', name: "contextual-menu" })))))));
|
|
74
74
|
}
|
|
75
75
|
static get is() { return "z-th"; }
|
|
76
76
|
static get encapsulation() { return "shadow"; }
|
|
77
77
|
static get originalStyleUrls() {
|
|
78
78
|
return {
|
|
79
|
-
"$": ["styles.css"]
|
|
79
|
+
"$": ["../z-table-cells.css", "styles.css"]
|
|
80
80
|
};
|
|
81
81
|
}
|
|
82
82
|
static get styleUrls() {
|
|
83
83
|
return {
|
|
84
|
-
"$": ["styles.css"]
|
|
84
|
+
"$": ["../z-table-cells.css", "styles.css"]
|
|
85
85
|
};
|
|
86
86
|
}
|
|
87
87
|
static get properties() {
|
|
@@ -1,75 +1,3 @@
|
|
|
1
|
-
:host {
|
|
2
|
-
position: relative;
|
|
3
|
-
display: flex;
|
|
4
|
-
max-width: 100%;
|
|
5
|
-
align-items: center;
|
|
6
|
-
padding: calc(var(--z-table--cells-padding, calc(var(--space-unit) * 2)));
|
|
7
|
-
background-color: var(--color-surface01);
|
|
8
|
-
gap: calc(var(--space-unit) * 2) var(--space-unit);
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
:host,
|
|
12
|
-
* {
|
|
13
|
-
box-sizing: border-box;
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
:host([sticky]) {
|
|
17
|
-
position: sticky;
|
|
18
|
-
z-index: 1;
|
|
19
|
-
top: 0;
|
|
20
|
-
left: 0;
|
|
21
|
-
box-shadow: 8px 0 16px -8px var(--shadow-color-base);
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
:host([menu-open]) {
|
|
25
|
-
z-index: 2;
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
.cell--content {
|
|
29
|
-
display: flex;
|
|
30
|
-
width: 100%;
|
|
31
|
-
height: 100%;
|
|
32
|
-
align-items: center;
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
:host([show-menu]) .cell--content {
|
|
36
|
-
column-gap: var(--space-unit);
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
.cell--menu-container {
|
|
40
|
-
margin-left: auto;
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
:host(:not([show-menu])) .cell--menu-container {
|
|
44
|
-
opacity: 0;
|
|
45
|
-
pointer-events: none;
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
:host(:is([show-menu], [menu-open])) .cell--menu-container,
|
|
49
|
-
:host([show-menu]) .cell--menu-container:focus-within {
|
|
50
|
-
z-index: 1;
|
|
51
|
-
opacity: 1;
|
|
52
|
-
pointer-events: all;
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
:host .cell-popover {
|
|
56
|
-
z-index: 100;
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
@media (min-width: 768px) and (hover: hover) {
|
|
60
|
-
:host([show-menu="hover"]) .cell--menu-container {
|
|
61
|
-
opacity: 0;
|
|
62
|
-
pointer-events: none;
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
:host([show-menu="hover"]:hover) .cell--menu-container {
|
|
66
|
-
z-index: 1;
|
|
67
|
-
opacity: 1;
|
|
68
|
-
pointer-events: all;
|
|
69
|
-
}
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
|
|
73
1
|
:host {
|
|
74
2
|
z-index: 1;
|
|
75
3
|
padding: 0;
|
|
@@ -198,7 +198,7 @@ export class ZAppHeader {
|
|
|
198
198
|
if (this.searchPageUrl && (this.isMobile || this.isTablet)) {
|
|
199
199
|
return (h("z-button", { class: "search-page-button", variant: ButtonVariant.SECONDARY, href: this.searchPageUrl, icon: "search", size: ControlSize.X_SMALL }));
|
|
200
200
|
}
|
|
201
|
-
return (h("z-searchbar", { value: this.searchString, placeholder: this.searchPlaceholder, showSearchButton: true, searchButtonIconOnly: this.isMobile || this.isTablet, size: ControlSize.X_SMALL, variant: ButtonVariant.SECONDARY, preventSubmit: this.searchString.length < 3, onSearchTyping: (e) => (this.searchString = e.detail) }));
|
|
201
|
+
return (h("z-searchbar", { value: this.searchString, placeholder: this.searchPlaceholder, showSearchButton: true, searchButtonIconOnly: this.isMobile || this.isTablet, searchButtonLabel: this.isMobile || this.isTablet ? undefined : this.searchButtonLabel, size: ControlSize.X_SMALL, variant: ButtonVariant.SECONDARY, preventSubmit: this.searchString.length < 3, onSearchTyping: (e) => (this.searchString = e.detail) }));
|
|
202
202
|
}
|
|
203
203
|
renderProductLogos() {
|
|
204
204
|
return (h(Fragment, null, this.enableZLogo && (h("span", { class: "z-logo" }, h("img", { alt: "Logo Zanichelli" }))), this.hostElement.querySelector("[slot='product-logo']") && (h("span", { class: "product-logo" }, h("slot", { name: "product-logo" })))));
|
|
@@ -280,7 +280,7 @@ export class ZAppHeader {
|
|
|
280
280
|
}
|
|
281
281
|
render() {
|
|
282
282
|
const hasTopSubtitle = this.hasSlot("top-subtitle");
|
|
283
|
-
return (h(Host, { key: '
|
|
283
|
+
return (h(Host, { key: 'dba00e6ba8614f38c6382a42420430ee44d61757', "menu-length": this.menuLength }, h("div", { key: '14462adce8a9cb03fe571a4eea4c1356d77d49d5', class: { "heading-panel": true, "has-menubar": this.menuLength > 0 && !this.enableOffcanvas }, ref: (el) => (this.container = el) }, h("div", { key: '18f406f950a9f2946d5c1c74e5c3a52c9f139069', class: { "heading-container": true, "has-top-subtitle": hasTopSubtitle } }, ((!this.enableSearch && this.isMobile) || !this.isMobile) && (h("div", { key: '1e74736f45625644289425d0e5cc6c825c6ac2b9', class: { "top-subtitle": true, "has-product-logo": hasTopSubtitle && this.hasSlot("product-logo") } }, h("slot", { key: '747325238cde4fb40d8448c58e4b6483ca049f28', name: "top-subtitle" }))), h("div", { key: '8d5159eabc8cddbb3fdc2227be62b5b1f318b1d4', class: "heading-title" }, h("slot", { key: '64c48e48e13c50d367fb52ed509d25cacbbc85da', name: "menu-button" }, this.renderMenuButton()), !this._stuck && this.renderProductLogos(), h("slot", { key: '990a282a81bd96d2524d3fbfff1dabce807824d9', name: "title" }), this.enableSearch && !this.isMobile && this.renderSeachbar()), this.enableSearch && this.isMobile && this.renderSeachbar()), h("nav", { key: '0048e85cccd48f1a9e587dc40bfc54ebf6c603bc', class: "menu-container", "aria-label": this.title || undefined }, this.canShowMenu && (h("div", { key: '41423d5aa2004b61c6d9ef0342013598e4e59d55', role: "menubar", "aria-label": this.title || undefined }, h("slot", { key: '4e12bbc0d9a8b54ecec94b1b12ad456ebcdb5bec', name: "menu", onSlotchange: this.collectMenuElements }))))), this.renderOffcanvas(), this._stuck && this.renderStuck()));
|
|
284
284
|
}
|
|
285
285
|
static get is() { return "z-app-header"; }
|
|
286
286
|
static get encapsulation() { return "shadow"; }
|
|
@@ -376,6 +376,25 @@ export class ZAppHeader {
|
|
|
376
376
|
"attribute": "search-placeholder",
|
|
377
377
|
"defaultValue": "\"Cerca\""
|
|
378
378
|
},
|
|
379
|
+
"searchButtonLabel": {
|
|
380
|
+
"type": "string",
|
|
381
|
+
"mutable": false,
|
|
382
|
+
"complexType": {
|
|
383
|
+
"original": "string",
|
|
384
|
+
"resolved": "string",
|
|
385
|
+
"references": {}
|
|
386
|
+
},
|
|
387
|
+
"required": false,
|
|
388
|
+
"optional": true,
|
|
389
|
+
"docs": {
|
|
390
|
+
"tags": [],
|
|
391
|
+
"text": "Label of the search button."
|
|
392
|
+
},
|
|
393
|
+
"getter": false,
|
|
394
|
+
"setter": false,
|
|
395
|
+
"reflect": false,
|
|
396
|
+
"attribute": "search-button-label"
|
|
397
|
+
},
|
|
379
398
|
"searchString": {
|
|
380
399
|
"type": "string",
|
|
381
400
|
"mutable": true,
|
|
@@ -17,6 +17,8 @@ const StoryMeta = {
|
|
|
17
17
|
"--app-header-content-max-width": "100%",
|
|
18
18
|
"enableSearch": false,
|
|
19
19
|
"searchPageUrl": "",
|
|
20
|
+
"searchPlaceholder": "Digita qui quello che vuoi",
|
|
21
|
+
"searchButtonLabel": "Cliccami",
|
|
20
22
|
"enableZLogo": false,
|
|
21
23
|
"enableOffcanvas": false,
|
|
22
24
|
},
|
|
@@ -98,7 +100,7 @@ const menuTemplate = () => {
|
|
|
98
100
|
export const Title = {
|
|
99
101
|
parameters: {
|
|
100
102
|
controls: {
|
|
101
|
-
exclude: ["enableOffcanvas"],
|
|
103
|
+
exclude: ["enableOffcanvas", "searchPlaceholder", "searchButtonLabel"],
|
|
102
104
|
},
|
|
103
105
|
},
|
|
104
106
|
render: (args) => html `<z-app-header
|
|
@@ -113,7 +115,7 @@ export const Title = {
|
|
|
113
115
|
export const ProductLogo = {
|
|
114
116
|
parameters: {
|
|
115
117
|
controls: {
|
|
116
|
-
exclude: ["enableOffcanvas"],
|
|
118
|
+
exclude: ["enableOffcanvas", "searchPlaceholder", "searchButtonLabel"],
|
|
117
119
|
},
|
|
118
120
|
},
|
|
119
121
|
render: (args) => html `<z-app-header
|
|
@@ -132,7 +134,7 @@ export const ProductLogo = {
|
|
|
132
134
|
export const TopTitle = {
|
|
133
135
|
parameters: {
|
|
134
136
|
controls: {
|
|
135
|
-
exclude: ["enableOffcanvas", "enableZLogo"],
|
|
137
|
+
exclude: ["enableOffcanvas", "enableZLogo", "searchPlaceholder", "searchButtonLabel"],
|
|
136
138
|
},
|
|
137
139
|
},
|
|
138
140
|
render: (args) => html `<z-app-header
|
|
@@ -147,7 +149,7 @@ export const TopTitle = {
|
|
|
147
149
|
export const TopTitleWithProductLogo = {
|
|
148
150
|
parameters: {
|
|
149
151
|
controls: {
|
|
150
|
-
exclude: ["enableOffcanvas", "enableZLogo"],
|
|
152
|
+
exclude: ["enableOffcanvas", "enableZLogo", "searchPlaceholder", "searchButtonLabel"],
|
|
151
153
|
},
|
|
152
154
|
},
|
|
153
155
|
render: (args) => html `<z-app-header
|
|
@@ -167,7 +169,7 @@ export const TopTitleWithProductLogo = {
|
|
|
167
169
|
export const CustomMenuButton = {
|
|
168
170
|
parameters: {
|
|
169
171
|
controls: {
|
|
170
|
-
exclude: ["enableOffcanvas"],
|
|
172
|
+
exclude: ["enableOffcanvas", "searchPlaceholder", "searchButtonLabel"],
|
|
171
173
|
},
|
|
172
174
|
},
|
|
173
175
|
render: (args) => html `<z-app-header
|
|
@@ -183,7 +185,7 @@ export const CustomMenuButton = {
|
|
|
183
185
|
export const MenuWithTopTitle = {
|
|
184
186
|
parameters: {
|
|
185
187
|
controls: {
|
|
186
|
-
exclude: ["enableZLogo"],
|
|
188
|
+
exclude: ["enableZLogo", "searchPlaceholder", "searchButtonLabel"],
|
|
187
189
|
},
|
|
188
190
|
},
|
|
189
191
|
render: (args) => html `<z-app-header
|
|
@@ -200,7 +202,7 @@ export const MenuWithTopTitle = {
|
|
|
200
202
|
export const MenuWithTopTitleAndProductLogo = {
|
|
201
203
|
parameters: {
|
|
202
204
|
controls: {
|
|
203
|
-
exclude: ["enableZLogo"],
|
|
205
|
+
exclude: ["enableZLogo", "searchPlaceholder", "searchButtonLabel"],
|
|
204
206
|
},
|
|
205
207
|
},
|
|
206
208
|
render: (args) => html `<z-app-header
|
|
@@ -222,7 +224,14 @@ export const MenuWithTopTitleAndProductLogo = {
|
|
|
222
224
|
export const LongTitle = {
|
|
223
225
|
parameters: {
|
|
224
226
|
controls: {
|
|
225
|
-
exclude: [
|
|
227
|
+
exclude: [
|
|
228
|
+
"enableOffcanvas",
|
|
229
|
+
"enableZLogo",
|
|
230
|
+
"enableSearch",
|
|
231
|
+
"searchPageUrl",
|
|
232
|
+
"searchPlaceholder",
|
|
233
|
+
"searchButtonLabel",
|
|
234
|
+
],
|
|
226
235
|
},
|
|
227
236
|
},
|
|
228
237
|
render: (args) => html `<z-app-header style="--app-header-content-max-width: ${args["--app-header-content-max-width"]}">
|
|
@@ -235,6 +244,11 @@ export const OffcanvasMenu = {
|
|
|
235
244
|
args: {
|
|
236
245
|
enableOffcanvas: true,
|
|
237
246
|
},
|
|
247
|
+
parameters: {
|
|
248
|
+
controls: {
|
|
249
|
+
exclude: ["searchPlaceholder", "searchButtonLabel"],
|
|
250
|
+
},
|
|
251
|
+
},
|
|
238
252
|
render: (args) => html `<z-app-header
|
|
239
253
|
.enableOffcanvas=${args.enableOffcanvas}
|
|
240
254
|
.enableSearch=${args.enableSearch}
|
|
@@ -261,7 +275,7 @@ export const Stuck = {
|
|
|
261
275
|
},
|
|
262
276
|
},
|
|
263
277
|
controls: {
|
|
264
|
-
exclude: ["enableOffcanvas"],
|
|
278
|
+
exclude: ["enableOffcanvas", "searchPlaceholder", "searchButtonLabel"],
|
|
265
279
|
},
|
|
266
280
|
},
|
|
267
281
|
render: (args) => html `<z-app-header
|
|
@@ -292,6 +306,8 @@ export const SearchPageButton = {
|
|
|
292
306
|
render: (args) => html `<z-app-header
|
|
293
307
|
enable-search
|
|
294
308
|
.enableZLogo=${args.enableZLogo}
|
|
309
|
+
.searchPlaceholder=${args.searchPlaceholder}
|
|
310
|
+
.searchButtonLabel=${args.searchButtonLabel}
|
|
295
311
|
search-page-url="https://www.zanichelli.it"
|
|
296
312
|
style="--app-header-content-max-width: ${args["--app-header-content-max-width"]}"
|
|
297
313
|
>
|
|
@@ -130,7 +130,7 @@ export class ZBreadcrumb {
|
|
|
130
130
|
"homepage-text": this.homepageVariant === BreadcrumbHomepageVariant.TEXT,
|
|
131
131
|
}, href: this.homepageNode.path, onClick: (e) => this.handlePreventFollowUrl(e, this.homepageNode), innerHTML: this.homepageVariant === BreadcrumbHomepageVariant.ICON
|
|
132
132
|
? `<z-icon name="home" />`
|
|
133
|
-
: this.homepageNode.text || "Home" }), this.pathsList.length > 0 && (h("z-icon", { class: "separator", name: "chevron-right" }))));
|
|
133
|
+
: this.homepageNode.text || "Home" }), this.pathsList.length > 0 && (h("z-icon", { class: "separator", name: "chevron-right", "aria-hidden": "true" }))));
|
|
134
134
|
}
|
|
135
135
|
togglePopover() {
|
|
136
136
|
if (!this.collapsedElementsRef.open) {
|
|
@@ -175,7 +175,7 @@ export class ZBreadcrumb {
|
|
|
175
175
|
setTimeout(() => {
|
|
176
176
|
this.anchorElements[0].focus();
|
|
177
177
|
}, 100);
|
|
178
|
-
}, innerHTML: "…" }), this.pathsList.length > 0 && (h("z-icon", { class: "separator", name: "chevron-right" }))));
|
|
178
|
+
}, innerHTML: "…" }), this.pathsList.length > 0 && (h("z-icon", { class: "separator", name: "chevron-right", "aria-hidden": "true" }))));
|
|
179
179
|
}
|
|
180
180
|
renderMobileItems() {
|
|
181
181
|
// show only the second to last element
|
|
@@ -201,14 +201,14 @@ export class ZBreadcrumb {
|
|
|
201
201
|
if (item.hasTooltip) {
|
|
202
202
|
this.popoverEllipsisOpen = false;
|
|
203
203
|
}
|
|
204
|
-
}, innerHTML: item.text }), index !== this.pathsList.length - 1 && (h("z-icon", { class: "separator", name: "chevron-right" }))))),
|
|
204
|
+
}, innerHTML: item.text }), index !== this.pathsList.length - 1 && (h("z-icon", { class: "separator", name: "chevron-right", "aria-hidden": "true" }))))),
|
|
205
205
|
];
|
|
206
206
|
}
|
|
207
207
|
render() {
|
|
208
|
-
return (h(Host, { key: '
|
|
208
|
+
return (h(Host, { key: '78ee363186910bdb6563e459cac4958a4a5a1862', style: { "--line-clamp-popover": `${this.overflowMenuItemRows}` } }, h("nav", { key: 'ea14aa3cc66e2b925b859c48f234ac4c19504191', ref: (val) => (this.wrapElement = val), "aria-label": "Breadcrumb", class: {
|
|
209
209
|
semibold: this.pathStyle === BreadcrumbPathStyle.SEMIBOLD,
|
|
210
210
|
underlined: this.pathStyle === BreadcrumbPathStyle.UNDERLINED,
|
|
211
|
-
} }, h("ol", { key: '
|
|
211
|
+
} }, h("ol", { key: '5b15b47dbcadf31f3a933156a29e4c08f39df662' }, this.viewPortWidth === Device.MOBILE ? this.renderMobileItems() : this.renderItems()))));
|
|
212
212
|
}
|
|
213
213
|
static get is() { return "z-breadcrumb"; }
|
|
214
214
|
static get encapsulation() { return "shadow"; }
|
|
@@ -41,10 +41,13 @@ export class ZButton {
|
|
|
41
41
|
return this.icon && h("z-icon", { name: this.icon });
|
|
42
42
|
}
|
|
43
43
|
render() {
|
|
44
|
+
var _a, _b;
|
|
45
|
+
const normalizedAriaLabel = ((_a = this.ariaLabel) === null || _a === void 0 ? void 0 : _a.trim()) || undefined;
|
|
46
|
+
const normalizedRole = this.htmlrole || ((_b = this.role) === null || _b === void 0 ? void 0 : _b.trim()) || undefined;
|
|
44
47
|
if (this.href) {
|
|
45
|
-
return (h("a", Object.assign({}, this.attributes, { "aria-label":
|
|
48
|
+
return (h("a", Object.assign({}, this.attributes, { "aria-label": normalizedAriaLabel, href: this.href, target: this.target }), this.renderIcon(), h("slot", null)));
|
|
46
49
|
}
|
|
47
|
-
return (h("button", Object.assign({}, this.attributes, { "aria-label":
|
|
50
|
+
return (h("button", Object.assign({}, this.attributes, { "aria-label": normalizedAriaLabel, name: this.name, type: this.type, disabled: this.disabled, role: normalizedRole }), this.renderIcon(), h("slot", null)));
|
|
48
51
|
}
|
|
49
52
|
static get is() { return "z-button"; }
|
|
50
53
|
static get encapsulation() { return "scoped"; }
|
|
@@ -294,18 +294,18 @@ export class ZCombobox {
|
|
|
294
294
|
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))));
|
|
295
295
|
}
|
|
296
296
|
render() {
|
|
297
|
-
return (h("div", { key: '
|
|
297
|
+
return (h("div", { key: '23cd031ec2894308960df94374713e9395521a56', "data-action": `combo-${this.inputid}`, class: { open: this.isopen, fixed: this.isfixed, disabled: this.disabled }, id: this.inputid }, this.renderHeader(), !this.disabled && this.renderContent()));
|
|
298
298
|
}
|
|
299
299
|
static get is() { return "z-combobox"; }
|
|
300
300
|
static get encapsulation() { return "shadow"; }
|
|
301
301
|
static get originalStyleUrls() {
|
|
302
302
|
return {
|
|
303
|
-
"$": ["styles.css"]
|
|
303
|
+
"$": ["../css-components/z-label/styles.css", "styles.css"]
|
|
304
304
|
};
|
|
305
305
|
}
|
|
306
306
|
static get styleUrls() {
|
|
307
307
|
return {
|
|
308
|
-
"$": ["styles.css"]
|
|
308
|
+
"$": ["../css-components/z-label/styles.css", "styles.css"]
|
|
309
309
|
};
|
|
310
310
|
}
|
|
311
311
|
static get properties() {
|
|
@@ -1,15 +1,3 @@
|
|
|
1
|
-
.z-label {
|
|
2
|
-
display: block;
|
|
3
|
-
padding-bottom: var(--space-unit);
|
|
4
|
-
color: var(--color-default-text);
|
|
5
|
-
font-family: var(--font-family-sans);
|
|
6
|
-
font-size: var(--font-size-1);
|
|
7
|
-
font-weight: var(--font-sb);
|
|
8
|
-
text-align: left;
|
|
9
|
-
text-transform: uppercase;
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
|
|
13
1
|
:host {
|
|
14
2
|
display: block;
|
|
15
3
|
min-width: 290px;
|
|
@@ -266,18 +266,18 @@ export class ZInput {
|
|
|
266
266
|
default:
|
|
267
267
|
input = this.renderInputText(this.type);
|
|
268
268
|
}
|
|
269
|
-
return h(Host, { key: '
|
|
269
|
+
return h(Host, { key: '0b363c20732600ca303b84a78e36bdc710c411e2' }, input);
|
|
270
270
|
}
|
|
271
271
|
static get is() { return "z-input"; }
|
|
272
272
|
static get encapsulation() { return "scoped"; }
|
|
273
273
|
static get originalStyleUrls() {
|
|
274
274
|
return {
|
|
275
|
-
"$": ["styles.css"]
|
|
275
|
+
"$": ["styles-general.css", "styles-text.css", "styles-textarea.css", "styles-checkbox-radio.css"]
|
|
276
276
|
};
|
|
277
277
|
}
|
|
278
278
|
static get styleUrls() {
|
|
279
279
|
return {
|
|
280
|
-
"$": ["styles.css"]
|
|
280
|
+
"$": ["styles-general.css", "styles-text.css", "styles-textarea.css", "styles-checkbox-radio.css"]
|
|
281
281
|
};
|
|
282
282
|
}
|
|
283
283
|
static get properties() {
|
|
@@ -0,0 +1,130 @@
|
|
|
1
|
+
.radio-wrapper,
|
|
2
|
+
.checkbox-wrapper {
|
|
3
|
+
position: relative;
|
|
4
|
+
display: inline-flex;
|
|
5
|
+
flex-direction: row;
|
|
6
|
+
align-items: center;
|
|
7
|
+
color: var(--color-default-text);
|
|
8
|
+
fill: var(--color-primary01);
|
|
9
|
+
font-family: var(--font-family-sans);
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
.radio-wrapper:hover,
|
|
13
|
+
.checkbox-wrapper:hover {
|
|
14
|
+
color: var(--color-hover-primary);
|
|
15
|
+
fill: var(--color-hover-primary-icon);
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
.radio-wrapper > input,
|
|
19
|
+
.checkbox-wrapper > input {
|
|
20
|
+
position: absolute;
|
|
21
|
+
z-index: -1;
|
|
22
|
+
opacity: 0;
|
|
23
|
+
pointer-events: none;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
.radio-wrapper .radio-label,
|
|
27
|
+
.checkbox-wrapper .checkbox-label {
|
|
28
|
+
display: inline-flex;
|
|
29
|
+
align-items: center;
|
|
30
|
+
margin: 0;
|
|
31
|
+
color: inherit;
|
|
32
|
+
font-family: inherit;
|
|
33
|
+
font-size: inherit;
|
|
34
|
+
font-weight: inherit;
|
|
35
|
+
line-height: 1;
|
|
36
|
+
text-transform: inherit;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
.radio-wrapper input:not(:disabled) + .radio-label,
|
|
40
|
+
.checkbox-wrapper input:not(:disabled) + .checkbox-label {
|
|
41
|
+
cursor: pointer;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
.radio-wrapper .radio-label z-icon,
|
|
45
|
+
.checkbox-wrapper .checkbox-label z-icon {
|
|
46
|
+
cursor: pointer;
|
|
47
|
+
fill: inherit;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
:host([size="small"]) .radio-wrapper .radio-label z-icon,
|
|
51
|
+
:host([size="small"]) .checkbox-wrapper .checkbox-label z-icon {
|
|
52
|
+
--z-icon-width: 16px;
|
|
53
|
+
--z-icon-height: 16px;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
:host([size="small"]) .radio-wrapper .radio-label,
|
|
57
|
+
:host([size="small"]) .checkbox-wrapper .checkbox-label {
|
|
58
|
+
font-size: var(--font-size-2);
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
:host([size="x-small"]) .radio-wrapper .radio-label z-icon,
|
|
62
|
+
:host([size="x-small"]) .checkbox-wrapper .checkbox-label z-icon {
|
|
63
|
+
--z-icon-width: 14px;
|
|
64
|
+
--z-icon-height: 14px;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
:host([size="x-small"]) .radio-wrapper .radio-label,
|
|
68
|
+
:host([size="x-small"]) .checkbox-wrapper .checkbox-label {
|
|
69
|
+
font-size: var(--font-size-1);
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
.radio-wrapper .radio-label.after,
|
|
73
|
+
.checkbox-wrapper .checkbox-label.after {
|
|
74
|
+
flex-direction: row;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
.radio-wrapper .radio-label.before,
|
|
78
|
+
.checkbox-wrapper .checkbox-label.before {
|
|
79
|
+
flex-direction: row-reverse;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
.radio-wrapper .radio-label.after > span,
|
|
83
|
+
.checkbox-wrapper .checkbox-label.after > span {
|
|
84
|
+
margin-left: var(--space-unit);
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
.radio-wrapper .radio-label.before > span,
|
|
88
|
+
.checkbox-wrapper .checkbox-label.before > span {
|
|
89
|
+
margin-right: var(--space-unit);
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
:host([size="small"]) .radio-wrapper .radio-label.after > span,
|
|
93
|
+
:host([size="small"]) .checkbox-wrapper .checkbox-label.after > span,
|
|
94
|
+
:host([size="x-small"]) .radio-wrapper .radio-label.after > span,
|
|
95
|
+
:host([size="x-small"]) .checkbox-wrapper .checkbox-label.after > span {
|
|
96
|
+
margin-left: calc(var(--space-unit) * 0.5);
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
:host([size="small"]) .radio-wrapper .radio-label.before > span,
|
|
100
|
+
:host([size="small"]) .checkbox-wrapper .checkbox-label.before > span,
|
|
101
|
+
:host([size="x-small"]) .radio-wrapper .radio-label.before > span,
|
|
102
|
+
:host([size="x-small"]) .checkbox-wrapper .checkbox-label.before > span {
|
|
103
|
+
margin-right: calc(var(--space-unit) * 0.5);
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
/* focus */
|
|
107
|
+
.radio-wrapper > input:focus:focus-visible + .radio-label > z-icon {
|
|
108
|
+
border-radius: 50%;
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
.checkbox-wrapper > input:focus:focus-visible + .checkbox-label > z-icon {
|
|
112
|
+
border-radius: var(--border-radius-small);
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
.radio-wrapper > input:focus:focus-visible + .radio-label > z-icon,
|
|
116
|
+
.checkbox-wrapper > input:focus:focus-visible + .checkbox-label > z-icon {
|
|
117
|
+
box-shadow: var(--shadow-focus-primary);
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
/* disabled */
|
|
121
|
+
.radio-wrapper > input:disabled + .radio-label,
|
|
122
|
+
.checkbox-wrapper > input:disabled + .checkbox-label {
|
|
123
|
+
color: var(--color-disabled03);
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
.radio-wrapper > input:disabled + .radio-label > z-icon,
|
|
127
|
+
.checkbox-wrapper > input:disabled + .checkbox-label > z-icon {
|
|
128
|
+
cursor: default;
|
|
129
|
+
fill: var(--color-disabled01);
|
|
130
|
+
}
|