@zanichelli/albe-web-components 2.24.10 → 2.26.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +1048 -0
- package/LICENSE +21 -21
- package/dist/cjs/{breakpoints-88c4fd6c.js → breakpoints-776c8868.js} +1 -1
- package/dist/cjs/{index-8f4b351d.js → index-8f7af00e.js} +248 -248
- package/dist/cjs/index.cjs.js +5 -5
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{utils-6d6841cc.js → utils-98538463.js} +63 -63
- package/dist/cjs/web-components-library.cjs.js +1 -1
- package/dist/cjs/{z-alert_65.cjs.entry.js → z-alert_66.cjs.entry.js} +3419 -3388
- package/dist/cjs/z-app-header.cjs.entry.js +133 -133
- package/dist/cjs/z-candybar.cjs.entry.js +8 -8
- package/dist/cjs/z-cookiebar.cjs.entry.js +31 -31
- package/dist/cjs/z-heading.cjs.entry.js +8 -8
- package/dist/cjs/z-messages-pocket.cjs.entry.js +36 -36
- package/dist/cjs/z-modal-login.cjs.entry.js +71 -71
- package/dist/cjs/z-myz-card-dictionary.cjs.entry.js +25 -25
- package/dist/cjs/z-myz-card-footer-sections.cjs.entry.js +8 -8
- package/dist/cjs/z-myz-card-info.cjs.entry.js +109 -109
- package/dist/cjs/z-myz-topbar.cjs.entry.js +183 -183
- package/dist/cjs/z-navigation-tab.cjs.entry.js +34 -34
- package/dist/cjs/z-navigation-tabs.cjs.entry.js +90 -90
- package/dist/cjs/z-otp.cjs.entry.js +30 -30
- package/dist/cjs/z-pocket-message.cjs.entry.js +8 -8
- package/dist/cjs/z-pocket_3.cjs.entry.js +102 -102
- package/dist/cjs/z-registro-table-footer.cjs.entry.js +12 -12
- package/dist/cjs/z-slideshow.cjs.entry.js +101 -101
- package/dist/cjs/z-toast-notification-list.cjs.entry.js +45 -45
- package/dist/cjs/z-toast-notification.cjs.entry.js +190 -190
- package/dist/collection/beans/index.js +249 -249
- package/dist/collection/components/buttons/z-button/index.js +219 -219
- package/dist/collection/components/buttons/z-button/styles.css +231 -231
- package/dist/collection/components/buttons/z-button-filter/index.js +155 -155
- package/dist/collection/components/buttons/z-button-filter/styles.css +74 -74
- package/dist/collection/components/buttons/z-button-sort/index.js +216 -216
- package/dist/collection/components/buttons/z-button-sort/styles.css +101 -101
- package/dist/collection/components/buttons/z-chip/index.js +59 -59
- package/dist/collection/components/buttons/z-chip/styles.css +17 -17
- package/dist/collection/components/buttons/z-toggle-button/index.js +122 -122
- package/dist/collection/components/buttons/z-toggle-button/styles.css +62 -62
- package/dist/collection/components/footer/z-footer/index.js +144 -144
- package/dist/collection/components/footer/z-footer/styles.css +180 -180
- package/dist/collection/components/footer/z-footer-link/index.js +37 -37
- package/dist/collection/components/footer/z-footer-link/styles.css +33 -33
- package/dist/collection/components/footer/z-footer-section/index.js +51 -51
- package/dist/collection/components/footer/z-footer-section/styles.css +164 -164
- package/dist/collection/components/footer/z-footer-social/index.js +68 -68
- package/dist/collection/components/footer/z-footer-social/styles.css +23 -23
- package/dist/collection/components/icons/icons.js +435 -435
- package/dist/collection/components/icons/z-icon/index.js +110 -110
- package/dist/collection/components/icons/z-icon/styles.css +14 -14
- package/dist/collection/components/icons/z-icon-package/index.js +20 -20
- package/dist/collection/components/icons/z-icon-package/styles.css +16 -16
- package/dist/collection/components/indicators/z-stepper/index.js +17 -17
- package/dist/collection/components/indicators/z-stepper/styles.css +19 -19
- package/dist/collection/components/indicators/z-stepper-item/index.js +93 -93
- package/dist/collection/components/indicators/z-stepper-item/styles.css +115 -115
- package/dist/collection/components/inputs/z-combobox/index.js +480 -480
- package/dist/collection/components/inputs/z-combobox/styles.css +148 -148
- package/dist/collection/components/inputs/z-input/index.js +804 -804
- package/dist/collection/components/inputs/z-input/styles.css +304 -304
- package/dist/collection/components/inputs/z-input-label/index.js +72 -55
- package/dist/collection/components/inputs/z-input-label/styles.css +16 -16
- package/dist/collection/components/inputs/z-input-message/index.js +64 -64
- package/dist/collection/components/inputs/z-input-message/styles.css +33 -33
- package/dist/collection/components/inputs/z-select/index.js +628 -628
- package/dist/collection/components/inputs/z-select/styles.css +131 -131
- package/dist/collection/components/list/z-list/index.js +57 -57
- package/dist/collection/components/list/z-list/styles.css +7 -7
- package/dist/collection/components/list/z-list-element/index.js +439 -439
- package/dist/collection/components/list/z-list-element/styles.css +133 -133
- package/dist/collection/components/list/z-list-group/index.js +144 -144
- package/dist/collection/components/list/z-list-group/styles.css +22 -22
- package/dist/collection/components/list/z-toast-notification-list/index.js +97 -97
- package/dist/collection/components/list/z-toast-notification-list/styles.css +107 -107
- package/dist/collection/components/logo/z-logo/index.js +124 -124
- package/dist/collection/components/logo/z-logo/styles.css +18 -18
- package/dist/collection/components/modal/z-modal/index.js +160 -160
- package/dist/collection/components/modal/z-modal/styles.css +185 -185
- package/dist/collection/components/modal/z-modal-login/index.js +272 -272
- package/dist/collection/components/modal/z-modal-login/styles.css +159 -159
- package/dist/collection/components/navigation/z-app-header/index.js +267 -267
- package/dist/collection/components/navigation/z-app-header/styles.css +422 -422
- package/dist/collection/components/navigation/z-app-switcher/index.js +70 -70
- package/dist/collection/components/navigation/z-app-switcher/styles.css +35 -35
- package/dist/collection/components/navigation/z-app-topbar/index.js +134 -134
- package/dist/collection/components/navigation/z-app-topbar/styles.css +92 -96
- package/dist/collection/components/navigation/z-link/index.js +309 -309
- package/dist/collection/components/navigation/z-link/styles.css +160 -160
- package/dist/collection/components/navigation/z-menu/index.js +223 -223
- package/dist/collection/components/navigation/z-menu/styles.css +145 -145
- package/dist/collection/components/navigation/z-menu-dropdown/index.js +125 -125
- package/dist/collection/components/navigation/z-menu-dropdown/styles.css +146 -146
- package/dist/collection/components/navigation/z-menu-section/index.js +109 -109
- package/dist/collection/components/navigation/z-menu-section/styles.css +85 -85
- package/dist/collection/components/navigation/z-navigation-tab/index.js +151 -151
- package/dist/collection/components/navigation/z-navigation-tab/styles.css +113 -113
- package/dist/collection/components/navigation/z-navigation-tabs/index.js +179 -179
- package/dist/collection/components/navigation/z-navigation-tabs/styles.css +117 -117
- package/dist/collection/components/navigation/z-user-dropdown/index.js +236 -236
- package/dist/collection/components/navigation/z-user-dropdown/styles.css +182 -183
- package/dist/collection/components/notification/z-candybar/index.js +18 -18
- package/dist/collection/components/notification/z-candybar/styles.css +61 -61
- package/dist/collection/components/notification/z-cookiebar/index.js +111 -111
- package/dist/collection/components/notification/z-cookiebar/styles.css +109 -109
- package/dist/collection/components/notification/z-info-box/index.js +79 -79
- package/dist/collection/components/notification/z-info-box/styles.css +23 -23
- package/dist/collection/components/notification/z-notification/index.js +171 -171
- package/dist/collection/components/notification/z-notification/styles.css +93 -93
- package/dist/collection/components/notification/z-toast-notification/index.js +402 -402
- package/dist/collection/components/notification/z-toast-notification/styles.css +247 -247
- package/dist/collection/components/notification/z-tooltip/index.js +379 -379
- package/dist/collection/components/notification/z-tooltip/styles.css +128 -128
- package/dist/collection/components/pagination/z-pagination-bar/index.js +278 -278
- package/dist/collection/components/pagination/z-pagination-bar/styles.css +23 -23
- package/dist/collection/components/pagination/z-pagination-page/index.js +129 -129
- package/dist/collection/components/pagination/z-pagination-page/styles.css +57 -57
- package/dist/collection/components/panel/z-panel-elem/index.js +193 -193
- package/dist/collection/components/panel/z-panel-elem/styles.css +39 -39
- package/dist/collection/components/typography/z-body/index.js +66 -66
- package/dist/collection/components/typography/z-heading/index.js +66 -66
- package/dist/collection/components/typography/z-typography/index.js +84 -84
- package/dist/collection/components/typography/z-typography/styles.css +61 -61
- package/dist/collection/components/z-avatar/index.js +137 -137
- package/dist/collection/components/z-avatar/styles.css +35 -35
- package/dist/collection/components/z-card/index.js +153 -153
- package/dist/collection/components/z-card/styles.css +188 -188
- package/dist/collection/components/z-contextual-menu/index.js +122 -122
- package/dist/collection/components/z-contextual-menu/styles.css +45 -45
- package/dist/collection/components/z-divider/index.js +89 -89
- package/dist/collection/components/z-divider/styles.css +37 -37
- package/dist/collection/components/z-ghost-loading/index.js +14 -14
- package/dist/collection/components/z-ghost-loading/styles.css +34 -34
- package/dist/collection/components/z-popover/index.js +274 -274
- package/dist/collection/components/z-popover/styles.css +236 -236
- package/dist/collection/components/z-status-tag/index.js +125 -125
- package/dist/collection/components/z-status-tag/styles.css +133 -133
- package/dist/collection/constants/breakpoints.js +3 -3
- package/dist/collection/constants/icons.js +6 -6
- package/dist/collection/index.js +5 -5
- package/dist/collection/snowflakes/myz/card/z-myz-card/index.js +119 -119
- package/dist/collection/snowflakes/myz/card/z-myz-card/styles.css +38 -38
- package/dist/collection/snowflakes/myz/card/z-myz-card-alert/index.js +148 -148
- package/dist/collection/snowflakes/myz/card/z-myz-card-alert/styles.css +62 -62
- package/dist/collection/snowflakes/myz/card/z-myz-card-body/index.js +20 -20
- package/dist/collection/snowflakes/myz/card/z-myz-card-body/styles.css +13 -13
- package/dist/collection/snowflakes/myz/card/z-myz-card-cover/index.js +87 -87
- package/dist/collection/snowflakes/myz/card/z-myz-card-cover/styles.css +11 -11
- package/dist/collection/snowflakes/myz/card/z-myz-card-dictionary/index.js +177 -177
- package/dist/collection/snowflakes/myz/card/z-myz-card-dictionary/styles.css +85 -85
- package/dist/collection/snowflakes/myz/card/z-myz-card-footer/index.js +190 -190
- package/dist/collection/snowflakes/myz/card/z-myz-card-footer/styles.css +137 -137
- package/dist/collection/snowflakes/myz/card/z-myz-card-footer-sections/index.js +23 -23
- package/dist/collection/snowflakes/myz/card/z-myz-card-footer-sections/styles.css +32 -32
- package/dist/collection/snowflakes/myz/card/z-myz-card-header/index.js +101 -101
- package/dist/collection/snowflakes/myz/card/z-myz-card-header/styles.css +46 -46
- package/dist/collection/snowflakes/myz/card/z-myz-card-icon/index.js +57 -57
- package/dist/collection/snowflakes/myz/card/z-myz-card-icon/styles.css +70 -70
- package/dist/collection/snowflakes/myz/card/z-myz-card-info/index.js +213 -213
- package/dist/collection/snowflakes/myz/card/z-myz-card-info/styles.css +124 -124
- package/dist/collection/snowflakes/myz/card/z-myz-card-list/index.js +53 -53
- package/dist/collection/snowflakes/myz/card/z-myz-card-list/styles.css +41 -41
- package/dist/collection/snowflakes/myz/list/z-myz-list/index.js +70 -70
- package/dist/collection/snowflakes/myz/list/z-myz-list/styles.css +4 -4
- package/dist/collection/snowflakes/myz/list/z-myz-list-item/index.js +188 -188
- package/dist/collection/snowflakes/myz/list/z-myz-list-item/styles.css +48 -48
- package/dist/collection/snowflakes/myz/pocket/z-messages-pocket/index.js +121 -121
- package/dist/collection/snowflakes/myz/pocket/z-messages-pocket/styles.css +106 -106
- package/dist/collection/snowflakes/myz/pocket/z-pocket/index.js +181 -181
- package/dist/collection/snowflakes/myz/pocket/z-pocket/styles.css +56 -56
- package/dist/collection/snowflakes/myz/pocket/z-pocket-body/index.js +77 -77
- package/dist/collection/snowflakes/myz/pocket/z-pocket-body/styles.css +49 -49
- package/dist/collection/snowflakes/myz/pocket/z-pocket-header/index.js +86 -86
- package/dist/collection/snowflakes/myz/pocket/z-pocket-header/styles.css +40 -40
- package/dist/collection/snowflakes/myz/pocket/z-pocket-message/index.js +23 -23
- package/dist/collection/snowflakes/myz/pocket/z-pocket-message/styles.css +53 -53
- package/dist/collection/snowflakes/myz/topbar/index.js +428 -428
- package/dist/collection/snowflakes/myz/topbar/styles.css +594 -594
- package/dist/collection/snowflakes/myz/z-alert/index.js +42 -42
- package/dist/collection/snowflakes/myz/z-alert/styles.css +28 -28
- package/dist/collection/snowflakes/myz/z-otp/index.js +114 -114
- package/dist/collection/snowflakes/myz/z-otp/styles.css +47 -47
- package/dist/collection/snowflakes/myz/z-slideshow/index.js +165 -165
- package/dist/collection/snowflakes/myz/z-slideshow/styles.css +128 -128
- package/dist/collection/snowflakes/registro-table/z-registro-table/index.js +360 -360
- package/dist/collection/snowflakes/registro-table/z-registro-table/styles.css +163 -163
- package/dist/collection/snowflakes/registro-table/z-registro-table-body/index.js +19 -19
- package/dist/collection/snowflakes/registro-table/z-registro-table-body/styles.css +9 -9
- package/dist/collection/snowflakes/registro-table/z-registro-table-cell/index.js +58 -58
- package/dist/collection/snowflakes/registro-table/z-registro-table-cell/styles.css +39 -39
- package/dist/collection/snowflakes/registro-table/z-registro-table-empty-box/index.js +64 -64
- package/dist/collection/snowflakes/registro-table/z-registro-table-empty-box/styles.css +24 -24
- package/dist/collection/snowflakes/registro-table/z-registro-table-expanded-row/index.js +36 -36
- package/dist/collection/snowflakes/registro-table/z-registro-table-expanded-row/styles.css +14 -14
- package/dist/collection/snowflakes/registro-table/z-registro-table-footer/index.js +18 -18
- package/dist/collection/snowflakes/registro-table/z-registro-table-footer/styles.css +5 -5
- package/dist/collection/snowflakes/registro-table/z-registro-table-head/index.js +18 -18
- package/dist/collection/snowflakes/registro-table/z-registro-table-head/styles.css +5 -5
- package/dist/collection/snowflakes/registro-table/z-registro-table-header/index.js +214 -213
- package/dist/collection/snowflakes/registro-table/z-registro-table-header/styles.css +67 -67
- package/dist/collection/snowflakes/registro-table/z-registro-table-header-row/index.js +37 -37
- package/dist/collection/snowflakes/registro-table/z-registro-table-header-row/styles.css +13 -13
- package/dist/collection/snowflakes/registro-table/z-registro-table-row/index.js +83 -83
- package/dist/collection/snowflakes/registro-table/z-registro-table-row/styles.css +54 -54
- package/dist/collection/snowflakes/registro-table/z-registro-table-sticky-footer/index.js +17 -17
- package/dist/collection/snowflakes/registro-table/z-registro-table-sticky-footer/styles.css +10 -10
- package/dist/collection/themes/index.story.js +18 -18
- package/dist/collection/utils/utils.js +82 -82
- package/dist/esm/{breakpoints-c386984e.js → breakpoints-14432d05.js} +1 -1
- package/dist/esm/{index-ac6e10aa.js → index-aab05c5f.js} +248 -248
- package/dist/esm/index.js +5 -5
- package/dist/esm/loader.js +1 -1
- package/dist/esm/polyfills/core-js.js +0 -0
- package/dist/esm/polyfills/dom.js +0 -0
- package/dist/esm/polyfills/es5-html-element.js +0 -0
- package/dist/esm/polyfills/index.js +0 -0
- package/dist/esm/polyfills/system.js +0 -0
- package/dist/esm/{utils-4da869b8.js → utils-26d012eb.js} +63 -63
- package/dist/esm/web-components-library.js +1 -1
- package/dist/esm/{z-alert_65.entry.js → z-alert_66.entry.js} +3419 -3389
- package/dist/esm/z-app-header.entry.js +133 -133
- package/dist/esm/z-candybar.entry.js +8 -8
- package/dist/esm/z-cookiebar.entry.js +31 -31
- package/dist/esm/z-heading.entry.js +8 -8
- package/dist/esm/z-messages-pocket.entry.js +36 -36
- package/dist/esm/z-modal-login.entry.js +71 -71
- package/dist/esm/z-myz-card-dictionary.entry.js +25 -25
- package/dist/esm/z-myz-card-footer-sections.entry.js +8 -8
- package/dist/esm/z-myz-card-info.entry.js +109 -109
- package/dist/esm/z-myz-topbar.entry.js +183 -183
- package/dist/esm/z-navigation-tab.entry.js +34 -34
- package/dist/esm/z-navigation-tabs.entry.js +90 -90
- package/dist/esm/z-otp.entry.js +30 -30
- package/dist/esm/z-pocket-message.entry.js +8 -8
- package/dist/esm/z-pocket_3.entry.js +102 -102
- package/dist/esm/z-registro-table-footer.entry.js +12 -12
- package/dist/esm/z-slideshow.entry.js +101 -101
- package/dist/esm/z-toast-notification-list.entry.js +45 -45
- package/dist/esm/z-toast-notification.entry.js +190 -190
- package/dist/types/beans/index.d.ts +334 -334
- package/dist/types/components/buttons/z-button/index.d.ts +29 -29
- package/dist/types/components/buttons/z-button-filter/index.d.ts +22 -22
- package/dist/types/components/buttons/z-button-sort/index.d.ts +28 -28
- package/dist/types/components/buttons/z-chip/index.d.ts +6 -6
- package/dist/types/components/buttons/z-toggle-button/index.d.ts +16 -16
- package/dist/types/components/footer/z-footer/index.d.ts +25 -25
- package/dist/types/components/footer/z-footer-link/index.d.ts +8 -8
- package/dist/types/components/footer/z-footer-section/index.d.ts +10 -10
- package/dist/types/components/footer/z-footer-social/index.d.ts +9 -9
- package/dist/types/components/icons/icons.d.ts +405 -405
- package/dist/types/components/icons/z-icon/index.d.ts +14 -14
- package/dist/types/components/icons/z-icon-package/index.d.ts +3 -3
- package/dist/types/components/indicators/z-stepper/index.d.ts +6 -6
- package/dist/types/components/indicators/z-stepper-item/index.d.ts +19 -19
- package/dist/types/components/inputs/z-combobox/index.d.ts +62 -62
- package/dist/types/components/inputs/z-input/index.d.ts +100 -100
- package/dist/types/components/inputs/z-input-label/index.d.ts +9 -7
- package/dist/types/components/inputs/z-input-message/index.d.ts +9 -9
- package/dist/types/components/inputs/z-select/index.d.ts +71 -71
- package/dist/types/components/list/z-list/index.d.ts +11 -11
- package/dist/types/components/list/z-list-element/index.d.ts +79 -79
- package/dist/types/components/list/z-list-group/index.d.ts +24 -24
- package/dist/types/components/list/z-toast-notification-list/index.d.ts +14 -14
- package/dist/types/components/logo/z-logo/index.d.ts +14 -14
- package/dist/types/components/modal/z-modal/index.d.ts +25 -25
- package/dist/types/components/modal/z-modal-login/index.d.ts +42 -42
- package/dist/types/components/navigation/z-app-header/index.d.ts +67 -67
- package/dist/types/components/navigation/z-app-switcher/index.d.ts +12 -12
- package/dist/types/components/navigation/z-app-topbar/index.d.ts +18 -18
- package/dist/types/components/navigation/z-link/index.d.ts +41 -41
- package/dist/types/components/navigation/z-menu/index.d.ts +52 -52
- package/dist/types/components/navigation/z-menu-dropdown/index.d.ts +19 -19
- package/dist/types/components/navigation/z-menu-section/index.d.ts +24 -24
- package/dist/types/components/navigation/z-navigation-tab/index.d.ts +16 -16
- package/dist/types/components/navigation/z-navigation-tabs/index.d.ts +32 -32
- package/dist/types/components/navigation/z-user-dropdown/index.d.ts +40 -40
- package/dist/types/components/notification/z-candybar/index.d.ts +6 -6
- package/dist/types/components/notification/z-cookiebar/index.d.ts +16 -16
- package/dist/types/components/notification/z-info-box/index.d.ts +14 -14
- package/dist/types/components/notification/z-notification/index.d.ts +24 -24
- package/dist/types/components/notification/z-toast-notification/index.d.ts +56 -56
- package/dist/types/components/notification/z-tooltip/index.d.ts +41 -41
- package/dist/types/components/pagination/z-pagination-bar/index.d.ts +42 -42
- package/dist/types/components/pagination/z-pagination-page/index.d.ts +15 -15
- package/dist/types/components/panel/z-panel-elem/index.d.ts +25 -25
- package/dist/types/components/typography/z-body/index.d.ts +6 -6
- package/dist/types/components/typography/z-heading/index.d.ts +6 -6
- package/dist/types/components/typography/z-typography/index.d.ts +8 -8
- package/dist/types/components/z-avatar/index.d.ts +16 -16
- package/dist/types/components/z-card/index.d.ts +29 -29
- package/dist/types/components/z-contextual-menu/index.d.ts +22 -22
- package/dist/types/components/z-divider/index.d.ts +10 -10
- package/dist/types/components/z-ghost-loading/index.d.ts +3 -3
- package/dist/types/components/z-popover/index.d.ts +29 -29
- package/dist/types/components/z-status-tag/index.d.ts +15 -15
- package/dist/types/components.d.ts +8 -0
- package/dist/types/constants/breakpoints.d.ts +3 -3
- package/dist/types/constants/icons.d.ts +6 -6
- package/dist/types/index.d.ts +5 -5
- package/dist/types/snowflakes/myz/card/z-myz-card/index.d.ts +16 -16
- package/dist/types/snowflakes/myz/card/z-myz-card-alert/index.d.ts +20 -20
- package/dist/types/snowflakes/myz/card/z-myz-card-body/index.d.ts +7 -7
- package/dist/types/snowflakes/myz/card/z-myz-card-cover/index.d.ts +12 -12
- package/dist/types/snowflakes/myz/card/z-myz-card-dictionary/index.d.ts +24 -24
- package/dist/types/snowflakes/myz/card/z-myz-card-footer/index.d.ts +34 -34
- package/dist/types/snowflakes/myz/card/z-myz-card-footer-sections/index.d.ts +7 -7
- package/dist/types/snowflakes/myz/card/z-myz-card-header/index.d.ts +23 -23
- package/dist/types/snowflakes/myz/card/z-myz-card-icon/index.d.ts +7 -7
- package/dist/types/snowflakes/myz/card/z-myz-card-info/index.d.ts +36 -36
- package/dist/types/snowflakes/myz/card/z-myz-card-list/index.d.ts +10 -10
- package/dist/types/snowflakes/myz/list/z-myz-list/index.d.ts +11 -11
- package/dist/types/snowflakes/myz/list/z-myz-list-item/index.d.ts +25 -25
- package/dist/types/snowflakes/myz/pocket/z-messages-pocket/index.d.ts +16 -16
- package/dist/types/snowflakes/myz/pocket/z-pocket/index.d.ts +25 -25
- package/dist/types/snowflakes/myz/pocket/z-pocket-body/index.d.ts +12 -12
- package/dist/types/snowflakes/myz/pocket/z-pocket-header/index.d.ts +18 -18
- package/dist/types/snowflakes/myz/pocket/z-pocket-message/index.d.ts +7 -7
- package/dist/types/snowflakes/myz/topbar/index.d.ts +61 -61
- package/dist/types/snowflakes/myz/z-alert/index.d.ts +9 -9
- package/dist/types/snowflakes/myz/z-otp/index.d.ts +13 -13
- package/dist/types/snowflakes/myz/z-slideshow/index.d.ts +30 -30
- package/dist/types/snowflakes/registro-table/z-registro-table/index.d.ts +48 -48
- package/dist/types/snowflakes/registro-table/z-registro-table-body/index.d.ts +5 -5
- package/dist/types/snowflakes/registro-table/z-registro-table-cell/index.d.ts +9 -9
- package/dist/types/snowflakes/registro-table/z-registro-table-empty-box/index.d.ts +7 -7
- package/dist/types/snowflakes/registro-table/z-registro-table-expanded-row/index.d.ts +5 -5
- package/dist/types/snowflakes/registro-table/z-registro-table-footer/index.d.ts +5 -5
- package/dist/types/snowflakes/registro-table/z-registro-table-head/index.d.ts +5 -5
- package/dist/types/snowflakes/registro-table/z-registro-table-header/index.d.ts +25 -25
- package/dist/types/snowflakes/registro-table/z-registro-table-header-row/index.d.ts +5 -5
- package/dist/types/snowflakes/registro-table/z-registro-table-row/index.d.ts +11 -11
- package/dist/types/snowflakes/registro-table/z-registro-table-sticky-footer/index.d.ts +6 -6
- package/dist/types/utils/utils.d.ts +11 -11
- package/dist/web-components-library/index.esm.js +1 -1
- package/dist/web-components-library/{p-418044b0.entry.js → p-12b32f04.entry.js} +1 -1
- package/dist/web-components-library/{p-cfa47b41.entry.js → p-18420d63.entry.js} +1 -1
- package/dist/web-components-library/{p-fbfde057.entry.js → p-18b20ab5.entry.js} +1 -1
- package/dist/web-components-library/{p-3ad9ef65.entry.js → p-29d690fb.entry.js} +1 -1
- package/dist/web-components-library/p-2be4e3cb.js +1 -0
- package/{www/build/p-5ff2bb78.entry.js → dist/web-components-library/p-40de2454.entry.js} +1 -1
- package/{www/build/p-8f5eaf9d.entry.js → dist/web-components-library/p-71635ac7.entry.js} +1 -1
- package/dist/web-components-library/p-8039b5ff.entry.js +7 -0
- package/{www/build/p-6fed64d8.entry.js → dist/web-components-library/p-8d349aa2.entry.js} +1 -1
- package/dist/web-components-library/{p-ccf4d1e7.entry.js → p-929edfe7.entry.js} +1 -1
- package/dist/web-components-library/{p-ba400b3b.entry.js → p-9c4afb16.entry.js} +1 -1
- package/dist/web-components-library/{p-e86e2a5f.entry.js → p-b0f780b9.entry.js} +1 -1
- package/dist/web-components-library/{p-44de8dac.entry.js → p-d28fa333.entry.js} +1 -1
- package/dist/web-components-library/{p-8dfa676e.js → p-da365fd4.js} +0 -0
- package/dist/web-components-library/{p-d69e14fb.js → p-e35d3552.js} +0 -0
- package/dist/web-components-library/{p-cfd7f25f.entry.js → p-f1602514.entry.js} +1 -1
- package/dist/web-components-library/{p-6b7ee18b.entry.js → p-f45e8412.entry.js} +1 -1
- package/dist/web-components-library/web-components-library.css +1 -1
- package/dist/web-components-library/web-components-library.esm.js +1 -1
- package/package.json +90 -90
- package/react/components.d.ts +89 -89
- package/react/components.js +95 -95
- package/react/index.d.ts +1 -1
- package/react/index.js +13 -13
- package/react/react-component-lib/createComponent.d.ts +10 -10
- package/react/react-component-lib/createComponent.js +65 -65
- package/react/react-component-lib/createOverlayComponent.d.ts +20 -20
- package/react/react-component-lib/createOverlayComponent.js +95 -95
- package/react/react-component-lib/index.d.ts +2 -2
- package/react/react-component-lib/index.js +7 -7
- package/react/react-component-lib/interfaces.d.ts +29 -29
- package/react/react-component-lib/interfaces.js +2 -2
- package/react/react-component-lib/utils/attachProps.d.ts +12 -12
- package/react/react-component-lib/utils/attachProps.js +102 -102
- package/react/react-component-lib/utils/case.d.ts +2 -2
- package/react/react-component-lib/utils/case.js +11 -11
- package/react/react-component-lib/utils/dev.d.ts +2 -2
- package/react/react-component-lib/utils/dev.js +17 -17
- package/react/react-component-lib/utils/index.d.ts +7 -7
- package/react/react-component-lib/utils/index.js +38 -38
- package/readme.md +236 -236
- package/www/build/index.esm.js +1 -1
- package/www/build/{p-418044b0.entry.js → p-12b32f04.entry.js} +1 -1
- package/www/build/{p-cfa47b41.entry.js → p-18420d63.entry.js} +1 -1
- package/www/build/{p-fbfde057.entry.js → p-18b20ab5.entry.js} +1 -1
- package/www/build/{p-3ad9ef65.entry.js → p-29d690fb.entry.js} +1 -1
- package/www/build/p-2be4e3cb.js +1 -0
- package/{dist/web-components-library/p-5ff2bb78.entry.js → www/build/p-40de2454.entry.js} +1 -1
- package/{dist/web-components-library/p-8f5eaf9d.entry.js → www/build/p-71635ac7.entry.js} +1 -1
- package/www/build/p-8039b5ff.entry.js +7 -0
- package/{dist/web-components-library/p-6fed64d8.entry.js → www/build/p-8d349aa2.entry.js} +1 -1
- package/www/build/{p-ccf4d1e7.entry.js → p-929edfe7.entry.js} +1 -1
- package/www/build/{p-ba400b3b.entry.js → p-9c4afb16.entry.js} +1 -1
- package/www/build/{p-e86e2a5f.entry.js → p-b0f780b9.entry.js} +1 -1
- package/www/build/p-c6932a85.css +789 -0
- package/www/build/{p-44de8dac.entry.js → p-d28fa333.entry.js} +1 -1
- package/www/build/{p-8dfa676e.js → p-da365fd4.js} +0 -0
- package/www/build/{p-d69e14fb.js → p-e35d3552.js} +0 -0
- package/www/build/{p-cfd7f25f.entry.js → p-f1602514.entry.js} +1 -1
- package/www/build/{p-6b7ee18b.entry.js → p-f45e8412.entry.js} +1 -1
- package/www/build/p-f7a507f5.js +122 -0
- package/www/build/web-components-library.css +1 -1
- package/www/build/web-components-library.esm.js +1 -1
- package/www/index.html +11 -5
- package/www/pages/notification.html +247 -247
- package/dist/cjs/z-modal.cjs.entry.js +0 -36
- package/dist/esm/z-modal.entry.js +0 -32
- package/dist/web-components-library/p-097b45d8.entry.js +0 -7
- package/dist/web-components-library/p-139b1c56.entry.js +0 -1
- package/dist/web-components-library/p-feb1a4a6.js +0 -1
- package/www/build/p-097b45d8.entry.js +0 -7
- package/www/build/p-139b1c56.entry.js +0 -1
- package/www/build/p-7263c89d.css +0 -1
- package/www/build/p-932d9b31.js +0 -1
- package/www/build/p-feb1a4a6.js +0 -1
package/react/components.js
CHANGED
|
@@ -1,96 +1,96 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ZMyzCardList = exports.ZMyzCardInfo = exports.ZMyzCardIcon = exports.ZMyzCardHeader = exports.ZMyzCardFooterSections = exports.ZMyzCardFooter = exports.ZMyzCardDictionary = exports.ZMyzCardCover = exports.ZMyzCardBody = exports.ZMyzCardAlert = exports.ZMyzCard = exports.ZModalLogin = exports.ZModal = exports.ZMessagesPocket = exports.ZMenuSection = exports.ZMenuDropdown = exports.ZMenu = exports.ZLogo = exports.ZListGroup = exports.ZListElement = exports.ZList = exports.ZLink = exports.ZInputMessage = exports.ZInputLabel = exports.ZInput = exports.ZInfoBox = exports.ZIconPackage = exports.ZIcon = exports.ZHeading = exports.ZGhostLoading = exports.ZFooterSocial = exports.ZFooterSection = exports.ZFooterLink = exports.ZFooter = exports.ZDivider = exports.ZCookiebar = exports.ZContextualMenu = exports.ZCombobox = exports.ZChip = exports.ZCard = exports.ZCandybar = exports.ZButtonSort = exports.ZButtonFilter = exports.ZButton = exports.ZBody = exports.ZAvatar = exports.ZAppTopbar = exports.ZAppSwitcher = exports.ZAppHeader = exports.ZAlert = void 0;
|
|
4
|
-
exports.ZUserDropdown = exports.ZTypography = exports.ZTooltip = exports.ZToggleButton = exports.ZToastNotificationList = exports.ZToastNotification = exports.ZStepperItem = exports.ZStepper = exports.ZStatusTag = exports.ZSlideshow = exports.ZSelect = exports.ZRegistroTableStickyFooter = exports.ZRegistroTableRow = exports.ZRegistroTableHeaderRow = exports.ZRegistroTableHeader = exports.ZRegistroTableHead = exports.ZRegistroTableFooter = exports.ZRegistroTableExpandedRow = exports.ZRegistroTableEmptyBox = exports.ZRegistroTableCell = exports.ZRegistroTableBody = exports.ZRegistroTable = exports.ZPopover = exports.ZPocketMessage = exports.ZPocketHeader = exports.ZPocketBody = exports.ZPocket = exports.ZPanelElem = exports.ZPaginationPage = exports.ZPaginationBar = exports.ZOtp = exports.ZNotification = exports.ZNavigationTabs = exports.ZNavigationTab = exports.ZMyzTopbar = exports.ZMyzListItem = exports.ZMyzList = void 0;
|
|
5
|
-
/* eslint-disable */
|
|
6
|
-
/* tslint:disable */
|
|
7
|
-
/* auto-generated react proxies */
|
|
8
|
-
const react_component_lib_1 = require("./react-component-lib");
|
|
9
|
-
exports.ZAlert = react_component_lib_1.createReactComponent('z-alert');
|
|
10
|
-
exports.ZAppHeader = react_component_lib_1.createReactComponent('z-app-header');
|
|
11
|
-
exports.ZAppSwitcher = react_component_lib_1.createReactComponent('z-app-switcher');
|
|
12
|
-
exports.ZAppTopbar = react_component_lib_1.createReactComponent('z-app-topbar');
|
|
13
|
-
exports.ZAvatar = react_component_lib_1.createReactComponent('z-avatar');
|
|
14
|
-
exports.ZBody = react_component_lib_1.createReactComponent('z-body');
|
|
15
|
-
exports.ZButton = react_component_lib_1.createReactComponent('z-button');
|
|
16
|
-
exports.ZButtonFilter = react_component_lib_1.createReactComponent('z-button-filter');
|
|
17
|
-
exports.ZButtonSort = react_component_lib_1.createReactComponent('z-button-sort');
|
|
18
|
-
exports.ZCandybar = react_component_lib_1.createReactComponent('z-candybar');
|
|
19
|
-
exports.ZCard = react_component_lib_1.createReactComponent('z-card');
|
|
20
|
-
exports.ZChip = react_component_lib_1.createReactComponent('z-chip');
|
|
21
|
-
exports.ZCombobox = react_component_lib_1.createReactComponent('z-combobox');
|
|
22
|
-
exports.ZContextualMenu = react_component_lib_1.createReactComponent('z-contextual-menu');
|
|
23
|
-
exports.ZCookiebar = react_component_lib_1.createReactComponent('z-cookiebar');
|
|
24
|
-
exports.ZDivider = react_component_lib_1.createReactComponent('z-divider');
|
|
25
|
-
exports.ZFooter = react_component_lib_1.createReactComponent('z-footer');
|
|
26
|
-
exports.ZFooterLink = react_component_lib_1.createReactComponent('z-footer-link');
|
|
27
|
-
exports.ZFooterSection = react_component_lib_1.createReactComponent('z-footer-section');
|
|
28
|
-
exports.ZFooterSocial = react_component_lib_1.createReactComponent('z-footer-social');
|
|
29
|
-
exports.ZGhostLoading = react_component_lib_1.createReactComponent('z-ghost-loading');
|
|
30
|
-
exports.ZHeading = react_component_lib_1.createReactComponent('z-heading');
|
|
31
|
-
exports.ZIcon = react_component_lib_1.createReactComponent('z-icon');
|
|
32
|
-
exports.ZIconPackage = react_component_lib_1.createReactComponent('z-icon-package');
|
|
33
|
-
exports.ZInfoBox = react_component_lib_1.createReactComponent('z-info-box');
|
|
34
|
-
exports.ZInput = react_component_lib_1.createReactComponent('z-input');
|
|
35
|
-
exports.ZInputLabel = react_component_lib_1.createReactComponent('z-input-label');
|
|
36
|
-
exports.ZInputMessage = react_component_lib_1.createReactComponent('z-input-message');
|
|
37
|
-
exports.ZLink = react_component_lib_1.createReactComponent('z-link');
|
|
38
|
-
exports.ZList = react_component_lib_1.createReactComponent('z-list');
|
|
39
|
-
exports.ZListElement = react_component_lib_1.createReactComponent('z-list-element');
|
|
40
|
-
exports.ZListGroup = react_component_lib_1.createReactComponent('z-list-group');
|
|
41
|
-
exports.ZLogo = react_component_lib_1.createReactComponent('z-logo');
|
|
42
|
-
exports.ZMenu = react_component_lib_1.createReactComponent('z-menu');
|
|
43
|
-
exports.ZMenuDropdown = react_component_lib_1.createReactComponent('z-menu-dropdown');
|
|
44
|
-
exports.ZMenuSection = react_component_lib_1.createReactComponent('z-menu-section');
|
|
45
|
-
exports.ZMessagesPocket = react_component_lib_1.createReactComponent('z-messages-pocket');
|
|
46
|
-
exports.ZModal = react_component_lib_1.createReactComponent('z-modal');
|
|
47
|
-
exports.ZModalLogin = react_component_lib_1.createReactComponent('z-modal-login');
|
|
48
|
-
exports.ZMyzCard = react_component_lib_1.createReactComponent('z-myz-card');
|
|
49
|
-
exports.ZMyzCardAlert = react_component_lib_1.createReactComponent('z-myz-card-alert');
|
|
50
|
-
exports.ZMyzCardBody = react_component_lib_1.createReactComponent('z-myz-card-body');
|
|
51
|
-
exports.ZMyzCardCover = react_component_lib_1.createReactComponent('z-myz-card-cover');
|
|
52
|
-
exports.ZMyzCardDictionary = react_component_lib_1.createReactComponent('z-myz-card-dictionary');
|
|
53
|
-
exports.ZMyzCardFooter = react_component_lib_1.createReactComponent('z-myz-card-footer');
|
|
54
|
-
exports.ZMyzCardFooterSections = react_component_lib_1.createReactComponent('z-myz-card-footer-sections');
|
|
55
|
-
exports.ZMyzCardHeader = react_component_lib_1.createReactComponent('z-myz-card-header');
|
|
56
|
-
exports.ZMyzCardIcon = react_component_lib_1.createReactComponent('z-myz-card-icon');
|
|
57
|
-
exports.ZMyzCardInfo = react_component_lib_1.createReactComponent('z-myz-card-info');
|
|
58
|
-
exports.ZMyzCardList = react_component_lib_1.createReactComponent('z-myz-card-list');
|
|
59
|
-
exports.ZMyzList = react_component_lib_1.createReactComponent('z-myz-list');
|
|
60
|
-
exports.ZMyzListItem = react_component_lib_1.createReactComponent('z-myz-list-item');
|
|
61
|
-
exports.ZMyzTopbar = react_component_lib_1.createReactComponent('z-myz-topbar');
|
|
62
|
-
exports.ZNavigationTab = react_component_lib_1.createReactComponent('z-navigation-tab');
|
|
63
|
-
exports.ZNavigationTabs = react_component_lib_1.createReactComponent('z-navigation-tabs');
|
|
64
|
-
exports.ZNotification = react_component_lib_1.createReactComponent('z-notification');
|
|
65
|
-
exports.ZOtp = react_component_lib_1.createReactComponent('z-otp');
|
|
66
|
-
exports.ZPaginationBar = react_component_lib_1.createReactComponent('z-pagination-bar');
|
|
67
|
-
exports.ZPaginationPage = react_component_lib_1.createReactComponent('z-pagination-page');
|
|
68
|
-
exports.ZPanelElem = react_component_lib_1.createReactComponent('z-panel-elem');
|
|
69
|
-
exports.ZPocket = react_component_lib_1.createReactComponent('z-pocket');
|
|
70
|
-
exports.ZPocketBody = react_component_lib_1.createReactComponent('z-pocket-body');
|
|
71
|
-
exports.ZPocketHeader = react_component_lib_1.createReactComponent('z-pocket-header');
|
|
72
|
-
exports.ZPocketMessage = react_component_lib_1.createReactComponent('z-pocket-message');
|
|
73
|
-
exports.ZPopover = react_component_lib_1.createReactComponent('z-popover');
|
|
74
|
-
exports.ZRegistroTable = react_component_lib_1.createReactComponent('z-registro-table');
|
|
75
|
-
exports.ZRegistroTableBody = react_component_lib_1.createReactComponent('z-registro-table-body');
|
|
76
|
-
exports.ZRegistroTableCell = react_component_lib_1.createReactComponent('z-registro-table-cell');
|
|
77
|
-
exports.ZRegistroTableEmptyBox = react_component_lib_1.createReactComponent('z-registro-table-empty-box');
|
|
78
|
-
exports.ZRegistroTableExpandedRow = react_component_lib_1.createReactComponent('z-registro-table-expanded-row');
|
|
79
|
-
exports.ZRegistroTableFooter = react_component_lib_1.createReactComponent('z-registro-table-footer');
|
|
80
|
-
exports.ZRegistroTableHead = react_component_lib_1.createReactComponent('z-registro-table-head');
|
|
81
|
-
exports.ZRegistroTableHeader = react_component_lib_1.createReactComponent('z-registro-table-header');
|
|
82
|
-
exports.ZRegistroTableHeaderRow = react_component_lib_1.createReactComponent('z-registro-table-header-row');
|
|
83
|
-
exports.ZRegistroTableRow = react_component_lib_1.createReactComponent('z-registro-table-row');
|
|
84
|
-
exports.ZRegistroTableStickyFooter = react_component_lib_1.createReactComponent('z-registro-table-sticky-footer');
|
|
85
|
-
exports.ZSelect = react_component_lib_1.createReactComponent('z-select');
|
|
86
|
-
exports.ZSlideshow = react_component_lib_1.createReactComponent('z-slideshow');
|
|
87
|
-
exports.ZStatusTag = react_component_lib_1.createReactComponent('z-status-tag');
|
|
88
|
-
exports.ZStepper = react_component_lib_1.createReactComponent('z-stepper');
|
|
89
|
-
exports.ZStepperItem = react_component_lib_1.createReactComponent('z-stepper-item');
|
|
90
|
-
exports.ZToastNotification = react_component_lib_1.createReactComponent('z-toast-notification');
|
|
91
|
-
exports.ZToastNotificationList = react_component_lib_1.createReactComponent('z-toast-notification-list');
|
|
92
|
-
exports.ZToggleButton = react_component_lib_1.createReactComponent('z-toggle-button');
|
|
93
|
-
exports.ZTooltip = react_component_lib_1.createReactComponent('z-tooltip');
|
|
94
|
-
exports.ZTypography = react_component_lib_1.createReactComponent('z-typography');
|
|
95
|
-
exports.ZUserDropdown = react_component_lib_1.createReactComponent('z-user-dropdown');
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ZMyzCardList = exports.ZMyzCardInfo = exports.ZMyzCardIcon = exports.ZMyzCardHeader = exports.ZMyzCardFooterSections = exports.ZMyzCardFooter = exports.ZMyzCardDictionary = exports.ZMyzCardCover = exports.ZMyzCardBody = exports.ZMyzCardAlert = exports.ZMyzCard = exports.ZModalLogin = exports.ZModal = exports.ZMessagesPocket = exports.ZMenuSection = exports.ZMenuDropdown = exports.ZMenu = exports.ZLogo = exports.ZListGroup = exports.ZListElement = exports.ZList = exports.ZLink = exports.ZInputMessage = exports.ZInputLabel = exports.ZInput = exports.ZInfoBox = exports.ZIconPackage = exports.ZIcon = exports.ZHeading = exports.ZGhostLoading = exports.ZFooterSocial = exports.ZFooterSection = exports.ZFooterLink = exports.ZFooter = exports.ZDivider = exports.ZCookiebar = exports.ZContextualMenu = exports.ZCombobox = exports.ZChip = exports.ZCard = exports.ZCandybar = exports.ZButtonSort = exports.ZButtonFilter = exports.ZButton = exports.ZBody = exports.ZAvatar = exports.ZAppTopbar = exports.ZAppSwitcher = exports.ZAppHeader = exports.ZAlert = void 0;
|
|
4
|
+
exports.ZUserDropdown = exports.ZTypography = exports.ZTooltip = exports.ZToggleButton = exports.ZToastNotificationList = exports.ZToastNotification = exports.ZStepperItem = exports.ZStepper = exports.ZStatusTag = exports.ZSlideshow = exports.ZSelect = exports.ZRegistroTableStickyFooter = exports.ZRegistroTableRow = exports.ZRegistroTableHeaderRow = exports.ZRegistroTableHeader = exports.ZRegistroTableHead = exports.ZRegistroTableFooter = exports.ZRegistroTableExpandedRow = exports.ZRegistroTableEmptyBox = exports.ZRegistroTableCell = exports.ZRegistroTableBody = exports.ZRegistroTable = exports.ZPopover = exports.ZPocketMessage = exports.ZPocketHeader = exports.ZPocketBody = exports.ZPocket = exports.ZPanelElem = exports.ZPaginationPage = exports.ZPaginationBar = exports.ZOtp = exports.ZNotification = exports.ZNavigationTabs = exports.ZNavigationTab = exports.ZMyzTopbar = exports.ZMyzListItem = exports.ZMyzList = void 0;
|
|
5
|
+
/* eslint-disable */
|
|
6
|
+
/* tslint:disable */
|
|
7
|
+
/* auto-generated react proxies */
|
|
8
|
+
const react_component_lib_1 = require("./react-component-lib");
|
|
9
|
+
exports.ZAlert = react_component_lib_1.createReactComponent('z-alert');
|
|
10
|
+
exports.ZAppHeader = react_component_lib_1.createReactComponent('z-app-header');
|
|
11
|
+
exports.ZAppSwitcher = react_component_lib_1.createReactComponent('z-app-switcher');
|
|
12
|
+
exports.ZAppTopbar = react_component_lib_1.createReactComponent('z-app-topbar');
|
|
13
|
+
exports.ZAvatar = react_component_lib_1.createReactComponent('z-avatar');
|
|
14
|
+
exports.ZBody = react_component_lib_1.createReactComponent('z-body');
|
|
15
|
+
exports.ZButton = react_component_lib_1.createReactComponent('z-button');
|
|
16
|
+
exports.ZButtonFilter = react_component_lib_1.createReactComponent('z-button-filter');
|
|
17
|
+
exports.ZButtonSort = react_component_lib_1.createReactComponent('z-button-sort');
|
|
18
|
+
exports.ZCandybar = react_component_lib_1.createReactComponent('z-candybar');
|
|
19
|
+
exports.ZCard = react_component_lib_1.createReactComponent('z-card');
|
|
20
|
+
exports.ZChip = react_component_lib_1.createReactComponent('z-chip');
|
|
21
|
+
exports.ZCombobox = react_component_lib_1.createReactComponent('z-combobox');
|
|
22
|
+
exports.ZContextualMenu = react_component_lib_1.createReactComponent('z-contextual-menu');
|
|
23
|
+
exports.ZCookiebar = react_component_lib_1.createReactComponent('z-cookiebar');
|
|
24
|
+
exports.ZDivider = react_component_lib_1.createReactComponent('z-divider');
|
|
25
|
+
exports.ZFooter = react_component_lib_1.createReactComponent('z-footer');
|
|
26
|
+
exports.ZFooterLink = react_component_lib_1.createReactComponent('z-footer-link');
|
|
27
|
+
exports.ZFooterSection = react_component_lib_1.createReactComponent('z-footer-section');
|
|
28
|
+
exports.ZFooterSocial = react_component_lib_1.createReactComponent('z-footer-social');
|
|
29
|
+
exports.ZGhostLoading = react_component_lib_1.createReactComponent('z-ghost-loading');
|
|
30
|
+
exports.ZHeading = react_component_lib_1.createReactComponent('z-heading');
|
|
31
|
+
exports.ZIcon = react_component_lib_1.createReactComponent('z-icon');
|
|
32
|
+
exports.ZIconPackage = react_component_lib_1.createReactComponent('z-icon-package');
|
|
33
|
+
exports.ZInfoBox = react_component_lib_1.createReactComponent('z-info-box');
|
|
34
|
+
exports.ZInput = react_component_lib_1.createReactComponent('z-input');
|
|
35
|
+
exports.ZInputLabel = react_component_lib_1.createReactComponent('z-input-label');
|
|
36
|
+
exports.ZInputMessage = react_component_lib_1.createReactComponent('z-input-message');
|
|
37
|
+
exports.ZLink = react_component_lib_1.createReactComponent('z-link');
|
|
38
|
+
exports.ZList = react_component_lib_1.createReactComponent('z-list');
|
|
39
|
+
exports.ZListElement = react_component_lib_1.createReactComponent('z-list-element');
|
|
40
|
+
exports.ZListGroup = react_component_lib_1.createReactComponent('z-list-group');
|
|
41
|
+
exports.ZLogo = react_component_lib_1.createReactComponent('z-logo');
|
|
42
|
+
exports.ZMenu = react_component_lib_1.createReactComponent('z-menu');
|
|
43
|
+
exports.ZMenuDropdown = react_component_lib_1.createReactComponent('z-menu-dropdown');
|
|
44
|
+
exports.ZMenuSection = react_component_lib_1.createReactComponent('z-menu-section');
|
|
45
|
+
exports.ZMessagesPocket = react_component_lib_1.createReactComponent('z-messages-pocket');
|
|
46
|
+
exports.ZModal = react_component_lib_1.createReactComponent('z-modal');
|
|
47
|
+
exports.ZModalLogin = react_component_lib_1.createReactComponent('z-modal-login');
|
|
48
|
+
exports.ZMyzCard = react_component_lib_1.createReactComponent('z-myz-card');
|
|
49
|
+
exports.ZMyzCardAlert = react_component_lib_1.createReactComponent('z-myz-card-alert');
|
|
50
|
+
exports.ZMyzCardBody = react_component_lib_1.createReactComponent('z-myz-card-body');
|
|
51
|
+
exports.ZMyzCardCover = react_component_lib_1.createReactComponent('z-myz-card-cover');
|
|
52
|
+
exports.ZMyzCardDictionary = react_component_lib_1.createReactComponent('z-myz-card-dictionary');
|
|
53
|
+
exports.ZMyzCardFooter = react_component_lib_1.createReactComponent('z-myz-card-footer');
|
|
54
|
+
exports.ZMyzCardFooterSections = react_component_lib_1.createReactComponent('z-myz-card-footer-sections');
|
|
55
|
+
exports.ZMyzCardHeader = react_component_lib_1.createReactComponent('z-myz-card-header');
|
|
56
|
+
exports.ZMyzCardIcon = react_component_lib_1.createReactComponent('z-myz-card-icon');
|
|
57
|
+
exports.ZMyzCardInfo = react_component_lib_1.createReactComponent('z-myz-card-info');
|
|
58
|
+
exports.ZMyzCardList = react_component_lib_1.createReactComponent('z-myz-card-list');
|
|
59
|
+
exports.ZMyzList = react_component_lib_1.createReactComponent('z-myz-list');
|
|
60
|
+
exports.ZMyzListItem = react_component_lib_1.createReactComponent('z-myz-list-item');
|
|
61
|
+
exports.ZMyzTopbar = react_component_lib_1.createReactComponent('z-myz-topbar');
|
|
62
|
+
exports.ZNavigationTab = react_component_lib_1.createReactComponent('z-navigation-tab');
|
|
63
|
+
exports.ZNavigationTabs = react_component_lib_1.createReactComponent('z-navigation-tabs');
|
|
64
|
+
exports.ZNotification = react_component_lib_1.createReactComponent('z-notification');
|
|
65
|
+
exports.ZOtp = react_component_lib_1.createReactComponent('z-otp');
|
|
66
|
+
exports.ZPaginationBar = react_component_lib_1.createReactComponent('z-pagination-bar');
|
|
67
|
+
exports.ZPaginationPage = react_component_lib_1.createReactComponent('z-pagination-page');
|
|
68
|
+
exports.ZPanelElem = react_component_lib_1.createReactComponent('z-panel-elem');
|
|
69
|
+
exports.ZPocket = react_component_lib_1.createReactComponent('z-pocket');
|
|
70
|
+
exports.ZPocketBody = react_component_lib_1.createReactComponent('z-pocket-body');
|
|
71
|
+
exports.ZPocketHeader = react_component_lib_1.createReactComponent('z-pocket-header');
|
|
72
|
+
exports.ZPocketMessage = react_component_lib_1.createReactComponent('z-pocket-message');
|
|
73
|
+
exports.ZPopover = react_component_lib_1.createReactComponent('z-popover');
|
|
74
|
+
exports.ZRegistroTable = react_component_lib_1.createReactComponent('z-registro-table');
|
|
75
|
+
exports.ZRegistroTableBody = react_component_lib_1.createReactComponent('z-registro-table-body');
|
|
76
|
+
exports.ZRegistroTableCell = react_component_lib_1.createReactComponent('z-registro-table-cell');
|
|
77
|
+
exports.ZRegistroTableEmptyBox = react_component_lib_1.createReactComponent('z-registro-table-empty-box');
|
|
78
|
+
exports.ZRegistroTableExpandedRow = react_component_lib_1.createReactComponent('z-registro-table-expanded-row');
|
|
79
|
+
exports.ZRegistroTableFooter = react_component_lib_1.createReactComponent('z-registro-table-footer');
|
|
80
|
+
exports.ZRegistroTableHead = react_component_lib_1.createReactComponent('z-registro-table-head');
|
|
81
|
+
exports.ZRegistroTableHeader = react_component_lib_1.createReactComponent('z-registro-table-header');
|
|
82
|
+
exports.ZRegistroTableHeaderRow = react_component_lib_1.createReactComponent('z-registro-table-header-row');
|
|
83
|
+
exports.ZRegistroTableRow = react_component_lib_1.createReactComponent('z-registro-table-row');
|
|
84
|
+
exports.ZRegistroTableStickyFooter = react_component_lib_1.createReactComponent('z-registro-table-sticky-footer');
|
|
85
|
+
exports.ZSelect = react_component_lib_1.createReactComponent('z-select');
|
|
86
|
+
exports.ZSlideshow = react_component_lib_1.createReactComponent('z-slideshow');
|
|
87
|
+
exports.ZStatusTag = react_component_lib_1.createReactComponent('z-status-tag');
|
|
88
|
+
exports.ZStepper = react_component_lib_1.createReactComponent('z-stepper');
|
|
89
|
+
exports.ZStepperItem = react_component_lib_1.createReactComponent('z-stepper-item');
|
|
90
|
+
exports.ZToastNotification = react_component_lib_1.createReactComponent('z-toast-notification');
|
|
91
|
+
exports.ZToastNotificationList = react_component_lib_1.createReactComponent('z-toast-notification-list');
|
|
92
|
+
exports.ZToggleButton = react_component_lib_1.createReactComponent('z-toggle-button');
|
|
93
|
+
exports.ZTooltip = react_component_lib_1.createReactComponent('z-tooltip');
|
|
94
|
+
exports.ZTypography = react_component_lib_1.createReactComponent('z-typography');
|
|
95
|
+
exports.ZUserDropdown = react_component_lib_1.createReactComponent('z-user-dropdown');
|
|
96
96
|
//# sourceMappingURL=components.js.map
|
package/react/index.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from './components';
|
|
1
|
+
export * from './components';
|
package/react/index.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
5
|
-
}) : (function(o, m, k, k2) {
|
|
6
|
-
if (k2 === undefined) k2 = k;
|
|
7
|
-
o[k2] = m[k];
|
|
8
|
-
}));
|
|
9
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
10
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
11
|
-
};
|
|
12
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
13
|
-
__exportStar(require("./components"), exports);
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
5
|
+
}) : (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
o[k2] = m[k];
|
|
8
|
+
}));
|
|
9
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
10
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
11
|
+
};
|
|
12
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
13
|
+
__exportStar(require("./components"), exports);
|
|
14
14
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
export interface HTMLStencilElement extends HTMLElement {
|
|
3
|
-
componentOnReady(): Promise<this>;
|
|
4
|
-
}
|
|
5
|
-
interface StencilReactInternalProps<ElementType> extends React.HTMLAttributes<ElementType> {
|
|
6
|
-
forwardedRef: React.RefObject<ElementType>;
|
|
7
|
-
ref?: React.Ref<any>;
|
|
8
|
-
}
|
|
9
|
-
export declare const createReactComponent: <PropType, ElementType extends HTMLStencilElement, ContextStateType = {}, ExpandedPropsTypes = {}>(tagName: string, ReactComponentContext?: React.Context<ContextStateType>, manipulatePropsFunction?: (originalProps: StencilReactInternalProps<ElementType>, propsToPass: any) => ExpandedPropsTypes) => React.ForwardRefExoticComponent<React.PropsWithoutRef<PropType & Omit<React.HTMLAttributes<ElementType>, "style"> & import("./interfaces").StyleReactProps> & React.RefAttributes<ElementType>>;
|
|
10
|
-
export {};
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export interface HTMLStencilElement extends HTMLElement {
|
|
3
|
+
componentOnReady(): Promise<this>;
|
|
4
|
+
}
|
|
5
|
+
interface StencilReactInternalProps<ElementType> extends React.HTMLAttributes<ElementType> {
|
|
6
|
+
forwardedRef: React.RefObject<ElementType>;
|
|
7
|
+
ref?: React.Ref<any>;
|
|
8
|
+
}
|
|
9
|
+
export declare const createReactComponent: <PropType, ElementType extends HTMLStencilElement, ContextStateType = {}, ExpandedPropsTypes = {}>(tagName: string, ReactComponentContext?: React.Context<ContextStateType>, manipulatePropsFunction?: (originalProps: StencilReactInternalProps<ElementType>, propsToPass: any) => ExpandedPropsTypes) => React.ForwardRefExoticComponent<React.PropsWithoutRef<PropType & Omit<React.HTMLAttributes<ElementType>, "style"> & import("./interfaces").StyleReactProps> & React.RefAttributes<ElementType>>;
|
|
10
|
+
export {};
|
|
@@ -1,66 +1,66 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __rest = (this && this.__rest) || function (s, e) {
|
|
3
|
-
var t = {};
|
|
4
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
5
|
-
t[p] = s[p];
|
|
6
|
-
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
7
|
-
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
8
|
-
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
9
|
-
t[p[i]] = s[p[i]];
|
|
10
|
-
}
|
|
11
|
-
return t;
|
|
12
|
-
};
|
|
13
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
14
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
15
|
-
};
|
|
16
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
exports.createReactComponent = void 0;
|
|
18
|
-
const react_1 = __importDefault(require("react"));
|
|
19
|
-
const utils_1 = require("./utils");
|
|
20
|
-
const createReactComponent = (tagName, ReactComponentContext, manipulatePropsFunction) => {
|
|
21
|
-
const displayName = utils_1.dashToPascalCase(tagName);
|
|
22
|
-
const ReactComponent = class extends react_1.default.Component {
|
|
23
|
-
constructor(props) {
|
|
24
|
-
super(props);
|
|
25
|
-
this.setComponentElRef = (element) => {
|
|
26
|
-
this.componentEl = element;
|
|
27
|
-
};
|
|
28
|
-
}
|
|
29
|
-
componentDidMount() {
|
|
30
|
-
this.componentDidUpdate(this.props);
|
|
31
|
-
}
|
|
32
|
-
componentDidUpdate(prevProps) {
|
|
33
|
-
utils_1.attachProps(this.componentEl, this.props, prevProps);
|
|
34
|
-
}
|
|
35
|
-
render() {
|
|
36
|
-
const _a = this.props, { children, forwardedRef, style, className, ref } = _a, cProps = __rest(_a, ["children", "forwardedRef", "style", "className", "ref"]);
|
|
37
|
-
let propsToPass = Object.keys(cProps).reduce((acc, name) => {
|
|
38
|
-
if (name.indexOf('on') === 0 && name[2] === name[2].toUpperCase()) {
|
|
39
|
-
const eventName = name.substring(2).toLowerCase();
|
|
40
|
-
if (typeof document !== 'undefined' && utils_1.isCoveredByReact(eventName, document)) {
|
|
41
|
-
acc[name] = cProps[name];
|
|
42
|
-
}
|
|
43
|
-
}
|
|
44
|
-
else {
|
|
45
|
-
acc[name] = cProps[name];
|
|
46
|
-
}
|
|
47
|
-
return acc;
|
|
48
|
-
}, {});
|
|
49
|
-
if (manipulatePropsFunction) {
|
|
50
|
-
propsToPass = manipulatePropsFunction(this.props, propsToPass);
|
|
51
|
-
}
|
|
52
|
-
let newProps = Object.assign(Object.assign({}, propsToPass), { ref: utils_1.mergeRefs(forwardedRef, this.setComponentElRef), style });
|
|
53
|
-
return react_1.default.createElement(tagName, newProps, children);
|
|
54
|
-
}
|
|
55
|
-
static get displayName() {
|
|
56
|
-
return displayName;
|
|
57
|
-
}
|
|
58
|
-
};
|
|
59
|
-
// If context was passed to createReactComponent then conditionally add it to the Component Class
|
|
60
|
-
if (ReactComponentContext) {
|
|
61
|
-
ReactComponent.contextType = ReactComponentContext;
|
|
62
|
-
}
|
|
63
|
-
return utils_1.createForwardRef(ReactComponent, displayName);
|
|
64
|
-
};
|
|
65
|
-
exports.createReactComponent = createReactComponent;
|
|
1
|
+
"use strict";
|
|
2
|
+
var __rest = (this && this.__rest) || function (s, e) {
|
|
3
|
+
var t = {};
|
|
4
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
5
|
+
t[p] = s[p];
|
|
6
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
7
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
8
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
9
|
+
t[p[i]] = s[p[i]];
|
|
10
|
+
}
|
|
11
|
+
return t;
|
|
12
|
+
};
|
|
13
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
14
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
exports.createReactComponent = void 0;
|
|
18
|
+
const react_1 = __importDefault(require("react"));
|
|
19
|
+
const utils_1 = require("./utils");
|
|
20
|
+
const createReactComponent = (tagName, ReactComponentContext, manipulatePropsFunction) => {
|
|
21
|
+
const displayName = utils_1.dashToPascalCase(tagName);
|
|
22
|
+
const ReactComponent = class extends react_1.default.Component {
|
|
23
|
+
constructor(props) {
|
|
24
|
+
super(props);
|
|
25
|
+
this.setComponentElRef = (element) => {
|
|
26
|
+
this.componentEl = element;
|
|
27
|
+
};
|
|
28
|
+
}
|
|
29
|
+
componentDidMount() {
|
|
30
|
+
this.componentDidUpdate(this.props);
|
|
31
|
+
}
|
|
32
|
+
componentDidUpdate(prevProps) {
|
|
33
|
+
utils_1.attachProps(this.componentEl, this.props, prevProps);
|
|
34
|
+
}
|
|
35
|
+
render() {
|
|
36
|
+
const _a = this.props, { children, forwardedRef, style, className, ref } = _a, cProps = __rest(_a, ["children", "forwardedRef", "style", "className", "ref"]);
|
|
37
|
+
let propsToPass = Object.keys(cProps).reduce((acc, name) => {
|
|
38
|
+
if (name.indexOf('on') === 0 && name[2] === name[2].toUpperCase()) {
|
|
39
|
+
const eventName = name.substring(2).toLowerCase();
|
|
40
|
+
if (typeof document !== 'undefined' && utils_1.isCoveredByReact(eventName, document)) {
|
|
41
|
+
acc[name] = cProps[name];
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
else {
|
|
45
|
+
acc[name] = cProps[name];
|
|
46
|
+
}
|
|
47
|
+
return acc;
|
|
48
|
+
}, {});
|
|
49
|
+
if (manipulatePropsFunction) {
|
|
50
|
+
propsToPass = manipulatePropsFunction(this.props, propsToPass);
|
|
51
|
+
}
|
|
52
|
+
let newProps = Object.assign(Object.assign({}, propsToPass), { ref: utils_1.mergeRefs(forwardedRef, this.setComponentElRef), style });
|
|
53
|
+
return react_1.default.createElement(tagName, newProps, children);
|
|
54
|
+
}
|
|
55
|
+
static get displayName() {
|
|
56
|
+
return displayName;
|
|
57
|
+
}
|
|
58
|
+
};
|
|
59
|
+
// If context was passed to createReactComponent then conditionally add it to the Component Class
|
|
60
|
+
if (ReactComponentContext) {
|
|
61
|
+
ReactComponent.contextType = ReactComponentContext;
|
|
62
|
+
}
|
|
63
|
+
return utils_1.createForwardRef(ReactComponent, displayName);
|
|
64
|
+
};
|
|
65
|
+
exports.createReactComponent = createReactComponent;
|
|
66
66
|
//# sourceMappingURL=createComponent.js.map
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import { OverlayEventDetail } from './interfaces';
|
|
2
|
-
import React from 'react';
|
|
3
|
-
interface OverlayElement extends HTMLElement {
|
|
4
|
-
present: () => Promise<void>;
|
|
5
|
-
dismiss: (data?: any, role?: string | undefined) => Promise<boolean>;
|
|
6
|
-
}
|
|
7
|
-
export interface ReactOverlayProps {
|
|
8
|
-
children?: React.ReactNode;
|
|
9
|
-
isOpen: boolean;
|
|
10
|
-
onDidDismiss?: (event: CustomEvent<OverlayEventDetail>) => void;
|
|
11
|
-
onDidPresent?: (event: CustomEvent<OverlayEventDetail>) => void;
|
|
12
|
-
onWillDismiss?: (event: CustomEvent<OverlayEventDetail>) => void;
|
|
13
|
-
onWillPresent?: (event: CustomEvent<OverlayEventDetail>) => void;
|
|
14
|
-
}
|
|
15
|
-
export declare const createOverlayComponent: <OverlayComponent extends object, OverlayType extends OverlayElement>(displayName: string, controller: {
|
|
16
|
-
create: (options: any) => Promise<OverlayType>;
|
|
17
|
-
}) => React.ForwardRefExoticComponent<React.PropsWithoutRef<OverlayComponent & ReactOverlayProps & {
|
|
18
|
-
forwardedRef?: React.RefObject<OverlayType>;
|
|
19
|
-
}> & React.RefAttributes<OverlayType>>;
|
|
20
|
-
export {};
|
|
1
|
+
import { OverlayEventDetail } from './interfaces';
|
|
2
|
+
import React from 'react';
|
|
3
|
+
interface OverlayElement extends HTMLElement {
|
|
4
|
+
present: () => Promise<void>;
|
|
5
|
+
dismiss: (data?: any, role?: string | undefined) => Promise<boolean>;
|
|
6
|
+
}
|
|
7
|
+
export interface ReactOverlayProps {
|
|
8
|
+
children?: React.ReactNode;
|
|
9
|
+
isOpen: boolean;
|
|
10
|
+
onDidDismiss?: (event: CustomEvent<OverlayEventDetail>) => void;
|
|
11
|
+
onDidPresent?: (event: CustomEvent<OverlayEventDetail>) => void;
|
|
12
|
+
onWillDismiss?: (event: CustomEvent<OverlayEventDetail>) => void;
|
|
13
|
+
onWillPresent?: (event: CustomEvent<OverlayEventDetail>) => void;
|
|
14
|
+
}
|
|
15
|
+
export declare const createOverlayComponent: <OverlayComponent extends object, OverlayType extends OverlayElement>(displayName: string, controller: {
|
|
16
|
+
create: (options: any) => Promise<OverlayType>;
|
|
17
|
+
}) => React.ForwardRefExoticComponent<React.PropsWithoutRef<OverlayComponent & ReactOverlayProps & {
|
|
18
|
+
forwardedRef?: React.RefObject<OverlayType>;
|
|
19
|
+
}> & React.RefAttributes<OverlayType>>;
|
|
20
|
+
export {};
|
|
@@ -1,96 +1,96 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
3
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
4
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
|
5
|
-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
6
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
7
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
8
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
9
|
-
});
|
|
10
|
-
};
|
|
11
|
-
var __rest = (this && this.__rest) || function (s, e) {
|
|
12
|
-
var t = {};
|
|
13
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
14
|
-
t[p] = s[p];
|
|
15
|
-
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
16
|
-
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
17
|
-
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
18
|
-
t[p[i]] = s[p[i]];
|
|
19
|
-
}
|
|
20
|
-
return t;
|
|
21
|
-
};
|
|
22
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
23
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
24
|
-
};
|
|
25
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
|
-
exports.createOverlayComponent = void 0;
|
|
27
|
-
const react_1 = __importDefault(require("react"));
|
|
28
|
-
const react_dom_1 = __importDefault(require("react-dom"));
|
|
29
|
-
const utils_1 = require("./utils");
|
|
30
|
-
const createOverlayComponent = (displayName, controller) => {
|
|
31
|
-
const didDismissEventName = `on${displayName}DidDismiss`;
|
|
32
|
-
const didPresentEventName = `on${displayName}DidPresent`;
|
|
33
|
-
const willDismissEventName = `on${displayName}WillDismiss`;
|
|
34
|
-
const willPresentEventName = `on${displayName}WillPresent`;
|
|
35
|
-
class Overlay extends react_1.default.Component {
|
|
36
|
-
constructor(props) {
|
|
37
|
-
super(props);
|
|
38
|
-
this.el = document.createElement('div');
|
|
39
|
-
this.handleDismiss = this.handleDismiss.bind(this);
|
|
40
|
-
}
|
|
41
|
-
static get displayName() {
|
|
42
|
-
return displayName;
|
|
43
|
-
}
|
|
44
|
-
componentDidMount() {
|
|
45
|
-
if (this.props.isOpen) {
|
|
46
|
-
this.present();
|
|
47
|
-
}
|
|
48
|
-
}
|
|
49
|
-
componentWillUnmount() {
|
|
50
|
-
if (this.overlay) {
|
|
51
|
-
this.overlay.dismiss();
|
|
52
|
-
}
|
|
53
|
-
}
|
|
54
|
-
handleDismiss(event) {
|
|
55
|
-
if (this.props.onDidDismiss) {
|
|
56
|
-
this.props.onDidDismiss(event);
|
|
57
|
-
}
|
|
58
|
-
if (this.props.forwardedRef) {
|
|
59
|
-
this.props.forwardedRef.current = undefined;
|
|
60
|
-
}
|
|
61
|
-
}
|
|
62
|
-
componentDidUpdate(prevProps) {
|
|
63
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
64
|
-
if (this.overlay) {
|
|
65
|
-
utils_1.attachProps(this.overlay, this.props, prevProps);
|
|
66
|
-
}
|
|
67
|
-
if (prevProps.isOpen !== this.props.isOpen && this.props.isOpen === true) {
|
|
68
|
-
this.present(prevProps);
|
|
69
|
-
}
|
|
70
|
-
if (this.overlay && prevProps.isOpen !== this.props.isOpen && this.props.isOpen === false) {
|
|
71
|
-
yield this.overlay.dismiss();
|
|
72
|
-
}
|
|
73
|
-
});
|
|
74
|
-
}
|
|
75
|
-
present(prevProps) {
|
|
76
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
77
|
-
const _a = this.props, { children, isOpen, onDidDismiss, onDidPresent, onWillDismiss, onWillPresent } = _a, cProps = __rest(_a, ["children", "isOpen", "onDidDismiss", "onDidPresent", "onWillDismiss", "onWillPresent"]);
|
|
78
|
-
const elementProps = Object.assign(Object.assign({}, cProps), { ref: this.props.forwardedRef, [didDismissEventName]: this.handleDismiss, [didPresentEventName]: (e) => this.props.onDidPresent && this.props.onDidPresent(e), [willDismissEventName]: (e) => this.props.onWillDismiss && this.props.onWillDismiss(e), [willPresentEventName]: (e) => this.props.onWillPresent && this.props.onWillPresent(e) });
|
|
79
|
-
this.overlay = yield controller.create(Object.assign(Object.assign({}, elementProps), { component: this.el, componentProps: {} }));
|
|
80
|
-
if (this.props.forwardedRef) {
|
|
81
|
-
this.props.forwardedRef.current = this.overlay;
|
|
82
|
-
}
|
|
83
|
-
utils_1.attachProps(this.overlay, elementProps, prevProps);
|
|
84
|
-
yield this.overlay.present();
|
|
85
|
-
});
|
|
86
|
-
}
|
|
87
|
-
render() {
|
|
88
|
-
return react_dom_1.default.createPortal(this.props.isOpen ? this.props.children : null, this.el);
|
|
89
|
-
}
|
|
90
|
-
}
|
|
91
|
-
return react_1.default.forwardRef((props, ref) => {
|
|
92
|
-
return react_1.default.createElement(Overlay, Object.assign({}, props, { forwardedRef: ref }));
|
|
93
|
-
});
|
|
94
|
-
};
|
|
95
|
-
exports.createOverlayComponent = createOverlayComponent;
|
|
1
|
+
"use strict";
|
|
2
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
3
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
4
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
5
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
6
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
7
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
8
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
9
|
+
});
|
|
10
|
+
};
|
|
11
|
+
var __rest = (this && this.__rest) || function (s, e) {
|
|
12
|
+
var t = {};
|
|
13
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
14
|
+
t[p] = s[p];
|
|
15
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
16
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
17
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
18
|
+
t[p[i]] = s[p[i]];
|
|
19
|
+
}
|
|
20
|
+
return t;
|
|
21
|
+
};
|
|
22
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
23
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
24
|
+
};
|
|
25
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
|
+
exports.createOverlayComponent = void 0;
|
|
27
|
+
const react_1 = __importDefault(require("react"));
|
|
28
|
+
const react_dom_1 = __importDefault(require("react-dom"));
|
|
29
|
+
const utils_1 = require("./utils");
|
|
30
|
+
const createOverlayComponent = (displayName, controller) => {
|
|
31
|
+
const didDismissEventName = `on${displayName}DidDismiss`;
|
|
32
|
+
const didPresentEventName = `on${displayName}DidPresent`;
|
|
33
|
+
const willDismissEventName = `on${displayName}WillDismiss`;
|
|
34
|
+
const willPresentEventName = `on${displayName}WillPresent`;
|
|
35
|
+
class Overlay extends react_1.default.Component {
|
|
36
|
+
constructor(props) {
|
|
37
|
+
super(props);
|
|
38
|
+
this.el = document.createElement('div');
|
|
39
|
+
this.handleDismiss = this.handleDismiss.bind(this);
|
|
40
|
+
}
|
|
41
|
+
static get displayName() {
|
|
42
|
+
return displayName;
|
|
43
|
+
}
|
|
44
|
+
componentDidMount() {
|
|
45
|
+
if (this.props.isOpen) {
|
|
46
|
+
this.present();
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
componentWillUnmount() {
|
|
50
|
+
if (this.overlay) {
|
|
51
|
+
this.overlay.dismiss();
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
handleDismiss(event) {
|
|
55
|
+
if (this.props.onDidDismiss) {
|
|
56
|
+
this.props.onDidDismiss(event);
|
|
57
|
+
}
|
|
58
|
+
if (this.props.forwardedRef) {
|
|
59
|
+
this.props.forwardedRef.current = undefined;
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
componentDidUpdate(prevProps) {
|
|
63
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
64
|
+
if (this.overlay) {
|
|
65
|
+
utils_1.attachProps(this.overlay, this.props, prevProps);
|
|
66
|
+
}
|
|
67
|
+
if (prevProps.isOpen !== this.props.isOpen && this.props.isOpen === true) {
|
|
68
|
+
this.present(prevProps);
|
|
69
|
+
}
|
|
70
|
+
if (this.overlay && prevProps.isOpen !== this.props.isOpen && this.props.isOpen === false) {
|
|
71
|
+
yield this.overlay.dismiss();
|
|
72
|
+
}
|
|
73
|
+
});
|
|
74
|
+
}
|
|
75
|
+
present(prevProps) {
|
|
76
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
77
|
+
const _a = this.props, { children, isOpen, onDidDismiss, onDidPresent, onWillDismiss, onWillPresent } = _a, cProps = __rest(_a, ["children", "isOpen", "onDidDismiss", "onDidPresent", "onWillDismiss", "onWillPresent"]);
|
|
78
|
+
const elementProps = Object.assign(Object.assign({}, cProps), { ref: this.props.forwardedRef, [didDismissEventName]: this.handleDismiss, [didPresentEventName]: (e) => this.props.onDidPresent && this.props.onDidPresent(e), [willDismissEventName]: (e) => this.props.onWillDismiss && this.props.onWillDismiss(e), [willPresentEventName]: (e) => this.props.onWillPresent && this.props.onWillPresent(e) });
|
|
79
|
+
this.overlay = yield controller.create(Object.assign(Object.assign({}, elementProps), { component: this.el, componentProps: {} }));
|
|
80
|
+
if (this.props.forwardedRef) {
|
|
81
|
+
this.props.forwardedRef.current = this.overlay;
|
|
82
|
+
}
|
|
83
|
+
utils_1.attachProps(this.overlay, elementProps, prevProps);
|
|
84
|
+
yield this.overlay.present();
|
|
85
|
+
});
|
|
86
|
+
}
|
|
87
|
+
render() {
|
|
88
|
+
return react_dom_1.default.createPortal(this.props.isOpen ? this.props.children : null, this.el);
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
return react_1.default.forwardRef((props, ref) => {
|
|
92
|
+
return react_1.default.createElement(Overlay, Object.assign({}, props, { forwardedRef: ref }));
|
|
93
|
+
});
|
|
94
|
+
};
|
|
95
|
+
exports.createOverlayComponent = createOverlayComponent;
|
|
96
96
|
//# sourceMappingURL=createOverlayComponent.js.map
|