@progress/kendo-ui
Version:
This package is part of the [Kendo UI for jQuery](http://www.telerik.com/kendo-ui) suite.
25 lines (18 loc) • 729 B
JavaScript
;
const { applyGridLayoutJustifyRename } = require('../_shared.cjs');
module.exports = function transformer(fileInfo) {
if (!/\.(css|scss|sass|less)$/i.test(fileInfo.path)) {
return undefined;
}
const result = applyGridLayoutJustifyRename(fileInfo.source);
return result !== fileInfo.source ? result : undefined;
};
module.exports.aiInstructions = `The GridLayout justify-content utility classes were renamed to justify-items in Kendo UI 2024 R4 to align with CSS Grid semantics.
Before:
.k-justify-content-start { ... }
.k-justify-content-center { ... }
.k-justify-content-end { ... }
After:
.k-justify-items-start { ... }
.k-justify-items-center { ... }
.k-justify-items-end { ... }`;