UNPKG

@progress/kendo-ui

Version:

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

26 lines (19 loc) 901 B
'use strict'; const { applyTreeViewClassRenames } = require('../_shared.cjs'); module.exports = function transformer(fileInfo) { if (!/\.(css|scss|sass|less)$/i.test(fileInfo.path)) { return undefined; } const updated = applyTreeViewClassRenames(fileInfo.source); return updated !== fileInfo.source ? updated : undefined; }; module.exports.aiInstructions = `The TreeView positional wrapper classes were consolidated into a single class in Kendo UI 2026 Q1. Before: .k-treeview-top { border-top: 1px solid; } .k-treeview-mid { ... } .k-treeview-bot { border-bottom: 1px solid; } After: .k-treeview-item-content { border-top: 1px solid; } .k-treeview-item-content { ... } .k-treeview-item-content { border-bottom: 1px solid; } Also, the .k-treeview-leaf selector for state classes (.k-hover, .k-focus, .k-selected, .k-disabled) is replaced with .k-treeview-item-content.`;