From ee27ac6ead693de6417291226b28388944a1fe4e Mon Sep 17 00:00:00 2001 From: Vincent Baaij Date: Thu, 9 Nov 2023 14:21:08 +0100 Subject: [PATCH] Fix cherry pick errors, update docs, etc --- .../Demo/Shared/Infrastructure/DemoIcons.cs | 2 +- .../Microsoft.Fast.Components.FluentUI.xml | 19 +++++++++++++++++++ examples/Demo/Shared/Pages/Index/Index.razor | 2 +- .../Shared/Pages/Splitter/SplitterPage.razor | 9 +++++++++ .../Demo/Shared/Shared/DemoMainLayout.razor | 2 +- examples/Demo/Shared/libman.json | 10 ---------- examples/Demo/Shared/wwwroot/css/site.css | 1 + examples/Demo/Shared/wwwroot/docs/WhatsNew.md | 6 +++++- .../Components/Splitter/FluentSplitter.razor | 10 ++++++---- src/Core/Events/SplitterCollapsedEventArgs.cs | 2 +- src/Core/Events/SplitterResizedEventArgs.cs | 2 +- ...oft.Fast.Components.FluentUI.lib.module.js | 2 -- 12 files changed, 45 insertions(+), 22 deletions(-) delete mode 100644 examples/Demo/Shared/libman.json diff --git a/examples/Demo/Shared/Infrastructure/DemoIcons.cs b/examples/Demo/Shared/Infrastructure/DemoIcons.cs index 4305a8ec92..6f75d55d71 100644 --- a/examples/Demo/Shared/Infrastructure/DemoIcons.cs +++ b/examples/Demo/Shared/Infrastructure/DemoIcons.cs @@ -1,4 +1,4 @@ -using Microsoft.FluentUI.AspNetCore.Components; +using Microsoft.Fast.Components.FluentUI; namespace FluentUI.Demo.Shared { diff --git a/examples/Demo/Shared/Microsoft.Fast.Components.FluentUI.xml b/examples/Demo/Shared/Microsoft.Fast.Components.FluentUI.xml index 0efaa64e70..057806411a 100644 --- a/examples/Demo/Shared/Microsoft.Fast.Components.FluentUI.xml +++ b/examples/Demo/Shared/Microsoft.Fast.Components.FluentUI.xml @@ -5606,6 +5606,9 @@ Gets or sets the width of the spacer (in pixels) + + + @@ -5641,6 +5644,12 @@ See mdn web docs for more information + + + Gets or sets a value indicating whether the splitter is collapsed. + If set to true, Panel1 will take up all the space and Panel2 as well as the splitter bar will be hidden. + + The horizontal alignment of the components in the stack. @@ -10883,6 +10892,16 @@ whenever a user attempts to execute the default action on a . + + + Gets the size of panel 1 (top/left) after a resize operation + + + + + Gets the size of the panel 2 (bottom/right) after a resize operation + + Determines whether two sets of attributes are equal when rendered. The compared set diff --git a/examples/Demo/Shared/Pages/Index/Index.razor b/examples/Demo/Shared/Pages/Index/Index.razor index af589520b2..030e756030 100644 --- a/examples/Demo/Shared/Pages/Index/Index.razor +++ b/examples/Demo/Shared/Pages/Index/Index.razor @@ -6,7 +6,7 @@

Welcome to the Fluent UI Blazor components library

-

This is the demo and documentation site for version 3.3.0 of the library. This is the version that supports .NET 6 and 7.

+

This is the demo and documentation site for version 3.4.0 of the library. This version only supports .NET 6 and 7.


The version 4 demo and documentation site (supporting .NET 8) is available as well. diff --git a/examples/Demo/Shared/Pages/Splitter/SplitterPage.razor b/examples/Demo/Shared/Pages/Splitter/SplitterPage.razor index 99828d3a96..9b08d61eb0 100644 --- a/examples/Demo/Shared/Pages/Splitter/SplitterPage.razor +++ b/examples/Demo/Shared/Pages/Splitter/SplitterPage.razor @@ -31,6 +31,15 @@ + + +

+ The FluentSplitter component has a Collapsed parameter that can be set to hide the splitter bar + and the contents of Panel2. This can be useful for things like a Summary/Detail view where you don't always want the splitter + to be visible. +

+ +

Documentation

diff --git a/examples/Demo/Shared/Shared/DemoMainLayout.razor b/examples/Demo/Shared/Shared/DemoMainLayout.razor index c32db30296..5bcda35858 100644 --- a/examples/Demo/Shared/Shared/DemoMainLayout.razor +++ b/examples/Demo/Shared/Shared/DemoMainLayout.razor @@ -30,7 +30,7 @@