@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,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, h } from './index-
|
|
1
|
+
import { r as registerInstance, c as createEvent, h } from './index-DPdXlnVe.js';
|
|
2
2
|
import { P as PopoverPosition } from './index-BKCj6NR2.js';
|
|
3
3
|
|
|
4
4
|
const stylesCss = () => `:host{--z-tooltip-theme--surface:var(--color-surface01);--z-tooltip-theme--text:var(--color-default-text);--z-tooltip-shadow-filter:drop-shadow(0 1px 2px var(--shadow-color-base));--z-tooltip-padding:var(--space-unit)}z-popover{--z-popover-theme--surface:var(--z-tooltip-theme--surface);--z-popover-theme--text:var(--z-tooltip-theme--text);--z-popover-padding:var(--z-tooltip-padding);--z-popover-shadow-filter:var(--z-tooltip-shadow-filter)}:host([dark]) z-popover{--z-popover-theme--surface:var(--color-surface05);--z-popover-theme--text:var(--color-text-inverse)}`;
|
|
@@ -26,7 +26,7 @@ const ZTooltip = class {
|
|
|
26
26
|
this.open = this.popoverEl.open;
|
|
27
27
|
}
|
|
28
28
|
render() {
|
|
29
|
-
return (h("z-popover", { key: '
|
|
29
|
+
return (h("z-popover", { key: '0cc1e8ea0e6896f5031309a5984c09df4b095d8b', ref: (el) => (this.popoverEl = el), bindTo: this.bindTo, open: this.open, position: this.position, closable: this.closable, center: true, showArrow: true, onOpenChange: (event) => this.openChange.emit(event.detail) }, h("slot", { key: 'a0548343b099fe7986066d821a455f1092428b38' })));
|
|
30
30
|
}
|
|
31
31
|
};
|
|
32
32
|
ZTooltip.style = stylesCss();
|
package/dist/esm/z-tr.entry.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, h, H as Host, d as getElement } from './index-
|
|
2
|
-
import { r as randomId } from './utils-
|
|
1
|
+
import { r as registerInstance, c as createEvent, h, H as Host, d as getElement } from './index-DPdXlnVe.js';
|
|
2
|
+
import { r as randomId } from './utils-DYd3kO0P.js';
|
|
3
3
|
import './z-td.entry.js';
|
|
4
4
|
import './z-th.entry.js';
|
|
5
5
|
import './index-BKCj6NR2.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, h, H as Host, d as getElement } from './index-
|
|
1
|
+
import { r as registerInstance, c as createEvent, h, H as Host, d as getElement } from './index-DPdXlnVe.js';
|
|
2
2
|
import { g as KeyboardCode } from './index-BKCj6NR2.js';
|
|
3
3
|
|
|
4
4
|
const stylesCss = () => `:host{font-family:var(--font-family-sans)}z-list-element{position:relative;display:block;padding-top:var(--space-unit)}z-list-element::before,z-list-element::after{position:absolute;z-index:100;top:0.125rem;left:-0.5rem;content:""}z-list z-list-element::before{width:var(--space-unit);height:calc(var(--space-unit) * 2);border-bottom:var(--border-size-small) solid var(--color-disabled01-icon);border-left:var(--border-size-small) solid var(--color-disabled01-icon)}z-list z-list-element::after{width:var(--space-unit);height:100%;border-left:var(--border-size-small) solid var(--color-disabled01-icon)}z-list z-list-element:last-child::after,z-list>z-list-element::before,z-list>z-list-element::after,z-list>z-list-group>z-list-element::before,z-list>z-list-group>z-list-element::after{display:none}z-list>div.children-node{padding-left:calc(var(--space-unit) * 2)}z-list-element>.list-element{z-index:100;display:flex;justify-content:space-between;padding:0;color:var(--color-default-text);font-size:var(--font-size-2);font-style:normal;font-weight:var(--font-rg);text-decoration:none}z-list-element>.list-element.link-clickable{color:var(--color-primary01)}z-list-element>.list-element.link-clickable:hover{text-decoration:underline}z-list-element>.list-element .item.ellipsis{overflow:hidden}z-list-element .list-element::after{position:absolute;top:0;right:-0.0625rem;display:block;width:100%;height:calc(var(--space-unit) * 5);content:"";transform:translateX(-100%)}.item-label{overflow:hidden;flex-grow:1;font-size:var(--font-size-2);font-style:normal;font-weight:var(--font-rg);letter-spacing:0.0032rem;line-height:1.25rem;text-overflow:ellipsis;white-space:nowrap}.item-label.bold-item{font-weight:var(--font-sb)}.item.ellipsis{display:flex;overflow:hidden;max-width:100%;text-overflow:ellipsis;white-space:nowrap}.children-node>z-list-element{padding:0;padding-top:0.125;padding-left:calc(var(--space-unit) * 1.25)}.item-icon{margin-right:var(--space-unit)}.no-icon-label{padding-left:var(--space-unit)}.children-node>z-list-element.no-icon-elm{padding-left:0}z-list-element>.list-element:focus:focus-visible{position:relative;z-index:200;box-shadow:var(--shadow-focus-primary);outline:none}@media (max-width: 767px){z-list-element::before,z-list-element::after{top:0.1875rem}z-list z-list-element::before{height:calc(var(--space-unit) * 2.5)}.children-node>z-list-element{padding-top:var(--space-unit)}}`;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, h } from './index-
|
|
1
|
+
import { r as registerInstance, h } from './index-DPdXlnVe.js';
|
|
2
2
|
|
|
3
3
|
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}`;
|
|
4
4
|
|
|
@@ -31,6 +31,10 @@ export declare class ZAppHeader implements ComponentInterface {
|
|
|
31
31
|
* Placeholder text for the search bar.
|
|
32
32
|
*/
|
|
33
33
|
searchPlaceholder: string;
|
|
34
|
+
/**
|
|
35
|
+
* Label of the search button.
|
|
36
|
+
*/
|
|
37
|
+
searchButtonLabel?: string;
|
|
34
38
|
/**
|
|
35
39
|
* Search string for the search bar.
|
|
36
40
|
*/
|
|
@@ -20,6 +20,8 @@ declare const StoryMeta: {
|
|
|
20
20
|
"--app-header-content-max-width": string;
|
|
21
21
|
enableSearch: false;
|
|
22
22
|
searchPageUrl: string;
|
|
23
|
+
searchPlaceholder: string;
|
|
24
|
+
searchButtonLabel: string;
|
|
23
25
|
enableZLogo: false;
|
|
24
26
|
enableOffcanvas: false;
|
|
25
27
|
};
|
|
@@ -93,6 +95,11 @@ export declare const OffcanvasMenu: {
|
|
|
93
95
|
args: {
|
|
94
96
|
enableOffcanvas: true;
|
|
95
97
|
};
|
|
98
|
+
parameters: {
|
|
99
|
+
controls: {
|
|
100
|
+
exclude: string[];
|
|
101
|
+
};
|
|
102
|
+
};
|
|
96
103
|
render: (args: ZAppHeaderStoriesArgs) => TemplateResult<1>;
|
|
97
104
|
};
|
|
98
105
|
export declare const Stuck: {
|
|
@@ -4,7 +4,8 @@ import { NotificationType } from "../../beans";
|
|
|
4
4
|
* Notification bar component.
|
|
5
5
|
* @slot - The text of the notification.
|
|
6
6
|
* @cssprop --z-notification--top-offset - The top offset of the notification. Use it when `sticky` prop is set to `true` and you need the notification to stay under other sticky elements. Default: 0px.
|
|
7
|
-
* @cssprop --z-notification--content-max-width - The max width of the notification content.
|
|
7
|
+
* @cssprop --z-notification--content-max-width - The max width of the notification content. Useful to align the content with other elements on the page, keeping the colored background full width. Default: 100%. Note: the content is automatically centered, so if you want to limit the width only for the slotted content, you can wrap it in a container with the desired width and leave the `z-notification` width to 100%.
|
|
8
|
+
* @cssprop --z-notification--inline-padding - The inline padding of the notification content. It can be useful to align the content when the `--z-notification--content-max-width` is set. Default: calc(var(--space-unit) * 2).
|
|
8
9
|
*/
|
|
9
10
|
export declare class ZNotification implements ComponentInterface {
|
|
10
11
|
/** Name of the icon on the left of the content */
|
|
@@ -3,9 +3,7 @@ import { NotificationType } from "../../beans";
|
|
|
3
3
|
import { CSSVarsArguments } from "../../utils/storybook-utils";
|
|
4
4
|
import "./index";
|
|
5
5
|
import "./index.stories.css";
|
|
6
|
-
type ZNotificationStoriesArgs = ZNotification &
|
|
7
|
-
notificationText: string;
|
|
8
|
-
} & CSSVarsArguments<"--z-notification--content-max-width">;
|
|
6
|
+
type ZNotificationStoriesArgs = ZNotification & CSSVarsArguments<"--z-notification--top-offset" | "--z-notification--content-max-width">;
|
|
9
7
|
declare const StoryMeta: {
|
|
10
8
|
title: string;
|
|
11
9
|
component: string;
|
|
@@ -16,10 +14,17 @@ declare const StoryMeta: {
|
|
|
16
14
|
};
|
|
17
15
|
options: NotificationType[];
|
|
18
16
|
};
|
|
17
|
+
borderposition: {
|
|
18
|
+
control: {
|
|
19
|
+
type: "inline-radio";
|
|
20
|
+
};
|
|
21
|
+
options: string[];
|
|
22
|
+
};
|
|
19
23
|
};
|
|
20
24
|
args: {
|
|
21
25
|
"--z-notification--content-max-width": string;
|
|
22
26
|
contenticonname: string;
|
|
27
|
+
borderposition: "bottom";
|
|
23
28
|
actiontext: string;
|
|
24
29
|
showclose: false;
|
|
25
30
|
sticky: false;
|
|
@@ -30,24 +35,12 @@ export default StoryMeta;
|
|
|
30
35
|
export declare const Default: {
|
|
31
36
|
render: (args: ZNotificationStoriesArgs) => import("lit-html").TemplateResult<1>;
|
|
32
37
|
};
|
|
33
|
-
/**
|
|
34
|
-
* To use the border top variant set the `borderposition` property to `top`.
|
|
35
|
-
*/
|
|
36
|
-
export declare const BorderTop: {
|
|
37
|
-
args: {
|
|
38
|
-
borderposition: "top";
|
|
39
|
-
};
|
|
40
|
-
render: (args: ZNotificationStoriesArgs) => import("lit-html").TemplateResult<1>;
|
|
41
|
-
};
|
|
42
38
|
export declare const LongText: {
|
|
43
39
|
render: (args: ZNotificationStoriesArgs) => import("lit-html").TemplateResult<1>;
|
|
44
40
|
};
|
|
45
|
-
|
|
46
|
-
* To use the banner variant set the `sticky` property to `true`.
|
|
47
|
-
*/
|
|
48
|
-
export declare const BannerVariant: {
|
|
41
|
+
export declare const StickyBanner: {
|
|
49
42
|
args: {
|
|
50
|
-
|
|
43
|
+
"--z-notification--top-offset": string;
|
|
51
44
|
};
|
|
52
45
|
parameters: {
|
|
53
46
|
controls: {
|
|
@@ -56,13 +49,16 @@ export declare const BannerVariant: {
|
|
|
56
49
|
};
|
|
57
50
|
render: (args: ZNotificationStoriesArgs) => import("lit-html").TemplateResult<1>;
|
|
58
51
|
};
|
|
59
|
-
|
|
60
|
-
* To use the inline variant set the `sticky` property to `false`.
|
|
61
|
-
*/
|
|
62
|
-
export declare const InlineVariant: {
|
|
52
|
+
export declare const CenteredContent: {
|
|
63
53
|
args: {
|
|
64
|
-
|
|
54
|
+
"--z-notification--content-max-width": string;
|
|
65
55
|
};
|
|
56
|
+
render: (args: any) => import("lit-html").TemplateResult<1>;
|
|
57
|
+
};
|
|
58
|
+
/**
|
|
59
|
+
* To have an inline notification keep the `sticky` property set to `false`.
|
|
60
|
+
*/
|
|
61
|
+
export declare const Inline: {
|
|
66
62
|
parameters: {
|
|
67
63
|
controls: {
|
|
68
64
|
exclude: string[];
|
|
@@ -70,3 +66,12 @@ export declare const InlineVariant: {
|
|
|
70
66
|
};
|
|
71
67
|
render: (args: ZNotificationStoriesArgs) => import("lit-html").TemplateResult<1>;
|
|
72
68
|
};
|
|
69
|
+
/**
|
|
70
|
+
* The position of the border can be changed to correctly display the notification when put on the bottom of the screen.
|
|
71
|
+
*/
|
|
72
|
+
export declare const BorderPosition: {
|
|
73
|
+
args: {
|
|
74
|
+
borderposition: "top";
|
|
75
|
+
};
|
|
76
|
+
render: (args: ZNotificationStoriesArgs) => import("lit-html").TemplateResult<1>;
|
|
77
|
+
};
|
|
@@ -6,13 +6,14 @@ import { ButtonVariant, ControlSize, SearchbarItem } from "../../beans";
|
|
|
6
6
|
* @cssprop --z-searchbar-tag-bg - Color of tag's background (default --color-hover-primary);
|
|
7
7
|
*/
|
|
8
8
|
export declare class ZSearchbar implements ComponentInterface {
|
|
9
|
-
|
|
9
|
+
host: HTMLZSearchbarElement;
|
|
10
|
+
/** The id of the searchbar element */
|
|
10
11
|
htmlid: string;
|
|
11
12
|
/** Prevent submit action */
|
|
12
13
|
preventSubmit?: boolean;
|
|
13
|
-
/**
|
|
14
|
+
/** The input label */
|
|
14
15
|
label?: string;
|
|
15
|
-
/**
|
|
16
|
+
/** The input aria-label */
|
|
16
17
|
htmlAriaLabel?: string;
|
|
17
18
|
/** Input search string */
|
|
18
19
|
value?: string;
|
|
@@ -22,7 +23,7 @@ export declare class ZSearchbar implements ComponentInterface {
|
|
|
22
23
|
autocomplete?: boolean;
|
|
23
24
|
/** Minimun number of characters to dispatch typing event */
|
|
24
25
|
autocompleteMinChars?: number;
|
|
25
|
-
/** Number of results shown
|
|
26
|
+
/** Number of results shown. Default: all */
|
|
26
27
|
resultsCount?: number;
|
|
27
28
|
/** Search helper text */
|
|
28
29
|
searchHelperLabel?: string;
|
|
@@ -32,55 +33,52 @@ export declare class ZSearchbar implements ComponentInterface {
|
|
|
32
33
|
sortResultsItems?: boolean;
|
|
33
34
|
/** Show submit button */
|
|
34
35
|
showSearchButton?: boolean;
|
|
35
|
-
/**
|
|
36
|
+
/** Hide the label of the submit button, showing only the icon */
|
|
36
37
|
searchButtonIconOnly?: boolean;
|
|
37
|
-
/**
|
|
38
|
+
/** The label of the submit button */
|
|
39
|
+
searchButtonLabel?: string;
|
|
40
|
+
/** Size of the `z-input` and submit `z-button` */
|
|
38
41
|
size?: ControlSize;
|
|
39
|
-
/**
|
|
42
|
+
/** Submit `z-button` variant */
|
|
40
43
|
variant?: ButtonVariant;
|
|
41
44
|
searchString: string;
|
|
42
|
-
currResultsCount: number;
|
|
45
|
+
currResultsCount: number | undefined;
|
|
43
46
|
showResults: boolean;
|
|
44
47
|
isMobile: boolean;
|
|
45
48
|
selectedItem?: SearchbarItem;
|
|
46
|
-
element: HTMLZSearchbarElement;
|
|
47
49
|
private resultsItemsList;
|
|
48
50
|
private inputRef;
|
|
49
|
-
|
|
50
|
-
private
|
|
51
|
+
/** Media query list for detecting mobile view. */
|
|
52
|
+
private mql?;
|
|
53
|
+
/** Listener for changes in the mobile view media query. */
|
|
54
|
+
private onMobileViewChange?;
|
|
51
55
|
/** Emitted on search submit, return search string */
|
|
52
56
|
searchSubmit: EventEmitter<string>;
|
|
53
|
-
private emitSearchSubmit;
|
|
54
57
|
/** Emitted on search typing, return search string */
|
|
55
58
|
searchTyping: EventEmitter<string>;
|
|
56
|
-
private emitSearchTyping;
|
|
57
59
|
/** Emitted on search result click, return item */
|
|
58
60
|
searchItemClick: EventEmitter<SearchbarItem>;
|
|
59
61
|
private emitSearchItemClick;
|
|
62
|
+
private emitSearchSubmit;
|
|
60
63
|
watchItems(): void;
|
|
61
64
|
watchResultsCount(): void;
|
|
62
65
|
watchValue(): void;
|
|
63
66
|
watchSearchString(): void;
|
|
64
|
-
watchShowResults(): void;
|
|
65
|
-
disconnectedCallback(): void;
|
|
66
|
-
componentDidLoad(): void;
|
|
67
|
-
componentWillLoad(): void;
|
|
68
67
|
private getResultsItemsList;
|
|
69
68
|
private getGroupedItems;
|
|
70
|
-
private
|
|
69
|
+
private onListItemKeyDown;
|
|
70
|
+
private onSearchHelperKeyDown;
|
|
71
|
+
private handleArrowsNavigation;
|
|
71
72
|
private handleStopTyping;
|
|
72
73
|
private handleSubmit;
|
|
73
74
|
private handleOutsideClick;
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
private renderResults;
|
|
77
|
-
private renderResultsList;
|
|
78
|
-
private renderItems;
|
|
79
|
-
private handleArrowsNavigation;
|
|
80
|
-
private renderItem;
|
|
75
|
+
componentWillLoad(): void;
|
|
76
|
+
disconnectedCallback(): void;
|
|
81
77
|
private renderItemLabel;
|
|
82
|
-
private
|
|
83
|
-
|
|
84
|
-
|
|
78
|
+
private renderItem;
|
|
79
|
+
/**
|
|
80
|
+
* Renders the item grouped by category and subcategory. If `resultsCount` is set, it limits the number of rendered items.
|
|
81
|
+
*/
|
|
82
|
+
private renderItemGroups;
|
|
85
83
|
render(): HTMLZSearchbarElement;
|
|
86
84
|
}
|
|
@@ -24,6 +24,7 @@ declare const StoryMeta: {
|
|
|
24
24
|
preventSubmit: false;
|
|
25
25
|
showSearchButton: false;
|
|
26
26
|
searchButtonIconOnly: false;
|
|
27
|
+
searchButtonLabel: string;
|
|
27
28
|
autocomplete: false;
|
|
28
29
|
autocompleteMinChars: number;
|
|
29
30
|
resultsCount: any;
|
|
@@ -65,6 +66,7 @@ export declare const Autocomplete: {
|
|
|
65
66
|
htmlid: string;
|
|
66
67
|
showSearchButton: false;
|
|
67
68
|
searchButtonIconOnly: false;
|
|
69
|
+
searchButtonLabel: string;
|
|
68
70
|
};
|
|
69
71
|
render: (args: ZSearchbarStoriesArgs) => import("lit-html").TemplateResult<1>;
|
|
70
72
|
};
|
|
@@ -74,6 +76,7 @@ export declare const AutocompleteWithComplexItems: {
|
|
|
74
76
|
htmlid: string;
|
|
75
77
|
showSearchButton: false;
|
|
76
78
|
searchButtonIconOnly: false;
|
|
79
|
+
searchButtonLabel: string;
|
|
77
80
|
resultsItems: ({
|
|
78
81
|
label: string;
|
|
79
82
|
icon: string;
|
|
@@ -99,6 +102,7 @@ export declare const AutocompleteWithComplexTreeItems: {
|
|
|
99
102
|
htmlid: string;
|
|
100
103
|
showSearchButton: false;
|
|
101
104
|
searchButtonIconOnly: false;
|
|
105
|
+
searchButtonLabel: string;
|
|
102
106
|
resultsItems: ({
|
|
103
107
|
label: string;
|
|
104
108
|
icon: string;
|
|
@@ -139,6 +139,10 @@ export namespace Components {
|
|
|
139
139
|
* @default true
|
|
140
140
|
*/
|
|
141
141
|
"enableZLogo": boolean;
|
|
142
|
+
/**
|
|
143
|
+
* Label of the search button.
|
|
144
|
+
*/
|
|
145
|
+
"searchButtonLabel"?: string;
|
|
142
146
|
/**
|
|
143
147
|
* Url to the search page. Set this prop and `enableSearch` to show a link-button on mobile and tablet viewports, instead of the normal searchbar. The link will also appear on the sticky header.
|
|
144
148
|
*/
|
|
@@ -1785,7 +1789,8 @@ export namespace Components {
|
|
|
1785
1789
|
/**
|
|
1786
1790
|
* Notification bar component.
|
|
1787
1791
|
* @cssprop --z-notification--top-offset - The top offset of the notification. Use it when `sticky` prop is set to `true` and you need the notification to stay under other sticky elements. Default: 0px.
|
|
1788
|
-
* @cssprop --z-notification--content-max-width - The max width of the notification content.
|
|
1792
|
+
* @cssprop --z-notification--content-max-width - The max width of the notification content. Useful to align the content with other elements on the page, keeping the colored background full width. Default: 100%. Note: the content is automatically centered, so if you want to limit the width only for the slotted content, you can wrap it in a container with the desired width and leave the `z-notification` width to 100%.
|
|
1793
|
+
* @cssprop --z-notification--inline-padding - The inline padding of the notification content. It can be useful to align the content when the `--z-notification--content-max-width` is set. Default: calc(var(--space-unit) * 2).
|
|
1789
1794
|
*/
|
|
1790
1795
|
interface ZNotification {
|
|
1791
1796
|
/**
|
|
@@ -2099,16 +2104,16 @@ export namespace Components {
|
|
|
2099
2104
|
*/
|
|
2100
2105
|
"autocompleteMinChars"?: number;
|
|
2101
2106
|
/**
|
|
2102
|
-
*
|
|
2107
|
+
* The input aria-label
|
|
2103
2108
|
*/
|
|
2104
2109
|
"htmlAriaLabel"?: string;
|
|
2105
2110
|
/**
|
|
2106
|
-
*
|
|
2111
|
+
* The id of the searchbar element
|
|
2107
2112
|
* @default `searchbar-${randomId()}`
|
|
2108
2113
|
*/
|
|
2109
2114
|
"htmlid": string;
|
|
2110
2115
|
/**
|
|
2111
|
-
*
|
|
2116
|
+
* The input label
|
|
2112
2117
|
*/
|
|
2113
2118
|
"label"?: string;
|
|
2114
2119
|
/**
|
|
@@ -2121,7 +2126,7 @@ export namespace Components {
|
|
|
2121
2126
|
*/
|
|
2122
2127
|
"preventSubmit"?: boolean;
|
|
2123
2128
|
/**
|
|
2124
|
-
* Number of results shown
|
|
2129
|
+
* Number of results shown. Default: all
|
|
2125
2130
|
*/
|
|
2126
2131
|
"resultsCount"?: number;
|
|
2127
2132
|
/**
|
|
@@ -2129,10 +2134,15 @@ export namespace Components {
|
|
|
2129
2134
|
*/
|
|
2130
2135
|
"resultsItems"?: SearchbarItem[] | string;
|
|
2131
2136
|
/**
|
|
2132
|
-
*
|
|
2137
|
+
* Hide the label of the submit button, showing only the icon
|
|
2133
2138
|
* @default false
|
|
2134
2139
|
*/
|
|
2135
2140
|
"searchButtonIconOnly"?: boolean;
|
|
2141
|
+
/**
|
|
2142
|
+
* The label of the submit button
|
|
2143
|
+
* @default "CERCA"
|
|
2144
|
+
*/
|
|
2145
|
+
"searchButtonLabel"?: string;
|
|
2136
2146
|
/**
|
|
2137
2147
|
* Search helper text
|
|
2138
2148
|
* @default "Cerca {searchString}"
|
|
@@ -2144,7 +2154,7 @@ export namespace Components {
|
|
|
2144
2154
|
*/
|
|
2145
2155
|
"showSearchButton"?: boolean;
|
|
2146
2156
|
/**
|
|
2147
|
-
*
|
|
2157
|
+
* Size of the `z-input` and submit `z-button`
|
|
2148
2158
|
* @default ControlSize.BIG
|
|
2149
2159
|
*/
|
|
2150
2160
|
"size"?: ControlSize;
|
|
@@ -2158,7 +2168,7 @@ export namespace Components {
|
|
|
2158
2168
|
*/
|
|
2159
2169
|
"value"?: string;
|
|
2160
2170
|
/**
|
|
2161
|
-
*
|
|
2171
|
+
* Submit `z-button` variant
|
|
2162
2172
|
* @default ButtonVariant.PRIMARY
|
|
2163
2173
|
*/
|
|
2164
2174
|
"variant"?: ButtonVariant;
|
|
@@ -3699,7 +3709,8 @@ declare global {
|
|
|
3699
3709
|
/**
|
|
3700
3710
|
* Notification bar component.
|
|
3701
3711
|
* @cssprop --z-notification--top-offset - The top offset of the notification. Use it when `sticky` prop is set to `true` and you need the notification to stay under other sticky elements. Default: 0px.
|
|
3702
|
-
* @cssprop --z-notification--content-max-width - The max width of the notification content.
|
|
3712
|
+
* @cssprop --z-notification--content-max-width - The max width of the notification content. Useful to align the content with other elements on the page, keeping the colored background full width. Default: 100%. Note: the content is automatically centered, so if you want to limit the width only for the slotted content, you can wrap it in a container with the desired width and leave the `z-notification` width to 100%.
|
|
3713
|
+
* @cssprop --z-notification--inline-padding - The inline padding of the notification content. It can be useful to align the content when the `--z-notification--content-max-width` is set. Default: calc(var(--space-unit) * 2).
|
|
3703
3714
|
*/
|
|
3704
3715
|
interface HTMLZNotificationElement extends Components.ZNotification, HTMLStencilElement {
|
|
3705
3716
|
addEventListener<K extends keyof HTMLZNotificationElementEventMap>(type: K, listener: (this: HTMLZNotificationElement, ev: ZNotificationCustomEvent<HTMLZNotificationElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
@@ -4388,6 +4399,10 @@ declare namespace LocalJSX {
|
|
|
4388
4399
|
* Emitted when the `stuck` state of the header changes
|
|
4389
4400
|
*/
|
|
4390
4401
|
"onSticking"?: (event: ZAppHeaderCustomEvent<any>) => void;
|
|
4402
|
+
/**
|
|
4403
|
+
* Label of the search button.
|
|
4404
|
+
*/
|
|
4405
|
+
"searchButtonLabel"?: string;
|
|
4391
4406
|
/**
|
|
4392
4407
|
* Url to the search page. Set this prop and `enableSearch` to show a link-button on mobile and tablet viewports, instead of the normal searchbar. The link will also appear on the sticky header.
|
|
4393
4408
|
*/
|
|
@@ -6170,7 +6185,8 @@ declare namespace LocalJSX {
|
|
|
6170
6185
|
/**
|
|
6171
6186
|
* Notification bar component.
|
|
6172
6187
|
* @cssprop --z-notification--top-offset - The top offset of the notification. Use it when `sticky` prop is set to `true` and you need the notification to stay under other sticky elements. Default: 0px.
|
|
6173
|
-
* @cssprop --z-notification--content-max-width - The max width of the notification content.
|
|
6188
|
+
* @cssprop --z-notification--content-max-width - The max width of the notification content. Useful to align the content with other elements on the page, keeping the colored background full width. Default: 100%. Note: the content is automatically centered, so if you want to limit the width only for the slotted content, you can wrap it in a container with the desired width and leave the `z-notification` width to 100%.
|
|
6189
|
+
* @cssprop --z-notification--inline-padding - The inline padding of the notification content. It can be useful to align the content when the `--z-notification--content-max-width` is set. Default: calc(var(--space-unit) * 2).
|
|
6174
6190
|
*/
|
|
6175
6191
|
interface ZNotification {
|
|
6176
6192
|
/**
|
|
@@ -6516,16 +6532,16 @@ declare namespace LocalJSX {
|
|
|
6516
6532
|
*/
|
|
6517
6533
|
"autocompleteMinChars"?: number;
|
|
6518
6534
|
/**
|
|
6519
|
-
*
|
|
6535
|
+
* The input aria-label
|
|
6520
6536
|
*/
|
|
6521
6537
|
"htmlAriaLabel"?: string;
|
|
6522
6538
|
/**
|
|
6523
|
-
*
|
|
6539
|
+
* The id of the searchbar element
|
|
6524
6540
|
* @default `searchbar-${randomId()}`
|
|
6525
6541
|
*/
|
|
6526
6542
|
"htmlid"?: string;
|
|
6527
6543
|
/**
|
|
6528
|
-
*
|
|
6544
|
+
* The input label
|
|
6529
6545
|
*/
|
|
6530
6546
|
"label"?: string;
|
|
6531
6547
|
/**
|
|
@@ -6550,7 +6566,7 @@ declare namespace LocalJSX {
|
|
|
6550
6566
|
*/
|
|
6551
6567
|
"preventSubmit"?: boolean;
|
|
6552
6568
|
/**
|
|
6553
|
-
* Number of results shown
|
|
6569
|
+
* Number of results shown. Default: all
|
|
6554
6570
|
*/
|
|
6555
6571
|
"resultsCount"?: number;
|
|
6556
6572
|
/**
|
|
@@ -6558,10 +6574,15 @@ declare namespace LocalJSX {
|
|
|
6558
6574
|
*/
|
|
6559
6575
|
"resultsItems"?: SearchbarItem[] | string;
|
|
6560
6576
|
/**
|
|
6561
|
-
*
|
|
6577
|
+
* Hide the label of the submit button, showing only the icon
|
|
6562
6578
|
* @default false
|
|
6563
6579
|
*/
|
|
6564
6580
|
"searchButtonIconOnly"?: boolean;
|
|
6581
|
+
/**
|
|
6582
|
+
* The label of the submit button
|
|
6583
|
+
* @default "CERCA"
|
|
6584
|
+
*/
|
|
6585
|
+
"searchButtonLabel"?: string;
|
|
6565
6586
|
/**
|
|
6566
6587
|
* Search helper text
|
|
6567
6588
|
* @default "Cerca {searchString}"
|
|
@@ -6573,7 +6594,7 @@ declare namespace LocalJSX {
|
|
|
6573
6594
|
*/
|
|
6574
6595
|
"showSearchButton"?: boolean;
|
|
6575
6596
|
/**
|
|
6576
|
-
*
|
|
6597
|
+
* Size of the `z-input` and submit `z-button`
|
|
6577
6598
|
* @default ControlSize.BIG
|
|
6578
6599
|
*/
|
|
6579
6600
|
"size"?: ControlSize;
|
|
@@ -6587,7 +6608,7 @@ declare namespace LocalJSX {
|
|
|
6587
6608
|
*/
|
|
6588
6609
|
"value"?: string;
|
|
6589
6610
|
/**
|
|
6590
|
-
*
|
|
6611
|
+
* Submit `z-button` variant
|
|
6591
6612
|
* @default ButtonVariant.PRIMARY
|
|
6592
6613
|
*/
|
|
6593
6614
|
"variant"?: ButtonVariant;
|
|
@@ -7146,6 +7167,7 @@ declare namespace LocalJSX {
|
|
|
7146
7167
|
"enableOffcanvas": boolean;
|
|
7147
7168
|
"enableSearch": boolean;
|
|
7148
7169
|
"searchPlaceholder": string;
|
|
7170
|
+
"searchButtonLabel": string;
|
|
7149
7171
|
"searchString": string;
|
|
7150
7172
|
"searchPageUrl": string;
|
|
7151
7173
|
"enableZLogo": boolean;
|
|
@@ -7629,6 +7651,7 @@ declare namespace LocalJSX {
|
|
|
7629
7651
|
"sortResultsItems": boolean;
|
|
7630
7652
|
"showSearchButton": boolean;
|
|
7631
7653
|
"searchButtonIconOnly": boolean;
|
|
7654
|
+
"searchButtonLabel": string;
|
|
7632
7655
|
"size": ControlSize;
|
|
7633
7656
|
"variant": ButtonVariant;
|
|
7634
7657
|
}
|
|
@@ -8086,7 +8109,8 @@ declare module "@stencil/core" {
|
|
|
8086
8109
|
/**
|
|
8087
8110
|
* Notification bar component.
|
|
8088
8111
|
* @cssprop --z-notification--top-offset - The top offset of the notification. Use it when `sticky` prop is set to `true` and you need the notification to stay under other sticky elements. Default: 0px.
|
|
8089
|
-
* @cssprop --z-notification--content-max-width - The max width of the notification content.
|
|
8112
|
+
* @cssprop --z-notification--content-max-width - The max width of the notification content. Useful to align the content with other elements on the page, keeping the colored background full width. Default: 100%. Note: the content is automatically centered, so if you want to limit the width only for the slotted content, you can wrap it in a container with the desired width and leave the `z-notification` width to 100%.
|
|
8113
|
+
* @cssprop --z-notification--inline-padding - The inline padding of the notification content. It can be useful to align the content when the `--z-notification--content-max-width` is set. Default: calc(var(--space-unit) * 2).
|
|
8090
8114
|
*/
|
|
8091
8115
|
"z-notification": LocalJSX.IntrinsicElements["z-notification"] & JSXBase.HTMLAttributes<HTMLZNotificationElement>;
|
|
8092
8116
|
/**
|