@shival99/z-ui 2.0.49 → 2.0.50
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/fesm2022/shival99-z-ui-components-z-gallery.mjs +137 -148
- package/fesm2022/shival99-z-ui-components-z-gallery.mjs.map +1 -1
- package/fesm2022/shival99-z-ui-services.mjs +7 -2
- package/fesm2022/shival99-z-ui-services.mjs.map +1 -1
- package/package.json +1 -1
- package/types/shival99-z-ui-components-z-autocomplete.d.ts +1 -1
- package/types/shival99-z-ui-components-z-calendar.d.ts +4 -4
- package/types/shival99-z-ui-components-z-editor.d.ts +1 -1
- package/types/shival99-z-ui-components-z-gallery.d.ts +8 -6
- package/types/shival99-z-ui-components-z-modal.d.ts +1 -1
- package/types/shival99-z-ui-components-z-popover.d.ts +1 -1
- package/types/shival99-z-ui-components-z-select.d.ts +1 -1
- package/types/shival99-z-ui-components-z-table.d.ts +3 -3
- package/types/shival99-z-ui-components-z-upload.d.ts +3 -3
- package/types/shival99-z-ui-services.d.ts +1 -1
|
@@ -2149,8 +2149,13 @@ class ZOverlayZIndexService {
|
|
|
2149
2149
|
this._currentZIndex += 2; // +2 to leave room for backdrop (zIndex - 1)
|
|
2150
2150
|
return zIndex;
|
|
2151
2151
|
}
|
|
2152
|
-
applyToOverlay(
|
|
2153
|
-
|
|
2152
|
+
applyToOverlay(overlayRef) {
|
|
2153
|
+
const zIndex = this.next();
|
|
2154
|
+
overlayRef.hostElement.style.zIndex = `${zIndex}`;
|
|
2155
|
+
if (overlayRef.backdropElement) {
|
|
2156
|
+
overlayRef.backdropElement.style.zIndex = `${zIndex - 1}`;
|
|
2157
|
+
}
|
|
2158
|
+
return zIndex;
|
|
2154
2159
|
}
|
|
2155
2160
|
deferMoveToTop(overlayRef) {
|
|
2156
2161
|
if (!isPlatformBrowser(this._platformId)) {
|