@angular/cdk 22.0.0-next.0 → 22.0.0-next.2

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@angular/cdk",
3
- "version": "22.0.0-next.0",
3
+ "version": "22.0.0-next.2",
4
4
  "description": "Angular Material Component Development Kit",
5
5
  "repository": {
6
6
  "type": "git",
@@ -1,11 +1,6 @@
1
1
  {
2
2
  "$schema": "./node_modules/@angular-devkit/schematics/collection-schema.json",
3
3
  "schematics": {
4
- "migration-v21": {
5
- "version": "21.0.0-0",
6
- "description": "Updates the Angular CDK to v21",
7
- "factory": "./ng-update/index#updateToV21"
8
- },
9
4
  "migration-v22": {
10
5
  "version": "22.0.0-0",
11
6
  "description": "Updates the Angular CDK to v22",
@@ -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', `~22.0.0-next.0`, { existing: utility_1.ExistingBehavior.Skip });
29
+ return (0, utility_1.addDependency)('@angular/cdk', `~22.0.0-next.2`, { existing: utility_1.ExistingBehavior.Skip });
30
30
  }
31
31
  //# sourceMappingURL=index.js.map
@@ -6,7 +6,5 @@
6
6
  * found in the LICENSE file at https://angular.dev/license
7
7
  */
8
8
  import { Rule } from '@angular-devkit/schematics';
9
- /** Entry point for the migration schematics with target of Angular CDK 21.0.0 */
10
- export declare function updateToV21(): Rule;
11
9
  /** Entry point for the migration schematics with target of Angular CDK 22.0.0 */
12
10
  export declare function updateToV22(): Rule;
@@ -7,16 +7,11 @@
7
7
  * found in the LICENSE file at https://angular.dev/license
8
8
  */
9
9
  Object.defineProperty(exports, "__esModule", { value: true });
10
- exports.updateToV21 = updateToV21;
11
10
  exports.updateToV22 = updateToV22;
12
11
  const target_version_1 = require("../update-tool/target-version");
13
12
  const upgrade_data_1 = require("./upgrade-data");
14
13
  const devkit_migration_rule_1 = require("./devkit-migration-rule");
15
14
  const cdkMigrations = [];
16
- /** Entry point for the migration schematics with target of Angular CDK 21.0.0 */
17
- function updateToV21() {
18
- return (0, devkit_migration_rule_1.createMigrationSchematicRule)(target_version_1.TargetVersion.V21, cdkMigrations, upgrade_data_1.cdkUpgradeData, onMigrationComplete);
19
- }
20
15
  /** Entry point for the migration schematics with target of Angular CDK 22.0.0 */
21
16
  function updateToV22() {
22
17
  return (0, devkit_migration_rule_1.createMigrationSchematicRule)(target_version_1.TargetVersion.V22, cdkMigrations, upgrade_data_1.cdkUpgradeData, onMigrationComplete);
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;AAUH,kCAOC;AAGD,kCAOC;AAxBD,kEAA4D;AAC5D,iDAA8C;AAC9C,mEAA8F;AAE9F,MAAM,aAAa,GAA8B,EAAE,CAAC;AAEpD,iFAAiF;AACjF,SAAgB,WAAW;IACzB,OAAO,IAAA,oDAA4B,EACjC,8BAAa,CAAC,GAAG,EACjB,aAAa,EACb,6BAAc,EACd,mBAAmB,CACpB,CAAC;AACJ,CAAC;AAED,iFAAiF;AACjF,SAAgB,WAAW;IACzB,OAAO,IAAA,oDAA4B,EACjC,8BAAa,CAAC,GAAG,EACjB,aAAa,EACb,6BAAc,EACd,mBAAmB,CACpB,CAAC;AACJ,CAAC;AAED,iEAAiE;AACjE,SAAS,mBAAmB,CAC1B,OAAyB,EACzB,aAA4B,EAC5B,WAAoB;IAEpB,OAAO,CAAC,MAAM,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;IACxB,OAAO,CAAC,MAAM,CAAC,IAAI,CAAC,+BAA+B,aAAa,EAAE,CAAC,CAAC;IACpE,OAAO,CAAC,MAAM,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;IAExB,IAAI,WAAW,EAAE,CAAC;QAChB,OAAO,CAAC,MAAM,CAAC,IAAI,CACjB,wFAAwF;YACtF,6CAA6C,CAChD,CAAC;IACJ,CAAC;AACH,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;AAUH,kCAOC;AAdD,kEAA4D;AAC5D,iDAA8C;AAC9C,mEAA8F;AAE9F,MAAM,aAAa,GAA8B,EAAE,CAAC;AAEpD,iFAAiF;AACjF,SAAgB,WAAW;IACzB,OAAO,IAAA,oDAA4B,EACjC,8BAAa,CAAC,GAAG,EACjB,aAAa,EACb,6BAAc,EACd,mBAAmB,CACpB,CAAC;AACJ,CAAC;AAED,iEAAiE;AACjE,SAAS,mBAAmB,CAC1B,OAAyB,EACzB,aAA4B,EAC5B,WAAoB;IAEpB,OAAO,CAAC,MAAM,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;IACxB,OAAO,CAAC,MAAM,CAAC,IAAI,CAAC,+BAA+B,aAAa,EAAE,CAAC,CAAC;IACpE,OAAO,CAAC,MAAM,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;IAExB,IAAI,WAAW,EAAE,CAAC;QAChB,OAAO,CAAC,MAAM,CAAC,IAAI,CACjB,wFAAwF;YACtF,6CAA6C,CAChD,CAAC;IACJ,CAAC;AACH,CAAC"}
@@ -7,7 +7,6 @@
7
7
  */
8
8
  /** Possible versions that can be automatically migrated by `ng update`. */
9
9
  export declare enum TargetVersion {
10
- V21 = "version 21",
11
10
  V22 = "version 22"
12
11
  }
13
12
  /**
@@ -13,7 +13,6 @@ exports.getAllVersionNames = getAllVersionNames;
13
13
  // tslint:disable-next-line:prefer-const-enum
14
14
  var TargetVersion;
15
15
  (function (TargetVersion) {
16
- TargetVersion["V21"] = "version 21";
17
16
  TargetVersion["V22"] = "version 22";
18
17
  })(TargetVersion || (exports.TargetVersion = TargetVersion = {}));
19
18
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"target-version.js","sourceRoot":"","sources":["target-version.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;AAcH,gDAIC;AAhBD,2EAA2E;AAE3E,6CAA6C;AAC7C,IAAY,aAGX;AAHD,WAAY,aAAa;IACvB,mCAAkB,CAAA;IAClB,mCAAkB,CAAA;AACpB,CAAC,EAHW,aAAa,6BAAb,aAAa,QAGxB;AAED;;;GAGG;AACH,SAAgB,kBAAkB;IAChC,OAAO,MAAM,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC,MAAM,CAAC,SAAS,CAAC,EAAE;QACnD,OAAO,OAAQ,aAAoD,CAAC,SAAS,CAAC,KAAK,QAAQ,CAAC;IAC9F,CAAC,CAAC,CAAC;AACL,CAAC"}
1
+ {"version":3,"file":"target-version.js","sourceRoot":"","sources":["target-version.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;AAaH,gDAIC;AAfD,2EAA2E;AAE3E,6CAA6C;AAC7C,IAAY,aAEX;AAFD,WAAY,aAAa;IACvB,mCAAkB,CAAA;AACpB,CAAC,EAFW,aAAa,6BAAb,aAAa,QAExB;AAED;;;GAGG;AACH,SAAgB,kBAAkB;IAChC,OAAO,MAAM,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC,MAAM,CAAC,SAAS,CAAC,EAAE;QACnD,OAAO,OAAQ,aAAoD,CAAC,SAAS,CAAC,KAAK,QAAQ,CAAC;IAC9F,CAAC,CAAC,CAAC;AACL,CAAC"}