New to KendoReact? Start a free 30-day trial
Rendering Changes in 5.10.0
The KendoReact 5.10.0 release introduces changes in the rendering of a number of components.
AutoComplete
- Added
k-autocomplete-popupclass to thek-list-containerelement.
Buttons
- Removed the
shapeprop. - Removed the
k-shape-*andk-fab-{shape}classes.
Calendar
- The Today
<span>element is now rendered with a flatButtoncomponent. - The
k-calendar-nav-todayelement inside the Calendar navigation is now rendered with a<button>element.
ChunkProgressBar
- Added the
k-progressbar-chunksclass to thek-resetelement. - Replaced the
k-itemclass with thek-progress-chunkclass. - Removed the
k-widgetclass.
ComboBox
- Added
k-combobox-popupclass to thek-list-containerelement.
DataTools
- Added
k-table-rowclass to the column draggable<tr>element. - Added
k-table-rowclass to thek-filter-rowelement. - Added
k-table-thclass to thek-headerelement. - Added
k-table-theadclass to thek-grid-headerelement. - Added
k-table-rowclass to the header row element. - Removed the
k-labelclass from thek-pager-infoand thek-pager-sizeselements.
DatePicker
- Added
k-datepicker-popupclass to its popup element.
DateRangePicker
- Added
k-daterangepicker-popupclass to its popup element.
Dialog
- Added the new
themeColorproperty that supports primary, dark, and light theme colors. - Added the
k-window-{themeColor}classes to the Dialog component. - Added the
k-window-titlebar-actionandk-dialog-titlebar-actionclasses to the action buttons. - Replaced the
k-dialog-buttongroupclass withk-dialog-actions. - Replaced the
k-dialog-actionsandk-dialog-actionsclasses in thetitlebarelement with thek-window-titlebar-actionsandk-dialog-titlebar-actionsclasses.
DropDownList
- Added
k-dropdownlist-popupclass to thek-list-containerelement.
DropDownTree
- Added
k-dropdowntree-popupclass to thek-list-containerelement.
Editor
- Added the
k-editor-toolbarclass to the Editor toolbar. - Added the
k-editor-windowclass to all the Editor popups. - Added
k-form-labelclass to the Editor popup labels. - Replaced the
Dialogcomponents in all popups withWindowcomponents. - Replaced the
k-edit-fieldclass of the form element withk-form-field-wrap. - Toolbar components with popups now have the respective KendoReact components instead of their HTML element counterparts. For example,
<input>is replaced with the Input component. - The Form component is moved inside the popup.
- Removed label wrappers with
k-edit-labelclass. - Removed the
k-editor-link-text-rowclass. - Removed the
k-widgetclass. - Removed the wrapper with
k-edit-form-containerclass in the InsertLink popup element. - Removed the
k-textareaclass from thek-editor-textareaelements.
Form
- Added the new
sizeproperty that allows you to configure the size of the Form and supportssmall,medium,largeand not set size (null).
Grid
In 5.10.0 release we added table-specific classes to the following elements
| Prior to 5.10.0 | 5.10.0 and Later |
|---|---|
<table> | <thead className="k-table"> |
<thead> | <thead className="k-table-thead"> |
<th> | <th className="k-table-th"> |
<tbody> | <tbody className="k-table-tbody"> |
<tfoot> | <tbody className="k-table-tfoot"> |
<tr> | <tr className="k-table-row"> |
<td> | <tr className="k-table-td"> |
The 5.10.0 release also introduced the following changes:
- Added the new
sizeproperty that allows you to configure the size of the Pager and supportssmall,medium,largeand not set size (null). - Added
k-grid-{size}class to the main wrapping element of the component. Necessary to introduce the Size options of the Grid. The child elements inherit thek-grid-{size}class. - Added
k-toolbar-{size}class to the wrapping element of the toolbar. - Added a new
<div className="k-grouping-drop-container">wrapper of the groups. - Added
k-grid-pagerclass to the nestedPagercomponent. - Added
k-table-alt-rowclass to thek-altelement. - Removed the
k-widgetclass of thek-gridelement. - Removed the
k-grouping-header-flexclass from thek-grouping-headerelement. - Removed the
k-indicator-containerwrapper in favor of the newly added<div className="k-chip-list">element with a size-dependingk-chip-list-{Size}class. - Changed the
roleof the<td className="k-group-cell">element frompresentationtogridcell.
ListBox
- Replaced the
k-listbox-toolbarclass with thek-listbox-actionsclass. - Replaced the
k-listbox-toolbar-left,k-listbox-toolbar-right,k-listbox-toolbar-top, andk-listbox-toolbar-bottomclasses with thek-listbox-actions-left,k-listbox-actions-right,k-listbox-actions-top, andk-listbox-actions-bottomclasses. - The ListBox actions are now wrapped in a single container.
- Removed the
<ul>wrapper of the action buttons and its child<li>elements.
ListView
- Removed the
k-widgetclass.
MultiSelect
- Added a separate chip list wrapper with class
k-input-values. - Added
k-multiselect-popupclass to thek-list-containerelement.
MultiSelectTree
- Added
k-multiselecttree-popupclass to thek-list-containerelement.
Notification
- Removed the
k-widgetclass. - Added
k-notification-statusclass theIconWrapcomponent. - Removed the
<div class="k-notification-wrap">element. - Added the
k-notification-actionsandk-notification-action classesclasses where the closable icon is wrapped in a<span class="k-notification-actions">container.
Pager
- Added the new
sizeproperty that allows you to configure the size of the Pager and supportssmall,medium,largeand not set size (null). - Added
k-pager-{Size}class set based on the chosensizevalue. - Added a new
<select className="k-picker k-dropdown-list k-dropdown k-rounded-md">element with ak-picker-{Size}class set based on the chosensizevalue. - Added
k-picker k-dropdown-list k-rounded-mdclasses to thek-dropdownelement along with ak-picker-{Size}class set based on the chosensizevalue. - Removed the
k-widgetclass from thek-pagerwrapper. - Replaced the
<a>elements used for the rendering of the buttons with flatButtoncomponents. - Removed the
k-linkclass. - Replaced the
<ul className="k-pager-numbers">element with<div className="k-pager-numbers">. - Removed the
<li>button wrapping elements.
ProgressBar
- Added the
k-progressbar-valueclass to the<div>element that contains thek-selectedclass. - Removed the
k-widgetclass. - The progress width and height are now updated based on
--kendo-progressbar-value.
Scheduler
- Added the new
sizeproperty that allows you to configure the size of the Scheduler's header and footer components and supportssmall,medium,largeand not set size (null).
TextBox
- Added
k-textboxclass to thek-inputwrapper.
TimePicker
- Added
k-timepicker-popupclass to its popup element.
Toolbar
- Added the new
sizeproperty that allows you to configure the size of the Toolbar and supportssmall,medium,largeand not set size (null). - Replaced the toolbar item
<span>wrapper with a wrapping<div className="k-toolbar-item">element.
TreeList
- Added
k-table-{size}andk-grid-tableclasses to the main wrapping element of the component. Necessary to introduce the Size options of the Grid. - Added all
k-table-{element}classes applicable to the Grid as well.
Upload
The 5.10.0 release introduced changes in the names of the following classes:
| Prior to 5.10.0 | 5.10.0 and Later |
|---|---|
k-button-icon | k-button-icon |
k-multiple-files-group-wrapper | k-file-icon-wrapper |
k-file-group | k-file-icon |
k-file-name-size-wrapper | k-file-info |
k-file-information | k-file-summary |
The 5.10.0 release also introduced the following changes:
- Added
k-upload-button-wrapclass. - Added
k-upload-buttonclass to the upload button component. - Added the
k-upload-dropzoneclass to thek-dropzoneelement. - Added
k-file-errorclass to thek-file-invalidelement. - Replaced the
<input>button with KendoReactButtoncomponent. - Removed the
k-widgetclass from thek-uploadelement. - Removed the
k-buttonandk-flatclasses from the upload button. - Removed both
k-text-successandk-text-errorclasses fromk-validation-message. - Removed the
k-upload-status-totalclass of the upload status element. - The Upload component now uses Button and ProgressBar components for its upload UI.
- Upload action buttons are now wrapped in a
<span>element withk-upload-actionsclass instead of the used<strong>wrapper withk-upload-statusclass.
Window
- Added the new
themeColorproperty that supports primary, dark, and light theme colors. - Added the
k-window-*classes to the Window component. - Added
k-resize-handles-wrapperclass to the Draggable wrapper. - Replaced the
k-window-actionclass in thetitlebarbuttons withk-window-titlebar-action. - Replaced the
k-window-actionsclass in thetitlebarelement for thek-window-titlebar-actionsclass. - Replaced the
k-window-buttongroupclass with the.k-window-actionsclass. - Replaced the built-in
closeicon of the Window withx. - Removed the
k-widgetclass. - Removed the
k-dialog-titlebarclass from thetitlebarelement.