@progress/kendo-angular-conversational-ui 26.0.0-develop.2 → 26.0.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.
|
@@ -423,9 +423,13 @@ const valuelessAttributeRemoval = (templateContent, tagName, attributeName) => {
|
|
|
423
423
|
return templateContent.replace(pattern, '$1');
|
|
424
424
|
};
|
|
425
425
|
exports.valuelessAttributeRemoval = valuelessAttributeRemoval;
|
|
426
|
+
/**
|
|
427
|
+
* Removes a property from values typed as an imported component or interface.
|
|
428
|
+
*/
|
|
426
429
|
function tsPropertyRemoval(source, rootSource, j, packageName, typeName, propertyName) {
|
|
427
430
|
if (source.includes(typeName)) {
|
|
428
|
-
|
|
431
|
+
const localTypeName = getImportedLocalName(rootSource, j, packageName, typeName);
|
|
432
|
+
if (!localTypeName) {
|
|
429
433
|
return;
|
|
430
434
|
}
|
|
431
435
|
const typeVariables = new Set();
|
|
@@ -437,7 +441,7 @@ function tsPropertyRemoval(source, rootSource, j, packageName, typeName, propert
|
|
|
437
441
|
param.typeAnnotation &&
|
|
438
442
|
param.typeAnnotation.typeAnnotation?.type === 'TSTypeReference' &&
|
|
439
443
|
param.typeAnnotation.typeAnnotation.typeName?.type === 'Identifier' &&
|
|
440
|
-
param.typeAnnotation.typeAnnotation.typeName.name ===
|
|
444
|
+
param.typeAnnotation.typeAnnotation.typeName.name === localTypeName) {
|
|
441
445
|
typeVariables.add(param.name);
|
|
442
446
|
}
|
|
443
447
|
});
|
|
@@ -449,7 +453,7 @@ function tsPropertyRemoval(source, rootSource, j, packageName, typeName, propert
|
|
|
449
453
|
path.node.id.typeAnnotation &&
|
|
450
454
|
path.node.id.typeAnnotation.typeAnnotation?.type === 'TSTypeReference' &&
|
|
451
455
|
path.node.id.typeAnnotation.typeAnnotation.typeName?.type === 'Identifier' &&
|
|
452
|
-
path.node.id.typeAnnotation.typeAnnotation.typeName.name ===
|
|
456
|
+
path.node.id.typeAnnotation.typeAnnotation.typeName.name === localTypeName) {
|
|
453
457
|
typeVariables.add(path.node.id.name);
|
|
454
458
|
}
|
|
455
459
|
});
|
|
@@ -461,7 +465,7 @@ function tsPropertyRemoval(source, rootSource, j, packageName, typeName, propert
|
|
|
461
465
|
path.node.typeAnnotation.typeAnnotation.type === 'TSTypeReference' &&
|
|
462
466
|
path.node.typeAnnotation.typeAnnotation.typeName &&
|
|
463
467
|
path.node.typeAnnotation.typeAnnotation.typeName.type === 'Identifier' &&
|
|
464
|
-
path.node.typeAnnotation.typeAnnotation.typeName.name ===
|
|
468
|
+
path.node.typeAnnotation.typeAnnotation.typeName.name === localTypeName) {
|
|
465
469
|
typeVariables.add(path.node.key.name);
|
|
466
470
|
}
|
|
467
471
|
});
|
|
@@ -475,7 +479,7 @@ function tsPropertyRemoval(source, rootSource, j, packageName, typeName, propert
|
|
|
475
479
|
path.node.typeAnnotation.typeAnnotation.type === 'TSTypeReference' &&
|
|
476
480
|
path.node.typeAnnotation.typeAnnotation.typeName &&
|
|
477
481
|
path.node.typeAnnotation.typeAnnotation.typeName.type === 'Identifier' &&
|
|
478
|
-
path.node.typeAnnotation.typeAnnotation.typeName.name ===
|
|
482
|
+
path.node.typeAnnotation.typeAnnotation.typeName.name === localTypeName);
|
|
479
483
|
})
|
|
480
484
|
.forEach((path) => {
|
|
481
485
|
if (path.node.value && path.node.value.type === 'ObjectExpression') {
|
|
@@ -500,7 +504,7 @@ function tsPropertyRemoval(source, rootSource, j, packageName, typeName, propert
|
|
|
500
504
|
typeAnnotation: {
|
|
501
505
|
type: 'TSTypeReference',
|
|
502
506
|
typeName: {
|
|
503
|
-
name:
|
|
507
|
+
name: localTypeName,
|
|
504
508
|
},
|
|
505
509
|
},
|
|
506
510
|
},
|
|
@@ -520,7 +524,7 @@ function tsPropertyRemoval(source, rootSource, j, packageName, typeName, propert
|
|
|
520
524
|
}
|
|
521
525
|
});
|
|
522
526
|
// Handle return statements with object literals, but only when the enclosing
|
|
523
|
-
// function's declared return type matches
|
|
527
|
+
// function's declared return type matches the imported type. This prevents removing
|
|
524
528
|
// unrelated propertyName keys from object literals returned in other functions.
|
|
525
529
|
const enclosingFunctionReturnsType = (nodePath) => {
|
|
526
530
|
let current = nodePath.parent;
|
|
@@ -534,7 +538,7 @@ function tsPropertyRemoval(source, rootSource, j, packageName, typeName, propert
|
|
|
534
538
|
return !!(node.returnType &&
|
|
535
539
|
node.returnType.typeAnnotation?.type === 'TSTypeReference' &&
|
|
536
540
|
node.returnType.typeAnnotation.typeName?.type === 'Identifier' &&
|
|
537
|
-
node.returnType.typeAnnotation.typeName.name ===
|
|
541
|
+
node.returnType.typeAnnotation.typeName.name === localTypeName);
|
|
538
542
|
}
|
|
539
543
|
current = current.parent;
|
|
540
544
|
}
|
|
@@ -579,7 +583,7 @@ function tsPropertyRemoval(source, rootSource, j, packageName, typeName, propert
|
|
|
579
583
|
if (left.object.type === 'TSAsExpression' &&
|
|
580
584
|
left.object.typeAnnotation.type === 'TSTypeReference' &&
|
|
581
585
|
left.object.typeAnnotation.typeName?.type === 'Identifier' &&
|
|
582
|
-
left.object.typeAnnotation.typeName.name ===
|
|
586
|
+
left.object.typeAnnotation.typeName.name === localTypeName) {
|
|
583
587
|
return true;
|
|
584
588
|
}
|
|
585
589
|
}
|
|
@@ -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.aiInstructionsToolCallBadge = exports.aiInstructionsScrollToBottom = void 0;
|
|
8
|
+
exports.default = default_1;
|
|
9
|
+
const codemods_1 = require("@progress/kendo-angular-common/codemods");
|
|
10
|
+
exports.aiInstructionsScrollToBottom = `k-i-arrow-down-outline — the font icon of the Chat scroll-to-bottom floating action button changed from k-i-arrow-down-outline to k-i-arrow-down.
|
|
11
|
+
Replace .k-i-arrow-down-outline selectors and test assertions with .k-i-arrow-down. SVG icons are not affected.`;
|
|
12
|
+
exports.aiInstructionsToolCallBadge = `k-badge-text — the ToolCall (kendo-toolcall) status badge text is now wrapped in a span.k-badge-text element.
|
|
13
|
+
Before: <kendo-badge class="k-badge ...">{{ statusText }}</kendo-badge>
|
|
14
|
+
After: <kendo-badge class="k-badge ..."><span class="k-badge-text">{{ statusText }}</span></kendo-badge>
|
|
15
|
+
Update selectors, text-content queries, and test assertions that target the badge text inside .k-tool-call .k-badge
|
|
16
|
+
so that they target .k-tool-call .k-badge .k-badge-text.`;
|
|
17
|
+
exports.aiInstructions = `Review your stylesheets, test files, and any code that references these Conversational UI classes:
|
|
18
|
+
|
|
19
|
+
${exports.aiInstructionsScrollToBottom}
|
|
20
|
+
|
|
21
|
+
${exports.aiInstructionsToolCallBadge}`;
|
|
22
|
+
// Old (removed) classes only. The ToolCall badge change is structural and is detected by context.
|
|
23
|
+
const classes = ['k-i-arrow-down-outline'];
|
|
24
|
+
const pattern = (0, codemods_1.makePattern)(classes);
|
|
25
|
+
const patternToolCall = /k-tool-call|kendo-toolcall/;
|
|
26
|
+
const patternBadge = /k-badge|kendo-badge/;
|
|
27
|
+
function default_1(fileInfo) {
|
|
28
|
+
if (!(0, codemods_1.isRenderingChangeTarget)(fileInfo.path)) {
|
|
29
|
+
return fileInfo.source;
|
|
30
|
+
}
|
|
31
|
+
if (pattern.test(fileInfo.source)) {
|
|
32
|
+
(0, codemods_1.writeInstructionMarker)(exports.aiInstructionsScrollToBottom, __filename, fileInfo.path);
|
|
33
|
+
}
|
|
34
|
+
if (patternToolCall.test(fileInfo.source) && patternBadge.test(fileInfo.source)) {
|
|
35
|
+
(0, codemods_1.writeInstructionMarker)(exports.aiInstructionsToolCallBadge, __filename, fileInfo.path);
|
|
36
|
+
}
|
|
37
|
+
return fileInfo.source;
|
|
38
|
+
}
|
|
@@ -217,8 +217,8 @@ const packageMetadata = {
|
|
|
217
217
|
productName: 'Kendo UI for Angular',
|
|
218
218
|
productCode: 'KENDOUIANGULAR',
|
|
219
219
|
productCodes: ['KENDOUIANGULAR'],
|
|
220
|
-
publishDate:
|
|
221
|
-
version: '26.0.0-develop.
|
|
220
|
+
publishDate: 1794299348,
|
|
221
|
+
version: '26.0.0-develop.3',
|
|
222
222
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
|
|
223
223
|
};
|
|
224
224
|
|
package/package-metadata.mjs
CHANGED
|
@@ -7,7 +7,7 @@ export const packageMetadata = {
|
|
|
7
7
|
"productCodes": [
|
|
8
8
|
"KENDOUIANGULAR"
|
|
9
9
|
],
|
|
10
|
-
"publishDate":
|
|
11
|
-
"version": "26.0.0-develop.
|
|
10
|
+
"publishDate": 1794299348,
|
|
11
|
+
"version": "26.0.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-conversational-ui",
|
|
3
|
-
"version": "26.0.0-develop.
|
|
3
|
+
"version": "26.0.0-develop.3",
|
|
4
4
|
"description": "Kendo UI for Angular Conversational UI components",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"author": "Progress",
|
|
@@ -98,13 +98,20 @@
|
|
|
98
98
|
"file": "codemods/v25/conversational-ui-rendering-changes.js",
|
|
99
99
|
"instructionsOnly": true
|
|
100
100
|
}
|
|
101
|
+
],
|
|
102
|
+
"26": [
|
|
103
|
+
{
|
|
104
|
+
"description": "The Chat and ToolCall components have rendering changes that may affect custom styling.",
|
|
105
|
+
"file": "codemods/v26/conversational-ui-rendering-changes.js",
|
|
106
|
+
"instructionsOnly": true
|
|
107
|
+
}
|
|
101
108
|
]
|
|
102
109
|
}
|
|
103
110
|
},
|
|
104
111
|
"package": {
|
|
105
112
|
"productName": "Kendo UI for Angular",
|
|
106
113
|
"productCode": "KENDOUIANGULAR",
|
|
107
|
-
"publishDate":
|
|
114
|
+
"publishDate": 1794299348,
|
|
108
115
|
"licensingDocsUrl": "https://www.telerik.com/kendo-angular-ui/my-license/"
|
|
109
116
|
}
|
|
110
117
|
},
|
|
@@ -114,24 +121,24 @@
|
|
|
114
121
|
"@angular/core": "20 - 22",
|
|
115
122
|
"@angular/platform-browser": "20 - 22",
|
|
116
123
|
"@progress/kendo-licensing": "^1.13.0",
|
|
117
|
-
"@progress/kendo-angular-buttons": "26.0.0-develop.
|
|
118
|
-
"@progress/kendo-angular-inputs": "26.0.0-develop.
|
|
119
|
-
"@progress/kendo-angular-indicators": "26.0.0-develop.
|
|
120
|
-
"@progress/kendo-angular-layout": "26.0.0-develop.
|
|
121
|
-
"@progress/kendo-angular-icons": "26.0.0-develop.
|
|
122
|
-
"@progress/kendo-angular-common": "26.0.0-develop.
|
|
123
|
-
"@progress/kendo-angular-intl": "26.0.0-develop.
|
|
124
|
-
"@progress/kendo-angular-l10n": "26.0.0-develop.
|
|
125
|
-
"@progress/kendo-angular-menu": "26.0.0-develop.
|
|
126
|
-
"@progress/kendo-angular-popup": "26.0.0-develop.
|
|
127
|
-
"@progress/kendo-angular-toolbar": "26.0.0-develop.
|
|
128
|
-
"@progress/kendo-angular-tooltip": "26.0.0-develop.
|
|
129
|
-
"@progress/kendo-angular-upload": "26.0.0-develop.
|
|
124
|
+
"@progress/kendo-angular-buttons": "26.0.0-develop.3",
|
|
125
|
+
"@progress/kendo-angular-inputs": "26.0.0-develop.3",
|
|
126
|
+
"@progress/kendo-angular-indicators": "26.0.0-develop.3",
|
|
127
|
+
"@progress/kendo-angular-layout": "26.0.0-develop.3",
|
|
128
|
+
"@progress/kendo-angular-icons": "26.0.0-develop.3",
|
|
129
|
+
"@progress/kendo-angular-common": "26.0.0-develop.3",
|
|
130
|
+
"@progress/kendo-angular-intl": "26.0.0-develop.3",
|
|
131
|
+
"@progress/kendo-angular-l10n": "26.0.0-develop.3",
|
|
132
|
+
"@progress/kendo-angular-menu": "26.0.0-develop.3",
|
|
133
|
+
"@progress/kendo-angular-popup": "26.0.0-develop.3",
|
|
134
|
+
"@progress/kendo-angular-toolbar": "26.0.0-develop.3",
|
|
135
|
+
"@progress/kendo-angular-tooltip": "26.0.0-develop.3",
|
|
136
|
+
"@progress/kendo-angular-upload": "26.0.0-develop.3",
|
|
130
137
|
"rxjs": "^6.5.3 || ^7.0.0"
|
|
131
138
|
},
|
|
132
139
|
"dependencies": {
|
|
133
140
|
"tslib": "^2.3.1",
|
|
134
|
-
"@progress/kendo-angular-schematics": "26.0.0-develop.
|
|
141
|
+
"@progress/kendo-angular-schematics": "26.0.0-develop.3"
|
|
135
142
|
},
|
|
136
143
|
"schematics": "./schematics/collection.json",
|
|
137
144
|
"module": "fesm2022/progress-kendo-angular-conversational-ui.mjs",
|