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) 689 B
'use strict'; const { applyContextMenuWidgetStrip } = require('../_shared.cjs'); module.exports = function transformer(fileInfo) { if (!/\.(css|scss|sass|less)$/i.test(fileInfo.path)) { return undefined; } const updated = applyContextMenuWidgetStrip(fileInfo.source); return updated !== fileInfo.source ? updated : undefined; }; module.exports.aiInstructions = `The redundant .k-widget class was removed from the ContextMenu container markup in Kendo UI 2024 Q4. Remove .k-widget from compound selectors that target the ContextMenu. Before: .k-widget.k-context-menu { ... } .k-context-menu.k-widget { ... } After: .k-context-menu { ... } .k-context-menu { ... }`;