@angular/cdk 19.1.3 → 19.1.5
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 +1 -1
- package/fesm2022/cdk.mjs.map +1 -1
- package/fesm2022/drag-drop.mjs +4 -3
- package/fesm2022/drag-drop.mjs.map +1 -1
- package/fesm2022/overlay.mjs +57 -68
- package/fesm2022/overlay.mjs.map +1 -1
- package/fesm2022/table.mjs +16 -14
- package/fesm2022/table.mjs.map +1 -1
- package/overlay/index.d.ts +1 -6
- package/package.json +11 -2
- package/schematics/ng-add/index.js +1 -1
- package/schematics/ng-add/index.mjs +1 -1
package/fesm2022/cdk.mjs
CHANGED
package/fesm2022/cdk.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cdk.mjs","sources":["../../../../../../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('19.1.
|
|
1
|
+
{"version":3,"file":"cdk.mjs","sources":["../../../../../../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('19.1.5');\n"],"names":[],"mappings":";;AAUA;MACa,OAAO,GAAG,IAAI,OAAO,CAAC,mBAAmB;;;;"}
|
package/fesm2022/drag-drop.mjs
CHANGED
|
@@ -4011,6 +4011,8 @@ class CdkDropList {
|
|
|
4011
4011
|
/** Registers an items with the drop list. */
|
|
4012
4012
|
addItem(item) {
|
|
4013
4013
|
this._unsortedItems.add(item);
|
|
4014
|
+
// Only sync the items while dragging since this method is
|
|
4015
|
+
// called when items are being initialized one-by-one.
|
|
4014
4016
|
if (this._dropListRef.isDragging()) {
|
|
4015
4017
|
this._syncItemsWithRef();
|
|
4016
4018
|
}
|
|
@@ -4018,9 +4020,8 @@ class CdkDropList {
|
|
|
4018
4020
|
/** Removes an item from the drop list. */
|
|
4019
4021
|
removeItem(item) {
|
|
4020
4022
|
this._unsortedItems.delete(item);
|
|
4021
|
-
|
|
4022
|
-
|
|
4023
|
-
}
|
|
4023
|
+
// This method might be called on destroy so we always want to sync with the ref.
|
|
4024
|
+
this._syncItemsWithRef();
|
|
4024
4025
|
}
|
|
4025
4026
|
/** Gets the registered items in the list, sorted by their position in the DOM. */
|
|
4026
4027
|
getSortedItems() {
|