Skip to content

Commit

Permalink
Merge pull request #12 from stavroskasidis/release/1.6
Browse files Browse the repository at this point in the history
Release 1.6.0
  • Loading branch information
stavroskasidis authored Jul 5, 2023
2 parents c583c75 + 42729a2 commit 447607a
Show file tree
Hide file tree
Showing 7 changed files with 18 additions and 2 deletions.
2 changes: 1 addition & 1 deletion BlazorDialog/BlazorDialog.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
<Copyright />
<PackageTags>blazor blazor-component blazor-dialog dialog modal blazor-modal blazordialog blazormodaldialog blazormodal razor razor-components razorcomponents</PackageTags>
<VersionSuffix>$(VersionSuffix)</VersionSuffix>
<Version>1.5.0</Version>
<Version>1.6.0</Version>
<Version Condition=" '$(VersionSuffix)' != '' ">$(Version)-$(VersionSuffix)</Version>
<Product>BlazorDialog</Product>
</PropertyGroup>
Expand Down
2 changes: 2 additions & 0 deletions BlazorDialog/Components/Dialog.razor
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,8 @@
return "blazor-dialog-content-wrapper-windowed blazor-dialog-content-wrapper-large";
case DialogSize.ExtraLarge:
return "blazor-dialog-content-wrapper-windowed blazor-dialog-content-wrapper-xlarge";
case DialogSize.ExtraExtraLarge:
return "blazor-dialog-content-wrapper-windowed blazor-dialog-content-wrapper-xxlarge";
case DialogSize.FullScreen:
return "blazor-dialog-content-wrapper-full";
default:
Expand Down
1 change: 1 addition & 0 deletions BlazorDialog/DialogSize.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ public enum DialogSize
Small,
Large,
ExtraLarge,
ExtraExtraLarge,
FullScreen
}
}
6 changes: 6 additions & 0 deletions BlazorDialog/wwwroot/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,12 @@
}
}

@media (min-width: 1616px) {
.blazor-dialog-content-wrapper-xxlarge {
max-width: 1400px; margin: 2.75rem auto;
}
}

@media (min-width: 576px) {
.blazor-dialog-content-wrapper-small {
max-width: 300px;
Expand Down
7 changes: 6 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,12 @@ Make sure that there is a call to `app.UseStaticFiles();` in your server project
## Release Notes

<details open="open"><summary>1.5</summary>
<details open="open"><summary>1.6</summary>

>- Added a new size option: ExtraExtraLarge.
</details>
<details ><summary>1.5</summary>

>- Added css class parameter to all helper components (header/body/footer).
</details>
Expand Down
1 change: 1 addition & 0 deletions TestApps/BlazorDialog.TestAppsCommon/IndexCommon.razor
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
<option value="@DialogSize.Normal">@DialogSize.Normal</option>
<option value="@DialogSize.Large">@DialogSize.Large</option>
<option value="@DialogSize.ExtraLarge">@DialogSize.ExtraLarge</option>
<option value="@DialogSize.ExtraExtraLarge">@DialogSize.ExtraExtraLarge</option>
<option value="@DialogSize.Small">@DialogSize.Small</option>
<option value="@DialogSize.FullScreen">@DialogSize.FullScreen</option>
</select>
Expand Down
1 change: 1 addition & 0 deletions TestApps/BlazorDialog.TestAppsCommon/NoServiceCommon.razor
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
<option value="@DialogSize.Normal">@DialogSize.Normal</option>
<option value="@DialogSize.Large">@DialogSize.Large</option>
<option value="@DialogSize.ExtraLarge">@DialogSize.ExtraLarge</option>
<option value="@DialogSize.ExtraExtraLarge">@DialogSize.ExtraExtraLarge</option>
<option value="@DialogSize.Small">@DialogSize.Small</option>
<option value="@DialogSize.FullScreen">@DialogSize.FullScreen</option>
</select>
Expand Down

0 comments on commit 447607a

Please sign in to comment.