File tree Expand file tree Collapse file tree 5 files changed +14
-5
lines changed
Expand file tree Collapse file tree 5 files changed +14
-5
lines changed Original file line number Diff line number Diff line change 1616 <Copyright />
1717 <PackageTags >blazor blazor-component blazor-dialog dialog modal blazor-modal blazordialog blazormodaldialog blazormodal razor razor-components razorcomponents</PackageTags >
1818 <VersionSuffix >$(VersionSuffix)</VersionSuffix >
19- <Version >1.4 .0</Version >
19+ <Version >1.5 .0</Version >
2020 <Version Condition =" '$(VersionSuffix)' != '' " >$(Version)-$(VersionSuffix)</Version >
2121 <Product >BlazorDialog</Product >
2222 </PropertyGroup >
Original file line number Diff line number Diff line change 11@namespace BlazorDialog
2- <div class =" blazor-dialog-body" >
2+ <div class =" blazor-dialog-body @CssClass " >
33 @ChildContent
44</div >
55
66@code {
77
88 [Parameter ] public RenderFragment ChildContent { get ; set ; }
9+
10+ [Parameter ] public string CssClass { get ; set ; }
911}
Original file line number Diff line number Diff line change 11@namespace BlazorDialog
2- <div class =" blazor-dialog-footer" >
2+ <div class =" blazor-dialog-footer @CssClass " >
33 @ChildContent
44</div >
55
66@code {
77 [Parameter ] public RenderFragment ChildContent { get ; set ; }
8+ [Parameter ] public string CssClass { get ; set ; }
89}
Original file line number Diff line number Diff line change 11@namespace BlazorDialog
2- <div class =" blazor-dialog-header" >
2+ <div class =" blazor-dialog-header @CssClass " >
33 <div class =" blazor-dialog-title" >@ChildContent </div >
44 @if (ShowClose )
55 {
1212@code {
1313 [Parameter ] public RenderFragment ChildContent { get ; set ; }
1414 [Parameter ] public bool ShowClose { get ; set ; } = false ;
15+ [Parameter ] public string CssClass { get ; set ; }
1516 [CascadingParameter (Name = " ParentDialog" )] Dialog Dialog { get ; set ; }
1617
1718 private async Task OnCloseClick ()
Original file line number Diff line number Diff line change @@ -76,7 +76,12 @@ Make sure that there is a call to `app.UseStaticFiles();` in your server project
7676
7777## Release Notes
7878
79- <details open =" open " ><summary >1.4</summary >
79+ <details open =" open " ><summary >1.5</summary >
80+
81+ > - Added css class parameter to all helper components (header/body/footer).
82+ </details>
83+
84+ <details ><summary >1.4</summary >
8085
8186> - Added css class parameter to dialog component.
8287 </details>
You can’t perform that action at this time.
0 commit comments