@progress/kendo-angular-pager 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,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.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 Pager changes:
|
|
11
|
+
|
|
12
|
+
chevronLeftIcon / chevronRightIcon — replaced with caretAltLeftIcon / caretAltRightIcon in Pager elements.
|
|
13
|
+
Replace chevronLeftIcon/chevronRightIcon references with caretAltLeftIcon/caretAltRightIcon in Pager context.`;
|
|
14
|
+
const pattern = /chevronLeftIcon|chevronRightIcon/;
|
|
15
|
+
function default_1(fileInfo) {
|
|
16
|
+
if ((0, codemods_1.isRenderingChangeTarget)(fileInfo.path)) {
|
|
17
|
+
if (pattern.test(fileInfo.source)) {
|
|
18
|
+
(0, codemods_1.writeInstructionMarker)(exports.aiInstructions, __filename, fileInfo.path);
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
return fileInfo.source;
|
|
22
|
+
}
|
|
@@ -1519,8 +1519,8 @@ const packageMetadata = {
|
|
|
1519
1519
|
productName: 'Kendo UI for Angular',
|
|
1520
1520
|
productCode: 'KENDOUIANGULAR',
|
|
1521
1521
|
productCodes: ['KENDOUIANGULAR'],
|
|
1522
|
-
publishDate:
|
|
1523
|
-
version: '25.0.0-develop.
|
|
1522
|
+
publishDate: 1786387460,
|
|
1523
|
+
version: '25.0.0-develop.27',
|
|
1524
1524
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
|
|
1525
1525
|
};
|
|
1526
1526
|
|
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": 1786387460,
|
|
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-pager",
|
|
3
|
-
"version": "25.0.0-develop.
|
|
3
|
+
"version": "25.0.0-develop.27",
|
|
4
4
|
"description": "Kendo UI Angular Pager",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"author": "Progress",
|
|
@@ -26,13 +26,20 @@
|
|
|
26
26
|
"file": "codemods/v21/pager-adaptivemode.js",
|
|
27
27
|
"instructionsOnly": true
|
|
28
28
|
}
|
|
29
|
+
],
|
|
30
|
+
"25": [
|
|
31
|
+
{
|
|
32
|
+
"description": "The Pager has rendering changes that may affect custom styling.",
|
|
33
|
+
"file": "codemods/v25/pager-rendering-changes.js",
|
|
34
|
+
"instructionsOnly": true
|
|
35
|
+
}
|
|
29
36
|
]
|
|
30
37
|
}
|
|
31
38
|
},
|
|
32
39
|
"package": {
|
|
33
40
|
"productName": "Kendo UI for Angular",
|
|
34
41
|
"productCode": "KENDOUIANGULAR",
|
|
35
|
-
"publishDate":
|
|
42
|
+
"publishDate": 1786387460,
|
|
36
43
|
"licensingDocsUrl": "https://www.telerik.com/kendo-angular-ui/my-license/"
|
|
37
44
|
}
|
|
38
45
|
},
|
|
@@ -42,16 +49,16 @@
|
|
|
42
49
|
"@angular/core": "20 - 22",
|
|
43
50
|
"@angular/platform-browser": "20 - 22",
|
|
44
51
|
"@progress/kendo-licensing": "^1.11.0",
|
|
45
|
-
"@progress/kendo-angular-common": "25.0.0-develop.
|
|
46
|
-
"@progress/kendo-angular-dropdowns": "25.0.0-develop.
|
|
47
|
-
"@progress/kendo-angular-inputs": "25.0.0-develop.
|
|
48
|
-
"@progress/kendo-angular-icons": "25.0.0-develop.
|
|
49
|
-
"@progress/kendo-angular-l10n": "25.0.0-develop.
|
|
52
|
+
"@progress/kendo-angular-common": "25.0.0-develop.27",
|
|
53
|
+
"@progress/kendo-angular-dropdowns": "25.0.0-develop.27",
|
|
54
|
+
"@progress/kendo-angular-inputs": "25.0.0-develop.27",
|
|
55
|
+
"@progress/kendo-angular-icons": "25.0.0-develop.27",
|
|
56
|
+
"@progress/kendo-angular-l10n": "25.0.0-develop.27",
|
|
50
57
|
"rxjs": "^6.5.3 || ^7.0.0"
|
|
51
58
|
},
|
|
52
59
|
"dependencies": {
|
|
53
60
|
"tslib": "^2.3.1",
|
|
54
|
-
"@progress/kendo-angular-schematics": "25.0.0-develop.
|
|
61
|
+
"@progress/kendo-angular-schematics": "25.0.0-develop.27"
|
|
55
62
|
},
|
|
56
63
|
"schematics": "./schematics/collection.json",
|
|
57
64
|
"module": "fesm2022/progress-kendo-angular-pager.mjs",
|
|
@@ -9,14 +9,14 @@ const schematics_1 = require("@angular-devkit/schematics");
|
|
|
9
9
|
function default_1(options) {
|
|
10
10
|
const finalOptions = Object.assign(Object.assign({}, options), { mainNgModule: 'PagerModule', package: 'pager', peerDependencies: {
|
|
11
11
|
// Peers of inputs and dropdowns
|
|
12
|
-
'@progress/kendo-angular-treeview': '25.0.0-develop.
|
|
13
|
-
'@progress/kendo-angular-intl': '25.0.0-develop.
|
|
14
|
-
'@progress/kendo-angular-navigation': '25.0.0-develop.
|
|
15
|
-
'@progress/kendo-angular-popup': '25.0.0-develop.
|
|
12
|
+
'@progress/kendo-angular-treeview': '25.0.0-develop.27',
|
|
13
|
+
'@progress/kendo-angular-intl': '25.0.0-develop.27',
|
|
14
|
+
'@progress/kendo-angular-navigation': '25.0.0-develop.27',
|
|
15
|
+
'@progress/kendo-angular-popup': '25.0.0-develop.27',
|
|
16
16
|
'@progress/kendo-drawing': '^1.5.12',
|
|
17
17
|
// peer dependency of kendo-angular-inputs
|
|
18
|
-
'@progress/kendo-angular-buttons': '25.0.0-develop.
|
|
19
|
-
'@progress/kendo-angular-dialog': '25.0.0-develop.
|
|
18
|
+
'@progress/kendo-angular-buttons': '25.0.0-develop.27',
|
|
19
|
+
'@progress/kendo-angular-dialog': '25.0.0-develop.27',
|
|
20
20
|
// Peer dependency of icons
|
|
21
21
|
'@progress/kendo-svg-icons': '^4.0.0'
|
|
22
22
|
} });
|