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-popup
class to thek-list-container
element.
Buttons
- Removed the
shape
prop. - Removed the
k-shape-*
andk-fab-{shape}
classes.
Calendar
- The Today
<span>
element is now rendered with a flatButton
component. - The
k-calendar-nav-today
element inside the Calendar navigation is now rendered with a<button>
element.
ChunkProgressBar
- Added the
k-progressbar-chunks
class to thek-reset
element. - Replaced the
k-item
class with thek-progress-chunk
class. - Removed the
k-widget
class.
ComboBox
- Added
k-combobox-popup
class to thek-list-container
element.
DataTools
- Added
k-table-row
class to the column draggable<tr>
element. - Added
k-table-row
class to thek-filter-row
element. - Added
k-table-th
class to thek-header
element. - Added
k-table-thead
class to thek-grid-header
element. - Added
k-table-row
class to the header row element. - Removed the
k-label
class from thek-pager-info
and thek-pager-sizes
elements.
DatePicker
- Added
k-datepicker-popup
class to its popup element.
DateRangePicker
- Added
k-daterangepicker-popup
class to its popup element.
Dialog
- Added the new
themeColor
property that supports primary, dark, and light theme colors. - Added the
k-window-{themeColor}
classes to the Dialog component. - Added the
k-window-titlebar-action
andk-dialog-titlebar-action
classes to the action buttons. - Replaced the
k-dialog-buttongroup
class withk-dialog-actions
. - Replaced the
k-dialog-actions
andk-dialog-actions
classes in thetitlebar
element with thek-window-titlebar-actions
andk-dialog-titlebar-actions
classes.
DropDownList
- Added
k-dropdownlist-popup
class to thek-list-container
element.
DropDownTree
- Added
k-dropdowntree-popup
class to thek-list-container
element.
Editor
- Added the
k-editor-toolbar
class to the Editor toolbar. - Added the
k-editor-window
class to all the Editor popups. - Added
k-form-label
class to the Editor popup labels. - Replaced the
Dialog
components in all popups withWindow
components. - Replaced the
k-edit-field
class 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-label
class. - Removed the
k-editor-link-text-row
class. - Removed the
k-widget
class. - Removed the wrapper with
k-edit-form-container
class in the InsertLink popup element. - Removed the
k-textarea
class from thek-editor-textarea
elements.
Form
- Added the new
size
property that allows you to configure the size of the Form and supportssmall
,medium
,large
and 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
size
property that allows you to configure the size of the Pager and supportssmall
,medium
,large
and 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-pager
class to the nestedPager
component. - Added
k-table-alt-row
class to thek-alt
element. - Removed the
k-widget
class of thek-grid
element. - Removed the
k-grouping-header-flex
class from thek-grouping-header
element. - Removed the
k-indicator-container
wrapper in favor of the newly added<div className="k-chip-list">
element with a size-dependingk-chip-list-{Size}
class. - Changed the
role
of the<td className="k-group-cell">
element frompresentation
togridcell
.
ListBox
- Replaced the
k-listbox-toolbar
class with thek-listbox-actions
class. - Replaced the
k-listbox-toolbar-left
,k-listbox-toolbar-right
,k-listbox-toolbar-top
, andk-listbox-toolbar-bottom
classes with thek-listbox-actions-left
,k-listbox-actions-right
,k-listbox-actions-top
, andk-listbox-actions-bottom
classes. - 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-widget
class.
MultiSelect
- Added a separate chip list wrapper with class
k-input-values
. - Added
k-multiselect-popup
class to thek-list-container
element.
MultiSelectTree
- Added
k-multiselecttree-popup
class to thek-list-container
element.
Notification
- Removed the
k-widget
class. - Added
k-notification-status
class theIconWrap
component. - Removed the
<div class="k-notification-wrap">
element. - Added the
k-notification-actions
andk-notification-action classes
classes where the closable icon is wrapped in a<span class="k-notification-actions">
container.
Pager
- Added the new
size
property that allows you to configure the size of the Pager and supportssmall
,medium
,large
and not set size (null
). - Added
k-pager-{Size}
class set based on the chosensize
value. - 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 chosensize
value. - Added
k-picker k-dropdown-list k-rounded-md
classes to thek-dropdown
element along with ak-picker-{Size}
class set based on the chosensize
value. - Removed the
k-widget
class from thek-pager
wrapper. - Replaced the
<a>
elements used for the rendering of the buttons with flatButton
components. - Removed the
k-link
class. - 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-value
class to the<div>
element that contains thek-selected
class. - Removed the
k-widget
class. - The progress width and height are now updated based on
--kendo-progressbar-value
.
Scheduler
- Added the new
size
property that allows you to configure the size of the Scheduler's header and footer components and supportssmall
,medium
,large
and not set size (null
).
TextBox
- Added
k-textbox
class to thek-input
wrapper.
TimePicker
- Added
k-timepicker-popup
class to its popup element.
Toolbar
- Added the new
size
property that allows you to configure the size of the Toolbar and supportssmall
,medium
,large
and 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-table
classes 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-wrap
class. - Added
k-upload-button
class to the upload button component. - Added the
k-upload-dropzone
class to thek-dropzone
element. - Added
k-file-error
class to thek-file-invalid
element. - Replaced the
<input>
button with KendoReactButton
component. - Removed the
k-widget
class from thek-upload
element. - Removed the
k-button
andk-flat
classes from the upload button. - Removed both
k-text-success
andk-text-error
classes fromk-validation-message
. - Removed the
k-upload-status-total
class 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-actions
class instead of the used<strong>
wrapper withk-upload-status
class.
Window
- Added the new
themeColor
property that supports primary, dark, and light theme colors. - Added the
k-window-*
classes to the Window component. - Added
k-resize-handles-wrapper
class to the Draggable wrapper. - Replaced the
k-window-action
class in thetitlebar
buttons withk-window-titlebar-action
. - Replaced the
k-window-actions
class in thetitlebar
element for thek-window-titlebar-actions
class. - Replaced the
k-window-buttongroup
class with the.k-window-actions
class. - Replaced the built-in
close
icon of the Window withx
. - Removed the
k-widget
class. - Removed the
k-dialog-titlebar
class from thetitlebar
element.