UNPKG

@progress/kendo-ui

Version:

This package is part of the [Kendo UI for jQuery](http://www.telerik.com/kendo-ui) suite.

24 lines (18 loc) 737 B
'use strict'; const { applyGridCommandRenames } = require('../_shared.cjs'); module.exports = function transformer(fileInfo) { if (!/\.(css|scss|sass|less)$/i.test(fileInfo.path)) { return undefined; } const updated = applyGridCommandRenames(fileInfo.source); return updated !== fileInfo.source ? updated : undefined; }; module.exports.aiInstructions = `The Grid inline editing command button CSS classes were renamed in Kendo UI 2023 R1 to follow a consistent command naming pattern. Before: .k-grid-update { background: green; } .k-grid-cancel { color: red; } .k-grid-delete { ... } After: .k-grid-save-command { background: green; } .k-grid-cancel-command { color: red; } .k-grid-remove-command { ... }`;