@progress/kendo-angular-pivotgrid 25.0.0-develop.7 → 25.0.0

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,26 @@
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 PivotGrid classes:
11
+
12
+ k-form[role="form"] — The Configurator's field-list container changed from <div class="k-form" role="form"> to a semantic <form class="k-form"> element.
13
+ Update selectors that target div.k-form[role="form"] to form.k-form.
14
+
15
+ k-first — removed from PivotGrid elements.
16
+ Remove any CSS rules or test assertions targeting .k-first in PivotGrid context.`;
17
+ const classes = ['k-first', 'k-form'];
18
+ const pattern = (0, codemods_1.makePattern)(classes);
19
+ function default_1(fileInfo) {
20
+ if ((0, codemods_1.isRenderingChangeTarget)(fileInfo.path)) {
21
+ if (pattern.test(fileInfo.source)) {
22
+ (0, codemods_1.writeInstructionMarker)(exports.aiInstructions, __filename, fileInfo.path);
23
+ }
24
+ }
25
+ return fileInfo.source;
26
+ }