@zanichelli/albe-web-components 6.3.2-rc1 → 6.3.2
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 +7 -0
- package/dist/cjs/index-e3299e0a.js +74 -18
- package/dist/cjs/{index-fa110f37.js → index-f08f7171.js} +54 -13
- package/dist/cjs/index.cjs.js +26 -2
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/{utils-600bad93.js → utils-73ead59e.js} +1 -1
- package/dist/cjs/{utils-8bc9056f.js → utils-7fde0c53.js} +1 -1
- package/dist/cjs/web-components-library.cjs.js +2 -2
- package/dist/cjs/z-alert.cjs.entry.js +1 -0
- package/dist/cjs/z-anchor-navigation.cjs.entry.js +1 -8
- package/dist/cjs/z-app-header_2.cjs.entry.js +12 -29
- package/dist/cjs/z-app-switcher.cjs.entry.js +28 -0
- package/dist/cjs/z-app-topbar.cjs.entry.js +7 -3
- package/dist/cjs/z-aria-alert.cjs.entry.js +1 -2
- package/dist/cjs/z-avatar.cjs.entry.js +3 -4
- package/dist/cjs/z-body_2.cjs.entry.js +4 -2
- package/dist/cjs/z-button-deprecated.cjs.entry.js +36 -0
- package/dist/cjs/z-button-filter.cjs.entry.js +49 -0
- 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-candybar.cjs.entry.js +19 -0
- package/dist/cjs/z-card.cjs.entry.js +4 -3
- package/dist/cjs/z-carousel.cjs.entry.js +8 -6
- package/dist/cjs/z-chip-deprecated.cjs.entry.js +24 -0
- package/dist/cjs/z-chip.cjs.entry.js +4 -4
- package/dist/cjs/z-combobox.cjs.entry.js +13 -14
- package/dist/cjs/z-contextual-menu.cjs.entry.js +3 -8
- package/dist/cjs/z-cookiebar.cjs.entry.js +44 -0
- package/dist/cjs/z-cover-hero.cjs.entry.js +1 -8
- package/dist/cjs/z-date-picker.cjs.entry.js +4 -4
- package/dist/cjs/z-divider.cjs.entry.js +1 -4
- package/dist/cjs/z-dragdrop-area_2.cjs.entry.js +2 -1
- package/dist/cjs/z-file-upload.cjs.entry.js +10 -6
- package/dist/cjs/z-file.cjs.entry.js +4 -2
- package/dist/cjs/z-footer-link_3.cjs.entry.js +54 -0
- package/dist/cjs/z-footer.cjs.entry.js +110 -0
- package/dist/cjs/z-info-box.cjs.entry.js +1 -1
- package/dist/cjs/z-info-reveal.cjs.entry.js +2 -5
- package/dist/cjs/z-input-deprecated.cjs.entry.js +261 -0
- package/dist/cjs/{z-select.cjs.entry.js → z-input-label_2.cjs.entry.js} +33 -14
- package/dist/cjs/z-input_2.cjs.entry.js +18 -12
- package/dist/cjs/z-link.cjs.entry.js +3 -9
- package/dist/cjs/z-list_3.cjs.entry.js +12 -71
- package/dist/cjs/{z-app-switcher_2.cjs.entry.js → z-logo.cjs.entry.js} +6 -23
- package/dist/cjs/z-menu-dropdown_2.cjs.entry.js +93 -0
- package/dist/cjs/z-menu-section.cjs.entry.js +3 -0
- package/dist/cjs/z-menu.cjs.entry.js +3 -10
- package/dist/cjs/z-messages-pocket.cjs.entry.js +3 -2
- package/dist/cjs/z-modal-login.cjs.entry.js +5 -2
- package/dist/cjs/z-modal.cjs.entry.js +3 -1
- package/dist/cjs/z-myz-card-alert.cjs.entry.js +5 -1
- package/dist/cjs/z-myz-card-dictionary.cjs.entry.js +3 -5
- package/dist/cjs/z-myz-card-footer.cjs.entry.js +6 -3
- package/dist/cjs/z-myz-card-icon.cjs.entry.js +1 -2
- package/dist/cjs/z-myz-card-info.cjs.entry.js +4 -4
- package/dist/cjs/z-myz-card-list.cjs.entry.js +1 -0
- package/dist/cjs/z-myz-card_4.cjs.entry.js +10 -3
- package/dist/cjs/z-myz-list-item.cjs.entry.js +7 -4
- package/dist/cjs/z-myz-topbar.cjs.entry.js +201 -0
- package/dist/cjs/z-navigation-tab-link.cjs.entry.js +6 -13
- package/dist/cjs/z-navigation-tab.cjs.entry.js +4 -13
- package/dist/cjs/z-navigation-tabs.cjs.entry.js +4 -7
- package/dist/cjs/z-notification.cjs.entry.js +3 -6
- package/dist/cjs/z-offcanvas.cjs.entry.js +1 -8
- package/dist/cjs/z-otp.cjs.entry.js +3 -2
- package/dist/cjs/z-pagination-bar.cjs.entry.js +116 -0
- package/dist/cjs/z-pagination-page.cjs.entry.js +25 -0
- package/dist/cjs/z-pagination.cjs.entry.js +6 -13
- package/dist/cjs/z-panel-elem.cjs.entry.js +7 -2
- package/dist/cjs/z-pocket_3.cjs.entry.js +5 -4
- package/dist/cjs/z-popover-deprecated.cjs.entry.js +129 -0
- package/dist/cjs/z-popover.cjs.entry.js +24 -35
- package/dist/cjs/z-range-picker.cjs.entry.js +7 -3
- package/dist/cjs/z-section-title.cjs.entry.js +1 -8
- package/dist/cjs/z-skip-to-content.cjs.entry.js +3 -3
- package/dist/cjs/z-slideshow.cjs.entry.js +5 -2
- package/dist/cjs/z-status-tag.cjs.entry.js +32 -0
- package/dist/cjs/z-stepper-item.cjs.entry.js +4 -0
- package/dist/cjs/z-table-cell.cjs.entry.js +2 -2
- package/dist/cjs/z-table-empty-box.cjs.entry.js +0 -2
- package/dist/cjs/z-table-expanded-row.cjs.entry.js +1 -0
- package/dist/cjs/z-table-header-row.cjs.entry.js +1 -0
- package/dist/cjs/z-table-header.cjs.entry.js +6 -6
- package/dist/cjs/z-table-row.cjs.entry.js +1 -2
- package/dist/cjs/z-table.cjs.entry.js +7 -9
- package/dist/cjs/z-tag.cjs.entry.js +2 -0
- package/dist/cjs/z-toast-notification-list.cjs.entry.js +1 -3
- package/dist/cjs/z-toast-notification.cjs.entry.js +9 -5
- package/dist/cjs/z-toggle-button.cjs.entry.js +2 -2
- package/dist/cjs/z-toggle-switch.cjs.entry.js +2 -6
- package/dist/cjs/z-tooltip-deprecated.cjs.entry.js +262 -0
- package/dist/cjs/z-tooltip.cjs.entry.js +3 -7
- package/dist/cjs/z-user-dropdown.cjs.entry.js +5 -1
- package/dist/collection/beans/index.js +54 -13
- package/dist/collection/collection-manifest.json +18 -1
- 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 +0 -4
- package/dist/collection/components/date-picker/z-date-picker/index.js +2 -2
- package/dist/collection/components/date-picker/z-range-picker/index.js +5 -1
- package/dist/collection/components/file-upload/z-file/index.js +4 -2
- package/dist/collection/components/file-upload/z-file-upload/index.js +8 -4
- package/dist/collection/components/footer/z-footer/index.js +262 -0
- package/dist/collection/components/footer/z-footer/styles.css +242 -0
- package/dist/collection/components/footer/z-footer-link/index.js +45 -0
- package/dist/collection/components/footer/z-footer-link/styles.css +25 -0
- package/dist/collection/components/footer/z-footer-section/index.js +54 -0
- package/dist/collection/components/footer/z-footer-section/styles.css +150 -0
- package/dist/collection/components/footer/z-footer-social/index.js +78 -0
- package/dist/collection/components/footer/z-footer-social/styles.css +15 -0
- package/dist/collection/components/icons/z-icon/index.js +7 -0
- package/dist/collection/components/indicators/z-stepper-item/index.js +6 -0
- package/dist/collection/components/inputs/z-combobox/index.js +11 -12
- package/dist/collection/components/inputs/z-input/index.js +14 -10
- package/dist/collection/components/inputs/z-input-message/index.js +2 -0
- package/dist/collection/components/inputs/z-select/index.js +15 -12
- package/dist/collection/components/list/z-list/index.js +0 -6
- package/dist/collection/components/list/z-list-element/index.js +11 -49
- package/dist/collection/components/list/z-list-group/index.js +0 -15
- package/dist/collection/components/list/z-toast-notification-list/index.js +0 -2
- package/dist/collection/components/logo/z-logo/index.js +8 -0
- package/dist/collection/components/modal/z-modal/index.js +3 -1
- package/dist/collection/components/modal/z-modal-login/index.js +4 -1
- package/dist/collection/components/navigation/tabs/z-navigation-tab/index.js +3 -12
- package/dist/collection/components/navigation/tabs/z-navigation-tab-link/index.js +5 -12
- package/dist/collection/components/navigation/tabs/z-navigation-tabs/index.js +3 -6
- package/dist/collection/components/navigation/z-app-header/index.js +7 -29
- package/dist/collection/components/navigation/z-app-switcher/index.js +0 -1
- package/dist/collection/components/navigation/z-app-topbar/index.js +6 -2
- package/dist/collection/components/navigation/z-link/index.js +3 -9
- package/dist/collection/components/navigation/z-menu/index.js +3 -10
- package/dist/collection/components/navigation/z-menu-dropdown/index.js +3 -0
- package/dist/collection/components/navigation/z-menu-section/index.js +5 -0
- package/dist/collection/components/navigation/z-user-dropdown/index.js +5 -1
- package/dist/collection/components/notification/z-candybar/index.js +21 -0
- package/dist/collection/components/notification/z-candybar/styles.css +55 -0
- package/dist/collection/components/notification/z-cookiebar/index.js +115 -0
- package/dist/collection/components/notification/z-cookiebar/styles.css +108 -0
- package/dist/collection/components/notification/z-info-box/index.js +1 -1
- package/dist/collection/components/notification/z-notification/index.js +3 -6
- package/dist/collection/components/notification/z-toast-notification/index.js +8 -4
- package/dist/collection/components/notification/z-tooltip/index.js +7 -11
- package/dist/collection/components/panel/z-panel-elem/index.js +7 -2
- package/dist/collection/components/typography/z-body/index.js +2 -1
- package/dist/collection/components/typography/z-heading/index.js +2 -1
- package/dist/collection/components/typography/z-typography/index.js +2 -1
- package/dist/collection/components/z-anchor-navigation/index.js +0 -7
- package/dist/collection/components/z-aria-alert/index.js +0 -1
- package/dist/collection/components/z-avatar/index.js +2 -3
- package/dist/collection/components/z-card/index.js +3 -2
- package/dist/collection/components/z-carousel/index.js +7 -5
- package/dist/collection/components/z-contextual-menu/index.js +7 -12
- package/dist/collection/components/z-cover-hero/index.js +0 -7
- package/dist/collection/components/z-divider/index.js +0 -3
- package/dist/collection/components/z-info-reveal/index.js +1 -4
- package/dist/collection/components/z-offcanvas/index.js +0 -7
- package/dist/collection/components/z-pagination/index.js +5 -12
- package/dist/collection/components/z-popover/index.js +27 -38
- package/dist/collection/components/z-section-title/index.js +0 -7
- package/dist/collection/components/z-skip-to-content/index.js +1 -1
- package/dist/collection/components/z-table/z-table/index.js +6 -8
- 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 +0 -2
- package/dist/collection/components/z-table/z-table-expanded-row/index.js +3 -0
- 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 +3 -0
- package/dist/collection/components/z-table/z-table-row/index.js +0 -1
- package/dist/collection/components/z-tag/index.js +4 -0
- package/dist/collection/deprecated/pagination/z-pagination-bar/index.js +271 -0
- package/dist/collection/deprecated/pagination/z-pagination-bar/styles.css +22 -0
- package/dist/collection/deprecated/pagination/z-pagination-page/index.js +136 -0
- package/dist/collection/deprecated/pagination/z-pagination-page/styles.css +57 -0
- package/dist/collection/deprecated/z-button-deprecated/index.js +221 -0
- package/dist/collection/deprecated/z-button-deprecated/styles.css +231 -0
- package/dist/collection/deprecated/z-button-filter/index.js +159 -0
- package/dist/collection/deprecated/z-button-filter/styles.css +64 -0
- package/dist/collection/deprecated/z-chip-deprecated/index.js +63 -0
- package/dist/collection/deprecated/z-chip-deprecated/styles.css +17 -0
- package/dist/collection/deprecated/z-input-deprecated/index.js +810 -0
- package/dist/collection/deprecated/z-input-deprecated/styles.css +282 -0
- package/dist/collection/deprecated/z-input-label/index.js +79 -0
- package/dist/collection/deprecated/z-input-label/styles.css +16 -0
- package/dist/collection/deprecated/z-popover-deprecated/index.js +300 -0
- package/dist/collection/deprecated/z-popover-deprecated/styles.css +235 -0
- package/dist/collection/deprecated/z-status-tag/index.js +133 -0
- package/dist/collection/deprecated/z-status-tag/styles.css +131 -0
- package/dist/collection/deprecated/z-tooltip-deprecated/index.js +378 -0
- package/dist/collection/deprecated/z-tooltip-deprecated/styles.css +128 -0
- 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 +6 -0
- package/dist/collection/snowflakes/myz/card/z-myz-card-cover/index.js +6 -0
- package/dist/collection/snowflakes/myz/card/z-myz-card-dictionary/index.js +2 -4
- package/dist/collection/snowflakes/myz/card/z-myz-card-footer/index.js +5 -2
- package/dist/collection/snowflakes/myz/card/z-myz-card-header/index.js +3 -0
- package/dist/collection/snowflakes/myz/card/z-myz-card-icon/index.js +1 -2
- 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 +1 -0
- package/dist/collection/snowflakes/myz/list/z-myz-list/index.js +4 -0
- package/dist/collection/snowflakes/myz/list/z-myz-list-item/index.js +5 -2
- package/dist/collection/snowflakes/myz/pocket/z-messages-pocket/index.js +2 -1
- 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 +1 -0
- package/dist/collection/snowflakes/myz/topbar/index.js +409 -0
- package/dist/collection/snowflakes/myz/topbar/styles.css +574 -0
- package/dist/collection/snowflakes/myz/z-alert/index.js +3 -0
- package/dist/collection/snowflakes/myz/z-otp/index.js +2 -1
- package/dist/collection/snowflakes/myz/z-slideshow/index.js +3 -0
- package/dist/esm/index-a2ca4b97.js +74 -18
- package/dist/esm/{index-968a240f.js → index-aee91593.js} +55 -14
- package/dist/esm/index.js +2 -2
- package/dist/esm/loader.js +2 -2
- package/dist/esm/{utils-ccb4d66f.js → utils-5dc8ce33.js} +2 -2
- package/dist/esm/{utils-151f0ab4.js → utils-77c5c75d.js} +1 -1
- package/dist/esm/web-components-library.js +2 -2
- package/dist/esm/z-alert.entry.js +1 -0
- package/dist/esm/z-anchor-navigation.entry.js +1 -8
- package/dist/esm/z-app-header_2.entry.js +12 -29
- package/dist/esm/z-app-switcher.entry.js +24 -0
- package/dist/esm/z-app-topbar.entry.js +7 -3
- package/dist/esm/z-aria-alert.entry.js +1 -2
- package/dist/esm/z-avatar.entry.js +3 -4
- package/dist/esm/z-body_2.entry.js +4 -2
- package/dist/esm/z-button-deprecated.entry.js +32 -0
- package/dist/esm/z-button-filter.entry.js +45 -0
- package/dist/esm/z-button-sort.entry.js +4 -4
- package/dist/esm/z-button.entry.js +6 -6
- package/dist/esm/z-candybar.entry.js +15 -0
- package/dist/esm/z-card.entry.js +4 -3
- package/dist/esm/z-carousel.entry.js +8 -6
- package/dist/esm/z-chip-deprecated.entry.js +20 -0
- package/dist/esm/z-chip.entry.js +4 -4
- package/dist/esm/z-combobox.entry.js +13 -14
- package/dist/esm/z-contextual-menu.entry.js +3 -8
- package/dist/esm/z-cookiebar.entry.js +40 -0
- package/dist/esm/z-cover-hero.entry.js +1 -8
- package/dist/esm/z-date-picker.entry.js +4 -4
- package/dist/esm/z-divider.entry.js +1 -4
- package/dist/esm/z-dragdrop-area_2.entry.js +2 -1
- package/dist/esm/z-file-upload.entry.js +10 -6
- package/dist/esm/z-file.entry.js +4 -2
- package/dist/esm/z-footer-link_3.entry.js +48 -0
- package/dist/esm/z-footer.entry.js +106 -0
- package/dist/esm/z-info-box.entry.js +1 -1
- package/dist/esm/z-info-reveal.entry.js +2 -5
- package/dist/esm/z-input-deprecated.entry.js +257 -0
- package/dist/esm/{z-select.entry.js → z-input-label_2.entry.js} +34 -16
- package/dist/esm/z-input_2.entry.js +18 -12
- package/dist/esm/z-link.entry.js +3 -9
- package/dist/esm/z-list_3.entry.js +12 -71
- package/dist/esm/{z-app-switcher_2.entry.js → z-logo.entry.js} +8 -24
- package/dist/esm/z-menu-dropdown_2.entry.js +88 -0
- package/dist/esm/z-menu-section.entry.js +3 -0
- package/dist/esm/z-menu.entry.js +3 -10
- package/dist/esm/z-messages-pocket.entry.js +3 -2
- package/dist/esm/z-modal-login.entry.js +5 -2
- package/dist/esm/z-modal.entry.js +3 -1
- package/dist/esm/z-myz-card-alert.entry.js +5 -1
- package/dist/esm/z-myz-card-dictionary.entry.js +3 -5
- package/dist/esm/z-myz-card-footer.entry.js +6 -3
- package/dist/esm/z-myz-card-icon.entry.js +1 -2
- package/dist/esm/z-myz-card-info.entry.js +4 -4
- package/dist/esm/z-myz-card-list.entry.js +1 -0
- package/dist/esm/z-myz-card_4.entry.js +10 -3
- package/dist/esm/z-myz-list-item.entry.js +7 -4
- package/dist/esm/z-myz-topbar.entry.js +197 -0
- package/dist/esm/z-navigation-tab-link.entry.js +6 -13
- package/dist/esm/z-navigation-tab.entry.js +4 -13
- package/dist/esm/z-navigation-tabs.entry.js +4 -7
- package/dist/esm/z-notification.entry.js +3 -6
- package/dist/esm/z-offcanvas.entry.js +1 -8
- package/dist/esm/z-otp.entry.js +3 -2
- package/dist/esm/z-pagination-bar.entry.js +112 -0
- package/dist/esm/z-pagination-page.entry.js +21 -0
- package/dist/esm/z-pagination.entry.js +6 -13
- package/dist/esm/z-panel-elem.entry.js +7 -2
- package/dist/esm/z-pocket_3.entry.js +5 -4
- package/dist/esm/z-popover-deprecated.entry.js +125 -0
- package/dist/esm/z-popover.entry.js +24 -35
- package/dist/esm/z-range-picker.entry.js +7 -3
- package/dist/esm/z-section-title.entry.js +1 -8
- package/dist/esm/z-skip-to-content.entry.js +3 -3
- package/dist/esm/z-slideshow.entry.js +5 -2
- package/dist/esm/z-status-tag.entry.js +28 -0
- package/dist/esm/z-stepper-item.entry.js +4 -0
- package/dist/esm/z-table-cell.entry.js +2 -2
- package/dist/esm/z-table-empty-box.entry.js +0 -2
- package/dist/esm/z-table-expanded-row.entry.js +1 -0
- package/dist/esm/z-table-header-row.entry.js +1 -0
- package/dist/esm/z-table-header.entry.js +6 -6
- package/dist/esm/z-table-row.entry.js +1 -2
- package/dist/esm/z-table.entry.js +7 -9
- package/dist/esm/z-tag.entry.js +2 -0
- package/dist/esm/z-toast-notification-list.entry.js +1 -3
- package/dist/esm/z-toast-notification.entry.js +9 -5
- package/dist/esm/z-toggle-button.entry.js +2 -2
- package/dist/esm/z-toggle-switch.entry.js +2 -6
- package/dist/esm/z-tooltip-deprecated.entry.js +258 -0
- package/dist/esm/z-tooltip.entry.js +3 -7
- package/dist/esm/z-user-dropdown.entry.js +5 -1
- package/dist/types/beans/index.d.ts +60 -1
- package/dist/types/components/footer/z-footer/index.d.ts +46 -0
- package/dist/types/components/footer/z-footer-link/index.d.ts +8 -0
- package/dist/types/components/footer/z-footer-section/index.d.ts +10 -0
- package/dist/types/components/footer/z-footer-social/index.d.ts +9 -0
- package/dist/types/components/notification/z-candybar/index.d.ts +6 -0
- package/dist/types/components/notification/z-cookiebar/index.d.ts +16 -0
- 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 +1057 -8
- package/dist/types/deprecated/pagination/z-pagination-bar/index.d.ts +40 -0
- package/dist/types/deprecated/pagination/z-pagination-page/index.d.ts +15 -0
- package/dist/types/deprecated/z-button-deprecated/index.d.ts +28 -0
- package/dist/types/deprecated/z-button-filter/index.d.ts +22 -0
- package/dist/types/deprecated/z-chip-deprecated/index.d.ts +8 -0
- package/dist/types/deprecated/z-input-deprecated/index.d.ts +91 -0
- package/dist/types/deprecated/z-input-label/index.d.ts +9 -0
- package/dist/types/deprecated/z-popover-deprecated/index.d.ts +33 -0
- package/dist/types/deprecated/z-status-tag/index.d.ts +15 -0
- package/dist/types/deprecated/z-tooltip-deprecated/index.d.ts +41 -0
- package/dist/types/snowflakes/myz/topbar/index.d.ts +59 -0
- package/dist/types/stencil-public-runtime.d.ts +5 -0
- package/dist/web-components-library/index.esm.js +1 -1
- package/dist/web-components-library/p-016b2800.entry.js +1 -0
- package/dist/web-components-library/p-067bd5da.entry.js +1 -0
- package/dist/web-components-library/p-0afc555e.entry.js +1 -0
- package/dist/web-components-library/{p-214b6cee.entry.js → p-0f28f07e.entry.js} +1 -1
- package/dist/web-components-library/p-10b84e8c.entry.js +1 -0
- package/dist/web-components-library/p-12211a48.entry.js +1 -0
- package/dist/web-components-library/p-18448e4d.entry.js +1 -0
- package/dist/web-components-library/p-1ab0de76.entry.js +1 -0
- package/dist/web-components-library/p-1e163a87.entry.js +1 -0
- package/dist/web-components-library/p-1f187c54.entry.js +1 -0
- package/dist/web-components-library/p-1f8c8cd0.entry.js +1 -0
- package/dist/web-components-library/{p-9ed27651.entry.js → p-1f8c947e.entry.js} +1 -1
- package/dist/web-components-library/{p-2acd6a51.entry.js → p-1fdbd448.entry.js} +1 -1
- package/dist/web-components-library/{p-33352f9e.entry.js → p-279b422a.entry.js} +1 -1
- package/{www/build/p-f158d205.entry.js → dist/web-components-library/p-2c18a622.entry.js} +1 -1
- package/dist/web-components-library/p-2d5d8e6f.entry.js +1 -0
- package/dist/web-components-library/p-2e7a31ac.entry.js +1 -0
- package/dist/web-components-library/p-3027c60b.entry.js +1 -0
- package/dist/web-components-library/p-30fcd62b.js +1 -0
- package/dist/web-components-library/{p-9c28b8fc.entry.js → p-323ae109.entry.js} +1 -1
- package/dist/web-components-library/p-35739670.entry.js +1 -0
- package/dist/web-components-library/p-36d2d081.entry.js +1 -0
- package/dist/web-components-library/{p-67d6cfcb.entry.js → p-3b1c4366.entry.js} +1 -1
- package/dist/web-components-library/p-3c7cf41f.entry.js +1 -0
- package/dist/web-components-library/p-3eb0d582.entry.js +1 -0
- package/dist/web-components-library/p-3ecfb7c1.entry.js +1 -0
- package/dist/web-components-library/p-40f96085.entry.js +1 -0
- package/dist/web-components-library/p-42782d06.entry.js +1 -0
- package/dist/web-components-library/p-4465426a.entry.js +1 -0
- package/dist/web-components-library/p-468520f5.entry.js +1 -0
- package/dist/web-components-library/p-46e367c9.entry.js +1 -0
- package/dist/web-components-library/{p-496863be.entry.js → p-4a322ca6.entry.js} +1 -1
- package/dist/web-components-library/p-4ba0b17c.entry.js +1 -0
- package/dist/web-components-library/{p-b17981a4.entry.js → p-4c7f4a2c.entry.js} +1 -1
- package/dist/web-components-library/p-552c6686.entry.js +1 -0
- package/dist/web-components-library/p-563529f8.entry.js +1 -0
- package/dist/web-components-library/p-569f6cff.entry.js +1 -0
- package/dist/web-components-library/p-57faab40.entry.js +1 -0
- package/dist/web-components-library/p-5935151c.entry.js +1 -0
- package/dist/web-components-library/p-5b83568e.entry.js +1 -0
- package/dist/web-components-library/p-5c6108bb.entry.js +1 -0
- package/dist/web-components-library/p-63a99ad2.entry.js +16 -0
- package/dist/web-components-library/p-64033ee3.entry.js +1 -0
- package/dist/web-components-library/p-66bbcf76.entry.js +1 -0
- package/dist/web-components-library/p-69db61b5.entry.js +1 -0
- package/dist/web-components-library/p-6e4dd501.entry.js +1 -0
- package/dist/web-components-library/p-6fe1bffb.entry.js +1 -0
- package/dist/web-components-library/p-7171d686.entry.js +1 -0
- package/dist/web-components-library/p-75a4091f.entry.js +1 -0
- package/dist/web-components-library/p-7b22a446.entry.js +1 -0
- package/dist/web-components-library/p-7e13d026.entry.js +1 -0
- package/dist/web-components-library/p-82ff8f0e.entry.js +1 -0
- package/dist/web-components-library/p-84cc611a.entry.js +1 -0
- package/dist/web-components-library/p-8879211b.entry.js +1 -0
- package/dist/web-components-library/p-8949cd1d.entry.js +1 -0
- package/dist/web-components-library/{p-34c26207.entry.js → p-8fee871a.entry.js} +1 -1
- package/dist/web-components-library/p-9099124a.entry.js +1 -0
- package/dist/web-components-library/p-9ecf936d.js +1 -0
- package/dist/web-components-library/p-a1250f99.entry.js +1 -0
- package/dist/web-components-library/p-a3b8dd69.entry.js +1 -0
- package/dist/web-components-library/p-aa271ed7.entry.js +1 -0
- package/dist/web-components-library/p-af4a9bb7.entry.js +1 -0
- package/dist/web-components-library/p-af9b8051.entry.js +1 -0
- package/dist/web-components-library/p-b01314fa.entry.js +1 -0
- package/dist/web-components-library/p-b4a9ba1d.entry.js +1 -0
- package/dist/web-components-library/p-b9a69a90.entry.js +1 -0
- package/dist/web-components-library/p-bbbfd2fa.entry.js +1 -0
- package/dist/web-components-library/p-bea5aa42.entry.js +1 -0
- package/dist/web-components-library/{p-b3c29822.js → p-bee26f96.js} +1 -1
- package/dist/web-components-library/p-c39c68b9.entry.js +1 -0
- package/dist/web-components-library/p-c7d7958c.entry.js +1 -0
- package/dist/web-components-library/p-c849a2a5.entry.js +1 -0
- package/dist/web-components-library/p-d1b45e96.entry.js +1 -0
- package/dist/web-components-library/p-d767f784.entry.js +1 -0
- package/dist/web-components-library/p-d7e72cec.entry.js +1 -0
- package/dist/web-components-library/p-d8e17d3a.entry.js +1 -0
- package/dist/web-components-library/{p-9965827d.entry.js → p-db234892.entry.js} +1 -1
- package/dist/web-components-library/p-dc3c5f36.entry.js +1 -0
- package/dist/web-components-library/p-e0f82390.entry.js +1 -0
- package/dist/web-components-library/p-e1ddeb61.entry.js +1 -0
- package/dist/web-components-library/p-e4d761f4.entry.js +1 -0
- package/dist/web-components-library/p-efca7e17.entry.js +1 -0
- package/dist/web-components-library/p-f08d1cbd.entry.js +1 -0
- package/dist/web-components-library/p-f53d1d26.entry.js +1 -0
- package/dist/web-components-library/p-f8aef252.entry.js +1 -0
- package/dist/web-components-library/p-f94281ee.entry.js +1 -0
- package/dist/web-components-library/p-f9e8ac5d.entry.js +1 -0
- package/dist/web-components-library/web-components-library.esm.js +1 -1
- package/package.json +2 -2
- package/react/components.d.ts +17 -0
- package/react/components.js +20 -2
- package/react/components.js.map +1 -1
- package/www/build/index.esm.js +1 -1
- package/www/build/p-016b2800.entry.js +1 -0
- package/www/build/p-067bd5da.entry.js +1 -0
- package/www/build/p-0afc555e.entry.js +1 -0
- package/www/build/{p-214b6cee.entry.js → p-0f28f07e.entry.js} +1 -1
- package/www/build/p-10b84e8c.entry.js +1 -0
- package/www/build/p-12211a48.entry.js +1 -0
- package/www/build/p-18448e4d.entry.js +1 -0
- package/www/build/p-1ab0de76.entry.js +1 -0
- package/www/build/p-1e163a87.entry.js +1 -0
- package/www/build/p-1f187c54.entry.js +1 -0
- package/www/build/p-1f8c8cd0.entry.js +1 -0
- package/www/build/{p-9ed27651.entry.js → p-1f8c947e.entry.js} +1 -1
- package/www/build/{p-2acd6a51.entry.js → p-1fdbd448.entry.js} +1 -1
- package/www/build/{p-33352f9e.entry.js → p-279b422a.entry.js} +1 -1
- package/{dist/web-components-library/p-f158d205.entry.js → www/build/p-2c18a622.entry.js} +1 -1
- package/www/build/p-2d5d8e6f.entry.js +1 -0
- package/www/build/p-2e7a31ac.entry.js +1 -0
- package/www/build/p-3027c60b.entry.js +1 -0
- package/www/build/p-30fcd62b.js +1 -0
- package/www/build/{p-9c28b8fc.entry.js → p-323ae109.entry.js} +1 -1
- package/www/build/p-35739670.entry.js +1 -0
- package/www/build/p-36d2d081.entry.js +1 -0
- package/www/build/{p-67d6cfcb.entry.js → p-3b1c4366.entry.js} +1 -1
- package/www/build/p-3c7cf41f.entry.js +1 -0
- package/www/build/p-3eb0d582.entry.js +1 -0
- package/www/build/p-3ecfb7c1.entry.js +1 -0
- package/www/build/p-40f96085.entry.js +1 -0
- package/www/build/p-42782d06.entry.js +1 -0
- package/www/build/p-4465426a.entry.js +1 -0
- package/www/build/p-468520f5.entry.js +1 -0
- package/www/build/p-46e367c9.entry.js +1 -0
- package/www/build/{p-496863be.entry.js → p-4a322ca6.entry.js} +1 -1
- package/www/build/p-4ba0b17c.entry.js +1 -0
- package/www/build/{p-b17981a4.entry.js → p-4c7f4a2c.entry.js} +1 -1
- package/www/build/p-552c6686.entry.js +1 -0
- package/www/build/p-563529f8.entry.js +1 -0
- package/www/build/p-569f6cff.entry.js +1 -0
- package/www/build/p-57faab40.entry.js +1 -0
- package/www/build/p-5935151c.entry.js +1 -0
- package/www/build/p-5b83568e.entry.js +1 -0
- package/www/build/p-5c6108bb.entry.js +1 -0
- package/www/build/p-63a99ad2.entry.js +16 -0
- package/www/build/p-64033ee3.entry.js +1 -0
- package/www/build/p-66bbcf76.entry.js +1 -0
- package/www/build/p-69db61b5.entry.js +1 -0
- package/www/build/p-6e4dd501.entry.js +1 -0
- package/www/build/p-6fe1bffb.entry.js +1 -0
- package/www/build/p-7171d686.entry.js +1 -0
- package/www/build/p-75a4091f.entry.js +1 -0
- package/www/build/p-7b22a446.entry.js +1 -0
- package/www/build/p-7e13d026.entry.js +1 -0
- package/www/build/p-82ff8f0e.entry.js +1 -0
- package/www/build/p-84cc611a.entry.js +1 -0
- package/www/build/p-8879211b.entry.js +1 -0
- package/www/build/p-8949cd1d.entry.js +1 -0
- package/www/build/{p-34c26207.entry.js → p-8fee871a.entry.js} +1 -1
- package/www/build/p-9099124a.entry.js +1 -0
- package/www/build/p-9ecf936d.js +1 -0
- package/www/build/p-a1250f99.entry.js +1 -0
- package/www/build/p-a3b8dd69.entry.js +1 -0
- package/www/build/p-aa271ed7.entry.js +1 -0
- package/www/build/p-af4a9bb7.entry.js +1 -0
- package/www/build/p-af9b8051.entry.js +1 -0
- package/www/build/p-b01314fa.entry.js +1 -0
- package/www/build/p-b4a9ba1d.entry.js +1 -0
- package/www/build/p-b9a69a90.entry.js +1 -0
- package/www/build/p-bbbfd2fa.entry.js +1 -0
- package/www/build/p-bea5aa42.entry.js +1 -0
- package/www/build/{p-b3c29822.js → p-bee26f96.js} +1 -1
- package/www/build/p-c39c68b9.entry.js +1 -0
- package/www/build/p-c7d7958c.entry.js +1 -0
- package/www/build/p-c849a2a5.entry.js +1 -0
- package/www/build/p-d1b45e96.entry.js +1 -0
- package/www/build/p-d70c7670.css +1 -0
- package/www/build/p-d767f784.entry.js +1 -0
- package/www/build/p-d7e72cec.entry.js +1 -0
- package/www/build/p-d8e17d3a.entry.js +1 -0
- package/www/build/{p-9965827d.entry.js → p-db234892.entry.js} +1 -1
- package/www/build/p-dc3c5f36.entry.js +1 -0
- package/www/build/p-e0f82390.entry.js +1 -0
- package/www/build/p-e1ddeb61.entry.js +1 -0
- package/www/build/p-e4d761f4.entry.js +1 -0
- package/www/build/p-ef5f8af2.js +1 -0
- package/www/build/p-efca7e17.entry.js +1 -0
- package/www/build/p-f08d1cbd.entry.js +1 -0
- package/www/build/p-f53d1d26.entry.js +1 -0
- package/www/build/p-f8aef252.entry.js +1 -0
- package/www/build/p-f94281ee.entry.js +1 -0
- package/www/build/p-f9e8ac5d.entry.js +1 -0
- package/www/build/web-components-library.esm.js +1 -1
- package/www/index.html +1 -1
- package/dist/cjs/z-menu-dropdown.cjs.entry.js +0 -59
- package/dist/cjs/z-myz-list.cjs.entry.js +0 -35
- package/dist/esm/z-menu-dropdown.entry.js +0 -55
- package/dist/esm/z-myz-list.entry.js +0 -31
- package/dist/web-components-library/p-009c9f67.entry.js +0 -1
- package/dist/web-components-library/p-01f001fd.entry.js +0 -1
- package/dist/web-components-library/p-05ced71c.entry.js +0 -1
- package/dist/web-components-library/p-074ea569.entry.js +0 -1
- package/dist/web-components-library/p-07e18572.entry.js +0 -1
- package/dist/web-components-library/p-0843b0e7.entry.js +0 -1
- package/dist/web-components-library/p-0fa4b50b.entry.js +0 -1
- package/dist/web-components-library/p-1b6279a6.entry.js +0 -1
- package/dist/web-components-library/p-1ba8d432.entry.js +0 -1
- package/dist/web-components-library/p-1cb23bbb.entry.js +0 -1
- package/dist/web-components-library/p-20a3247c.entry.js +0 -1
- package/dist/web-components-library/p-26f834e5.entry.js +0 -1
- package/dist/web-components-library/p-279655eb.entry.js +0 -1
- package/dist/web-components-library/p-2d1b6c3c.entry.js +0 -1
- package/dist/web-components-library/p-2efedcf4.entry.js +0 -1
- package/dist/web-components-library/p-344e7ae7.entry.js +0 -1
- package/dist/web-components-library/p-38a3cf3b.entry.js +0 -1
- package/dist/web-components-library/p-3a468aa9.entry.js +0 -1
- package/dist/web-components-library/p-3c2d438b.entry.js +0 -1
- package/dist/web-components-library/p-3f55dce6.entry.js +0 -1
- package/dist/web-components-library/p-411cbcd6.entry.js +0 -1
- package/dist/web-components-library/p-475ca461.entry.js +0 -1
- package/dist/web-components-library/p-4cd6c6f4.entry.js +0 -1
- package/dist/web-components-library/p-51e308ca.entry.js +0 -1
- package/dist/web-components-library/p-5921901c.entry.js +0 -1
- package/dist/web-components-library/p-59cfee8d.entry.js +0 -1
- package/dist/web-components-library/p-5dd9a2c6.entry.js +0 -1
- package/dist/web-components-library/p-61424b8a.entry.js +0 -1
- package/dist/web-components-library/p-682528b2.entry.js +0 -1
- package/dist/web-components-library/p-6b1a5309.entry.js +0 -1
- package/dist/web-components-library/p-7af991f5.entry.js +0 -1
- package/dist/web-components-library/p-810bd730.entry.js +0 -1
- package/dist/web-components-library/p-8980398c.entry.js +0 -1
- package/dist/web-components-library/p-8b960526.entry.js +0 -1
- package/dist/web-components-library/p-8bf0844b.entry.js +0 -1
- package/dist/web-components-library/p-8c105bd1.entry.js +0 -1
- package/dist/web-components-library/p-8f46e548.entry.js +0 -1
- package/dist/web-components-library/p-8ffc17b7.entry.js +0 -1
- package/dist/web-components-library/p-93dc6d51.entry.js +0 -1
- package/dist/web-components-library/p-95b8f109.entry.js +0 -1
- package/dist/web-components-library/p-9c338aeb.entry.js +0 -1
- package/dist/web-components-library/p-9d03a7d6.entry.js +0 -1
- package/dist/web-components-library/p-a23e9115.js +0 -1
- package/dist/web-components-library/p-a2b67e2d.entry.js +0 -1
- package/dist/web-components-library/p-a79d1412.entry.js +0 -1
- package/dist/web-components-library/p-a82ea410.entry.js +0 -1
- package/dist/web-components-library/p-b33f5e6a.entry.js +0 -1
- package/dist/web-components-library/p-b6f36170.entry.js +0 -16
- package/dist/web-components-library/p-bb0fe7bc.entry.js +0 -1
- package/dist/web-components-library/p-bdc6f2e5.entry.js +0 -1
- package/dist/web-components-library/p-beba3e67.entry.js +0 -1
- package/dist/web-components-library/p-c25b0b2a.entry.js +0 -1
- package/dist/web-components-library/p-c6aad085.entry.js +0 -1
- package/dist/web-components-library/p-cd43f80d.js +0 -1
- package/dist/web-components-library/p-ce83ce18.entry.js +0 -1
- package/dist/web-components-library/p-db3c8e3e.entry.js +0 -1
- package/dist/web-components-library/p-e40b16fa.entry.js +0 -1
- package/dist/web-components-library/p-ede9fbf5.entry.js +0 -1
- package/dist/web-components-library/p-f0653e72.entry.js +0 -1
- package/dist/web-components-library/p-f20d1242.entry.js +0 -1
- package/dist/web-components-library/p-f95cc914.entry.js +0 -1
- package/www/build/p-009c9f67.entry.js +0 -1
- package/www/build/p-01f001fd.entry.js +0 -1
- package/www/build/p-05ced71c.entry.js +0 -1
- package/www/build/p-074ea569.entry.js +0 -1
- package/www/build/p-07e18572.entry.js +0 -1
- package/www/build/p-0843b0e7.entry.js +0 -1
- package/www/build/p-0fa4b50b.entry.js +0 -1
- package/www/build/p-1b6279a6.entry.js +0 -1
- package/www/build/p-1ba8d432.entry.js +0 -1
- package/www/build/p-1cb23bbb.entry.js +0 -1
- package/www/build/p-20a3247c.entry.js +0 -1
- package/www/build/p-26f834e5.entry.js +0 -1
- package/www/build/p-279655eb.entry.js +0 -1
- package/www/build/p-2d1b6c3c.entry.js +0 -1
- package/www/build/p-2efedcf4.entry.js +0 -1
- package/www/build/p-32d42cfa.js +0 -129
- package/www/build/p-344e7ae7.entry.js +0 -1
- package/www/build/p-38a3cf3b.entry.js +0 -1
- package/www/build/p-3a468aa9.entry.js +0 -1
- package/www/build/p-3c2d438b.entry.js +0 -1
- package/www/build/p-3f55dce6.entry.js +0 -1
- package/www/build/p-411cbcd6.entry.js +0 -1
- package/www/build/p-43a653ba.css +0 -1802
- package/www/build/p-475ca461.entry.js +0 -1
- package/www/build/p-4cd6c6f4.entry.js +0 -1
- package/www/build/p-51e308ca.entry.js +0 -1
- package/www/build/p-5921901c.entry.js +0 -1
- package/www/build/p-59cfee8d.entry.js +0 -1
- package/www/build/p-5dd9a2c6.entry.js +0 -1
- package/www/build/p-61424b8a.entry.js +0 -1
- package/www/build/p-682528b2.entry.js +0 -1
- package/www/build/p-6b1a5309.entry.js +0 -1
- package/www/build/p-7af991f5.entry.js +0 -1
- package/www/build/p-810bd730.entry.js +0 -1
- package/www/build/p-8980398c.entry.js +0 -1
- package/www/build/p-8b960526.entry.js +0 -1
- package/www/build/p-8bf0844b.entry.js +0 -1
- package/www/build/p-8c105bd1.entry.js +0 -1
- package/www/build/p-8f46e548.entry.js +0 -1
- package/www/build/p-8ffc17b7.entry.js +0 -1
- package/www/build/p-93dc6d51.entry.js +0 -1
- package/www/build/p-95b8f109.entry.js +0 -1
- package/www/build/p-9c338aeb.entry.js +0 -1
- package/www/build/p-9d03a7d6.entry.js +0 -1
- package/www/build/p-a23e9115.js +0 -1
- package/www/build/p-a2b67e2d.entry.js +0 -1
- package/www/build/p-a79d1412.entry.js +0 -1
- package/www/build/p-a82ea410.entry.js +0 -1
- package/www/build/p-b33f5e6a.entry.js +0 -1
- package/www/build/p-b6f36170.entry.js +0 -16
- package/www/build/p-bb0fe7bc.entry.js +0 -1
- package/www/build/p-bdc6f2e5.entry.js +0 -1
- package/www/build/p-beba3e67.entry.js +0 -1
- package/www/build/p-c25b0b2a.entry.js +0 -1
- package/www/build/p-c6aad085.entry.js +0 -1
- package/www/build/p-cd43f80d.js +0 -1
- package/www/build/p-ce83ce18.entry.js +0 -1
- package/www/build/p-db3c8e3e.entry.js +0 -1
- package/www/build/p-e40b16fa.entry.js +0 -1
- package/www/build/p-ede9fbf5.entry.js +0 -1
- package/www/build/p-f0653e72.entry.js +0 -1
- package/www/build/p-f20d1242.entry.js +0 -1
- package/www/build/p-f95cc914.entry.js +0 -1
|
@@ -0,0 +1,261 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
const index = require('./index-e3299e0a.js');
|
|
6
|
+
const index$1 = require('./index-f08f7171.js');
|
|
7
|
+
const utils = require('./utils-73ead59e.js');
|
|
8
|
+
require('./breakpoints-88c4fd6c.js');
|
|
9
|
+
|
|
10
|
+
const stylesCss = ".sc-z-input-deprecated-h{display:inline-block;width:inherit}input.sc-z-input-deprecated::-ms-clear,input.sc-z-input-deprecated::-ms-reveal{display:none}.sc-z-input-deprecated-h input.sc-z-input-deprecated::-ms-clear,.sc-z-input-deprecated-h input.sc-z-input-deprecated::-ms-reveal{display:none}input.sc-z-input-deprecated,textarea.sc-z-input-deprecated,.textarea-wrapper.sc-z-input-deprecated,ul[role=\"listbox\"].sc-z-input-deprecated{box-sizing:border-box;border:var(--border-size-small) solid var(--color-surface04);background:var(--color-input-field01);border-radius:var(--border-radius-small);color:var(--color-text02);fill:var(--color-icon02);font-family:var(--font-family-sans);font-size:var(--font-size-3);font-weight:var(--font-rg);outline:none}input.sc-z-input-deprecated:focus:focus-visible,li[role=\"option\"].sc-z-input-deprecated:focus:focus-visible,.focus.sc-z-input-deprecated{box-shadow:var(--shadow-focus-primary)}.filled.sc-z-input-deprecated{border-color:var(--color-surface05)}.input-success.sc-z-input-deprecated,.input-success.sc-z-input-deprecated:hover,.input-success.hover.sc-z-input-deprecated{border-color:var(--color-success01);background:var(--color-success-inverse);fill:var(--color-success01)}.input-error.sc-z-input-deprecated,.input-error.sc-z-input-deprecated:hover,.input-error.hover.sc-z-input-deprecated{border-color:var(--color-error01);background:var(--color-error-inverse);fill:var(--color-error01)}.input-warning.sc-z-input-deprecated,.input-warning.sc-z-input-deprecated:hover,.input-warning.hover.sc-z-input-deprecated{border-color:var(--color-warning01);background:var(--color-warning-inverse);fill:var(--color-warning01)}input[readonly].sc-z-input-deprecated,.readonly.sc-z-input-deprecated{border-color:var(--color-disabled01);fill:var(--color-disabled01);pointer-events:none}input.sc-z-input-deprecated:disabled,.disabled.sc-z-input-deprecated,.filled.sc-z-input-deprecated:disabled{border-color:var(--color-disabled01);box-shadow:none;color:var(--color-disabled02);fill:var(--color-disabled01);pointer-events:none}input.sc-z-input-deprecated::placeholder,textarea.sc-z-input-deprecated::placeholder{color:var(--color-text05)}.sc-z-input-deprecated::-webkit-textarea-placeholder{color:var(--color-text05)}.sc-z-input-deprecated:-ms-textarea-placeholder{color:var(--color-text05)}.sc-z-input-deprecated::placeholder{color:var(--color-text05)}.text-wrapper.sc-z-input-deprecated>div.sc-z-input-deprecated{position:relative;z-index:1;fill:var(--color-icon02)}.text-wrapper.sc-z-input-deprecated>div.sc-z-input-deprecated>input.sc-z-input-deprecated{width:100%;height:calc(var(--space-unit) * 5.5);box-sizing:border-box;padding:0 calc(var(--space-unit) * 4.5) 0 calc(var(--space-unit) * 1.5);margin:0}.text-wrapper.sc-z-input-deprecated>div.sc-z-input-deprecated>input.has-icon.sc-z-input-deprecated,.text-wrapper.sc-z-input-deprecated>div.sc-z-input-deprecated>input.has-clear-icon.sc-z-input-deprecated{padding-right:calc(var(--space-unit) * 4)}.text-wrapper.sc-z-input-deprecated>div.sc-z-input-deprecated>input.has-icon.has-clear-icon.sc-z-input-deprecated{padding-right:calc(var(--space-unit) * 7)}.text-wrapper.sc-z-input-deprecated .icons-wrapper.sc-z-input-deprecated{position:absolute;z-index:2;right:calc(var(--space-unit) * 1.5);bottom:calc(var(--space-unit) * 1.5);display:flex}.text-wrapper.sc-z-input-deprecated .icons-wrapper.sc-z-input-deprecated>z-icon.sc-z-input-deprecated{--z-icon-width:18px;--z-icon-height:18px;display:block;margin-left:calc(var(--space-unit) * 0.5)}.text-wrapper.sc-z-input-deprecated .icons-wrapper.sc-z-input-deprecated>z-icon.reset-icon.sc-z-input-deprecated,.text-wrapper.sc-z-input-deprecated .icons-wrapper.sc-z-input-deprecated>z-icon.toggle-password-icon.sc-z-input-deprecated{cursor:pointer}.text-wrapper.sc-z-input-deprecated>div.sc-z-input-deprecated>input.sc-z-input-deprecated:-webkit-autofill,.text-wrapper.sc-z-input-deprecated>div.sc-z-input-deprecated>input.sc-z-input-deprecated:-webkit-autofill:hover,.text-wrapper.sc-z-input-deprecated>div.sc-z-input-deprecated>input.sc-z-input-deprecated:-webkit-autofill:focus,.text-wrapper.sc-z-input-deprecated>div.sc-z-input-deprecated>input.sc-z-input-deprecated:-webkit-autofill:active{background-clip:text !important}.textarea-wrapper.sc-z-input-deprecated{padding:calc(var(--space-unit) * 1.5);scrollbar-color:var(--color-primary01) transparent}textarea.sc-z-input-deprecated::-webkit-scrollbar{width:10px;background:linear-gradient(to right, transparent 0 3px, var(--gray200) 3px 7px, transparent 7px 10px);border-radius:var(--border-radius)}textarea.sc-z-input-deprecated::-webkit-scrollbar-track{background-color:transparent}textarea.sc-z-input-deprecated::-webkit-scrollbar-thumb{width:10px;background-color:var(--color-primary01);border-radius:var(--border-radius)}textarea.sc-z-input-deprecated::-webkit-scrollbar-thumb:hover{background-color:var(--color-hover-primary)}textarea.sc-z-input-deprecated{width:100%;min-height:132px;padding:0;border:none;margin:0;resize:none}.radio-wrapper.sc-z-input-deprecated,.checkbox-wrapper.sc-z-input-deprecated{position:relative;display:inline-flex;flex-direction:row;align-items:center;color:var(--color-text01);fill:var(--color-primary01);font-family:var(--font-family-sans)}.radio-wrapper.sc-z-input-deprecated:hover,.checkbox-wrapper.sc-z-input-deprecated:hover{color:var(--color-hover-primary);fill:currentcolor}.radio-wrapper.sc-z-input-deprecated>input.sc-z-input-deprecated,.checkbox-wrapper.sc-z-input-deprecated>input.sc-z-input-deprecated{position:absolute;z-index:-1;opacity:0;pointer-events:none}.radio-wrapper.sc-z-input-deprecated .radio-label.sc-z-input-deprecated,.checkbox-wrapper.sc-z-input-deprecated .checkbox-label.sc-z-input-deprecated{display:inline-flex;align-items:center;margin:0;color:inherit;font-family:inherit;font-size:inherit;font-weight:inherit;line-height:1;text-transform:inherit}.radio-wrapper.sc-z-input-deprecated input.sc-z-input-deprecated:not(:disabled)+.radio-label.sc-z-input-deprecated,.checkbox-wrapper.sc-z-input-deprecated input.sc-z-input-deprecated:not(:disabled)+.checkbox-label.sc-z-input-deprecated{cursor:pointer}.radio-wrapper.sc-z-input-deprecated .radio-label.sc-z-input-deprecated z-icon.sc-z-input-deprecated,.checkbox-wrapper.sc-z-input-deprecated .checkbox-label.sc-z-input-deprecated z-icon.sc-z-input-deprecated{cursor:pointer;fill:inherit}.radio-wrapper.sc-z-input-deprecated .radio-label.after.sc-z-input-deprecated,.checkbox-wrapper.sc-z-input-deprecated .checkbox-label.after.sc-z-input-deprecated{flex-direction:row}.radio-wrapper.sc-z-input-deprecated .radio-label.before.sc-z-input-deprecated,.checkbox-wrapper.sc-z-input-deprecated .checkbox-label.before.sc-z-input-deprecated{flex-direction:row-reverse}.radio-wrapper.sc-z-input-deprecated .radio-label.after.sc-z-input-deprecated>span.sc-z-input-deprecated,.checkbox-wrapper.sc-z-input-deprecated .checkbox-label.after.sc-z-input-deprecated>span.sc-z-input-deprecated{margin-left:var(--space-unit)}.radio-wrapper.sc-z-input-deprecated .radio-label.before.sc-z-input-deprecated>span.sc-z-input-deprecated,.checkbox-wrapper.sc-z-input-deprecated .checkbox-label.before.sc-z-input-deprecated>span.sc-z-input-deprecated{margin-right:var(--space-unit)}.radio-wrapper.sc-z-input-deprecated>input.sc-z-input-deprecated:focus:focus-visible+.radio-label.sc-z-input-deprecated>z-icon.sc-z-input-deprecated,.checkbox-wrapper.sc-z-input-deprecated>input.sc-z-input-deprecated:focus:focus-visible+.checkbox-label.sc-z-input-deprecated>z-icon.sc-z-input-deprecated{border-radius:var(--border-radius-small);box-shadow:var(--shadow-focus-primary)}.radio-wrapper.sc-z-input-deprecated>input.sc-z-input-deprecated:disabled+.radio-label.sc-z-input-deprecated,.checkbox-wrapper.sc-z-input-deprecated>input.sc-z-input-deprecated:disabled+.checkbox-label.sc-z-input-deprecated{color:var(--color-disabled02)}.radio-wrapper.sc-z-input-deprecated>input.sc-z-input-deprecated:disabled+.radio-label.sc-z-input-deprecated>z-icon.sc-z-input-deprecated,.checkbox-wrapper.sc-z-input-deprecated>input.sc-z-input-deprecated:disabled+.checkbox-label.sc-z-input-deprecated>z-icon.sc-z-input-deprecated{cursor:default;fill:var(--color-disabled01)}";
|
|
11
|
+
|
|
12
|
+
const ZInputDeprecated = class {
|
|
13
|
+
constructor(hostRef) {
|
|
14
|
+
index.registerInstance(this, hostRef);
|
|
15
|
+
this.inputChange = index.createEvent(this, "inputChange", 7);
|
|
16
|
+
this.startTyping = index.createEvent(this, "startTyping", 7);
|
|
17
|
+
this.stopTyping = index.createEvent(this, "stopTyping", 7);
|
|
18
|
+
this.inputCheck = index.createEvent(this, "inputCheck", 7);
|
|
19
|
+
this.optionSelect = index.createEvent(this, "optionSelect", 7);
|
|
20
|
+
this.htmlid = `id-${utils.randomId()}`;
|
|
21
|
+
this.type = undefined;
|
|
22
|
+
this.name = undefined;
|
|
23
|
+
this.label = undefined;
|
|
24
|
+
this.ariaLabel = "";
|
|
25
|
+
this.value = undefined;
|
|
26
|
+
this.disabled = false;
|
|
27
|
+
this.readonly = false;
|
|
28
|
+
this.required = false;
|
|
29
|
+
this.checked = false;
|
|
30
|
+
this.placeholder = undefined;
|
|
31
|
+
this.htmltitle = undefined;
|
|
32
|
+
this.status = undefined;
|
|
33
|
+
this.hasmessage = true;
|
|
34
|
+
this.message = undefined;
|
|
35
|
+
this.labelafter = true;
|
|
36
|
+
this.typingtimeout = 300;
|
|
37
|
+
this.items = undefined;
|
|
38
|
+
this.autocomplete = undefined;
|
|
39
|
+
this.multiple = false;
|
|
40
|
+
this.hasclearicon = true;
|
|
41
|
+
this.icon = undefined;
|
|
42
|
+
this.isTyping = false;
|
|
43
|
+
this.textareaWrapperHover = "";
|
|
44
|
+
this.textareaWrapperFocus = "";
|
|
45
|
+
this.passwordHidden = true;
|
|
46
|
+
}
|
|
47
|
+
inputCheckListener(e) {
|
|
48
|
+
const data = e.detail;
|
|
49
|
+
switch (this.type) {
|
|
50
|
+
case index$1.InputType.RADIO:
|
|
51
|
+
if (data.type === index$1.InputType.RADIO && data.name === this.name && data.id !== this.htmlid) {
|
|
52
|
+
this.checked = false;
|
|
53
|
+
}
|
|
54
|
+
break;
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
/** get the input value */
|
|
58
|
+
async getValue() {
|
|
59
|
+
switch (this.type) {
|
|
60
|
+
// @ts-ignore
|
|
61
|
+
case "select":
|
|
62
|
+
return this.selectElem.getValue();
|
|
63
|
+
default:
|
|
64
|
+
return this.value;
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
/** set the input value */
|
|
68
|
+
async setValue(value) {
|
|
69
|
+
switch (this.type) {
|
|
70
|
+
// @ts-ignore
|
|
71
|
+
case "select":
|
|
72
|
+
this.selectElem.setValue(value);
|
|
73
|
+
break;
|
|
74
|
+
default:
|
|
75
|
+
if (typeof value === "string") {
|
|
76
|
+
this.value = value;
|
|
77
|
+
}
|
|
78
|
+
break;
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
/** get checked status */
|
|
82
|
+
async isChecked() {
|
|
83
|
+
switch (this.type) {
|
|
84
|
+
case index$1.InputType.CHECKBOX:
|
|
85
|
+
case index$1.InputType.RADIO:
|
|
86
|
+
return this.checked;
|
|
87
|
+
default:
|
|
88
|
+
return false;
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
emitInputChange(value, keycode) {
|
|
92
|
+
if (!this.isTyping) {
|
|
93
|
+
this.emitStartTyping();
|
|
94
|
+
}
|
|
95
|
+
let validity;
|
|
96
|
+
if (this.type === index$1.InputType.TEXTAREA) {
|
|
97
|
+
validity = this.getValidity("textarea");
|
|
98
|
+
}
|
|
99
|
+
else {
|
|
100
|
+
validity = this.getValidity("input");
|
|
101
|
+
}
|
|
102
|
+
this.value = value;
|
|
103
|
+
this.inputChange.emit({ value, keycode, validity });
|
|
104
|
+
clearTimeout(this.timer);
|
|
105
|
+
this.timer = setTimeout(() => {
|
|
106
|
+
this.emitStopTyping(this.value, validity);
|
|
107
|
+
}, this.typingtimeout);
|
|
108
|
+
}
|
|
109
|
+
emitStartTyping() {
|
|
110
|
+
this.isTyping = true;
|
|
111
|
+
this.startTyping.emit();
|
|
112
|
+
}
|
|
113
|
+
emitStopTyping(value, validity) {
|
|
114
|
+
this.isTyping = false;
|
|
115
|
+
this.stopTyping.emit({
|
|
116
|
+
value: value,
|
|
117
|
+
validity: validity,
|
|
118
|
+
});
|
|
119
|
+
}
|
|
120
|
+
emitInputCheck(checked) {
|
|
121
|
+
this.inputCheck.emit({
|
|
122
|
+
id: this.htmlid,
|
|
123
|
+
checked: checked,
|
|
124
|
+
type: this.type,
|
|
125
|
+
name: this.name,
|
|
126
|
+
value: this.value,
|
|
127
|
+
validity: this.getValidity("input"),
|
|
128
|
+
});
|
|
129
|
+
}
|
|
130
|
+
getValidity(type) {
|
|
131
|
+
const input = this.hostElement.querySelector(type);
|
|
132
|
+
return input.validity;
|
|
133
|
+
}
|
|
134
|
+
/* START text/password/email/number */
|
|
135
|
+
getTextAttributes() {
|
|
136
|
+
const attr = {
|
|
137
|
+
id: this.htmlid,
|
|
138
|
+
name: this.name,
|
|
139
|
+
placeholder: this.placeholder,
|
|
140
|
+
value: this.value,
|
|
141
|
+
disabled: this.disabled,
|
|
142
|
+
readonly: this.readonly,
|
|
143
|
+
required: this.required,
|
|
144
|
+
title: this.htmltitle,
|
|
145
|
+
class: {
|
|
146
|
+
[`input-${this.status}`]: !!this.status,
|
|
147
|
+
istyping: this.isTyping,
|
|
148
|
+
filled: !this.isTyping && !!this.value,
|
|
149
|
+
},
|
|
150
|
+
onInput: (e) => this.emitInputChange(e.target.value, e instanceof KeyboardEvent ? e.keyCode : null),
|
|
151
|
+
};
|
|
152
|
+
if (this.autocomplete) {
|
|
153
|
+
attr["autocomplete"] = this.autocomplete;
|
|
154
|
+
}
|
|
155
|
+
return attr;
|
|
156
|
+
}
|
|
157
|
+
renderInputText(type = index$1.InputType.TEXT) {
|
|
158
|
+
const attr = this.getTextAttributes();
|
|
159
|
+
if (this.icon || type === index$1.InputType.PASSWORD) {
|
|
160
|
+
Object.assign(attr.class, { "has-icon": true });
|
|
161
|
+
}
|
|
162
|
+
if (this.hasclearicon) {
|
|
163
|
+
Object.assign(attr.class, { "has-clear-icon": true });
|
|
164
|
+
}
|
|
165
|
+
return (index.h("div", { class: "text-wrapper" }, this.renderLabel(), index.h("div", null, index.h("input", Object.assign({ type: type === index$1.InputType.PASSWORD && !this.passwordHidden ? index$1.InputType.TEXT : type }, attr, { "aria-label": this.ariaLabel || this.label })), this.renderIcons()), this.renderMessage()));
|
|
166
|
+
}
|
|
167
|
+
renderLabel() {
|
|
168
|
+
if (!this.label) {
|
|
169
|
+
return;
|
|
170
|
+
}
|
|
171
|
+
return (index.h("z-input-label", { htmlfor: this.htmlid, value: this.label, disabled: this.disabled, "aria-label": this.label, id: `${this.htmlid}_label` }));
|
|
172
|
+
}
|
|
173
|
+
renderIcons() {
|
|
174
|
+
return (index.h("span", { class: {
|
|
175
|
+
"icons-wrapper": true,
|
|
176
|
+
"disabled": this.disabled,
|
|
177
|
+
} }, this.renderResetIcon(), this.renderIcon()));
|
|
178
|
+
}
|
|
179
|
+
renderIcon() {
|
|
180
|
+
if (this.type === index$1.InputType.PASSWORD) {
|
|
181
|
+
return this.renderShowHidePassword();
|
|
182
|
+
}
|
|
183
|
+
if (!this.icon) {
|
|
184
|
+
return;
|
|
185
|
+
}
|
|
186
|
+
return (index.h("z-icon", { class: "input-icon", name: this.icon }));
|
|
187
|
+
}
|
|
188
|
+
renderResetIcon() {
|
|
189
|
+
if (!this.hasclearicon || !this.value || this.disabled || this.readonly) {
|
|
190
|
+
return;
|
|
191
|
+
}
|
|
192
|
+
return (index.h("z-icon", { class: "reset-icon", name: "multiply", onClick: (e) => this.emitInputChange("", e instanceof KeyboardEvent ? e.keyCode : null) }));
|
|
193
|
+
}
|
|
194
|
+
renderShowHidePassword() {
|
|
195
|
+
return (index.h("z-icon", { class: "toggle-password-icon", name: this.passwordHidden ? "view-filled" : "view-off-filled", onClick: () => (this.passwordHidden = !this.passwordHidden) }));
|
|
196
|
+
}
|
|
197
|
+
renderMessage() {
|
|
198
|
+
if (!this.hasmessage) {
|
|
199
|
+
return;
|
|
200
|
+
}
|
|
201
|
+
return (index.h("z-input-message", { message: this.message, status: this.status }));
|
|
202
|
+
}
|
|
203
|
+
/* END text/password/email/number */
|
|
204
|
+
/* START textarea */
|
|
205
|
+
renderTextarea() {
|
|
206
|
+
const attributes = this.getTextAttributes();
|
|
207
|
+
return (index.h("div", { class: "text-wrapper" }, this.renderLabel(), index.h("div", { class: Object.assign(Object.assign({ "textarea-wrapper": true }, attributes.class), { "disabled": attributes.disabled, "readonly": !!attributes.readonly, "istyping": this.isTyping, [this.textareaWrapperFocus]: true, [this.textareaWrapperHover]: true }) }, index.h("textarea", Object.assign({}, attributes, { onFocus: () => (this.textareaWrapperFocus = "focus"), onBlur: () => (this.textareaWrapperFocus = ""), onMouseOver: () => (this.textareaWrapperHover = "hover"), onMouseOut: () => (this.textareaWrapperHover = ""), "aria-label": this.ariaLabel || this.label }))), this.renderMessage()));
|
|
208
|
+
}
|
|
209
|
+
/* END textarea */
|
|
210
|
+
handleCheck(ev) {
|
|
211
|
+
this.checked = ev.target.checked;
|
|
212
|
+
this.emitInputCheck(this.checked);
|
|
213
|
+
}
|
|
214
|
+
/* START checkbox */
|
|
215
|
+
renderCheckbox() {
|
|
216
|
+
return (index.h("div", { class: "checkbox-wrapper" }, index.h("input", { id: this.htmlid, type: "checkbox", name: this.name, checked: this.checked, disabled: this.disabled, readonly: this.readonly, required: this.required, onChange: this.handleCheck.bind(this), value: this.value }), index.h("label", { htmlFor: this.htmlid, class: {
|
|
217
|
+
"checkbox-label": true,
|
|
218
|
+
"after": this.labelafter,
|
|
219
|
+
"before": !this.labelafter,
|
|
220
|
+
} }, index.h("z-icon", { name: this.checked ? "checkbox-checked" : "checkbox", "aria-hidden": "true" }), this.label && index.h("span", { innerHTML: this.label }))));
|
|
221
|
+
}
|
|
222
|
+
/* END checkbox */
|
|
223
|
+
/* START radio */
|
|
224
|
+
renderRadio() {
|
|
225
|
+
return (index.h("div", { class: "radio-wrapper" }, index.h("input", { id: this.htmlid, type: "radio", name: this.name, checked: this.checked, disabled: this.disabled, readonly: this.readonly, onChange: this.handleCheck.bind(this), value: this.value }), index.h("label", { htmlFor: this.htmlid, class: {
|
|
226
|
+
"radio-label": true,
|
|
227
|
+
"after": this.labelafter,
|
|
228
|
+
"before": !this.labelafter,
|
|
229
|
+
} }, index.h("z-icon", { name: this.checked ? "radio-button-checked" : "radio-button", "aria-hidden": "true" }), this.label && index.h("span", { innerHTML: this.label }))));
|
|
230
|
+
}
|
|
231
|
+
/* END radio */
|
|
232
|
+
/* START select */
|
|
233
|
+
renderSelect() {
|
|
234
|
+
return (index.h("z-select", { htmlid: this.htmlid, items: this.items, name: this.name, label: this.label, "aria-label": this.ariaLabel, disabled: this.disabled, readonly: this.readonly, placeholder: this.placeholder, htmltitle: this.htmltitle, status: this.status, message: !this.hasmessage ? false : this.message, autocomplete: this.autocomplete, ref: (el) => (this.selectElem = el) }));
|
|
235
|
+
}
|
|
236
|
+
/* END select */
|
|
237
|
+
render() {
|
|
238
|
+
switch (this.type) {
|
|
239
|
+
case index$1.InputType.TEXT:
|
|
240
|
+
case index$1.InputType.PASSWORD:
|
|
241
|
+
case index$1.InputType.NUMBER:
|
|
242
|
+
case index$1.InputType.EMAIL:
|
|
243
|
+
return this.renderInputText(this.type);
|
|
244
|
+
case index$1.InputType.TEXTAREA:
|
|
245
|
+
return this.renderTextarea();
|
|
246
|
+
case index$1.InputType.CHECKBOX:
|
|
247
|
+
return this.renderCheckbox();
|
|
248
|
+
case index$1.InputType.RADIO:
|
|
249
|
+
return this.renderRadio();
|
|
250
|
+
// @ts-ignore
|
|
251
|
+
case "select":
|
|
252
|
+
return this.renderSelect();
|
|
253
|
+
default:
|
|
254
|
+
return this.renderInputText();
|
|
255
|
+
}
|
|
256
|
+
}
|
|
257
|
+
get hostElement() { return index.getElement(this); }
|
|
258
|
+
};
|
|
259
|
+
ZInputDeprecated.style = stylesCss;
|
|
260
|
+
|
|
261
|
+
exports.z_input_deprecated = ZInputDeprecated;
|
|
@@ -3,33 +3,49 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-e3299e0a.js');
|
|
6
|
-
const index$1 = require('./index-
|
|
7
|
-
const utils = require('./utils-
|
|
6
|
+
const index$1 = require('./index-f08f7171.js');
|
|
7
|
+
const utils = require('./utils-73ead59e.js');
|
|
8
8
|
require('./breakpoints-88c4fd6c.js');
|
|
9
9
|
|
|
10
|
+
const stylesCss$1 = "label{display:block;margin:var(--space-unit) 0;color:var(--color-text02);font-family:var(--font-family-sans);font-size:var(--font-size-1);font-weight:var(--font-sb);letter-spacing:0.32px;line-height:1.33;text-align:left;text-transform:uppercase}label.disabled{color:var(--color-disabled02)}";
|
|
11
|
+
|
|
12
|
+
const ZInputLabel = class {
|
|
13
|
+
constructor(hostRef) {
|
|
14
|
+
index.registerInstance(this, hostRef);
|
|
15
|
+
this.value = undefined;
|
|
16
|
+
this.disabled = false;
|
|
17
|
+
this.htmlfor = undefined;
|
|
18
|
+
}
|
|
19
|
+
render() {
|
|
20
|
+
return (index.h("label", { htmlFor: this.htmlfor, class: { disabled: this.disabled } }, this.value));
|
|
21
|
+
}
|
|
22
|
+
};
|
|
23
|
+
ZInputLabel.style = stylesCss$1;
|
|
24
|
+
|
|
10
25
|
const stylesCss = ".sc-z-select-h{display:inline-block;width:inherit;color:var(--color-text02);font-family:var(--font-family-sans);font-size:var(--font-size-3);font-weight:var(--font-rg)}.select-wrapper.sc-z-select>z-input.sc-z-select{width:100%}.select-wrapper.sc-z-select>div.sc-z-select{position:relative}.select-wrapper.sc-z-select>div.closed.sc-z-select{overflow:hidden;height:0}.select-wrapper.sc-z-select .ul-scroll-wrapper.sc-z-select{position:absolute;width:100%;box-sizing:border-box;padding:calc(var(--space-unit) * 0.5) var(--space-unit);border:var(--border-size-small) solid var(--gray200);border-top:none;background:var(--color-surface01);outline:none}.select-wrapper.sc-z-select .closed.sc-z-select .ul-scroll-wrapper.sc-z-select{z-index:10}.select-wrapper.sc-z-select .open.sc-z-select .ul-scroll-wrapper.sc-z-select{z-index:20}.select-wrapper.sc-z-select .ul-scroll-wrapper.sc-z-select>z-list.sc-z-select{position:relative;overflow:auto;max-height:240px;padding:calc(var(--space-unit) * 0.5);outline:none;scrollbar-color:var(--color-primary01) transparent}.select-wrapper.sc-z-select .ul-scroll-wrapper.sc-z-select>z-list.sc-z-select::-webkit-scrollbar{width:10px;background:linear-gradient(to right, transparent 0 3px, var(--gray200) 3px 7px, transparent 7px 10px);border-radius:var(--border-radius)}.select-wrapper.sc-z-select .ul-scroll-wrapper.sc-z-select>z-list.sc-z-select::-webkit-scrollbar-track{background-color:transparent}.select-wrapper.sc-z-select .ul-scroll-wrapper.sc-z-select>z-list.sc-z-select::-webkit-scrollbar-thumb{width:10px;background-color:var(--color-primary01);border-radius:var(--border-radius)}.select-wrapper.sc-z-select .ul-scroll-wrapper.sc-z-select>z-list.sc-z-select::-webkit-scrollbar-thumb:hover{background-color:var(--color-hover-primary)}.select-wrapper.sc-z-select .ul-scroll-wrapper.sc-z-select z-list.sc-z-select z-list-element.sc-z-select span.sc-z-select{display:block;padding:0 calc(var(--space-unit) * 1.5)}.select-wrapper.sc-z-select .ul-scroll-wrapper.sc-z-select z-list.sc-z-select z-list-element.sc-z-select span.selected.sc-z-select{font-weight:bold}.select-wrapper.sc-z-select .ul-scroll-wrapper.sc-z-select .no-results.sc-z-select z-icon.sc-z-select{margin-right:var(--space-unit)}.z-list-group-title.sc-z-select{color:var(--gray800)}";
|
|
11
26
|
|
|
12
27
|
const ZSelect = class {
|
|
13
28
|
constructor(hostRef) {
|
|
14
29
|
index.registerInstance(this, hostRef);
|
|
15
30
|
this.optionSelect = index.createEvent(this, "optionSelect", 7);
|
|
16
|
-
|
|
31
|
+
this.itemsList = [];
|
|
17
32
|
this.htmlid = `id-${utils.randomId()}`;
|
|
18
|
-
|
|
33
|
+
this.items = undefined;
|
|
34
|
+
this.name = undefined;
|
|
35
|
+
this.label = undefined;
|
|
19
36
|
this.ariaLabel = "";
|
|
20
|
-
/** the input is disabled */
|
|
21
37
|
this.disabled = false;
|
|
22
|
-
/** the input is readonly */
|
|
23
38
|
this.readonly = false;
|
|
24
|
-
|
|
39
|
+
this.placeholder = undefined;
|
|
40
|
+
this.htmltitle = undefined;
|
|
41
|
+
this.status = undefined;
|
|
25
42
|
this.message = true;
|
|
26
|
-
/** the input has autocomplete option */
|
|
27
43
|
this.autocomplete = false;
|
|
28
|
-
/** no result text message */
|
|
29
44
|
this.noresultslabel = "Nessun risultato";
|
|
45
|
+
this.hasGroupItems = undefined;
|
|
30
46
|
this.isOpen = false;
|
|
31
47
|
this.selectedItem = null;
|
|
32
|
-
this.
|
|
48
|
+
this.searchString = undefined;
|
|
33
49
|
this.toggleSelectUl = this.toggleSelectUl.bind(this);
|
|
34
50
|
this.selectItem = this.selectItem.bind(this);
|
|
35
51
|
this.handleSelectFocus = this.handleSelectFocus.bind(this);
|
|
@@ -237,18 +253,20 @@ const ZSelect = class {
|
|
|
237
253
|
if (!this.itemsList.length) {
|
|
238
254
|
return this.renderNoSearchResults();
|
|
239
255
|
}
|
|
240
|
-
return this.itemsList.map((item, key) => {
|
|
241
|
-
|
|
256
|
+
return this.itemsList.map((item, key, array) => {
|
|
257
|
+
const lastItem = array.length === key + 1;
|
|
258
|
+
return (index.h("z-list-element", { clickable: !item.disabled, disabled: item.disabled, dividerType: lastItem ? index$1.ListDividerType.HEADER : index$1.ListDividerType.ELEMENT, role: "option", tabindex: item.disabled || !this.isOpen ? -1 : 0, "aria-selected": !!item.selected, id: `${this.htmlid}_${key}`, onClickItem: () => this.selectItem(item, true), onKeyDown: (e) => this.arrowsSelectNav(e, key) }, index.h("span", { class: { selected: !!item.selected }, innerHTML: item.name })));
|
|
242
259
|
});
|
|
243
260
|
}
|
|
244
261
|
renderSelectGroupItems() {
|
|
245
262
|
if (!this.itemsList.length) {
|
|
246
263
|
return this.renderNoSearchResults();
|
|
247
264
|
}
|
|
248
|
-
const newData = this.itemsList.reduce((group, item, index$2) => {
|
|
265
|
+
const newData = this.itemsList.reduce((group, item, index$2, array) => {
|
|
249
266
|
var _a;
|
|
250
267
|
const { category } = item;
|
|
251
|
-
const
|
|
268
|
+
const lastItem = array.length === index$2 + 1;
|
|
269
|
+
const zListItem = (index.h("z-list-element", { clickable: !item.disabled, disabled: item.disabled, dividerType: lastItem ? index$1.ListDividerType.HEADER : index$1.ListDividerType.ELEMENT, role: "option", tabindex: item.disabled || !this.isOpen ? -1 : 0, "aria-selected": !!item.selected, id: `${this.htmlid}_${index$2}`, onClickItem: () => this.selectItem(item, true), onKeyDown: (e) => this.arrowsSelectNav(e, index$2) }, index.h("span", { class: { selected: !!item.selected }, innerHTML: item.name })));
|
|
252
270
|
group[category] = (_a = group[category]) !== null && _a !== void 0 ? _a : [];
|
|
253
271
|
group[category].push(zListItem);
|
|
254
272
|
return group;
|
|
@@ -276,4 +294,5 @@ const ZSelect = class {
|
|
|
276
294
|
};
|
|
277
295
|
ZSelect.style = stylesCss;
|
|
278
296
|
|
|
297
|
+
exports.z_input_label = ZInputLabel;
|
|
279
298
|
exports.z_select = ZSelect;
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-e3299e0a.js');
|
|
6
|
-
const index$1 = require('./index-
|
|
7
|
-
const utils = require('./utils-
|
|
6
|
+
const index$1 = require('./index-f08f7171.js');
|
|
7
|
+
const utils = require('./utils-73ead59e.js');
|
|
8
8
|
require('./breakpoints-88c4fd6c.js');
|
|
9
9
|
|
|
10
10
|
const stylesCss$1 = ".sc-z-input-h{display:inline-block;width:inherit}input.sc-z-input::-ms-clear,input.sc-z-input::-ms-reveal{display:none}.sc-z-input-h input.sc-z-input::-ms-clear,.sc-z-input-h input.sc-z-input::-ms-reveal{display:none}input.sc-z-input,textarea.sc-z-input,.textarea-wrapper.sc-z-input{box-sizing:border-box;border:var(--border-size-small) solid var(--color-surface04);background:var(--color-input-field01);border-radius:var(--border-radius-small);color:var(--color-text02);fill:var(--color-icon02);font-family:var(--font-family-sans);font-size:var(--font-size-3);font-weight:var(--font-rg);outline:none}input.sc-z-input:focus:focus-visible,.textarea-wrapper.sc-z-input:focus-within{box-shadow:var(--shadow-focus-primary)}input.sc-z-input:focus:focus-visible,textarea.sc-z-input:focus:focus-visible{color:var(--color-primary01)}.filled.sc-z-input{border-color:var(--color-surface05)}.input-success.sc-z-input{border-color:var(--color-success01);background:var(--color-success-inverse);fill:var(--color-success01)}.input-error.sc-z-input{border-color:var(--color-error01);background:var(--color-error-inverse);fill:var(--color-error01)}.input-warning.sc-z-input{border-color:var(--color-warning01);background:var(--color-warning-inverse);fill:var(--color-warning01)}input.sc-z-input:hover,.textarea-wrapper.sc-z-input:hover{outline:var(--border-size-medium) solid var(--color-surface04);outline-offset:-2px}input[readonly].sc-z-input,.readonly.sc-z-input{border-color:var(--color-disabled01);fill:var(--color-disabled01);pointer-events:none}[disabled].sc-z-input-h:not([disabled=\"false\"]) input.sc-z-input,[disabled].sc-z-input-h:not([disabled=\"false\"]) .textarea-wrapper.sc-z-input,[disabled].sc-z-input-h:not([disabled=\"false\"]) z-icon.sc-z-input{border-color:var(--color-disabled01);box-shadow:none;color:var(--color-disabled02);fill:var(--color-disabled01);pointer-events:none}[disabled].sc-z-input-h:not([disabled=\"false\"]) input.sc-z-input:hover{border-width:var(--border-size-small)}input.sc-z-input::placeholder,textarea.sc-z-input::placeholder{color:var(--color-text05)}.sc-z-input::-webkit-textarea-placeholder{color:var(--color-text05)}.sc-z-input:-ms-textarea-placeholder{color:var(--color-text05)}.sc-z-input::placeholder{color:var(--color-text05)}.sc-z-input:placeholder{color:var(--color-text05)}label.input-label.sc-z-input{display:block;padding-bottom:var(--space-unit);color:var(--color-text02);font-family:var(--font-family-sans);font-size:var(--font-size-1);font-weight:var(--font-sb);text-align:left;text-transform:uppercase}[disabled].sc-z-input-h:not([disabled=\"false\"]) label.input-label.sc-z-input{color:var(--color-disabled02)}.text-wrapper.sc-z-input>div.sc-z-input{position:relative;z-index:1;fill:var(--color-icon02)}.text-wrapper.sc-z-input>div.sc-z-input>input.sc-z-input{width:100%;height:calc(var(--space-unit) * 5.5);box-sizing:border-box;padding:0 calc(var(--space-unit) * 1.5);margin:0}.text-wrapper.sc-z-input>div.sc-z-input>input.has-icon.sc-z-input,.text-wrapper.sc-z-input>div.sc-z-input>input.has-clear-icon.sc-z-input{padding-right:calc(var(--space-unit) * 5.25)}.text-wrapper.sc-z-input>div.sc-z-input>input.has-icon.has-clear-icon.sc-z-input{padding-right:calc(var(--space-unit) * 8)}.text-wrapper.sc-z-input .icons-wrapper.sc-z-input{position:absolute;z-index:2;top:50%;right:calc(var(--space-unit) * 1.5);display:flex;pointer-events:none;transform:translateY(-50%)}.text-wrapper.sc-z-input .icons-wrapper.sc-z-input>button.icon-button.sc-z-input{padding:0;border:0;background:none;color:inherit;font:inherit;pointer-events:initial}.text-wrapper.sc-z-input .icons-wrapper.sc-z-input>button.icon-button.sc-z-input+button.icon-button.sc-z-input{margin-left:calc(var(--space-unit) * 0.5)}.text-wrapper.sc-z-input .icons-wrapper.sc-z-input>button.icon-button.reset-icon.sc-z-input,.text-wrapper.sc-z-input .icons-wrapper.sc-z-input>button.icon-button.toggle-password-icon.sc-z-input{cursor:pointer}.text-wrapper.sc-z-input .icons-wrapper.sc-z-input>button.icon-button.sc-z-input>z-icon.sc-z-input{--z-icon-width:18px;--z-icon-height:18px;display:block}.text-wrapper.sc-z-input>div.sc-z-input>input.sc-z-input:-webkit-autofill,.text-wrapper.sc-z-input>div.sc-z-input>input.sc-z-input:-webkit-autofill:hover,.text-wrapper.sc-z-input>div.sc-z-input>input.sc-z-input:-webkit-autofill:focus,.text-wrapper.sc-z-input>div.sc-z-input>input.sc-z-input:-webkit-autofill:active{background-clip:text !important}.textarea-wrapper.sc-z-input{padding:calc(var(--space-unit) * 1.5);scrollbar-color:var(--color-primary01) transparent}textarea.sc-z-input::-webkit-scrollbar{width:10px;background:linear-gradient(to right, transparent 0 3px, var(--gray200) 3px 7px, transparent 7px 10px);border-radius:var(--border-radius)}textarea.sc-z-input::-webkit-scrollbar-track{background-color:transparent}textarea.sc-z-input::-webkit-scrollbar-thumb{width:10px;background-color:var(--color-primary01);border-radius:var(--border-radius)}textarea.sc-z-input::-webkit-scrollbar-thumb:hover{background-color:var(--color-hover-primary)}textarea.sc-z-input{width:100%;min-height:132px;padding:0;border:none;margin:0;resize:none}.radio-wrapper.sc-z-input,.checkbox-wrapper.sc-z-input{position:relative;display:inline-flex;flex-direction:row;align-items:center;color:var(--color-text01);fill:var(--color-primary01);font-family:var(--font-family-sans)}.radio-wrapper.sc-z-input:hover,.checkbox-wrapper.sc-z-input:hover{color:var(--color-hover-primary);fill:currentcolor}.radio-wrapper.sc-z-input>input.sc-z-input,.checkbox-wrapper.sc-z-input>input.sc-z-input{position:absolute;z-index:-1;opacity:0;pointer-events:none}.radio-wrapper.sc-z-input .radio-label.sc-z-input,.checkbox-wrapper.sc-z-input .checkbox-label.sc-z-input{display:inline-flex;align-items:center;margin:0;color:inherit;font-family:inherit;font-size:inherit;font-weight:inherit;line-height:1;text-transform:inherit}.radio-wrapper.sc-z-input input.sc-z-input:not(:disabled)+.radio-label.sc-z-input,.checkbox-wrapper.sc-z-input input.sc-z-input:not(:disabled)+.checkbox-label.sc-z-input{cursor:pointer}.radio-wrapper.sc-z-input .radio-label.sc-z-input z-icon.sc-z-input,.checkbox-wrapper.sc-z-input .checkbox-label.sc-z-input z-icon.sc-z-input{cursor:pointer;fill:inherit}.radio-wrapper.sc-z-input .radio-label.after.sc-z-input,.checkbox-wrapper.sc-z-input .checkbox-label.after.sc-z-input{flex-direction:row}.radio-wrapper.sc-z-input .radio-label.before.sc-z-input,.checkbox-wrapper.sc-z-input .checkbox-label.before.sc-z-input{flex-direction:row-reverse}.radio-wrapper.sc-z-input .radio-label.after.sc-z-input>span.sc-z-input,.checkbox-wrapper.sc-z-input .checkbox-label.after.sc-z-input>span.sc-z-input{margin-left:var(--space-unit)}.radio-wrapper.sc-z-input .radio-label.before.sc-z-input>span.sc-z-input,.checkbox-wrapper.sc-z-input .checkbox-label.before.sc-z-input>span.sc-z-input{margin-right:var(--space-unit)}.radio-wrapper.sc-z-input>input.sc-z-input:focus:focus-visible+.radio-label.sc-z-input>z-icon.sc-z-input,.checkbox-wrapper.sc-z-input>input.sc-z-input:focus:focus-visible+.checkbox-label.sc-z-input>z-icon.sc-z-input{border-radius:var(--border-radius-small);box-shadow:var(--shadow-focus-primary)}.radio-wrapper.sc-z-input>input.sc-z-input:disabled+.radio-label.sc-z-input,.checkbox-wrapper.sc-z-input>input.sc-z-input:disabled+.checkbox-label.sc-z-input{color:var(--color-disabled02)}.radio-wrapper.sc-z-input>input.sc-z-input:disabled+.radio-label.sc-z-input>z-icon.sc-z-input,.checkbox-wrapper.sc-z-input>input.sc-z-input:disabled+.checkbox-label.sc-z-input>z-icon.sc-z-input{cursor:default;fill:var(--color-disabled01)}";
|
|
@@ -16,27 +16,31 @@ const ZInput = class {
|
|
|
16
16
|
this.startTyping = index.createEvent(this, "startTyping", 7);
|
|
17
17
|
this.stopTyping = index.createEvent(this, "stopTyping", 7);
|
|
18
18
|
this.inputCheck = index.createEvent(this, "inputCheck", 7);
|
|
19
|
-
|
|
19
|
+
this.typingtimeout = 300;
|
|
20
20
|
this.htmlid = `id-${utils.randomId()}`;
|
|
21
|
-
|
|
21
|
+
this.type = undefined;
|
|
22
|
+
this.name = undefined;
|
|
23
|
+
this.label = undefined;
|
|
22
24
|
this.ariaLabel = "";
|
|
23
|
-
|
|
25
|
+
this.value = undefined;
|
|
24
26
|
this.disabled = false;
|
|
25
|
-
/** the input is readonly */
|
|
26
27
|
this.readonly = false;
|
|
27
|
-
/** the input is required (optional): available for text, password, number, email, textarea, checkbox */
|
|
28
28
|
this.required = false;
|
|
29
|
-
/** checked: available for checkbox, radio */
|
|
30
29
|
this.checked = false;
|
|
31
|
-
|
|
30
|
+
this.placeholder = undefined;
|
|
31
|
+
this.htmltitle = undefined;
|
|
32
|
+
this.status = undefined;
|
|
32
33
|
this.message = true;
|
|
33
|
-
/** the input label position: available for checkbox, radio */
|
|
34
34
|
this.labelPosition = index$1.LabelPosition.RIGHT;
|
|
35
|
-
|
|
35
|
+
this.autocomplete = undefined;
|
|
36
36
|
this.hasclearicon = true;
|
|
37
|
+
this.icon = undefined;
|
|
38
|
+
this.min = undefined;
|
|
39
|
+
this.max = undefined;
|
|
40
|
+
this.step = undefined;
|
|
41
|
+
this.pattern = undefined;
|
|
37
42
|
this.isTyping = false;
|
|
38
43
|
this.passwordHidden = true;
|
|
39
|
-
this.typingtimeout = 300;
|
|
40
44
|
}
|
|
41
45
|
inputCheckListener(e) {
|
|
42
46
|
const data = e.detail;
|
|
@@ -242,6 +246,8 @@ const ZInputMessage = class {
|
|
|
242
246
|
error: "multiply-circled",
|
|
243
247
|
warning: "exclamation-circle",
|
|
244
248
|
};
|
|
249
|
+
this.message = undefined;
|
|
250
|
+
this.status = undefined;
|
|
245
251
|
}
|
|
246
252
|
render() {
|
|
247
253
|
return (index.h(index.Host, { role: "alert", "aria-label": this.message, tabindex: this.message ? 0 : -1 }, this.statusIcons[this.status] && this.message && index.h("z-icon", { name: this.statusIcons[this.status] }), index.h("span", { innerHTML: this.message })));
|
|
@@ -10,23 +10,17 @@ const ZLink = class {
|
|
|
10
10
|
constructor(hostRef) {
|
|
11
11
|
index.registerInstance(this, hostRef);
|
|
12
12
|
this.zLinkClick = index.createEvent(this, "zLinkClick", 7);
|
|
13
|
-
|
|
13
|
+
this.htmlid = undefined;
|
|
14
|
+
this.href = undefined;
|
|
14
15
|
this.target = "_self";
|
|
15
|
-
/** tabindex link attribute (optional) */
|
|
16
16
|
this.htmltabindex = 0;
|
|
17
|
-
/** disable link flag (optional) */
|
|
18
17
|
this.isdisabled = false;
|
|
19
|
-
/** active link flag (optional) */
|
|
20
18
|
this.isactive = false;
|
|
21
|
-
/** white variant flag (optional) */
|
|
22
19
|
this.iswhite = false;
|
|
23
|
-
/** link text variant (optional) */
|
|
24
20
|
this.textcolor = "primary";
|
|
25
|
-
|
|
21
|
+
this.icon = undefined;
|
|
26
22
|
this.big = false;
|
|
27
|
-
/** link icon position (optional) */
|
|
28
23
|
this.iconposition = "left";
|
|
29
|
-
/** draw underline on text (optional) */
|
|
30
24
|
this.underline = false;
|
|
31
25
|
this.iconSize = 18;
|
|
32
26
|
this.emitZLinkClick = this.emitZLinkClick.bind(this);
|
|
@@ -3,20 +3,14 @@
|
|
|
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-f08f7171.js');
|
|
7
7
|
|
|
8
8
|
const stylesCss$2 = ":host{display:flex;flex-direction:column;font-family:var(--font-family-sans);font-weight:var(--font-rg)}";
|
|
9
9
|
|
|
10
10
|
const ZList = class {
|
|
11
11
|
constructor(hostRef) {
|
|
12
12
|
index.registerInstance(this, hostRef);
|
|
13
|
-
/**
|
|
14
|
-
* [optional] Sets size of inside elements.
|
|
15
|
-
*/
|
|
16
13
|
this.size = index$1.ListSize.MEDIUM;
|
|
17
|
-
/**
|
|
18
|
-
* [optional] type of the list marker for each element
|
|
19
|
-
*/
|
|
20
14
|
this.listType = index$1.ListType.NONE;
|
|
21
15
|
}
|
|
22
16
|
setChildrenSizeType() {
|
|
@@ -47,69 +41,31 @@ const ZListElement = class {
|
|
|
47
41
|
index.registerInstance(this, hostRef);
|
|
48
42
|
this.accessibleFocus = index.createEvent(this, "accessibleFocus", 7);
|
|
49
43
|
this.clickItem = index.createEvent(this, "clickItem", 7);
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
44
|
+
this.openElementConfig = {
|
|
45
|
+
accordion: {
|
|
46
|
+
open: "minus-circled",
|
|
47
|
+
close: "plus-circled",
|
|
48
|
+
},
|
|
49
|
+
menu: {
|
|
50
|
+
open: "chevron-up",
|
|
51
|
+
close: "chevron-down",
|
|
52
|
+
},
|
|
53
|
+
};
|
|
53
54
|
this.alignButton = index$1.ExpandableListButtonAlign.LEFT;
|
|
54
|
-
/**
|
|
55
|
-
* [optional] Sets element clickable.
|
|
56
|
-
*/
|
|
57
55
|
this.clickable = false;
|
|
58
|
-
/**
|
|
59
|
-
* [optional] Sets the divider color.
|
|
60
|
-
*/
|
|
61
56
|
this.dividerColor = "color-surface03";
|
|
62
|
-
/**
|
|
63
|
-
* [optional] Sets the position where to insert the divider.
|
|
64
|
-
*/
|
|
65
57
|
this.dividerType = index$1.ListDividerType.NONE;
|
|
66
|
-
/**
|
|
67
|
-
* [optional] Sets the divider size.
|
|
68
|
-
*/
|
|
69
58
|
this.dividerSize = index$1.DividerSize.SMALL;
|
|
70
|
-
/**
|
|
71
|
-
* [optional] Sets element as expandable.
|
|
72
|
-
*/
|
|
73
59
|
this.expandable = false;
|
|
74
|
-
/**
|
|
75
|
-
* [optional] Sets expandable style to element.
|
|
76
|
-
*/
|
|
77
60
|
this.expandableStyle = index$1.ExpandableListStyle.ACCORDION;
|
|
78
|
-
|
|
79
|
-
* [optional] Sets size of inside elements.
|
|
80
|
-
*/
|
|
61
|
+
this.listElementId = undefined;
|
|
81
62
|
this.size = index$1.ListSize.MEDIUM;
|
|
82
|
-
/**
|
|
83
|
-
* [optional] Sets text color of the element.
|
|
84
|
-
*/
|
|
85
63
|
this.color = "none";
|
|
86
|
-
/**
|
|
87
|
-
* [optional] Sets disabled style of the element.
|
|
88
|
-
*/
|
|
89
64
|
this.disabled = false;
|
|
90
|
-
/**
|
|
91
|
-
* [optional] If is used in ZContextualMenu component
|
|
92
|
-
*/
|
|
93
65
|
this.isContextualMenu = false;
|
|
94
|
-
/**
|
|
95
|
-
* [optional] position of the list element inside the list or the group
|
|
96
|
-
*/
|
|
97
66
|
this.listElementPosition = "0";
|
|
98
|
-
/**
|
|
99
|
-
* [optional] type of the list marker for each element
|
|
100
|
-
*/
|
|
101
67
|
this.listType = index$1.ListType.NONE;
|
|
102
68
|
this.showInnerContent = false;
|
|
103
|
-
this.openElementConfig = {
|
|
104
|
-
accordion: {
|
|
105
|
-
open: "minus-circled",
|
|
106
|
-
close: "plus-circled",
|
|
107
|
-
},
|
|
108
|
-
menu: {
|
|
109
|
-
open: "chevron-up",
|
|
110
|
-
close: "chevron-down",
|
|
111
|
-
},
|
|
112
|
-
};
|
|
113
69
|
this.handleClick = this.handleClick.bind(this);
|
|
114
70
|
this.handleKeyDown = this.handleKeyDown.bind(this);
|
|
115
71
|
}
|
|
@@ -209,25 +165,10 @@ const stylesCss = ":host{font-family:var(--font-family-sans);font-weight:var(--f
|
|
|
209
165
|
const ZListGroup = class {
|
|
210
166
|
constructor(hostRef) {
|
|
211
167
|
index.registerInstance(this, hostRef);
|
|
212
|
-
/**
|
|
213
|
-
* [optional] Sets size of inside elements.
|
|
214
|
-
*/
|
|
215
168
|
this.size = index$1.ListSize.MEDIUM;
|
|
216
|
-
/**
|
|
217
|
-
* [optional] Sets the position where to insert the divider.
|
|
218
|
-
*/
|
|
219
169
|
this.dividerType = index$1.ListDividerType.NONE;
|
|
220
|
-
/**
|
|
221
|
-
* [optional] Sets the divider size.
|
|
222
|
-
*/
|
|
223
170
|
this.dividerSize = index$1.DividerSize.SMALL;
|
|
224
|
-
/**
|
|
225
|
-
* [optional] Sets the divider color.
|
|
226
|
-
*/
|
|
227
171
|
this.dividerColor = "gray200";
|
|
228
|
-
/**
|
|
229
|
-
* [optional] type of the list marker for each element
|
|
230
|
-
*/
|
|
231
172
|
this.listType = index$1.ListType.NONE;
|
|
232
173
|
}
|
|
233
174
|
componentDidLoad() {
|
|
@@ -3,34 +3,18 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-e3299e0a.js');
|
|
6
|
-
const index$1 = require('./index-fa110f37.js');
|
|
7
|
-
|
|
8
|
-
const stylesCss$1 = ":host{font-family:var(--dashboard-font);font-weight:var(--font-rg)}button{display:flex;align-content:center;justify-content:center;padding:0;border:none;background-color:transparent}button>z-icon{color:var(--bg-white);fill:currentcolor}button>z-icon.light{color:var(--bg-grey-900);fill:currentcolor}";
|
|
9
|
-
|
|
10
|
-
const ZAppSwitcher = class {
|
|
11
|
-
constructor(hostRef) {
|
|
12
|
-
index.registerInstance(this, hostRef);
|
|
13
|
-
this.appButtonClick = index.createEvent(this, "appButtonClick", 7);
|
|
14
|
-
/** theme variant, default 'dark' */
|
|
15
|
-
this.theme = index$1.ThemeVariant.DARK;
|
|
16
|
-
this.isopen = false;
|
|
17
|
-
this.emitAppButtonClick = this.emitAppButtonClick.bind(this);
|
|
18
|
-
}
|
|
19
|
-
emitAppButtonClick() {
|
|
20
|
-
this.isopen = !this.isopen;
|
|
21
|
-
this.appButtonClick.emit({ isopen: this.isopen });
|
|
22
|
-
}
|
|
23
|
-
render() {
|
|
24
|
-
return (index.h("button", { title: "app-switcher", onClick: () => this.emitAppButtonClick() }, index.h("z-icon", { name: "app-switcher", class: this.theme })));
|
|
25
|
-
}
|
|
26
|
-
};
|
|
27
|
-
ZAppSwitcher.style = stylesCss$1;
|
|
28
6
|
|
|
29
7
|
const stylesCss = ":host{display:inline-block;width:255px;height:64px;vertical-align:top}img{display:block;width:100%;height:100%;margin:auto;content:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='255px' height='64px' viewBox='0 0 255 64'%3E%3Cg id='Logo/Zanichelli/Centered-(reworked)' stroke='none' stroke-width='1' fill='none' fill-rule='evenodd'%3E%3Cg id='Group'%3E%3Cpolygon id='Background' fill='%23E2001A' points='1.70530257e-13 64 254.39 64 254.39 0 1.70530257e-13 0'%3E%3C/polygon%3E%3Cpath d='M233.36,51.3553859 L242.390252,51.3553859 L242.390252,12.6427292 L233.36,12.6427292 L233.36,51.3553859 Z M211.120346,51.3553859 L230.477617,51.3553859 L230.477617,44.5040053 L220.685891,44.5040053 L220.685891,12.6427292 L211.120346,12.6427292 L211.120346,51.3553859 Z M188.880124,51.3553859 L208.23551,51.3553859 L208.23551,44.5040053 L198.445669,44.5040053 L198.445669,12.6427292 L188.880124,12.6427292 L188.880124,51.3553859 Z M165.354444,12.6427292 L165.354444,51.3553859 L185.999058,51.3553859 L185.999058,44.5021204 L175.027425,44.5021204 L175.027425,35.1778343 L185.377062,35.1778343 L185.377062,28.2699086 L175.027425,28.2699086 L175.027425,19.4978796 L185.999058,19.4978796 L185.999058,12.6427292 L165.354444,12.6427292 Z M136.666196,51.3553859 L146.239281,51.3553859 L146.239281,35.1778343 L152.902178,35.1778343 L152.902178,51.3553859 L162.473377,51.3553859 L162.473377,12.6427292 L152.902178,12.6427292 L152.902178,28.2717934 L146.239281,28.2717934 L146.239281,12.6427292 L136.666196,12.6427292 L136.666196,51.3553859 Z M96.064744,51.3553859 L105.098765,51.3553859 L105.098765,12.6427292 L96.064744,12.6427292 L96.064744,51.3553859 Z M53.2364527,36.5160682 L50.6824993,19.7429083 L48.0757704,36.5160682 L53.2364527,36.5160682 Z M65.4935444,51.3553859 L56.2710395,51.3553859 L54.9441146,42.5286966 L47.7101121,42.5286966 L46.3304118,51.3553859 L37.1060221,51.3553859 L45.0053718,12.6427292 L57.5960795,12.6427292 L65.4935444,51.3553859 Z M85.0468382,37.7581755 L76.7969089,12.6427292 L67.3764961,12.6427292 L67.3764961,51.3553859 L75.4040147,51.3553859 L75.4040147,26.132504 L83.5955141,51.3553859 L93.1855622,51.3553859 L93.1855622,12.6427292 L85.0468382,12.6427292 L85.0468382,37.7581755 Z M107.977948,32 C107.977948,34.5200264 107.977948,36.7893695 108.187165,39.1246819 C108.396382,41.4713034 108.818585,43.6878711 109.678071,45.6009801 C111.423429,49.487513 114.932995,52 121.708982,52 C129.508435,52 133.787014,48.4753558 133.787014,38.0220526 L133.787014,37.5640373 L124.937707,37.5640373 L124.922628,38.0050891 C124.894356,38.7571388 124.884931,39.6185091 124.826501,40.4855339 C124.769956,41.3431345 124.66629,42.1875412 124.460843,42.9301668 C124.048064,44.3965696 123.279051,45.3559514 121.708982,45.3559514 C117.743286,45.3559514 117.057205,42.0574875 117.057205,32 C117.057205,21.9425125 117.743286,18.6440486 121.708982,18.6440486 C123.605127,18.6440486 124.547546,20.0030157 124.547546,25.1806616 L124.547546,25.6424465 L133.344077,25.6424465 L133.361041,25.1995099 C133.689003,16.7855998 130.235982,12 121.708982,12 C114.934879,12 111.427199,14.4823297 109.678071,18.3594383 C108.818585,20.265008 108.396382,22.4778061 108.187165,24.830082 C107.977948,27.1710489 107.977948,29.4554707 107.977948,32 L107.977948,32 Z M34.9007634,12.6446141 L34.9007634,20.3196683 L21.6051268,44.5040053 L35.2268401,44.5040053 L35.2268401,51.3553859 L12,51.3553859 L12,43.7915371 L25.2975214,19.4997644 L13.683159,19.4997644 L13.683159,12.6446141 L34.9007634,12.6446141 Z' id='Logotipo-(reworked)' fill='%23FFFFFF'%3E%3C/path%3E%3C/g%3E%3C/g%3E%3C/svg%3E\")}a{display:block;width:100%;height:100%}:host(.mobile){width:31px;height:40px}:host(.mobile) img{content:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='31px' height='40px' viewBox='0 0 31 40'%3E%3Cg id='Symbols' stroke='none' stroke-width='1' fill='none' fill-rule='evenodd'%3E%3Cg id='Topbar/Mobile/Logged' transform='translate(-16.000000, -4.000000)'%3E%3Cg id='Group' transform='translate(16.000000, 4.000000)'%3E%3Cpolygon id='Fill-1' fill='%23E2001A' points='0 40 30.625 40 30.625 0 0 0'%3E%3C/polygon%3E%3Cpolygon id='Fill-2' fill='%23FEFEFE' points='8.17111587 6.20689655 23.4311708 6.20689655 23.4311708 11.671267 13.8691261 28.9163861 23.6647727 28.9163861 23.6647727 33.7931034 6.96022727 33.7931034 6.96022727 28.408218 16.522272 11.0831673 8.17111587 11.0831673'%3E%3C/polygon%3E%3C/g%3E%3C/g%3E%3C/g%3E%3C/svg%3E\")}";
|
|
30
8
|
|
|
31
9
|
const ZLogo = class {
|
|
32
10
|
constructor(hostRef) {
|
|
33
11
|
index.registerInstance(this, hostRef);
|
|
12
|
+
this.width = undefined;
|
|
13
|
+
this.height = undefined;
|
|
14
|
+
this.imageAlt = undefined;
|
|
15
|
+
this.link = undefined;
|
|
16
|
+
this.targetBlank = undefined;
|
|
17
|
+
this.mobileLogo = undefined;
|
|
34
18
|
}
|
|
35
19
|
render() {
|
|
36
20
|
const style = {};
|
|
@@ -45,5 +29,4 @@ const ZLogo = class {
|
|
|
45
29
|
};
|
|
46
30
|
ZLogo.style = stylesCss;
|
|
47
31
|
|
|
48
|
-
exports.z_app_switcher = ZAppSwitcher;
|
|
49
32
|
exports.z_logo = ZLogo;
|