@progress/kendo-ui
Version:
This package is part of the [Kendo UI for jQuery](http://www.telerik.com/kendo-ui) suite.
20 lines (14 loc) • 673 B
JavaScript
;
const { OVERLAY_REPLACEMENTS, applyClassReplacements } = require('../_shared.cjs');
module.exports = function transformer(fileInfo) {
if (!/\.(css|scss|sass|less)$/i.test(fileInfo.path)) {
return undefined;
}
const updated = applyClassReplacements(fileInfo.source, OVERLAY_REPLACEMENTS);
return updated !== fileInfo.source ? updated : undefined;
};
module.exports.aiInstructions = `The overlay light variant CSS class was simplified in Kendo UI 2026 Q2 — k-overlay-light was merged into the base k-overlay class.
Before:
.k-overlay-light { background: rgba(255,255,255,0.5); }
After:
.k-overlay { background: rgba(255,255,255,0.5); }`;