@progress/kendo-ui
Version:
This package is part of the [Kendo UI for jQuery](http://www.telerik.com/kendo-ui) suite.
27 lines (19 loc) • 843 B
JavaScript
;
const { applyFillModeClassSplitsCss } = require('../_shared.cjs');
module.exports = function transformer(fileInfo) {
if (!/\.(css|scss|sass|less)$/i.test(fileInfo.path)) {
return undefined;
}
const result = applyFillModeClassSplitsCss(fileInfo.source);
return result !== fileInfo.source ? result : undefined;
};
module.exports.aiInstructions = `Combined fillMode and themeColor CSS utility classes were split into separate classes in Kendo UI 2026 Q1.
Before:
.k-button-solid-primary { ... }
.k-button-flat-secondary { ... }
.k-chip-solid-primary { ... }
After:
.k-button-solid.k-button-primary { ... }
.k-button-flat.k-button-secondary { ... }
.k-chip-solid.k-button-primary { ... }
Review any CSS rules that relied on the combined class specificity, as splitting them may affect cascade order.`;