From 67fd2af9608805752953534bc945ba6f41f6eaf9 Mon Sep 17 00:00:00 2001 From: capdiem Date: Mon, 22 Apr 2024 10:59:23 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=93=9D=20docs:=20Update=20notifications?= =?UTF-8?q?=20(#1868)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Menus/NotificationsMenu.razor.cs | 22 +++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/docs/Masa.Docs.Shared/Components/Menus/NotificationsMenu.razor.cs b/docs/Masa.Docs.Shared/Components/Menus/NotificationsMenu.razor.cs index 4da87c458a..b78ce01b1e 100644 --- a/docs/Masa.Docs.Shared/Components/Menus/NotificationsMenu.razor.cs +++ b/docs/Masa.Docs.Shared/Components/Menus/NotificationsMenu.razor.cs @@ -67,6 +67,28 @@ protected override void OnInitialized() _allNotifications = [ + new NotificationItem( + "v1.4.2 Release", + """ + Highlights: + - **EnqueuedSnackbars**: Reset position when app bottom or top changed. + - **BottomNavigation**: Reset the bottom of app to 0 if disposing. + """, + NotificationType.Release, + "/blazor/getting-started/release-notes?v=v1.4.2", + "release notes", + new DateOnly(2024, 4, 22)), + new NotificationItem( + "v1.4.1 Release", + """ + Highlights: + - **Theme**: aadd support for OnError, OnInfo, OnSuccess, OnWarning, InverseSurface, InverseOnSurface and InversePrimary color roles. + - **Snackbar**: Use reverse-surface color as the background color. + """, + NotificationType.Release, + "/blazor/getting-started/release-notes?v=v1.4.1", + "release notes", + new DateOnly(2024, 4, 17)), new NotificationItem( "v1.4.0 Release", """