@progress/kendo-angular-indicators 24.0.0-develop.9 → 24.0.1-develop.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.
@@ -0,0 +1,50 @@
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.aiInstructions = void 0;
8
+ exports.default = default_1;
9
+ const tslib_1 = require("tslib");
10
+ const fs = tslib_1.__importStar(require("fs"));
11
+ const codemods_1 = require("@progress/kendo-angular-common/codemods");
12
+ exports.aiInstructions = `BadgeThemeColor no longer accepts 'light', 'dark', 'inverse' values.
13
+ Replace any use of the unsupported values with a supported value: 'base', 'primary', 'secondary', 'tertiary', 'info', 'success', 'warning', 'error'.
14
+
15
+ Static template bindings were removed automatically, which means the component now uses its default themeColor.
16
+ If you want to explicitly set a new value, re-add the attribute with a supported one:
17
+ Before: (removed by codemod — no themeColor attribute)
18
+ After: themeColor="base"
19
+
20
+ The following patterns could not be migrated automatically and require an additional update:
21
+
22
+ Dynamic binding:
23
+ Before: [themeColor]="color" (where color may be 'light' or 'dark')
24
+ After: [themeColor]="color" (ensure color is a supported value)
25
+
26
+ Conditional expression — replace both branch values:
27
+ Before: [themeColor]="isDark ? 'dark' : 'light'"
28
+ After: [themeColor]="isDark ? 'primary' : 'base'"
29
+
30
+ TypeScript assignment — update the assigned value:
31
+ Before: this.badge.themeColor = 'light';
32
+ After: this.badge.themeColor = 'base';`;
33
+ const REMOVED_VALUES = ['light', 'dark', 'inverse'];
34
+ function default_1(fileInfo, api) {
35
+ const filePath = fileInfo.path;
36
+ if (!(0, codemods_1.isApiChangeTarget)(filePath)) {
37
+ return fileInfo.source;
38
+ }
39
+ const htmlResult = (0, codemods_1.htmlTransformer)(fileInfo, api, (templateContent) => {
40
+ return (0, codemods_1.attributeConditionalRemoval)(templateContent, 'kendo-badge', 'themeColor', REMOVED_VALUES);
41
+ });
42
+ if (filePath.endsWith('.html')) {
43
+ if (htmlResult && htmlResult !== fileInfo.source) {
44
+ fs.writeFileSync(filePath, htmlResult, 'utf-8');
45
+ return htmlResult;
46
+ }
47
+ return fileInfo.source;
48
+ }
49
+ return htmlResult || fileInfo.source;
50
+ }
@@ -0,0 +1,50 @@
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.aiInstructions = void 0;
8
+ exports.default = default_1;
9
+ const tslib_1 = require("tslib");
10
+ const fs = tslib_1.__importStar(require("fs"));
11
+ const codemods_1 = require("@progress/kendo-angular-common/codemods");
12
+ exports.aiInstructions = `LoaderThemeColor no longer accepts 'light', 'dark', 'success', 'warning', 'error', 'info', 'inverse'.
13
+ Replace any use of the unsupported values with a supported value: 'base', 'primary', 'secondary', 'tertiary'.
14
+
15
+ Static template bindings were removed automatically, which means the component now uses its default themeColor.
16
+ If you want to explicitly set a new value, re-add the attribute with a supported one:
17
+ Before: (removed by codemod — no themeColor attribute)
18
+ After: themeColor="primary"
19
+
20
+ The following patterns could not be migrated automatically and require an additional update:
21
+
22
+ Dynamic binding:
23
+ Before: [themeColor]="color" (where color may be 'light', 'dark', etc.)
24
+ After: [themeColor]="color" (ensure color is a supported value)
25
+
26
+ Conditional expression — replace both branch values:
27
+ Before: [themeColor]="isDark ? 'dark' : 'light'"
28
+ After: [themeColor]="isDark ? 'primary' : 'base'"
29
+
30
+ TypeScript assignment — update the assigned value:
31
+ Before: this.loader.themeColor = 'light';
32
+ After: this.loader.themeColor = 'base';`;
33
+ const REMOVED_VALUES = ['light', 'dark', 'success', 'warning', 'error', 'inverse', 'info'];
34
+ function default_1(fileInfo, api) {
35
+ const filePath = fileInfo.path;
36
+ if (!(0, codemods_1.isApiChangeTarget)(filePath)) {
37
+ return fileInfo.source;
38
+ }
39
+ const htmlResult = (0, codemods_1.htmlTransformer)(fileInfo, api, (templateContent) => {
40
+ return (0, codemods_1.attributeConditionalRemoval)(templateContent, 'kendo-loader', 'themeColor', REMOVED_VALUES);
41
+ });
42
+ if (filePath.endsWith('.html')) {
43
+ if (htmlResult && htmlResult !== fileInfo.source) {
44
+ fs.writeFileSync(filePath, htmlResult, 'utf-8');
45
+ return htmlResult;
46
+ }
47
+ return fileInfo.source;
48
+ }
49
+ return htmlResult || fileInfo.source;
50
+ }
@@ -82,8 +82,8 @@ const packageMetadata = {
82
82
  productName: 'Kendo UI for Angular',
83
83
  productCode: 'KENDOUIANGULAR',
84
84
  productCodes: ['KENDOUIANGULAR'],
85
- publishDate: 1777365181,
86
- version: '24.0.0-develop.9',
85
+ publishDate: 1779368458,
86
+ version: '24.0.1-develop.1',
87
87
  licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
88
88
  };
89
89
 
@@ -6,17 +6,11 @@
6
6
  * Specifies the theme color options for the Loader component.
7
7
  *
8
8
  * The possible values are:
9
- * * `primary`—Applies coloring based on the primary theme color.
10
- * * `secondary`—Applies coloring based on the secondary theme color.
11
- * * `tertiary`— Applies coloring based on the tertiary theme color.
12
- * * `info`—Applies coloring based on the info theme color.
13
- * * `success`— Applies coloring based on the success theme color.
14
- * * `warning`— Applies coloring based on the warning theme color.
15
- * * `error`— Applies coloring based on the error theme color.
16
- * * `dark`— Applies coloring based on the dark theme color.
17
- * * `light`— Applies coloring based on the light theme color.
18
- * * `inverse`— Applies coloring based on the inverted theme color.
9
+ * * `base`—Applies base coloring value.
10
+ * * `primary`—Applies primary coloring value.
11
+ * * `secondary`—Applies secondary coloring value.
12
+ * * `tertiary`—Applies tertiary coloring value.
19
13
  *
20
14
  * For more information, see the [Loader Appearance - Theme Color]https://www.telerik.com/kendo-angular-ui/components/indicators/loader/appearance#theme-color) documentation.
21
15
  */
22
- export type LoaderThemeColor = 'primary' | 'secondary' | 'tertiary' | 'info' | 'success' | 'warning' | 'error' | 'dark' | 'light' | 'inverse';
16
+ export type LoaderThemeColor = 'base' | 'primary' | 'secondary' | 'tertiary';
@@ -7,7 +7,7 @@ export const packageMetadata = {
7
7
  "productCodes": [
8
8
  "KENDOUIANGULAR"
9
9
  ],
10
- "publishDate": 1777365181,
11
- "version": "24.0.0-develop.9",
10
+ "publishDate": 1779368458,
11
+ "version": "24.0.1-develop.1",
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-indicators",
3
- "version": "24.0.0-develop.9",
3
+ "version": "24.0.1-develop.1",
4
4
  "description": "Kendo UI Indicators for Angular",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "author": "Progress",
@@ -14,10 +14,28 @@
14
14
  ],
15
15
  "@progress": {
16
16
  "friendlyName": "Indicators",
17
+ "migrations": {
18
+ "options": {
19
+ "parser": "tsx",
20
+ "pattern": "*.{ts,html,css,scss,sass,less}"
21
+ },
22
+ "codemods": {
23
+ "24": [
24
+ {
25
+ "description": "BadgeThemeColor no longer accepts 'light', 'dark', or 'inverse' values.",
26
+ "file": "codemods/v24/badge-themecolor-light-dark.js"
27
+ },
28
+ {
29
+ "description": "LoaderThemeColor no longer accepts 'light', 'dark', 'success', 'warning', 'error', 'info', or 'inverse' values.",
30
+ "file": "codemods/v24/loader-themecolor-light-dark.js"
31
+ }
32
+ ]
33
+ }
34
+ },
17
35
  "package": {
18
36
  "productName": "Kendo UI for Angular",
19
37
  "productCode": "KENDOUIANGULAR",
20
- "publishDate": 1777365181,
38
+ "publishDate": 1779368458,
21
39
  "licensingDocsUrl": "https://www.telerik.com/kendo-angular-ui/my-license/"
22
40
  }
23
41
  },
@@ -27,14 +45,14 @@
27
45
  "@angular/core": "19 - 21",
28
46
  "@angular/platform-browser": "19 - 21",
29
47
  "@progress/kendo-licensing": "^1.11.0",
30
- "@progress/kendo-angular-common": "24.0.0-develop.9",
31
- "@progress/kendo-angular-intl": "24.0.0-develop.9",
32
- "@progress/kendo-angular-l10n": "24.0.0-develop.9",
48
+ "@progress/kendo-angular-common": "24.0.1-develop.1",
49
+ "@progress/kendo-angular-intl": "24.0.1-develop.1",
50
+ "@progress/kendo-angular-l10n": "24.0.1-develop.1",
33
51
  "rxjs": "^6.5.3 || ^7.0.0"
34
52
  },
35
53
  "dependencies": {
36
54
  "tslib": "^2.3.1",
37
- "@progress/kendo-angular-schematics": "24.0.0-develop.9"
55
+ "@progress/kendo-angular-schematics": "24.0.1-develop.1"
38
56
  },
39
57
  "schematics": "./schematics/collection.json",
40
58
  "module": "fesm2022/progress-kendo-angular-indicators.mjs",