Skip to content

Commit

Permalink
Enable dialogs and snackbars in injected components
Browse files Browse the repository at this point in the history
  • Loading branch information
WilStead committed Feb 1, 2024
1 parent af443ff commit 0a607de
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: publish
env:
VERSION: '0.7.0-preview'
VERSION: '0.7.1-preview'
PRERELEASE: true
on:
push:
Expand Down
4 changes: 4 additions & 0 deletions docs/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## 0.7.1-preview
### Changed
- Enable dialogs and snackbars in injected components

## 0.7.0-preview
### Added
- Render mode control for injected components
Expand Down
3 changes: 2 additions & 1 deletion src/Client/Shared/MainLayout.razor
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@

<FrameworkLayout Class="wiki-layout"
ContentsMinHeadings="@WikiOptions.MinimumTableOfContentsHeadings"
ContentsMaxLevelOffset="@(WikiOptions.DefaultTableOfContentsDepth - 1)">
ContentsMaxLevelOffset="@(WikiOptions.DefaultTableOfContentsDepth - 1)"
InteractiveRenderMode="InteractiveWebAssembly">
<FrameworkContent>
@if (WikiBlazorClientOptions.AppBar is not null)
{
Expand Down
2 changes: 1 addition & 1 deletion src/Client/Tavenem.Wiki.Blazor.Client.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
<PackageReference Include="Microsoft.AspNetCore.Components.Web" Version="8.0.1" />
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly.Authentication" Version="8.0.1" />
<PackageReference Include="Microsoft.AspNetCore.WebUtilities" Version="8.0.1" />
<PackageReference Include="Tavenem.Blazor.Framework" Version="2.12.5" />
<PackageReference Include="Tavenem.Blazor.Framework" Version="2.17.5" />
</ItemGroup>

<ItemGroup>
Expand Down
1 change: 1 addition & 0 deletions src/Client/_Imports.razor
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,4 @@
@using Tavenem.Wiki.Blazor.Client.Shared
@using Tavenem.Wiki.Blazor.Models
@using Tavenem.Wiki.Queries
@using static Microsoft.AspNetCore.Components.Web.RenderMode;

0 comments on commit 0a607de

Please sign in to comment.