-
Notifications
You must be signed in to change notification settings - Fork 157
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update docs and fix the overing thinking on progress bar math
- Loading branch information
Showing
113 changed files
with
1,263 additions
and
124 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
@import 'docs/BlazorStrap-Docs.bundle.scp.css'; | ||
@import '_content/BlazorStrap/BlazorStrap.bundle.scp.css'; | ||
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
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
Binary file not shown.
Binary file not shown.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
/* docs/Samples/Content/Images/Images6.razor.rz.scp.css */ | ||
text#svg-text[b-1lgjffb7c2] { | ||
animation-name: animateSvg-b-1lgjffb7c2; | ||
transform-origin: 50% 50%; | ||
animation-duration: 5s; | ||
animation-timing-function: linear; | ||
animation-iteration-count: infinite; | ||
} | ||
|
||
@keyframes animateSvg-b-1lgjffb7c2 { | ||
from { | ||
transform: rotate(0deg); | ||
} | ||
|
||
to { | ||
transform: rotate(360deg); | ||
} | ||
} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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,4 @@ | ||
<BSFigure> | ||
<BSImage Source="400x300" IsRounded="true" IsFluid="true" IsPlaceholder="true" /> | ||
<BSFigureCaption>A caption for the above image.</BSFigureCaption> | ||
</BSFigure> |
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,7 @@ | ||
<BSFigure> | ||
<BSSvg IsRounded="true" Class="bd-placeholder-img" width="400" height="300" xmlns="http://www.w3.org/2000/svg" role="img" aria-label="Placeholder: 400x300" preserveAspectRatio="xMidYMid slice" focusable="false"> | ||
<rect width="100%" height="100%" fill="#868e96"></rect> | ||
<text x="50%" y="50%" fill="#dee2e6" dy=".3em">400x300</text> | ||
</BSSvg> | ||
<BSFigureCaption Class="@BS.Text_End">A caption for the above image to the right.</BSFigureCaption> | ||
</BSFigure> |
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,4 @@ | ||
<BSFigure> | ||
<BSSvg Source="docs/FigurePlaceHolder.svg"/> | ||
<BSFigureCaption>SVG Loader</BSFigureCaption> | ||
</BSFigure> |
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 @@ | ||
<BSImage Source="1200x250xResponsive image" IsFluid="true" IsPlaceholder="true"/> |
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,2 @@ | ||
<!-- Width Set so high for the demo --> | ||
<BSImage Source="200x200" IsFluid="true" IsThumbnail="true" IsPlaceholder="true"/> |
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,2 @@ | ||
<BSImage Source="200x200" IsRounded="true" IsPlaceholder="true" Align="Align.Start"/> | ||
<BSImage Source="200x200" IsRounded="true" IsThumbnail="true" IsPlaceholder="true" Align="Align.End"/> |
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 @@ | ||
<BSImage Source="200x200" IsRounded="true" IsPlaceholder="true" Align="Align.Center" /> |
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,3 @@ | ||
<BSDiv Class="@BS.Text_Center"> | ||
<BSImage Source="200x200" IsFluid="true" IsThumbnail="true" IsPlaceholder="true"/> | ||
</BSDiv> |
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 @@ | ||
<BSSvg Source="docs/Sample.svg" IsFluid="true"/> |
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,17 @@ | ||
text#svg-text { | ||
animation-name: animateSvg; | ||
transform-origin: 50% 50%; | ||
animation-duration: 5s; | ||
animation-timing-function: linear; | ||
animation-iteration-count: infinite; | ||
} | ||
|
||
@keyframes animateSvg { | ||
from { | ||
transform: rotate(0deg); | ||
} | ||
|
||
to { | ||
transform: rotate(360deg); | ||
} | ||
} |
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,114 @@ | ||
<BSTable Color="OTableColor" IsBordered="OIsBordered" IsBorderLess="OIsBorderLess" IsCaptionTop="OIsCaptionTop" IsStriped="OIsStriped"> | ||
<caption>List of users</caption> | ||
<BSTHead> | ||
<BSTR> | ||
<BSTD>#</BSTD> | ||
<BSTD>First</BSTD> | ||
<BSTD>Last</BSTD> | ||
<BSTD>Handle</BSTD> | ||
</BSTR> | ||
</BSTHead> | ||
<BSTBody> | ||
<BSTR> | ||
<BSTD AlignRow="OAlignRow" Color="OTDColor" IsActive="OIsActive">1</BSTD> | ||
<BSTD>John</BSTD> | ||
<BSTD>Doe</BSTD> | ||
<BSTD>JohnDoe <br/>media.com</BSTD> | ||
</BSTR> | ||
<BSTR AlignRow="OTRAlignRow" Color="OTRColor" IsActive="OTRIsActive"> | ||
<BSTD>2</BSTD> | ||
<BSTD>Jane</BSTD> | ||
<BSTD>Doe</BSTD> | ||
<BSTD>JaneDoe <br/>media.com</BSTD> | ||
</BSTR> | ||
</BSTBody> | ||
<BSTFoot> | ||
<BSTR> | ||
<BSTD ColSpan="4">Spanned Table Footer Here</BSTD> | ||
</BSTR> | ||
|
||
</BSTFoot> | ||
</BSTable> | ||
<!--\\--> | ||
<BSDiv class="@BS.Input_Group" MarginBottom="Margins.Medium"> | ||
<span class="@BS.Input_Group_Text">Table Backgroud Color</span> | ||
<BSInput InputType="InputType.Select" @bind-Value="OTableColor"> | ||
<option value="@BSColor.Default">None</option> | ||
<option value="@BSColor.Primary">Primary</option> | ||
<option value="@BSColor.Secondary">Secondary</option> | ||
<option value="@BSColor.Success">Success</option> | ||
<option value="@BSColor.Danger">Danger</option> | ||
<option value="@BSColor.Warning">Warning</option> | ||
<option value="@BSColor.Info">Info</option> | ||
<option value="@BSColor.Light">Light</option> | ||
<option value="@BSColor.Dark">Dark</option> | ||
</BSInput> | ||
<BSInputCheckbox @bind-Value="OIsBordered" IsToggle="true" IsOutlined="true" Color="BSColor.Primary" CheckedValue="true" UnCheckedValue="false">IsBordered</BSInputCheckbox> | ||
<BSInputCheckbox @bind-Value="OIsBorderLess" IsToggle="true" IsOutlined="true" Color="BSColor.Secondary" CheckedValue="true" UnCheckedValue="false">IsBorderLess</BSInputCheckbox> | ||
<BSInputCheckbox @bind-Value="OIsCaptionTop" IsToggle="true" IsOutlined="true" Color="BSColor.Success" CheckedValue="true" UnCheckedValue="false">IsCaptionTop</BSInputCheckbox> | ||
<BSInputCheckbox @bind-Value="OIsStriped" IsToggle="true" IsOutlined="true" Color="BSColor.Danger" CheckedValue="true" UnCheckedValue="false">IsStriped</BSInputCheckbox> | ||
</BSDiv> | ||
<BSDiv class="@BS.Input_Group" MarginBottom="Margins.Medium"> | ||
<span class="@BS.Input_Group_Text">Row 2 Backgroud Color</span> | ||
<BSInput InputType="InputType.Select" @bind-Value="OTRColor"> | ||
<option value="@BSColor.Default">None</option> | ||
<option value="@BSColor.Primary">Primary</option> | ||
<option value="@BSColor.Secondary">Secondary</option> | ||
<option value="@BSColor.Success">Success</option> | ||
<option value="@BSColor.Danger">Danger</option> | ||
<option value="@BSColor.Warning">Warning</option> | ||
<option value="@BSColor.Info">Info</option> | ||
<option value="@BSColor.Light">Light</option> | ||
<option value="@BSColor.Dark">Dark</option> | ||
</BSInput> | ||
<span class="@BS.Input_Group_Text"> Align</span> | ||
<BSInput InputType="InputType.Select" @bind-Value="OTRAlignRow"> | ||
<option value="@AlignRow.Default">None</option> | ||
<option value="@AlignRow.Top">Top</option> | ||
<option value="@AlignRow.Middle">Middle</option> | ||
<option value="@AlignRow.Bottom">Bottom</option> | ||
</BSInput> | ||
<BSInputCheckbox @bind-Value="OTRIsActive" IsToggle="true" IsOutlined="true" Color="BSColor.Primary" CheckedValue="true" UnCheckedValue="false">TRIsActive</BSInputCheckbox> | ||
</BSDiv> | ||
<BSDiv class="@BS.Input_Group" MarginBottom="Margins.Medium"> | ||
<span class="@BS.Input_Group_Text">Row 1 Col 1 Backgroud Color</span> | ||
<BSInput InputType="InputType.Select" @bind-Value="OTDColor"> | ||
<option value="@BSColor.Default">None</option> | ||
<option value="@BSColor.Primary">Primary</option> | ||
<option value="@BSColor.Secondary">Secondary</option> | ||
<option value="@BSColor.Success">Success</option> | ||
<option value="@BSColor.Danger">Danger</option> | ||
<option value="@BSColor.Warning">Warning</option> | ||
<option value="@BSColor.Info">Info</option> | ||
<option value="@BSColor.Light">Light</option> | ||
<option value="@BSColor.Dark">Dark</option> | ||
</BSInput> | ||
<span class="@BS.Input_Group_Text"> Align</span> | ||
<BSInput InputType="InputType.Select" @bind-Value="OAlignRow"> | ||
<option value="@AlignRow.Default">None</option> | ||
<option value="@AlignRow.Top">Top</option> | ||
<option value="@AlignRow.Middle">Middle</option> | ||
<option value="@AlignRow.Bottom">Bottom</option> | ||
</BSInput> | ||
<BSInputCheckbox @bind-Value="OIsActive" IsToggle="true" IsOutlined="true" Color="BSColor.Primary" CheckedValue="true" UnCheckedValue="false">TRIsActive</BSInputCheckbox> | ||
</BSDiv> | ||
<!--//--> | ||
<!-- Options Form not shown | ||
@code { | ||
// BSTable Parameters | ||
private BSColor OTableColor { get; set; } = BSColor.Default; // Not Set | ||
private bool OIsBordered { get; set; } | ||
private bool OIsBorderLess { get; set; } | ||
private bool OIsCaptionTop { get; set; } | ||
private bool OIsStriped { get; set; } | ||
// BSTR Parameters | ||
private AlignRow OTRAlignRow { get; set; } | ||
private BSColor OTRColor { get; set; } = BSColor.Default; // Not Set | ||
private bool OTRIsActive { get; set; } | ||
// BSTD Parameters | ||
private AlignRow OAlignRow { get; set; } | ||
private BSColor OTDColor { get; set; } = BSColor.Default; // Not Set | ||
private bool OIsActive { get; set; } | ||
} | ||
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,14 @@ | ||
## Cards | ||
:::{.bd-callout .bd-callout-info} | ||
**Work inprogress** Documentation is still being written for this component | ||
|
||
#### Components \<BSCard\> \<BSCardBody\> \<BSCardHeader\> \<BSCardFooter\> | ||
See [shared](layout/shared) for additional parameters | ||
|
||
::: | ||
|
||
| Parameter | Type | Valid | Remarks/Output | | ||
|-----------|------|---------|----------------| | ||
| Color | Enum | BSColor | `.bg-[]` | {.table-striped .p-2} | ||
|
||
::: | ||
|
||
#### Component \<BSCard\> | ||
For examples of cards inuse see bootstraps official documentation |
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
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,9 @@ | ||
## Figures | ||
#### Component \<BSFigure\> \<BSFigureCaption\> | ||
See [shared](layout/shared) for parameters | ||
|
||
{{sample=Content/Figures/Figures1}} | ||
|
||
{{sample=Content/Figures/Figures2}} | ||
|
||
{{sample=Content/Figures/Figures3}} |
Oops, something went wrong.