Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
435 changes: 393 additions & 42 deletions .gitignore

Large diffs are not rendered by default.

241 changes: 82 additions & 159 deletions Microsoft.Fast.sln

Large diffs are not rendered by default.

31 changes: 0 additions & 31 deletions Tools.sln

This file was deleted.

46 changes: 0 additions & 46 deletions Update Icons.md

This file was deleted.

36 changes: 36 additions & 0 deletions examples/Demo/Client/FluentUI.Demo.Client.csproj
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
<Project Sdk="Microsoft.NET.Sdk.BlazorWebAssembly">

<PropertyGroup>
<!-- Uncomment below line if you want to target all mentioned frameworks -->
<!-- Targeting just one framework will speed up build time -->
<!--<TargetFrameworks>net6.0;net7.0;net8.0</TargetFrameworks>-->
<!-- Comment below line if you enable line above -->
<TargetFramework>net8.0</TargetFramework>
<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
<!-- We can't trim here because we want ALL icons and emjoi available and searchable -->
<PublishTrimmed>false</PublishTrimmed>
<!-- Set False to avoid ConvertDllsToWebCil error -->
<WasmEnableWebcil>false</WasmEnableWebcil>
</PropertyGroup>

<ItemGroup Condition="'$(TargetFramework)'=='net6.0'">
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly" Version="6.0.20" />
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly.DevServer" Version="6.0.20" PrivateAssets="all" />
</ItemGroup>

<ItemGroup Condition="'$(TargetFramework)'=='net7.0'">
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly" Version="7.0.9" />
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly.DevServer" Version="7.0.9" PrivateAssets="all" />
</ItemGroup>

<ItemGroup Condition="'$(TargetFramework)'=='net8.0'">
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly" Version="8.0.0-preview.6.*" />
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly.DevServer" Version="8.0.0-preview.6.*" PrivateAssets="all" />
</ItemGroup>

<ItemGroup>
<ProjectReference Include="..\Shared\FluentUI.Demo.Shared.csproj" />
</ItemGroup>

</Project>
14 changes: 14 additions & 0 deletions examples/Demo/Client/Properties/launchSettings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"profiles": {
"FluentUI.Demo.Client": {
"commandName": "Project",
"launchBrowser": true,
"environmentVariables": {
"ASPNETCORE_ENVIRONMENT": "Development"
},
"dotnetRunMessages": true,
"inspectUri": "{wsProtocol}://{url.hostname}:{url.port}/_framework/debug/ws-proxy?browser={browserInspectUri}",
"applicationUrl": "https://localhost:7026;http://localhost:5026"
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ public void Initialize(IncrementalGeneratorInitializationContext context)
IncrementalValueProvider<ImmutableArray<AdditionalText>> files = context.AdditionalTextsProvider.Where(at => at.Path.EndsWith(".xml")).Collect();
context.RegisterSourceOutput(files, GenerateSource);
}

public void GenerateSource(SourceProductionContext context, ImmutableArray<AdditionalText> files)
{
List<XElement> members = new();
Expand Down Expand Up @@ -127,4 +128,4 @@ private static string CleanupSummary(string value)


}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -39,4 +39,4 @@
</ItemGroup>
</Target>

</Project>
</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"profiles": {
"FluentUI.Demo.Generators": {
"commandName": "DebugRoslynComponent",
"targetProject": "..\\FluentUI.Demo.Shared\\FluentUI.Demo.Shared.csproj"
"targetProject": "..\\Shared\\FluentUI.Demo.Shared.csproj"
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
</PropertyGroup>

<ItemGroup>
<ProjectReference Include="..\FluentUI.Demo.Shared\FluentUI.Demo.Shared.csproj" />
<ProjectReference Include="..\Shared\FluentUI.Demo.Shared.csproj" />
</ItemGroup>

</Project>
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -44,13 +44,12 @@
<PackageReference Include="Microsoft.AspNetCore.Components.Web" Version="8.0.0-preview.6.*" />
</ItemGroup>


<ItemGroup>
<PackageReference Include="Markdig" Version="0.31.0" />
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.1.1" PrivateAssets="All" />
<ProjectReference Include="..\..\src\Microsoft.Fast.Components.FluentUI\Microsoft.Fast.Components.FluentUI.csproj" />
<ProjectReference Include="..\FluentUI.Demo.Generators\FluentUI.Demo.Generators.csproj" OutputItemType="Analyzer" ReferenceOutputAssembly="false" />
<TrimmerRootAssembly Include="Microsoft.Fast.Components.FluentUI" />
<ProjectReference Include="..\..\..\src\Core\Microsoft.Fast.Components.FluentUI.csproj" />
<ProjectReference Include="..\DocGenerator\FluentUI.Demo.Generators.csproj" OutputItemType="Analyzer" ReferenceOutputAssembly="false" />
<PackageReference Include="Markdig" Version="0.31.0" />
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.1.1" PrivateAssets="All" />
<TrimmerRootAssembly Include="Microsoft.Fast.Components.FluentUI" />
<PackageReference Include="Microsoft.Fast.Components.FluentUI.Emojis">
<Version>3.*-*</Version>
</PackageReference>
Expand All @@ -73,10 +72,11 @@
<Copy SourceFiles="@(Sources)" DestinationFiles="@(Sources->'$(ProjectDir)wwwroot\sources\%(Filename)%(Extension).txt')" SkipUnchangedFiles="true" />
</Target>

<Target Name="PostBuild" AfterTargets="PostBuildEvent">
<ItemGroup>
<XmlFiles Include="$(ProjectDir)bin\$(Configuration)\net7.0\*.xml" />
</ItemGroup>
<Copy SourceFiles="@(XmlFiles)" DestinationFolder="$(SolutionDir)examples\FluentUI.Demo.Shared" SkipUnchangedFiles="true" />
</Target>
<Target Name="PostBuild" AfterTargets="PostBuildEvent">
<ItemGroup>
<XmlFiles Include="$(ProjectDir)bin\$(Configuration)\net7.0\*.xml" />
</ItemGroup>
<Copy SourceFiles="@(XmlFiles)" DestinationFolder="$(SolutionDir)examples\Demo\Shared" SkipUnchangedFiles="true" />
</Target>

</Project>
Loading