@progress/kendo-angular-dialog 24.0.0-develop.38 → 24.0.0-develop.39

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.
@@ -0,0 +1,30 @@
1
+ /**-----------------------------------------------------------------------------------------
2
+ * Copyright © 2026 Progress Software Corporation. All rights reserved.
3
+ * Licensed under commercial license. See LICENSE.md in the project root for more information
4
+ *-------------------------------------------------------------------------------------------*/
5
+ "use strict";
6
+ Object.defineProperty(exports, "__esModule", { value: true });
7
+ exports.default = default_1;
8
+ const tslib_1 = require("tslib");
9
+ const fs = tslib_1.__importStar(require("fs"));
10
+ const codemods_1 = require("@progress/kendo-angular-common/codemods");
11
+ function default_1(fileInfo, api) {
12
+ const filePath = fileInfo.path;
13
+ if (!(0, codemods_1.isApiChangeTarget)(filePath)) {
14
+ return fileInfo.source;
15
+ }
16
+ // Handle HTML files and inline templates
17
+ const htmlResult = (0, codemods_1.htmlTransformer)(fileInfo, api, (templateContent) => (0, codemods_1.attributeRemoval)(templateContent, 'kendo-dialog', 'themeColor'));
18
+ if (filePath.endsWith('.html')) {
19
+ if (htmlResult && htmlResult !== fileInfo.source) {
20
+ fs.writeFileSync(filePath, htmlResult, 'utf-8');
21
+ return htmlResult;
22
+ }
23
+ return fileInfo.source;
24
+ }
25
+ // Handle TypeScript property transformations
26
+ const j = api.jscodeshift;
27
+ const rootSource = j(htmlResult || fileInfo.source);
28
+ (0, codemods_1.tsPropertyRemoval)(fileInfo.source, rootSource, j, '@progress/kendo-angular-dialog', 'DialogComponent', 'themeColor');
29
+ return rootSource.toSource();
30
+ }
@@ -0,0 +1,22 @@
1
+ /**-----------------------------------------------------------------------------------------
2
+ * Copyright © 2026 Progress Software Corporation. All rights reserved.
3
+ * Licensed under commercial license. See LICENSE.md in the project root for more information
4
+ *-------------------------------------------------------------------------------------------*/
5
+ "use strict";
6
+ Object.defineProperty(exports, "__esModule", { value: true });
7
+ exports.default = default_1;
8
+ const codemods_1 = require("@progress/kendo-angular-common/codemods");
9
+ function default_1(fileInfo, api) {
10
+ const filePath = fileInfo.path;
11
+ if (!(0, codemods_1.isApiChangeTarget)(filePath)) {
12
+ return fileInfo.source;
13
+ }
14
+ if (filePath.endsWith('.html')) {
15
+ return fileInfo.source;
16
+ }
17
+ const j = api.jscodeshift;
18
+ const rootSource = j(fileInfo.source);
19
+ (0, codemods_1.tsPropertyRemoval)(fileInfo.source, rootSource, j, '@progress/kendo-angular-dialog', 'DialogSettings', 'themeColor');
20
+ (0, codemods_1.tsPropertyRemoval)(fileInfo.source, rootSource, j, '@progress/kendo-angular-dialog', 'WindowSettings', 'themeColor');
21
+ return rootSource.toSource();
22
+ }
@@ -0,0 +1,30 @@
1
+ /**-----------------------------------------------------------------------------------------
2
+ * Copyright © 2026 Progress Software Corporation. All rights reserved.
3
+ * Licensed under commercial license. See LICENSE.md in the project root for more information
4
+ *-------------------------------------------------------------------------------------------*/
5
+ "use strict";
6
+ Object.defineProperty(exports, "__esModule", { value: true });
7
+ exports.default = default_1;
8
+ const tslib_1 = require("tslib");
9
+ const fs = tslib_1.__importStar(require("fs"));
10
+ const codemods_1 = require("@progress/kendo-angular-common/codemods");
11
+ function default_1(fileInfo, api) {
12
+ const filePath = fileInfo.path;
13
+ if (!(0, codemods_1.isApiChangeTarget)(filePath)) {
14
+ return fileInfo.source;
15
+ }
16
+ // Handle HTML files and inline templates
17
+ const htmlResult = (0, codemods_1.htmlTransformer)(fileInfo, api, (templateContent) => (0, codemods_1.attributeRemoval)(templateContent, 'kendo-window', 'themeColor'));
18
+ if (filePath.endsWith('.html')) {
19
+ if (htmlResult && htmlResult !== fileInfo.source) {
20
+ fs.writeFileSync(filePath, htmlResult, 'utf-8');
21
+ return htmlResult;
22
+ }
23
+ return fileInfo.source;
24
+ }
25
+ // Handle TypeScript property transformations
26
+ const j = api.jscodeshift;
27
+ const rootSource = j(htmlResult || fileInfo.source);
28
+ (0, codemods_1.tsPropertyRemoval)(fileInfo.source, rootSource, j, '@progress/kendo-angular-dialog', 'WindowComponent', 'themeColor');
29
+ return rootSource.toSource();
30
+ }
@@ -513,8 +513,8 @@ const packageMetadata = {
513
513
  productName: 'Kendo UI for Angular',
514
514
  productCode: 'KENDOUIANGULAR',
515
515
  productCodes: ['KENDOUIANGULAR'],
516
- publishDate: 1779191910,
517
- version: '24.0.0-develop.38',
516
+ publishDate: 1779209685,
517
+ version: '24.0.0-develop.39',
518
518
  licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
519
519
  };
520
520
 
@@ -7,7 +7,7 @@ export const packageMetadata = {
7
7
  "productCodes": [
8
8
  "KENDOUIANGULAR"
9
9
  ],
10
- "publishDate": 1779191910,
11
- "version": "24.0.0-develop.38",
10
+ "publishDate": 1779209685,
11
+ "version": "24.0.0-develop.39",
12
12
  "licensingDocsUrl": "https://www.telerik.com/kendo-angular-ui/my-license/"
13
13
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@progress/kendo-angular-dialog",
3
- "version": "24.0.0-develop.38",
3
+ "version": "24.0.0-develop.39",
4
4
  "description": "Dialog Package for Angular",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "author": "Progress",
@@ -20,10 +20,32 @@
20
20
  ],
21
21
  "@progress": {
22
22
  "friendlyName": "Dialogs",
23
+ "migrations": {
24
+ "options": {
25
+ "parser": "tsx",
26
+ "pattern": "*.{ts,html,css,scss,sass,less}"
27
+ },
28
+ "codemods": {
29
+ "24": [
30
+ {
31
+ "description": "The Dialog's themeColor input property is removed.",
32
+ "file": "codemods/v24/dialog-themeColor.js"
33
+ },
34
+ {
35
+ "description": "The Window's themeColor input property is removed.",
36
+ "file": "codemods/v24/window-themeColor.js"
37
+ },
38
+ {
39
+ "description": "The themeColor property is removed from DialogSettings and WindowSettings.",
40
+ "file": "codemods/v24/dialogSettings-themeColor.js"
41
+ }
42
+ ]
43
+ }
44
+ },
23
45
  "package": {
24
46
  "productName": "Kendo UI for Angular",
25
47
  "productCode": "KENDOUIANGULAR",
26
- "publishDate": 1779191910,
48
+ "publishDate": 1779209685,
27
49
  "licensingDocsUrl": "https://www.telerik.com/kendo-angular-ui/my-license/"
28
50
  }
29
51
  },
@@ -33,15 +55,15 @@
33
55
  "@angular/core": "19 - 21",
34
56
  "@angular/platform-browser": "19 - 21",
35
57
  "@progress/kendo-licensing": "^1.11.0",
36
- "@progress/kendo-angular-buttons": "24.0.0-develop.38",
37
- "@progress/kendo-angular-common": "24.0.0-develop.38",
38
- "@progress/kendo-angular-icons": "24.0.0-develop.38",
39
- "@progress/kendo-angular-l10n": "24.0.0-develop.38",
58
+ "@progress/kendo-angular-buttons": "24.0.0-develop.39",
59
+ "@progress/kendo-angular-common": "24.0.0-develop.39",
60
+ "@progress/kendo-angular-icons": "24.0.0-develop.39",
61
+ "@progress/kendo-angular-l10n": "24.0.0-develop.39",
40
62
  "rxjs": "^6.5.3 || ^7.0.0"
41
63
  },
42
64
  "dependencies": {
43
65
  "tslib": "^2.3.1",
44
- "@progress/kendo-angular-schematics": "24.0.0-develop.38",
66
+ "@progress/kendo-angular-schematics": "24.0.0-develop.39",
45
67
  "@progress/kendo-popup-common": "1.9.5"
46
68
  },
47
69
  "schematics": "./schematics/collection.json",
@@ -9,7 +9,7 @@ const schematics_1 = require("@angular-devkit/schematics");
9
9
  function default_1(options) {
10
10
  const finalOptions = Object.assign(Object.assign({}, options), { mainNgModule: 'DialogsModule', package: 'dialog', peerDependencies: {
11
11
  // Peer dependency of buttons
12
- '@progress/kendo-angular-popup': '24.0.0-develop.38',
12
+ '@progress/kendo-angular-popup': '24.0.0-develop.39',
13
13
  // Peer dependency of icons
14
14
  '@progress/kendo-svg-icons': '^4.0.0'
15
15
  } });