Rendering Changes in 4.0.0
- Calendar
- Card
- ChunkProgressBar
- (Common) Date Pickers
- (Common) Selects
- Dialog
- Editor
- FileSelect
- Filter
- Form
- Gantt
- Grid
- ListView
- MultiSelect
- Notification
- Pager
- ProgressBar
- Splitter
- Toolbar
- TreeList
- Upload
- Window
Calendar
The <span class="k-calendar-nav-today k-today"> CSS class has been changed to a Flat button (<button class="k-button k-calendar-nav-today k-button-flat k-rounded-md k-button-md k-button-flat-primary"><span class="k-button-text">Today</span></button>).
Card
The following classes related to the Telerik UI for Blazor Card component have been renamed:
| Pre-4.0.0 | 4.0.0 |
|---|---|
k-card-actions-start | k-actions-start |
k-card-actions-end | k-actions-end |
k-card-actions-center | k-actions-center |
k-card-actions-stretched | k-actions-stretched |
ChunkProgressBar
- Added the
k-chunk-progressbarCSS class to the<div class="k-progressbar>. - Added the
k-progressbar-chunksCSS class to the<ul>element. - Replaced the
k-itemclass of the<li>elements with thek-progressbar-chunkclass.
Common for Date Pickers
- All date pickers that incorporate a calendar, namely, the DatePicker, DateTimePicker, DateRangePicker, and TimePicker, inherit the change of the
<span class="k-calendar-nav-today k-today">CSS class to a Flat button. - Added the
k-[COMPONENT]-popupclass to the popup element of all date pickers, namely, the DatePicker, DateTimePicker, DateRangePicker, and TimePicker.
Common for Selects
The k-[COMPONENT]-popup class has been added to the popup element of all components providing a selection option such as the AutoComplete, ColorPicker, ComboBox, DropDownList, MultiColumnComboBox, and MultiSelect.
Dialog
- Added
k-rounded-mdto the buttons in the predefined dialogs. - Renamed the
k-window-actionsandk-dialog-actionsclasses tok-window-titlebar-actionsandk-dialog-titlebar-actions. - Renamed the
k-window-actionandk-dialog-actionclasses tok-window-titlebar-actionandk-dialog-titlebar-action. - Removed the
k-dialog-buttongroupclass from the<div class="k-actions>. - Added
k-actions-horizontal,k-window-actions, andk-dialog-actionsto<div class="k-actions>.
Editor
- Added the
k-editor-windowclass to all popups. - Added the
k-editor-toolbarclass to the Editor toolbar.
FileSelect
- Upload
buttonandinputare no longer nested but are on one level wrapped inside a<div class="k-upload-button-wrap">. - Replaced
k-file-group-wrapper,k-file-invalid-group-wrapper,k-multiple-files-group-wrapperandk-multiple-files-invalid-group-wrapperclasses withk-file-icon-wrapperclass. - Replaced
k-file-groupclass withk-file-iconclass. - Replaced
k-file-name-size-wrapperclass withk-file-infoclass. - Removed
k-file-name-invalidclass from<span class="k-file-name">. - Removed
k-text-successandk-text-errorclasses from<span class="k-file-validation-message">.
Filter
The k-toolbar-item class has been added to <div class="k-filter-toolbar-item>.
Form
k-form-{size} has been added to the main wrapping element of the Telerik UI for Blazor Form component (<form class="k-form">). It's necessary to introduce the Size options of the Form.
Gantt
- Added the
k-grid-mdclass to the<div class="k-grid>element. This action ensures the default medium size of the Gantt tree. - Added
table-specific classes to thetableelements of the Gantt tree:
| Prior to 4.0.0 | 4.0.0 and Later |
|---|---|
<table> | <table class="k-table"> |
<thead> | <thead class="k-table-thead"> |
<tbody> | <tbody class="k-table-tbody"> |
<tfoot> | <tfoot class="k-table-tfoot"> |
<th> | <th class="k-table-th"> |
<tr> | <tr class="k-table-row"> |
<td> | <td class="k-table-td"> |
<tr class="k-grouping-row"> | <tr class="k-table-group-row"> |
Grid
-
Wrapped the sorting icon in a
<span class="k-sort-icon">element.HTML<span class="k-sort-icon"> <span class="k-icon k-i-sort-asc-small"></span> </span> -
Added
k-grid-{size}to the main wrapping element of the component (<div class="k-grid">). It's necessary to introduce theSizeoptions of the Grid. The child elements inherit thek-grid-{size}class. -
Added the
k-grid-header-table,k-grid-table, andk-grid-footer-tableGrid-specific classes to the header, body, and footer of the tables. -
Added
table-specific classes to thetableelements of the Grid:
| Prior to 4.0.0 | 4.0.0 and Later |
|---|---|
<table> | <table class="k-table"> |
<thead> | <thead class="k-table-thead"> |
<tbody> | <tbody class="k-table-tbody"> |
<tfoot> | <tfoot class="k-table-tfoot"> |
<th> | <th class="k-table-th"> |
<tr> | <tr class="k-table-row"> |
<td> | <td class="k-table-td"> |
<tr class="k-grouping-row"> | <tr class="k-table-group-row"> |
Grid Grouping
- Removed
<div class="k-indicator-container">in favor of<div class="k-chip>. TheGroupvalue is now rendered in a<span class="k-chip-content">. The Close icon is now rendered in a<span class="k-chip-actions">container. - Changed the Close icon from
<span class="k-button-icon k-icon k-i-x"></span>to<span class="k-button-icon k-icon k-i-x-circle"></span>. - Removed the
k-grouping-header-flexclass from the grouping header. - Renamed the class of the empty
<div class="k-indicator-container">to<div class="k-grouping-drop-container">.
ListView
The <div class="k-listview-item"> wrapper has been added to the Item template.
MultiSelect
- Added the
k-text-ellipsisclass to the<span class="k-chip-label>element. - Removed the
k-input-valuesandk-selection-multipleclasses from the<div class="k-chip-list">element. - Wrapped the
<div class="k-chip-list">element in a<div class="k-input-values">container.
Notification
- Removed the
<div class="k-notification-wrap">element. - Replaced the closable Notification icon
<a class="k-icon k-i-x">with a<span class="k-icon k-i-x">. - Wrapped the closable icon in a
<span class="k-notification-actions">container.
Pager
- Replaced
<ul class="k-pager-numbers">with a<div class="k-pager-numbers">. - Replaced the
<a class="k-link k-page-nav">navigation buttons with Flat buttons<button class="k-pager-nav k-button k-button-{size} k-button-flat k-button-flat-base k-icon-button">. - Replaced the
<span class="k-link>page numbers with Flat primary buttons<button class="k-button k-button-{size} k-button-flat k-button-flat-primary">. - Removed the
k-floatwrap,k-link,k-pager-wrap, andk-labelclasses. - Added
k-pager-{size}to the main wrapping element of the component (<div class="k-pager">). It's necessary to introduce theSizeoptions of the Form.
ProgressBar
- Added the
k-progressbar-progressclass to the<div class="k-selected>element. - Changed the inline style of the
<div class="k-progressbar>from--kendo-progressbar-progressto--kendo-progressbar-value. The implemented style controls the progress width and height.
Splitter
The k-collapse-prev and k-collapse-next classes have been removed from the <span class="k-icon> element.
Toolbar
- Added the
k-toolbar-resizableclass to the main<div class="k-toolbar>wrapping element of the component. Applicable when the Toolbar is responsive. - Renamed the
k-overflow-anchorclass tok-toolbar-overflow-button. - Added Toolbar-specific classes to all built-in tools such as
k-toolbar-button,k-toolbar-toggle-button,k-toolbar-button-group, and more. - All template items are now wrapped in a
<div class="k-toolbar-item">element. - Added
k-toolbar-{size}to the main<div class="k-toolbar">wrapping element of the component. It's necessary to introduce theSizeoptions of the Toolbar.
Treelist
-
Wrapped the sorting icon in a
<span class="k-sort-icon">element.HTML<span class="k-sort-icon"> <span class="k-icon k-i-sort-asc-small"></span> </span> -
Added the
k-grid-mdclass to the<div class="k-grid>element. This implementation ensures the default medium size of the TreeList. -
Added
table-specific classes to thetableelements of the TreeList:
| Prior to 4.0.0 | 4.0.0 and Later |
|---|---|
<table> | <table class="k-table"> |
<thead> | <thead class="k-table-thead"> |
<tbody> | <tbody class="k-table-tbody"> |
<tfoot> | <tfoot class="k-table-tfoot"> |
<th> | <th class="k-table-th"> |
<tr> | <tr class="k-table-row"> |
<td> | <td class="k-table-td"> |
Upload
- The
buttonandinputof the Upload are no longer nested and are now siblings wrapped inside a<div class="k-upload-button-wrap">. - Removed the
k-headerclass from<div class="k-upload>. - Added the
k-upload-asyncclass to<div class="k-upload>. - Added the
k-upload-dropzoneclass to<div class="k-dropzone">. - Removed the
k-upload-status-totalclass from<div class="k-upload-status">. - Removed the
k-resetclass from the<ul class="k-upload-files">. - Replaced
<div class="k-progressbar">with a<TelerikProgressBar>component without visible labels. - Replaced the
k-file-group-wrapper,k-file-invalid-group-wrapper,k-multiple-files-group-wrapper, andk-multiple-files-invalid-group-wrapperclasses with thek-file-icon-wrapperclass. - Replaced the
k-file-name-size-wrapperclass with thek-file-infoclass. - Removed the
k-text-successandk-text-errorclasses from<span class="k-file-validation-message">.
Action Buttons
The following changes are applicable when AutoUpload = "false", so the Clear and Upload action buttons are rendered:
- Added the
k-actions-horizontalclass to<div class="k-actions>. - Removed the
k-clear-selectedandk-upload-selectedclasses from the action buttons. - Added the
k-rounded-mdclass to the action buttons. - Wrapped the buttons text in a
<span class="k-button-text">element.
Window
- Removed the
k-window-wrapperclass from<div class="k-window>. - Removed the
k-dialog-contentclass from<div class="k-window-content>. - Removed the
k-dialog-titlebarandk-headerclasses from<div class="k-window-titlebar>. - Renamed
k-window-actionstok-window-titlebar-actions. - Renamed
k-window-actiontok-window-titlebar-action.