UNPKG

@progress/kendo-ui

Version:

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

32 lines (24 loc) 1.34 kB
'use strict'; module.exports = { description: `Standalone .k-checkbox-label selectors require manual review. As of Kendo UI 2020 R1 SP1, styled native checkboxes are used in the widgets. The label element with k-checkbox-label CSS class is removed as it is not necessary for styling. This codemod removes .k-checkbox-label from compound selectors (e.g. .k-checkbox.k-checkbox-label becomes .k-checkbox). Standalone selectors (e.g. .k-checkbox-label { } or .k-widget .k-checkbox-label { }) are left untouched and require manual review. For standalone selectors that target components containing checkboxes, you should evaluate whether the styles are still needed in the context of the new checkbox rendering. In many cases, these styles can be removed entirely.`, instructions: [ 'Search for any remaining .k-checkbox-label selectors in your CSS/SCSS files', 'Review each occurrence and determine if the styles are still applicable', 'Update or remove styles as needed based on the new checkbox rendering' ], affectedComponents: [ 'Grid', 'TreeList', 'ListView', 'CheckBox (standalone)', 'CheckBoxGroup', 'Any component with checkboxes' ], backwardsCompatibilityLink: 'https://docs.telerik.com/kendo-ui/backwards-compatibility/2020-backward-compatibility#kendo-ui-2020-r1-sp1' };