@zanichelli/albe-web-components 6.3.2 → 6.3.3
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 +22 -0
- package/dist/cjs/index-e3299e0a.js +18 -74
- package/dist/cjs/{index-f08f7171.js → index-fa110f37.js} +13 -54
- package/dist/cjs/index.cjs.js +2 -26
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/{utils-73ead59e.js → utils-600bad93.js} +1 -1
- package/dist/cjs/{utils-7fde0c53.js → utils-8bc9056f.js} +1 -1
- package/dist/cjs/web-components-library.cjs.js +2 -2
- package/dist/cjs/z-alert.cjs.entry.js +0 -1
- package/dist/cjs/z-anchor-navigation.cjs.entry.js +8 -1
- package/dist/cjs/z-app-header_2.cjs.entry.js +29 -12
- package/dist/cjs/{z-logo.cjs.entry.js → z-app-switcher_2.cjs.entry.js} +23 -6
- package/dist/cjs/z-app-topbar.cjs.entry.js +3 -7
- package/dist/cjs/z-aria-alert.cjs.entry.js +2 -1
- package/dist/cjs/z-avatar.cjs.entry.js +4 -3
- package/dist/cjs/z-body_2.cjs.entry.js +2 -4
- package/dist/cjs/z-button-sort.cjs.entry.js +4 -4
- package/dist/cjs/z-button.cjs.entry.js +6 -6
- package/dist/cjs/z-card.cjs.entry.js +3 -4
- package/dist/cjs/z-carousel.cjs.entry.js +6 -8
- package/dist/cjs/z-chip.cjs.entry.js +4 -4
- package/dist/cjs/z-combobox.cjs.entry.js +14 -13
- package/dist/cjs/z-contextual-menu.cjs.entry.js +8 -3
- package/dist/cjs/z-cover-hero.cjs.entry.js +8 -1
- package/dist/cjs/z-date-picker.cjs.entry.js +4 -4
- package/dist/cjs/z-divider.cjs.entry.js +4 -1
- package/dist/cjs/z-dragdrop-area_2.cjs.entry.js +1 -2
- package/dist/cjs/z-file-upload.cjs.entry.js +6 -10
- package/dist/cjs/z-file.cjs.entry.js +2 -4
- package/dist/cjs/z-info-box.cjs.entry.js +1 -1
- package/dist/cjs/z-info-reveal.cjs.entry.js +5 -2
- package/dist/cjs/z-input_2.cjs.entry.js +12 -18
- package/dist/cjs/z-link.cjs.entry.js +9 -3
- package/dist/cjs/z-list_3.cjs.entry.js +71 -12
- package/dist/cjs/z-menu-dropdown.cjs.entry.js +59 -0
- package/dist/cjs/z-menu-section.cjs.entry.js +0 -3
- package/dist/cjs/z-menu.cjs.entry.js +10 -3
- package/dist/cjs/z-messages-pocket.cjs.entry.js +2 -3
- package/dist/cjs/z-modal-login.cjs.entry.js +2 -5
- package/dist/cjs/z-modal.cjs.entry.js +1 -3
- package/dist/cjs/z-myz-card-alert.cjs.entry.js +1 -5
- package/dist/cjs/z-myz-card-dictionary.cjs.entry.js +5 -3
- package/dist/cjs/z-myz-card-footer.cjs.entry.js +3 -6
- package/dist/cjs/z-myz-card-icon.cjs.entry.js +2 -1
- package/dist/cjs/z-myz-card-info.cjs.entry.js +4 -4
- package/dist/cjs/z-myz-card-list.cjs.entry.js +0 -1
- package/dist/cjs/z-myz-card_4.cjs.entry.js +3 -10
- package/dist/cjs/z-myz-list-item.cjs.entry.js +4 -7
- package/dist/cjs/z-myz-list.cjs.entry.js +35 -0
- package/dist/cjs/z-navigation-tab-link.cjs.entry.js +13 -6
- package/dist/cjs/z-navigation-tab.cjs.entry.js +13 -4
- package/dist/cjs/z-navigation-tabs.cjs.entry.js +7 -4
- package/dist/cjs/z-notification.cjs.entry.js +6 -3
- package/dist/cjs/z-offcanvas.cjs.entry.js +8 -1
- package/dist/cjs/z-otp.cjs.entry.js +2 -3
- package/dist/cjs/z-pagination.cjs.entry.js +13 -6
- package/dist/cjs/z-panel-elem.cjs.entry.js +2 -7
- package/dist/cjs/z-pocket_3.cjs.entry.js +4 -5
- package/dist/cjs/z-popover.cjs.entry.js +35 -24
- package/dist/cjs/z-range-picker.cjs.entry.js +3 -7
- package/dist/cjs/z-section-title.cjs.entry.js +8 -1
- package/dist/cjs/{z-input-label_2.cjs.entry.js → z-select.cjs.entry.js} +10 -27
- package/dist/cjs/z-skip-to-content.cjs.entry.js +3 -3
- package/dist/cjs/z-slideshow.cjs.entry.js +2 -5
- package/dist/cjs/z-stepper-item.cjs.entry.js +0 -4
- package/dist/cjs/z-table-cell.cjs.entry.js +2 -2
- package/dist/cjs/z-table-empty-box.cjs.entry.js +2 -0
- package/dist/cjs/z-table-expanded-row.cjs.entry.js +0 -1
- package/dist/cjs/z-table-header-row.cjs.entry.js +0 -1
- package/dist/cjs/z-table-header.cjs.entry.js +6 -6
- package/dist/cjs/z-table-row.cjs.entry.js +2 -1
- package/dist/cjs/z-table.cjs.entry.js +9 -7
- package/dist/cjs/z-tag.cjs.entry.js +0 -2
- package/dist/cjs/z-toast-notification-list.cjs.entry.js +3 -1
- package/dist/cjs/z-toast-notification.cjs.entry.js +5 -9
- package/dist/cjs/z-toggle-button.cjs.entry.js +2 -2
- package/dist/cjs/z-toggle-switch.cjs.entry.js +6 -2
- package/dist/cjs/z-tooltip.cjs.entry.js +7 -3
- package/dist/cjs/z-user-dropdown.cjs.entry.js +1 -5
- package/dist/collection/beans/index.js +13 -54
- package/dist/collection/collection-manifest.json +1 -18
- package/dist/collection/components/buttons/z-button/index.js +5 -5
- package/dist/collection/components/buttons/z-button-sort/index.js +4 -4
- package/dist/collection/components/buttons/z-chip/index.js +2 -2
- package/dist/collection/components/buttons/z-toggle-button/index.js +2 -2
- package/dist/collection/components/buttons/z-toggle-switch/index.js +4 -0
- package/dist/collection/components/date-picker/z-date-picker/index.js +2 -2
- package/dist/collection/components/date-picker/z-range-picker/index.js +1 -5
- package/dist/collection/components/file-upload/z-file/index.js +2 -4
- package/dist/collection/components/file-upload/z-file-upload/index.js +4 -8
- package/dist/collection/components/icons/z-icon/index.js +0 -7
- package/dist/collection/components/indicators/z-stepper-item/index.js +0 -6
- package/dist/collection/components/inputs/z-combobox/index.js +12 -11
- package/dist/collection/components/inputs/z-input/index.js +10 -14
- package/dist/collection/components/inputs/z-input-message/index.js +0 -2
- package/dist/collection/components/inputs/z-select/index.js +8 -9
- package/dist/collection/components/list/z-list/index.js +6 -0
- package/dist/collection/components/list/z-list-element/index.js +49 -11
- package/dist/collection/components/list/z-list-group/index.js +15 -0
- package/dist/collection/components/list/z-toast-notification-list/index.js +2 -0
- package/dist/collection/components/logo/z-logo/index.js +0 -8
- package/dist/collection/components/modal/z-modal/index.js +1 -3
- package/dist/collection/components/modal/z-modal-login/index.js +1 -4
- package/dist/collection/components/navigation/tabs/z-navigation-tab/index.js +12 -3
- package/dist/collection/components/navigation/tabs/z-navigation-tab-link/index.js +12 -5
- package/dist/collection/components/navigation/tabs/z-navigation-tabs/index.js +6 -3
- package/dist/collection/components/navigation/z-app-header/index.js +29 -7
- package/dist/collection/components/navigation/z-app-switcher/index.js +1 -0
- package/dist/collection/components/navigation/z-app-topbar/index.js +2 -6
- package/dist/collection/components/navigation/z-link/index.js +9 -3
- package/dist/collection/components/navigation/z-menu/index.js +10 -3
- package/dist/collection/components/navigation/z-menu-dropdown/index.js +0 -3
- package/dist/collection/components/navigation/z-menu-section/index.js +0 -5
- package/dist/collection/components/navigation/z-user-dropdown/index.js +1 -5
- package/dist/collection/components/notification/z-info-box/index.js +1 -1
- package/dist/collection/components/notification/z-notification/index.js +6 -3
- package/dist/collection/components/notification/z-toast-notification/index.js +4 -8
- package/dist/collection/components/notification/z-tooltip/index.js +11 -7
- package/dist/collection/components/panel/z-panel-elem/index.js +2 -7
- package/dist/collection/components/typography/z-body/index.js +1 -2
- package/dist/collection/components/typography/z-heading/index.js +1 -2
- package/dist/collection/components/typography/z-typography/index.js +1 -2
- package/dist/collection/components/z-anchor-navigation/index.js +7 -0
- package/dist/collection/components/z-aria-alert/index.js +1 -0
- package/dist/collection/components/z-avatar/index.js +3 -2
- package/dist/collection/components/z-card/index.js +2 -3
- package/dist/collection/components/z-carousel/index.js +5 -7
- package/dist/collection/components/z-contextual-menu/index.js +12 -7
- package/dist/collection/components/z-cover-hero/index.js +7 -0
- package/dist/collection/components/z-divider/index.js +3 -0
- package/dist/collection/components/z-info-reveal/index.js +4 -1
- package/dist/collection/components/z-offcanvas/index.js +7 -0
- package/dist/collection/components/z-pagination/index.js +12 -5
- package/dist/collection/components/z-popover/index.js +38 -27
- package/dist/collection/components/z-section-title/index.js +7 -0
- package/dist/collection/components/z-skip-to-content/index.js +1 -1
- package/dist/collection/components/z-table/z-table/index.js +8 -6
- package/dist/collection/components/z-table/z-table-cell/index.js +1 -1
- package/dist/collection/components/z-table/z-table-empty-box/index.js +2 -0
- package/dist/collection/components/z-table/z-table-expanded-row/index.js +0 -3
- package/dist/collection/components/z-table/z-table-header/index.js +5 -5
- package/dist/collection/components/z-table/z-table-header-row/index.js +0 -3
- package/dist/collection/components/z-table/z-table-row/index.js +1 -0
- package/dist/collection/components/z-tag/index.js +0 -4
- package/dist/collection/snowflakes/myz/card/z-myz-card/index.js +2 -2
- package/dist/collection/snowflakes/myz/card/z-myz-card-alert/index.js +0 -6
- package/dist/collection/snowflakes/myz/card/z-myz-card-cover/index.js +0 -6
- package/dist/collection/snowflakes/myz/card/z-myz-card-dictionary/index.js +4 -2
- package/dist/collection/snowflakes/myz/card/z-myz-card-footer/index.js +2 -5
- package/dist/collection/snowflakes/myz/card/z-myz-card-header/index.js +0 -3
- package/dist/collection/snowflakes/myz/card/z-myz-card-icon/index.js +2 -1
- package/dist/collection/snowflakes/myz/card/z-myz-card-info/index.js +3 -3
- package/dist/collection/snowflakes/myz/card/z-myz-card-list/index.js +0 -1
- package/dist/collection/snowflakes/myz/list/z-myz-list/index.js +0 -4
- package/dist/collection/snowflakes/myz/list/z-myz-list-item/index.js +2 -5
- package/dist/collection/snowflakes/myz/pocket/z-messages-pocket/index.js +1 -2
- package/dist/collection/snowflakes/myz/pocket/z-pocket/index.js +1 -1
- package/dist/collection/snowflakes/myz/pocket/z-pocket-body/index.js +1 -1
- package/dist/collection/snowflakes/myz/pocket/z-pocket-header/index.js +0 -1
- package/dist/collection/snowflakes/myz/z-alert/index.js +0 -3
- package/dist/collection/snowflakes/myz/z-otp/index.js +1 -2
- package/dist/collection/snowflakes/myz/z-slideshow/index.js +0 -3
- package/dist/esm/{index-aee91593.js → index-968a240f.js} +14 -55
- package/dist/esm/index-a2ca4b97.js +18 -74
- package/dist/esm/index.js +2 -2
- package/dist/esm/loader.js +2 -2
- package/dist/esm/{utils-77c5c75d.js → utils-151f0ab4.js} +1 -1
- package/dist/esm/{utils-5dc8ce33.js → utils-ccb4d66f.js} +2 -2
- package/dist/esm/web-components-library.js +2 -2
- package/dist/esm/z-alert.entry.js +0 -1
- package/dist/esm/z-anchor-navigation.entry.js +8 -1
- package/dist/esm/z-app-header_2.entry.js +29 -12
- package/dist/esm/{z-logo.entry.js → z-app-switcher_2.entry.js} +24 -8
- package/dist/esm/z-app-topbar.entry.js +3 -7
- package/dist/esm/z-aria-alert.entry.js +2 -1
- package/dist/esm/z-avatar.entry.js +4 -3
- package/dist/esm/z-body_2.entry.js +2 -4
- package/dist/esm/z-button-sort.entry.js +4 -4
- package/dist/esm/z-button.entry.js +6 -6
- package/dist/esm/z-card.entry.js +3 -4
- package/dist/esm/z-carousel.entry.js +6 -8
- package/dist/esm/z-chip.entry.js +4 -4
- package/dist/esm/z-combobox.entry.js +14 -13
- package/dist/esm/z-contextual-menu.entry.js +8 -3
- package/dist/esm/z-cover-hero.entry.js +8 -1
- package/dist/esm/z-date-picker.entry.js +4 -4
- package/dist/esm/z-divider.entry.js +4 -1
- package/dist/esm/z-dragdrop-area_2.entry.js +1 -2
- package/dist/esm/z-file-upload.entry.js +6 -10
- package/dist/esm/z-file.entry.js +2 -4
- package/dist/esm/z-info-box.entry.js +1 -1
- package/dist/esm/z-info-reveal.entry.js +5 -2
- package/dist/esm/z-input_2.entry.js +12 -18
- package/dist/esm/z-link.entry.js +9 -3
- package/dist/esm/z-list_3.entry.js +71 -12
- package/dist/esm/z-menu-dropdown.entry.js +55 -0
- package/dist/esm/z-menu-section.entry.js +0 -3
- package/dist/esm/z-menu.entry.js +10 -3
- package/dist/esm/z-messages-pocket.entry.js +2 -3
- package/dist/esm/z-modal-login.entry.js +2 -5
- package/dist/esm/z-modal.entry.js +1 -3
- package/dist/esm/z-myz-card-alert.entry.js +1 -5
- package/dist/esm/z-myz-card-dictionary.entry.js +5 -3
- package/dist/esm/z-myz-card-footer.entry.js +3 -6
- package/dist/esm/z-myz-card-icon.entry.js +2 -1
- package/dist/esm/z-myz-card-info.entry.js +4 -4
- package/dist/esm/z-myz-card-list.entry.js +0 -1
- package/dist/esm/z-myz-card_4.entry.js +3 -10
- package/dist/esm/z-myz-list-item.entry.js +4 -7
- package/dist/esm/z-myz-list.entry.js +31 -0
- package/dist/esm/z-navigation-tab-link.entry.js +13 -6
- package/dist/esm/z-navigation-tab.entry.js +13 -4
- package/dist/esm/z-navigation-tabs.entry.js +7 -4
- package/dist/esm/z-notification.entry.js +6 -3
- package/dist/esm/z-offcanvas.entry.js +8 -1
- package/dist/esm/z-otp.entry.js +2 -3
- package/dist/esm/z-pagination.entry.js +13 -6
- package/dist/esm/z-panel-elem.entry.js +2 -7
- package/dist/esm/z-pocket_3.entry.js +4 -5
- package/dist/esm/z-popover.entry.js +35 -24
- package/dist/esm/z-range-picker.entry.js +3 -7
- package/dist/esm/z-section-title.entry.js +8 -1
- package/dist/esm/{z-input-label_2.entry.js → z-select.entry.js} +12 -28
- package/dist/esm/z-skip-to-content.entry.js +3 -3
- package/dist/esm/z-slideshow.entry.js +2 -5
- package/dist/esm/z-stepper-item.entry.js +0 -4
- package/dist/esm/z-table-cell.entry.js +2 -2
- package/dist/esm/z-table-empty-box.entry.js +2 -0
- package/dist/esm/z-table-expanded-row.entry.js +0 -1
- package/dist/esm/z-table-header-row.entry.js +0 -1
- package/dist/esm/z-table-header.entry.js +6 -6
- package/dist/esm/z-table-row.entry.js +2 -1
- package/dist/esm/z-table.entry.js +9 -7
- package/dist/esm/z-tag.entry.js +0 -2
- package/dist/esm/z-toast-notification-list.entry.js +3 -1
- package/dist/esm/z-toast-notification.entry.js +5 -9
- package/dist/esm/z-toggle-button.entry.js +2 -2
- package/dist/esm/z-toggle-switch.entry.js +6 -2
- package/dist/esm/z-tooltip.entry.js +7 -3
- package/dist/esm/z-user-dropdown.entry.js +1 -5
- package/dist/types/beans/index.d.ts +1 -60
- package/dist/types/components/notification/z-tooltip/index.d.ts +2 -2
- package/dist/types/components/z-contextual-menu/index.d.ts +2 -2
- package/dist/types/components/z-popover/index.d.ts +4 -4
- package/dist/types/components.d.ts +8 -1057
- package/dist/types/stencil-public-runtime.d.ts +0 -5
- package/dist/web-components-library/index.esm.js +1 -1
- package/dist/web-components-library/p-009c9f67.entry.js +1 -0
- package/dist/web-components-library/p-01f001fd.entry.js +1 -0
- package/dist/web-components-library/p-057600de.entry.js +1 -0
- package/dist/web-components-library/p-05ced71c.entry.js +1 -0
- package/dist/web-components-library/p-074ea569.entry.js +1 -0
- package/dist/web-components-library/p-07e18572.entry.js +1 -0
- package/dist/web-components-library/p-0843b0e7.entry.js +1 -0
- package/dist/web-components-library/p-0fa4b50b.entry.js +1 -0
- package/dist/web-components-library/p-1b6279a6.entry.js +1 -0
- package/dist/web-components-library/p-1ba8d432.entry.js +1 -0
- package/dist/web-components-library/p-1cb23bbb.entry.js +1 -0
- package/dist/web-components-library/p-20a3247c.entry.js +1 -0
- package/dist/web-components-library/{p-0f28f07e.entry.js → p-214b6cee.entry.js} +1 -1
- package/dist/web-components-library/p-26f834e5.entry.js +1 -0
- package/dist/web-components-library/p-279655eb.entry.js +1 -0
- package/{www/build/p-1fdbd448.entry.js → dist/web-components-library/p-2acd6a51.entry.js} +1 -1
- package/dist/web-components-library/p-2d1b6c3c.entry.js +1 -0
- package/dist/web-components-library/p-2efedcf4.entry.js +1 -0
- package/dist/web-components-library/{p-279b422a.entry.js → p-33352f9e.entry.js} +1 -1
- package/dist/web-components-library/p-344e7ae7.entry.js +1 -0
- package/dist/web-components-library/{p-8fee871a.entry.js → p-34c26207.entry.js} +1 -1
- package/dist/web-components-library/p-38a3cf3b.entry.js +1 -0
- package/dist/web-components-library/p-3a468aa9.entry.js +1 -0
- package/dist/web-components-library/p-3c2d438b.entry.js +1 -0
- package/dist/web-components-library/p-3f55dce6.entry.js +1 -0
- package/dist/web-components-library/p-411cbcd6.entry.js +1 -0
- package/dist/web-components-library/p-475ca461.entry.js +1 -0
- package/{www/build/p-4a322ca6.entry.js → dist/web-components-library/p-496863be.entry.js} +1 -1
- package/dist/web-components-library/p-4cd6c6f4.entry.js +1 -0
- package/dist/web-components-library/p-51e308ca.entry.js +1 -0
- package/dist/web-components-library/p-59cfee8d.entry.js +1 -0
- package/dist/web-components-library/p-5dd9a2c6.entry.js +1 -0
- package/dist/web-components-library/p-61424b8a.entry.js +1 -0
- package/dist/web-components-library/{p-3b1c4366.entry.js → p-67d6cfcb.entry.js} +1 -1
- package/dist/web-components-library/p-682528b2.entry.js +1 -0
- package/dist/web-components-library/p-6b1a5309.entry.js +1 -0
- package/dist/web-components-library/p-7af991f5.entry.js +1 -0
- package/dist/web-components-library/p-810bd730.entry.js +1 -0
- package/dist/web-components-library/p-8980398c.entry.js +1 -0
- package/dist/web-components-library/p-8b960526.entry.js +1 -0
- package/dist/web-components-library/p-8bf0844b.entry.js +1 -0
- package/dist/web-components-library/p-8c105bd1.entry.js +1 -0
- package/dist/web-components-library/p-8f46e548.entry.js +1 -0
- package/dist/web-components-library/p-8ffc17b7.entry.js +1 -0
- package/dist/web-components-library/p-93dc6d51.entry.js +1 -0
- package/dist/web-components-library/p-95b8f109.entry.js +1 -0
- package/dist/web-components-library/{p-db234892.entry.js → p-9965827d.entry.js} +1 -1
- package/dist/web-components-library/{p-323ae109.entry.js → p-9c28b8fc.entry.js} +1 -1
- package/dist/web-components-library/p-9c338aeb.entry.js +1 -0
- package/dist/web-components-library/p-9d03a7d6.entry.js +1 -0
- package/dist/web-components-library/{p-1f8c947e.entry.js → p-9ed27651.entry.js} +1 -1
- package/dist/web-components-library/p-a23e9115.js +1 -0
- package/dist/web-components-library/p-a2b67e2d.entry.js +1 -0
- package/dist/web-components-library/p-a79d1412.entry.js +1 -0
- package/dist/web-components-library/p-a82ea410.entry.js +1 -0
- package/dist/web-components-library/{p-4c7f4a2c.entry.js → p-b17981a4.entry.js} +1 -1
- package/dist/web-components-library/p-b33f5e6a.entry.js +1 -0
- package/dist/web-components-library/{p-bee26f96.js → p-b3c29822.js} +1 -1
- package/dist/web-components-library/p-b6f36170.entry.js +16 -0
- package/dist/web-components-library/p-bb0fe7bc.entry.js +1 -0
- package/dist/web-components-library/p-bdc6f2e5.entry.js +1 -0
- package/dist/web-components-library/p-beba3e67.entry.js +1 -0
- package/dist/web-components-library/p-c25b0b2a.entry.js +1 -0
- package/dist/web-components-library/p-c6aad085.entry.js +1 -0
- package/dist/web-components-library/p-cd43f80d.js +1 -0
- package/dist/web-components-library/p-ce83ce18.entry.js +1 -0
- package/dist/web-components-library/p-db3c8e3e.entry.js +1 -0
- package/dist/web-components-library/p-e40b16fa.entry.js +1 -0
- package/dist/web-components-library/p-ede9fbf5.entry.js +1 -0
- package/dist/web-components-library/p-f0653e72.entry.js +1 -0
- package/dist/web-components-library/{p-2c18a622.entry.js → p-f158d205.entry.js} +1 -1
- package/dist/web-components-library/p-f20d1242.entry.js +1 -0
- package/dist/web-components-library/p-f95cc914.entry.js +1 -0
- package/dist/web-components-library/web-components-library.esm.js +1 -1
- package/package.json +1 -1
- package/react/components.d.ts +0 -17
- package/react/components.js +2 -20
- package/react/components.js.map +1 -1
- package/www/build/index.esm.js +1 -1
- package/www/build/p-009c9f67.entry.js +1 -0
- package/www/build/p-01f001fd.entry.js +1 -0
- package/www/build/p-057600de.entry.js +1 -0
- package/www/build/p-05ced71c.entry.js +1 -0
- package/www/build/p-074ea569.entry.js +1 -0
- package/www/build/p-07e18572.entry.js +1 -0
- package/www/build/p-0843b0e7.entry.js +1 -0
- package/www/build/p-0fa4b50b.entry.js +1 -0
- package/www/build/p-1b6279a6.entry.js +1 -0
- package/www/build/p-1ba8d432.entry.js +1 -0
- package/www/build/p-1cb23bbb.entry.js +1 -0
- package/www/build/p-20a3247c.entry.js +1 -0
- package/www/build/{p-0f28f07e.entry.js → p-214b6cee.entry.js} +1 -1
- package/www/build/p-26f834e5.entry.js +1 -0
- package/www/build/p-279655eb.entry.js +1 -0
- package/{dist/web-components-library/p-1fdbd448.entry.js → www/build/p-2acd6a51.entry.js} +1 -1
- package/www/build/p-2d1b6c3c.entry.js +1 -0
- package/www/build/p-2efedcf4.entry.js +1 -0
- package/www/build/{p-279b422a.entry.js → p-33352f9e.entry.js} +1 -1
- package/www/build/p-344e7ae7.entry.js +1 -0
- package/www/build/{p-8fee871a.entry.js → p-34c26207.entry.js} +1 -1
- package/www/build/p-38a3cf3b.entry.js +1 -0
- package/www/build/p-3a468aa9.entry.js +1 -0
- package/www/build/p-3c2d438b.entry.js +1 -0
- package/www/build/p-3f55dce6.entry.js +1 -0
- package/www/build/p-411cbcd6.entry.js +1 -0
- package/www/build/p-475ca461.entry.js +1 -0
- package/{dist/web-components-library/p-4a322ca6.entry.js → www/build/p-496863be.entry.js} +1 -1
- package/www/build/p-4cd6c6f4.entry.js +1 -0
- package/www/build/p-51e308ca.entry.js +1 -0
- package/www/build/p-59cfee8d.entry.js +1 -0
- package/www/build/p-5dd9a2c6.entry.js +1 -0
- package/www/build/p-61424b8a.entry.js +1 -0
- package/www/build/{p-3b1c4366.entry.js → p-67d6cfcb.entry.js} +1 -1
- package/www/build/p-682528b2.entry.js +1 -0
- package/www/build/p-6b1a5309.entry.js +1 -0
- package/www/build/p-7af991f5.entry.js +1 -0
- package/www/build/p-810bd730.entry.js +1 -0
- package/www/build/p-8980398c.entry.js +1 -0
- package/www/build/p-8b960526.entry.js +1 -0
- package/www/build/p-8bf0844b.entry.js +1 -0
- package/www/build/p-8c105bd1.entry.js +1 -0
- package/www/build/p-8f46e548.entry.js +1 -0
- package/www/build/p-8ffc17b7.entry.js +1 -0
- package/www/build/p-93dc6d51.entry.js +1 -0
- package/www/build/p-95b8f109.entry.js +1 -0
- package/www/build/{p-db234892.entry.js → p-9965827d.entry.js} +1 -1
- package/www/build/{p-323ae109.entry.js → p-9c28b8fc.entry.js} +1 -1
- package/www/build/p-9c338aeb.entry.js +1 -0
- package/www/build/p-9d03a7d6.entry.js +1 -0
- package/www/build/{p-1f8c947e.entry.js → p-9ed27651.entry.js} +1 -1
- package/www/build/p-a23e9115.js +1 -0
- package/www/build/p-a2b67e2d.entry.js +1 -0
- package/www/build/p-a79d1412.entry.js +1 -0
- package/www/build/p-a82ea410.entry.js +1 -0
- package/www/build/{p-4c7f4a2c.entry.js → p-b17981a4.entry.js} +1 -1
- package/www/build/p-b33f5e6a.entry.js +1 -0
- package/www/build/{p-bee26f96.js → p-b3c29822.js} +1 -1
- package/www/build/p-b6f36170.entry.js +16 -0
- package/www/build/p-bb0fe7bc.entry.js +1 -0
- package/www/build/p-bdc6f2e5.entry.js +1 -0
- package/www/build/p-beba3e67.entry.js +1 -0
- package/www/build/p-c25b0b2a.entry.js +1 -0
- package/www/build/p-c6aad085.entry.js +1 -0
- package/www/build/p-cd43f80d.js +1 -0
- package/www/build/p-ce83ce18.entry.js +1 -0
- package/www/build/p-db3c8e3e.entry.js +1 -0
- package/www/build/p-e40b16fa.entry.js +1 -0
- package/www/build/p-e9bbbd5a.js +1 -0
- package/www/build/p-ede9fbf5.entry.js +1 -0
- package/www/build/p-f0653e72.entry.js +1 -0
- package/www/build/{p-2c18a622.entry.js → p-f158d205.entry.js} +1 -1
- package/www/build/p-f20d1242.entry.js +1 -0
- package/www/build/p-f95cc914.entry.js +1 -0
- package/www/build/web-components-library.esm.js +1 -1
- package/www/index.html +1 -1
- package/dist/cjs/z-app-switcher.cjs.entry.js +0 -28
- package/dist/cjs/z-button-deprecated.cjs.entry.js +0 -36
- package/dist/cjs/z-button-filter.cjs.entry.js +0 -49
- package/dist/cjs/z-candybar.cjs.entry.js +0 -19
- package/dist/cjs/z-chip-deprecated.cjs.entry.js +0 -24
- package/dist/cjs/z-cookiebar.cjs.entry.js +0 -44
- package/dist/cjs/z-footer-link_3.cjs.entry.js +0 -54
- package/dist/cjs/z-footer.cjs.entry.js +0 -110
- package/dist/cjs/z-input-deprecated.cjs.entry.js +0 -261
- package/dist/cjs/z-menu-dropdown_2.cjs.entry.js +0 -93
- package/dist/cjs/z-myz-topbar.cjs.entry.js +0 -201
- package/dist/cjs/z-pagination-bar.cjs.entry.js +0 -116
- package/dist/cjs/z-pagination-page.cjs.entry.js +0 -25
- package/dist/cjs/z-popover-deprecated.cjs.entry.js +0 -129
- package/dist/cjs/z-status-tag.cjs.entry.js +0 -32
- package/dist/cjs/z-tooltip-deprecated.cjs.entry.js +0 -262
- package/dist/collection/components/footer/z-footer/index.js +0 -262
- package/dist/collection/components/footer/z-footer/styles.css +0 -242
- package/dist/collection/components/footer/z-footer-link/index.js +0 -45
- package/dist/collection/components/footer/z-footer-link/styles.css +0 -25
- package/dist/collection/components/footer/z-footer-section/index.js +0 -54
- package/dist/collection/components/footer/z-footer-section/styles.css +0 -150
- package/dist/collection/components/footer/z-footer-social/index.js +0 -78
- package/dist/collection/components/footer/z-footer-social/styles.css +0 -15
- package/dist/collection/components/notification/z-candybar/index.js +0 -21
- package/dist/collection/components/notification/z-candybar/styles.css +0 -55
- package/dist/collection/components/notification/z-cookiebar/index.js +0 -115
- package/dist/collection/components/notification/z-cookiebar/styles.css +0 -108
- package/dist/collection/deprecated/pagination/z-pagination-bar/index.js +0 -271
- package/dist/collection/deprecated/pagination/z-pagination-bar/styles.css +0 -22
- package/dist/collection/deprecated/pagination/z-pagination-page/index.js +0 -136
- package/dist/collection/deprecated/pagination/z-pagination-page/styles.css +0 -57
- package/dist/collection/deprecated/z-button-deprecated/index.js +0 -221
- package/dist/collection/deprecated/z-button-deprecated/styles.css +0 -231
- package/dist/collection/deprecated/z-button-filter/index.js +0 -159
- package/dist/collection/deprecated/z-button-filter/styles.css +0 -64
- package/dist/collection/deprecated/z-chip-deprecated/index.js +0 -63
- package/dist/collection/deprecated/z-chip-deprecated/styles.css +0 -17
- package/dist/collection/deprecated/z-input-deprecated/index.js +0 -810
- package/dist/collection/deprecated/z-input-deprecated/styles.css +0 -282
- package/dist/collection/deprecated/z-input-label/index.js +0 -79
- package/dist/collection/deprecated/z-input-label/styles.css +0 -16
- package/dist/collection/deprecated/z-popover-deprecated/index.js +0 -300
- package/dist/collection/deprecated/z-popover-deprecated/styles.css +0 -235
- package/dist/collection/deprecated/z-status-tag/index.js +0 -133
- package/dist/collection/deprecated/z-status-tag/styles.css +0 -131
- package/dist/collection/deprecated/z-tooltip-deprecated/index.js +0 -378
- package/dist/collection/deprecated/z-tooltip-deprecated/styles.css +0 -128
- package/dist/collection/snowflakes/myz/topbar/index.js +0 -409
- package/dist/collection/snowflakes/myz/topbar/styles.css +0 -574
- package/dist/esm/z-app-switcher.entry.js +0 -24
- package/dist/esm/z-button-deprecated.entry.js +0 -32
- package/dist/esm/z-button-filter.entry.js +0 -45
- package/dist/esm/z-candybar.entry.js +0 -15
- package/dist/esm/z-chip-deprecated.entry.js +0 -20
- package/dist/esm/z-cookiebar.entry.js +0 -40
- package/dist/esm/z-footer-link_3.entry.js +0 -48
- package/dist/esm/z-footer.entry.js +0 -106
- package/dist/esm/z-input-deprecated.entry.js +0 -257
- package/dist/esm/z-menu-dropdown_2.entry.js +0 -88
- package/dist/esm/z-myz-topbar.entry.js +0 -197
- package/dist/esm/z-pagination-bar.entry.js +0 -112
- package/dist/esm/z-pagination-page.entry.js +0 -21
- package/dist/esm/z-popover-deprecated.entry.js +0 -125
- package/dist/esm/z-status-tag.entry.js +0 -28
- package/dist/esm/z-tooltip-deprecated.entry.js +0 -258
- package/dist/types/components/footer/z-footer/index.d.ts +0 -46
- package/dist/types/components/footer/z-footer-link/index.d.ts +0 -8
- package/dist/types/components/footer/z-footer-section/index.d.ts +0 -10
- package/dist/types/components/footer/z-footer-social/index.d.ts +0 -9
- package/dist/types/components/notification/z-candybar/index.d.ts +0 -6
- package/dist/types/components/notification/z-cookiebar/index.d.ts +0 -16
- package/dist/types/deprecated/pagination/z-pagination-bar/index.d.ts +0 -40
- package/dist/types/deprecated/pagination/z-pagination-page/index.d.ts +0 -15
- package/dist/types/deprecated/z-button-deprecated/index.d.ts +0 -28
- package/dist/types/deprecated/z-button-filter/index.d.ts +0 -22
- package/dist/types/deprecated/z-chip-deprecated/index.d.ts +0 -8
- package/dist/types/deprecated/z-input-deprecated/index.d.ts +0 -91
- package/dist/types/deprecated/z-input-label/index.d.ts +0 -9
- package/dist/types/deprecated/z-popover-deprecated/index.d.ts +0 -33
- package/dist/types/deprecated/z-status-tag/index.d.ts +0 -15
- package/dist/types/deprecated/z-tooltip-deprecated/index.d.ts +0 -41
- package/dist/types/snowflakes/myz/topbar/index.d.ts +0 -59
- package/dist/web-components-library/p-016b2800.entry.js +0 -1
- package/dist/web-components-library/p-067bd5da.entry.js +0 -1
- package/dist/web-components-library/p-0afc555e.entry.js +0 -1
- package/dist/web-components-library/p-10b84e8c.entry.js +0 -1
- package/dist/web-components-library/p-12211a48.entry.js +0 -1
- package/dist/web-components-library/p-18448e4d.entry.js +0 -1
- package/dist/web-components-library/p-1ab0de76.entry.js +0 -1
- package/dist/web-components-library/p-1e163a87.entry.js +0 -1
- package/dist/web-components-library/p-1f187c54.entry.js +0 -1
- package/dist/web-components-library/p-1f8c8cd0.entry.js +0 -1
- package/dist/web-components-library/p-2d5d8e6f.entry.js +0 -1
- package/dist/web-components-library/p-2e7a31ac.entry.js +0 -1
- package/dist/web-components-library/p-3027c60b.entry.js +0 -1
- package/dist/web-components-library/p-30fcd62b.js +0 -1
- package/dist/web-components-library/p-35739670.entry.js +0 -1
- package/dist/web-components-library/p-36d2d081.entry.js +0 -1
- package/dist/web-components-library/p-3c7cf41f.entry.js +0 -1
- package/dist/web-components-library/p-3eb0d582.entry.js +0 -1
- package/dist/web-components-library/p-3ecfb7c1.entry.js +0 -1
- package/dist/web-components-library/p-40f96085.entry.js +0 -1
- package/dist/web-components-library/p-42782d06.entry.js +0 -1
- package/dist/web-components-library/p-4465426a.entry.js +0 -1
- package/dist/web-components-library/p-468520f5.entry.js +0 -1
- package/dist/web-components-library/p-46e367c9.entry.js +0 -1
- package/dist/web-components-library/p-4ba0b17c.entry.js +0 -1
- package/dist/web-components-library/p-552c6686.entry.js +0 -1
- package/dist/web-components-library/p-563529f8.entry.js +0 -1
- package/dist/web-components-library/p-569f6cff.entry.js +0 -1
- package/dist/web-components-library/p-57faab40.entry.js +0 -1
- package/dist/web-components-library/p-5935151c.entry.js +0 -1
- package/dist/web-components-library/p-5b83568e.entry.js +0 -1
- package/dist/web-components-library/p-5c6108bb.entry.js +0 -1
- package/dist/web-components-library/p-63a99ad2.entry.js +0 -16
- package/dist/web-components-library/p-64033ee3.entry.js +0 -1
- package/dist/web-components-library/p-66bbcf76.entry.js +0 -1
- package/dist/web-components-library/p-69db61b5.entry.js +0 -1
- package/dist/web-components-library/p-6e4dd501.entry.js +0 -1
- package/dist/web-components-library/p-6fe1bffb.entry.js +0 -1
- package/dist/web-components-library/p-7171d686.entry.js +0 -1
- package/dist/web-components-library/p-75a4091f.entry.js +0 -1
- package/dist/web-components-library/p-7b22a446.entry.js +0 -1
- package/dist/web-components-library/p-7e13d026.entry.js +0 -1
- package/dist/web-components-library/p-82ff8f0e.entry.js +0 -1
- package/dist/web-components-library/p-84cc611a.entry.js +0 -1
- package/dist/web-components-library/p-8879211b.entry.js +0 -1
- package/dist/web-components-library/p-8949cd1d.entry.js +0 -1
- package/dist/web-components-library/p-9099124a.entry.js +0 -1
- package/dist/web-components-library/p-9ecf936d.js +0 -1
- package/dist/web-components-library/p-a1250f99.entry.js +0 -1
- package/dist/web-components-library/p-a3b8dd69.entry.js +0 -1
- package/dist/web-components-library/p-aa271ed7.entry.js +0 -1
- package/dist/web-components-library/p-af4a9bb7.entry.js +0 -1
- package/dist/web-components-library/p-af9b8051.entry.js +0 -1
- package/dist/web-components-library/p-b01314fa.entry.js +0 -1
- package/dist/web-components-library/p-b4a9ba1d.entry.js +0 -1
- package/dist/web-components-library/p-b9a69a90.entry.js +0 -1
- package/dist/web-components-library/p-bbbfd2fa.entry.js +0 -1
- package/dist/web-components-library/p-bea5aa42.entry.js +0 -1
- package/dist/web-components-library/p-c39c68b9.entry.js +0 -1
- package/dist/web-components-library/p-c7d7958c.entry.js +0 -1
- package/dist/web-components-library/p-c849a2a5.entry.js +0 -1
- package/dist/web-components-library/p-d1b45e96.entry.js +0 -1
- package/dist/web-components-library/p-d767f784.entry.js +0 -1
- package/dist/web-components-library/p-d7e72cec.entry.js +0 -1
- package/dist/web-components-library/p-d8e17d3a.entry.js +0 -1
- package/dist/web-components-library/p-dc3c5f36.entry.js +0 -1
- package/dist/web-components-library/p-e0f82390.entry.js +0 -1
- package/dist/web-components-library/p-e1ddeb61.entry.js +0 -1
- package/dist/web-components-library/p-e4d761f4.entry.js +0 -1
- package/dist/web-components-library/p-efca7e17.entry.js +0 -1
- package/dist/web-components-library/p-f08d1cbd.entry.js +0 -1
- package/dist/web-components-library/p-f53d1d26.entry.js +0 -1
- package/dist/web-components-library/p-f8aef252.entry.js +0 -1
- package/dist/web-components-library/p-f94281ee.entry.js +0 -1
- package/dist/web-components-library/p-f9e8ac5d.entry.js +0 -1
- package/www/build/p-016b2800.entry.js +0 -1
- package/www/build/p-067bd5da.entry.js +0 -1
- package/www/build/p-0afc555e.entry.js +0 -1
- package/www/build/p-10b84e8c.entry.js +0 -1
- package/www/build/p-12211a48.entry.js +0 -1
- package/www/build/p-18448e4d.entry.js +0 -1
- package/www/build/p-1ab0de76.entry.js +0 -1
- package/www/build/p-1e163a87.entry.js +0 -1
- package/www/build/p-1f187c54.entry.js +0 -1
- package/www/build/p-1f8c8cd0.entry.js +0 -1
- package/www/build/p-2d5d8e6f.entry.js +0 -1
- package/www/build/p-2e7a31ac.entry.js +0 -1
- package/www/build/p-3027c60b.entry.js +0 -1
- package/www/build/p-30fcd62b.js +0 -1
- package/www/build/p-35739670.entry.js +0 -1
- package/www/build/p-36d2d081.entry.js +0 -1
- package/www/build/p-3c7cf41f.entry.js +0 -1
- package/www/build/p-3eb0d582.entry.js +0 -1
- package/www/build/p-3ecfb7c1.entry.js +0 -1
- package/www/build/p-40f96085.entry.js +0 -1
- package/www/build/p-42782d06.entry.js +0 -1
- package/www/build/p-4465426a.entry.js +0 -1
- package/www/build/p-468520f5.entry.js +0 -1
- package/www/build/p-46e367c9.entry.js +0 -1
- package/www/build/p-4ba0b17c.entry.js +0 -1
- package/www/build/p-552c6686.entry.js +0 -1
- package/www/build/p-563529f8.entry.js +0 -1
- package/www/build/p-569f6cff.entry.js +0 -1
- package/www/build/p-57faab40.entry.js +0 -1
- package/www/build/p-5935151c.entry.js +0 -1
- package/www/build/p-5b83568e.entry.js +0 -1
- package/www/build/p-5c6108bb.entry.js +0 -1
- package/www/build/p-63a99ad2.entry.js +0 -16
- package/www/build/p-64033ee3.entry.js +0 -1
- package/www/build/p-66bbcf76.entry.js +0 -1
- package/www/build/p-69db61b5.entry.js +0 -1
- package/www/build/p-6e4dd501.entry.js +0 -1
- package/www/build/p-6fe1bffb.entry.js +0 -1
- package/www/build/p-7171d686.entry.js +0 -1
- package/www/build/p-75a4091f.entry.js +0 -1
- package/www/build/p-7b22a446.entry.js +0 -1
- package/www/build/p-7e13d026.entry.js +0 -1
- package/www/build/p-82ff8f0e.entry.js +0 -1
- package/www/build/p-84cc611a.entry.js +0 -1
- package/www/build/p-8879211b.entry.js +0 -1
- package/www/build/p-8949cd1d.entry.js +0 -1
- package/www/build/p-9099124a.entry.js +0 -1
- package/www/build/p-9ecf936d.js +0 -1
- package/www/build/p-a1250f99.entry.js +0 -1
- package/www/build/p-a3b8dd69.entry.js +0 -1
- package/www/build/p-aa271ed7.entry.js +0 -1
- package/www/build/p-af4a9bb7.entry.js +0 -1
- package/www/build/p-af9b8051.entry.js +0 -1
- package/www/build/p-b01314fa.entry.js +0 -1
- package/www/build/p-b4a9ba1d.entry.js +0 -1
- package/www/build/p-b9a69a90.entry.js +0 -1
- package/www/build/p-bbbfd2fa.entry.js +0 -1
- package/www/build/p-bea5aa42.entry.js +0 -1
- package/www/build/p-c39c68b9.entry.js +0 -1
- package/www/build/p-c7d7958c.entry.js +0 -1
- package/www/build/p-c849a2a5.entry.js +0 -1
- package/www/build/p-d1b45e96.entry.js +0 -1
- package/www/build/p-d767f784.entry.js +0 -1
- package/www/build/p-d7e72cec.entry.js +0 -1
- package/www/build/p-d8e17d3a.entry.js +0 -1
- package/www/build/p-dc3c5f36.entry.js +0 -1
- package/www/build/p-e0f82390.entry.js +0 -1
- package/www/build/p-e1ddeb61.entry.js +0 -1
- package/www/build/p-e4d761f4.entry.js +0 -1
- package/www/build/p-ef5f8af2.js +0 -1
- package/www/build/p-efca7e17.entry.js +0 -1
- package/www/build/p-f08d1cbd.entry.js +0 -1
- package/www/build/p-f53d1d26.entry.js +0 -1
- package/www/build/p-f8aef252.entry.js +0 -1
- package/www/build/p-f94281ee.entry.js +0 -1
- package/www/build/p-f9e8ac5d.entry.js +0 -1
|
@@ -10,9 +10,9 @@ const ZToggleButton = class {
|
|
|
10
10
|
constructor(hostRef) {
|
|
11
11
|
index.registerInstance(this, hostRef);
|
|
12
12
|
this.toggleClick = index.createEvent(this, "toggleClick", 7);
|
|
13
|
-
|
|
13
|
+
/** disabled status flag (optional) */
|
|
14
14
|
this.isdisabled = false;
|
|
15
|
-
|
|
15
|
+
/** open by default (optional) */
|
|
16
16
|
this.opened = false;
|
|
17
17
|
}
|
|
18
18
|
emitToggleClick() {
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-e3299e0a.js');
|
|
6
|
-
const utils = require('./utils-
|
|
7
|
-
const index$1 = require('./index-
|
|
6
|
+
const utils = require('./utils-600bad93.js');
|
|
7
|
+
const index$1 = require('./index-fa110f37.js');
|
|
8
8
|
require('./breakpoints-88c4fd6c.js');
|
|
9
9
|
|
|
10
10
|
const stylesCss = ".sc-z-toggle-switch-h{position:relative;display:inline-flex;font-family:var(--font-family-sans);font-weight:var(--font-rg)}label.sc-z-toggle-switch{display:flex;flex-direction:row;align-items:center;cursor:pointer}label.disabled.sc-z-toggle-switch{cursor:default}label.right.sc-z-toggle-switch{flex-direction:row-reverse}label.sc-z-toggle-switch>span.sc-z-toggle-switch:first-child{color:var(--color-text01);letter-spacing:0}label.left.sc-z-toggle-switch>span.sc-z-toggle-switch:first-child{margin-right:var(--space-unit)}label.right.sc-z-toggle-switch>span.sc-z-toggle-switch:first-child{margin-left:var(--space-unit)}label.sc-z-toggle-switch>span.container.sc-z-toggle-switch{position:relative;top:1px;left:1px;display:flex;width:calc(var(--space-unit) * 4);height:18px;align-items:center;background-color:var(--gray500);border-radius:var(--space-unit);color:var(--gray500);cursor:pointer}label.sc-z-toggle-switch>span.container.disabled.sc-z-toggle-switch,label.sc-z-toggle-switch>span.container.checked.disabled.sc-z-toggle-switch{background-color:var(--color-disabled01);cursor:default}label.sc-z-toggle-switch>span.container.checked.disabled.sc-z-toggle-switch>span.circle.sc-z-toggle-switch>z-icon.sc-z-toggle-switch{fill:var(--color-disabled01)}label.sc-z-toggle-switch>span.container.checked.sc-z-toggle-switch{background-color:var(--color-primary01);fill:var(--color-primary01)}input.sc-z-toggle-switch:focus:focus-visible+label.sc-z-toggle-switch>span.container.sc-z-toggle-switch:not(.disabled){box-shadow:var(--shadow-focus-primary);outline:none}input.sc-z-toggle-switch:focus:focus-visible+label.sc-z-toggle-switch>span.container.disabled.sc-z-toggle-switch{outline:none}label.sc-z-toggle-switch>span.container.sc-z-toggle-switch:not(.disabled):hover{background-color:var(--color-hover-primary);fill:var(--color-hover-primary)}label.sc-z-toggle-switch>span.container.sc-z-toggle-switch>span.circle.sc-z-toggle-switch{position:absolute;top:1px;left:1px;display:flex;width:calc(var(--space-unit) * 2);height:calc(var(--space-unit) * 2);align-items:center;justify-content:center;margin:0;background-color:var(--color-white);border-radius:7px;box-shadow:var(--shadow-1);transition:transform 0.3s ease}label.sc-z-toggle-switch>span.container.checked.sc-z-toggle-switch>span.circle.sc-z-toggle-switch{transform:translateX(calc(100% - 2px))}input[type=\"checkbox\"].sc-z-toggle-switch{position:absolute;z-index:-1;opacity:0;pointer-events:none}";
|
|
@@ -13,9 +13,13 @@ const ZToggleSwitch = class {
|
|
|
13
13
|
constructor(hostRef) {
|
|
14
14
|
index.registerInstance(this, hostRef);
|
|
15
15
|
this.toggleClick = index.createEvent(this, "toggleClick", 7);
|
|
16
|
+
/** Disabled flag */
|
|
16
17
|
this.disabled = false;
|
|
18
|
+
/** Label position */
|
|
17
19
|
this.labelPosition = index$1.LabelPosition.LEFT;
|
|
20
|
+
/** Checked state */
|
|
18
21
|
this.checked = false;
|
|
22
|
+
/** HTML id attribute to set to the internal checkbox */
|
|
19
23
|
this.htmlid = `toggle-switch-id-${utils.randomId()}`;
|
|
20
24
|
}
|
|
21
25
|
emitToggleClick() {
|
|
@@ -3,17 +3,21 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-e3299e0a.js');
|
|
6
|
-
const index$1 = require('./index-
|
|
6
|
+
const index$1 = require('./index-fa110f37.js');
|
|
7
7
|
|
|
8
8
|
const stylesCss = ":host{--z-tooltip-theme--surface:var(--color-surface01);--z-tooltip-theme--text:var(--color-text01);--z-tooltip-shadow-filter:drop-shadow(0 1px 2px var(--shadow-color-base))}:host([dark]) z-popover{--z-popover-theme--surface:var(--color-surface05)}z-popover{--z-popover-padding:var(--space-unit);--z-popover-theme--surface:var(--z-tooltip-theme--surface);--z-popover-theme--text:var(--z-tooltip-theme--text);--z-popover-shadow-filter:var(--z-tooltip-shadow-filter)}";
|
|
9
9
|
|
|
10
10
|
const ZTooltip = class {
|
|
11
11
|
constructor(hostRef) {
|
|
12
12
|
index.registerInstance(this, hostRef);
|
|
13
|
-
|
|
13
|
+
/** Tooltip position. */
|
|
14
|
+
this.position = index$1.PopoverPosition.AUTO;
|
|
15
|
+
/** Enable tooltip dark mode. */
|
|
14
16
|
this.dark = false;
|
|
17
|
+
/**
|
|
18
|
+
* The open state of the tooltip.
|
|
19
|
+
*/
|
|
15
20
|
this.open = false;
|
|
16
|
-
this.bindTo = undefined;
|
|
17
21
|
}
|
|
18
22
|
onPopoverOpenChange() {
|
|
19
23
|
this.open = this.popover.open;
|
|
@@ -12,13 +12,9 @@ const ZUserDropdown = class {
|
|
|
12
12
|
index.registerInstance(this, hostRef);
|
|
13
13
|
this.userButtonClick = index.createEvent(this, "userButtonClick", 7);
|
|
14
14
|
this.dropdownMenuLinkClick = index.createEvent(this, "dropdownMenuLinkClick", 7);
|
|
15
|
-
|
|
16
|
-
this.userFullName = undefined;
|
|
17
|
-
this.userEmail = undefined;
|
|
18
|
-
this.menuContent = undefined;
|
|
15
|
+
/** if inner components colors are inverted, or not, default false */
|
|
19
16
|
this.useInverseColors = false;
|
|
20
17
|
this.isMenuOpen = false;
|
|
21
|
-
this.isMobile = undefined;
|
|
22
18
|
this.handleLoggedButtonClick = this.handleLoggedButtonClick.bind(this);
|
|
23
19
|
this.emitDropdownMenuLinkClick = this.emitDropdownMenuLinkClick.bind(this);
|
|
24
20
|
}
|
|
@@ -60,55 +60,22 @@ export var InputStatus;
|
|
|
60
60
|
InputStatus["ERROR"] = "error";
|
|
61
61
|
InputStatus["WARNING"] = "warning";
|
|
62
62
|
})(InputStatus || (InputStatus = {}));
|
|
63
|
-
export var PopoverPositions;
|
|
64
|
-
(function (PopoverPositions) {
|
|
65
|
-
PopoverPositions["AUTO"] = "auto";
|
|
66
|
-
PopoverPositions["TOP"] = "top";
|
|
67
|
-
PopoverPositions["RIGHT"] = "right";
|
|
68
|
-
PopoverPositions["BOTTOM"] = "bottom";
|
|
69
|
-
PopoverPositions["LEFT"] = "left";
|
|
70
|
-
PopoverPositions["TOP_RIGHT"] = "top_right";
|
|
71
|
-
PopoverPositions["TOP_LEFT"] = "top_left";
|
|
72
|
-
PopoverPositions["BOTTOM_RIGHT"] = "bottom_right";
|
|
73
|
-
PopoverPositions["BOTTOM_LEFT"] = "bottom_left";
|
|
74
|
-
PopoverPositions["RIGHT_TOP"] = "right_top";
|
|
75
|
-
PopoverPositions["RIGHT_BOTTOM"] = "right_bottom";
|
|
76
|
-
PopoverPositions["LEFT_TOP"] = "left_top";
|
|
77
|
-
PopoverPositions["LEFT_BOTTOM"] = "left_bottom";
|
|
78
|
-
})(PopoverPositions || (PopoverPositions = {}));
|
|
79
63
|
export var PopoverPosition;
|
|
80
64
|
(function (PopoverPosition) {
|
|
81
|
-
PopoverPosition["
|
|
82
|
-
PopoverPosition["
|
|
83
|
-
PopoverPosition["
|
|
84
|
-
PopoverPosition["
|
|
85
|
-
PopoverPosition["
|
|
86
|
-
PopoverPosition["
|
|
87
|
-
PopoverPosition["
|
|
88
|
-
PopoverPosition["
|
|
89
|
-
PopoverPosition["
|
|
90
|
-
PopoverPosition["
|
|
91
|
-
PopoverPosition["
|
|
92
|
-
PopoverPosition["
|
|
65
|
+
PopoverPosition["AUTO"] = "auto";
|
|
66
|
+
PopoverPosition["TOP"] = "top";
|
|
67
|
+
PopoverPosition["RIGHT"] = "right";
|
|
68
|
+
PopoverPosition["BOTTOM"] = "bottom";
|
|
69
|
+
PopoverPosition["LEFT"] = "left";
|
|
70
|
+
PopoverPosition["TOP_RIGHT"] = "top_right";
|
|
71
|
+
PopoverPosition["TOP_LEFT"] = "top_left";
|
|
72
|
+
PopoverPosition["BOTTOM_RIGHT"] = "bottom_right";
|
|
73
|
+
PopoverPosition["BOTTOM_LEFT"] = "bottom_left";
|
|
74
|
+
PopoverPosition["RIGHT_TOP"] = "right_top";
|
|
75
|
+
PopoverPosition["RIGHT_BOTTOM"] = "right_bottom";
|
|
76
|
+
PopoverPosition["LEFT_TOP"] = "left_top";
|
|
77
|
+
PopoverPosition["LEFT_BOTTOM"] = "left_bottom";
|
|
93
78
|
})(PopoverPosition || (PopoverPosition = {}));
|
|
94
|
-
export var PopoverBorderRadius;
|
|
95
|
-
(function (PopoverBorderRadius) {
|
|
96
|
-
PopoverBorderRadius["NONE"] = "none";
|
|
97
|
-
PopoverBorderRadius["SMALL"] = "small";
|
|
98
|
-
PopoverBorderRadius["MEDIUM"] = "medium";
|
|
99
|
-
})(PopoverBorderRadius || (PopoverBorderRadius = {}));
|
|
100
|
-
export var PopoverShadow;
|
|
101
|
-
(function (PopoverShadow) {
|
|
102
|
-
PopoverShadow["SHADOW_1"] = "shadow-1";
|
|
103
|
-
PopoverShadow["SHADOW_2"] = "shadow-2";
|
|
104
|
-
PopoverShadow["SHADOW_3"] = "shadow-3";
|
|
105
|
-
PopoverShadow["SHADOW_4"] = "shadow-4";
|
|
106
|
-
PopoverShadow["SHADOW_6"] = "shadow-6";
|
|
107
|
-
PopoverShadow["SHADOW_8"] = "shadow-8";
|
|
108
|
-
PopoverShadow["SHADOW_12"] = "shadow-12";
|
|
109
|
-
PopoverShadow["SHADOW_16"] = "shadow-16";
|
|
110
|
-
PopoverShadow["SHADOW_24"] = "shadow-24";
|
|
111
|
-
})(PopoverShadow || (PopoverShadow = {}));
|
|
112
79
|
export var KeyboardKeyCode;
|
|
113
80
|
(function (KeyboardKeyCode) {
|
|
114
81
|
KeyboardKeyCode[KeyboardKeyCode["TAB"] = 9] = "TAB";
|
|
@@ -313,14 +280,6 @@ export var ZRangePickerMode;
|
|
|
313
280
|
ZRangePickerMode["DATE"] = "date";
|
|
314
281
|
ZRangePickerMode["DATE_TIME"] = "date-time";
|
|
315
282
|
})(ZRangePickerMode || (ZRangePickerMode = {}));
|
|
316
|
-
export var StatusTagStatus;
|
|
317
|
-
(function (StatusTagStatus) {
|
|
318
|
-
StatusTagStatus["WARNING"] = "warning";
|
|
319
|
-
StatusTagStatus["ERROR"] = "error";
|
|
320
|
-
StatusTagStatus["SUCCESS"] = "success";
|
|
321
|
-
StatusTagStatus["NEUTRAL"] = "neutral";
|
|
322
|
-
StatusTagStatus["DEFAULT"] = "default";
|
|
323
|
-
})(StatusTagStatus || (StatusTagStatus = {}));
|
|
324
283
|
export var InfoRevealPosition;
|
|
325
284
|
(function (InfoRevealPosition) {
|
|
326
285
|
InfoRevealPosition["TOP_RIGHT"] = "top_right";
|
|
@@ -11,10 +11,6 @@
|
|
|
11
11
|
"./components/file-upload/z-dragdrop-area/index.js",
|
|
12
12
|
"./components/file-upload/z-file/index.js",
|
|
13
13
|
"./components/file-upload/z-file-upload/index.js",
|
|
14
|
-
"./components/footer/z-footer/index.js",
|
|
15
|
-
"./components/footer/z-footer-link/index.js",
|
|
16
|
-
"./components/footer/z-footer-section/index.js",
|
|
17
|
-
"./components/footer/z-footer-social/index.js",
|
|
18
14
|
"./components/icons/z-icon/index.js",
|
|
19
15
|
"./components/icons/z-icon-package/index.js",
|
|
20
16
|
"./components/indicators/z-stepper/index.js",
|
|
@@ -41,8 +37,6 @@
|
|
|
41
37
|
"./components/navigation/z-menu-dropdown/index.js",
|
|
42
38
|
"./components/navigation/z-menu-section/index.js",
|
|
43
39
|
"./components/navigation/z-user-dropdown/index.js",
|
|
44
|
-
"./components/notification/z-candybar/index.js",
|
|
45
|
-
"./components/notification/z-cookiebar/index.js",
|
|
46
40
|
"./components/notification/z-info-box/index.js",
|
|
47
41
|
"./components/notification/z-notification/index.js",
|
|
48
42
|
"./components/notification/z-toast-notification/index.js",
|
|
@@ -78,16 +72,6 @@
|
|
|
78
72
|
"./components/z-table/z-table-sticky-footer/index.js",
|
|
79
73
|
"./components/z-tag/index.js",
|
|
80
74
|
"./components/z-visually-hidden/index.js",
|
|
81
|
-
"./deprecated/pagination/z-pagination-bar/index.js",
|
|
82
|
-
"./deprecated/pagination/z-pagination-page/index.js",
|
|
83
|
-
"./deprecated/z-button-deprecated/index.js",
|
|
84
|
-
"./deprecated/z-button-filter/index.js",
|
|
85
|
-
"./deprecated/z-chip-deprecated/index.js",
|
|
86
|
-
"./deprecated/z-input-deprecated/index.js",
|
|
87
|
-
"./deprecated/z-input-label/index.js",
|
|
88
|
-
"./deprecated/z-popover-deprecated/index.js",
|
|
89
|
-
"./deprecated/z-status-tag/index.js",
|
|
90
|
-
"./deprecated/z-tooltip-deprecated/index.js",
|
|
91
75
|
"./snowflakes/myz/card/z-myz-card/index.js",
|
|
92
76
|
"./snowflakes/myz/card/z-myz-card-alert/index.js",
|
|
93
77
|
"./snowflakes/myz/card/z-myz-card-body/index.js",
|
|
@@ -106,14 +90,13 @@
|
|
|
106
90
|
"./snowflakes/myz/pocket/z-pocket-body/index.js",
|
|
107
91
|
"./snowflakes/myz/pocket/z-pocket-header/index.js",
|
|
108
92
|
"./snowflakes/myz/pocket/z-pocket-message/index.js",
|
|
109
|
-
"./snowflakes/myz/topbar/index.js",
|
|
110
93
|
"./snowflakes/myz/z-alert/index.js",
|
|
111
94
|
"./snowflakes/myz/z-otp/index.js",
|
|
112
95
|
"./snowflakes/myz/z-slideshow/index.js"
|
|
113
96
|
],
|
|
114
97
|
"compiler": {
|
|
115
98
|
"name": "@stencil/core",
|
|
116
|
-
"version": "2.
|
|
99
|
+
"version": "2.18.1",
|
|
117
100
|
"typescriptVersion": "4.7.4"
|
|
118
101
|
},
|
|
119
102
|
"collections": [],
|
|
@@ -5,15 +5,15 @@ import { ButtonVariant, ButtonType, ButtonSize } from "../../../beans";
|
|
|
5
5
|
*/
|
|
6
6
|
export class ZButton {
|
|
7
7
|
constructor() {
|
|
8
|
+
/** defines a string value that labels an interactive element, used for accessibility. */
|
|
8
9
|
this.ariaLabel = "";
|
|
9
|
-
|
|
10
|
-
this.target = undefined;
|
|
11
|
-
this.htmlid = undefined;
|
|
12
|
-
this.name = undefined;
|
|
10
|
+
/** HTML button disabled attribute. */
|
|
13
11
|
this.disabled = false;
|
|
12
|
+
/** HTML button type attribute. */
|
|
14
13
|
this.type = ButtonType.BUTTON;
|
|
14
|
+
/** Graphical variant: `primary`, `secondary`, `tertiary`. Defaults to `primary`. */
|
|
15
15
|
this.variant = ButtonVariant.PRIMARY;
|
|
16
|
-
|
|
16
|
+
/** Available sizes: `big`, `small` and `x-small`. Defaults to `big`. */
|
|
17
17
|
this.size = ButtonSize.BIG;
|
|
18
18
|
}
|
|
19
19
|
getAttributes() {
|
|
@@ -2,13 +2,13 @@ import { h } from "@stencil/core";
|
|
|
2
2
|
import { tabletBreakpoint } from "../../../constants/breakpoints";
|
|
3
3
|
export class ZButtonSort {
|
|
4
4
|
constructor() {
|
|
5
|
-
|
|
6
|
-
this.label = undefined;
|
|
7
|
-
this.desclabel = undefined;
|
|
8
|
-
this.counter = undefined;
|
|
5
|
+
/** sort label content (ascending) (optional) */
|
|
9
6
|
this.sortlabelasc = "A-Z";
|
|
7
|
+
/** sort label content (descending) (optional) */
|
|
10
8
|
this.sortlabeldesc = "Z-A";
|
|
9
|
+
/** selected flag (optional) */
|
|
11
10
|
this.isselected = false;
|
|
11
|
+
/** sortable flag (optional) */
|
|
12
12
|
this.sortasc = true;
|
|
13
13
|
this.allowTooltip = false;
|
|
14
14
|
}
|
|
@@ -3,9 +3,9 @@ import { Device, ZChipType } from "../../../beans";
|
|
|
3
3
|
import { getDevice, handleKeyboardSubmit } from "../../../utils/utils";
|
|
4
4
|
export class ZChip {
|
|
5
5
|
constructor() {
|
|
6
|
-
|
|
6
|
+
/** z-chip size type, can be default, medium or small */
|
|
7
7
|
this.type = ZChipType.DEFAULT;
|
|
8
|
-
|
|
8
|
+
/** set z-chip as disabled */
|
|
9
9
|
this.disabled = false;
|
|
10
10
|
}
|
|
11
11
|
emitinteractiveIconClick() {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { h } from "@stencil/core";
|
|
2
2
|
export class ZToggleButton {
|
|
3
3
|
constructor() {
|
|
4
|
-
|
|
4
|
+
/** disabled status flag (optional) */
|
|
5
5
|
this.isdisabled = false;
|
|
6
|
-
|
|
6
|
+
/** open by default (optional) */
|
|
7
7
|
this.opened = false;
|
|
8
8
|
}
|
|
9
9
|
emitToggleClick() {
|
|
@@ -3,9 +3,13 @@ import { randomId } from "../../../utils/utils";
|
|
|
3
3
|
import { LabelPosition } from "../../../beans";
|
|
4
4
|
export class ZToggleSwitch {
|
|
5
5
|
constructor() {
|
|
6
|
+
/** Disabled flag */
|
|
6
7
|
this.disabled = false;
|
|
8
|
+
/** Label position */
|
|
7
9
|
this.labelPosition = LabelPosition.LEFT;
|
|
10
|
+
/** Checked state */
|
|
8
11
|
this.checked = false;
|
|
12
|
+
/** HTML id attribute to set to the internal checkbox */
|
|
9
13
|
this.htmlid = `toggle-switch-id-${randomId()}`;
|
|
10
14
|
}
|
|
11
15
|
emitToggleClick() {
|
|
@@ -6,9 +6,9 @@ import { InputType, ZDatePickerMode, ZDatePickerPosition } from "../../../beans"
|
|
|
6
6
|
import { setAriaOptions, setFlatpickrPosition, validateDate } from "../utils";
|
|
7
7
|
export class ZDatePicker {
|
|
8
8
|
constructor() {
|
|
9
|
-
|
|
9
|
+
/** z-input aria label */
|
|
10
10
|
this.ariaLabel = "";
|
|
11
|
-
|
|
11
|
+
/** [Optional] datepicker mode: date, datetime, only months */
|
|
12
12
|
this.mode = ZDatePickerMode.DATE;
|
|
13
13
|
this.flatpickrPosition = ZDatePickerPosition.BOTTOM;
|
|
14
14
|
this.inputError = false;
|
|
@@ -5,11 +5,7 @@ import { ZRangePickerMode, ZDatePickerPosition, InputType, InputStatus } from ".
|
|
|
5
5
|
import { setAriaOptions, setFlatpickrPosition, validateDate } from "../utils";
|
|
6
6
|
export class ZRangePicker {
|
|
7
7
|
constructor() {
|
|
8
|
-
|
|
9
|
-
this.firstAriaLabel = undefined;
|
|
10
|
-
this.firstLabel = undefined;
|
|
11
|
-
this.secondAriaLabel = undefined;
|
|
12
|
-
this.secondLabel = undefined;
|
|
8
|
+
/** [Optional] datepicker mode: date or datetime */
|
|
13
9
|
this.mode = ZRangePickerMode.DATE;
|
|
14
10
|
this.flatpickrPosition = ZDatePickerPosition.BOTTOM;
|
|
15
11
|
this.activeInput = "start-input";
|
|
@@ -1,10 +1,8 @@
|
|
|
1
1
|
import { h, Host } from "@stencil/core";
|
|
2
|
-
import {
|
|
2
|
+
import { PopoverPosition, ZChipType } from "../../../beans";
|
|
3
3
|
import { tabletBreakpoint } from "../../../constants/breakpoints";
|
|
4
4
|
export class ZFile {
|
|
5
5
|
constructor() {
|
|
6
|
-
this.fileNumber = undefined;
|
|
7
|
-
this.fileName = undefined;
|
|
8
6
|
this.allowPopover = false;
|
|
9
7
|
this.popoverVisible = false;
|
|
10
8
|
}
|
|
@@ -32,7 +30,7 @@ export class ZFile {
|
|
|
32
30
|
return this.ellipsis.offsetWidth < this.ellipsis.scrollWidth;
|
|
33
31
|
}
|
|
34
32
|
render() {
|
|
35
|
-
return (h(Host, null, this.allowPopover && (h("z-popover", { open: this.popoverVisible, position:
|
|
33
|
+
return (h(Host, null, this.allowPopover && (h("z-popover", { open: this.popoverVisible, position: PopoverPosition.AUTO, bindTo: this.chip }, h("span", { class: "body-5 tooltip-content" }, this.ellipsis.innerText))), h("z-chip", { ref: (el) => (this.chip = el), id: `chip-${this.fileNumber}`, interactiveIcon: "multiply-circled", type: ZChipType.DEFAULT }, h("span", { ref: (el) => (this.ellipsis = el), tabIndex: -1 }, this.fileName))));
|
|
36
34
|
}
|
|
37
35
|
static get is() { return "z-file"; }
|
|
38
36
|
static get encapsulation() { return "scoped"; }
|
|
@@ -3,19 +3,15 @@ import { Device, DividerSize, ZFileUploadType } from "../../../beans";
|
|
|
3
3
|
import { getDevice } from "../../../utils/utils";
|
|
4
4
|
export class ZFileUpload {
|
|
5
5
|
constructor() {
|
|
6
|
+
/** Prop indicating the file upload type - can be default or dragdrop */
|
|
7
|
+
this.type = ZFileUploadType.DEFAULT;
|
|
8
|
+
/** Files added by the user */
|
|
9
|
+
this.files = [];
|
|
6
10
|
this.inputAttributes = {
|
|
7
11
|
type: "file",
|
|
8
12
|
id: "file-elem",
|
|
9
13
|
multiple: true,
|
|
10
14
|
};
|
|
11
|
-
this.type = ZFileUploadType.DEFAULT;
|
|
12
|
-
this.buttonVariant = undefined;
|
|
13
|
-
this.acceptedFormat = undefined;
|
|
14
|
-
this.fileMaxSize = undefined;
|
|
15
|
-
this.mainTitle = undefined;
|
|
16
|
-
this.description = undefined;
|
|
17
|
-
this.files = [];
|
|
18
|
-
this.invalidFiles = undefined;
|
|
19
15
|
}
|
|
20
16
|
/** Listen removeFile event sent from z-file component */
|
|
21
17
|
removeFileListener(e) {
|
|
@@ -1,13 +1,6 @@
|
|
|
1
1
|
import { h } from "@stencil/core";
|
|
2
2
|
import { ICONS } from "../icons";
|
|
3
3
|
export class ZIcon {
|
|
4
|
-
constructor() {
|
|
5
|
-
this.name = undefined;
|
|
6
|
-
this.height = undefined;
|
|
7
|
-
this.width = undefined;
|
|
8
|
-
this.iconid = undefined;
|
|
9
|
-
this.fill = undefined;
|
|
10
|
-
}
|
|
11
4
|
selectPathOrPolygon(iconValue) {
|
|
12
5
|
if (iconValue === null || iconValue === void 0 ? void 0 : iconValue.startsWith("M")) {
|
|
13
6
|
return h("path", { d: ICONS[this.name] });
|
|
@@ -1,11 +1,5 @@
|
|
|
1
1
|
import { h } from "@stencil/core";
|
|
2
2
|
export class ZStepperItem {
|
|
3
|
-
constructor() {
|
|
4
|
-
this.index = undefined;
|
|
5
|
-
this.href = undefined;
|
|
6
|
-
this.pressed = undefined;
|
|
7
|
-
this.disabled = undefined;
|
|
8
|
-
}
|
|
9
3
|
render() {
|
|
10
4
|
if (this.href) {
|
|
11
5
|
return (h("a", { href: !this.disabled && this.href, class: "stepper-item" }, h("div", { class: "indicator" }, this.index), h("span", null, h("slot", null))));
|
|
@@ -3,26 +3,27 @@ import { InputType, KeyboardKeyCode } from "../../../beans";
|
|
|
3
3
|
import { handleKeyboardSubmit } from "../../../utils/utils";
|
|
4
4
|
export class ZCombobox {
|
|
5
5
|
constructor() {
|
|
6
|
-
|
|
7
|
-
this.inputType = InputType.TEXT;
|
|
8
|
-
this.inputid = undefined;
|
|
9
|
-
this.items = undefined;
|
|
10
|
-
this.label = undefined;
|
|
6
|
+
/** show search input flag (optional) */
|
|
11
7
|
this.hassearch = false;
|
|
12
|
-
|
|
13
|
-
this.searchplaceholder = undefined;
|
|
14
|
-
this.searchtitle = undefined;
|
|
8
|
+
/** no result text message */
|
|
15
9
|
this.noresultslabel = "Nessun risultato";
|
|
10
|
+
/** toggle combo list opening flag */
|
|
16
11
|
this.isopen = false;
|
|
12
|
+
/** fixed style flag */
|
|
17
13
|
this.isfixed = false;
|
|
14
|
+
/** close combobox list text */
|
|
18
15
|
this.closesearchtext = "Chiudi";
|
|
16
|
+
/** show "check all" checkbox (optional) */
|
|
19
17
|
this.hascheckall = false;
|
|
18
|
+
/** check all label (optional) */
|
|
20
19
|
this.checkalltext = "Seleziona tutti";
|
|
20
|
+
/** uncheck all label (optional) */
|
|
21
21
|
this.uncheckalltext = "Deseleziona tutti";
|
|
22
|
+
/** max number of checkable items (0 = unlimited) */
|
|
22
23
|
this.maxcheckableitems = 0;
|
|
23
|
-
this.
|
|
24
|
-
this.
|
|
25
|
-
this.
|
|
24
|
+
this.renderItemsList = []; // used for render only
|
|
25
|
+
this.itemsList = [];
|
|
26
|
+
this.inputType = InputType.TEXT;
|
|
26
27
|
this.toggleComboBox = this.toggleComboBox.bind(this);
|
|
27
28
|
this.closeFilterItems = this.closeFilterItems.bind(this);
|
|
28
29
|
}
|
|
@@ -3,31 +3,27 @@ import { InputType, LabelPosition } from "../../../beans";
|
|
|
3
3
|
import { boolean, randomId } from "../../../utils/utils";
|
|
4
4
|
export class ZInput {
|
|
5
5
|
constructor() {
|
|
6
|
-
|
|
6
|
+
/** the id of the input element */
|
|
7
7
|
this.htmlid = `id-${randomId()}`;
|
|
8
|
-
|
|
9
|
-
this.name = undefined;
|
|
10
|
-
this.label = undefined;
|
|
8
|
+
/** the input aria-label */
|
|
11
9
|
this.ariaLabel = "";
|
|
12
|
-
|
|
10
|
+
/** the input is disabled */
|
|
13
11
|
this.disabled = false;
|
|
12
|
+
/** the input is readonly */
|
|
14
13
|
this.readonly = false;
|
|
14
|
+
/** the input is required (optional): available for text, password, number, email, textarea, checkbox */
|
|
15
15
|
this.required = false;
|
|
16
|
+
/** checked: available for checkbox, radio */
|
|
16
17
|
this.checked = false;
|
|
17
|
-
|
|
18
|
-
this.htmltitle = undefined;
|
|
19
|
-
this.status = undefined;
|
|
18
|
+
/** input helper message (optional): available for text, password, number, email, textarea - if set to `false` message won't be displayed */
|
|
20
19
|
this.message = true;
|
|
20
|
+
/** the input label position: available for checkbox, radio */
|
|
21
21
|
this.labelPosition = LabelPosition.RIGHT;
|
|
22
|
-
|
|
22
|
+
/** render clear icon when typing (optional): available for text */
|
|
23
23
|
this.hasclearicon = true;
|
|
24
|
-
this.icon = undefined;
|
|
25
|
-
this.min = undefined;
|
|
26
|
-
this.max = undefined;
|
|
27
|
-
this.step = undefined;
|
|
28
|
-
this.pattern = undefined;
|
|
29
24
|
this.isTyping = false;
|
|
30
25
|
this.passwordHidden = true;
|
|
26
|
+
this.typingtimeout = 300;
|
|
31
27
|
}
|
|
32
28
|
inputCheckListener(e) {
|
|
33
29
|
const data = e.detail;
|
|
@@ -6,8 +6,6 @@ export class ZInputMessage {
|
|
|
6
6
|
error: "multiply-circled",
|
|
7
7
|
warning: "exclamation-circle",
|
|
8
8
|
};
|
|
9
|
-
this.message = undefined;
|
|
10
|
-
this.status = undefined;
|
|
11
9
|
}
|
|
12
10
|
render() {
|
|
13
11
|
return (h(Host, { role: "alert", "aria-label": this.message, tabindex: this.message ? 0 : -1 }, this.statusIcons[this.status] && this.message && h("z-icon", { name: this.statusIcons[this.status] }), h("span", { innerHTML: this.message })));
|
|
@@ -3,24 +3,23 @@ import { ListDividerType, KeyboardCode } from "../../../beans";
|
|
|
3
3
|
import { randomId, handleKeyboardSubmit, getClickedElement, getElementTree, boolean } from "../../../utils/utils";
|
|
4
4
|
export class ZSelect {
|
|
5
5
|
constructor() {
|
|
6
|
-
|
|
6
|
+
/** the id of the input element */
|
|
7
7
|
this.htmlid = `id-${randomId()}`;
|
|
8
|
-
|
|
9
|
-
this.name = undefined;
|
|
10
|
-
this.label = undefined;
|
|
8
|
+
/** the input aria-label */
|
|
11
9
|
this.ariaLabel = "";
|
|
10
|
+
/** the input is disabled */
|
|
12
11
|
this.disabled = false;
|
|
12
|
+
/** the input is readonly */
|
|
13
13
|
this.readonly = false;
|
|
14
|
-
|
|
15
|
-
this.htmltitle = undefined;
|
|
16
|
-
this.status = undefined;
|
|
14
|
+
/** input helper message (optional) - if set to `false` message won't be displayed */
|
|
17
15
|
this.message = true;
|
|
16
|
+
/** the input has autocomplete option */
|
|
18
17
|
this.autocomplete = false;
|
|
18
|
+
/** no result text message */
|
|
19
19
|
this.noresultslabel = "Nessun risultato";
|
|
20
|
-
this.hasGroupItems = undefined;
|
|
21
20
|
this.isOpen = false;
|
|
22
21
|
this.selectedItem = null;
|
|
23
|
-
this.
|
|
22
|
+
this.itemsList = [];
|
|
24
23
|
this.toggleSelectUl = this.toggleSelectUl.bind(this);
|
|
25
24
|
this.selectItem = this.selectItem.bind(this);
|
|
26
25
|
this.handleSelectFocus = this.handleSelectFocus.bind(this);
|
|
@@ -2,7 +2,13 @@ import { h, Host } from "@stencil/core";
|
|
|
2
2
|
import { ListSize, ListType } from "../../../beans";
|
|
3
3
|
export class ZList {
|
|
4
4
|
constructor() {
|
|
5
|
+
/**
|
|
6
|
+
* [optional] Sets size of inside elements.
|
|
7
|
+
*/
|
|
5
8
|
this.size = ListSize.MEDIUM;
|
|
9
|
+
/**
|
|
10
|
+
* [optional] type of the list marker for each element
|
|
11
|
+
*/
|
|
6
12
|
this.listType = ListType.NONE;
|
|
7
13
|
}
|
|
8
14
|
setChildrenSizeType() {
|
|
@@ -5,31 +5,69 @@ export class ZListElement {
|
|
|
5
5
|
* Constructor.
|
|
6
6
|
*/
|
|
7
7
|
constructor() {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
close: "plus-circled",
|
|
12
|
-
},
|
|
13
|
-
menu: {
|
|
14
|
-
open: "chevron-up",
|
|
15
|
-
close: "chevron-down",
|
|
16
|
-
},
|
|
17
|
-
};
|
|
8
|
+
/**
|
|
9
|
+
* [optional] Align expandable button left or right.
|
|
10
|
+
*/
|
|
18
11
|
this.alignButton = ExpandableListButtonAlign.LEFT;
|
|
12
|
+
/**
|
|
13
|
+
* [optional] Sets element clickable.
|
|
14
|
+
*/
|
|
19
15
|
this.clickable = false;
|
|
16
|
+
/**
|
|
17
|
+
* [optional] Sets the divider color.
|
|
18
|
+
*/
|
|
20
19
|
this.dividerColor = "color-surface03";
|
|
20
|
+
/**
|
|
21
|
+
* [optional] Sets the position where to insert the divider.
|
|
22
|
+
*/
|
|
21
23
|
this.dividerType = ListDividerType.NONE;
|
|
24
|
+
/**
|
|
25
|
+
* [optional] Sets the divider size.
|
|
26
|
+
*/
|
|
22
27
|
this.dividerSize = DividerSize.SMALL;
|
|
28
|
+
/**
|
|
29
|
+
* [optional] Sets element as expandable.
|
|
30
|
+
*/
|
|
23
31
|
this.expandable = false;
|
|
32
|
+
/**
|
|
33
|
+
* [optional] Sets expandable style to element.
|
|
34
|
+
*/
|
|
24
35
|
this.expandableStyle = ExpandableListStyle.ACCORDION;
|
|
25
|
-
|
|
36
|
+
/**
|
|
37
|
+
* [optional] Sets size of inside elements.
|
|
38
|
+
*/
|
|
26
39
|
this.size = ListSize.MEDIUM;
|
|
40
|
+
/**
|
|
41
|
+
* [optional] Sets text color of the element.
|
|
42
|
+
*/
|
|
27
43
|
this.color = "none";
|
|
44
|
+
/**
|
|
45
|
+
* [optional] Sets disabled style of the element.
|
|
46
|
+
*/
|
|
28
47
|
this.disabled = false;
|
|
48
|
+
/**
|
|
49
|
+
* [optional] If is used in ZContextualMenu component
|
|
50
|
+
*/
|
|
29
51
|
this.isContextualMenu = false;
|
|
52
|
+
/**
|
|
53
|
+
* [optional] position of the list element inside the list or the group
|
|
54
|
+
*/
|
|
30
55
|
this.listElementPosition = "0";
|
|
56
|
+
/**
|
|
57
|
+
* [optional] type of the list marker for each element
|
|
58
|
+
*/
|
|
31
59
|
this.listType = ListType.NONE;
|
|
32
60
|
this.showInnerContent = false;
|
|
61
|
+
this.openElementConfig = {
|
|
62
|
+
accordion: {
|
|
63
|
+
open: "minus-circled",
|
|
64
|
+
close: "plus-circled",
|
|
65
|
+
},
|
|
66
|
+
menu: {
|
|
67
|
+
open: "chevron-up",
|
|
68
|
+
close: "chevron-down",
|
|
69
|
+
},
|
|
70
|
+
};
|
|
33
71
|
this.handleClick = this.handleClick.bind(this);
|
|
34
72
|
this.handleKeyDown = this.handleKeyDown.bind(this);
|
|
35
73
|
}
|