diff --git a/doc/material-migration.md b/doc/material-migration.md index c7595e3f7..9473491c9 100644 --- a/doc/material-migration.md +++ b/doc/material-migration.md @@ -2,21 +2,20 @@ uid: Uno.Themes.Material.Migration --- -# Upgrading Uno.Material +# Upgrading Uno Material -## Upgrading to Uno Themes v5.0 +## Upgrading to Uno Themes v5 -Version 5.0.0 of Uno Themes introduces breaking changes to the library. Below are the changes that have been made: +The Uno Material v5 packages introduce a new dependency on the [Uno Themes](https://www.nuget.org/packages/Uno.Themes.WinUI) package. Uno Themes is the base library for all design system implementations going forward. As a result, the following changes have been made: ### Converters -All Converters were moved to the `Uno.Themes` library, and the new `namespace` is `Uno.Themes`. +All Converters were moved to the base `Uno.Themes` library, and the new `namespace` is `Uno.Themes`. Before: ```xml - @@ -27,7 +26,6 @@ After: ```xml - diff --git a/doc/themes-control-extensions.md b/doc/themes-control-extensions.md index b756d969d..6e0f1da8f 100644 --- a/doc/themes-control-extensions.md +++ b/doc/themes-control-extensions.md @@ -4,13 +4,6 @@ uid: Uno.Themes.Control.Extensions # Control Extensions -Starting on version 5.0.0 the `ControlExtensions` are available on the `Uno.Themes` namespace, so to use that in xaml you should add the following xmlns to your project: - -`xmlns:ut="using:Uno.Themes"` - -> [!INFO] -> For more information about see our [migration docs](material-migration.md). - ## Icon This feature allows for the addition of icon on the supported controls. Those icons could be any of the [`IconElement`](https://learn.microsoft.com/windows/windows-app-sdk/api/winrt/microsoft.ui.xaml.controls.iconelement)s: ``, ``, ``, or ``. @@ -114,4 +107,3 @@ The following control styles have support for elevation: | Control | Supporting Styles | |----------|-----------------------| | `Button` | `ElevatedButtonStyle` | -|----------|-----------------------|