Skip to content

Commit 034c1d7

Browse files
authored
Seperate External Dependencies (#571)
1 parent cc39a16 commit 034c1d7

File tree

20 files changed

+145
-303
lines changed

20 files changed

+145
-303
lines changed
Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
<Project Sdk="Microsoft.NET.Sdk.Razor">
2+
3+
<PropertyGroup>
4+
<TargetFrameworks>net8.0;net9.0</TargetFrameworks>
5+
<Nullable>enable</Nullable>
6+
<ImplicitUsings>enable</ImplicitUsings>
7+
<PackageLicenseExpression>MIT</PackageLicenseExpression>
8+
<Version>1.0.0</Version>
9+
<Title>CodeBeam.MudBlazor.Extensions</Title>
10+
<Authors>CodeBeam</Authors>
11+
<Company>CodeBeam</Company>
12+
<Description>CsvMapper Component for MudBlazor and CodeBeam.MudBlazor.Extensions</Description>
13+
<Copyright>CodeBeam OpenSource MIT</Copyright>
14+
<PackageIcon>Mud_Secondary.png</PackageIcon>
15+
<PackageProjectUrl>https://mudextensions.codebeam.org/</PackageProjectUrl>
16+
<RepositoryUrl>https://github.com/CodeBeamOrg/CodeBeam.MudBlazor.Extensions</RepositoryUrl>
17+
<PackageTags>Blazor; MudBlazor; Component; Extension; Csv; Mapper;</PackageTags>
18+
<RootNamespace>MudExtensions</RootNamespace>
19+
</PropertyGroup>
20+
21+
<ItemGroup>
22+
<PackageReference Include="CodeBeam.MudBlazor.Extensions" Version="8.2.6" />
23+
<PackageReference Include="CsvHelper" Version="33.1.0" />
24+
<PackageReference Include="MudBlazor" Version="8.0.0" />
25+
</ItemGroup>
26+
27+
28+
<ItemGroup>
29+
<SupportedPlatform Include="browser" />
30+
</ItemGroup>
31+
32+
<ItemGroup Condition=" '$(TargetFramework)' == 'net8.0' ">
33+
<PackageReference Include="Microsoft.AspNetCore.Components" Version="8.0.*" />
34+
<PackageReference Include="Microsoft.AspNetCore.Components.Web" Version="8.0.*" />
35+
</ItemGroup>
36+
37+
<ItemGroup Condition=" '$(TargetFramework)' == 'net9.0' ">
38+
<PackageReference Include="Microsoft.AspNetCore.Components" Version="9.0.*" />
39+
<PackageReference Include="Microsoft.AspNetCore.Components.Web" Version="9.0.*" />
40+
</ItemGroup>
41+
42+
<ItemGroup>
43+
<None Include="Mud_Secondary.png">
44+
<Pack>True</Pack>
45+
<PackagePath>\</PackagePath>
46+
</None>
47+
</ItemGroup>
48+
49+
</Project>
4.45 KB
Loading

CodeBeam.MudBlazor.Extensions/Utilities/CsvMapperLocalizedStrings.cs renamed to CodeBeam.MudBlazor.Extensions.CsvMapper/Utilities/CsvMapperLocalizedStrings.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,5 @@ public class CsvMapperLocalizedStrings
1212
public string? DragHere { get; set; } = "Drag Here";
1313
public string? Import { get; set; } = "Import";
1414
public string? DefineHeaders { get; set; } = "Please define your MudFieldHeaders, the expected columns in your code";
15-
16-
1715
}
1816
}
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
@using Microsoft.AspNetCore.Components.Web
2+
@using MudBlazor
4.45 KB
Loading

CodeBeam.MudBlazor.Extensions.Docs.Wasm/wwwroot/CodeBeam.MudBlazor.Extensions.xml

Lines changed: 0 additions & 291 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

CodeBeam.MudBlazor.Extensions.Docs/CodeBeam.MudBlazor.Extensions.Docs.csproj

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@
1818
</ItemGroup>
1919

2020
<ItemGroup>
21+
<ProjectReference Include="..\CodeBeam.MudBlazor.Extensions.CsvMapper\CodeBeam.MudBlazor.Extensions.CsvMapper.csproj" />
22+
<ProjectReference Include="..\CodeBeam.MudBlazor.Extensions.Qr\CodeBeam.MudBlazor.Extensions.Qr.csproj" />
2123
<ProjectReference Include="..\CodeBeam.MudBlazor.Extensions\CodeBeam.MudBlazor.Extensions.csproj" />
2224
</ItemGroup>
2325

CodeBeam.MudBlazor.Extensions.Docs/Pages/Components/Barcode/BarcodePage.razor

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22
@namespace MudExtensions.Docs.Pages
33

44
<ExamplePage Component="typeof(MudBarcode)">
5+
<MudAlert Severity="Severity.Info" Elevation="0" Class="mb-4">
6+
<MudText>MudBarcode has external dependencies and is part of <MudLink Href="">CodeBeam.MudBlazor.Extensions.Qr</MudLink> NuGet package.</MudText>
7+
</MudAlert>
58
<ExampleCard ComponentName="Barcode" ExampleName="BarcodeExampleIntro" Title="Intro & Tips" AliasName="intro" ShowCodeSection="false">
69
<BarcodeExampleIntro />
710
</ExampleCard>

0 commit comments

Comments
 (0)