@zanichelli/albe-web-components 12.1.2 → 12.1.3-rc
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/package.json +1 -1
- package/dist/cjs/_commonjsHelpers-537d719a.js +0 -20
- package/dist/cjs/breakpoints-ebe1a437.js +0 -9
- package/dist/cjs/hammer-4f20813e.js +0 -2650
- package/dist/cjs/icons-d385b990.js +0 -862
- package/dist/cjs/index-00b6f6ba.js +0 -20
- package/dist/cjs/index-115387e6.js +0 -17
- package/dist/cjs/index-195ca522.js +0 -2326
- package/dist/cjs/index-20f305f7.js +0 -17
- package/dist/cjs/index-23ca3837.js +0 -53
- package/dist/cjs/index-270a4cf7.js +0 -22
- package/dist/cjs/index-2b0eb1f0.js +0 -34
- package/dist/cjs/index-4e41767c.js +0 -21
- package/dist/cjs/index-53c72420.js +0 -79
- package/dist/cjs/index-544902f0.js +0 -21
- package/dist/cjs/index-bb84dc1c.js +0 -21
- package/dist/cjs/index-cf9497bc.js +0 -344
- package/dist/cjs/index-d30158ef.js +0 -67
- package/dist/cjs/index-df08bc63.js +0 -29
- package/dist/cjs/index-e3bf75bc.js +0 -41
- package/dist/cjs/index-e78caf11.js +0 -74
- package/dist/cjs/index-f64e5dfe.js +0 -17
- package/dist/cjs/index-f6910e7f.js +0 -21
- package/dist/cjs/index.cjs.js +0 -331
- package/dist/cjs/loader.cjs.js +0 -21
- package/dist/cjs/utils-8335dca3.js +0 -2706
- package/dist/cjs/utils-ee86db4f.js +0 -110
- package/dist/cjs/web-components-library.cjs.js +0 -19
- package/dist/cjs/z-accordion.cjs.entry.js +0 -67
- package/dist/cjs/z-alert.cjs.entry.js +0 -19
- package/dist/cjs/z-anchor-navigation.cjs.entry.js +0 -53
- package/dist/cjs/z-app-header_11.cjs.entry.js +0 -1058
- package/dist/cjs/z-aria-alert.cjs.entry.js +0 -19
- package/dist/cjs/z-avatar.cjs.entry.js +0 -44
- package/dist/cjs/z-book-card.cjs.entry.js +0 -126
- package/dist/cjs/z-breadcrumb.cjs.entry.js +0 -232
- package/dist/cjs/z-button-sort.cjs.entry.js +0 -53
- package/dist/cjs/z-card.cjs.entry.js +0 -53
- package/dist/cjs/z-carousel.cjs.entry.js +0 -150
- package/dist/cjs/z-chip.cjs.entry.js +0 -32
- package/dist/cjs/z-combobox.cjs.entry.js +0 -201
- package/dist/cjs/z-contextual-menu.cjs.entry.js +0 -46
- package/dist/cjs/z-cover-hero.cjs.entry.js +0 -57
- package/dist/cjs/z-date-picker.cjs.entry.js +0 -477
- package/dist/cjs/z-dragdrop-area_2.cjs.entry.js +0 -1016
- package/dist/cjs/z-file-upload.cjs.entry.js +0 -185
- package/dist/cjs/z-file.cjs.entry.js +0 -48
- package/dist/cjs/z-ghost-loading.cjs.entry.js +0 -19
- package/dist/cjs/z-info-box.cjs.entry.js +0 -25
- package/dist/cjs/z-info-reveal.cjs.entry.js +0 -65
- package/dist/cjs/z-link.cjs.entry.js +0 -74
- package/dist/cjs/z-logo.cjs.entry.js +0 -26
- package/dist/cjs/z-menu-section.cjs.entry.js +0 -54
- package/dist/cjs/z-menu.cjs.entry.js +0 -119
- package/dist/cjs/z-messages-pocket.cjs.entry.js +0 -46
- package/dist/cjs/z-myz-card-alert.cjs.entry.js +0 -63
- package/dist/cjs/z-myz-card-dictionary.cjs.entry.js +0 -36
- package/dist/cjs/z-myz-card-footer-sections.cjs.entry.js +0 -19
- package/dist/cjs/z-myz-card-footer.cjs.entry.js +0 -69
- package/dist/cjs/z-myz-card-icon.cjs.entry.js +0 -23
- package/dist/cjs/z-myz-card-info.cjs.entry.js +0 -129
- package/dist/cjs/z-myz-card-list.cjs.entry.js +0 -38
- package/dist/cjs/z-myz-card_4.cjs.entry.js +0 -108
- package/dist/cjs/z-myz-list-item.cjs.entry.js +0 -37
- package/dist/cjs/z-myz-list.cjs.entry.js +0 -35
- package/dist/cjs/z-navigation-tab-link.cjs.entry.js +0 -74
- package/dist/cjs/z-navigation-tab.cjs.entry.js +0 -73
- package/dist/cjs/z-navigation-tabs.cjs.entry.js +0 -229
- package/dist/cjs/z-notification.cjs.entry.js +0 -41
- package/dist/cjs/z-otp.cjs.entry.js +0 -41
- package/dist/cjs/z-pagination.cjs.entry.js +0 -229
- package/dist/cjs/z-panel-elem.cjs.entry.js +0 -34
- package/dist/cjs/z-pocket-message.cjs.entry.js +0 -19
- package/dist/cjs/z-pocket_3.cjs.entry.js +0 -125
- package/dist/cjs/z-popover.cjs.entry.js +0 -328
- package/dist/cjs/z-range-picker.cjs.entry.js +0 -361
- package/dist/cjs/z-section-title.cjs.entry.js +0 -33
- package/dist/cjs/z-select.cjs.entry.js +0 -332
- package/dist/cjs/z-skip-to-content.cjs.entry.js +0 -74
- package/dist/cjs/z-slideshow.cjs.entry.js +0 -129
- package/dist/cjs/z-stepper-item.cjs.entry.js +0 -22
- package/dist/cjs/z-stepper.cjs.entry.js +0 -19
- package/dist/cjs/z-table-body.cjs.entry.js +0 -10
- package/dist/cjs/z-table-cell.cjs.entry.js +0 -11
- package/dist/cjs/z-table-deprecated.cjs.entry.js +0 -91
- package/dist/cjs/z-table-empty-box.cjs.entry.js +0 -10
- package/dist/cjs/z-table-expanded-row.cjs.entry.js +0 -10
- package/dist/cjs/z-table-footer.cjs.entry.js +0 -10
- package/dist/cjs/z-table-head.cjs.entry.js +0 -10
- package/dist/cjs/z-table-header-row.cjs.entry.js +0 -10
- package/dist/cjs/z-table-header.cjs.entry.js +0 -13
- package/dist/cjs/z-table-row.cjs.entry.js +0 -11
- package/dist/cjs/z-table-sticky-footer.cjs.entry.js +0 -10
- package/dist/cjs/z-table.cjs.entry.js +0 -58
- package/dist/cjs/z-tag.cjs.entry.js +0 -22
- package/dist/cjs/z-tbody.cjs.entry.js +0 -10
- package/dist/cjs/z-td.cjs.entry.js +0 -11
- package/dist/cjs/z-tfoot.cjs.entry.js +0 -10
- package/dist/cjs/z-th.cjs.entry.js +0 -11
- package/dist/cjs/z-thead.cjs.entry.js +0 -10
- package/dist/cjs/z-toast-notification-list.cjs.entry.js +0 -56
- package/dist/cjs/z-toast-notification.cjs.entry.js +0 -200
- package/dist/cjs/z-toggle-button.cjs.entry.js +0 -36
- package/dist/cjs/z-toggle-switch.cjs.entry.js +0 -51
- package/dist/cjs/z-tooltip.cjs.entry.js +0 -37
- package/dist/cjs/z-tr.cjs.entry.js +0 -15
- package/dist/cjs/z-visually-hidden.cjs.entry.js +0 -19
- package/dist/collection/beans/index.js +0 -342
- package/dist/collection/collection-manifest.json +0 -106
- package/dist/collection/components/buttons/z-button/index.js +0 -262
- package/dist/collection/components/buttons/z-button/styles.css +0 -149
- package/dist/collection/components/buttons/z-button-sort/index.js +0 -220
- package/dist/collection/components/buttons/z-button-sort/styles.css +0 -84
- package/dist/collection/components/buttons/z-chip/index.js +0 -147
- package/dist/collection/components/buttons/z-chip/styles.css +0 -122
- package/dist/collection/components/buttons/z-toggle-button/index.js +0 -146
- package/dist/collection/components/buttons/z-toggle-button/styles.css +0 -60
- package/dist/collection/components/buttons/z-toggle-switch/index.js +0 -144
- package/dist/collection/components/buttons/z-toggle-switch/styles.css +0 -104
- package/dist/collection/components/date-picker/styles.css +0 -565
- package/dist/collection/components/date-picker/utils.js +0 -76
- package/dist/collection/components/date-picker/z-date-picker/index.js +0 -295
- package/dist/collection/components/date-picker/z-range-picker/index.js +0 -593
- package/dist/collection/components/file-upload/z-dragdrop-area/index.js +0 -53
- package/dist/collection/components/file-upload/z-dragdrop-area/styles.css +0 -51
- package/dist/collection/components/file-upload/z-file/index.js +0 -131
- package/dist/collection/components/file-upload/z-file/styles.css +0 -23
- package/dist/collection/components/file-upload/z-file-upload/index.js +0 -363
- package/dist/collection/components/file-upload/z-file-upload/styles.css +0 -84
- package/dist/collection/components/icons/icons.js +0 -858
- package/dist/collection/components/icons/z-icon/index.js +0 -114
- package/dist/collection/components/icons/z-icon/styles.css +0 -14
- package/dist/collection/components/index.js +0 -8
- package/dist/collection/components/indicators/z-stepper/index.js +0 -21
- package/dist/collection/components/indicators/z-stepper/styles.css +0 -19
- package/dist/collection/components/indicators/z-stepper-item/index.js +0 -93
- package/dist/collection/components/indicators/z-stepper-item/styles.css +0 -114
- package/dist/collection/components/inputs/z-combobox/index.js +0 -570
- package/dist/collection/components/inputs/z-combobox/styles.css +0 -194
- package/dist/collection/components/inputs/z-input/index.js +0 -804
- package/dist/collection/components/inputs/z-input/styles.css +0 -397
- package/dist/collection/components/inputs/z-input-message/index.js +0 -89
- package/dist/collection/components/inputs/z-input-message/styles.css +0 -48
- package/dist/collection/components/inputs/z-searchbar/index.js +0 -599
- package/dist/collection/components/inputs/z-searchbar/styles.css +0 -185
- package/dist/collection/components/inputs/z-select/index.js +0 -753
- package/dist/collection/components/inputs/z-select/styles.css +0 -123
- package/dist/collection/components/list/z-list/index.js +0 -91
- package/dist/collection/components/list/z-list/styles.css +0 -6
- package/dist/collection/components/list/z-list-element/index.js +0 -508
- package/dist/collection/components/list/z-list-element/styles.css +0 -121
- package/dist/collection/components/list/z-list-group/index.js +0 -175
- package/dist/collection/components/list/z-list-group/styles.css +0 -21
- package/dist/collection/components/list/z-toast-notification-list/index.js +0 -105
- package/dist/collection/components/list/z-toast-notification-list/styles.css +0 -100
- package/dist/collection/components/logo/z-logo/index.js +0 -131
- package/dist/collection/components/logo/z-logo/styles.css +0 -29
- package/dist/collection/components/modal/z-modal/index.js +0 -351
- package/dist/collection/components/modal/z-modal/styles.css +0 -251
- package/dist/collection/components/navigation/z-app-header/index.js +0 -449
- package/dist/collection/components/navigation/z-app-header/index.stories.js +0 -393
- package/dist/collection/components/navigation/z-app-header/styles.css +0 -441
- package/dist/collection/components/navigation/z-menu/index.js +0 -250
- package/dist/collection/components/navigation/z-menu/styles.css +0 -217
- package/dist/collection/components/navigation/z-menu-section/index.js +0 -125
- package/dist/collection/components/navigation/z-menu-section/styles.css +0 -123
- package/dist/collection/components/navigation/z-navigation-tabs/index.js +0 -367
- package/dist/collection/components/navigation/z-navigation-tabs/index.stories.js +0 -12
- package/dist/collection/components/navigation/z-navigation-tabs/styles.css +0 -212
- package/dist/collection/components/notification/z-info-box/index.js +0 -85
- package/dist/collection/components/notification/z-info-box/styles.css +0 -23
- package/dist/collection/components/notification/z-notification/index.js +0 -195
- package/dist/collection/components/notification/z-notification/styles.css +0 -114
- package/dist/collection/components/notification/z-toast-notification/index.js +0 -399
- package/dist/collection/components/notification/z-toast-notification/styles.css +0 -254
- package/dist/collection/components/notification/z-tooltip/index.js +0 -157
- package/dist/collection/components/notification/z-tooltip/styles.css +0 -17
- package/dist/collection/components/panel/z-panel-elem/index.js +0 -197
- package/dist/collection/components/panel/z-panel-elem/styles.css +0 -46
- package/dist/collection/components/table/cells/z-td/index.js +0 -147
- package/dist/collection/components/table/cells/z-td/styles.css +0 -59
- package/dist/collection/components/table/cells/z-th/index.js +0 -209
- package/dist/collection/components/table/cells/z-th/styles.css +0 -88
- package/dist/collection/components/table/z-table/index.js +0 -86
- package/dist/collection/components/table/z-table/styles.css +0 -22
- package/dist/collection/components/table/z-tbody/index.js +0 -22
- package/dist/collection/components/table/z-tbody/styles.css +0 -4
- package/dist/collection/components/table/z-tfoot/index.js +0 -50
- package/dist/collection/components/table/z-tfoot/styles.css +0 -13
- package/dist/collection/components/table/z-thead/index.js +0 -50
- package/dist/collection/components/table/z-thead/styles.css +0 -19
- package/dist/collection/components/table/z-tr/index.js +0 -133
- package/dist/collection/components/table/z-tr/styles.css +0 -87
- package/dist/collection/components/z-accordion/index.js +0 -255
- package/dist/collection/components/z-accordion/styles.css +0 -255
- package/dist/collection/components/z-anchor-navigation/index.js +0 -95
- package/dist/collection/components/z-anchor-navigation/styles.css +0 -128
- package/dist/collection/components/z-aria-alert/index.js +0 -39
- package/dist/collection/components/z-avatar/index.js +0 -142
- package/dist/collection/components/z-avatar/styles.css +0 -32
- package/dist/collection/components/z-book-card/index.js +0 -392
- package/dist/collection/components/z-book-card/styles.css +0 -476
- package/dist/collection/components/z-breadcrumb/index.js +0 -392
- package/dist/collection/components/z-breadcrumb/styles.css +0 -146
- package/dist/collection/components/z-card/index.js +0 -148
- package/dist/collection/components/z-card/styles.css +0 -213
- package/dist/collection/components/z-carousel/index.js +0 -304
- package/dist/collection/components/z-carousel/styles.css +0 -129
- package/dist/collection/components/z-contextual-menu/index.js +0 -126
- package/dist/collection/components/z-contextual-menu/styles.css +0 -60
- package/dist/collection/components/z-cover-hero/index.js +0 -146
- package/dist/collection/components/z-cover-hero/styles.css +0 -93
- package/dist/collection/components/z-divider/index.js +0 -95
- package/dist/collection/components/z-divider/styles.css +0 -37
- package/dist/collection/components/z-ghost-loading/index.js +0 -18
- package/dist/collection/components/z-ghost-loading/styles.css +0 -34
- package/dist/collection/components/z-info-reveal/index.js +0 -147
- package/dist/collection/components/z-info-reveal/styles.css +0 -103
- package/dist/collection/components/z-offcanvas/index.js +0 -162
- package/dist/collection/components/z-offcanvas/styles.css +0 -182
- package/dist/collection/components/z-pagination/index.js +0 -435
- package/dist/collection/components/z-pagination/styles.css +0 -199
- package/dist/collection/components/z-popover/index.js +0 -513
- package/dist/collection/components/z-popover/styles.css +0 -147
- package/dist/collection/components/z-section-title/index.js +0 -88
- package/dist/collection/components/z-section-title/styles.css +0 -45
- package/dist/collection/components/z-skip-to-content/index.js +0 -147
- package/dist/collection/components/z-skip-to-content/styles.css +0 -81
- package/dist/collection/components/z-tag/index.js +0 -65
- package/dist/collection/components/z-tag/styles.css +0 -46
- package/dist/collection/components/z-visually-hidden/index.js +0 -18
- package/dist/collection/components/z-visually-hidden/styles.css +0 -12
- package/dist/collection/constants/breakpoints.js +0 -4
- package/dist/collection/constants/icons.js +0 -6
- package/dist/collection/deprecated/navigation-tab.css +0 -138
- package/dist/collection/deprecated/z-link/index.js +0 -318
- package/dist/collection/deprecated/z-link/styles.css +0 -167
- package/dist/collection/deprecated/z-navigation-tab/index.js +0 -290
- package/dist/collection/deprecated/z-navigation-tab-link/index.js +0 -313
- package/dist/collection/deprecated/z-table-deprecated/z-table-body/index.js +0 -26
- package/dist/collection/deprecated/z-table-deprecated/z-table-body/styles.css +0 -9
- package/dist/collection/deprecated/z-table-deprecated/z-table-cell/index.js +0 -84
- package/dist/collection/deprecated/z-table-deprecated/z-table-cell/styles.css +0 -58
- package/dist/collection/deprecated/z-table-deprecated/z-table-deprecated/index.js +0 -363
- package/dist/collection/deprecated/z-table-deprecated/z-table-deprecated/styles.css +0 -115
- package/dist/collection/deprecated/z-table-deprecated/z-table-empty-box/index.js +0 -75
- package/dist/collection/deprecated/z-table-deprecated/z-table-empty-box/styles.css +0 -38
- package/dist/collection/deprecated/z-table-deprecated/z-table-expanded-row/index.js +0 -42
- package/dist/collection/deprecated/z-table-deprecated/z-table-expanded-row/styles.css +0 -9
- package/dist/collection/deprecated/z-table-deprecated/z-table-footer/index.js +0 -25
- package/dist/collection/deprecated/z-table-deprecated/z-table-footer/styles.css +0 -5
- package/dist/collection/deprecated/z-table-deprecated/z-table-head/index.js +0 -25
- package/dist/collection/deprecated/z-table-deprecated/z-table-head/styles.css +0 -5
- package/dist/collection/deprecated/z-table-deprecated/z-table-header/index.js +0 -226
- package/dist/collection/deprecated/z-table-deprecated/z-table-header/styles.css +0 -71
- package/dist/collection/deprecated/z-table-deprecated/z-table-header-row/index.js +0 -44
- package/dist/collection/deprecated/z-table-deprecated/z-table-header-row/styles.css +0 -13
- package/dist/collection/deprecated/z-table-deprecated/z-table-row/index.js +0 -95
- package/dist/collection/deprecated/z-table-deprecated/z-table-row/styles.css +0 -45
- package/dist/collection/deprecated/z-table-deprecated/z-table-sticky-footer/index.js +0 -22
- package/dist/collection/deprecated/z-table-deprecated/z-table-sticky-footer/styles.css +0 -11
- package/dist/collection/index.js +0 -7
- package/dist/collection/snowflakes/myz/card/z-myz-card/index.js +0 -129
- package/dist/collection/snowflakes/myz/card/z-myz-card/styles.css +0 -44
- package/dist/collection/snowflakes/myz/card/z-myz-card-alert/index.js +0 -151
- package/dist/collection/snowflakes/myz/card/z-myz-card-alert/styles.css +0 -62
- package/dist/collection/snowflakes/myz/card/z-myz-card-body/index.js +0 -22
- package/dist/collection/snowflakes/myz/card/z-myz-card-body/styles.css +0 -13
- package/dist/collection/snowflakes/myz/card/z-myz-card-cover/index.js +0 -93
- package/dist/collection/snowflakes/myz/card/z-myz-card-cover/styles.css +0 -11
- package/dist/collection/snowflakes/myz/card/z-myz-card-dictionary/index.js +0 -177
- package/dist/collection/snowflakes/myz/card/z-myz-card-dictionary/styles.css +0 -72
- package/dist/collection/snowflakes/myz/card/z-myz-card-footer/index.js +0 -219
- package/dist/collection/snowflakes/myz/card/z-myz-card-footer/styles.css +0 -181
- package/dist/collection/snowflakes/myz/card/z-myz-card-footer-sections/index.js +0 -22
- package/dist/collection/snowflakes/myz/card/z-myz-card-footer-sections/styles.css +0 -20
- package/dist/collection/snowflakes/myz/card/z-myz-card-header/index.js +0 -109
- package/dist/collection/snowflakes/myz/card/z-myz-card-header/styles.css +0 -59
- package/dist/collection/snowflakes/myz/card/z-myz-card-icon/index.js +0 -81
- package/dist/collection/snowflakes/myz/card/z-myz-card-icon/styles.css +0 -69
- package/dist/collection/snowflakes/myz/card/z-myz-card-info/index.js +0 -199
- package/dist/collection/snowflakes/myz/card/z-myz-card-info/styles.css +0 -93
- package/dist/collection/snowflakes/myz/card/z-myz-card-list/index.js +0 -60
- package/dist/collection/snowflakes/myz/card/z-myz-card-list/styles.css +0 -41
- package/dist/collection/snowflakes/myz/list/z-myz-list/index.js +0 -78
- package/dist/collection/snowflakes/myz/list/z-myz-list/styles.css +0 -4
- package/dist/collection/snowflakes/myz/list/z-myz-list-item/index.js +0 -192
- package/dist/collection/snowflakes/myz/list/z-myz-list-item/styles.css +0 -66
- package/dist/collection/snowflakes/myz/pocket/z-messages-pocket/index.js +0 -120
- package/dist/collection/snowflakes/myz/pocket/z-messages-pocket/styles.css +0 -102
- package/dist/collection/snowflakes/myz/pocket/z-pocket/index.js +0 -191
- package/dist/collection/snowflakes/myz/pocket/z-pocket/styles.css +0 -44
- package/dist/collection/snowflakes/myz/pocket/z-pocket-body/index.js +0 -84
- package/dist/collection/snowflakes/myz/pocket/z-pocket-body/styles.css +0 -41
- package/dist/collection/snowflakes/myz/pocket/z-pocket-header/index.js +0 -93
- package/dist/collection/snowflakes/myz/pocket/z-pocket-header/styles.css +0 -27
- package/dist/collection/snowflakes/myz/pocket/z-pocket-message/index.js +0 -22
- package/dist/collection/snowflakes/myz/pocket/z-pocket-message/styles.css +0 -44
- package/dist/collection/snowflakes/myz/z-alert/index.js +0 -47
- package/dist/collection/snowflakes/myz/z-alert/styles.css +0 -28
- package/dist/collection/snowflakes/myz/z-otp/index.js +0 -120
- package/dist/collection/snowflakes/myz/z-otp/styles.css +0 -47
- package/dist/collection/snowflakes/myz/z-slideshow/index.js +0 -180
- package/dist/collection/snowflakes/myz/z-slideshow/styles.css +0 -127
- package/dist/collection/utils/storybook-utils.js +0 -76
- package/dist/collection/utils/utils.js +0 -115
- package/dist/esm/_commonjsHelpers-9943807e.js +0 -17
- package/dist/esm/breakpoints-9b81eb1b.js +0 -5
- package/dist/esm/hammer-c3266b17.js +0 -2648
- package/dist/esm/icons-e3232103.js +0 -860
- package/dist/esm/index-0a587f24.js +0 -51
- package/dist/esm/index-0cdc998f.js +0 -19
- package/dist/esm/index-361b27f9.js +0 -15
- package/dist/esm/index-47f23745.js +0 -344
- package/dist/esm/index-4968ce56.js +0 -2298
- package/dist/esm/index-4d1853ea.js +0 -77
- package/dist/esm/index-531501d7.js +0 -15
- package/dist/esm/index-6161978d.js +0 -27
- package/dist/esm/index-772a7413.js +0 -20
- package/dist/esm/index-816801e5.js +0 -18
- package/dist/esm/index-85dc8bc0.js +0 -32
- package/dist/esm/index-88a23895.js +0 -19
- package/dist/esm/index-8f7fd43f.js +0 -19
- package/dist/esm/index-af5c6b4c.js +0 -15
- package/dist/esm/index-dc50a9ae.js +0 -72
- package/dist/esm/index-e6ee76f0.js +0 -39
- package/dist/esm/index-fac1fe6c.js +0 -19
- package/dist/esm/index-fb19ca57.js +0 -65
- package/dist/esm/index.js +0 -9
- package/dist/esm/loader.js +0 -17
- package/dist/esm/polyfills/core-js.js +0 -11
- package/dist/esm/polyfills/css-shim.js +0 -1
- package/dist/esm/polyfills/dom.js +0 -79
- package/dist/esm/polyfills/es5-html-element.js +0 -1
- package/dist/esm/polyfills/index.js +0 -34
- package/dist/esm/polyfills/system.js +0 -6
- package/dist/esm/utils-2a4ef29d.js +0 -100
- package/dist/esm/utils-8e0bd81d.js +0 -2700
- package/dist/esm/web-components-library.js +0 -17
- package/dist/esm/z-accordion.entry.js +0 -63
- package/dist/esm/z-alert.entry.js +0 -15
- package/dist/esm/z-anchor-navigation.entry.js +0 -49
- package/dist/esm/z-app-header_11.entry.js +0 -1044
- package/dist/esm/z-aria-alert.entry.js +0 -15
- package/dist/esm/z-avatar.entry.js +0 -40
- package/dist/esm/z-book-card.entry.js +0 -122
- package/dist/esm/z-breadcrumb.entry.js +0 -228
- package/dist/esm/z-button-sort.entry.js +0 -49
- package/dist/esm/z-card.entry.js +0 -49
- package/dist/esm/z-carousel.entry.js +0 -146
- package/dist/esm/z-chip.entry.js +0 -28
- package/dist/esm/z-combobox.entry.js +0 -197
- package/dist/esm/z-contextual-menu.entry.js +0 -42
- package/dist/esm/z-cover-hero.entry.js +0 -53
- package/dist/esm/z-date-picker.entry.js +0 -473
- package/dist/esm/z-dragdrop-area_2.entry.js +0 -1011
- package/dist/esm/z-file-upload.entry.js +0 -181
- package/dist/esm/z-file.entry.js +0 -44
- package/dist/esm/z-ghost-loading.entry.js +0 -15
- package/dist/esm/z-info-box.entry.js +0 -21
- package/dist/esm/z-info-reveal.entry.js +0 -61
- package/dist/esm/z-link.entry.js +0 -70
- package/dist/esm/z-logo.entry.js +0 -22
- package/dist/esm/z-menu-section.entry.js +0 -50
- package/dist/esm/z-menu.entry.js +0 -115
- package/dist/esm/z-messages-pocket.entry.js +0 -42
- package/dist/esm/z-myz-card-alert.entry.js +0 -59
- package/dist/esm/z-myz-card-dictionary.entry.js +0 -32
- package/dist/esm/z-myz-card-footer-sections.entry.js +0 -15
- package/dist/esm/z-myz-card-footer.entry.js +0 -65
- package/dist/esm/z-myz-card-icon.entry.js +0 -19
- package/dist/esm/z-myz-card-info.entry.js +0 -125
- package/dist/esm/z-myz-card-list.entry.js +0 -34
- package/dist/esm/z-myz-card_4.entry.js +0 -101
- package/dist/esm/z-myz-list-item.entry.js +0 -33
- package/dist/esm/z-myz-list.entry.js +0 -31
- package/dist/esm/z-navigation-tab-link.entry.js +0 -70
- package/dist/esm/z-navigation-tab.entry.js +0 -69
- package/dist/esm/z-navigation-tabs.entry.js +0 -225
- package/dist/esm/z-notification.entry.js +0 -37
- package/dist/esm/z-otp.entry.js +0 -37
- package/dist/esm/z-pagination.entry.js +0 -225
- package/dist/esm/z-panel-elem.entry.js +0 -30
- package/dist/esm/z-pocket-message.entry.js +0 -15
- package/dist/esm/z-pocket_3.entry.js +0 -119
- package/dist/esm/z-popover.entry.js +0 -324
- package/dist/esm/z-range-picker.entry.js +0 -357
- package/dist/esm/z-section-title.entry.js +0 -29
- package/dist/esm/z-select.entry.js +0 -328
- package/dist/esm/z-skip-to-content.entry.js +0 -70
- package/dist/esm/z-slideshow.entry.js +0 -125
- package/dist/esm/z-stepper-item.entry.js +0 -18
- package/dist/esm/z-stepper.entry.js +0 -15
- package/dist/esm/z-table-body.entry.js +0 -2
- package/dist/esm/z-table-cell.entry.js +0 -3
- package/dist/esm/z-table-deprecated.entry.js +0 -87
- package/dist/esm/z-table-empty-box.entry.js +0 -2
- package/dist/esm/z-table-expanded-row.entry.js +0 -2
- package/dist/esm/z-table-footer.entry.js +0 -2
- package/dist/esm/z-table-head.entry.js +0 -2
- package/dist/esm/z-table-header-row.entry.js +0 -2
- package/dist/esm/z-table-header.entry.js +0 -5
- package/dist/esm/z-table-row.entry.js +0 -3
- package/dist/esm/z-table-sticky-footer.entry.js +0 -2
- package/dist/esm/z-table.entry.js +0 -54
- package/dist/esm/z-tag.entry.js +0 -18
- package/dist/esm/z-tbody.entry.js +0 -2
- package/dist/esm/z-td.entry.js +0 -3
- package/dist/esm/z-tfoot.entry.js +0 -2
- package/dist/esm/z-th.entry.js +0 -3
- package/dist/esm/z-thead.entry.js +0 -2
- package/dist/esm/z-toast-notification-list.entry.js +0 -52
- package/dist/esm/z-toast-notification.entry.js +0 -196
- package/dist/esm/z-toggle-button.entry.js +0 -32
- package/dist/esm/z-toggle-switch.entry.js +0 -47
- package/dist/esm/z-tooltip.entry.js +0 -33
- package/dist/esm/z-tr.entry.js +0 -7
- package/dist/esm/z-visually-hidden.entry.js +0 -15
- package/dist/index.cjs.js +0 -1
- package/dist/index.js +0 -1
- package/dist/types/beans/index.d.ts +0 -398
- package/dist/types/components/buttons/z-button/index.d.ts +0 -31
- package/dist/types/components/buttons/z-button-sort/index.d.ts +0 -28
- package/dist/types/components/buttons/z-chip/index.d.ts +0 -18
- package/dist/types/components/buttons/z-toggle-button/index.d.ts +0 -17
- package/dist/types/components/buttons/z-toggle-switch/index.d.ts +0 -17
- package/dist/types/components/date-picker/utils.d.ts +0 -4
- package/dist/types/components/date-picker/z-date-picker/index.d.ts +0 -29
- package/dist/types/components/date-picker/z-range-picker/index.d.ts +0 -52
- package/dist/types/components/file-upload/z-dragdrop-area/index.d.ts +0 -9
- package/dist/types/components/file-upload/z-file/index.d.ts +0 -22
- package/dist/types/components/file-upload/z-file-upload/index.d.ts +0 -52
- package/dist/types/components/icons/icons.d.ts +0 -1549
- package/dist/types/components/icons/z-icon/index.d.ts +0 -14
- package/dist/types/components/index.d.ts +0 -0
- package/dist/types/components/indicators/z-stepper/index.d.ts +0 -6
- package/dist/types/components/indicators/z-stepper-item/index.d.ts +0 -19
- package/dist/types/components/inputs/z-combobox/index.d.ts +0 -71
- package/dist/types/components/inputs/z-input/index.d.ts +0 -91
- package/dist/types/components/inputs/z-input-message/index.d.ts +0 -12
- package/dist/types/components/inputs/z-searchbar/index.d.ts +0 -73
- package/dist/types/components/inputs/z-select/index.d.ts +0 -82
- package/dist/types/components/list/z-list/index.d.ts +0 -15
- package/dist/types/components/list/z-list-element/index.d.ts +0 -95
- package/dist/types/components/list/z-list-group/index.d.ts +0 -28
- package/dist/types/components/list/z-toast-notification-list/index.d.ts +0 -14
- package/dist/types/components/logo/z-logo/index.d.ts +0 -15
- package/dist/types/components/modal/z-modal/index.d.ts +0 -49
- package/dist/types/components/navigation/z-app-header/index.d.ts +0 -149
- package/dist/types/components/navigation/z-menu/index.d.ts +0 -61
- package/dist/types/components/navigation/z-menu-section/index.d.ts +0 -31
- package/dist/types/components/navigation/z-navigation-tabs/index.d.ts +0 -114
- package/dist/types/components/notification/z-info-box/index.d.ts +0 -14
- package/dist/types/components/notification/z-notification/index.d.ts +0 -32
- package/dist/types/components/notification/z-toast-notification/index.d.ts +0 -56
- package/dist/types/components/notification/z-tooltip/index.d.ts +0 -32
- package/dist/types/components/panel/z-panel-elem/index.d.ts +0 -25
- package/dist/types/components/table/cells/z-td/index.d.ts +0 -37
- package/dist/types/components/table/cells/z-th/index.d.ts +0 -56
- package/dist/types/components/table/z-table/index.d.ts +0 -28
- package/dist/types/components/table/z-tbody/index.d.ts +0 -7
- package/dist/types/components/table/z-tfoot/index.d.ts +0 -11
- package/dist/types/components/table/z-thead/index.d.ts +0 -11
- package/dist/types/components/table/z-tr/index.d.ts +0 -41
- package/dist/types/components/z-accordion/index.d.ts +0 -65
- package/dist/types/components/z-anchor-navigation/index.d.ts +0 -39
- package/dist/types/components/z-aria-alert/index.d.ts +0 -6
- package/dist/types/components/z-avatar/index.d.ts +0 -16
- package/dist/types/components/z-book-card/index.d.ts +0 -95
- package/dist/types/components/z-breadcrumb/index.d.ts +0 -56
- package/dist/types/components/z-card/index.d.ts +0 -38
- package/dist/types/components/z-carousel/index.d.ts +0 -63
- package/dist/types/components/z-contextual-menu/index.d.ts +0 -26
- package/dist/types/components/z-cover-hero/index.d.ts +0 -41
- package/dist/types/components/z-divider/index.d.ts +0 -10
- package/dist/types/components/z-ghost-loading/index.d.ts +0 -3
- package/dist/types/components/z-info-reveal/index.d.ts +0 -29
- package/dist/types/components/z-offcanvas/index.d.ts +0 -27
- package/dist/types/components/z-pagination/index.d.ts +0 -109
- package/dist/types/components/z-popover/index.d.ts +0 -69
- package/dist/types/components/z-section-title/index.d.ts +0 -25
- package/dist/types/components/z-skip-to-content/index.d.ts +0 -21
- package/dist/types/components/z-tag/index.d.ts +0 -13
- package/dist/types/components/z-visually-hidden/index.d.ts +0 -3
- package/dist/types/components.d.ts +0 -5198
- package/dist/types/constants/breakpoints.d.ts +0 -4
- package/dist/types/constants/icons.d.ts +0 -6
- package/dist/types/deprecated/z-link/index.d.ts +0 -41
- package/dist/types/deprecated/z-navigation-tab/index.d.ts +0 -69
- package/dist/types/deprecated/z-navigation-tab-link/index.d.ts +0 -77
- package/dist/types/deprecated/z-table-deprecated/z-table-body/index.d.ts +0 -8
- package/dist/types/deprecated/z-table-deprecated/z-table-cell/index.d.ts +0 -14
- package/dist/types/deprecated/z-table-deprecated/z-table-deprecated/index.d.ts +0 -59
- package/dist/types/deprecated/z-table-deprecated/z-table-empty-box/index.d.ts +0 -15
- package/dist/types/deprecated/z-table-deprecated/z-table-expanded-row/index.d.ts +0 -8
- package/dist/types/deprecated/z-table-deprecated/z-table-footer/index.d.ts +0 -8
- package/dist/types/deprecated/z-table-deprecated/z-table-head/index.d.ts +0 -8
- package/dist/types/deprecated/z-table-deprecated/z-table-header/index.d.ts +0 -31
- package/dist/types/deprecated/z-table-deprecated/z-table-header-row/index.d.ts +0 -9
- package/dist/types/deprecated/z-table-deprecated/z-table-row/index.d.ts +0 -16
- package/dist/types/deprecated/z-table-deprecated/z-table-sticky-footer/index.d.ts +0 -7
- package/dist/types/index.d.ts +0 -7
- package/dist/types/snowflakes/myz/card/z-myz-card/index.d.ts +0 -16
- package/dist/types/snowflakes/myz/card/z-myz-card-alert/index.d.ts +0 -19
- package/dist/types/snowflakes/myz/card/z-myz-card-body/index.d.ts +0 -7
- package/dist/types/snowflakes/myz/card/z-myz-card-cover/index.d.ts +0 -12
- package/dist/types/snowflakes/myz/card/z-myz-card-dictionary/index.d.ts +0 -24
- package/dist/types/snowflakes/myz/card/z-myz-card-footer/index.d.ts +0 -34
- package/dist/types/snowflakes/myz/card/z-myz-card-footer-sections/index.d.ts +0 -7
- package/dist/types/snowflakes/myz/card/z-myz-card-header/index.d.ts +0 -19
- package/dist/types/snowflakes/myz/card/z-myz-card-icon/index.d.ts +0 -9
- package/dist/types/snowflakes/myz/card/z-myz-card-info/index.d.ts +0 -36
- package/dist/types/snowflakes/myz/card/z-myz-card-list/index.d.ts +0 -9
- package/dist/types/snowflakes/myz/list/z-myz-list/index.d.ts +0 -11
- package/dist/types/snowflakes/myz/list/z-myz-list-item/index.d.ts +0 -25
- package/dist/types/snowflakes/myz/pocket/z-messages-pocket/index.d.ts +0 -16
- package/dist/types/snowflakes/myz/pocket/z-pocket/index.d.ts +0 -25
- package/dist/types/snowflakes/myz/pocket/z-pocket-body/index.d.ts +0 -12
- package/dist/types/snowflakes/myz/pocket/z-pocket-header/index.d.ts +0 -18
- package/dist/types/snowflakes/myz/pocket/z-pocket-message/index.d.ts +0 -7
- package/dist/types/snowflakes/myz/z-alert/index.d.ts +0 -9
- package/dist/types/snowflakes/myz/z-otp/index.d.ts +0 -17
- package/dist/types/snowflakes/myz/z-slideshow/index.d.ts +0 -30
- package/dist/types/stencil-public-runtime.d.ts +0 -1576
- package/dist/types/utils/storybook-utils.d.ts +0 -50
- package/dist/types/utils/utils.d.ts +0 -24
- package/dist/web-components-library/index.esm.js +0 -1
- package/dist/web-components-library/p-01e2e8d4.entry.js +0 -1
- package/dist/web-components-library/p-035fbb3e.entry.js +0 -1
- package/dist/web-components-library/p-03b13390.entry.js +0 -1
- package/dist/web-components-library/p-04b2ab0d.entry.js +0 -1
- package/dist/web-components-library/p-05ba9739.entry.js +0 -1
- package/dist/web-components-library/p-06c94384.entry.js +0 -1
- package/dist/web-components-library/p-100207d8.entry.js +0 -1
- package/dist/web-components-library/p-1086a0fa.entry.js +0 -1
- package/dist/web-components-library/p-112455b1.js +0 -1
- package/dist/web-components-library/p-138bc87e.entry.js +0 -1
- package/dist/web-components-library/p-13fc4378.js +0 -1
- package/dist/web-components-library/p-15a606ce.entry.js +0 -1
- package/dist/web-components-library/p-19876b0d.entry.js +0 -1
- package/dist/web-components-library/p-1d805413.entry.js +0 -1
- package/dist/web-components-library/p-29fa362c.entry.js +0 -1
- package/dist/web-components-library/p-2cb45213.entry.js +0 -1
- package/dist/web-components-library/p-33305cc8.entry.js +0 -1
- package/dist/web-components-library/p-3636078a.entry.js +0 -1
- package/dist/web-components-library/p-376f2928.entry.js +0 -1
- package/dist/web-components-library/p-392899e9.entry.js +0 -1
- package/dist/web-components-library/p-39a446ec.entry.js +0 -1
- package/dist/web-components-library/p-39b7ad4f.entry.js +0 -1
- package/dist/web-components-library/p-3bb2d909.entry.js +0 -1
- package/dist/web-components-library/p-417482b0.entry.js +0 -1
- package/dist/web-components-library/p-485fd3db.entry.js +0 -1
- package/dist/web-components-library/p-49f4e9a0.entry.js +0 -1
- package/dist/web-components-library/p-4d0d5d93.entry.js +0 -1
- package/dist/web-components-library/p-50f78a81.entry.js +0 -1
- package/dist/web-components-library/p-5338cc37.entry.js +0 -1
- package/dist/web-components-library/p-571b55dc.js +0 -1
- package/dist/web-components-library/p-57c6d414.entry.js +0 -1
- package/dist/web-components-library/p-5944a8f2.entry.js +0 -1
- package/dist/web-components-library/p-5c177ba5.entry.js +0 -1
- package/dist/web-components-library/p-5d274fcc.entry.js +0 -1
- package/dist/web-components-library/p-5f202970.entry.js +0 -1
- package/dist/web-components-library/p-5fd3ed9c.entry.js +0 -1
- package/dist/web-components-library/p-61c00383.entry.js +0 -1
- package/dist/web-components-library/p-68410ea2.js +0 -1
- package/dist/web-components-library/p-6a4403c6.entry.js +0 -1
- package/dist/web-components-library/p-6ed0aaab.entry.js +0 -1
- package/dist/web-components-library/p-7426f322.js +0 -1
- package/dist/web-components-library/p-7588fbf0.js +0 -1
- package/dist/web-components-library/p-7907bdf7.entry.js +0 -1
- package/dist/web-components-library/p-7b990086.js +0 -1
- package/dist/web-components-library/p-7c5ddeb0.entry.js +0 -1
- package/dist/web-components-library/p-80e52459.js +0 -1
- package/dist/web-components-library/p-81006561.js +0 -2
- package/dist/web-components-library/p-86758f78.entry.js +0 -1
- package/dist/web-components-library/p-8a45ae2a.entry.js +0 -1
- package/dist/web-components-library/p-8c31e60b.entry.js +0 -1
- package/dist/web-components-library/p-9021c92a.js +0 -1
- package/dist/web-components-library/p-94afe4dd.entry.js +0 -1
- package/dist/web-components-library/p-9508cd3e.js +0 -1
- package/dist/web-components-library/p-95370f75.js +0 -1
- package/dist/web-components-library/p-96fc8078.entry.js +0 -1
- package/dist/web-components-library/p-98204840.entry.js +0 -1
- package/dist/web-components-library/p-98badafc.js +0 -1
- package/dist/web-components-library/p-9b0bcd43.entry.js +0 -1
- package/dist/web-components-library/p-9c1ed1e8.entry.js +0 -1
- package/dist/web-components-library/p-9ff2fc8e.entry.js +0 -1
- package/dist/web-components-library/p-a01baa71.js +0 -1
- package/dist/web-components-library/p-a1663ab1.entry.js +0 -1
- package/dist/web-components-library/p-a3587fd6.entry.js +0 -16
- package/dist/web-components-library/p-a4502b1e.entry.js +0 -1
- package/dist/web-components-library/p-a48e5c46.entry.js +0 -1
- package/dist/web-components-library/p-a50262e8.entry.js +0 -1
- package/dist/web-components-library/p-a862a070.entry.js +0 -1
- package/dist/web-components-library/p-a9d2edee.entry.js +0 -1
- package/dist/web-components-library/p-acb89afa.entry.js +0 -1
- package/dist/web-components-library/p-b2527ca1.entry.js +0 -1
- package/dist/web-components-library/p-b497e33e.js +0 -1
- package/dist/web-components-library/p-b99039ed.js +0 -1
- package/dist/web-components-library/p-c298cb2f.js +0 -1
- package/dist/web-components-library/p-c44d87bd.entry.js +0 -1
- package/dist/web-components-library/p-c6e7991f.entry.js +0 -1
- package/dist/web-components-library/p-c9bc5148.js +0 -1
- package/dist/web-components-library/p-ca472d1c.entry.js +0 -1
- package/dist/web-components-library/p-cbb670c5.js +0 -1
- package/dist/web-components-library/p-cc009af8.entry.js +0 -1
- package/dist/web-components-library/p-cd561d69.js +0 -1
- package/dist/web-components-library/p-d2946762.entry.js +0 -1
- package/dist/web-components-library/p-db0a64af.js +0 -1
- package/dist/web-components-library/p-dd4fc386.entry.js +0 -1
- package/dist/web-components-library/p-de5688e9.entry.js +0 -1
- package/dist/web-components-library/p-decbd59d.entry.js +0 -1
- package/dist/web-components-library/p-e43e61ac.js +0 -7
- package/dist/web-components-library/p-e54d4ef9.entry.js +0 -1
- package/dist/web-components-library/p-e7c6d651.entry.js +0 -1
- package/dist/web-components-library/p-ed42ceca.entry.js +0 -1
- package/dist/web-components-library/p-f058316f.entry.js +0 -1
- package/dist/web-components-library/p-f14105c6.entry.js +0 -1
- package/dist/web-components-library/p-f3cc3f27.entry.js +0 -1
- package/dist/web-components-library/p-f46fa177.entry.js +0 -1
- package/dist/web-components-library/p-f4e2e76b.entry.js +0 -1
- package/dist/web-components-library/p-f5ae1514.entry.js +0 -1
- package/dist/web-components-library/p-f5bc7dda.entry.js +0 -1
- package/dist/web-components-library/p-f8383e14.entry.js +0 -1
- package/dist/web-components-library/p-f976f29f.js +0 -1
- package/dist/web-components-library/p-f9873cb9.entry.js +0 -1
- package/dist/web-components-library/p-fd58b7a2.entry.js +0 -1
- package/dist/web-components-library/p-fde82dc3.js +0 -1
- package/dist/web-components-library/p-ff5a6e34.entry.js +0 -1
- package/dist/web-components-library/p-ffde06d1.entry.js +0 -1
- package/dist/web-components-library/web-components-library.css +0 -3
- package/dist/web-components-library/web-components-library.esm.js +0 -1
- package/loader/cdn.js +0 -3
- package/loader/index.cjs.js +0 -3
- package/loader/index.d.ts +0 -12
- package/loader/index.es2017.js +0 -3
- package/loader/index.js +0 -4
- package/loader/package.json +0 -11
- package/react/components.d.ts +0 -97
- package/react/components.js +0 -104
- package/react/components.js.map +0 -1
- package/react/index.d.ts +0 -1
- package/react/index.js +0 -14
- package/react/index.js.map +0 -1
- package/react/react-component-lib/createComponent.d.ts +0 -10
- package/react/react-component-lib/createComponent.js +0 -98
- package/react/react-component-lib/createComponent.js.map +0 -1
- package/react/react-component-lib/createOverlayComponent.d.ts +0 -21
- package/react/react-component-lib/createOverlayComponent.js +0 -116
- package/react/react-component-lib/createOverlayComponent.js.map +0 -1
- package/react/react-component-lib/index.d.ts +0 -2
- package/react/react-component-lib/index.js +0 -8
- package/react/react-component-lib/index.js.map +0 -1
- package/react/react-component-lib/interfaces.d.ts +0 -29
- package/react/react-component-lib/interfaces.js +0 -3
- package/react/react-component-lib/interfaces.js.map +0 -1
- package/react/react-component-lib/utils/attachProps.d.ts +0 -12
- package/react/react-component-lib/utils/attachProps.js +0 -105
- package/react/react-component-lib/utils/attachProps.js.map +0 -1
- package/react/react-component-lib/utils/case.d.ts +0 -2
- package/react/react-component-lib/utils/case.js +0 -12
- package/react/react-component-lib/utils/case.js.map +0 -1
- package/react/react-component-lib/utils/dev.d.ts +0 -2
- package/react/react-component-lib/utils/dev.js +0 -18
- package/react/react-component-lib/utils/dev.js.map +0 -1
- package/react/react-component-lib/utils/index.d.ts +0 -10
- package/react/react-component-lib/utils/index.js +0 -54
- package/react/react-component-lib/utils/index.js.map +0 -1
- package/www/assets/favicon.png +0 -0
- package/www/assets/images/png/arrowDown.png +0 -0
- package/www/assets/images/png/arrowUp.png +0 -0
- package/www/assets/images/png/back-button.png +0 -0
- package/www/assets/images/png/bovolenta-logo.png +0 -0
- package/www/assets/images/png/cart-icon.png +0 -0
- package/www/assets/images/png/cea-logo.png +0 -0
- package/www/assets/images/png/clitt-logo.png +0 -0
- package/www/assets/images/png/down-arrow.png +0 -0
- package/www/assets/images/png/download.png +0 -0
- package/www/assets/images/png/facebook.png +0 -0
- package/www/assets/images/png/gruoss.png +0 -0
- package/www/assets/images/png/instagram.png +0 -0
- package/www/assets/images/png/lucisano-logo.png +0 -0
- package/www/assets/images/png/myzanichelli-logo.png +0 -0
- package/www/assets/images/png/question-mark.png +0 -0
- package/www/assets/images/png/suitcase-icon.png +0 -0
- package/www/assets/images/png/twitter.png +0 -0
- package/www/assets/images/png/up-arrow.png +0 -0
- package/www/assets/images/png/user.png +0 -0
- package/www/assets/images/png/user_transparent.png +0 -0
- package/www/assets/images/png/youtube.png +0 -0
- package/www/assets/images/png/zanichelli-add-book-gray@8x.png +0 -0
- package/www/assets/images/png/zanichelli-book-remove-gray@8x.png +0 -0
- package/www/assets/images/png/zanichelli-error-image.png +0 -0
- package/www/assets/images/png/zanichelli-external-link-2@8x.png +0 -0
- package/www/assets/images/png/zanichelli-external-link-3@8x.png +0 -0
- package/www/assets/images/png/zanichelli-external-link@8x.png +0 -0
- package/www/assets/images/png/zanichelli-logo-2.png +0 -0
- package/www/assets/images/png/zanichelli-logo-footer.png +0 -0
- package/www/assets/images/png/zanichelli-logo.png +0 -0
- package/www/build/index.esm.js +0 -1
- package/www/build/p-01e2e8d4.entry.js +0 -1
- package/www/build/p-035fbb3e.entry.js +0 -1
- package/www/build/p-03b13390.entry.js +0 -1
- package/www/build/p-04b2ab0d.entry.js +0 -1
- package/www/build/p-05ba9739.entry.js +0 -1
- package/www/build/p-06c94384.entry.js +0 -1
- package/www/build/p-100207d8.entry.js +0 -1
- package/www/build/p-1086a0fa.entry.js +0 -1
- package/www/build/p-112455b1.js +0 -1
- package/www/build/p-138bc87e.entry.js +0 -1
- package/www/build/p-13fc4378.js +0 -1
- package/www/build/p-15a606ce.entry.js +0 -1
- package/www/build/p-19876b0d.entry.js +0 -1
- package/www/build/p-1d805413.entry.js +0 -1
- package/www/build/p-29fa362c.entry.js +0 -1
- package/www/build/p-2cb45213.entry.js +0 -1
- package/www/build/p-33305cc8.entry.js +0 -1
- package/www/build/p-3636078a.entry.js +0 -1
- package/www/build/p-376f2928.entry.js +0 -1
- package/www/build/p-392899e9.entry.js +0 -1
- package/www/build/p-39a446ec.entry.js +0 -1
- package/www/build/p-39b7ad4f.entry.js +0 -1
- package/www/build/p-3bb2d909.entry.js +0 -1
- package/www/build/p-417482b0.entry.js +0 -1
- package/www/build/p-485fd3db.entry.js +0 -1
- package/www/build/p-49f4e9a0.entry.js +0 -1
- package/www/build/p-4d0d5d93.entry.js +0 -1
- package/www/build/p-50f78a81.entry.js +0 -1
- package/www/build/p-5338cc37.entry.js +0 -1
- package/www/build/p-571b55dc.js +0 -1
- package/www/build/p-57c6d414.entry.js +0 -1
- package/www/build/p-5944a8f2.entry.js +0 -1
- package/www/build/p-5c177ba5.entry.js +0 -1
- package/www/build/p-5d274fcc.entry.js +0 -1
- package/www/build/p-5f202970.entry.js +0 -1
- package/www/build/p-5fd3ed9c.entry.js +0 -1
- package/www/build/p-61c00383.entry.js +0 -1
- package/www/build/p-68410ea2.js +0 -1
- package/www/build/p-6a4403c6.entry.js +0 -1
- package/www/build/p-6ed0aaab.entry.js +0 -1
- package/www/build/p-7426f322.js +0 -1
- package/www/build/p-7588fbf0.js +0 -1
- package/www/build/p-7907bdf7.entry.js +0 -1
- package/www/build/p-7b990086.js +0 -1
- package/www/build/p-7c5ddeb0.entry.js +0 -1
- package/www/build/p-80e52459.js +0 -1
- package/www/build/p-81006561.js +0 -2
- package/www/build/p-86758f78.entry.js +0 -1
- package/www/build/p-8a45ae2a.entry.js +0 -1
- package/www/build/p-8c31e60b.entry.js +0 -1
- package/www/build/p-9021c92a.js +0 -1
- package/www/build/p-94afe4dd.entry.js +0 -1
- package/www/build/p-9508cd3e.js +0 -1
- package/www/build/p-95370f75.js +0 -1
- package/www/build/p-96fc8078.entry.js +0 -1
- package/www/build/p-98204840.entry.js +0 -1
- package/www/build/p-98badafc.js +0 -1
- package/www/build/p-9b0bcd43.entry.js +0 -1
- package/www/build/p-9c1ed1e8.entry.js +0 -1
- package/www/build/p-9ff2fc8e.entry.js +0 -1
- package/www/build/p-a01baa71.js +0 -1
- package/www/build/p-a1663ab1.entry.js +0 -1
- package/www/build/p-a3587fd6.entry.js +0 -16
- package/www/build/p-a4502b1e.entry.js +0 -1
- package/www/build/p-a48e5c46.entry.js +0 -1
- package/www/build/p-a50262e8.entry.js +0 -1
- package/www/build/p-a69eedf3.css +0 -3
- package/www/build/p-a862a070.entry.js +0 -1
- package/www/build/p-a9d2edee.entry.js +0 -1
- package/www/build/p-acb89afa.entry.js +0 -1
- package/www/build/p-b2527ca1.entry.js +0 -1
- package/www/build/p-b497e33e.js +0 -1
- package/www/build/p-b99039ed.js +0 -1
- package/www/build/p-c298cb2f.js +0 -1
- package/www/build/p-c44d87bd.entry.js +0 -1
- package/www/build/p-c6e7991f.entry.js +0 -1
- package/www/build/p-c9bc5148.js +0 -1
- package/www/build/p-ca472d1c.entry.js +0 -1
- package/www/build/p-cbb670c5.js +0 -1
- package/www/build/p-cc009af8.entry.js +0 -1
- package/www/build/p-cd561d69.js +0 -1
- package/www/build/p-d2946762.entry.js +0 -1
- package/www/build/p-d2c232e5.js +0 -1
- package/www/build/p-db0a64af.js +0 -1
- package/www/build/p-dd4fc386.entry.js +0 -1
- package/www/build/p-de5688e9.entry.js +0 -1
- package/www/build/p-decbd59d.entry.js +0 -1
- package/www/build/p-e43e61ac.js +0 -7
- package/www/build/p-e54d4ef9.entry.js +0 -1
- package/www/build/p-e7c6d651.entry.js +0 -1
- package/www/build/p-ed42ceca.entry.js +0 -1
- package/www/build/p-f058316f.entry.js +0 -1
- package/www/build/p-f14105c6.entry.js +0 -1
- package/www/build/p-f3cc3f27.entry.js +0 -1
- package/www/build/p-f46fa177.entry.js +0 -1
- package/www/build/p-f4e2e76b.entry.js +0 -1
- package/www/build/p-f5ae1514.entry.js +0 -1
- package/www/build/p-f5bc7dda.entry.js +0 -1
- package/www/build/p-f8383e14.entry.js +0 -1
- package/www/build/p-f976f29f.js +0 -1
- package/www/build/p-f9873cb9.entry.js +0 -1
- package/www/build/p-fd58b7a2.entry.js +0 -1
- package/www/build/p-fde82dc3.js +0 -1
- package/www/build/p-ff5a6e34.entry.js +0 -1
- package/www/build/p-ffde06d1.entry.js +0 -1
- package/www/build/web-components-library.css +0 -3
- package/www/build/web-components-library.esm.js +0 -1
- package/www/build/web-components-library.js +0 -33
- package/www/host.config.json +0 -15
- package/www/index.html +0 -1
- package/www/pages/book-cards.html +0 -595
- package/www/pages/file-upload.html +0 -258
- package/www/pages/notification.html +0 -299
|
@@ -1,513 +0,0 @@
|
|
|
1
|
-
import { h } from "@stencil/core";
|
|
2
|
-
import { PopoverPosition, KeyboardCode } from "../../beans";
|
|
3
|
-
const DOCUMENT_ELEMENT = document.documentElement;
|
|
4
|
-
function getParentElement(element) {
|
|
5
|
-
if (element.parentNode.host) {
|
|
6
|
-
return element.parentNode.host;
|
|
7
|
-
}
|
|
8
|
-
return element.parentNode;
|
|
9
|
-
}
|
|
10
|
-
/**
|
|
11
|
-
* Find the closest scrollable parent of a node.
|
|
12
|
-
*
|
|
13
|
-
* @param {Element} element The node
|
|
14
|
-
*/
|
|
15
|
-
function findScrollableParent(element) {
|
|
16
|
-
let parent = getParentElement(element);
|
|
17
|
-
while (parent && parent !== DOCUMENT_ELEMENT) {
|
|
18
|
-
const { overflow, overflowX, overflowY } = window.getComputedStyle(parent);
|
|
19
|
-
if (overflow === "hidden" || overflowY === "hidden" || overflowX === "hidden") {
|
|
20
|
-
return parent;
|
|
21
|
-
}
|
|
22
|
-
if ((parent.scrollHeight > parent.clientHeight && overflow !== "visible" && overflowY !== "visible") ||
|
|
23
|
-
(parent.scrollWidth > parent.clientWidth && overflow !== "visible" && overflowX !== "visible")) {
|
|
24
|
-
return parent;
|
|
25
|
-
}
|
|
26
|
-
parent = getParentElement(parent);
|
|
27
|
-
}
|
|
28
|
-
return DOCUMENT_ELEMENT;
|
|
29
|
-
}
|
|
30
|
-
/**
|
|
31
|
-
* Calculate computed offset.
|
|
32
|
-
* It includes matrix transformations.
|
|
33
|
-
* @param element The target element.
|
|
34
|
-
* @param targetParentOffset The relative offset parent.
|
|
35
|
-
* @return A client rect object.
|
|
36
|
-
*/
|
|
37
|
-
function computeOffset(element, targetParentOffset) {
|
|
38
|
-
const rect = element.getBoundingClientRect();
|
|
39
|
-
const width = rect.width;
|
|
40
|
-
const height = rect.height;
|
|
41
|
-
let top = 0;
|
|
42
|
-
let left = 0;
|
|
43
|
-
let offsetParent = element;
|
|
44
|
-
while (offsetParent && offsetParent != targetParentOffset) {
|
|
45
|
-
left += offsetParent.offsetLeft;
|
|
46
|
-
// document.body sometimes has offsetTop == 0 but still has an
|
|
47
|
-
// offset because of children margins!
|
|
48
|
-
if (offsetParent === document.body) {
|
|
49
|
-
top += offsetParent.getBoundingClientRect().top + window.scrollY;
|
|
50
|
-
}
|
|
51
|
-
else {
|
|
52
|
-
top += offsetParent.offsetTop;
|
|
53
|
-
}
|
|
54
|
-
if (window.DOMMatrix) {
|
|
55
|
-
const style = window.getComputedStyle(offsetParent);
|
|
56
|
-
const transform = style.transform || style.webkitTransform;
|
|
57
|
-
const domMatrix = new DOMMatrix(transform);
|
|
58
|
-
if (domMatrix) {
|
|
59
|
-
left += domMatrix.m41;
|
|
60
|
-
if (offsetParent !== document.body) {
|
|
61
|
-
top += domMatrix.m42;
|
|
62
|
-
}
|
|
63
|
-
}
|
|
64
|
-
}
|
|
65
|
-
if (!offsetParent.offsetParent) {
|
|
66
|
-
break;
|
|
67
|
-
}
|
|
68
|
-
offsetParent = offsetParent.offsetParent;
|
|
69
|
-
}
|
|
70
|
-
let parentWidth;
|
|
71
|
-
let parentHeight;
|
|
72
|
-
if (offsetParent === document.body) {
|
|
73
|
-
parentWidth = window.innerWidth;
|
|
74
|
-
parentHeight = window.innerHeight;
|
|
75
|
-
}
|
|
76
|
-
else {
|
|
77
|
-
parentWidth = offsetParent.offsetWidth;
|
|
78
|
-
parentHeight = offsetParent.offsetHeight;
|
|
79
|
-
}
|
|
80
|
-
const right = parentWidth - left - rect.width;
|
|
81
|
-
const bottom = parentHeight - top - rect.height;
|
|
82
|
-
return { top, right, bottom, left, width, height };
|
|
83
|
-
}
|
|
84
|
-
/**
|
|
85
|
-
* Popover component.
|
|
86
|
-
*
|
|
87
|
-
* @cssprop --z-popover-theme--surface - background color of the popover.
|
|
88
|
-
* @cssprop --z-popover-theme--text - foreground color of the popover.
|
|
89
|
-
* @cssprop --z-popover-padding - padding of the popover.
|
|
90
|
-
* @cssprop --z-popover-shadow-filter - drop-shadow filter of the popover. Defaults to `drop-shadow(0 1px 2px var(--shadow-color-base))`.
|
|
91
|
-
*/
|
|
92
|
-
export class ZPopover {
|
|
93
|
-
constructor() {
|
|
94
|
-
/** Popover position. */
|
|
95
|
-
this.position = PopoverPosition.AUTO;
|
|
96
|
-
/**
|
|
97
|
-
* The open state of the popover.
|
|
98
|
-
*/
|
|
99
|
-
this.open = false;
|
|
100
|
-
/**
|
|
101
|
-
* Whether to show popover's arrow.
|
|
102
|
-
*/
|
|
103
|
-
this.showArrow = false;
|
|
104
|
-
/**
|
|
105
|
-
* Whether to center the popup on the main side (according to "position").
|
|
106
|
-
*/
|
|
107
|
-
this.center = false;
|
|
108
|
-
/**
|
|
109
|
-
* If true, the popover can be closed by clicking outside of it or pressing the escape key.
|
|
110
|
-
* Otherwise, it will be closed only programmatically (by setting `open` to `false`).
|
|
111
|
-
*/
|
|
112
|
-
this.closable = true;
|
|
113
|
-
}
|
|
114
|
-
closePopoverWithKeyboard(e) {
|
|
115
|
-
if (this.closable && e.key === KeyboardCode.ESC) {
|
|
116
|
-
this.open = false;
|
|
117
|
-
}
|
|
118
|
-
}
|
|
119
|
-
/**
|
|
120
|
-
* Close the popover when clicking outside of its content.
|
|
121
|
-
* Stop event propagation if the click was fired by popover's trigger element,
|
|
122
|
-
* to prevent close and reopen glitches.
|
|
123
|
-
* @param {MouseEvent} e
|
|
124
|
-
*/
|
|
125
|
-
handleOutsideClick(e) {
|
|
126
|
-
if (!this.closable || !this.open) {
|
|
127
|
-
return;
|
|
128
|
-
}
|
|
129
|
-
if (!e.composedPath().includes(this.host)) {
|
|
130
|
-
const target = e.target;
|
|
131
|
-
const triggerElemClicked = this.bindTo instanceof HTMLElement ? this.bindTo.contains(target) : target.closest(CSS.escape(this.bindTo));
|
|
132
|
-
if (triggerElemClicked) {
|
|
133
|
-
e.stopPropagation();
|
|
134
|
-
}
|
|
135
|
-
this.open = false;
|
|
136
|
-
this.positionChange.emit({ position: this.currentPosition });
|
|
137
|
-
}
|
|
138
|
-
}
|
|
139
|
-
validatePosition(newValue) {
|
|
140
|
-
if (newValue && !Object.values(PopoverPosition).includes(newValue)) {
|
|
141
|
-
this.position = PopoverPosition.AUTO;
|
|
142
|
-
}
|
|
143
|
-
this.currentPosition = this.position;
|
|
144
|
-
this.positionChange.emit({ position: this.currentPosition });
|
|
145
|
-
}
|
|
146
|
-
/**
|
|
147
|
-
* Setup popover behaviors on opening.
|
|
148
|
-
*/
|
|
149
|
-
onOpen() {
|
|
150
|
-
cancelAnimationFrame(this.animationFrameRequestId);
|
|
151
|
-
if (this.open) {
|
|
152
|
-
const setPosition = () => {
|
|
153
|
-
if (this.open) {
|
|
154
|
-
this.setPosition();
|
|
155
|
-
this.animationFrameRequestId = requestAnimationFrame(setPosition);
|
|
156
|
-
}
|
|
157
|
-
};
|
|
158
|
-
setPosition();
|
|
159
|
-
}
|
|
160
|
-
else if (this.host.hasAttribute("current-position")) {
|
|
161
|
-
this.host.removeAttribute("current-position");
|
|
162
|
-
this.currentPosition = undefined;
|
|
163
|
-
}
|
|
164
|
-
this.openChange.emit({ open: this.open });
|
|
165
|
-
}
|
|
166
|
-
disconnectedCallback() {
|
|
167
|
-
cancelAnimationFrame(this.animationFrameRequestId);
|
|
168
|
-
}
|
|
169
|
-
/**
|
|
170
|
-
* Set the position of the popover.
|
|
171
|
-
*/
|
|
172
|
-
setPosition() {
|
|
173
|
-
let element;
|
|
174
|
-
if (typeof this.bindTo === "string") {
|
|
175
|
-
element = this.host.ownerDocument.querySelector(CSS.escape(this.bindTo));
|
|
176
|
-
}
|
|
177
|
-
else if (this.bindTo) {
|
|
178
|
-
element = this.bindTo;
|
|
179
|
-
}
|
|
180
|
-
else {
|
|
181
|
-
element = this.host.parentElement;
|
|
182
|
-
}
|
|
183
|
-
if (!element) {
|
|
184
|
-
return;
|
|
185
|
-
}
|
|
186
|
-
const scrollContainer = findScrollableParent(element);
|
|
187
|
-
const scrollingBoundingRect = scrollContainer.getBoundingClientRect();
|
|
188
|
-
const offsetContainer = this.host.offsetParent;
|
|
189
|
-
const relativeBoundingRect = offsetContainer
|
|
190
|
-
? computeOffset(offsetContainer, scrollContainer)
|
|
191
|
-
: { top: 0, right: 0, bottom: 0, left: 0 };
|
|
192
|
-
const boundingRect = computeOffset(element, scrollContainer);
|
|
193
|
-
const top = boundingRect.top - scrollContainer.scrollTop;
|
|
194
|
-
const bottom = scrollingBoundingRect.height - (boundingRect.top + boundingRect.height) + scrollContainer.scrollTop;
|
|
195
|
-
const left = boundingRect.left - scrollContainer.scrollLeft;
|
|
196
|
-
const right = scrollingBoundingRect.width - (boundingRect.left + boundingRect.width) + scrollContainer.scrollLeft;
|
|
197
|
-
const overflowBottom = Math.max(0, scrollingBoundingRect.top + scrollingBoundingRect.height - window.innerHeight);
|
|
198
|
-
const overflowRight = Math.max(0, scrollingBoundingRect.left + scrollingBoundingRect.width - window.innerWidth);
|
|
199
|
-
const availableTop = Math.min(top, top + scrollingBoundingRect.top);
|
|
200
|
-
const availableBottom = Math.min(bottom, bottom - overflowBottom);
|
|
201
|
-
const availableLeft = Math.min(left, left + scrollingBoundingRect.left);
|
|
202
|
-
const availableRight = Math.min(right, right - overflowRight);
|
|
203
|
-
const availableHeight = availableTop + availableBottom + boundingRect.height;
|
|
204
|
-
const availableWidth = availableLeft + availableRight + boundingRect.width;
|
|
205
|
-
let position = this.currentPosition;
|
|
206
|
-
const positions = [];
|
|
207
|
-
if (this.position === PopoverPosition.AUTO) {
|
|
208
|
-
/**
|
|
209
|
-
* The `AUTO` position tries to place the popover in the 'safest' area,
|
|
210
|
-
* where there's more space available.
|
|
211
|
-
*/
|
|
212
|
-
if (availableLeft / availableWidth > 0.6) {
|
|
213
|
-
positions.push(PopoverPosition.LEFT);
|
|
214
|
-
}
|
|
215
|
-
else if (availableLeft / availableWidth < 0.4) {
|
|
216
|
-
positions.push(PopoverPosition.RIGHT);
|
|
217
|
-
}
|
|
218
|
-
if (availableTop / availableHeight > 0.9) {
|
|
219
|
-
positions.unshift(PopoverPosition.TOP);
|
|
220
|
-
}
|
|
221
|
-
else if (availableTop / availableHeight > 0.6) {
|
|
222
|
-
positions.push(PopoverPosition.TOP);
|
|
223
|
-
}
|
|
224
|
-
else if (availableTop / availableHeight < 0.1) {
|
|
225
|
-
positions.unshift(PopoverPosition.BOTTOM);
|
|
226
|
-
}
|
|
227
|
-
else {
|
|
228
|
-
positions.push(PopoverPosition.BOTTOM);
|
|
229
|
-
}
|
|
230
|
-
position = positions.join("_");
|
|
231
|
-
}
|
|
232
|
-
const style = this.host.style;
|
|
233
|
-
style.position = "absolute";
|
|
234
|
-
const offsetTop = boundingRect.top - relativeBoundingRect.top;
|
|
235
|
-
const offsetRight = boundingRect.right - relativeBoundingRect.right;
|
|
236
|
-
const offsetBottom = boundingRect.bottom - relativeBoundingRect.bottom;
|
|
237
|
-
const offsetLeft = boundingRect.left - relativeBoundingRect.left;
|
|
238
|
-
const offsetModifier = this.center ? 0.5 : 0;
|
|
239
|
-
const sizeModifier = this.center ? 0.5 : 0;
|
|
240
|
-
if (position === PopoverPosition.TOP || position === PopoverPosition.TOP_RIGHT) {
|
|
241
|
-
style.top = "auto";
|
|
242
|
-
style.right = "auto";
|
|
243
|
-
style.bottom = `${offsetBottom + boundingRect.height}px`;
|
|
244
|
-
style.left = `${offsetLeft + boundingRect.width * offsetModifier}px`;
|
|
245
|
-
style.maxHeight = `${availableTop}px`;
|
|
246
|
-
if (position === PopoverPosition.TOP_RIGHT) {
|
|
247
|
-
style.maxWidth = `${availableRight + boundingRect.width * sizeModifier}px`;
|
|
248
|
-
}
|
|
249
|
-
}
|
|
250
|
-
else if (position === PopoverPosition.TOP_LEFT) {
|
|
251
|
-
style.top = "auto";
|
|
252
|
-
style.right = `${offsetRight + boundingRect.width * offsetModifier}px`;
|
|
253
|
-
style.bottom = `${offsetBottom + boundingRect.height}px`;
|
|
254
|
-
style.left = "auto";
|
|
255
|
-
style.maxWidth = `${availableLeft}px`;
|
|
256
|
-
style.maxHeight = `${availableTop}px`;
|
|
257
|
-
}
|
|
258
|
-
else if (position === PopoverPosition.BOTTOM || position === PopoverPosition.BOTTOM_RIGHT) {
|
|
259
|
-
style.top = `${offsetTop + boundingRect.height}px`;
|
|
260
|
-
style.right = "auto";
|
|
261
|
-
style.bottom = "auto";
|
|
262
|
-
style.left = `${offsetLeft + boundingRect.width * offsetModifier}px`;
|
|
263
|
-
style.maxHeight = `${availableBottom}px`;
|
|
264
|
-
if (position === PopoverPosition.BOTTOM_RIGHT) {
|
|
265
|
-
style.maxWidth = `${availableRight + boundingRect.width * sizeModifier}px`;
|
|
266
|
-
}
|
|
267
|
-
}
|
|
268
|
-
else if (position === PopoverPosition.BOTTOM_LEFT) {
|
|
269
|
-
style.top = `${offsetTop + boundingRect.height}px`;
|
|
270
|
-
style.right = `${offsetRight + boundingRect.width * offsetModifier}px`;
|
|
271
|
-
style.bottom = "auto";
|
|
272
|
-
style.left = "auto";
|
|
273
|
-
style.maxWidth = `${availableLeft}px`;
|
|
274
|
-
style.maxHeight = `${availableBottom}px`;
|
|
275
|
-
}
|
|
276
|
-
else if (position === PopoverPosition.RIGHT || position === PopoverPosition.RIGHT_BOTTOM) {
|
|
277
|
-
style.top = `${offsetTop + boundingRect.height * offsetModifier}px`;
|
|
278
|
-
style.right = "auto";
|
|
279
|
-
style.bottom = "auto";
|
|
280
|
-
style.left = `${offsetLeft + boundingRect.width}px`;
|
|
281
|
-
style.maxWidth = `${availableRight}px`;
|
|
282
|
-
style.maxHeight = `${availableBottom + boundingRect.height * sizeModifier}px`;
|
|
283
|
-
}
|
|
284
|
-
else if (position === PopoverPosition.RIGHT_TOP) {
|
|
285
|
-
style.top = "auto";
|
|
286
|
-
style.right = "auto";
|
|
287
|
-
style.bottom = `${offsetBottom + boundingRect.height * offsetModifier}px`;
|
|
288
|
-
style.left = `${offsetLeft + boundingRect.width}px`;
|
|
289
|
-
style.maxWidth = `${availableRight}px`;
|
|
290
|
-
style.maxHeight = `${availableTop + boundingRect.height * sizeModifier}px`;
|
|
291
|
-
}
|
|
292
|
-
else if (position === PopoverPosition.LEFT || position === PopoverPosition.LEFT_BOTTOM) {
|
|
293
|
-
style.top = `${offsetTop + boundingRect.height * offsetModifier}px`;
|
|
294
|
-
style.right = `${offsetRight + boundingRect.width}px`;
|
|
295
|
-
style.bottom = "auto";
|
|
296
|
-
style.left = "auto";
|
|
297
|
-
style.maxWidth = `${availableLeft}px`;
|
|
298
|
-
style.maxHeight = `${availableBottom + boundingRect.height * sizeModifier}px`;
|
|
299
|
-
}
|
|
300
|
-
else if (position === PopoverPosition.LEFT_TOP) {
|
|
301
|
-
style.top = "auto";
|
|
302
|
-
style.right = `${offsetRight + boundingRect.width}px`;
|
|
303
|
-
style.bottom = `${offsetBottom + boundingRect.height * offsetModifier}px`;
|
|
304
|
-
style.left = "auto";
|
|
305
|
-
style.maxWidth = `${availableLeft}px`;
|
|
306
|
-
style.maxHeight = `${availableTop + boundingRect.height * sizeModifier}px`;
|
|
307
|
-
}
|
|
308
|
-
this.currentPosition = position || this.position;
|
|
309
|
-
this.host.setAttribute("current-position", this.currentPosition);
|
|
310
|
-
}
|
|
311
|
-
componentWillLoad() {
|
|
312
|
-
this.validatePosition(this.position);
|
|
313
|
-
this.onOpen();
|
|
314
|
-
}
|
|
315
|
-
render() {
|
|
316
|
-
return h("slot", null);
|
|
317
|
-
}
|
|
318
|
-
static get is() { return "z-popover"; }
|
|
319
|
-
static get encapsulation() { return "shadow"; }
|
|
320
|
-
static get originalStyleUrls() {
|
|
321
|
-
return {
|
|
322
|
-
"$": ["styles.css"]
|
|
323
|
-
};
|
|
324
|
-
}
|
|
325
|
-
static get styleUrls() {
|
|
326
|
-
return {
|
|
327
|
-
"$": ["styles.css"]
|
|
328
|
-
};
|
|
329
|
-
}
|
|
330
|
-
static get properties() {
|
|
331
|
-
return {
|
|
332
|
-
"position": {
|
|
333
|
-
"type": "string",
|
|
334
|
-
"mutable": false,
|
|
335
|
-
"complexType": {
|
|
336
|
-
"original": "PopoverPosition",
|
|
337
|
-
"resolved": "PopoverPosition.AUTO | PopoverPosition.BOTTOM | PopoverPosition.BOTTOM_LEFT | PopoverPosition.BOTTOM_RIGHT | PopoverPosition.LEFT | PopoverPosition.LEFT_BOTTOM | PopoverPosition.LEFT_TOP | PopoverPosition.RIGHT | PopoverPosition.RIGHT_BOTTOM | PopoverPosition.RIGHT_TOP | PopoverPosition.TOP | PopoverPosition.TOP_LEFT | PopoverPosition.TOP_RIGHT",
|
|
338
|
-
"references": {
|
|
339
|
-
"PopoverPosition": {
|
|
340
|
-
"location": "import",
|
|
341
|
-
"path": "../../beans"
|
|
342
|
-
}
|
|
343
|
-
}
|
|
344
|
-
},
|
|
345
|
-
"required": false,
|
|
346
|
-
"optional": false,
|
|
347
|
-
"docs": {
|
|
348
|
-
"tags": [],
|
|
349
|
-
"text": "Popover position."
|
|
350
|
-
},
|
|
351
|
-
"attribute": "position",
|
|
352
|
-
"reflect": true,
|
|
353
|
-
"defaultValue": "PopoverPosition.AUTO"
|
|
354
|
-
},
|
|
355
|
-
"open": {
|
|
356
|
-
"type": "boolean",
|
|
357
|
-
"mutable": true,
|
|
358
|
-
"complexType": {
|
|
359
|
-
"original": "boolean",
|
|
360
|
-
"resolved": "boolean",
|
|
361
|
-
"references": {}
|
|
362
|
-
},
|
|
363
|
-
"required": false,
|
|
364
|
-
"optional": false,
|
|
365
|
-
"docs": {
|
|
366
|
-
"tags": [],
|
|
367
|
-
"text": "The open state of the popover."
|
|
368
|
-
},
|
|
369
|
-
"attribute": "open",
|
|
370
|
-
"reflect": true,
|
|
371
|
-
"defaultValue": "false"
|
|
372
|
-
},
|
|
373
|
-
"bindTo": {
|
|
374
|
-
"type": "string",
|
|
375
|
-
"mutable": false,
|
|
376
|
-
"complexType": {
|
|
377
|
-
"original": "string | HTMLElement",
|
|
378
|
-
"resolved": "HTMLElement | string",
|
|
379
|
-
"references": {
|
|
380
|
-
"HTMLElement": {
|
|
381
|
-
"location": "global"
|
|
382
|
-
}
|
|
383
|
-
}
|
|
384
|
-
},
|
|
385
|
-
"required": false,
|
|
386
|
-
"optional": true,
|
|
387
|
-
"docs": {
|
|
388
|
-
"tags": [],
|
|
389
|
-
"text": "The selector or the element bound with the popover."
|
|
390
|
-
},
|
|
391
|
-
"attribute": "bind-to",
|
|
392
|
-
"reflect": false
|
|
393
|
-
},
|
|
394
|
-
"showArrow": {
|
|
395
|
-
"type": "boolean",
|
|
396
|
-
"mutable": false,
|
|
397
|
-
"complexType": {
|
|
398
|
-
"original": "boolean",
|
|
399
|
-
"resolved": "boolean",
|
|
400
|
-
"references": {}
|
|
401
|
-
},
|
|
402
|
-
"required": false,
|
|
403
|
-
"optional": false,
|
|
404
|
-
"docs": {
|
|
405
|
-
"tags": [],
|
|
406
|
-
"text": "Whether to show popover's arrow."
|
|
407
|
-
},
|
|
408
|
-
"attribute": "show-arrow",
|
|
409
|
-
"reflect": true,
|
|
410
|
-
"defaultValue": "false"
|
|
411
|
-
},
|
|
412
|
-
"center": {
|
|
413
|
-
"type": "boolean",
|
|
414
|
-
"mutable": false,
|
|
415
|
-
"complexType": {
|
|
416
|
-
"original": "boolean",
|
|
417
|
-
"resolved": "boolean",
|
|
418
|
-
"references": {}
|
|
419
|
-
},
|
|
420
|
-
"required": false,
|
|
421
|
-
"optional": false,
|
|
422
|
-
"docs": {
|
|
423
|
-
"tags": [],
|
|
424
|
-
"text": "Whether to center the popup on the main side (according to \"position\")."
|
|
425
|
-
},
|
|
426
|
-
"attribute": "center",
|
|
427
|
-
"reflect": true,
|
|
428
|
-
"defaultValue": "false"
|
|
429
|
-
},
|
|
430
|
-
"closable": {
|
|
431
|
-
"type": "boolean",
|
|
432
|
-
"mutable": false,
|
|
433
|
-
"complexType": {
|
|
434
|
-
"original": "boolean",
|
|
435
|
-
"resolved": "boolean",
|
|
436
|
-
"references": {}
|
|
437
|
-
},
|
|
438
|
-
"required": false,
|
|
439
|
-
"optional": false,
|
|
440
|
-
"docs": {
|
|
441
|
-
"tags": [],
|
|
442
|
-
"text": "If true, the popover can be closed by clicking outside of it or pressing the escape key.\nOtherwise, it will be closed only programmatically (by setting `open` to `false`)."
|
|
443
|
-
},
|
|
444
|
-
"attribute": "closable",
|
|
445
|
-
"reflect": false,
|
|
446
|
-
"defaultValue": "true"
|
|
447
|
-
}
|
|
448
|
-
};
|
|
449
|
-
}
|
|
450
|
-
static get states() {
|
|
451
|
-
return {
|
|
452
|
-
"currentPosition": {}
|
|
453
|
-
};
|
|
454
|
-
}
|
|
455
|
-
static get events() {
|
|
456
|
-
return [{
|
|
457
|
-
"method": "positionChange",
|
|
458
|
-
"name": "positionChange",
|
|
459
|
-
"bubbles": true,
|
|
460
|
-
"cancelable": true,
|
|
461
|
-
"composed": true,
|
|
462
|
-
"docs": {
|
|
463
|
-
"tags": [],
|
|
464
|
-
"text": "Position change event."
|
|
465
|
-
},
|
|
466
|
-
"complexType": {
|
|
467
|
-
"original": "any",
|
|
468
|
-
"resolved": "any",
|
|
469
|
-
"references": {}
|
|
470
|
-
}
|
|
471
|
-
}, {
|
|
472
|
-
"method": "openChange",
|
|
473
|
-
"name": "openChange",
|
|
474
|
-
"bubbles": true,
|
|
475
|
-
"cancelable": true,
|
|
476
|
-
"composed": true,
|
|
477
|
-
"docs": {
|
|
478
|
-
"tags": [],
|
|
479
|
-
"text": "Open change event."
|
|
480
|
-
},
|
|
481
|
-
"complexType": {
|
|
482
|
-
"original": "any",
|
|
483
|
-
"resolved": "any",
|
|
484
|
-
"references": {}
|
|
485
|
-
}
|
|
486
|
-
}];
|
|
487
|
-
}
|
|
488
|
-
static get elementRef() { return "host"; }
|
|
489
|
-
static get watchers() {
|
|
490
|
-
return [{
|
|
491
|
-
"propName": "position",
|
|
492
|
-
"methodName": "validatePosition"
|
|
493
|
-
}, {
|
|
494
|
-
"propName": "open",
|
|
495
|
-
"methodName": "onOpen"
|
|
496
|
-
}];
|
|
497
|
-
}
|
|
498
|
-
static get listeners() {
|
|
499
|
-
return [{
|
|
500
|
-
"name": "keyup",
|
|
501
|
-
"method": "closePopoverWithKeyboard",
|
|
502
|
-
"target": "window",
|
|
503
|
-
"capture": false,
|
|
504
|
-
"passive": false
|
|
505
|
-
}, {
|
|
506
|
-
"name": "click",
|
|
507
|
-
"method": "handleOutsideClick",
|
|
508
|
-
"target": "body",
|
|
509
|
-
"capture": true,
|
|
510
|
-
"passive": false
|
|
511
|
-
}];
|
|
512
|
-
}
|
|
513
|
-
}
|
|
@@ -1,147 +0,0 @@
|
|
|
1
|
-
:host {
|
|
2
|
-
--z-popover-theme--surface: var(--color-surface01);
|
|
3
|
-
--z-popover-theme--text: var(--color-text01);
|
|
4
|
-
--z-popover-padding: 0;
|
|
5
|
-
--z-popover-shadow-filter: drop-shadow(0 1px 2px var(--shadow-color-base));
|
|
6
|
-
|
|
7
|
-
position: relative;
|
|
8
|
-
display: none;
|
|
9
|
-
min-width: calc(var(--space-unit) * 8);
|
|
10
|
-
min-height: calc(var(--space-unit) * 4);
|
|
11
|
-
align-items: center;
|
|
12
|
-
justify-content: center;
|
|
13
|
-
padding: var(--z-popover-padding);
|
|
14
|
-
background: var(--z-popover-theme--surface);
|
|
15
|
-
border-radius: var(--border-radius-small);
|
|
16
|
-
color: var(--z-popover-theme--text);
|
|
17
|
-
fill: currentcolor;
|
|
18
|
-
filter: var(--z-popover-shadow-filter);
|
|
19
|
-
font-family: var(--font-family-sans);
|
|
20
|
-
text-align: center;
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
:host([open][current-position]),
|
|
24
|
-
:host([open="true"][current-position]) {
|
|
25
|
-
display: flex;
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
:host([center][current-position="top"]),
|
|
29
|
-
:host([center][current-position="bottom"]) {
|
|
30
|
-
transform: translateX(-50%);
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
:host([center][current-position="right"]),
|
|
34
|
-
:host([center][current-position="left"]) {
|
|
35
|
-
transform: translateY(-50%);
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
:host([current-position^="top"]) {
|
|
39
|
-
margin: 0 0 var(--space-unit);
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
:host([current-position^="bottom"]) {
|
|
43
|
-
margin: var(--space-unit) 0 0;
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
:host([current-position^="left"]) {
|
|
47
|
-
margin: 0 var(--space-unit) 0 0;
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
:host([current-position^="right"]) {
|
|
51
|
-
margin: 0 0 0 var(--space-unit);
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
/* Arrow style */
|
|
55
|
-
|
|
56
|
-
:host([current-position])::before {
|
|
57
|
-
--arrow-size: 6px;
|
|
58
|
-
--arrow-edge-offset: calc(100% - var(--space-unit) - (var(--arrow-size) / 2));
|
|
59
|
-
--arrow-center-x-offset: calc(50% - (var(--arrow-size) / 2));
|
|
60
|
-
--arrow-center-y-offset: calc(100% - (var(--arrow-size) / 2));
|
|
61
|
-
|
|
62
|
-
position: absolute;
|
|
63
|
-
display: block;
|
|
64
|
-
width: var(--arrow-size);
|
|
65
|
-
height: var(--arrow-size);
|
|
66
|
-
background: var(--z-popover-theme--surface);
|
|
67
|
-
content: "";
|
|
68
|
-
transform: rotate(45deg);
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
:host([show-arrow="false"])::before,
|
|
72
|
-
:host(:not([show-arrow]))::before {
|
|
73
|
-
display: none;
|
|
74
|
-
}
|
|
75
|
-
|
|
76
|
-
:host([current-position^="top"])::before {
|
|
77
|
-
top: var(--arrow-center-y-offset);
|
|
78
|
-
}
|
|
79
|
-
|
|
80
|
-
:host([current-position^="bottom"])::before {
|
|
81
|
-
bottom: var(--arrow-center-y-offset);
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
:host([current-position="top"])::before,
|
|
85
|
-
:host([current-position="bottom"])::before {
|
|
86
|
-
right: var(--arrow-edge-offset);
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
:host([current-position="right"])::before,
|
|
90
|
-
:host([current-position="left"])::before {
|
|
91
|
-
bottom: var(--arrow-edge-offset);
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
:host([current-position="right"])::before {
|
|
95
|
-
right: var(--arrow-center-y-offset);
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
:host([current-position="left"])::before {
|
|
99
|
-
left: var(--arrow-center-y-offset);
|
|
100
|
-
}
|
|
101
|
-
|
|
102
|
-
:host([current-position="top_right"])::before,
|
|
103
|
-
:host([current-position="bottom_right"])::before {
|
|
104
|
-
right: var(--arrow-edge-offset);
|
|
105
|
-
}
|
|
106
|
-
|
|
107
|
-
:host([current-position="top_left"])::before,
|
|
108
|
-
:host([current-position="bottom_left"])::before {
|
|
109
|
-
left: var(--arrow-edge-offset);
|
|
110
|
-
}
|
|
111
|
-
|
|
112
|
-
:host([current-position="right_top"])::before,
|
|
113
|
-
:host([current-position="left_top"])::before {
|
|
114
|
-
top: var(--arrow-edge-offset);
|
|
115
|
-
}
|
|
116
|
-
|
|
117
|
-
:host([current-position="right_top"])::before,
|
|
118
|
-
:host([current-position="right_bottom"])::before {
|
|
119
|
-
right: var(--arrow-center-y-offset);
|
|
120
|
-
}
|
|
121
|
-
|
|
122
|
-
:host([current-position="left_top"])::before,
|
|
123
|
-
:host([current-position="left_bottom"])::before {
|
|
124
|
-
left: var(--arrow-center-y-offset);
|
|
125
|
-
}
|
|
126
|
-
|
|
127
|
-
:host([current-position="right_bottom"])::before,
|
|
128
|
-
:host([current-position="left_bottom"])::before {
|
|
129
|
-
bottom: var(--arrow-edge-offset);
|
|
130
|
-
}
|
|
131
|
-
|
|
132
|
-
:host([center][current-position="top"])::before,
|
|
133
|
-
:host([center][current-position="bottom"])::before {
|
|
134
|
-
right: auto;
|
|
135
|
-
left: var(--arrow-center-x-offset);
|
|
136
|
-
}
|
|
137
|
-
|
|
138
|
-
:host([center][current-position="right"])::before,
|
|
139
|
-
:host([center][current-position="left"])::before {
|
|
140
|
-
top: var(--arrow-center-x-offset);
|
|
141
|
-
bottom: auto;
|
|
142
|
-
}
|
|
143
|
-
|
|
144
|
-
::slotted(*) {
|
|
145
|
-
overflow: auto;
|
|
146
|
-
flex: 1 auto;
|
|
147
|
-
}
|