@progress/kendo-ui
Version:
This package is part of the [Kendo UI for jQuery](http://www.telerik.com/kendo-ui) suite.
26 lines (20 loc) • 870 B
JavaScript
;
const { applyMapControlsReplacement } = require('../_shared.cjs');
module.exports = function transformer(fileInfo) {
if (!/\.(css|scss|sass|less)$/i.test(fileInfo.path)) {
return undefined;
}
const updated = applyMapControlsReplacement(fileInfo.source);
return updated !== fileInfo.source ? updated : undefined;
};
module.exports.aiInstructions = `The Map controls position CSS class combinations were replaced with logical position shorthand classes in Kendo UI 2025 Q4.
Before:
.k-map-controls.k-pos-top.k-pos-left { ... }
.k-map-controls.k-pos-top.k-pos-right { ... }
.k-map-controls.k-pos-bottom.k-pos-left { ... }
.k-map-controls.k-pos-bottom.k-pos-right { ... }
After:
.k-map-controls.k-top-start { ... }
.k-map-controls.k-top-end { ... }
.k-map-controls.k-bottom-start { ... }
.k-map-controls.k-bottom-end { ... }`;