@progress/kendo-angular-grid 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 Grid classes:
|
|
11
|
+
|
|
12
|
+
k-grouping-row-text — When the Grid is grouped, the group header content is now wrapped in .k-grouping-row-text (DOM hierarchy is updated).
|
|
13
|
+
Update selectors that target group header content directly — it is now nested inside .k-grouping-row-text.`;
|
|
14
|
+
const classes = ['k-grouping-row-text'];
|
|
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
|
+
}
|
|
@@ -25163,8 +25163,8 @@ const packageMetadata = {
|
|
|
25163
25163
|
productName: 'Kendo UI for Angular',
|
|
25164
25164
|
productCode: 'KENDOUIANGULAR',
|
|
25165
25165
|
productCodes: ['KENDOUIANGULAR'],
|
|
25166
|
-
publishDate:
|
|
25167
|
-
version: '25.0.0-develop.
|
|
25166
|
+
publishDate: 1786387525,
|
|
25167
|
+
version: '25.0.0-develop.27',
|
|
25168
25168
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
|
|
25169
25169
|
};
|
|
25170
25170
|
|
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": 1786387525,
|
|
11
|
+
"version": "25.0.0-develop.27",
|
|
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-grid",
|
|
3
|
-
"version": "25.0.0-develop.
|
|
3
|
+
"version": "25.0.0-develop.27",
|
|
4
4
|
"description": "Kendo UI Grid for Angular - high performance data grid with paging, filtering, virtualization, CRUD, and more.",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"author": "Progress",
|
|
@@ -88,13 +88,20 @@
|
|
|
88
88
|
"description": "Rename GridToolbarAIPromptSettings interface to GridAIAssistantPromptSettings",
|
|
89
89
|
"file": "codemods/v21/grid-gridtoolbaraipromptsettings.js"
|
|
90
90
|
}
|
|
91
|
+
],
|
|
92
|
+
"25": [
|
|
93
|
+
{
|
|
94
|
+
"description": "The Grid has rendering changes that may affect custom styling.",
|
|
95
|
+
"file": "codemods/v25/grid-rendering-changes.js",
|
|
96
|
+
"instructionsOnly": true
|
|
97
|
+
}
|
|
91
98
|
]
|
|
92
99
|
}
|
|
93
100
|
},
|
|
94
101
|
"package": {
|
|
95
102
|
"productName": "Kendo UI for Angular",
|
|
96
103
|
"productCode": "KENDOUIANGULAR",
|
|
97
|
-
"publishDate":
|
|
104
|
+
"publishDate": 1786387525,
|
|
98
105
|
"licensingDocsUrl": "https://www.telerik.com/kendo-angular-ui/my-license/"
|
|
99
106
|
}
|
|
100
107
|
},
|
|
@@ -107,32 +114,32 @@
|
|
|
107
114
|
"@progress/kendo-data-query": "^1.7.3",
|
|
108
115
|
"@progress/kendo-drawing": "^1.25.0",
|
|
109
116
|
"@progress/kendo-licensing": "^1.11.0",
|
|
110
|
-
"@progress/kendo-angular-buttons": "25.0.0-develop.
|
|
111
|
-
"@progress/kendo-angular-common": "25.0.0-develop.
|
|
112
|
-
"@progress/kendo-angular-dateinputs": "25.0.0-develop.
|
|
113
|
-
"@progress/kendo-angular-layout": "25.0.0-develop.
|
|
114
|
-
"@progress/kendo-angular-navigation": "25.0.0-develop.
|
|
115
|
-
"@progress/kendo-angular-dropdowns": "25.0.0-develop.
|
|
116
|
-
"@progress/kendo-angular-excel-export": "25.0.0-develop.
|
|
117
|
-
"@progress/kendo-angular-icons": "25.0.0-develop.
|
|
118
|
-
"@progress/kendo-angular-indicators": "25.0.0-develop.
|
|
119
|
-
"@progress/kendo-angular-inputs": "25.0.0-develop.
|
|
120
|
-
"@progress/kendo-angular-conversational-ui": "25.0.0-develop.
|
|
121
|
-
"@progress/kendo-angular-intl": "25.0.0-develop.
|
|
122
|
-
"@progress/kendo-angular-l10n": "25.0.0-develop.
|
|
123
|
-
"@progress/kendo-angular-label": "25.0.0-develop.
|
|
124
|
-
"@progress/kendo-angular-menu": "25.0.0-develop.
|
|
125
|
-
"@progress/kendo-angular-pager": "25.0.0-develop.
|
|
126
|
-
"@progress/kendo-angular-pdf-export": "25.0.0-develop.
|
|
127
|
-
"@progress/kendo-angular-popup": "25.0.0-develop.
|
|
128
|
-
"@progress/kendo-angular-toolbar": "25.0.0-develop.
|
|
129
|
-
"@progress/kendo-angular-upload": "25.0.0-develop.
|
|
130
|
-
"@progress/kendo-angular-utils": "25.0.0-develop.
|
|
117
|
+
"@progress/kendo-angular-buttons": "25.0.0-develop.27",
|
|
118
|
+
"@progress/kendo-angular-common": "25.0.0-develop.27",
|
|
119
|
+
"@progress/kendo-angular-dateinputs": "25.0.0-develop.27",
|
|
120
|
+
"@progress/kendo-angular-layout": "25.0.0-develop.27",
|
|
121
|
+
"@progress/kendo-angular-navigation": "25.0.0-develop.27",
|
|
122
|
+
"@progress/kendo-angular-dropdowns": "25.0.0-develop.27",
|
|
123
|
+
"@progress/kendo-angular-excel-export": "25.0.0-develop.27",
|
|
124
|
+
"@progress/kendo-angular-icons": "25.0.0-develop.27",
|
|
125
|
+
"@progress/kendo-angular-indicators": "25.0.0-develop.27",
|
|
126
|
+
"@progress/kendo-angular-inputs": "25.0.0-develop.27",
|
|
127
|
+
"@progress/kendo-angular-conversational-ui": "25.0.0-develop.27",
|
|
128
|
+
"@progress/kendo-angular-intl": "25.0.0-develop.27",
|
|
129
|
+
"@progress/kendo-angular-l10n": "25.0.0-develop.27",
|
|
130
|
+
"@progress/kendo-angular-label": "25.0.0-develop.27",
|
|
131
|
+
"@progress/kendo-angular-menu": "25.0.0-develop.27",
|
|
132
|
+
"@progress/kendo-angular-pager": "25.0.0-develop.27",
|
|
133
|
+
"@progress/kendo-angular-pdf-export": "25.0.0-develop.27",
|
|
134
|
+
"@progress/kendo-angular-popup": "25.0.0-develop.27",
|
|
135
|
+
"@progress/kendo-angular-toolbar": "25.0.0-develop.27",
|
|
136
|
+
"@progress/kendo-angular-upload": "25.0.0-develop.27",
|
|
137
|
+
"@progress/kendo-angular-utils": "25.0.0-develop.27",
|
|
131
138
|
"rxjs": "^6.5.3 || ^7.0.0"
|
|
132
139
|
},
|
|
133
140
|
"dependencies": {
|
|
134
141
|
"tslib": "^2.3.1",
|
|
135
|
-
"@progress/kendo-angular-schematics": "25.0.0-develop.
|
|
142
|
+
"@progress/kendo-angular-schematics": "25.0.0-develop.27",
|
|
136
143
|
"@progress/kendo-common": "^1.0.1",
|
|
137
144
|
"@progress/kendo-file-saver": "^1.0.0",
|
|
138
145
|
"@progress/kendo-csv": "^1.0.0"
|
|
@@ -9,19 +9,19 @@ const schematics_1 = require("@angular-devkit/schematics");
|
|
|
9
9
|
function default_1(options) {
|
|
10
10
|
const finalOptions = Object.assign(Object.assign({}, options), { mainNgModule: 'GridModule', package: 'grid', peerDependencies: {
|
|
11
11
|
// peer deps of the dropdowns
|
|
12
|
-
'@progress/kendo-angular-treeview': '25.0.0-develop.
|
|
13
|
-
'@progress/kendo-angular-navigation': '25.0.0-develop.
|
|
12
|
+
'@progress/kendo-angular-treeview': '25.0.0-develop.27',
|
|
13
|
+
'@progress/kendo-angular-navigation': '25.0.0-develop.27',
|
|
14
14
|
// peer dependency of kendo-angular-inputs
|
|
15
|
-
'@progress/kendo-angular-dialog': '25.0.0-develop.
|
|
15
|
+
'@progress/kendo-angular-dialog': '25.0.0-develop.27',
|
|
16
16
|
// peer dependency of kendo-angular-icons
|
|
17
17
|
'@progress/kendo-svg-icons': '^4.0.0',
|
|
18
18
|
// peer dependency of kendo-angular-layout
|
|
19
|
-
'@progress/kendo-angular-progressbar': '25.0.0-develop.
|
|
19
|
+
'@progress/kendo-angular-progressbar': '25.0.0-develop.27',
|
|
20
20
|
// transitive peer dependencies from toolbar
|
|
21
|
-
'@progress/kendo-angular-indicators': '25.0.0-develop.
|
|
21
|
+
'@progress/kendo-angular-indicators': '25.0.0-develop.27',
|
|
22
22
|
// transitive peer dependencies from conversational-ui
|
|
23
|
-
'@progress/kendo-angular-menu': '25.0.0-develop.
|
|
24
|
-
'@progress/kendo-angular-upload': '25.0.0-develop.
|
|
23
|
+
'@progress/kendo-angular-menu': '25.0.0-develop.27',
|
|
24
|
+
'@progress/kendo-angular-upload': '25.0.0-develop.27'
|
|
25
25
|
} });
|
|
26
26
|
return (0, schematics_1.externalSchematic)('@progress/kendo-angular-schematics', 'ng-add', finalOptions);
|
|
27
27
|
}
|