UNPKG

@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) 748 B
'use strict'; const { applyMapNavigatorRenames } = require('../_shared.cjs'); module.exports = function transformer(fileInfo) { if (!/\.(css|scss|sass|less)$/i.test(fileInfo.path)) { return undefined; } const updated = applyMapNavigatorRenames(fileInfo.source); return updated !== fileInfo.source ? updated : undefined; }; module.exports.aiInstructions = `The Map navigator direction CSS classes were renamed in Kendo UI 2024 R4. Direction names changed from full words to single-letter compass points. Before: .k-navigator-up { ... } .k-navigator-right { ... } .k-navigator-down { ... } .k-navigator-left { ... } After: .k-navigator-n { ... } .k-navigator-e { ... } .k-navigator-s { ... } .k-navigator-w { ... }`;