UNPKG

@progress/kendo-ui

Version:

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

22 lines (16 loc) 710 B
'use strict'; const { applyTreeViewCheckboxWrapperRename } = require('../_shared.cjs'); module.exports = function transformer(fileInfo) { if (!/\.(css|scss|sass|less)$/i.test(fileInfo.path)) { return undefined; } const updated = applyTreeViewCheckboxWrapperRename(fileInfo.source); return updated !== fileInfo.source ? updated : undefined; }; module.exports.aiInstructions = `The TreeView checkbox wrapper CSS class was renamed from k-checkbox-wrapper to k-checkbox-wrap in Kendo UI 2024 Q2. Before: .k-checkbox-wrapper { display: inline-flex; } .k-treeview-item .k-checkbox-wrapper { ... } After: .k-checkbox-wrap { display: inline-flex; } .k-treeview-item .k-checkbox-wrap { ... }`;