@progress/kendo-ui
Version:
This package is part of the [Kendo UI for jQuery](http://www.telerik.com/kendo-ui) suite.
30 lines (24 loc) • 811 B
JavaScript
;
const { applyUploadClassRenames } = require('../_shared.cjs');
module.exports = function transformer(fileInfo) {
if (!/\.(css|scss|sass|less)$/i.test(fileInfo.path)) {
return undefined;
}
const updated = applyUploadClassRenames(fileInfo.source);
return updated !== fileInfo.source ? updated : undefined;
};
module.exports.aiInstructions = `Multiple Upload component CSS classes were renamed in Kendo UI 2023 R1 for consistency and clarity.
Before:
.k-file-group-wrapper { ... }
.k-file-group { ... }
.k-file-name-size-wrap { ... }
.k-file-name-invalid { ... }
.k-file-information { ... }
.k-dropzone-hover { ... }
After:
.k-file-icon-wrapper { ... }
.k-file-icon { ... }
.k-file-info { ... }
.k-file-name { ... }
.k-file-summary { ... }
.k-hover { ... }`;