@progress/kendo-angular-layout 25.0.0-develop.25 → 25.0.0-develop.27
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.
|
@@ -13,6 +13,7 @@ exports.writeInstructionMarker = writeInstructionMarker;
|
|
|
13
13
|
exports.isApiChangeTarget = isApiChangeTarget;
|
|
14
14
|
exports.isRenderingChangeTarget = isRenderingChangeTarget;
|
|
15
15
|
exports.executeCodemodTest = executeCodemodTest;
|
|
16
|
+
exports.removeAttributeFromDirectiveHost = removeAttributeFromDirectiveHost;
|
|
16
17
|
const tslib_1 = require("tslib");
|
|
17
18
|
/// <reference types="node" />
|
|
18
19
|
const fs = tslib_1.__importStar(require("fs"));
|
|
@@ -1486,3 +1487,17 @@ function executeCodemodTest(codemod, testDir, exampleFileName = 'example.ts', ex
|
|
|
1486
1487
|
catch { }
|
|
1487
1488
|
}
|
|
1488
1489
|
}
|
|
1490
|
+
function removeAttributeFromDirectiveHost(templateContent, directiveAttr, attrToRemove) {
|
|
1491
|
+
const escapedDirective = directiveAttr.replace(/[.*+?^${}()|[\]\\]/g, '\\$&');
|
|
1492
|
+
const escapedAttr = attrToRemove.replace(/[.*+?^${}()|[\]\\]/g, '\\$&');
|
|
1493
|
+
const boundPattern = new RegExp(`(<[a-zA-Z][a-zA-Z0-9-]*[^>]*${escapedDirective}[^>]*?)\\s+\\[${escapedAttr}\\]\\s*=\\s*("(?:[^"\\\\]|\\\\.)*?"|'(?:[^'\\\\]|\\\\.)*?'|[^\\s>]+)([^>]*?>)`, 'gi');
|
|
1494
|
+
const staticPattern = new RegExp(`(<[a-zA-Z][a-zA-Z0-9-]*[^>]*${escapedDirective}[^>]*?)\\s+${escapedAttr}\\s*=\\s*("(?:[^"\\\\]|\\\\.)*?"|'(?:[^'\\\\]|\\\\.)*?'|[^\\s>]+)([^>]*?>)`, 'gi');
|
|
1495
|
+
// Also match when the attribute appears before the directive
|
|
1496
|
+
const boundPatternBefore = new RegExp(`(<[a-zA-Z][a-zA-Z0-9-]*[^>]*?)\\s+\\[${escapedAttr}\\]\\s*=\\s*("(?:[^"\\\\]|\\\\.)*?"|'(?:[^'\\\\]|\\\\.)*?'|[^\\s>]+)([^>]*${escapedDirective}[^>]*?>)`, 'gi');
|
|
1497
|
+
const staticPatternBefore = new RegExp(`(<[a-zA-Z][a-zA-Z0-9-]*[^>]*?)\\s+${escapedAttr}\\s*=\\s*("(?:[^"\\\\]|\\\\.)*?"|'(?:[^'\\\\]|\\\\.)*?'|[^\\s>]+)([^>]*${escapedDirective}[^>]*?>)`, 'gi');
|
|
1498
|
+
let result = templateContent.replace(boundPattern, '$1$3');
|
|
1499
|
+
result = result.replace(staticPattern, '$1$3');
|
|
1500
|
+
result = result.replace(boundPatternBefore, '$1$3');
|
|
1501
|
+
result = result.replace(staticPatternBefore, '$1$3');
|
|
1502
|
+
return result;
|
|
1503
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
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 codemods_1 = require("@progress/kendo-angular-common/codemods");
|
|
10
|
+
exports.aiInstructions = `Review your stylesheets, test files, and any code that references these Tabstrip classes:
|
|
11
|
+
|
|
12
|
+
k-rounded-none — removed from scrollable buttons in Tabstrip.
|
|
13
|
+
Remove any CSS rules or test assertions targeting .k-rounded-none on Tabstrip scroll buttons.`;
|
|
14
|
+
const classes = ['k-rounded-none'];
|
|
15
|
+
const pattern = (0, codemods_1.makePattern)(classes);
|
|
16
|
+
function default_1(fileInfo) {
|
|
17
|
+
if ((0, codemods_1.isRenderingChangeTarget)(fileInfo.path)) {
|
|
18
|
+
if (pattern.test(fileInfo.source)) {
|
|
19
|
+
(0, codemods_1.writeInstructionMarker)(exports.aiInstructions, __filename, fileInfo.path);
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
return fileInfo.source;
|
|
23
|
+
}
|
|
@@ -29,8 +29,8 @@ const packageMetadata = {
|
|
|
29
29
|
productName: 'Kendo UI for Angular',
|
|
30
30
|
productCode: 'KENDOUIANGULAR',
|
|
31
31
|
productCodes: ['KENDOUIANGULAR'],
|
|
32
|
-
publishDate:
|
|
33
|
-
version: '25.0.0-develop.
|
|
32
|
+
publishDate: 1786387363,
|
|
33
|
+
version: '25.0.0-develop.27',
|
|
34
34
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/?utm_medium=product&utm_source=kendoangular&utm_campaign=kendo-ui-angular-purchase-license-keys-warning'
|
|
35
35
|
};
|
|
36
36
|
|
package/package-metadata.mjs
CHANGED
|
@@ -7,7 +7,7 @@ export const packageMetadata = {
|
|
|
7
7
|
"productCodes": [
|
|
8
8
|
"KENDOUIANGULAR"
|
|
9
9
|
],
|
|
10
|
-
"publishDate":
|
|
11
|
-
"version": "25.0.0-develop.
|
|
10
|
+
"publishDate": 1786387363,
|
|
11
|
+
"version": "25.0.0-develop.27",
|
|
12
12
|
"licensingDocsUrl": "https://www.telerik.com/kendo-angular-ui/my-license/?utm_medium=product&utm_source=kendoangular&utm_campaign=kendo-ui-angular-purchase-license-keys-warning"
|
|
13
13
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@progress/kendo-angular-layout",
|
|
3
|
-
"version": "25.0.0-develop.
|
|
3
|
+
"version": "25.0.0-develop.27",
|
|
4
4
|
"description": "Kendo UI for Angular Layout Package - a collection of components to create professional application layoyts",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"author": "Progress",
|
|
@@ -73,13 +73,20 @@
|
|
|
73
73
|
"file": "codemods/v24/drawer-miniwidth.js",
|
|
74
74
|
"instructionsOnly": true
|
|
75
75
|
}
|
|
76
|
+
],
|
|
77
|
+
"25": [
|
|
78
|
+
{
|
|
79
|
+
"description": "The Tabstrip has rendering changes that may affect custom styling.",
|
|
80
|
+
"file": "codemods/v25/layout-rendering-changes.js",
|
|
81
|
+
"instructionsOnly": true
|
|
82
|
+
}
|
|
76
83
|
]
|
|
77
84
|
}
|
|
78
85
|
},
|
|
79
86
|
"package": {
|
|
80
87
|
"productName": "Kendo UI for Angular",
|
|
81
88
|
"productCode": "KENDOUIANGULAR",
|
|
82
|
-
"publishDate":
|
|
89
|
+
"publishDate": 1786387363,
|
|
83
90
|
"licensingDocsUrl": "https://www.telerik.com/kendo-angular-ui/my-license/?utm_medium=product&utm_source=kendoangular&utm_campaign=kendo-ui-angular-purchase-license-keys-warning"
|
|
84
91
|
}
|
|
85
92
|
},
|
|
@@ -89,17 +96,17 @@
|
|
|
89
96
|
"@angular/core": "20 - 22",
|
|
90
97
|
"@angular/platform-browser": "20 - 22",
|
|
91
98
|
"@progress/kendo-licensing": "^1.11.0",
|
|
92
|
-
"@progress/kendo-angular-common": "25.0.0-develop.
|
|
93
|
-
"@progress/kendo-angular-l10n": "25.0.0-develop.
|
|
94
|
-
"@progress/kendo-angular-progressbar": "25.0.0-develop.
|
|
95
|
-
"@progress/kendo-angular-icons": "25.0.0-develop.
|
|
96
|
-
"@progress/kendo-angular-buttons": "25.0.0-develop.
|
|
97
|
-
"@progress/kendo-angular-intl": "25.0.0-develop.
|
|
99
|
+
"@progress/kendo-angular-common": "25.0.0-develop.27",
|
|
100
|
+
"@progress/kendo-angular-l10n": "25.0.0-develop.27",
|
|
101
|
+
"@progress/kendo-angular-progressbar": "25.0.0-develop.27",
|
|
102
|
+
"@progress/kendo-angular-icons": "25.0.0-develop.27",
|
|
103
|
+
"@progress/kendo-angular-buttons": "25.0.0-develop.27",
|
|
104
|
+
"@progress/kendo-angular-intl": "25.0.0-develop.27",
|
|
98
105
|
"rxjs": "^6.5.3 || ^7.0.0"
|
|
99
106
|
},
|
|
100
107
|
"dependencies": {
|
|
101
108
|
"tslib": "^2.3.1",
|
|
102
|
-
"@progress/kendo-angular-schematics": "25.0.0-develop.
|
|
109
|
+
"@progress/kendo-angular-schematics": "25.0.0-develop.27",
|
|
103
110
|
"@progress/kendo-draggable": "^3.0.2"
|
|
104
111
|
},
|
|
105
112
|
"schematics": "./schematics/collection.json",
|