@progress/kendo-angular-popup 20.1.0-develop.9 → 20.1.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.
@@ -10,7 +10,7 @@ export const packageMetadata = {
10
10
  productName: 'Kendo UI for Angular',
11
11
  productCode: 'KENDOUIANGULAR',
12
12
  productCodes: ['KENDOUIANGULAR'],
13
- publishDate: 1759490577,
14
- version: '20.1.0-develop.9',
13
+ publishDate: 1761116964,
14
+ version: '20.1.0',
15
15
  licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/?utm_medium=product&utm_source=kendoangular&utm_campaign=kendo-ui-angular-purchase-license-keys-warning'
16
16
  };
@@ -157,7 +157,6 @@ export class PopupComponent {
157
157
  this.animationSubscriptions.add(this.animationService.end.subscribe(this.onAnimationEnd.bind(this)));
158
158
  this._scrollableService.forElement(this.domService.nativeElement(this.anchor) || this.container.nativeElement).subscribe(this.onScroll.bind(this));
159
159
  this.currentOffset = DEFAULT_OFFSET;
160
- this.setZIndex();
161
160
  this.copyFontStyles();
162
161
  this.updateFixedClass();
163
162
  this.reposition();
@@ -224,11 +223,6 @@ export class PopupComponent {
224
223
  this.setContainerStyle('top', `${offset.top}px`);
225
224
  this._currentOffset = offset;
226
225
  }
227
- setZIndex() {
228
- if (this.anchor) {
229
- this.setContainerStyle('z-index', String(this.domService.zIndex(this.domService.nativeElement(this.anchor), this.container)));
230
- }
231
- }
232
226
  reposition() {
233
227
  if (!isDocumentAvailable()) {
234
228
  return;
@@ -4,7 +4,7 @@
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  import { Injectable } from '@angular/core';
6
6
  import { align, boundingOffset, getWindowViewPort, offset, positionWithScroll, restrictToView, addScroll, removeScroll, scrollPosition } from '@progress/kendo-popup-common';
7
- import { isWindowAvailable, hasRelativeStackingContext, scrollableParents, zIndex } from '../util';
7
+ import { isWindowAvailable, hasRelativeStackingContext, scrollableParents } from '../util';
8
8
  import { isDocumentAvailable } from '@progress/kendo-angular-common';
9
9
  import * as i0 from "@angular/core";
10
10
  const STYLES = [
@@ -135,9 +135,6 @@ export class DOMService {
135
135
  windowViewPort(el) {
136
136
  return getWindowViewPort(this.nativeElement(el));
137
137
  }
138
- zIndex(anchor, container) {
139
- return zIndex(anchor, this.nativeElement(container));
140
- }
141
138
  zoomLevel() {
142
139
  if (!isDocumentAvailable() || !isWindowAvailable()) {
143
140
  return 1;
package/esm2022/util.mjs CHANGED
@@ -2,7 +2,6 @@
2
2
  * Copyright © 2025 Progress Software Corporation. All rights reserved.
3
3
  * Licensed under commercial license. See LICENSE.md in the project root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
- import { parents, siblingContainer } from '@progress/kendo-popup-common';
6
5
  import { isDocumentAvailable } from '@progress/kendo-angular-common';
7
6
  /**
8
7
  * @hidden
@@ -130,24 +129,6 @@ export const hasRelativeStackingContext = memoize(() => {
130
129
  document.body.removeChild(parent);
131
130
  return isDifferent;
132
131
  });
133
- /**
134
- * @hidden
135
- */
136
- export const zIndex = (anchor, container) => {
137
- if (!anchor || !isDocumentAvailable() || !isWindowAvailable()) {
138
- return null;
139
- }
140
- const sibling = siblingContainer(anchor, container);
141
- if (!sibling) {
142
- return null;
143
- }
144
- const result = [anchor].concat(parents(anchor, sibling)).reduce((index, p) => {
145
- const zIndexStyle = p.style.zIndex || window.getComputedStyle(p).zIndex;
146
- const current = parseInt(zIndexStyle, 10);
147
- return current > index ? current : index;
148
- }, 0);
149
- return result ? (result + 1) : null;
150
- };
151
132
  /**
152
133
  * @hidden
153
134
  */
@@ -4,7 +4,7 @@
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  import * as i0 from '@angular/core';
6
6
  import { Injectable, InjectionToken, Inject, Optional, EventEmitter, isDevMode, Component, Input, Output, ViewChild, TemplateRef, NgModule } from '@angular/core';
7
- import { siblingContainer, parents, addScroll, align, boundingOffset, offset, positionWithScroll, removeScroll, restrictToView, scrollPosition, getWindowViewPort } from '@progress/kendo-popup-common';
7
+ import { addScroll, align, boundingOffset, offset, positionWithScroll, removeScroll, restrictToView, scrollPosition, getWindowViewPort } from '@progress/kendo-popup-common';
8
8
  import * as i1$1 from '@progress/kendo-angular-common';
9
9
  import { isDocumentAvailable, hasObservers, ResizeSensorComponent, ResizeBatchService, KENDO_RESIZESENSOR } from '@progress/kendo-angular-common';
10
10
  import { fromEvent, merge, from } from 'rxjs';
@@ -140,24 +140,6 @@ const hasRelativeStackingContext = memoize(() => {
140
140
  document.body.removeChild(parent);
141
141
  return isDifferent;
142
142
  });
143
- /**
144
- * @hidden
145
- */
146
- const zIndex = (anchor, container) => {
147
- if (!anchor || !isDocumentAvailable() || !isWindowAvailable()) {
148
- return null;
149
- }
150
- const sibling = siblingContainer(anchor, container);
151
- if (!sibling) {
152
- return null;
153
- }
154
- const result = [anchor].concat(parents(anchor, sibling)).reduce((index, p) => {
155
- const zIndexStyle = p.style.zIndex || window.getComputedStyle(p).zIndex;
156
- const current = parseInt(zIndexStyle, 10);
157
- return current > index ? current : index;
158
- }, 0);
159
- return result ? (result + 1) : null;
160
- };
161
143
  /**
162
144
  * @hidden
163
145
  */
@@ -301,9 +283,6 @@ class DOMService {
301
283
  windowViewPort(el) {
302
284
  return getWindowViewPort(this.nativeElement(el));
303
285
  }
304
- zIndex(anchor, container) {
305
- return zIndex(anchor, this.nativeElement(container));
306
- }
307
286
  zoomLevel() {
308
287
  if (!isDocumentAvailable() || !isWindowAvailable()) {
309
288
  return 1;
@@ -684,8 +663,8 @@ const packageMetadata = {
684
663
  productName: 'Kendo UI for Angular',
685
664
  productCode: 'KENDOUIANGULAR',
686
665
  productCodes: ['KENDOUIANGULAR'],
687
- publishDate: 1759490577,
688
- version: '20.1.0-develop.9',
666
+ publishDate: 1761116964,
667
+ version: '20.1.0',
689
668
  licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/?utm_medium=product&utm_source=kendoangular&utm_campaign=kendo-ui-angular-purchase-license-keys-warning'
690
669
  };
691
670
 
@@ -824,7 +803,6 @@ class PopupComponent {
824
803
  this.animationSubscriptions.add(this.animationService.end.subscribe(this.onAnimationEnd.bind(this)));
825
804
  this._scrollableService.forElement(this.domService.nativeElement(this.anchor) || this.container.nativeElement).subscribe(this.onScroll.bind(this));
826
805
  this.currentOffset = DEFAULT_OFFSET;
827
- this.setZIndex();
828
806
  this.copyFontStyles();
829
807
  this.updateFixedClass();
830
808
  this.reposition();
@@ -891,11 +869,6 @@ class PopupComponent {
891
869
  this.setContainerStyle('top', `${offset.top}px`);
892
870
  this._currentOffset = offset;
893
871
  }
894
- setZIndex() {
895
- if (this.anchor) {
896
- this.setContainerStyle('z-index', String(this.domService.zIndex(this.domService.nativeElement(this.anchor), this.container)));
897
- }
898
- }
899
872
  reposition() {
900
873
  if (!isDocumentAvailable()) {
901
874
  return;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@progress/kendo-angular-popup",
3
- "version": "20.1.0-develop.9",
3
+ "version": "20.1.0",
4
4
  "description": "Kendo UI Angular Popup component - an easily customized popup from the most trusted provider of professional Angular components.",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "author": "Progress",
@@ -19,7 +19,7 @@
19
19
  "package": {
20
20
  "productName": "Kendo UI for Angular",
21
21
  "productCode": "KENDOUIANGULAR",
22
- "publishDate": 1759490577,
22
+ "publishDate": 1761116964,
23
23
  "licensingDocsUrl": "https://www.telerik.com/kendo-angular-ui/my-license/?utm_medium=product&utm_source=kendoangular&utm_campaign=kendo-ui-angular-purchase-license-keys-warning"
24
24
  }
25
25
  },
@@ -28,14 +28,14 @@
28
28
  "@angular/common": "16 - 20",
29
29
  "@angular/core": "16 - 20",
30
30
  "@angular/platform-browser": "16 - 20",
31
- "@progress/kendo-angular-common": "20.1.0-develop.9",
31
+ "@progress/kendo-angular-common": "20.1.0",
32
32
  "@progress/kendo-licensing": "^1.7.0",
33
33
  "rxjs": "^6.5.3 || ^7.0.0"
34
34
  },
35
35
  "dependencies": {
36
36
  "@progress/kendo-popup-common": "1.9.5",
37
37
  "tslib": "^2.3.1",
38
- "@progress/kendo-angular-schematics": "20.1.0-develop.9"
38
+ "@progress/kendo-angular-schematics": "20.1.0"
39
39
  },
40
40
  "schematics": "./schematics/collection.json",
41
41
  "module": "fesm2022/progress-kendo-angular-popup.mjs",
@@ -141,7 +141,6 @@ export declare class PopupComponent implements AfterViewInit, OnInit, OnChanges,
141
141
  private onAnimationEnd;
142
142
  private get currentOffset();
143
143
  private set currentOffset(value);
144
- private setZIndex;
145
144
  private reposition;
146
145
  private position;
147
146
  private onScroll;
@@ -31,7 +31,6 @@ export declare class DOMService {
31
31
  getRelativeContextElement(el: ElementRef): HTMLElement;
32
32
  useRelativePosition(el: ElementRef): boolean;
33
33
  windowViewPort(el: ElementRef): ViewPort;
34
- zIndex(anchor: HTMLElement, container: ElementRef): number;
35
34
  zoomLevel(): number;
36
35
  isZoomed(): boolean;
37
36
  static ɵfac: i0.ɵɵFactoryDeclaration<DOMService, never>;
package/util.d.ts CHANGED
@@ -43,10 +43,6 @@ export declare const FRAME_DURATION: number;
43
43
  * @hidden
44
44
  */
45
45
  export declare const hasRelativeStackingContext: any;
46
- /**
47
- * @hidden
48
- */
49
- export declare const zIndex: (anchor: HTMLElement, container: HTMLElement) => number | null;
50
46
  /**
51
47
  * @hidden
52
48
  */