Rendering Changes in 8.0.0
The Kendo UI for Vue 8.0.0 release introduces changes in the rendering of several components. Most of the components no longer apply default values to their appearance properties (size, rounded, fillMode, themeColor, and the related ones), so the classes that these defaults produced are not rendered unless you set the properties explicitly. If your application overrides the built-in CSS rules or queries the generated markup, for example in tests, review the following changes.
To keep the previous look, set the properties explicitly, for example size="medium", rounded="medium", fillMode="solid", and themeColor="base", where the component supports them. For the changes in the API, see Breaking Changes in 8.0.0.
Buttons
-
Button,DropDownButton,SplitButton, andSpeechToTextButton—Thek-button-md,k-rounded-md,k-button-solid, andk-button-solid-baseclasses, and thek-icon-mdclass of the icon, are not rendered unlesssize,rounded,fillMode,themeColor, oriconSizeis set. -
Chip—Thek-chip-md,k-rounded-md,k-chip-solid, andk-chip-solid-baseclasses are not rendered unless the properties are set. -
ChipList—Thek-chip-list-mdclass is not rendered unlesssizeis set, and theChipListno longer passes the default values to its chips. -
FloatingActionButton—Thek-fab-md,k-rounded-full,k-fab-solid, andk-fab-solid-primaryclasses are not rendered unless the properties are set. -
Toolbar—Thek-toolbar-mdandk-toolbar-solidclasses, and thek-toolbar-items-list-mdandk-toolbar-items-list-solidclasses in the overflow popup, are not rendered unlesssizeorfillModeis set. -
Button,Chip, andFloatingActionButton—An explicitthemeColorrenders a single theme color class instead of the combinedfillModeandthemeColorclass.- Before:
k-button-solid-primary,k-chip-solid-info, andk-fab-solid-primary. The combined classes follow thek-button-<fillMode>-<themeColor>,k-chip-<fillMode>-<themeColor>, andk-fab-<fillMode>-<themeColor>patterns. - After:
k-button-primary,k-chip-info, andk-fab-primary. The classes follow thek-button-<themeColor>,k-chip-<themeColor>, andk-fab-<themeColor>patterns.
- Before:
-
ButtonandFloatingActionButton—Thek-button-<shape>classes (for examplek-button-square) and thek-fab-<shape>classes (k-fab-rectangle,k-fab-square,k-fab-pill,k-fab-circle, andk-fab-rounded) are not rendered, because theshapeproperty is removed. TheFloatingActionButtonrenderedk-fab-rectangleby default.
Data Tools
Pager—Thek-pager-mdclass is not rendered unlesssizeis set. The same applies to thek-picker-mdclass of the responsive numeric select.Pager—The navigation and numeric buttons do not renderk-button-md, and the page sizeDropDownListdoes not renderk-picker-md,k-picker-solid, andk-rounded-md, unlesssizeis set explicitly on thePager.FilterCell—The child controls (buttons, dropdowns, and inputs) no longer receive a default size.
Date Inputs
DateInput,DatePicker,DateTimePicker, andTimePicker—Thek-input-md,k-input-solid, andk-rounded-mdclasses are not rendered unlesssize,rounded, orfillModeis set.DateRangePicker—The swap button does not renderk-button-mdandk-rounded-mdunlesssizeorroundedis set.
Dropdowns
AutoComplete,ComboBox,MultiSelect, andMultiSelectTree—Thek-input-md,k-rounded-md, andk-input-solidclasses are not rendered unlesssize,rounded, orfillModeis set.DropDownListandDropDownTree—Thek-picker-md,k-rounded-md, andk-picker-solidclasses are not rendered unless the properties are set.MultiSelectandMultiSelectTree—The tag list does not renderk-chip-list-md, and each tag does not renderk-chip-md,k-rounded-md,k-chip-solid, andk-chip-solid-base, unlesssize,rounded,fillMode, ortagsRounded(MultiSelect) is set.- The list filter input does not render
k-input-md,k-rounded-md, andk-input-solidunless the properties are set.
Grid
-
Grid—TheGridToolbarrendersk-toolbar k-grid-toolbar k-toolbar-solid. Thek-toolbar-mdclass is rendered only whensize="medium"is set. TheGriditself still rendersk-grid-mdandk-table-md, because itssizedefault is not removed. -
Grid—The inline scrollbar-compensation padding (style="padding: 0 <scrollbar width>px 0 0", mirrored in RTL) is no longer set on thek-grid-headerandk-grid-footerelements. -
Grid—The headerthelements no longer havestyle="top: 0px". -
Grid—The headertdcells, for example the filter row cells, now render theid,colspan, androwspanattributes. -
GridFilterCell—Thek-filtercell-operatorwrapper now contains an before the clear button. -
Grid—Thek-selectedclass of a row follows theisSelectedstate that the Grid computes instead of the value ofselectedFieldon the data item. -
Grid—Each rowtrrenders anabsolute-row-indexattribute. -
Grid—The no-records message moved.- Before: A
tr.k-table-row.k-grid-norecordswith atd.k-table-tdinside thetbody. - After: A
div.k-grid-norecordswith adiv.k-grid-norecords-template, a sibling of the table. In a scrollable Grid, it is inside thek-grid-table-wrapelement. Thek-height-containerelement is not rendered while there are no records.
- Before: A
-
Grid—The default loader markup changed.- Before: A
div.k-loader-container.k-loader-container-md.k-loader-topwithk-loader-container-overlayandk-loader-container-innerchildren and an infinite-spinnerLoader, inside thek-grid-containerelement. - After: A
div.k-loading-maskwith ak-loading-colorchild and a centered converging-spinnerLoader. It is rendered only whenshowLoaderistrue, and it is a child of the Grid root after the pager instead of being insidek-grid-container.
- Before: A
Indicators
Badge—Thek-badge-md,k-badge-solid,k-badge-solid-primary, andk-rounded-mdclasses are not rendered unlesssize,rounded,fillMode, orthemeColoris set. An explicitthemeColorrenders a singlek-badge-<themeColor>class, for examplek-badge-primary, instead of the combinedk-badge-<fillMode>-<themeColor>class.BadgeContainer—The badge element does not renderk-badge-md,k-badge-solid, andk-rounded-mdunless the properties are set. The combinedk-badge-<fillMode>-<themeColor>class is rendered only whenfillModeis set.Loader—Thek-loader-mdclass is not rendered unlesssizeis set. Thek-loader-primaryclass is still rendered, because thethemeColordefault is not removed.
Inputs
Input,TextBox,TextArea,MaskedTextBox, andNumericTextBox—Thek-input-md,k-rounded-md, andk-input-solidclasses are not rendered unlesssize,rounded, orfillModeis set.ColorPicker—Thek-picker-md,k-rounded-md, andk-picker-solidclasses are not rendered unless the properties are set.Signature—Thek-signature-md,k-rounded-md, andk-input-solidclasses are not rendered unless the properties are set.Checkbox—Thek-checkbox-mdandk-rounded-mdclasses are not rendered unlesssizeorroundedis set.RadioButton—Thek-radio-mdclass is not rendered unlesssizeis set.Switch—Thek-switch-mdclass and thek-rounded-fullclass of the root, the track, and the thumb are not rendered unlesssize,trackRounded, orthumbRoundedis set. The'circle'option oftrackRoundedandthumbRoundedis removed. Use'full'instead.ColorPalette—Thek-colorpalette-mdclass is not rendered unlesssizeis set.FlatColorPicker—Thek-coloreditor-mdclass is not rendered unlesssizeis set. TheFlatColorPickerand theColorPickerpopup no longer pass a default size to theColorGradient(k-colorgradient-md) and theColorPalette.
Layout
Avatar—Thek-avatar-md,k-rounded-md,k-avatar-solid, andk-avatar-solid-primaryclasses are not rendered unlesssize,rounded, orfillModeis set. Thek-avatar-solid-primaryclass is rendered only together withfillMode="solid".TabStrip—Thek-tabstrip-mdclass is not rendered unlesssizeis set.
ListBox
-
ListBox—Thek-list-mdclass of thek-listelement is not rendered unlesssizeis set.- Before:
<ListBox />renderedk-list k-list-md. - After:
<ListBox />rendersk-list.
- Before:
-
ListBoxToolbar—The tool buttons no longer receive the default appearance classes of the buttons package, such ask-button-md,k-rounded-md, andk-button-solid, because theButtondefaults are removed.
TreeList
-
TreeList—The size classes of the table, the header table, the toolbar, and thePagerchanged whensizeis not set.- Before:
k-table k-grid-table k-table-mdon the data table,k-table-mdon the header table (k-grid-header-table),k-toolbar-mdon the toolbar, andk-pager-mdon thePager. - After: The data table renders
k-table k-grid-table k-grid-md, and the header table, the toolbar, and thePagerhave no size class. The wrapper keepsk-grid k-grid-md. Setsize="medium"to restore the previous classes. TheFilterCellandPagerchild controls (buttons, dropdowns, and inputs) no longer receive a default size.
- Before:
-
TreeList—The'none'size rendersk-grid-none,k-table-none, and the like.
For the changes in the component API, see Breaking Changes in 8.0.0.