@angular/cdk 22.3.0-next.0 → 22.3.0-next.1

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/cdk.mjs CHANGED
@@ -1,6 +1,6 @@
1
1
  import { Version } from '@angular/core';
2
2
 
3
- const VERSION = new Version('22.3.0-next.0');
3
+ const VERSION = new Version('22.3.0-next.1');
4
4
 
5
5
  export { VERSION };
6
6
  //# sourceMappingURL=cdk.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"cdk.mjs","sources":["../../../../../darwin_arm64-fastbuild-ST-fdfa778d11ba/bin/src/cdk/version.ts"],"sourcesContent":["/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.dev/license\n */\n\nimport {Version} from '@angular/core';\n\n/** Current version of the Angular Component Development Kit. */\nexport const VERSION = new Version('22.3.0-next.0');\n"],"names":[],"mappings":";;MAWa,OAAO,GAAG,IAAI,OAAO,CAAC,mBAAmB;;"}
1
+ {"version":3,"file":"cdk.mjs","sources":["../../../../../darwin_arm64-fastbuild-ST-fdfa778d11ba/bin/src/cdk/version.ts"],"sourcesContent":["/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.dev/license\n */\n\nimport {Version} from '@angular/core';\n\n/** Current version of the Angular Component Development Kit. */\nexport const VERSION = new Version('22.3.0-next.1');\n"],"names":[],"mappings":";;MAWa,OAAO,GAAG,IAAI,OAAO,CAAC,mBAAmB;;"}
@@ -1192,7 +1192,7 @@ class DragRef {
1192
1192
  }
1193
1193
  _getPointerPositionOnPage(event) {
1194
1194
  const scrollPosition = this._getViewportScrollPosition();
1195
- const point = isTouchEvent(event) ? event.touches[0] || event.changedTouches[0] || {
1195
+ const point = isTouchEvent(event) ? event.targetTouches[0] || event.changedTouches[0] || {
1196
1196
  pageX: 0,
1197
1197
  pageY: 0
1198
1198
  } : event;
@@ -1397,7 +1397,7 @@ class DragRef {
1397
1397
  }
1398
1398
  if (previewContainer === 'global') {
1399
1399
  const documentRef = this._document;
1400
- return shadowRoot || documentRef.fullscreenElement || documentRef.webkitFullscreenElement || documentRef.mozFullScreenElement || documentRef.msFullscreenElement || documentRef.body;
1400
+ return shadowRoot || documentRef.fullscreenElement || documentRef.webkitFullscreenElement || documentRef.body;
1401
1401
  }
1402
1402
  return coerceElement(previewContainer);
1403
1403
  }