@progress/kendo-angular-treeview 23.4.0-develop.2 → 23.4.0-develop.3
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,38 @@
|
|
|
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 = exports.aiInstructionsStateClasses = exports.aiInstructionsPositionClasses = void 0;
|
|
8
|
+
exports.default = default_1;
|
|
9
|
+
const utils_1 = require("../utils");
|
|
10
|
+
exports.aiInstructionsPositionClasses = `k-treeview-top / k-treeview-mid / k-treeview-bot — position-based classes replaced with k-treeview-item-content.
|
|
11
|
+
Before: <div class="k-treeview-top"> / <div class="k-treeview-mid"> / <div class="k-treeview-bot">
|
|
12
|
+
After: <div class="k-treeview-item-content">
|
|
13
|
+
Replace all .k-treeview-top, .k-treeview-mid, and .k-treeview-bot selectors with .k-treeview-item-content in your styles and tests.`;
|
|
14
|
+
exports.aiInstructionsStateClasses = `k-hover / k-focus / k-selected / k-disabled — state classes moved from k-treeview-leaf to k-treeview-item-content.
|
|
15
|
+
Before: <span class="k-treeview-leaf k-hover"> (state class on k-treeview-leaf)
|
|
16
|
+
After: <div class="k-treeview-item-content k-hover"> (state class on k-treeview-item-content)
|
|
17
|
+
Update any CSS selectors that apply state styles via .k-treeview-leaf.k-hover (or .k-focus, .k-selected, .k-disabled) to target .k-treeview-item-content.k-hover (or the respective state class) instead.
|
|
18
|
+
Visual impact: k-treeview-item-content spans the full width of the TreeView container, so state styles (such as background color on hover or selection) will stretch across the entire TreeView width instead of covering only the width of the item text as before.`;
|
|
19
|
+
exports.aiInstructions = `Review your stylesheets, test files, and any code that references these classes:
|
|
20
|
+
|
|
21
|
+
${exports.aiInstructionsPositionClasses}
|
|
22
|
+
|
|
23
|
+
${exports.aiInstructionsStateClasses}`;
|
|
24
|
+
const classesPositionClasses = ['k-treeview-top', 'k-treeview-mid', 'k-treeview-bot'];
|
|
25
|
+
const patternPositionClasses = (0, utils_1.makePattern)(classesPositionClasses);
|
|
26
|
+
const classesStateClasses = ['k-treeview-leaf'];
|
|
27
|
+
const patternStateClasses = (0, utils_1.makePattern)(classesStateClasses);
|
|
28
|
+
function default_1(fileInfo) {
|
|
29
|
+
if ((0, utils_1.isRenderingChangeTarget)(fileInfo.path)) {
|
|
30
|
+
if (patternPositionClasses.test(fileInfo.source)) {
|
|
31
|
+
(0, utils_1.writeInstructionMarker)(exports.aiInstructionsPositionClasses, __filename, fileInfo.path);
|
|
32
|
+
}
|
|
33
|
+
if (patternStateClasses.test(fileInfo.source)) {
|
|
34
|
+
(0, utils_1.writeInstructionMarker)(exports.aiInstructionsStateClasses, __filename, fileInfo.path);
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
return fileInfo.source;
|
|
38
|
+
}
|
|
@@ -28,8 +28,8 @@ const packageMetadata = {
|
|
|
28
28
|
productName: 'Kendo UI for Angular',
|
|
29
29
|
productCode: 'KENDOUIANGULAR',
|
|
30
30
|
productCodes: ['KENDOUIANGULAR'],
|
|
31
|
-
publishDate:
|
|
32
|
-
version: '23.4.0-develop.
|
|
31
|
+
publishDate: 1776175434,
|
|
32
|
+
version: '23.4.0-develop.3',
|
|
33
33
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
|
|
34
34
|
};
|
|
35
35
|
|
package/package-metadata.mjs
CHANGED
|
@@ -7,7 +7,7 @@ export const packageMetadata = {
|
|
|
7
7
|
"productCodes": [
|
|
8
8
|
"KENDOUIANGULAR"
|
|
9
9
|
],
|
|
10
|
-
"publishDate":
|
|
11
|
-
"version": "23.4.0-develop.
|
|
10
|
+
"publishDate": 1776175434,
|
|
11
|
+
"version": "23.4.0-develop.3",
|
|
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-treeview",
|
|
3
|
-
"version": "23.4.0-develop.
|
|
3
|
+
"version": "23.4.0-develop.3",
|
|
4
4
|
"description": "Kendo UI TreeView for Angular",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"author": "Progress",
|
|
@@ -16,10 +16,25 @@
|
|
|
16
16
|
],
|
|
17
17
|
"@progress": {
|
|
18
18
|
"friendlyName": "TreeView",
|
|
19
|
+
"migrations": {
|
|
20
|
+
"options": {
|
|
21
|
+
"parser": "tsx",
|
|
22
|
+
"pattern": "*.{ts,html,css,scss,sass,less}"
|
|
23
|
+
},
|
|
24
|
+
"codemods": {
|
|
25
|
+
"23": [
|
|
26
|
+
{
|
|
27
|
+
"description": "The TreeView component has rendering changes that may affect custom styling.",
|
|
28
|
+
"file": "codemods/v23/treeview-rendering-changes.js",
|
|
29
|
+
"instructionsOnly": true
|
|
30
|
+
}
|
|
31
|
+
]
|
|
32
|
+
}
|
|
33
|
+
},
|
|
19
34
|
"package": {
|
|
20
35
|
"productName": "Kendo UI for Angular",
|
|
21
36
|
"productCode": "KENDOUIANGULAR",
|
|
22
|
-
"publishDate":
|
|
37
|
+
"publishDate": 1776175434,
|
|
23
38
|
"licensingDocsUrl": "https://www.telerik.com/kendo-angular-ui/my-license/"
|
|
24
39
|
}
|
|
25
40
|
},
|
|
@@ -29,15 +44,15 @@
|
|
|
29
44
|
"@angular/core": "19 - 21",
|
|
30
45
|
"@angular/platform-browser": "19 - 21",
|
|
31
46
|
"@progress/kendo-licensing": "^1.10.0",
|
|
32
|
-
"@progress/kendo-angular-common": "23.4.0-develop.
|
|
33
|
-
"@progress/kendo-angular-inputs": "23.4.0-develop.
|
|
34
|
-
"@progress/kendo-angular-icons": "23.4.0-develop.
|
|
35
|
-
"@progress/kendo-angular-l10n": "23.4.0-develop.
|
|
47
|
+
"@progress/kendo-angular-common": "23.4.0-develop.3",
|
|
48
|
+
"@progress/kendo-angular-inputs": "23.4.0-develop.3",
|
|
49
|
+
"@progress/kendo-angular-icons": "23.4.0-develop.3",
|
|
50
|
+
"@progress/kendo-angular-l10n": "23.4.0-develop.3",
|
|
36
51
|
"rxjs": "^6.5.3 || ^7.0.0"
|
|
37
52
|
},
|
|
38
53
|
"dependencies": {
|
|
39
54
|
"tslib": "^2.3.1",
|
|
40
|
-
"@progress/kendo-angular-schematics": "23.4.0-develop.
|
|
55
|
+
"@progress/kendo-angular-schematics": "23.4.0-develop.3",
|
|
41
56
|
"@progress/kendo-common": "^1.0.1",
|
|
42
57
|
"@progress/kendo-draggable": "^3.0.2"
|
|
43
58
|
},
|
|
@@ -9,10 +9,10 @@ const schematics_1 = require("@angular-devkit/schematics");
|
|
|
9
9
|
function default_1(options) {
|
|
10
10
|
const finalOptions = Object.assign(Object.assign({}, options), { mainNgModule: 'TreeViewModule', package: 'treeview', peerDependencies: {
|
|
11
11
|
// Peers of kendo-angular-inputs
|
|
12
|
-
'@progress/kendo-angular-buttons': '23.4.0-develop.
|
|
13
|
-
'@progress/kendo-angular-dialog': '23.4.0-develop.
|
|
14
|
-
'@progress/kendo-angular-intl': '23.4.0-develop.
|
|
15
|
-
'@progress/kendo-angular-popup': '23.4.0-develop.
|
|
12
|
+
'@progress/kendo-angular-buttons': '23.4.0-develop.3',
|
|
13
|
+
'@progress/kendo-angular-dialog': '23.4.0-develop.3',
|
|
14
|
+
'@progress/kendo-angular-intl': '23.4.0-develop.3',
|
|
15
|
+
'@progress/kendo-angular-popup': '23.4.0-develop.3',
|
|
16
16
|
'@progress/kendo-drawing': '^1.9.3',
|
|
17
17
|
// Peer dependency of icons
|
|
18
18
|
'@progress/kendo-svg-icons': '^4.0.0'
|