@angular/cdk 20.2.2 → 21.0.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,7 +1,7 @@
1
1
  import { Version } from '@angular/core';
2
2
 
3
3
  /** Current version of the Angular Component Development Kit. */
4
- const VERSION = new Version('20.2.2');
4
+ const VERSION = new Version('21.0.0-next.1');
5
5
 
6
6
  export { VERSION };
7
7
  //# sourceMappingURL=cdk.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"cdk.mjs","sources":["../../../../../darwin_arm64-fastbuild-ST-199a4f3c4e20/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('20.2.2');\n"],"names":[],"mappings":";;AAUA;MACa,OAAO,GAAG,IAAI,OAAO,CAAC,mBAAmB;;;;"}
1
+ {"version":3,"file":"cdk.mjs","sources":["../../../../../darwin_arm64-fastbuild-ST-199a4f3c4e20/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('21.0.0-next.1');\n"],"names":[],"mappings":";;AAUA;MACa,OAAO,GAAG,IAAI,OAAO,CAAC,mBAAmB;;;;"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@angular/cdk",
3
- "version": "20.2.2",
3
+ "version": "21.0.0-next.1",
4
4
  "description": "Angular Material Component Development Kit",
5
5
  "repository": {
6
6
  "type": "git",
@@ -158,8 +158,8 @@
158
158
  }
159
159
  },
160
160
  "peerDependencies": {
161
- "@angular/core": "^20.0.0 || ^21.0.0",
162
- "@angular/common": "^20.0.0 || ^21.0.0",
161
+ "@angular/core": "^21.0.0-0 || ^21.1.0-0 || ^21.2.0-0 || ^21.3.0-0 || ^22.0.0-0",
162
+ "@angular/common": "^21.0.0-0 || ^21.1.0-0 || ^21.2.0-0 || ^21.3.0-0 || ^22.0.0-0",
163
163
  "rxjs": "^6.5.3 || ^7.4.0"
164
164
  },
165
165
  "dependencies": {
@@ -1,10 +1,10 @@
1
1
  {
2
2
  "$schema": "./node_modules/@angular-devkit/schematics/collection-schema.json",
3
3
  "schematics": {
4
- "migration-v20": {
5
- "version": "20.0.0-0",
6
- "description": "Updates the Angular CDK to v20",
7
- "factory": "./ng-update/index#updateToV20"
4
+ "migration-v21": {
5
+ "version": "21.0.0-0",
6
+ "description": "Updates the Angular CDK to v21",
7
+ "factory": "./ng-update/index#updateToV21"
8
8
  },
9
9
  "ng-post-update": {
10
10
  "description": "Prints out results after ng-update.",
@@ -26,6 +26,6 @@ function default_1() {
26
26
  // In order to align the CDK version with other Angular dependencies that are setup by
27
27
  // `@schematics/angular`, we use tilde instead of caret. This is default for Angular
28
28
  // dependencies in new CLI projects.
29
- return (0, utility_1.addDependency)('@angular/cdk', `~20.2.2`, { existing: utility_1.ExistingBehavior.Skip });
29
+ return (0, utility_1.addDependency)('@angular/cdk', `~21.0.0-next.1`, { existing: utility_1.ExistingBehavior.Skip });
30
30
  }
31
31
  //# sourceMappingURL=index.js.map
@@ -7,4 +7,4 @@
7
7
  */
8
8
  import { Rule } from '@angular-devkit/schematics';
9
9
  /** Entry point for the migration schematics with target of Angular CDK 20.0.0 */
10
- export declare function updateToV20(): Rule;
10
+ export declare function updateToV21(): Rule;
@@ -7,14 +7,14 @@
7
7
  * found in the LICENSE file at https://angular.dev/license
8
8
  */
9
9
  Object.defineProperty(exports, "__esModule", { value: true });
10
- exports.updateToV20 = updateToV20;
10
+ exports.updateToV21 = updateToV21;
11
11
  const target_version_1 = require("../update-tool/target-version");
12
12
  const upgrade_data_1 = require("./upgrade-data");
13
13
  const devkit_migration_rule_1 = require("./devkit-migration-rule");
14
14
  const cdkMigrations = [];
15
15
  /** Entry point for the migration schematics with target of Angular CDK 20.0.0 */
16
- function updateToV20() {
17
- return (0, devkit_migration_rule_1.createMigrationSchematicRule)(target_version_1.TargetVersion.V20, cdkMigrations, upgrade_data_1.cdkUpgradeData, onMigrationComplete);
16
+ function updateToV21() {
17
+ return (0, devkit_migration_rule_1.createMigrationSchematicRule)(target_version_1.TargetVersion.V21, cdkMigrations, upgrade_data_1.cdkUpgradeData, onMigrationComplete);
18
18
  }
19
19
  /** Function that will be called when the migration completed. */
20
20
  function onMigrationComplete(context, targetVersion, hasFailures) {
@@ -7,7 +7,7 @@
7
7
  */
8
8
  /** Possible versions that can be automatically migrated by `ng update`. */
9
9
  export declare enum TargetVersion {
10
- V20 = "version 20"
10
+ V21 = "version 21"
11
11
  }
12
12
  /**
13
13
  * Returns all versions that are supported by "ng update". The versions are determined
@@ -13,7 +13,7 @@ exports.getAllVersionNames = getAllVersionNames;
13
13
  // tslint:disable-next-line:prefer-const-enum
14
14
  var TargetVersion;
15
15
  (function (TargetVersion) {
16
- TargetVersion["V20"] = "version 20";
16
+ TargetVersion["V21"] = "version 21";
17
17
  })(TargetVersion || (exports.TargetVersion = TargetVersion = {}));
18
18
  /**
19
19
  * Returns all versions that are supported by "ng update". The versions are determined