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
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<RepositoryType>git</RepositoryType>
<PublishRepositoryUrl>true</PublishRepositoryUrl>
<SolutionDir>$(MSBuildThisFileDirectory)</SolutionDir>
<VersionPrefix>2.4.1</VersionPrefix>
<VersionPrefix>2.4.2</VersionPrefix>
<VersionSuffix></VersionSuffix>
<AccelerateBuildsInVisualStudio>true</AccelerateBuildsInVisualStudio>
</PropertyGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,6 @@

<h2>Examples</h2>

<DemoSection Title="Usage examples" Component="@typeof(DividerDefault)"></DemoSection>
<DemoSection Title="Usage examples" Component="@typeof(DividerDefault)"></DemoSection>

<DemoSection Title="Vertical divider" Component="@typeof(DividerVertical)"></DemoSection>
Original file line number Diff line number Diff line change
@@ -1,8 +1,20 @@
<h4>Default</h4>
<h4>Default</h4>
<FluentDivider></FluentDivider>

<br />
<h4>Role="Presentation""</h4>
<FluentDivider Role="DividerRole.Presentation"></FluentDivider>
<p>
<Stack Orientation="Orientation.Vertical">
<span>before divider</span>
<FluentDivider Style="width: 100%;" Role="DividerRole.Presentation"></FluentDivider>
<span>after divider</span>
</Stack>
</p>

<h4>Role="Separator""</h4>
<FluentDivider Role="DividerRole.Separator"></FluentDivider>
<p>
<Stack Orientation="Orientation.Vertical">
<span>before divider</span>
<FluentDivider Style="width: 100%;" Orientation=Orientation.Horizontal Role="DividerRole.Separator"></FluentDivider>
<span>after divider</span>
</Stack>
</p>
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@

<h4>Role="Presentation""</h4>

<Stack Orientation="Orientation.Horizontal" VerticalAlignment="StackVerticalAlignment.Center">
<span>before divider</span>
<FluentDivider Style="height: 50px;" Role="DividerRole.Presentation" Orientation="Orientation.Vertical"></FluentDivider>
<span>after divider</span>
</Stack>

<h4>Role="Separator""</h4>

<Stack Orientation="Orientation.Horizontal" VerticalAlignment="StackVerticalAlignment.Center">
<span>before divider</span>
<FluentDivider Style="height: 50px;" Role="DividerRole.Separator" Orientation="Orientation.Vertical"></FluentDivider>
<span>after divider</span>
</Stack>
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<p>
12 rows: <br />
<FluentTextArea @bind-Value=value1 Rows="12"></FluentTextArea>
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we need to use a consistent convention for using double quotes for attributes. Example: https://mathiasbynens.be/notes/unquoted-attribute-values

In future development, it might be better to use attribute="value".

</p>
<p>
60 cols: <br />
<FluentTextArea @bind-Value=value2 Cols="60"></FluentTextArea>
</p>
@code {
string? value1, value2;
}
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@

<DemoSection Title="Default" Component="@typeof(TextAreaDefault)"></DemoSection>

<DemoSection Title="Rows and Cols" Component="@typeof(TextAreaRowsAndCols)"></DemoSection>

<DemoSection Title="Displays" Component="@typeof(TextAreaDisplays)"></DemoSection>

<DemoSection Title="States" Component="@typeof(TextAreaStates)"></DemoSection>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,20 @@
<h4>Default</h4>
<h4>Default</h4>
<FluentDivider></FluentDivider>

<br />
<h4>Role="Presentation""</h4>
<FluentDivider Role="DividerRole.Presentation"></FluentDivider>
<p>
<Stack Orientation="Orientation.Vertical">
<span>before divider</span>
<FluentDivider Style="width: 100%;" Role="DividerRole.Presentation"></FluentDivider>
<span>after divider</span>
</Stack>
</p>

<h4>Role="Separator""</h4>
<FluentDivider Role="DividerRole.Separator"></FluentDivider>
<p>
<Stack Orientation="Orientation.Vertical">
<span>before divider</span>
<FluentDivider Style="width: 100%;" Orientation=Orientation.Horizontal Role="DividerRole.Separator"></FluentDivider>
<span>after divider</span>
</Stack>
</p>
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@

<h4>Role="Presentation""</h4>

<Stack Orientation="Orientation.Horizontal" VerticalAlignment="StackVerticalAlignment.Center">
<span>before divider</span>
<FluentDivider Style="height: 50px;" Role="DividerRole.Presentation" Orientation="Orientation.Vertical"></FluentDivider>
<span>after divider</span>
</Stack>

<h4>Role="Separator""</h4>

<Stack Orientation="Orientation.Horizontal" VerticalAlignment="StackVerticalAlignment.Center">
<span>before divider</span>
<FluentDivider Style="height: 50px;" Role="DividerRole.Separator" Orientation="Orientation.Vertical"></FluentDivider>
<span>after divider</span>
</Stack>
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<p>
20 rows: <br />
<FluentTextArea @bind-Value=value1 Rows="20"></FluentTextArea>
</p>
<p>
50 cols: <br />
<FluentTextArea @bind-Value=value2 Cols="50"></FluentTextArea>
</p>
@code {
string? value1, value2;
}
Loading