@zanichelli/albe-web-components 19.6.1 → 20.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +26 -0
- package/dist/cjs/{iconset-Cz-UsfoU.js → iconset-BIdMT0Ke.js} +4 -4
- package/dist/cjs/{iconset-Cz-UsfoU.js.map → iconset-BIdMT0Ke.js.map} +1 -1
- package/dist/cjs/index-CZz7uP-M.js +0 -80
- package/dist/cjs/index.cjs.js +2 -2
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{reactive-controller-B2CuCldJ.js → reactive-controller-DJkjAuqS.js} +3 -3
- package/dist/cjs/{reactive-controller-B2CuCldJ.js.map → reactive-controller-DJkjAuqS.js.map} +1 -1
- package/dist/cjs/{utils-C0QY75C2.js → utils-BnCPu0Si.js} +2 -11
- package/dist/cjs/{utils-C0QY75C2.js.map → utils-BnCPu0Si.js.map} +1 -1
- package/dist/cjs/web-components-library.cjs.js +1 -1
- package/dist/cjs/z-accordion.cjs.entry.js +1 -1
- package/dist/cjs/z-anchor-navigation.cjs.entry.js +1 -1
- package/dist/cjs/z-app-header_12.cjs.entry.js +119 -132
- package/dist/cjs/z-app-header_12.cjs.entry.js.map +1 -1
- package/dist/cjs/z-aria-alert.cjs.entry.js +1 -1
- package/dist/cjs/z-avatar.cjs.entry.js +2 -2
- package/dist/cjs/z-book-card.cjs.entry.js +1 -1
- package/dist/cjs/z-book-card.cjs.entry.js.map +1 -1
- package/dist/cjs/z-book-cover.cjs.entry.js +1 -1
- package/dist/cjs/z-breadcrumb.cjs.entry.js +3 -3
- package/dist/cjs/z-button-sort.cjs.entry.js +1 -1
- package/dist/cjs/z-chip.cjs.entry.js +2 -4
- package/dist/cjs/z-chip.cjs.entry.js.map +1 -1
- package/dist/cjs/z-color-picker.cjs.entry.js +2 -2
- package/dist/cjs/z-combobox.cjs.entry.js +2 -2
- package/dist/cjs/z-cover-hero.cjs.entry.js +2 -2
- package/dist/cjs/z-date-picker.cjs.entry.js +2 -4
- package/dist/cjs/z-date-picker.cjs.entry.js.map +1 -1
- package/dist/cjs/z-dragdrop-area_2.cjs.entry.js +8 -8
- 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 +5 -3
- package/dist/cjs/z-info-box.cjs.entry.js.map +1 -1
- package/dist/cjs/z-info-reveal.cjs.entry.js +3 -3
- package/dist/cjs/z-info-reveal.cjs.entry.js.map +1 -1
- package/dist/cjs/z-input-range.cjs.entry.js +2 -2
- package/dist/cjs/z-logo.cjs.entry.js +1 -1
- package/dist/cjs/z-menu-section.cjs.entry.js +1 -1
- package/dist/cjs/z-menu.cjs.entry.js +1 -1
- package/dist/cjs/z-navigation-tabs.cjs.entry.js +2 -6
- package/dist/cjs/z-navigation-tabs.cjs.entry.js.map +1 -1
- package/dist/cjs/z-notification.cjs.entry.js +1 -1
- package/dist/cjs/z-popover.cjs.entry.js +2 -2
- package/dist/cjs/z-select.cjs.entry.js +4 -8
- package/dist/cjs/z-select.cjs.entry.js.map +1 -1
- package/dist/cjs/z-skip-to-content.cjs.entry.js +2 -2
- package/dist/cjs/z-stepper-item.cjs.entry.js +1 -1
- package/dist/cjs/z-stepper.cjs.entry.js +1 -1
- package/dist/cjs/z-table.cjs.entry.js +2 -2
- package/dist/cjs/z-tbody.cjs.entry.js +1 -1
- package/dist/cjs/z-td.cjs.entry.js +1 -1
- package/dist/cjs/z-tfoot.cjs.entry.js +1 -1
- package/dist/cjs/z-th.cjs.entry.js +1 -1
- package/dist/cjs/z-thead.cjs.entry.js +1 -1
- package/dist/cjs/z-toast-notification-list.cjs.entry.js +1 -1
- package/dist/cjs/z-toast-notification.cjs.entry.js +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 +1 -1
- package/dist/cjs/z-tooltip.cjs.entry.js +1 -1
- package/dist/cjs/z-tr.cjs.entry.js +2 -2
- 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/collection-manifest.json +2 -25
- package/dist/collection/components/book-card/z-book-card/index.js +1 -1
- package/dist/collection/components/book-card/z-book-card/index.js.map +1 -1
- package/dist/collection/components/date-picker/z-date-picker/index.js +5 -8
- package/dist/collection/components/date-picker/z-date-picker/index.js.map +1 -1
- package/dist/collection/components/file-upload/z-dragdrop-area/index.js +2 -2
- package/dist/collection/components/file-upload/z-file/index.js +1 -1
- package/dist/collection/components/list/z-list/index.js +43 -38
- package/dist/collection/components/list/z-list/index.js.map +1 -1
- package/dist/collection/components/list/z-list-element/index.js +17 -31
- package/dist/collection/components/list/z-list-element/index.js.map +1 -1
- package/dist/collection/components/list/z-list-group/index.js +62 -37
- package/dist/collection/components/list/z-list-group/index.js.map +1 -1
- package/dist/collection/components/list/z-tree-list/index.js +1 -1
- package/dist/collection/components/table/cells/z-td/index.js +1 -1
- package/dist/collection/components/table/cells/z-th/index.js +1 -1
- package/dist/collection/components/table/z-table/index.js +1 -1
- package/dist/collection/components/table/z-tbody/index.js +1 -1
- package/dist/collection/components/table/z-tfoot/index.js +1 -1
- package/dist/collection/components/table/z-thead/index.js +1 -1
- package/dist/collection/components/table/z-tr/index.js +1 -1
- package/dist/collection/components/z-accordion/index.js +1 -1
- package/dist/collection/components/z-anchor-navigation/index.js +1 -1
- package/dist/collection/components/z-app-header/index.js +1 -1
- package/dist/collection/components/z-aria-alert/index.js +1 -1
- package/dist/collection/components/z-avatar/index.js +2 -2
- package/dist/collection/components/z-book-cover/index.js +1 -1
- package/dist/collection/components/z-breadcrumb/index.js +2 -2
- package/dist/collection/components/z-button/index.js +14 -46
- package/dist/collection/components/z-button/index.js.map +1 -1
- package/dist/collection/components/z-button-sort/index.js +1 -1
- package/dist/collection/components/z-chip/index.js +6 -9
- package/dist/collection/components/z-chip/index.js.map +1 -1
- package/dist/collection/components/z-color-picker/index.js +1 -1
- package/dist/collection/components/z-combobox/index.js +1 -1
- package/dist/collection/components/z-cover-hero/index.js +2 -2
- package/dist/collection/components/z-divider/index.js +1 -1
- package/dist/collection/components/z-ghost-loading/index.js +1 -1
- package/dist/collection/components/z-icon/index.js +1 -1
- package/dist/collection/components/z-icon/styles.css +6 -0
- package/dist/collection/components/z-info-box/index.js +55 -7
- package/dist/collection/components/z-info-box/index.js.map +1 -1
- package/dist/collection/components/z-info-box/styles.css +60 -10
- package/dist/collection/components/z-info-reveal/index.js +6 -6
- package/dist/collection/components/z-info-reveal/index.js.map +1 -1
- package/dist/collection/components/z-input/index.js +43 -64
- package/dist/collection/components/z-input/index.js.map +1 -1
- package/dist/collection/components/z-input-message/index.js +3 -27
- package/dist/collection/components/z-input-message/index.js.map +1 -1
- package/dist/collection/components/z-input-range/index.js +1 -1
- package/dist/collection/components/z-logo/index.js +1 -1
- package/dist/collection/components/z-menu-section/index.js +1 -1
- package/dist/collection/components/z-modal/index.js +4 -4
- package/dist/collection/components/z-navigation-tabs/index.js +5 -10
- package/dist/collection/components/z-navigation-tabs/index.js.map +1 -1
- package/dist/collection/components/z-notification/index.js +1 -1
- package/dist/collection/components/z-offcanvas/index.js +2 -2
- package/dist/collection/components/z-popover/index.js +1 -1
- package/dist/collection/components/z-searchbar/index.js +3 -3
- package/dist/collection/components/z-select/index.js +9 -15
- package/dist/collection/components/z-select/index.js.map +1 -1
- package/dist/collection/components/z-skip-to-content/index.js +1 -1
- package/dist/collection/components/z-stepper/index.js +1 -1
- package/dist/collection/components/z-stepper-item/index.js +1 -1
- package/dist/collection/components/z-tag/index.js +2 -2
- package/dist/collection/components/z-toast-notification/index.js +3 -3
- package/dist/collection/components/z-toast-notification-list/index.js +1 -1
- package/dist/collection/components/z-toggle-switch/index.js +3 -3
- package/dist/collection/components/z-tool/index.js +2 -2
- package/dist/collection/components/z-toolbar/index.js +1 -1
- package/dist/collection/components/z-tooltip/index.js +1 -1
- package/dist/collection/components/z-visually-hidden/index.js +1 -1
- package/dist/collection/constants/iconset.js +2 -2
- package/dist/collection/constants/iconset.js.map +1 -1
- package/dist/collection/utils/storybook-utils.js +31 -18
- package/dist/collection/utils/storybook-utils.js.map +1 -1
- package/dist/components/iconset.js +1 -1
- package/dist/components/iconset.js.map +1 -1
- package/dist/components/index.d.ts +0 -46
- package/dist/components/index.js +1 -1
- package/dist/components/index.js.map +1 -1
- package/dist/components/index10.js +1 -1
- package/dist/components/index10.js.map +1 -1
- package/dist/components/index11.js +1 -1
- package/dist/components/index11.js.map +1 -1
- package/dist/components/index12.js +1 -1
- package/dist/components/index12.js.map +1 -1
- package/dist/components/index13.js +1 -1
- package/dist/components/index13.js.map +1 -1
- package/dist/components/index14.js +1 -1
- package/dist/components/index14.js.map +1 -1
- package/dist/components/index15.js +1 -1
- package/dist/components/index15.js.map +1 -1
- package/dist/components/index16.js +1 -1
- package/dist/components/index16.js.map +1 -1
- package/dist/components/index17.js +1 -1
- package/dist/components/index17.js.map +1 -1
- package/dist/components/index18.js +1 -1
- package/dist/components/index18.js.map +1 -1
- package/dist/components/index19.js +1 -1
- package/dist/components/index19.js.map +1 -1
- package/dist/components/index20.js +1 -1
- package/dist/components/index20.js.map +1 -1
- package/dist/components/index21.js +1 -1
- package/dist/components/index21.js.map +1 -1
- package/dist/components/index3.js +1 -1
- package/dist/components/index3.js.map +1 -1
- package/dist/components/index4.js +1 -1
- package/dist/components/index4.js.map +1 -1
- package/dist/components/index5.js +1 -1
- package/dist/components/index5.js.map +1 -1
- package/dist/components/index6.js +1 -1
- package/dist/components/index6.js.map +1 -1
- package/dist/components/index7.js +1 -1
- package/dist/components/index7.js.map +1 -1
- package/dist/components/index8.js +1 -1
- package/dist/components/index8.js.map +1 -1
- package/dist/components/index9.js +1 -1
- package/dist/components/index9.js.map +1 -1
- package/dist/components/reactive-controller.js +2 -2
- package/dist/components/utils.js +1 -1
- package/dist/components/utils.js.map +1 -1
- package/dist/components/z-accordion.js +1 -1
- package/dist/components/z-anchor-navigation.js +1 -1
- package/dist/components/z-app-header.js +1 -1
- package/dist/components/z-app-header.js.map +1 -1
- package/dist/components/z-aria-alert.js +1 -1
- package/dist/components/z-avatar.js +1 -1
- package/dist/components/z-book-card-app.js +1 -1
- package/dist/components/z-book-card.js +1 -1
- package/dist/components/z-book-card.js.map +1 -1
- package/dist/components/z-book-cover.js +1 -1
- package/dist/components/z-breadcrumb.js +1 -1
- package/dist/components/z-breadcrumb.js.map +1 -1
- package/dist/components/z-button-sort.js +1 -1
- package/dist/components/z-button.js +1 -1
- package/dist/components/z-carousel.js +1 -1
- package/dist/components/z-chip.js +1 -1
- package/dist/components/z-color-picker.js +1 -1
- package/dist/components/z-combobox.js +1 -1
- package/dist/components/z-combobox.js.map +1 -1
- package/dist/components/z-cover-hero.js +1 -1
- package/dist/components/z-date-picker.js +2 -2
- package/dist/components/z-date-picker.js.map +1 -1
- package/dist/components/z-divider.js +1 -1
- package/dist/components/z-dragdrop-area.js +1 -1
- package/dist/components/z-file-upload.js +1 -1
- package/dist/components/z-file.js +1 -1
- package/dist/components/z-ghost-loading.js +1 -1
- package/dist/components/z-info-box.js +1 -1
- package/dist/components/z-info-box.js.map +1 -1
- package/dist/components/z-info-reveal.js +1 -1
- package/dist/components/z-input-message.js +1 -1
- package/dist/components/z-input-range.js +1 -1
- package/dist/components/z-input.js +1 -1
- package/dist/components/z-list-element.js +1 -1
- package/dist/components/z-list-group.js +1 -1
- package/dist/components/z-list.js +1 -1
- package/dist/components/z-logo.js +1 -1
- package/dist/components/z-menu-section.js +1 -1
- package/dist/components/z-modal.js +1 -1
- package/dist/components/z-navigation-tabs.js +1 -1
- package/dist/components/z-navigation-tabs.js.map +1 -1
- package/dist/components/z-notification.js +1 -1
- package/dist/components/z-offcanvas.js +1 -1
- package/dist/components/z-pagination.js +1 -1
- package/dist/components/z-popover.js +1 -1
- package/dist/components/z-range-picker.js +1 -1
- package/dist/components/z-result-card.js +1 -1
- package/dist/components/z-searchbar.js +1 -1
- package/dist/components/z-select.js +1 -1
- package/dist/components/z-select.js.map +1 -1
- package/dist/components/z-skip-to-content.js +1 -1
- package/dist/components/z-stepper-item.js +1 -1
- package/dist/components/z-stepper.js +1 -1
- package/dist/components/z-table.js +1 -1
- package/dist/components/z-tag.js +1 -1
- package/dist/components/z-tbody.js +1 -1
- package/dist/components/z-td.js +1 -1
- package/dist/components/z-tfoot.js +1 -1
- package/dist/components/z-th.js +1 -1
- package/dist/components/z-thead.js +1 -1
- package/dist/components/z-toast-notification-list.js +1 -1
- package/dist/components/z-toast-notification.js +2 -2
- package/dist/components/z-toggle-switch.js +1 -1
- package/dist/components/z-tool.js +1 -1
- package/dist/components/z-toolbar.js +1 -1
- package/dist/components/z-tooltip.js +1 -1
- package/dist/components/z-tr.js +1 -1
- package/dist/components/z-tree-list.js +1 -1
- package/dist/components/z-tree-list.js.map +1 -1
- package/dist/components/z-visually-hidden.js +1 -1
- package/dist/esm/{iconset-AwzX9V8L.js → iconset-D1c5gR45.js} +4 -4
- package/dist/esm/{iconset-AwzX9V8L.js.map → iconset-D1c5gR45.js.map} +1 -1
- package/dist/esm/index-BcDWN4F1.js +0 -80
- package/dist/esm/index.js +2 -2
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{reactive-controller-C_qN1xPW.js → reactive-controller-CHemhYDp.js} +3 -3
- package/dist/esm/{reactive-controller-C_qN1xPW.js.map → reactive-controller-CHemhYDp.js.map} +1 -1
- package/dist/esm/{utils-CEdyahRZ.js → utils-CJc3A9NX.js} +3 -11
- package/dist/esm/{utils-CEdyahRZ.js.map → utils-CJc3A9NX.js.map} +1 -1
- package/dist/esm/web-components-library.js +1 -1
- package/dist/esm/z-accordion.entry.js +1 -1
- package/dist/esm/z-anchor-navigation.entry.js +1 -1
- package/dist/esm/z-app-header_12.entry.js +120 -133
- package/dist/esm/z-app-header_12.entry.js.map +1 -1
- package/dist/esm/z-aria-alert.entry.js +1 -1
- package/dist/esm/z-avatar.entry.js +2 -2
- package/dist/esm/z-book-card.entry.js +1 -1
- package/dist/esm/z-book-card.entry.js.map +1 -1
- package/dist/esm/z-book-cover.entry.js +1 -1
- package/dist/esm/z-breadcrumb.entry.js +3 -3
- package/dist/esm/z-button-sort.entry.js +1 -1
- package/dist/esm/z-chip.entry.js +2 -4
- package/dist/esm/z-chip.entry.js.map +1 -1
- package/dist/esm/z-color-picker.entry.js +2 -2
- package/dist/esm/z-combobox.entry.js +2 -2
- package/dist/esm/z-cover-hero.entry.js +2 -2
- package/dist/esm/z-date-picker.entry.js +2 -4
- package/dist/esm/z-date-picker.entry.js.map +1 -1
- package/dist/esm/z-dragdrop-area_2.entry.js +8 -8
- 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 +6 -4
- package/dist/esm/z-info-box.entry.js.map +1 -1
- package/dist/esm/z-info-reveal.entry.js +3 -3
- package/dist/esm/z-info-reveal.entry.js.map +1 -1
- package/dist/esm/z-input-range.entry.js +2 -2
- package/dist/esm/z-logo.entry.js +1 -1
- package/dist/esm/z-menu-section.entry.js +1 -1
- package/dist/esm/z-menu.entry.js +1 -1
- package/dist/esm/z-navigation-tabs.entry.js +2 -6
- package/dist/esm/z-navigation-tabs.entry.js.map +1 -1
- package/dist/esm/z-notification.entry.js +1 -1
- package/dist/esm/z-popover.entry.js +2 -2
- package/dist/esm/z-select.entry.js +4 -8
- package/dist/esm/z-select.entry.js.map +1 -1
- package/dist/esm/z-skip-to-content.entry.js +2 -2
- package/dist/esm/z-stepper-item.entry.js +1 -1
- package/dist/esm/z-stepper.entry.js +1 -1
- package/dist/esm/z-table.entry.js +2 -2
- package/dist/esm/z-tbody.entry.js +1 -1
- package/dist/esm/z-td.entry.js +1 -1
- package/dist/esm/z-tfoot.entry.js +1 -1
- package/dist/esm/z-th.entry.js +1 -1
- package/dist/esm/z-thead.entry.js +1 -1
- package/dist/esm/z-toast-notification-list.entry.js +1 -1
- package/dist/esm/z-toast-notification.entry.js +3 -3
- package/dist/esm/z-toggle-switch.entry.js +4 -4
- package/dist/esm/z-tool.entry.js +3 -3
- package/dist/esm/z-toolbar.entry.js +1 -1
- package/dist/esm/z-tooltip.entry.js +1 -1
- package/dist/esm/z-tr.entry.js +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/date-picker/z-date-picker/index.d.ts +1 -1
- package/dist/types/components/list/z-list/index.d.ts +6 -8
- package/dist/types/components/list/z-list-element/index.d.ts +2 -8
- package/dist/types/components/list/z-list-group/index.d.ts +3 -5
- package/dist/types/components/z-button/index.d.ts +4 -9
- package/dist/types/components/z-chip/index.d.ts +2 -2
- package/dist/types/components/z-info-box/index.d.ts +14 -2
- package/dist/types/components/z-info-reveal/index.d.ts +2 -2
- package/dist/types/components/z-input/index.d.ts +14 -14
- package/dist/types/components/z-input-message/index.d.ts +2 -5
- package/dist/types/components/z-navigation-tabs/index.d.ts +1 -1
- package/dist/types/components/z-select/index.d.ts +2 -2
- package/dist/types/components.d.ts +298 -1809
- package/dist/types/constants/iconset.d.ts +4 -4
- package/dist/types/utils/storybook-utils.d.ts +19 -12
- package/dist/web-components-library/index.esm.js +1 -1
- package/dist/web-components-library/{p-cdfbcb3b.entry.js → p-02fb0bf9.entry.js} +2 -2
- package/{www/build/p-e1081a2f.entry.js → dist/web-components-library/p-067411f0.entry.js} +2 -2
- package/{www/build/p-136f336a.entry.js → dist/web-components-library/p-121f224a.entry.js} +2 -2
- package/dist/web-components-library/p-127a6dda.entry.js +2 -0
- package/dist/web-components-library/p-127a6dda.entry.js.map +1 -0
- package/{www/build/p-af6bdd6e.entry.js → dist/web-components-library/p-1e71577c.entry.js} +2 -2
- package/{www/build/p-4085be9a.entry.js → dist/web-components-library/p-1ef66142.entry.js} +2 -2
- package/{www/build/p-22cb956c.entry.js → dist/web-components-library/p-1efed23b.entry.js} +2 -2
- package/{www/build/p-ab221eac.entry.js → dist/web-components-library/p-222898cd.entry.js} +3 -3
- package/dist/web-components-library/{p-c39e4a49.entry.js → p-2bd1326c.entry.js} +2 -2
- package/dist/web-components-library/p-2bebbd04.entry.js +2 -0
- package/{www/build/p-5af96c6f.entry.js.map → dist/web-components-library/p-2bebbd04.entry.js.map} +1 -1
- package/dist/web-components-library/p-303fe1d0.entry.js +2 -0
- package/dist/web-components-library/p-303fe1d0.entry.js.map +1 -0
- package/{www/build/p-67476a7c.entry.js → dist/web-components-library/p-317cbb00.entry.js} +2 -2
- package/{www/build/p-6d382092.entry.js → dist/web-components-library/p-32bc925a.entry.js} +2 -2
- package/dist/web-components-library/{p-f36e7e6b.entry.js → p-33d993fe.entry.js} +2 -2
- package/{www/build/p-7313c22c.entry.js → dist/web-components-library/p-33e973b3.entry.js} +2 -2
- package/dist/web-components-library/p-33e973b3.entry.js.map +1 -0
- package/dist/web-components-library/{p-1a13cd9b.entry.js → p-3748979c.entry.js} +2 -2
- package/{www/build/p-20401d48.entry.js → dist/web-components-library/p-3a9a120f.entry.js} +2 -2
- package/dist/web-components-library/{p-0251d009.entry.js → p-4f6c86ce.entry.js} +2 -2
- package/dist/web-components-library/{p-5b3cfc2e.entry.js → p-51ebf661.entry.js} +2 -2
- package/{www/build/p-aa59ca29.entry.js → dist/web-components-library/p-53c51bf4.entry.js} +2 -2
- package/{www/build/p-aa59ca29.entry.js.map → dist/web-components-library/p-53c51bf4.entry.js.map} +1 -1
- package/dist/web-components-library/p-5a43af47.entry.js +2 -0
- package/dist/web-components-library/p-5a43af47.entry.js.map +1 -0
- package/dist/web-components-library/p-657802ce.entry.js +2 -0
- package/dist/web-components-library/{p-5c012917.entry.js.map → p-657802ce.entry.js.map} +1 -1
- package/{www/build/p-7b4f5936.entry.js → dist/web-components-library/p-6de548e3.entry.js} +2 -2
- package/dist/web-components-library/p-6de548e3.entry.js.map +1 -0
- package/dist/web-components-library/{p-0c9247be.entry.js → p-6ea349f6.entry.js} +2 -2
- package/dist/web-components-library/{p-39b91bfa.entry.js → p-7dbd0e3e.entry.js} +2 -2
- package/{www/build/p-aba618c3.entry.js → dist/web-components-library/p-89b30fce.entry.js} +2 -2
- package/dist/web-components-library/p-8b3257b4.entry.js +2 -0
- package/{www/build/p-b38bca77.entry.js → dist/web-components-library/p-8c3a7bc1.entry.js} +2 -2
- package/dist/web-components-library/{p-bb610386.entry.js → p-8d2704ee.entry.js} +2 -2
- package/dist/web-components-library/{p-82e87326.entry.js → p-8f4fcd01.entry.js} +2 -2
- package/dist/web-components-library/p-8fb3354e.entry.js +2 -0
- package/dist/web-components-library/{p-88c45ed6.entry.js → p-904c7fdd.entry.js} +2 -2
- package/{www/build/p-ip3tTfYi.js → dist/web-components-library/p-BjrC13Q0.js} +3 -3
- package/{www/build/p-ip3tTfYi.js.map → dist/web-components-library/p-BjrC13Q0.js.map} +1 -1
- package/dist/web-components-library/{p-AwzX9V8L.js → p-D1c5gR45.js} +2 -2
- package/{www/build/p-AwzX9V8L.js.map → dist/web-components-library/p-D1c5gR45.js.map} +1 -1
- package/{www/build/p-C_25lDQa.js → dist/web-components-library/p-DPrEzmhI.js} +2 -2
- package/{www/build/p-C_25lDQa.js.map → dist/web-components-library/p-DPrEzmhI.js.map} +1 -1
- package/dist/web-components-library/{p-b7d4b886.entry.js → p-a5187022.entry.js} +2 -2
- package/dist/web-components-library/{p-fa02ba25.entry.js → p-a52b3dd1.entry.js} +2 -2
- package/dist/web-components-library/p-a8f43afd.entry.js +2 -0
- package/{www/build/p-31883d39.entry.js → dist/web-components-library/p-b4e0cd5c.entry.js} +2 -2
- package/dist/web-components-library/p-b4e0cd5c.entry.js.map +1 -0
- package/dist/web-components-library/{p-869ba2b5.entry.js → p-b7620e80.entry.js} +2 -2
- package/dist/web-components-library/{p-a09646a9.entry.js → p-bc9237eb.entry.js} +2 -2
- package/dist/web-components-library/p-c217c65c.entry.js +2 -0
- package/dist/web-components-library/{p-41f63f0e.entry.js.map → p-c217c65c.entry.js.map} +1 -1
- package/dist/web-components-library/{p-7965766c.entry.js → p-ccedd440.entry.js} +2 -2
- package/dist/web-components-library/{p-8f6ff78c.entry.js → p-d6441232.entry.js} +2 -2
- package/{www/build/p-87ea0b0a.entry.js → dist/web-components-library/p-df5eeb75.entry.js} +2 -2
- package/{www/build/p-4a7431f6.entry.js → dist/web-components-library/p-dfb0e8d8.entry.js} +2 -2
- package/dist/web-components-library/p-e1ab33fe.entry.js +2 -0
- package/dist/web-components-library/p-e1ab33fe.entry.js.map +1 -0
- package/{www/build/p-a2eb700b.entry.js → dist/web-components-library/p-efe489a5.entry.js} +2 -2
- package/dist/web-components-library/web-components-library.esm.js +1 -1
- package/package.json +7 -7
- package/react/components.d.ts +0 -23
- package/react/components.js +2 -25
- package/www/build/index.esm.js +1 -1
- package/www/build/{p-cdfbcb3b.entry.js → p-02fb0bf9.entry.js} +2 -2
- package/{dist/web-components-library/p-e1081a2f.entry.js → www/build/p-067411f0.entry.js} +2 -2
- package/{dist/web-components-library/p-136f336a.entry.js → www/build/p-121f224a.entry.js} +2 -2
- package/www/build/p-127a6dda.entry.js +2 -0
- package/www/build/p-127a6dda.entry.js.map +1 -0
- package/{dist/web-components-library/p-af6bdd6e.entry.js → www/build/p-1e71577c.entry.js} +2 -2
- package/{dist/web-components-library/p-4085be9a.entry.js → www/build/p-1ef66142.entry.js} +2 -2
- package/{dist/web-components-library/p-22cb956c.entry.js → www/build/p-1efed23b.entry.js} +2 -2
- package/{dist/web-components-library/p-ab221eac.entry.js → www/build/p-222898cd.entry.js} +3 -3
- package/www/build/{p-c39e4a49.entry.js → p-2bd1326c.entry.js} +2 -2
- package/www/build/p-2bebbd04.entry.js +2 -0
- package/{dist/web-components-library/p-5af96c6f.entry.js.map → www/build/p-2bebbd04.entry.js.map} +1 -1
- package/www/build/p-303fe1d0.entry.js +2 -0
- package/www/build/p-303fe1d0.entry.js.map +1 -0
- package/{dist/web-components-library/p-67476a7c.entry.js → www/build/p-317cbb00.entry.js} +2 -2
- package/{dist/web-components-library/p-6d382092.entry.js → www/build/p-32bc925a.entry.js} +2 -2
- package/www/build/{p-f36e7e6b.entry.js → p-33d993fe.entry.js} +2 -2
- package/{dist/web-components-library/p-7313c22c.entry.js → www/build/p-33e973b3.entry.js} +2 -2
- package/www/build/p-33e973b3.entry.js.map +1 -0
- package/www/build/{p-1a13cd9b.entry.js → p-3748979c.entry.js} +2 -2
- package/{dist/web-components-library/p-20401d48.entry.js → www/build/p-3a9a120f.entry.js} +2 -2
- package/www/build/{p-0251d009.entry.js → p-4f6c86ce.entry.js} +2 -2
- package/www/build/{p-5b3cfc2e.entry.js → p-51ebf661.entry.js} +2 -2
- package/{dist/web-components-library/p-aa59ca29.entry.js → www/build/p-53c51bf4.entry.js} +2 -2
- package/{dist/web-components-library/p-aa59ca29.entry.js.map → www/build/p-53c51bf4.entry.js.map} +1 -1
- package/www/build/p-5a1df5b1.js +2 -0
- package/www/build/p-5a43af47.entry.js +2 -0
- package/www/build/p-5a43af47.entry.js.map +1 -0
- package/www/build/p-657802ce.entry.js +2 -0
- package/www/build/{p-5c012917.entry.js.map → p-657802ce.entry.js.map} +1 -1
- package/{dist/web-components-library/p-7b4f5936.entry.js → www/build/p-6de548e3.entry.js} +2 -2
- package/www/build/p-6de548e3.entry.js.map +1 -0
- package/www/build/{p-0c9247be.entry.js → p-6ea349f6.entry.js} +2 -2
- package/www/build/{p-39b91bfa.entry.js → p-7dbd0e3e.entry.js} +2 -2
- package/{dist/web-components-library/p-aba618c3.entry.js → www/build/p-89b30fce.entry.js} +2 -2
- package/www/build/p-8b3257b4.entry.js +2 -0
- package/{dist/web-components-library/p-b38bca77.entry.js → www/build/p-8c3a7bc1.entry.js} +2 -2
- package/www/build/{p-bb610386.entry.js → p-8d2704ee.entry.js} +2 -2
- package/www/build/{p-82e87326.entry.js → p-8f4fcd01.entry.js} +2 -2
- package/www/build/p-8fb3354e.entry.js +2 -0
- package/www/build/{p-88c45ed6.entry.js → p-904c7fdd.entry.js} +2 -2
- package/{dist/web-components-library/p-ip3tTfYi.js → www/build/p-BjrC13Q0.js} +3 -3
- package/{dist/web-components-library/p-ip3tTfYi.js.map → www/build/p-BjrC13Q0.js.map} +1 -1
- package/www/build/{p-AwzX9V8L.js → p-D1c5gR45.js} +2 -2
- package/{dist/web-components-library/p-AwzX9V8L.js.map → www/build/p-D1c5gR45.js.map} +1 -1
- package/{dist/web-components-library/p-C_25lDQa.js → www/build/p-DPrEzmhI.js} +2 -2
- package/{dist/web-components-library/p-C_25lDQa.js.map → www/build/p-DPrEzmhI.js.map} +1 -1
- package/www/build/{p-b7d4b886.entry.js → p-a5187022.entry.js} +2 -2
- package/www/build/{p-fa02ba25.entry.js → p-a52b3dd1.entry.js} +2 -2
- package/www/build/p-a8f43afd.entry.js +2 -0
- package/{dist/web-components-library/p-31883d39.entry.js → www/build/p-b4e0cd5c.entry.js} +2 -2
- package/www/build/p-b4e0cd5c.entry.js.map +1 -0
- package/www/build/{p-869ba2b5.entry.js → p-b7620e80.entry.js} +2 -2
- package/www/build/{p-a09646a9.entry.js → p-bc9237eb.entry.js} +2 -2
- package/www/build/p-c217c65c.entry.js +2 -0
- package/www/build/{p-41f63f0e.entry.js.map → p-c217c65c.entry.js.map} +1 -1
- package/www/build/{p-7965766c.entry.js → p-ccedd440.entry.js} +2 -2
- package/www/build/{p-8f6ff78c.entry.js → p-d6441232.entry.js} +2 -2
- package/{dist/web-components-library/p-87ea0b0a.entry.js → www/build/p-df5eeb75.entry.js} +2 -2
- package/{dist/web-components-library/p-4a7431f6.entry.js → www/build/p-dfb0e8d8.entry.js} +2 -2
- package/www/build/p-e1ab33fe.entry.js +2 -0
- package/www/build/p-e1ab33fe.entry.js.map +1 -0
- package/{dist/web-components-library/p-a2eb700b.entry.js → www/build/p-efe489a5.entry.js} +2 -2
- package/www/build/web-components-library.esm.js +1 -1
- package/www/index.html +1 -1
- package/dist/cjs/z-alert.cjs.entry.js +0 -20
- package/dist/cjs/z-alert.cjs.entry.js.map +0 -1
- package/dist/cjs/z-app-header-deprecated.cjs.entry.js +0 -192
- package/dist/cjs/z-app-header-deprecated.cjs.entry.js.map +0 -1
- package/dist/cjs/z-book-card-deprecated.cjs.entry.js +0 -127
- package/dist/cjs/z-book-card-deprecated.cjs.entry.js.map +0 -1
- package/dist/cjs/z-menu-deprecated.cjs.entry.js +0 -127
- package/dist/cjs/z-menu-deprecated.cjs.entry.js.map +0 -1
- package/dist/cjs/z-menu-section-deprecated.cjs.entry.js +0 -60
- package/dist/cjs/z-menu-section-deprecated.cjs.entry.js.map +0 -1
- package/dist/cjs/z-myz-card-alert.cjs.entry.js +0 -64
- package/dist/cjs/z-myz-card-alert.cjs.entry.js.map +0 -1
- package/dist/cjs/z-myz-card-dictionary.cjs.entry.js +0 -37
- package/dist/cjs/z-myz-card-dictionary.cjs.entry.js.map +0 -1
- package/dist/cjs/z-myz-card-footer-sections.cjs.entry.js +0 -20
- package/dist/cjs/z-myz-card-footer-sections.cjs.entry.js.map +0 -1
- package/dist/cjs/z-myz-card-footer.cjs.entry.js +0 -70
- package/dist/cjs/z-myz-card-footer.cjs.entry.js.map +0 -1
- package/dist/cjs/z-myz-card-icon.cjs.entry.js +0 -24
- package/dist/cjs/z-myz-card-icon.cjs.entry.js.map +0 -1
- package/dist/cjs/z-myz-card-info.cjs.entry.js +0 -130
- package/dist/cjs/z-myz-card-info.cjs.entry.js.map +0 -1
- package/dist/cjs/z-myz-card-list.cjs.entry.js +0 -39
- package/dist/cjs/z-myz-card-list.cjs.entry.js.map +0 -1
- package/dist/cjs/z-myz-card_4.cjs.entry.js +0 -109
- package/dist/cjs/z-myz-card_4.cjs.entry.js.map +0 -1
- package/dist/cjs/z-myz-list-item.cjs.entry.js +0 -38
- package/dist/cjs/z-myz-list-item.cjs.entry.js.map +0 -1
- package/dist/cjs/z-myz-list.cjs.entry.js +0 -38
- package/dist/cjs/z-myz-list.cjs.entry.js.map +0 -1
- package/dist/cjs/z-otp.cjs.entry.js +0 -44
- package/dist/cjs/z-otp.cjs.entry.js.map +0 -1
- package/dist/cjs/z-panel-elem.cjs.entry.js +0 -30
- package/dist/cjs/z-panel-elem.cjs.entry.js.map +0 -1
- package/dist/cjs/z-section-title.cjs.entry.js +0 -34
- package/dist/cjs/z-section-title.cjs.entry.js.map +0 -1
- package/dist/cjs/z-slideshow.cjs.entry.js +0 -134
- package/dist/cjs/z-slideshow.cjs.entry.js.map +0 -1
- package/dist/cjs/z-toggle-button.cjs.entry.js +0 -37
- package/dist/cjs/z-toggle-button.cjs.entry.js.map +0 -1
- package/dist/collection/components/deprecated/z-app-header-deprecated/index.js +0 -415
- package/dist/collection/components/deprecated/z-app-header-deprecated/index.js.map +0 -1
- package/dist/collection/components/deprecated/z-app-header-deprecated/styles.css +0 -490
- package/dist/collection/components/deprecated/z-book-card-deprecated/index.js +0 -417
- package/dist/collection/components/deprecated/z-book-card-deprecated/index.js.map +0 -1
- package/dist/collection/components/deprecated/z-book-card-deprecated/styles.css +0 -492
- package/dist/collection/components/deprecated/z-menu-deprecated/index.js +0 -263
- package/dist/collection/components/deprecated/z-menu-deprecated/index.js.map +0 -1
- package/dist/collection/components/deprecated/z-menu-deprecated/styles.css +0 -220
- package/dist/collection/components/deprecated/z-menu-section-deprecated/index.js +0 -133
- package/dist/collection/components/deprecated/z-menu-section-deprecated/index.js.map +0 -1
- package/dist/collection/components/deprecated/z-menu-section-deprecated/styles.css +0 -123
- package/dist/collection/components/deprecated/z-section-title/index.js +0 -94
- package/dist/collection/components/deprecated/z-section-title/index.js.map +0 -1
- package/dist/collection/components/deprecated/z-section-title/styles.css +0 -48
- package/dist/collection/components/deprecated/z-toggle-button/index.js +0 -157
- package/dist/collection/components/deprecated/z-toggle-button/index.js.map +0 -1
- package/dist/collection/components/deprecated/z-toggle-button/styles.css +0 -60
- package/dist/collection/components/z-panel-elem/index.js +0 -211
- package/dist/collection/components/z-panel-elem/index.js.map +0 -1
- package/dist/collection/components/z-panel-elem/styles.css +0 -46
- package/dist/collection/snowflakes/myz/card/z-myz-card/index.js +0 -140
- package/dist/collection/snowflakes/myz/card/z-myz-card/index.js.map +0 -1
- package/dist/collection/snowflakes/myz/card/z-myz-card/styles.css +0 -44
- package/dist/collection/snowflakes/myz/card/z-myz-card-alert/index.js +0 -160
- package/dist/collection/snowflakes/myz/card/z-myz-card-alert/index.js.map +0 -1
- package/dist/collection/snowflakes/myz/card/z-myz-card-alert/styles.css +0 -62
- package/dist/collection/snowflakes/myz/card/z-myz-card-body/index.js +0 -23
- package/dist/collection/snowflakes/myz/card/z-myz-card-body/index.js.map +0 -1
- package/dist/collection/snowflakes/myz/card/z-myz-card-body/styles.css +0 -13
- package/dist/collection/snowflakes/myz/card/z-myz-card-cover/index.js +0 -102
- package/dist/collection/snowflakes/myz/card/z-myz-card-cover/index.js.map +0 -1
- package/dist/collection/snowflakes/myz/card/z-myz-card-cover/styles.css +0 -11
- package/dist/collection/snowflakes/myz/card/z-myz-card-dictionary/index.js +0 -190
- package/dist/collection/snowflakes/myz/card/z-myz-card-dictionary/index.js.map +0 -1
- package/dist/collection/snowflakes/myz/card/z-myz-card-dictionary/styles.css +0 -76
- package/dist/collection/snowflakes/myz/card/z-myz-card-footer/index.js +0 -236
- package/dist/collection/snowflakes/myz/card/z-myz-card-footer/index.js.map +0 -1
- package/dist/collection/snowflakes/myz/card/z-myz-card-footer/styles.css +0 -187
- package/dist/collection/snowflakes/myz/card/z-myz-card-footer-sections/index.js +0 -23
- package/dist/collection/snowflakes/myz/card/z-myz-card-footer-sections/index.js.map +0 -1
- package/dist/collection/snowflakes/myz/card/z-myz-card-footer-sections/styles.css +0 -20
- package/dist/collection/snowflakes/myz/card/z-myz-card-header/index.js +0 -118
- package/dist/collection/snowflakes/myz/card/z-myz-card-header/index.js.map +0 -1
- package/dist/collection/snowflakes/myz/card/z-myz-card-header/styles.css +0 -59
- package/dist/collection/snowflakes/myz/card/z-myz-card-icon/index.js +0 -88
- package/dist/collection/snowflakes/myz/card/z-myz-card-icon/index.js.map +0 -1
- package/dist/collection/snowflakes/myz/card/z-myz-card-icon/styles.css +0 -69
- package/dist/collection/snowflakes/myz/card/z-myz-card-info/index.js +0 -206
- package/dist/collection/snowflakes/myz/card/z-myz-card-info/index.js.map +0 -1
- package/dist/collection/snowflakes/myz/card/z-myz-card-info/styles.css +0 -93
- package/dist/collection/snowflakes/myz/card/z-myz-card-list/index.js +0 -63
- package/dist/collection/snowflakes/myz/card/z-myz-card-list/index.js.map +0 -1
- package/dist/collection/snowflakes/myz/card/z-myz-card-list/styles.css +0 -46
- package/dist/collection/snowflakes/myz/list/z-myz-list/index.js +0 -85
- package/dist/collection/snowflakes/myz/list/z-myz-list/index.js.map +0 -1
- package/dist/collection/snowflakes/myz/list/z-myz-list/styles.css +0 -4
- package/dist/collection/snowflakes/myz/list/z-myz-list-item/index.js +0 -207
- package/dist/collection/snowflakes/myz/list/z-myz-list-item/index.js.map +0 -1
- package/dist/collection/snowflakes/myz/list/z-myz-list-item/styles.css +0 -66
- package/dist/collection/snowflakes/myz/z-alert/index.js +0 -52
- package/dist/collection/snowflakes/myz/z-alert/index.js.map +0 -1
- package/dist/collection/snowflakes/myz/z-alert/styles.css +0 -28
- package/dist/collection/snowflakes/myz/z-otp/index.js +0 -131
- package/dist/collection/snowflakes/myz/z-otp/index.js.map +0 -1
- package/dist/collection/snowflakes/myz/z-otp/styles.css +0 -52
- package/dist/collection/snowflakes/myz/z-slideshow/index.js +0 -187
- package/dist/collection/snowflakes/myz/z-slideshow/index.js.map +0 -1
- package/dist/collection/snowflakes/myz/z-slideshow/styles.css +0 -134
- package/dist/components/index22.js +0 -2
- package/dist/components/index22.js.map +0 -1
- package/dist/components/index23.js +0 -2
- package/dist/components/index23.js.map +0 -1
- package/dist/components/index24.js +0 -2
- package/dist/components/index24.js.map +0 -1
- package/dist/components/index25.js +0 -2
- package/dist/components/index25.js.map +0 -1
- package/dist/components/index26.js +0 -2
- package/dist/components/index26.js.map +0 -1
- package/dist/components/index27.js +0 -2
- package/dist/components/index27.js.map +0 -1
- package/dist/components/z-alert.d.ts +0 -11
- package/dist/components/z-alert.js +0 -2
- package/dist/components/z-alert.js.map +0 -1
- package/dist/components/z-app-header-deprecated.d.ts +0 -11
- package/dist/components/z-app-header-deprecated.js +0 -2
- package/dist/components/z-app-header-deprecated.js.map +0 -1
- package/dist/components/z-book-card-deprecated.d.ts +0 -11
- package/dist/components/z-book-card-deprecated.js +0 -2
- package/dist/components/z-book-card-deprecated.js.map +0 -1
- package/dist/components/z-menu-deprecated.d.ts +0 -11
- package/dist/components/z-menu-deprecated.js +0 -2
- package/dist/components/z-menu-deprecated.js.map +0 -1
- package/dist/components/z-menu-section-deprecated.d.ts +0 -11
- package/dist/components/z-menu-section-deprecated.js +0 -2
- package/dist/components/z-menu-section-deprecated.js.map +0 -1
- package/dist/components/z-myz-card-alert.d.ts +0 -11
- package/dist/components/z-myz-card-alert.js +0 -2
- package/dist/components/z-myz-card-alert.js.map +0 -1
- package/dist/components/z-myz-card-body.d.ts +0 -11
- package/dist/components/z-myz-card-body.js +0 -2
- package/dist/components/z-myz-card-body.js.map +0 -1
- package/dist/components/z-myz-card-cover.d.ts +0 -11
- package/dist/components/z-myz-card-cover.js +0 -2
- package/dist/components/z-myz-card-cover.js.map +0 -1
- package/dist/components/z-myz-card-dictionary.d.ts +0 -11
- package/dist/components/z-myz-card-dictionary.js +0 -2
- package/dist/components/z-myz-card-dictionary.js.map +0 -1
- package/dist/components/z-myz-card-footer-sections.d.ts +0 -11
- package/dist/components/z-myz-card-footer-sections.js +0 -2
- package/dist/components/z-myz-card-footer-sections.js.map +0 -1
- package/dist/components/z-myz-card-footer.d.ts +0 -11
- package/dist/components/z-myz-card-footer.js +0 -2
- package/dist/components/z-myz-card-footer.js.map +0 -1
- package/dist/components/z-myz-card-header.d.ts +0 -11
- package/dist/components/z-myz-card-header.js +0 -2
- package/dist/components/z-myz-card-header.js.map +0 -1
- package/dist/components/z-myz-card-icon.d.ts +0 -11
- package/dist/components/z-myz-card-icon.js +0 -2
- package/dist/components/z-myz-card-icon.js.map +0 -1
- package/dist/components/z-myz-card-info.d.ts +0 -11
- package/dist/components/z-myz-card-info.js +0 -2
- package/dist/components/z-myz-card-info.js.map +0 -1
- package/dist/components/z-myz-card-list.d.ts +0 -11
- package/dist/components/z-myz-card-list.js +0 -2
- package/dist/components/z-myz-card-list.js.map +0 -1
- package/dist/components/z-myz-card.d.ts +0 -11
- package/dist/components/z-myz-card.js +0 -2
- package/dist/components/z-myz-card.js.map +0 -1
- package/dist/components/z-myz-list-item.d.ts +0 -11
- package/dist/components/z-myz-list-item.js +0 -2
- package/dist/components/z-myz-list-item.js.map +0 -1
- package/dist/components/z-myz-list.d.ts +0 -11
- package/dist/components/z-myz-list.js +0 -2
- package/dist/components/z-myz-list.js.map +0 -1
- package/dist/components/z-otp.d.ts +0 -11
- package/dist/components/z-otp.js +0 -2
- package/dist/components/z-otp.js.map +0 -1
- package/dist/components/z-panel-elem.d.ts +0 -11
- package/dist/components/z-panel-elem.js +0 -2
- package/dist/components/z-panel-elem.js.map +0 -1
- package/dist/components/z-section-title.d.ts +0 -11
- package/dist/components/z-section-title.js +0 -2
- package/dist/components/z-section-title.js.map +0 -1
- package/dist/components/z-slideshow.d.ts +0 -11
- package/dist/components/z-slideshow.js +0 -2
- package/dist/components/z-slideshow.js.map +0 -1
- package/dist/components/z-toggle-button.d.ts +0 -11
- package/dist/components/z-toggle-button.js +0 -2
- package/dist/components/z-toggle-button.js.map +0 -1
- package/dist/esm/z-alert.entry.js +0 -18
- package/dist/esm/z-alert.entry.js.map +0 -1
- package/dist/esm/z-app-header-deprecated.entry.js +0 -190
- package/dist/esm/z-app-header-deprecated.entry.js.map +0 -1
- package/dist/esm/z-book-card-deprecated.entry.js +0 -125
- package/dist/esm/z-book-card-deprecated.entry.js.map +0 -1
- package/dist/esm/z-menu-deprecated.entry.js +0 -125
- package/dist/esm/z-menu-deprecated.entry.js.map +0 -1
- package/dist/esm/z-menu-section-deprecated.entry.js +0 -58
- package/dist/esm/z-menu-section-deprecated.entry.js.map +0 -1
- package/dist/esm/z-myz-card-alert.entry.js +0 -62
- package/dist/esm/z-myz-card-alert.entry.js.map +0 -1
- package/dist/esm/z-myz-card-dictionary.entry.js +0 -35
- package/dist/esm/z-myz-card-dictionary.entry.js.map +0 -1
- package/dist/esm/z-myz-card-footer-sections.entry.js +0 -18
- package/dist/esm/z-myz-card-footer-sections.entry.js.map +0 -1
- package/dist/esm/z-myz-card-footer.entry.js +0 -68
- package/dist/esm/z-myz-card-footer.entry.js.map +0 -1
- package/dist/esm/z-myz-card-icon.entry.js +0 -22
- package/dist/esm/z-myz-card-icon.entry.js.map +0 -1
- package/dist/esm/z-myz-card-info.entry.js +0 -128
- package/dist/esm/z-myz-card-info.entry.js.map +0 -1
- package/dist/esm/z-myz-card-list.entry.js +0 -37
- package/dist/esm/z-myz-card-list.entry.js.map +0 -1
- package/dist/esm/z-myz-card_4.entry.js +0 -104
- package/dist/esm/z-myz-card_4.entry.js.map +0 -1
- package/dist/esm/z-myz-list-item.entry.js +0 -36
- package/dist/esm/z-myz-list-item.entry.js.map +0 -1
- package/dist/esm/z-myz-list.entry.js +0 -36
- package/dist/esm/z-myz-list.entry.js.map +0 -1
- package/dist/esm/z-otp.entry.js +0 -42
- package/dist/esm/z-otp.entry.js.map +0 -1
- package/dist/esm/z-panel-elem.entry.js +0 -28
- package/dist/esm/z-panel-elem.entry.js.map +0 -1
- package/dist/esm/z-section-title.entry.js +0 -32
- package/dist/esm/z-section-title.entry.js.map +0 -1
- package/dist/esm/z-slideshow.entry.js +0 -132
- package/dist/esm/z-slideshow.entry.js.map +0 -1
- package/dist/esm/z-toggle-button.entry.js +0 -35
- package/dist/esm/z-toggle-button.entry.js.map +0 -1
- package/dist/types/components/deprecated/z-app-header-deprecated/index.d.ts +0 -96
- package/dist/types/components/deprecated/z-book-card-deprecated/index.d.ts +0 -91
- package/dist/types/components/deprecated/z-menu-deprecated/index.d.ts +0 -60
- package/dist/types/components/deprecated/z-menu-section-deprecated/index.d.ts +0 -31
- package/dist/types/components/deprecated/z-section-title/index.d.ts +0 -25
- package/dist/types/components/deprecated/z-toggle-button/index.d.ts +0 -17
- package/dist/types/components/z-panel-elem/index.d.ts +0 -25
- package/dist/types/snowflakes/myz/card/z-myz-card/index.d.ts +0 -17
- package/dist/types/snowflakes/myz/card/z-myz-card-alert/index.d.ts +0 -19
- package/dist/types/snowflakes/myz/card/z-myz-card-body/index.d.ts +0 -8
- package/dist/types/snowflakes/myz/card/z-myz-card-cover/index.d.ts +0 -13
- package/dist/types/snowflakes/myz/card/z-myz-card-dictionary/index.d.ts +0 -24
- package/dist/types/snowflakes/myz/card/z-myz-card-footer/index.d.ts +0 -35
- package/dist/types/snowflakes/myz/card/z-myz-card-footer-sections/index.d.ts +0 -8
- package/dist/types/snowflakes/myz/card/z-myz-card-header/index.d.ts +0 -20
- package/dist/types/snowflakes/myz/card/z-myz-card-icon/index.d.ts +0 -10
- package/dist/types/snowflakes/myz/card/z-myz-card-info/index.d.ts +0 -36
- package/dist/types/snowflakes/myz/card/z-myz-card-list/index.d.ts +0 -10
- package/dist/types/snowflakes/myz/list/z-myz-list/index.d.ts +0 -12
- package/dist/types/snowflakes/myz/list/z-myz-list-item/index.d.ts +0 -25
- package/dist/types/snowflakes/myz/z-alert/index.d.ts +0 -10
- package/dist/types/snowflakes/myz/z-otp/index.d.ts +0 -17
- package/dist/types/snowflakes/myz/z-slideshow/index.d.ts +0 -31
- package/dist/web-components-library/p-0673b282.entry.js +0 -2
- package/dist/web-components-library/p-0673b282.entry.js.map +0 -1
- package/dist/web-components-library/p-26788712.entry.js +0 -2
- package/dist/web-components-library/p-26788712.entry.js.map +0 -1
- package/dist/web-components-library/p-2fcbc1a1.entry.js +0 -2
- package/dist/web-components-library/p-2fcbc1a1.entry.js.map +0 -1
- package/dist/web-components-library/p-30d82cf1.entry.js +0 -2
- package/dist/web-components-library/p-30d82cf1.entry.js.map +0 -1
- package/dist/web-components-library/p-31883d39.entry.js.map +0 -1
- package/dist/web-components-library/p-35d62356.entry.js +0 -2
- package/dist/web-components-library/p-35d62356.entry.js.map +0 -1
- package/dist/web-components-library/p-39027ac1.entry.js +0 -2
- package/dist/web-components-library/p-39027ac1.entry.js.map +0 -1
- package/dist/web-components-library/p-39bb7ee4.entry.js +0 -2
- package/dist/web-components-library/p-39bb7ee4.entry.js.map +0 -1
- package/dist/web-components-library/p-3b70a97c.entry.js +0 -2
- package/dist/web-components-library/p-3b70a97c.entry.js.map +0 -1
- package/dist/web-components-library/p-41f63f0e.entry.js +0 -2
- package/dist/web-components-library/p-487e3fca.entry.js +0 -2
- package/dist/web-components-library/p-487e3fca.entry.js.map +0 -1
- package/dist/web-components-library/p-4c1b6c40.entry.js +0 -2
- package/dist/web-components-library/p-4c1b6c40.entry.js.map +0 -1
- package/dist/web-components-library/p-5af96c6f.entry.js +0 -2
- package/dist/web-components-library/p-5c012917.entry.js +0 -2
- package/dist/web-components-library/p-6c5937db.entry.js +0 -2
- package/dist/web-components-library/p-7313c22c.entry.js.map +0 -1
- package/dist/web-components-library/p-7b4f5936.entry.js.map +0 -1
- package/dist/web-components-library/p-817630e4.entry.js +0 -2
- package/dist/web-components-library/p-817630e4.entry.js.map +0 -1
- package/dist/web-components-library/p-831d85f5.entry.js +0 -2
- package/dist/web-components-library/p-831d85f5.entry.js.map +0 -1
- package/dist/web-components-library/p-873e12a2.entry.js +0 -2
- package/dist/web-components-library/p-873e12a2.entry.js.map +0 -1
- package/dist/web-components-library/p-908b8d73.entry.js +0 -2
- package/dist/web-components-library/p-908b8d73.entry.js.map +0 -1
- package/dist/web-components-library/p-9b181758.entry.js +0 -2
- package/dist/web-components-library/p-9b181758.entry.js.map +0 -1
- package/dist/web-components-library/p-a4df3220.entry.js +0 -2
- package/dist/web-components-library/p-a4df3220.entry.js.map +0 -1
- package/dist/web-components-library/p-a702edc4.entry.js +0 -2
- package/dist/web-components-library/p-a702edc4.entry.js.map +0 -1
- package/dist/web-components-library/p-ad4c702b.entry.js +0 -2
- package/dist/web-components-library/p-ad4c702b.entry.js.map +0 -1
- package/dist/web-components-library/p-b15d006f.entry.js +0 -2
- package/dist/web-components-library/p-b15d006f.entry.js.map +0 -1
- package/dist/web-components-library/p-bbb9029e.entry.js +0 -2
- package/dist/web-components-library/p-bbb9029e.entry.js.map +0 -1
- package/dist/web-components-library/p-cb7381a0.entry.js +0 -2
- package/dist/web-components-library/p-ccdfec00.entry.js +0 -2
- package/dist/web-components-library/p-ccdfec00.entry.js.map +0 -1
- package/dist/web-components-library/p-ec12d752.entry.js +0 -2
- package/dist/web-components-library/p-ec12d752.entry.js.map +0 -1
- package/dist/web-components-library/p-edbedacb.entry.js +0 -2
- package/dist/web-components-library/p-edbedacb.entry.js.map +0 -1
- package/dist/web-components-library/p-f6138bf7.entry.js +0 -2
- package/dist/web-components-library/p-f8bc8ed9.entry.js +0 -2
- package/dist/web-components-library/p-f8bc8ed9.entry.js.map +0 -1
- package/www/build/p-0673b282.entry.js +0 -2
- package/www/build/p-0673b282.entry.js.map +0 -1
- package/www/build/p-26788712.entry.js +0 -2
- package/www/build/p-26788712.entry.js.map +0 -1
- package/www/build/p-2fcbc1a1.entry.js +0 -2
- package/www/build/p-2fcbc1a1.entry.js.map +0 -1
- package/www/build/p-30d82cf1.entry.js +0 -2
- package/www/build/p-30d82cf1.entry.js.map +0 -1
- package/www/build/p-31883d39.entry.js.map +0 -1
- package/www/build/p-35d62356.entry.js +0 -2
- package/www/build/p-35d62356.entry.js.map +0 -1
- package/www/build/p-39027ac1.entry.js +0 -2
- package/www/build/p-39027ac1.entry.js.map +0 -1
- package/www/build/p-39bb7ee4.entry.js +0 -2
- package/www/build/p-39bb7ee4.entry.js.map +0 -1
- package/www/build/p-3b70a97c.entry.js +0 -2
- package/www/build/p-3b70a97c.entry.js.map +0 -1
- package/www/build/p-41f63f0e.entry.js +0 -2
- package/www/build/p-472fe240.js +0 -2
- package/www/build/p-487e3fca.entry.js +0 -2
- package/www/build/p-487e3fca.entry.js.map +0 -1
- package/www/build/p-4c1b6c40.entry.js +0 -2
- package/www/build/p-4c1b6c40.entry.js.map +0 -1
- package/www/build/p-5af96c6f.entry.js +0 -2
- package/www/build/p-5c012917.entry.js +0 -2
- package/www/build/p-6c5937db.entry.js +0 -2
- package/www/build/p-7313c22c.entry.js.map +0 -1
- package/www/build/p-7b4f5936.entry.js.map +0 -1
- package/www/build/p-817630e4.entry.js +0 -2
- package/www/build/p-817630e4.entry.js.map +0 -1
- package/www/build/p-831d85f5.entry.js +0 -2
- package/www/build/p-831d85f5.entry.js.map +0 -1
- package/www/build/p-873e12a2.entry.js +0 -2
- package/www/build/p-873e12a2.entry.js.map +0 -1
- package/www/build/p-908b8d73.entry.js +0 -2
- package/www/build/p-908b8d73.entry.js.map +0 -1
- package/www/build/p-9b181758.entry.js +0 -2
- package/www/build/p-9b181758.entry.js.map +0 -1
- package/www/build/p-a4df3220.entry.js +0 -2
- package/www/build/p-a4df3220.entry.js.map +0 -1
- package/www/build/p-a702edc4.entry.js +0 -2
- package/www/build/p-a702edc4.entry.js.map +0 -1
- package/www/build/p-ad4c702b.entry.js +0 -2
- package/www/build/p-ad4c702b.entry.js.map +0 -1
- package/www/build/p-b15d006f.entry.js +0 -2
- package/www/build/p-b15d006f.entry.js.map +0 -1
- package/www/build/p-bbb9029e.entry.js +0 -2
- package/www/build/p-bbb9029e.entry.js.map +0 -1
- package/www/build/p-cb7381a0.entry.js +0 -2
- package/www/build/p-ccdfec00.entry.js +0 -2
- package/www/build/p-ccdfec00.entry.js.map +0 -1
- package/www/build/p-ec12d752.entry.js +0 -2
- package/www/build/p-ec12d752.entry.js.map +0 -1
- package/www/build/p-edbedacb.entry.js +0 -2
- package/www/build/p-edbedacb.entry.js.map +0 -1
- package/www/build/p-f6138bf7.entry.js +0 -2
- package/www/build/p-f8bc8ed9.entry.js +0 -2
- package/www/build/p-f8bc8ed9.entry.js.map +0 -1
- /package/dist/web-components-library/{p-cdfbcb3b.entry.js.map → p-02fb0bf9.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-e1081a2f.entry.js.map → p-067411f0.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-136f336a.entry.js.map → p-121f224a.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-af6bdd6e.entry.js.map → p-1e71577c.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-4085be9a.entry.js.map → p-1ef66142.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-22cb956c.entry.js.map → p-1efed23b.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-ab221eac.entry.js.map → p-222898cd.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-c39e4a49.entry.js.map → p-2bd1326c.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-67476a7c.entry.js.map → p-317cbb00.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-6d382092.entry.js.map → p-32bc925a.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-f36e7e6b.entry.js.map → p-33d993fe.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-1a13cd9b.entry.js.map → p-3748979c.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-20401d48.entry.js.map → p-3a9a120f.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-0251d009.entry.js.map → p-4f6c86ce.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-5b3cfc2e.entry.js.map → p-51ebf661.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-0c9247be.entry.js.map → p-6ea349f6.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-39b91bfa.entry.js.map → p-7dbd0e3e.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-aba618c3.entry.js.map → p-89b30fce.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-f6138bf7.entry.js.map → p-8b3257b4.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-b38bca77.entry.js.map → p-8c3a7bc1.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-bb610386.entry.js.map → p-8d2704ee.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-82e87326.entry.js.map → p-8f4fcd01.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-cb7381a0.entry.js.map → p-8fb3354e.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-88c45ed6.entry.js.map → p-904c7fdd.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-b7d4b886.entry.js.map → p-a5187022.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-fa02ba25.entry.js.map → p-a52b3dd1.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-6c5937db.entry.js.map → p-a8f43afd.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-869ba2b5.entry.js.map → p-b7620e80.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-a09646a9.entry.js.map → p-bc9237eb.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-7965766c.entry.js.map → p-ccedd440.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-8f6ff78c.entry.js.map → p-d6441232.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-87ea0b0a.entry.js.map → p-df5eeb75.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-4a7431f6.entry.js.map → p-dfb0e8d8.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-a2eb700b.entry.js.map → p-efe489a5.entry.js.map} +0 -0
- /package/www/build/{p-cdfbcb3b.entry.js.map → p-02fb0bf9.entry.js.map} +0 -0
- /package/www/build/{p-e1081a2f.entry.js.map → p-067411f0.entry.js.map} +0 -0
- /package/www/build/{p-136f336a.entry.js.map → p-121f224a.entry.js.map} +0 -0
- /package/www/build/{p-af6bdd6e.entry.js.map → p-1e71577c.entry.js.map} +0 -0
- /package/www/build/{p-4085be9a.entry.js.map → p-1ef66142.entry.js.map} +0 -0
- /package/www/build/{p-22cb956c.entry.js.map → p-1efed23b.entry.js.map} +0 -0
- /package/www/build/{p-ab221eac.entry.js.map → p-222898cd.entry.js.map} +0 -0
- /package/www/build/{p-c39e4a49.entry.js.map → p-2bd1326c.entry.js.map} +0 -0
- /package/www/build/{p-67476a7c.entry.js.map → p-317cbb00.entry.js.map} +0 -0
- /package/www/build/{p-6d382092.entry.js.map → p-32bc925a.entry.js.map} +0 -0
- /package/www/build/{p-f36e7e6b.entry.js.map → p-33d993fe.entry.js.map} +0 -0
- /package/www/build/{p-1a13cd9b.entry.js.map → p-3748979c.entry.js.map} +0 -0
- /package/www/build/{p-20401d48.entry.js.map → p-3a9a120f.entry.js.map} +0 -0
- /package/www/build/{p-0251d009.entry.js.map → p-4f6c86ce.entry.js.map} +0 -0
- /package/www/build/{p-5b3cfc2e.entry.js.map → p-51ebf661.entry.js.map} +0 -0
- /package/www/build/{p-0c9247be.entry.js.map → p-6ea349f6.entry.js.map} +0 -0
- /package/www/build/{p-39b91bfa.entry.js.map → p-7dbd0e3e.entry.js.map} +0 -0
- /package/www/build/{p-aba618c3.entry.js.map → p-89b30fce.entry.js.map} +0 -0
- /package/www/build/{p-f6138bf7.entry.js.map → p-8b3257b4.entry.js.map} +0 -0
- /package/www/build/{p-b38bca77.entry.js.map → p-8c3a7bc1.entry.js.map} +0 -0
- /package/www/build/{p-bb610386.entry.js.map → p-8d2704ee.entry.js.map} +0 -0
- /package/www/build/{p-82e87326.entry.js.map → p-8f4fcd01.entry.js.map} +0 -0
- /package/www/build/{p-cb7381a0.entry.js.map → p-8fb3354e.entry.js.map} +0 -0
- /package/www/build/{p-88c45ed6.entry.js.map → p-904c7fdd.entry.js.map} +0 -0
- /package/www/build/{p-b7d4b886.entry.js.map → p-a5187022.entry.js.map} +0 -0
- /package/www/build/{p-fa02ba25.entry.js.map → p-a52b3dd1.entry.js.map} +0 -0
- /package/www/build/{p-6c5937db.entry.js.map → p-a8f43afd.entry.js.map} +0 -0
- /package/www/build/{p-869ba2b5.entry.js.map → p-b7620e80.entry.js.map} +0 -0
- /package/www/build/{p-a09646a9.entry.js.map → p-bc9237eb.entry.js.map} +0 -0
- /package/www/build/{p-7965766c.entry.js.map → p-ccedd440.entry.js.map} +0 -0
- /package/www/build/{p-8f6ff78c.entry.js.map → p-d6441232.entry.js.map} +0 -0
- /package/www/build/{p-87ea0b0a.entry.js.map → p-df5eeb75.entry.js.map} +0 -0
- /package/www/build/{p-4a7431f6.entry.js.map → p-dfb0e8d8.entry.js.map} +0 -0
- /package/www/build/{p-a2eb700b.entry.js.map → p-efe489a5.entry.js.map} +0 -0
|
@@ -1,134 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var index = require('./index-CZz7uP-M.js');
|
|
4
|
-
var index$1 = require('./index-DppFfqsn.js');
|
|
5
|
-
var utils = require('./utils-C0QY75C2.js');
|
|
6
|
-
require('./breakpoints-B7vFm-3T.js');
|
|
7
|
-
|
|
8
|
-
const stylesCss = () => `:host{display:block;width:inherit;font-family:var(--font-family-sans);font-weight:var(--font-rg)}:host>div{display:flex;width:inherit;flex-direction:column}main{position:relative;overflow:hidden;width:100%}main z-icon.scroll{position:absolute;z-index:10;top:50%;width:auto;margin:0 var(--space-unit);cursor:pointer;fill:var(--color-primary01);transition:0.6s ease}main .scroll.disabled{opacity:0.5;pointer-events:none}main .scroll.right{right:0}#slides{display:flex;flex-wrap:wrap;line-height:0px;overflow-y:hidden;transition:all 300ms}footer{display:grid;width:100%;height:56px;align-items:center;border-top:var(--border-size-medium) solid var(--color-background);grid-template:2 / 2;grid-template-areas:"center center" "left right"}footer>div{width:100%;align-items:center}footer .footer-center{grid-area:center}footer .footer-left{grid-area:left}footer .footer-right{grid-area:right}footer .bullet-container{display:flex;min-height:60px;align-items:center;justify-content:center;margin:0 auto}footer .bullet-container .bullet{width:8px;height:8px;margin:var(--space-unit) 2px;background-color:var(--gray200);border-radius:50%;pointer-events:none}footer .bullet-container .bullet.selected{background-color:var(--gray400)}main z-icon:focus,footer .bullet-container .bullet:focus{border-radius:50%;box-shadow:var(--shadow-focus-primary);outline:none !important}@media only screen and (min-width: 768px){footer{height:76px;border-top:var(--border-size-medium) solid var(--color-background);grid-template:1 / 1fr 2fr 1fr;grid-template-areas:"left center right"}footer .bullet-container .bullet{width:10px;height:10px;margin:var(--space-unit) 3px}}@media only screen and (min-width: 1025px){main z-icon.scroll{margin:0 10px}footer .bullet-container .bullet{width:16px;height:16px;margin:var(--space-unit) calc(var(--space-unit) * 0.5);cursor:pointer;pointer-events:auto}}`;
|
|
9
|
-
|
|
10
|
-
/**
|
|
11
|
-
* Check if data is an array of strings.
|
|
12
|
-
* @param {unknown} data Data to check
|
|
13
|
-
* @returns {boolean}
|
|
14
|
-
*/
|
|
15
|
-
function isStringArray(data) {
|
|
16
|
-
return Array.isArray(data) && data.every((datum) => typeof datum === "string");
|
|
17
|
-
}
|
|
18
|
-
const ZSlideshow = class {
|
|
19
|
-
constructor(hostRef) {
|
|
20
|
-
index.registerInstance(this, hostRef);
|
|
21
|
-
this.currentSlide = 0;
|
|
22
|
-
}
|
|
23
|
-
watchData() {
|
|
24
|
-
this.parseLinks();
|
|
25
|
-
}
|
|
26
|
-
componentWillLoad() {
|
|
27
|
-
this.parseLinks();
|
|
28
|
-
this.setDevice();
|
|
29
|
-
window.addEventListener("resize", this.handleResize.bind(this));
|
|
30
|
-
}
|
|
31
|
-
componentDidRender() {
|
|
32
|
-
this.setStyle();
|
|
33
|
-
}
|
|
34
|
-
handleResize() {
|
|
35
|
-
this.setDevice();
|
|
36
|
-
this.setStyle();
|
|
37
|
-
}
|
|
38
|
-
parseLinks() {
|
|
39
|
-
var _a;
|
|
40
|
-
switch (typeof this.data) {
|
|
41
|
-
case "string": {
|
|
42
|
-
const parsed = (_a = utils.convertJson(this.data)) !== null && _a !== void 0 ? _a : [];
|
|
43
|
-
if (!isStringArray(parsed)) {
|
|
44
|
-
throw new Error("Passed data is invalid");
|
|
45
|
-
}
|
|
46
|
-
this.links = parsed;
|
|
47
|
-
break;
|
|
48
|
-
}
|
|
49
|
-
default:
|
|
50
|
-
this.links = this.data;
|
|
51
|
-
break;
|
|
52
|
-
}
|
|
53
|
-
}
|
|
54
|
-
setStyle() {
|
|
55
|
-
const refSlides = this.el.shadowRoot.querySelector("#slides");
|
|
56
|
-
if (!refSlides) {
|
|
57
|
-
return;
|
|
58
|
-
}
|
|
59
|
-
const allImages = this.el.shadowRoot.querySelectorAll(".slide");
|
|
60
|
-
const width = this.el.offsetWidth;
|
|
61
|
-
const fullwidth = width * this.links.length;
|
|
62
|
-
refSlides.style.width = `${fullwidth}px`;
|
|
63
|
-
refSlides.style.transform = `translate(-${width * this.currentSlide}px)`;
|
|
64
|
-
allImages.forEach((item) => {
|
|
65
|
-
const img = item.querySelector("img");
|
|
66
|
-
img.style.width = `${width}px`;
|
|
67
|
-
});
|
|
68
|
-
}
|
|
69
|
-
setDevice() {
|
|
70
|
-
this.device = utils.getDevice();
|
|
71
|
-
}
|
|
72
|
-
setCurrentSlide(index) {
|
|
73
|
-
this.currentSlide = index;
|
|
74
|
-
}
|
|
75
|
-
getBulletDimension() {
|
|
76
|
-
switch (this.device) {
|
|
77
|
-
case index$1.Device.MOBILE:
|
|
78
|
-
return 24;
|
|
79
|
-
case index$1.Device.TABLET:
|
|
80
|
-
return 32;
|
|
81
|
-
default:
|
|
82
|
-
return 40;
|
|
83
|
-
}
|
|
84
|
-
}
|
|
85
|
-
renderSlides(items) {
|
|
86
|
-
return (index.h("div", { id: "slides" }, items.map((item, i) => (index.h("div", { id: "slide" + i, class: `slide ${this.currentSlide !== i && "hide"}` }, index.h("img", { src: item }))))));
|
|
87
|
-
}
|
|
88
|
-
renderScroll(direction) {
|
|
89
|
-
let disabled = false, nextSlide = this.currentSlide;
|
|
90
|
-
if (direction === "left") {
|
|
91
|
-
disabled = this.currentSlide === 0;
|
|
92
|
-
nextSlide--;
|
|
93
|
-
}
|
|
94
|
-
else if (direction === "right") {
|
|
95
|
-
disabled = this.currentSlide === this.links.length - 1;
|
|
96
|
-
nextSlide++;
|
|
97
|
-
}
|
|
98
|
-
return (index.h("z-icon", { class: `scroll ${direction} ${disabled && "disabled"}`, width: this.getBulletDimension(), height: this.getBulletDimension(), name: `chevron-${direction}-circle`, onClick: () => {
|
|
99
|
-
if (!disabled) {
|
|
100
|
-
this.setCurrentSlide(nextSlide);
|
|
101
|
-
}
|
|
102
|
-
}, onKeyUp: (e) => !disabled &&
|
|
103
|
-
utils.handleKeyboardSubmit(e, () => {
|
|
104
|
-
this.setCurrentSlide(nextSlide);
|
|
105
|
-
}), tabindex: 0, role: "button" }));
|
|
106
|
-
}
|
|
107
|
-
renderSlideshowMain() {
|
|
108
|
-
return (index.h("main", null, this.renderScroll("left"), this.renderSlides(this.links), this.renderScroll("right")));
|
|
109
|
-
}
|
|
110
|
-
renderBullet(i) {
|
|
111
|
-
return (index.h("a", { class: `bullet ${this.currentSlide === i && "selected"}`, onClick: () => this.setCurrentSlide(i), onKeyUp: (e) => utils.handleKeyboardSubmit(e, () => this.setCurrentSlide(i)), tabindex: 0, role: "button" }));
|
|
112
|
-
}
|
|
113
|
-
renderSlideshowFooter() {
|
|
114
|
-
return (index.h("footer", null, index.h("div", { class: "footer-left" }, index.h("slot", { name: "footer-left" })), index.h("div", { class: "footer-center" }, index.h("div", { class: "bullet-container" }, Object.keys(this.links).map((i) => this.renderBullet(parseInt(i))))), index.h("div", { class: "footer-right" }, index.h("slot", { name: "footer-right" }))));
|
|
115
|
-
}
|
|
116
|
-
render() {
|
|
117
|
-
if (!this.links || !this.links.length) {
|
|
118
|
-
return index.h("div", null);
|
|
119
|
-
}
|
|
120
|
-
return (index.h("div", { id: this.slideshowid }, this.renderSlideshowMain(), this.renderSlideshowFooter()));
|
|
121
|
-
}
|
|
122
|
-
get el() { return index.getElement(this); }
|
|
123
|
-
static get watchers() { return {
|
|
124
|
-
"data": [{
|
|
125
|
-
"watchData": 0
|
|
126
|
-
}]
|
|
127
|
-
}; }
|
|
128
|
-
};
|
|
129
|
-
ZSlideshow.style = stylesCss();
|
|
130
|
-
|
|
131
|
-
exports.z_slideshow = ZSlideshow;
|
|
132
|
-
//# sourceMappingURL=z-slideshow.entry.cjs.js.map
|
|
133
|
-
|
|
134
|
-
//# sourceMappingURL=z-slideshow.cjs.entry.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"file":"z-slideshow.cjs.entry.js","mappings":"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","names":["convertJson","getDevice","Device","h","handleKeyboardSubmit"],"sources":["src/snowflakes/myz/z-slideshow/styles.css?tag=z-slideshow&encapsulation=shadow","src/snowflakes/myz/z-slideshow/index.tsx"],"sourcesContent":[":host {\n display: block;\n width: inherit;\n font-family: var(--font-family-sans);\n font-weight: var(--font-rg);\n}\n\n:host > div {\n display: flex;\n width: inherit;\n flex-direction: column;\n}\n\nmain {\n position: relative;\n overflow: hidden;\n width: 100%;\n}\n\nmain z-icon.scroll {\n position: absolute;\n z-index: 10;\n top: 50%;\n width: auto;\n margin: 0 var(--space-unit);\n cursor: pointer;\n fill: var(--color-primary01);\n transition: 0.6s ease;\n}\n\nmain .scroll.disabled {\n opacity: 0.5;\n pointer-events: none;\n}\n\nmain .scroll.right {\n right: 0;\n}\n\n#slides {\n display: flex;\n flex-wrap: wrap;\n line-height: 0px;\n overflow-y: hidden;\n transition: all 300ms;\n}\n\nfooter {\n display: grid;\n width: 100%;\n height: 56px;\n align-items: center;\n border-top: var(--border-size-medium) solid var(--color-background);\n grid-template: 2 / 2;\n grid-template-areas: \"center center\" \"left right\";\n}\n\nfooter > div {\n width: 100%;\n align-items: center;\n}\n\nfooter .footer-center {\n grid-area: center;\n}\n\nfooter .footer-left {\n grid-area: left;\n}\n\nfooter .footer-right {\n grid-area: right;\n}\n\nfooter .bullet-container {\n display: flex;\n min-height: 60px;\n align-items: center;\n justify-content: center;\n margin: 0 auto;\n}\n\nfooter .bullet-container .bullet {\n width: 8px;\n height: 8px;\n margin: var(--space-unit) 2px;\n background-color: var(--gray200);\n border-radius: 50%;\n pointer-events: none;\n}\n\nfooter .bullet-container .bullet.selected {\n background-color: var(--gray400);\n}\n\nmain z-icon:focus,\nfooter .bullet-container .bullet:focus {\n border-radius: 50%;\n box-shadow: var(--shadow-focus-primary);\n outline: none !important;\n}\n\n/* Tablet breakpoint */\n\n@media only screen and (min-width: 768px) {\n footer {\n height: 76px;\n border-top: var(--border-size-medium) solid var(--color-background);\n grid-template: 1 / 1fr 2fr 1fr;\n grid-template-areas: \"left center right\";\n }\n\n footer .bullet-container .bullet {\n width: 10px;\n height: 10px;\n margin: var(--space-unit) 3px;\n }\n}\n\n/* Desktop breakpoint */\n\n@media only screen and (min-width: 1025px) {\n main z-icon.scroll {\n margin: 0 10px;\n }\n\n footer .bullet-container .bullet {\n width: 16px;\n height: 16px;\n margin: var(--space-unit) calc(var(--space-unit) * 0.5);\n cursor: pointer;\n pointer-events: auto;\n }\n}\n","import {Component, ComponentInterface, Element, Prop, State, Watch, h} from \"@stencil/core\";\nimport {Device} from \"../../../beans\";\nimport {convertJson, getDevice, handleKeyboardSubmit} from \"../../../utils/utils\";\n\n/**\n * Check if data is an array of strings.\n * @param {unknown} data Data to check\n * @returns {boolean}\n */\nfunction isStringArray(data: unknown): data is string[] {\n return Array.isArray(data) && data.every((datum: unknown): datum is string => typeof datum === \"string\");\n}\n\n/**\n * @slot footer-right - right content slot in footer\n * @slot footer-left - left content slot in footer\n */\n@Component({\n tag: \"z-slideshow\",\n styleUrl: \"styles.css\",\n shadow: true,\n})\nexport class ZSlideshow implements ComponentInterface {\n @Element() el: HTMLZSlideshowElement;\n\n /** slideshow id */\n @Prop()\n slideshowid: string;\n\n /** array or JSON stringified images urls */\n @Prop()\n data: string[] | string;\n\n @State()\n device: Device;\n\n @State()\n currentSlide = 0;\n\n private links: string[];\n\n @Watch(\"data\")\n watchData(): void {\n this.parseLinks();\n }\n\n componentWillLoad(): void {\n this.parseLinks();\n\n this.setDevice();\n window.addEventListener(\"resize\", this.handleResize.bind(this));\n }\n\n componentDidRender(): void {\n this.setStyle();\n }\n\n private handleResize(): void {\n this.setDevice();\n this.setStyle();\n }\n\n private parseLinks(): void {\n switch (typeof this.data) {\n case \"string\": {\n const parsed = convertJson(this.data) ?? [];\n if (!isStringArray(parsed)) {\n throw new Error(\"Passed data is invalid\");\n }\n\n this.links = parsed;\n break;\n }\n default:\n this.links = this.data;\n break;\n }\n }\n\n private setStyle(): void {\n const refSlides = this.el.shadowRoot.querySelector(\"#slides\") as HTMLElement;\n if (!refSlides) {\n return;\n }\n\n const allImages = this.el.shadowRoot.querySelectorAll(\".slide\");\n const width = this.el.offsetWidth;\n const fullwidth = width * this.links.length;\n\n refSlides.style.width = `${fullwidth}px`;\n refSlides.style.transform = `translate(-${width * this.currentSlide}px)`;\n allImages.forEach((item: HTMLElement) => {\n const img = item.querySelector(\"img\");\n img.style.width = `${width}px`;\n });\n }\n\n private setDevice(): void {\n this.device = getDevice();\n }\n\n private setCurrentSlide(index: number): void {\n this.currentSlide = index;\n }\n\n private getBulletDimension(): number {\n switch (this.device) {\n case Device.MOBILE:\n return 24;\n case Device.TABLET:\n return 32;\n default:\n return 40;\n }\n }\n\n private renderSlides(items: string[]): HTMLElement {\n return (\n <div id=\"slides\">\n {items.map((item: string, i: number) => (\n <div\n id={\"slide\" + i}\n class={`slide ${this.currentSlide !== i && \"hide\"}`}\n >\n <img src={item} />\n </div>\n ))}\n </div>\n );\n }\n\n private renderScroll(direction: \"left\" | \"right\"): HTMLZIconElement {\n let disabled = false,\n nextSlide = this.currentSlide;\n\n if (direction === \"left\") {\n disabled = this.currentSlide === 0;\n nextSlide--;\n } else if (direction === \"right\") {\n disabled = this.currentSlide === this.links.length - 1;\n nextSlide++;\n }\n\n return (\n <z-icon\n class={`scroll ${direction} ${disabled && \"disabled\"}`}\n width={this.getBulletDimension()}\n height={this.getBulletDimension()}\n name={`chevron-${direction}-circle`}\n onClick={() => {\n if (!disabled) {\n this.setCurrentSlide(nextSlide);\n }\n }}\n onKeyUp={(e: KeyboardEvent) =>\n !disabled &&\n handleKeyboardSubmit(e, () => {\n this.setCurrentSlide(nextSlide);\n })\n }\n tabindex={0}\n role=\"button\"\n />\n );\n }\n\n private renderSlideshowMain(): HTMLElement {\n return (\n <main>\n {this.renderScroll(\"left\")}\n {this.renderSlides(this.links)}\n {this.renderScroll(\"right\")}\n </main>\n );\n }\n\n private renderBullet(i: number): HTMLElement {\n return (\n <a\n class={`bullet ${this.currentSlide === i && \"selected\"}`}\n onClick={() => this.setCurrentSlide(i)}\n onKeyUp={(e: KeyboardEvent) => handleKeyboardSubmit(e, () => this.setCurrentSlide(i))}\n tabindex={0}\n role=\"button\"\n ></a>\n );\n }\n\n private renderSlideshowFooter(): HTMLElement {\n return (\n <footer>\n <div class=\"footer-left\">\n <slot name=\"footer-left\" />\n </div>\n <div class=\"footer-center\">\n <div class=\"bullet-container\">{Object.keys(this.links).map((i) => this.renderBullet(parseInt(i)))}</div>\n </div>\n <div class=\"footer-right\">\n <slot name=\"footer-right\" />\n </div>\n </footer>\n );\n }\n\n render(): HTMLElement {\n if (!this.links || !this.links.length) {\n return <div />;\n }\n\n return (\n <div id={this.slideshowid}>\n {this.renderSlideshowMain()}\n {this.renderSlideshowFooter()}\n </div>\n );\n }\n}\n"],"version":3}
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var index = require('./index-CZz7uP-M.js');
|
|
4
|
-
|
|
5
|
-
const stylesCss = () => `button{display:flex;height:36px;align-items:center;padding-right:calc(var(--space-unit) * 2);padding-left:0;border:var(--border-size-medium) solid;border-color:transparent;background-color:var(--color-surface01);border-radius:var(--border-radius);box-shadow:var(--shadow-2);color:var(--color-primary01);cursor:pointer;fill:var(--color-primary01);font-family:var(--font-family-sans);font-size:14px;font-weight:var(--font-sb);outline:none;text-transform:uppercase}button::-moz-focus-inner{border:0}button:hover{color:var(--color-hover-primary);fill:var(--color-hover-primary)}button:focus{box-shadow:var(--shadow-focus-primary)}button:active{border-color:var(--color-pressed-primary);box-shadow:var(--shadow-2);color:var(--color-pressed-primary);fill:var(--color-pressed-primary)}button:disabled{color:var(--color-disabled03);fill:var(--color-disabled03)}z-icon{display:inline-block;margin:0 var(--space-unit) 0 calc(var(--space-unit) * 2);transform:rotate(360deg);transition:all 200ms linear}button.isopen{top:-20px}button.avoid-clicks{pointer-events:none}`;
|
|
6
|
-
|
|
7
|
-
const ZToggleButton = class {
|
|
8
|
-
constructor(hostRef) {
|
|
9
|
-
index.registerInstance(this, hostRef);
|
|
10
|
-
this.toggleClick = index.createEvent(this, "toggleClick", 7);
|
|
11
|
-
/** disabled status flag (optional) */
|
|
12
|
-
this.isdisabled = false;
|
|
13
|
-
/** open by default (optional) */
|
|
14
|
-
this.opened = false;
|
|
15
|
-
/** aria-label for the button */
|
|
16
|
-
this.ariaLabel = "";
|
|
17
|
-
}
|
|
18
|
-
emitToggleClick() {
|
|
19
|
-
if (this.isdisabled) {
|
|
20
|
-
return;
|
|
21
|
-
}
|
|
22
|
-
this.opened = !this.opened;
|
|
23
|
-
this.toggleClick.emit(this.opened);
|
|
24
|
-
}
|
|
25
|
-
render() {
|
|
26
|
-
return (index.h("button", { key: '3882d62d3d17b5eba2cafdc83096f5185a61a985', tabindex: this.avoidclick ? "-1" : "0", class: {
|
|
27
|
-
"isopen": this.opened,
|
|
28
|
-
"avoid-clicks": this.avoidclick,
|
|
29
|
-
}, disabled: this.isdisabled, "aria-expanded": this.opened ? "true" : "false", "aria-label": this.ariaLabel, onClick: () => this.emitToggleClick() }, index.h("z-icon", { key: '820fc24fd3394845e52156525b0881d2aa4c2c62', name: this.opened ? "chevron-down" : "chevron-up", width: 16, height: 16 }), this.label));
|
|
30
|
-
}
|
|
31
|
-
};
|
|
32
|
-
ZToggleButton.style = stylesCss();
|
|
33
|
-
|
|
34
|
-
exports.z_toggle_button = ZToggleButton;
|
|
35
|
-
//# sourceMappingURL=z-toggle-button.entry.cjs.js.map
|
|
36
|
-
|
|
37
|
-
//# sourceMappingURL=z-toggle-button.cjs.entry.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"file":"z-toggle-button.cjs.entry.js","mappings":";;;;AAAA,MAAM,SAAS,GAAG,MAAM,CAAC,+hCAA+hC,CAAC;;MCO5iC,aAAa,GAAA,MAAA;AAL1B,IAAA,WAAA,CAAA,OAAA,EAAA;;;;AAYE,QAAA,IAAA,CAAA,UAAU,GAAa,KAAK;;AAQ5B,QAAA,IAAA,CAAA,MAAM,GAAa,KAAK;;AAIxB,QAAA,IAAA,CAAA,SAAS,GAAG,EAAE;AAqCf;IA/BS,eAAe,GAAA;AACrB,QAAA,IAAI,IAAI,CAAC,UAAU,EAAE;YACnB;;AAGF,QAAA,IAAI,CAAC,MAAM,GAAG,CAAC,IAAI,CAAC,MAAM;QAC1B,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,IAAI,CAAC,MAAM,CAAC;;IAGpC,MAAM,GAAA;QACJ,QACEA,OAAA,CAAA,QAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EACE,QAAQ,EAAE,IAAI,CAAC,UAAU,GAAG,IAAI,GAAG,GAAG,EACtC,KAAK,EAAE;gBACL,QAAQ,EAAE,IAAI,CAAC,MAAM;gBACrB,cAAc,EAAE,IAAI,CAAC,UAAU;AAChC,aAAA,EACD,QAAQ,EAAE,IAAI,CAAC,UAAU,EAAA,eAAA,EACV,IAAI,CAAC,MAAM,GAAG,MAAM,GAAG,OAAO,EAAA,YAAA,EACjC,IAAI,CAAC,SAAS,EAC1B,OAAO,EAAE,MAAM,IAAI,CAAC,eAAe,EAAE,EAAA,EAErCA,OAAA,CAAA,QAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EACE,IAAI,EAAE,IAAI,CAAC,MAAM,GAAG,cAAc,GAAG,YAAY,EACjD,KAAK,EAAE,EAAE,EACT,MAAM,EAAE,EAAE,EAAA,CACV,EACD,IAAI,CAAC,KAAK,CACJ;;;;;;;","names":["h"],"sources":["src/components/deprecated/z-toggle-button/styles.css?tag=z-toggle-button&encapsulation=shadow","src/components/deprecated/z-toggle-button/index.tsx"],"sourcesContent":["button {\n display: flex;\n height: 36px;\n align-items: center;\n padding-right: calc(var(--space-unit) * 2);\n padding-left: 0;\n border: var(--border-size-medium) solid;\n border-color: transparent;\n background-color: var(--color-surface01);\n border-radius: var(--border-radius);\n box-shadow: var(--shadow-2);\n color: var(--color-primary01);\n cursor: pointer;\n fill: var(--color-primary01);\n font-family: var(--font-family-sans);\n font-size: 14px;\n font-weight: var(--font-sb);\n outline: none;\n text-transform: uppercase;\n}\n\nbutton::-moz-focus-inner {\n border: 0;\n}\n\nbutton:hover {\n color: var(--color-hover-primary);\n fill: var(--color-hover-primary);\n}\n\nbutton:focus {\n box-shadow: var(--shadow-focus-primary);\n}\n\nbutton:active {\n border-color: var(--color-pressed-primary);\n box-shadow: var(--shadow-2);\n color: var(--color-pressed-primary);\n fill: var(--color-pressed-primary);\n}\n\nbutton:disabled {\n color: var(--color-disabled03);\n fill: var(--color-disabled03);\n}\n\nz-icon {\n display: inline-block;\n margin: 0 var(--space-unit) 0 calc(var(--space-unit) * 2);\n transform: rotate(360deg);\n transition: all 200ms linear;\n}\n\nbutton.isopen {\n top: -20px;\n}\n\nbutton.avoid-clicks {\n pointer-events: none;\n}\n","import {Component, ComponentInterface, Event, EventEmitter, Prop, h} from \"@stencil/core\";\n\n@Component({\n tag: \"z-toggle-button\",\n styleUrl: \"styles.css\",\n shadow: true,\n})\nexport class ZToggleButton implements ComponentInterface {\n /** label text */\n @Prop()\n label: string;\n\n /** disabled status flag (optional) */\n @Prop()\n isdisabled?: boolean = false;\n\n /** avoidclick status flag */\n @Prop()\n avoidclick: boolean;\n\n /** open by default (optional) */\n @Prop({mutable: true})\n opened?: boolean = false;\n\n /** aria-label for the button */\n @Prop()\n ariaLabel = \"\";\n\n /** emitted on toggle button click, returns isOpen */\n @Event()\n toggleClick: EventEmitter;\n\n private emitToggleClick(): void {\n if (this.isdisabled) {\n return;\n }\n\n this.opened = !this.opened;\n this.toggleClick.emit(this.opened);\n }\n\n render(): HTMLButtonElement {\n return (\n <button\n tabindex={this.avoidclick ? \"-1\" : \"0\"}\n class={{\n \"isopen\": this.opened,\n \"avoid-clicks\": this.avoidclick,\n }}\n disabled={this.isdisabled}\n aria-expanded={this.opened ? \"true\" : \"false\"}\n aria-label={this.ariaLabel}\n onClick={() => this.emitToggleClick()}\n >\n <z-icon\n name={this.opened ? \"chevron-down\" : \"chevron-up\"}\n width={16}\n height={16}\n />\n {this.label}\n </button>\n );\n }\n}\n"],"version":3}
|
|
@@ -1,415 +0,0 @@
|
|
|
1
|
-
import { Host, h, } from "@stencil/core";
|
|
2
|
-
import { ButtonVariant, ControlSize, OffCanvasVariant, TransitionDirection } from "../../../beans";
|
|
3
|
-
const SUPPORT_INTERSECTION_OBSERVER = typeof IntersectionObserver !== "undefined";
|
|
4
|
-
/**
|
|
5
|
-
* @slot title - Slot for the main title
|
|
6
|
-
* @slot subtitle - Slot for the bottom subtitle. It will not appear in stuck header.
|
|
7
|
-
* @slot top-subtitle - Slot for the top subtitle. It will not appear in stuck header.
|
|
8
|
-
* @slot stucked-title - Title for the stuck header. By default it uses the text from the `title` slot.
|
|
9
|
-
*/
|
|
10
|
-
export class ZAppHeaderDeprecated {
|
|
11
|
-
constructor() {
|
|
12
|
-
/**
|
|
13
|
-
* Stuck mode for the header.
|
|
14
|
-
* You can programmatically set it using an IntersectionObserver.
|
|
15
|
-
*/
|
|
16
|
-
this.stuck = false;
|
|
17
|
-
/**
|
|
18
|
-
* Should place an overlay over the hero image.
|
|
19
|
-
* Useful for legibility purpose.
|
|
20
|
-
*/
|
|
21
|
-
this.overlay = false;
|
|
22
|
-
/**
|
|
23
|
-
* Control menu bar position in the header.
|
|
24
|
-
* - auto: the menu bar is positioned near the title
|
|
25
|
-
* - stack: the menu bar is positioned below the title
|
|
26
|
-
* - offcanvas: the menu bar is not displayed and a burger icon appears to open the offcanvas menu
|
|
27
|
-
*/
|
|
28
|
-
this.flow = "auto";
|
|
29
|
-
/**
|
|
30
|
-
* The opening state of the drawer.
|
|
31
|
-
*/
|
|
32
|
-
this.drawerOpen = false;
|
|
33
|
-
/**
|
|
34
|
-
* Enable the search bar.
|
|
35
|
-
*/
|
|
36
|
-
this.enableSearch = false;
|
|
37
|
-
/**
|
|
38
|
-
* Placeholder text for the search bar.
|
|
39
|
-
*/
|
|
40
|
-
this.searchPlaceholder = "Cerca";
|
|
41
|
-
/**
|
|
42
|
-
* Search string for the search bar.
|
|
43
|
-
*/
|
|
44
|
-
this.searchString = "";
|
|
45
|
-
/**
|
|
46
|
-
* The stuck state of the bar.
|
|
47
|
-
*/
|
|
48
|
-
this._stuck = false;
|
|
49
|
-
/**
|
|
50
|
-
* Current viewport.
|
|
51
|
-
* Used to change the aspect of the search button (icon only) on mobile and tablet.
|
|
52
|
-
*/
|
|
53
|
-
this.currentViewport = "mobile";
|
|
54
|
-
this.observer = SUPPORT_INTERSECTION_OBSERVER &&
|
|
55
|
-
new IntersectionObserver(([entry]) => {
|
|
56
|
-
this._stuck = !entry.isIntersecting;
|
|
57
|
-
}, {
|
|
58
|
-
threshold: 0.5,
|
|
59
|
-
});
|
|
60
|
-
this.openDrawer = this.openDrawer.bind(this);
|
|
61
|
-
this.closeDrawer = this.closeDrawer.bind(this);
|
|
62
|
-
this.collectMenuElements = this.collectMenuElements.bind(this);
|
|
63
|
-
}
|
|
64
|
-
evaluateViewport() {
|
|
65
|
-
if (window.innerWidth < 768) {
|
|
66
|
-
this.currentViewport = "mobile";
|
|
67
|
-
}
|
|
68
|
-
else if (window.innerWidth >= 768 && window.innerWidth < 1152) {
|
|
69
|
-
this.currentViewport = "tablet";
|
|
70
|
-
}
|
|
71
|
-
else {
|
|
72
|
-
this.currentViewport = "desktop";
|
|
73
|
-
}
|
|
74
|
-
}
|
|
75
|
-
onStuck() {
|
|
76
|
-
const scrollParent = this.scrollParent;
|
|
77
|
-
if (!scrollParent) {
|
|
78
|
-
return;
|
|
79
|
-
}
|
|
80
|
-
this.sticking.emit(this._stuck);
|
|
81
|
-
}
|
|
82
|
-
setMenuFloatingMode() {
|
|
83
|
-
if (this.menuElements.length === 0) {
|
|
84
|
-
return;
|
|
85
|
-
}
|
|
86
|
-
const elements = this.menuElements;
|
|
87
|
-
elements.forEach((element) => {
|
|
88
|
-
element.open = false;
|
|
89
|
-
element.floating = !this.drawerOpen;
|
|
90
|
-
element.verticalContext = this.drawerOpen;
|
|
91
|
-
});
|
|
92
|
-
}
|
|
93
|
-
get title() {
|
|
94
|
-
const titleElement = this.hostElement.querySelector('[slot="title"]');
|
|
95
|
-
if (titleElement === null) {
|
|
96
|
-
return "";
|
|
97
|
-
}
|
|
98
|
-
return titleElement.textContent.trim();
|
|
99
|
-
}
|
|
100
|
-
get scrollParent() {
|
|
101
|
-
const parent = this.hostElement.offsetParent;
|
|
102
|
-
if (parent === document.body || parent === document.documentElement) {
|
|
103
|
-
return window;
|
|
104
|
-
}
|
|
105
|
-
return parent;
|
|
106
|
-
}
|
|
107
|
-
get canShowMenu() {
|
|
108
|
-
return this.flow !== "offcanvas" && this.currentViewport !== "mobile" && !this.drawerOpen;
|
|
109
|
-
}
|
|
110
|
-
get canShowSearchbar() {
|
|
111
|
-
if (!this.enableSearch) {
|
|
112
|
-
return false;
|
|
113
|
-
}
|
|
114
|
-
// Always show the searchbar on desktop, even if a searchPageUrl is set
|
|
115
|
-
if (this.searchPageUrl) {
|
|
116
|
-
return this.currentViewport === "desktop";
|
|
117
|
-
}
|
|
118
|
-
return true;
|
|
119
|
-
}
|
|
120
|
-
/**
|
|
121
|
-
* Whether the header has a hero image, either as a prop or as a slot.
|
|
122
|
-
*/
|
|
123
|
-
get hasHero() {
|
|
124
|
-
return !!this.hero || this.hostElement.querySelector("[slot=hero]") !== null;
|
|
125
|
-
}
|
|
126
|
-
openDrawer() {
|
|
127
|
-
this.drawerOpen = true;
|
|
128
|
-
}
|
|
129
|
-
closeDrawer() {
|
|
130
|
-
this.drawerOpen = false;
|
|
131
|
-
}
|
|
132
|
-
collectMenuElements() {
|
|
133
|
-
const menuElements = (this.menuElements = this.hostElement.querySelectorAll('[slot="menu"]'));
|
|
134
|
-
this.menuLength = menuElements.length;
|
|
135
|
-
this.setMenuFloatingMode();
|
|
136
|
-
}
|
|
137
|
-
enableStuckObserver() {
|
|
138
|
-
if (this.observer) {
|
|
139
|
-
this.observer.observe(this.container);
|
|
140
|
-
}
|
|
141
|
-
}
|
|
142
|
-
disableStuckMode() {
|
|
143
|
-
this._stuck = false;
|
|
144
|
-
if (this.observer) {
|
|
145
|
-
this.observer.unobserve(this.container);
|
|
146
|
-
}
|
|
147
|
-
}
|
|
148
|
-
onStuckMode() {
|
|
149
|
-
if (this.stuck) {
|
|
150
|
-
this.enableStuckObserver();
|
|
151
|
-
}
|
|
152
|
-
else {
|
|
153
|
-
this.disableStuckMode();
|
|
154
|
-
}
|
|
155
|
-
}
|
|
156
|
-
renderSearchLinkButton() {
|
|
157
|
-
if (!this.enableSearch || !this.searchPageUrl || this.currentViewport === "desktop") {
|
|
158
|
-
return null;
|
|
159
|
-
}
|
|
160
|
-
return (h("z-button", { class: "search-page-button", variant: ButtonVariant.SECONDARY, href: this.searchPageUrl, icon: "search", size: ControlSize.X_SMALL }));
|
|
161
|
-
}
|
|
162
|
-
renderSeachbar(searchButtonIconOnly) {
|
|
163
|
-
return (h("z-searchbar", { value: this.searchString, placeholder: this.searchPlaceholder, showSearchButton: true, searchButtonIconOnly: searchButtonIconOnly, size: ControlSize.X_SMALL, variant: ButtonVariant.SECONDARY, preventSubmit: this.searchString.length < 3, onSearchTyping: (e) => (this.searchString = e.detail) }));
|
|
164
|
-
}
|
|
165
|
-
componentDidLoad() {
|
|
166
|
-
this.collectMenuElements();
|
|
167
|
-
this.onStuckMode();
|
|
168
|
-
this.evaluateViewport();
|
|
169
|
-
}
|
|
170
|
-
render() {
|
|
171
|
-
return (h(Host, { key: 'aded309a3cb1033c51f95d94de1cd796f643fea0', "menu-length": this.menuLength }, this.hasHero && (h("div", { key: '78458badadf63a3366eaba9481ed709f7cb455c5', class: "hero-container" }, h("slot", { key: '1296c2091f4dd8b2f5215f07ea096772fc700abb', name: "hero" }, this.hero && (h("img", { key: 'ed06c899fb3e2b7316161555b307033a6821f64a', alt: "", src: this.hero }))))), h("div", { key: 'd8e275bde97fe5d694a50c33b5b32db7aee7699e', class: "heading-panel", ref: (el) => (this.container = el) }, h("div", { key: 'ce6fe29fd508558b3d75dba200006dfa31ba5ad9', class: "heading-container" }, h("div", { key: '5464ae272a15fcd6a975b62f5d2d6206d6f3f060', class: "heading-subtitle" }, h("slot", { key: '53c143c49c40cd3cef1475af920122ca5abd5329', name: "top-subtitle" })), h("div", { key: '0c4c147537d3ece12fd35e4a5ca553aeff2a8f1c', class: "heading-title" }, this.menuLength > 0 && (h("button", { key: '68e24b4435b6ee099f288cb4cb28794834ab1f72', class: "drawer-trigger", "aria-label": "Apri menu", onClick: this.openDrawer }, h("z-icon", { key: '220a3096e3275ec8e6bee6b715926f891ed09045', name: "burger-menu" }))), h("slot", { key: '52e89fe9902914e6daafe61f47de9ea4f02bf93e', name: "title" }), this.renderSearchLinkButton()), h("div", { key: 'c1f90edc6ecb0063d53f3ed68ee718fc86397751', class: "heading-subtitle" }, h("slot", { key: '84398e5cd8bf522e13b9f29118ba20d46510fbb1', name: "subtitle" }))), (this.canShowMenu || this.canShowSearchbar) && (h("div", { key: 'e6d6d1fa5040a7c6d54869fac4c92a19407145fb', class: "menu-container" }, this.canShowMenu && (h("slot", { key: '3c442f00807b6a4ff33349709a24b6096bce3b3c', name: "menu", onSlotchange: this.collectMenuElements })), this.canShowSearchbar && this.renderSeachbar(this.currentViewport !== "desktop")))), h("z-offcanvas", { key: '268fa9a09f449e5e277ed56134cd1a5be9e9713e', variant: OffCanvasVariant.OVERLAY, transitiondirection: TransitionDirection.RIGHT, open: this.drawerOpen, onCanvasOpenStatusChanged: (ev) => (this.drawerOpen = ev.detail) }, h("button", { key: 'be0350100f473da07ac89c22b950c0ff5f2dc14a', class: "drawer-close", "aria-label": "Chiudi menu", onClick: this.closeDrawer, slot: "canvasContent", "aria-hidden": `${!this.drawerOpen}`, disabled: !this.drawerOpen }, h("z-icon", { key: 'ebe1a2dd92cb3d010741e8745c5359a852e46253', name: "close" })), h("div", { key: 'cb6b380cfddc334c84fae9a045d4b886ff8d3f26', class: "drawer-content", slot: "canvasContent", "aria-hidden": `${!this.drawerOpen}` }, h("slot", { key: 'e120aa846065db5a7c0d9827e7b74a98f7b41f25', name: "menu", onSlotchange: this.collectMenuElements }))), this._stuck && (h("div", { key: '7d0460155469d822b7f608804dc1465f08e28b02', class: "heading-stuck" }, h("div", { key: 'b570cf1d407aad9a9c2a10af56835f3a3d5f1379', class: "heading-stuck-content" }, this.menuLength > 0 && (h("button", { key: '06929d598cab5b080e0f3b23606ca6e4ee50a113', class: "drawer-trigger", "aria-label": "Apri menu", onClick: this.openDrawer }, h("z-icon", { key: '807ee08ed6a4db7ca124114007e1a2d52dca75e0', name: "burger-menu" }))), h("div", { key: 'dfbb47685f209528aa6a70f29b5cb5ca83a4a2e6', class: "heading-title" }, h("slot", { key: 'aff80bd515be456bc15b5fa91dbc85ce33fe6562', name: "stucked-title" }, this.title)), this.renderSearchLinkButton(), this.canShowSearchbar && this.currentViewport === "desktop" && this.renderSeachbar(false))))));
|
|
172
|
-
}
|
|
173
|
-
static get is() { return "z-app-header-deprecated"; }
|
|
174
|
-
static get encapsulation() { return "shadow"; }
|
|
175
|
-
static get originalStyleUrls() {
|
|
176
|
-
return {
|
|
177
|
-
"$": ["styles.css"]
|
|
178
|
-
};
|
|
179
|
-
}
|
|
180
|
-
static get styleUrls() {
|
|
181
|
-
return {
|
|
182
|
-
"$": ["styles.css"]
|
|
183
|
-
};
|
|
184
|
-
}
|
|
185
|
-
static get properties() {
|
|
186
|
-
return {
|
|
187
|
-
"stuck": {
|
|
188
|
-
"type": "boolean",
|
|
189
|
-
"mutable": false,
|
|
190
|
-
"complexType": {
|
|
191
|
-
"original": "boolean",
|
|
192
|
-
"resolved": "boolean",
|
|
193
|
-
"references": {}
|
|
194
|
-
},
|
|
195
|
-
"required": false,
|
|
196
|
-
"optional": false,
|
|
197
|
-
"docs": {
|
|
198
|
-
"tags": [],
|
|
199
|
-
"text": "Stuck mode for the header.\nYou can programmatically set it using an IntersectionObserver."
|
|
200
|
-
},
|
|
201
|
-
"getter": false,
|
|
202
|
-
"setter": false,
|
|
203
|
-
"reflect": true,
|
|
204
|
-
"attribute": "stuck",
|
|
205
|
-
"defaultValue": "false"
|
|
206
|
-
},
|
|
207
|
-
"hero": {
|
|
208
|
-
"type": "string",
|
|
209
|
-
"mutable": false,
|
|
210
|
-
"complexType": {
|
|
211
|
-
"original": "string",
|
|
212
|
-
"resolved": "string",
|
|
213
|
-
"references": {}
|
|
214
|
-
},
|
|
215
|
-
"required": false,
|
|
216
|
-
"optional": false,
|
|
217
|
-
"docs": {
|
|
218
|
-
"tags": [],
|
|
219
|
-
"text": "Set the hero image source for the header.\nYou can also use a [slot=\"hero\"] node for advanced customization."
|
|
220
|
-
},
|
|
221
|
-
"getter": false,
|
|
222
|
-
"setter": false,
|
|
223
|
-
"reflect": false,
|
|
224
|
-
"attribute": "hero"
|
|
225
|
-
},
|
|
226
|
-
"overlay": {
|
|
227
|
-
"type": "boolean",
|
|
228
|
-
"mutable": false,
|
|
229
|
-
"complexType": {
|
|
230
|
-
"original": "boolean",
|
|
231
|
-
"resolved": "boolean",
|
|
232
|
-
"references": {}
|
|
233
|
-
},
|
|
234
|
-
"required": false,
|
|
235
|
-
"optional": false,
|
|
236
|
-
"docs": {
|
|
237
|
-
"tags": [],
|
|
238
|
-
"text": "Should place an overlay over the hero image.\nUseful for legibility purpose."
|
|
239
|
-
},
|
|
240
|
-
"getter": false,
|
|
241
|
-
"setter": false,
|
|
242
|
-
"reflect": true,
|
|
243
|
-
"attribute": "overlay",
|
|
244
|
-
"defaultValue": "false"
|
|
245
|
-
},
|
|
246
|
-
"flow": {
|
|
247
|
-
"type": "string",
|
|
248
|
-
"mutable": false,
|
|
249
|
-
"complexType": {
|
|
250
|
-
"original": "\"auto\" | \"stack\" | \"offcanvas\"",
|
|
251
|
-
"resolved": "\"auto\" | \"offcanvas\" | \"stack\"",
|
|
252
|
-
"references": {}
|
|
253
|
-
},
|
|
254
|
-
"required": false,
|
|
255
|
-
"optional": false,
|
|
256
|
-
"docs": {
|
|
257
|
-
"tags": [],
|
|
258
|
-
"text": "Control menu bar position in the header.\n- auto: the menu bar is positioned near the title\n- stack: the menu bar is positioned below the title\n- offcanvas: the menu bar is not displayed and a burger icon appears to open the offcanvas menu"
|
|
259
|
-
},
|
|
260
|
-
"getter": false,
|
|
261
|
-
"setter": false,
|
|
262
|
-
"reflect": true,
|
|
263
|
-
"attribute": "flow",
|
|
264
|
-
"defaultValue": "\"auto\""
|
|
265
|
-
},
|
|
266
|
-
"drawerOpen": {
|
|
267
|
-
"type": "boolean",
|
|
268
|
-
"mutable": false,
|
|
269
|
-
"complexType": {
|
|
270
|
-
"original": "boolean",
|
|
271
|
-
"resolved": "boolean",
|
|
272
|
-
"references": {}
|
|
273
|
-
},
|
|
274
|
-
"required": false,
|
|
275
|
-
"optional": false,
|
|
276
|
-
"docs": {
|
|
277
|
-
"tags": [],
|
|
278
|
-
"text": "The opening state of the drawer."
|
|
279
|
-
},
|
|
280
|
-
"getter": false,
|
|
281
|
-
"setter": false,
|
|
282
|
-
"reflect": true,
|
|
283
|
-
"attribute": "drawer-open",
|
|
284
|
-
"defaultValue": "false"
|
|
285
|
-
},
|
|
286
|
-
"enableSearch": {
|
|
287
|
-
"type": "boolean",
|
|
288
|
-
"mutable": false,
|
|
289
|
-
"complexType": {
|
|
290
|
-
"original": "boolean",
|
|
291
|
-
"resolved": "boolean",
|
|
292
|
-
"references": {}
|
|
293
|
-
},
|
|
294
|
-
"required": false,
|
|
295
|
-
"optional": false,
|
|
296
|
-
"docs": {
|
|
297
|
-
"tags": [],
|
|
298
|
-
"text": "Enable the search bar."
|
|
299
|
-
},
|
|
300
|
-
"getter": false,
|
|
301
|
-
"setter": false,
|
|
302
|
-
"reflect": true,
|
|
303
|
-
"attribute": "enable-search",
|
|
304
|
-
"defaultValue": "false"
|
|
305
|
-
},
|
|
306
|
-
"searchPlaceholder": {
|
|
307
|
-
"type": "string",
|
|
308
|
-
"mutable": false,
|
|
309
|
-
"complexType": {
|
|
310
|
-
"original": "string",
|
|
311
|
-
"resolved": "string",
|
|
312
|
-
"references": {}
|
|
313
|
-
},
|
|
314
|
-
"required": false,
|
|
315
|
-
"optional": false,
|
|
316
|
-
"docs": {
|
|
317
|
-
"tags": [],
|
|
318
|
-
"text": "Placeholder text for the search bar."
|
|
319
|
-
},
|
|
320
|
-
"getter": false,
|
|
321
|
-
"setter": false,
|
|
322
|
-
"reflect": false,
|
|
323
|
-
"attribute": "search-placeholder",
|
|
324
|
-
"defaultValue": "\"Cerca\""
|
|
325
|
-
},
|
|
326
|
-
"searchString": {
|
|
327
|
-
"type": "string",
|
|
328
|
-
"mutable": true,
|
|
329
|
-
"complexType": {
|
|
330
|
-
"original": "string",
|
|
331
|
-
"resolved": "string",
|
|
332
|
-
"references": {}
|
|
333
|
-
},
|
|
334
|
-
"required": false,
|
|
335
|
-
"optional": false,
|
|
336
|
-
"docs": {
|
|
337
|
-
"tags": [],
|
|
338
|
-
"text": "Search string for the search bar."
|
|
339
|
-
},
|
|
340
|
-
"getter": false,
|
|
341
|
-
"setter": false,
|
|
342
|
-
"reflect": false,
|
|
343
|
-
"attribute": "search-string",
|
|
344
|
-
"defaultValue": "\"\""
|
|
345
|
-
},
|
|
346
|
-
"searchPageUrl": {
|
|
347
|
-
"type": "string",
|
|
348
|
-
"mutable": false,
|
|
349
|
-
"complexType": {
|
|
350
|
-
"original": "string",
|
|
351
|
-
"resolved": "string",
|
|
352
|
-
"references": {}
|
|
353
|
-
},
|
|
354
|
-
"required": false,
|
|
355
|
-
"optional": false,
|
|
356
|
-
"docs": {
|
|
357
|
-
"tags": [],
|
|
358
|
-
"text": "Url to the search page.\nSet this prop and `enableSearch` to show a link-button on mobile and tablet viewports, instead of the normal searchbar.\nThe link will also appear on the sticky header."
|
|
359
|
-
},
|
|
360
|
-
"getter": false,
|
|
361
|
-
"setter": false,
|
|
362
|
-
"reflect": false,
|
|
363
|
-
"attribute": "search-page-url"
|
|
364
|
-
}
|
|
365
|
-
};
|
|
366
|
-
}
|
|
367
|
-
static get states() {
|
|
368
|
-
return {
|
|
369
|
-
"_stuck": {},
|
|
370
|
-
"currentViewport": {},
|
|
371
|
-
"menuLength": {}
|
|
372
|
-
};
|
|
373
|
-
}
|
|
374
|
-
static get events() {
|
|
375
|
-
return [{
|
|
376
|
-
"method": "sticking",
|
|
377
|
-
"name": "sticking",
|
|
378
|
-
"bubbles": true,
|
|
379
|
-
"cancelable": true,
|
|
380
|
-
"composed": true,
|
|
381
|
-
"docs": {
|
|
382
|
-
"tags": [],
|
|
383
|
-
"text": "Emitted when the `stuck` state of the header changes"
|
|
384
|
-
},
|
|
385
|
-
"complexType": {
|
|
386
|
-
"original": "any",
|
|
387
|
-
"resolved": "any",
|
|
388
|
-
"references": {}
|
|
389
|
-
}
|
|
390
|
-
}];
|
|
391
|
-
}
|
|
392
|
-
static get elementRef() { return "hostElement"; }
|
|
393
|
-
static get watchers() {
|
|
394
|
-
return [{
|
|
395
|
-
"propName": "_stuck",
|
|
396
|
-
"methodName": "onStuck"
|
|
397
|
-
}, {
|
|
398
|
-
"propName": "drawerOpen",
|
|
399
|
-
"methodName": "setMenuFloatingMode"
|
|
400
|
-
}, {
|
|
401
|
-
"propName": "stuck",
|
|
402
|
-
"methodName": "onStuckMode"
|
|
403
|
-
}];
|
|
404
|
-
}
|
|
405
|
-
static get listeners() {
|
|
406
|
-
return [{
|
|
407
|
-
"name": "resize",
|
|
408
|
-
"method": "evaluateViewport",
|
|
409
|
-
"target": "window",
|
|
410
|
-
"capture": false,
|
|
411
|
-
"passive": true
|
|
412
|
-
}];
|
|
413
|
-
}
|
|
414
|
-
}
|
|
415
|
-
//# sourceMappingURL=index.js.map
|