@progress/kendo-ui
Version:
This package is part of the [Kendo UI for jQuery](http://www.telerik.com/kendo-ui) suite.
22 lines (16 loc) • 687 B
JavaScript
;
const { applyAiPromptSuggestionClass } = require('../_shared.cjs');
module.exports = function transformer(fileInfo) {
if (!/\.(css|scss|sass|less)$/i.test(fileInfo.path)) {
return undefined;
}
const updated = applyAiPromptSuggestionClass(fileInfo.source);
return updated !== fileInfo.source ? updated : undefined;
};
module.exports.aiInstructions = `The AIPrompt suggestion item CSS class was renamed from k-prompt-suggestion to k-suggestion in Kendo UI 2025 Q3.
Before:
.k-prompt-suggestion { cursor: pointer; }
.k-prompt-suggestion:hover { background: #eee; }
After:
.k-suggestion { cursor: pointer; }
.k-suggestion:hover { background: #eee; }`;