fix: animation classs name change of Modal, Message and Notification componments (#1186)

* fix(module: modal): sync animation class name with official

* fix(module: message): sync animation class name with official

* fix(module: notification): sync animation class name with official
This commit is contained in:
zxyao 2021-03-01 23:45:30 +08:00 committed by GitHub
parent 6ebb1b311a
commit 5fe1e94f4d
3 changed files with 8 additions and 8 deletions

View File

@ -6,7 +6,7 @@ namespace AntDesign
{
internal class MessageAnimationType
{
public const string Enter = "move-up-enter move-up-enter-active";
public const string Leave = "move-up-leave move-up-leave-active";
public const string Enter = "ant-move-up-enter ant-move-up-enter-active ant-move-up";
public const string Leave = "ant-move-up-leave ant-move-up-leave-active ant-move-up";
}
}

View File

@ -6,10 +6,10 @@ namespace AntDesign
{
public sealed class ModalAnimation
{
public const string ModalEnter = " zoom-enter zoom-enter-active";
public const string ModalLeave = " zoom-leave zoom-leave-active";
public const string ModalEnter = " ant-zoom-enter ant-zoom-enter-active ant-zoom-enter";
public const string ModalLeave = " ant-zoom-leave ant-zoom-leave-active ant-zoom";
public const string MaskEnter = " fade-enter fade-enter-active";
public const string MaskLeave = " fade-leave fade-leave-active";
public const string MaskEnter = " ant-fade-enter ant-fade-enter-active ant-fade";
public const string MaskLeave = " ant-fade-leave ant-fade-leave-active ant-fade";
}
}

View File

@ -6,8 +6,8 @@ namespace AntDesign
{
internal static class AnimationType
{
public const string Enter = " ant-notification-fade-enter ant-notification-fade-enter-active";
public const string Enter = " ant-notification-fade-enter ant-notification-fade-enter-active ant-notification-fade";
public const string Leave = " ant-notification-fade-leave ant-notification-fade-leave-active";
public const string Leave = " ant-notification-fade-leave ant-notification-fade-leave-active ant-notification-fade";
}
}