diff --git a/src/BootstrapBlazor.Server/Components/Samples/SweetAlerts.razor b/src/BootstrapBlazor.Server/Components/Samples/SweetAlerts.razor
index 1afce126623..5c8bb0cd799 100644
--- a/src/BootstrapBlazor.Server/Components/Samples/SweetAlerts.razor
+++ b/src/BootstrapBlazor.Server/Components/Samples/SweetAlerts.razor
@@ -63,7 +63,7 @@ await SwalService.Show(op);
@@ -74,7 +74,7 @@ await SwalService.Show(op);
@Localizer["SweetAlertsNormalHint"]
@@ -85,7 +85,7 @@ await SwalService.Show(op);
@Localizer["SweetAlertsNormalDoubt"]
diff --git a/src/BootstrapBlazor/BootstrapBlazor.csproj b/src/BootstrapBlazor/BootstrapBlazor.csproj
index 047013724de..95b737a19f7 100644
--- a/src/BootstrapBlazor/BootstrapBlazor.csproj
+++ b/src/BootstrapBlazor/BootstrapBlazor.csproj
@@ -1,7 +1,7 @@
- 9.2.2
+ 9.2.3-beta01
diff --git a/src/BootstrapBlazor/Components/SweetAlert/SweetAlert.razor.scss b/src/BootstrapBlazor/Components/SweetAlert/SweetAlert.razor.scss
index 3e421a94cd6..71ea5725bea 100644
--- a/src/BootstrapBlazor/Components/SweetAlert/SweetAlert.razor.scss
+++ b/src/BootstrapBlazor/Components/SweetAlert/SweetAlert.razor.scss
@@ -4,6 +4,70 @@
z-index: var(--bb-swal-zindex);
}
+.swal2-header {
+ display: flex;
+ flex-direction: column;
+ align-items: center;
+}
+
+.swal2-icon {
+ position: relative;
+ box-sizing: content-box;
+ justify-content: center;
+ width: 5em;
+ height: 5em;
+ margin: 1.25em auto 1.875em;
+ zoom: normal;
+ border: .25em solid transparent;
+ border-radius: 50%;
+ line-height: 5em;
+ cursor: default;
+ user-select: none;
+}
+
+.swal2-title {
+ position: relative;
+ max-width: 100%;
+ margin: 0 0 .4em;
+ padding: 0;
+ color: #595959;
+ font-size: 1.875em;
+ font-weight: 600;
+ text-align: center;
+ text-transform: none;
+ word-wrap: break-word;
+}
+
+.swal2-content {
+ z-index: 1;
+ justify-content: center;
+ margin: 0;
+ padding: 0;
+ color: #545454;
+ font-size: 1.125em;
+ font-weight: 300;
+ line-height: normal;
+ word-wrap: break-word;
+}
+
+.swal2-actions {
+ z-index: 1;
+ flex-wrap: wrap;
+ align-items: center;
+ justify-content: center;
+ width: 100%;
+ margin: 1.25em auto 0;
+}
+
+.swal2-footer {
+ justify-content: center;
+ margin: 1.25em 0 0;
+ padding: 1em 0 0;
+ border-top: 1px solid #eee;
+ color: #545454;
+ font-size: 1em;
+}
+
.swal2-icon,
.swal2-actions {
display: flex;
diff --git a/src/BootstrapBlazor/Components/SweetAlert/SweetAlertBody.razor b/src/BootstrapBlazor/Components/SweetAlert/SweetAlertBody.razor
index f530856fe6a..2c210a27289 100644
--- a/src/BootstrapBlazor/Components/SweetAlert/SweetAlertBody.razor
+++ b/src/BootstrapBlazor/Components/SweetAlert/SweetAlertBody.razor
@@ -20,9 +20,23 @@
}
- else
+ else if (Category == SwalCategory.Warning)
{
-