Skip to content

Commit 9d2bfa3

Browse files
MaxymGornColdForeigndependabot[bot]
authored
Feature/revert code (#439)
## Target <!-- Why are you making this change? --> #### Open Questions <!-- OPTIONAL - [ ] Use the GitHub checklists to spark discussion on issues that may arise from your approach. Please tick the box and explain your answer. --> ## Checklist <!-- It serves as a gentle reminder for common tasks. Confirm it's done and check everything that applies. --> - [ ] Tests cover new or modified code - [ ] I have performed a self-review of my own code - [ ] I have commented my code, particularly in hard-to-understand areas - [ ] I have made corresponding changes to the site documentation - [ ] I have made corresponding changes to the README, NuGet README file - [ ] My changes generate no new warnings - [ ] New dependencies added or updated - [ ] Includes breaking changes - [ ] Version bumped ## Visuals <!-- OPTIONAL Show results both before and after this change. When the output changes, it can be a screenshot of a trace, metric, or log illustrating the change. --> --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: ColdForeign <[email protected]> Co-authored-by: George Radchuk <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
1 parent 322a87b commit 9d2bfa3

File tree

81 files changed

+2385
-1933
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

81 files changed

+2385
-1933
lines changed

.github/codecov.yml

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,5 @@
1-
codecov:
2-
notify:
3-
wait_for_ci: true # Should Codecov wait for all CI statuses to complete before sending theirs
4-
5-
ignore:
6-
- "**/*.yaml" # ignore all yaml files (Kubernetes manifests, etc...)
7-
- "**/*.yml" # same as above
8-
- "**/*.md" # ignore all markdown files, those are not relevant for building/testing
9-
- "**/Dockerfile" # ignore Dockerfiles, those are build with GH Actions
10-
- "**/*.sh" # ignore shell scripts
11-
121
comment:
13-
require_changes: yes
2+
require_changes: true
143
coverage:
154
status:
165
project:
@@ -21,3 +10,4 @@ coverage:
2110
default:
2211
target: 100%
2312
threshold: 10%
13+

examples/Cropper.Blazor.MAUI.Net8/Cropper.Blazor.MAUI.Net8.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@
6262
<PackageReference Include="Microsoft.Maui.Controls.Compatibility" Version="8.0.100" />
6363
<PackageReference Include="Microsoft.AspNetCore.Components.WebView.Maui" Version="8.0.100" />
6464
<PackageReference Include="Microsoft.Extensions.Logging.Debug" Version="8.0.1" />
65-
<PackageReference Include="MudBlazor" Version="8.7.0" />
65+
<PackageReference Include="MudBlazor" Version="8.13.0" />
6666
</ItemGroup>
6767

6868
<ItemGroup>

examples/Cropper.Blazor.MAUI.Net9/Cropper.Blazor.MAUI.Net9.csproj

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -58,10 +58,10 @@
5858
</ItemGroup>
5959

6060
<ItemGroup>
61-
<PackageReference Include="Microsoft.Maui.Controls" Version="9.0.70" />
62-
<PackageReference Include="Microsoft.AspNetCore.Components.WebView.Maui" Version="9.0.70" />
63-
<PackageReference Include="Microsoft.Extensions.Logging.Debug" Version="9.0.5" />
64-
<PackageReference Include="MudBlazor" Version="8.7.0" />
61+
<PackageReference Include="Microsoft.Maui.Controls" Version="9.0.110" />
62+
<PackageReference Include="Microsoft.AspNetCore.Components.WebView.Maui" Version="9.0.110" />
63+
<PackageReference Include="Microsoft.Extensions.Logging.Debug" Version="9.0.9" />
64+
<PackageReference Include="MudBlazor" Version="8.13.0" />
6565
</ItemGroup>
6666

6767
<ItemGroup>

examples/Cropper.Blazor.Server.Net8/Cropper.Blazor.Server.Net8.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
</PropertyGroup>
88

99
<ItemGroup>
10-
<PackageReference Include="MudBlazor" Version="8.7.0" />
10+
<PackageReference Include="MudBlazor" Version="8.13.0" />
1111
</ItemGroup>
1212

1313
<ItemGroup>

examples/Cropper.Blazor.Server.Net9/Cropper.Blazor.Server.Net9.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
</PropertyGroup>
88

99
<ItemGroup>
10-
<PackageReference Include="MudBlazor" Version="8.7.0" />
10+
<PackageReference Include="MudBlazor" Version="8.13.0" />
1111
</ItemGroup>
1212

1313
<ItemGroup>

src/Cropper.Blazor/Client/.config/dotnet-tools.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"isRoot": true,
44
"tools": {
55
"excubo.webcompiler": {
6-
"version": "4.0.11",
6+
"version": "4.0.33",
77
"commands": [
88
"webcompiler"
99
]

src/Cropper.Blazor/Client/Components/Docs/DocsPage.razor.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ public partial class DocsPage : ComponentBase
1515
private string? Anchor = null;
1616
private bool IsDisplayView;
1717
private string? ComponentName;
18-
private bool IsRenderAds;
1918
[Inject] NavigationManager NavigationManager { get; set; } = null!;
2019
[Inject] private IRenderQueueService RenderQueue { get; set; } = null!;
2120
[Parameter] public RenderFragment ChildContent { get; set; }
@@ -78,7 +77,6 @@ protected override void OnAfterRender(bool firstRender)
7877

7978
if (firstRender)
8079
{
81-
IsRenderAds = true;
8280
StateHasChanged();
8381
}
8482
}

src/Cropper.Blazor/Client/Cropper.Blazor.Client.csproj

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,10 @@
1818

1919
<!--Packages-->
2020
<ItemGroup>
21-
<PackageReference Include="BlazorWasmPreRendering.Build" Version="5.0.1" />
22-
<PackageReference Include="Microsoft.AspNetCore.WebUtilities" Version="9.0.5" />
23-
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly" Version="9.0.5" />
24-
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly.DevServer" Version="9.0.5" PrivateAssets="all" />
21+
<PackageReference Include="BlazorWasmPreRendering.Build" Version="6.0.0" />
22+
<PackageReference Include="Microsoft.AspNetCore.WebUtilities" Version="9.0.9" />
23+
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly" Version="9.0.9" />
24+
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly.DevServer" Version="9.0.9" PrivateAssets="all" />
2525
<PackageReference Include="Blazored.LocalStorage" Version="4.5.0" />
2626
</ItemGroup>
2727

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
namespace Cropper.Blazor.Client.Enums;
2+
3+
/// <summary>
4+
/// Represents the theme preference for dark or light mode.
5+
/// </summary>
6+
public enum DarkLightMode
7+
{
8+
/// <summary>
9+
/// The theme is determined by the operating system or browser.
10+
/// </summary>
11+
System = 0,
12+
13+
/// <summary>
14+
/// Light theme is used.
15+
/// </summary>
16+
Light = 1,
17+
18+
/// <summary>
19+
/// Dark theme is used.
20+
/// </summary>
21+
Dark = 2
22+
}

src/Cropper.Blazor/Client/Enums/ThemeMode.cs

Lines changed: 0 additions & 8 deletions
This file was deleted.

0 commit comments

Comments
 (0)