@progress/kendo-ui
Version:
This package is part of the [Kendo UI for jQuery](http://www.telerik.com/kendo-ui) suite.
23 lines (16 loc) • 631 B
JavaScript
;
const { applySortIconRenames } = require('../_shared.cjs');
module.exports = function transformer(fileInfo) {
if (!/\.(css|scss|sass|less)$/i.test(fileInfo.path)) {
return undefined;
}
const result = applySortIconRenames(fileInfo.source);
return result !== fileInfo.source ? result : undefined;
};
module.exports.aiInstructions = `The Grid sort indicator icon classes were renamed to use the full "small" suffix instead of the "sm" abbreviation in Kendo UI 2023 R1.
Before:
.k-i-sort-asc-sm { ... }
.k-i-sort-desc-sm { ... }
After:
.k-i-sort-asc-small { ... }
.k-i-sort-desc-small { ... }`;