@progress/kendo-angular-tooltip 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 Tooltip changes:
11
+
12
+ aria-labelledby — changed to aria-describedby on tooltip anchor elements.
13
+ Replace aria-labelledby selectors/assertions with aria-describedby in Tooltip context.`;
14
+ const pattern = /aria-labelledby/;
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
+ }
@@ -302,8 +302,8 @@ const packageMetadata = {
302
302
  productName: 'Kendo UI for Angular',
303
303
  productCode: 'KENDOUIANGULAR',
304
304
  productCodes: ['KENDOUIANGULAR'],
305
- publishDate: 1786102753,
306
- version: '25.0.0-develop.25',
305
+ publishDate: 1786387376,
306
+ version: '25.0.0-develop.27',
307
307
  licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
308
308
  };
309
309
 
@@ -7,7 +7,7 @@ export const packageMetadata = {
7
7
  "productCodes": [
8
8
  "KENDOUIANGULAR"
9
9
  ],
10
- "publishDate": 1786102753,
11
- "version": "25.0.0-develop.25",
10
+ "publishDate": 1786387376,
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-tooltip",
3
- "version": "25.0.0-develop.25",
3
+ "version": "25.0.0-develop.27",
4
4
  "description": "Kendo UI Tooltip for Angular - A highly customizable and easily themeable tooltip from the creators developers trust for professional Angular components.",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "author": "Progress",
@@ -30,13 +30,20 @@
30
30
  "file": "codemods/v24/tooltip-rendering-changes.js",
31
31
  "instructionsOnly": true
32
32
  }
33
+ ],
34
+ "25": [
35
+ {
36
+ "description": "The Tooltip has rendering changes that may affect custom styling.",
37
+ "file": "codemods/v25/tooltip-rendering-changes.js",
38
+ "instructionsOnly": true
39
+ }
33
40
  ]
34
41
  }
35
42
  },
36
43
  "package": {
37
44
  "productName": "Kendo UI for Angular",
38
45
  "productCode": "KENDOUIANGULAR",
39
- "publishDate": 1786102753,
46
+ "publishDate": 1786387376,
40
47
  "licensingDocsUrl": "https://www.telerik.com/kendo-angular-ui/my-license/"
41
48
  }
42
49
  },
@@ -46,15 +53,15 @@
46
53
  "@angular/core": "20 - 22",
47
54
  "@angular/platform-browser": "20 - 22",
48
55
  "@progress/kendo-licensing": "^1.11.0",
49
- "@progress/kendo-angular-common": "25.0.0-develop.25",
50
- "@progress/kendo-angular-l10n": "25.0.0-develop.25",
51
- "@progress/kendo-angular-popup": "25.0.0-develop.25",
52
- "@progress/kendo-angular-icons": "25.0.0-develop.25",
56
+ "@progress/kendo-angular-common": "25.0.0-develop.27",
57
+ "@progress/kendo-angular-l10n": "25.0.0-develop.27",
58
+ "@progress/kendo-angular-popup": "25.0.0-develop.27",
59
+ "@progress/kendo-angular-icons": "25.0.0-develop.27",
53
60
  "rxjs": "^6.5.3 || ^7.0.0"
54
61
  },
55
62
  "dependencies": {
56
63
  "tslib": "^2.3.1",
57
- "@progress/kendo-angular-schematics": "25.0.0-develop.25"
64
+ "@progress/kendo-angular-schematics": "25.0.0-develop.27"
58
65
  },
59
66
  "schematics": "./schematics/collection.json",
60
67
  "module": "fesm2022/progress-kendo-angular-tooltip.mjs",