-
-
Notifications
You must be signed in to change notification settings - Fork 534
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Tables & DataGrid: Mobile Mode (#5608)
* Tables | Mobile Mode * Table | BS | BS5 | TableResponsiveMode Mobile support * Ant | Table Mobile * Bulma | Table Mobile * FluentUI | Table Mobile * Material | Table Mobile * Tailwind | Table Mobile * Docs : Table | BasicMobileTableExample * Release notes * DataGrid Mobile Mode * Release notes * Release notes datagrid disclaimer for unsupported features * ant-table-mobile * bs table-mobile * bulma is-table-mobile * fluent fui-Table-mobile * material table-mobile * MobileMode example | add iframe support to view mobile mode on button click * Adjust examples UI * Show new feature badge * Add more page description * Introduce dedicated DocsNewFeatureBadge * Always use @attributes as last parameter * Appla data-caption to AntDesign --------- Co-authored-by: Mladen Macanovic <[email protected]> Co-authored-by: Mladen Macanovic <[email protected]>
- Loading branch information
1 parent
c443d5b
commit 2c93281
Showing
67 changed files
with
1,015 additions
and
54 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 5 additions & 0 deletions
5
Documentation/Blazorise.Docs/Components/DocsNewFeatureBadge.razor
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
<Span>@ChildContent</Span> | ||
<Span Background="Background.Primary" TextColor="TextColor.White" Border="Border.Rounded" TextWeight="TextWeight.Bold" TextSize="TextSize.ExtraSmall" Padding="Padding.Is1">New</Span> | ||
@code { | ||
[Parameter] public RenderFragment ChildContent { get; set; } | ||
} |
30 changes: 28 additions & 2 deletions
30
Documentation/Blazorise.Docs/Components/DocsPageSectionContent.razor
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,31 @@ | ||
<Div Class="@ClassNames"> | ||
@if ( !string.IsNullOrWhiteSpace( FrameUrl ) ) | ||
{ | ||
<Div Flex="Flex.JustifyContent.Center.AlignItems.Center" Gap="Gap.Is3" Padding="Padding.Is3" Border="Border.Is0.OnBottom.Is1.OnTop.Is1.RoundedTop.OnStart.Is1.OnEnd"> | ||
<Tooltip Text="Desktop View" Inline> | ||
<Button Clicked="@OnDesktopViewClicked"> | ||
<Icon Name="IconName.Laptop" /> | ||
</Button> | ||
</Tooltip> | ||
<Tooltip Text="Mobile View" Inline> | ||
<Button Clicked="@OnMobileViewClicked"> | ||
<Icon Name="IconName.Smartphone" /> | ||
</Button> | ||
</Tooltip> | ||
</Div> | ||
} | ||
<Div Class="@ClassNames" Border="@(Outlined ? ShowFrame ? Border.Is1.OnAll : Border.Is1.RoundedTop : null)"> | ||
<Div Class="b-docs-page-section-content-inner"> | ||
@ChildContent | ||
@if ( FrameView == "desktop" ) | ||
{ | ||
@ChildContent | ||
} | ||
else | ||
{ | ||
<Div Height="Height.Px(500)" Background="Background.Light"> | ||
<iframe src="@FrameUrl" style="@FrameStyle" /> | ||
</Div> | ||
} | ||
</Div> | ||
</Div> | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 11 additions & 0 deletions
11
Documentation/Blazorise.Docs/Layouts/DocsIFrameLayout.razor
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
@inherits LayoutComponentBase | ||
<Container Breakpoint="Breakpoint.Widescreen"> | ||
<Row> | ||
<Column ColumnSize="ColumnSize.Is12.Is10.OnDesktop" Class="b-docs-page"> | ||
@Body | ||
</Column> | ||
<Column ColumnSize="ColumnSize.Is2.OnDesktop"> | ||
<Toc /> | ||
</Column> | ||
</Row> | ||
</Container> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.