Breaking Changes in 14.0.0
Chart
The template syntax with literals and inline expressions is deprecated. Instead, set the Template parameter to the name of a JavaScript function that returns the required content. This change is also related to CSP compliance.
Using Chart templates up to version 13.3.0 and after version 14.0.0
| UI for Blazor 13.3.0 | UI for Blazor 14.0.0 |
|---|---|
|
RAZOR
|
RAZOR
|
Chat
The OnLoadMoreMessages event arguments now contain the full rendered message range, not just the newly requested page.
Menu
The MenuHideEvent.Click value of the Menu's HideOn parameter now also causes the child items popup to close, when the user clicks or taps a leaf Menu item.
PDFViewer
- The PDF.js library used internally by the PDFViewer is updated to version 5.x. If you are using different products that depend on PDF.js, make sure they depend on the same version.
- The
ZoomChangedcallback type changed fromEventCallback<decimal>toEventCallback<object>. Update existing handlers to acceptobject. Casting the argument with(decimal)newZoomis safe after the initial render.
TabStrip
The ActiveTabIndexChanged event and the ActiveTabIndex parameter are now removed. Use the ActiveTabId parameter with the ActiveTabIdChanged event instead.
ThemeColor Changes
The appearance of the components listed below is determined by the active theme style sheet.
ThemeColor Values
The following values of the ThemeColor parameter are removed from the following components:
| Component | Removed ThemeColor values |
|---|---|
| AppBar | Dark, Error, Info, Light, Success, Warning |
| Avatar, Loader, LoaderContainer | Dark, Error, Info, Inverse, Light, Success, Warning |
| Badge | Dark, Inverse, Light |
| Button, DropDownButton, FontIcon, Notification, SvgIcon, SplitButton | Dark, Light |
ThemeColor Parameter
The ThemeColor parameter is removed from:
- Card. See how to use the
Classparameter to apply theme colors to Cards. - Dialog
- Window
- Popup edit settings
OverlayThemeColor Parameter
OverlayThemeColor is removed from the LoaderContainer.