Skip to content

Commit 154c9c7

Browse files
authored
Docs: update Material, AntDesign and PWA guides (#6523)
* antdesign and material * pwa docs * descriptions
1 parent 25d5e6f commit 154c9c7

46 files changed

Lines changed: 362 additions & 121375 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

Documentation/Blazorise.Docs/Layouts/DocsLayout.razor

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,11 +46,13 @@
4646
</BarItem>
4747
<BarItem>
4848
<BarDropdown @bind-Visible="@sideBarIntegrationsMenuVisible">
49-
<BarDropdownToggle To="docs/usage">
49+
<BarDropdownToggle To="docs/usage" Trigger="BarDropdownToggleTrigger.All">
5050
<BarIcon IconName="IconName.BookReader" /> Integrations
5151
</BarDropdownToggle>
5252
<BarDropdownMenu>
53-
<BarDropdownItem To="docs/usage/ant-design">Ant Design</BarDropdownItem>
53+
<BarDropdownItem To="docs/usage/ant-design" Flex="Flex.JustifyContent.Between">
54+
<DocsNewFeatureBadge>Ant Design</DocsNewFeatureBadge>
55+
</BarDropdownItem>
5456
<BarDropdownItem To="docs/usage/bootstrap4">Bootstrap 4</BarDropdownItem>
5557
<BarDropdownItem To="docs/usage/bootstrap5">Bootstrap 5</BarDropdownItem>
5658
<BarDropdownItem To="docs/usage/bulma">Bulma</BarDropdownItem>

Documentation/Blazorise.Docs/Models/Snippets.generated.cs

Lines changed: 43 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4918,8 +4918,13 @@ public IEnumerable<ValidationResult> Validate( ValidationContext validationConte
49184918

49194919
public const string AnalyzerSeverityExample = @"dotnet_diagnostic.BLZP004.severity = error";
49204920

4921-
public const string AntDesignScriptsExample = @"<script src=""_content/Blazorise.AntDesign/modal.js?v=2.0.4.0"" type=""module""></script>
4922-
<script src=""_content/Blazorise.AntDesign/tooltip.js?v=2.0.4.0"" type=""module""></script>";
4921+
public const string AnimateScriptsExample = @"<script src=""_content/Blazorise.Animate/blazorise.animate.js?v=2.0.4.0""></script>";
4922+
4923+
public const string AntDesignScriptsExample = @"<script src=""_content/Blazorise.AntDesign/bar.js?v=2.0.4.0"" type=""module""></script>
4924+
<script src=""_content/Blazorise.AntDesign/modal.js?v=2.0.4.0"" type=""module""></script>
4925+
<script src=""_content/Blazorise.AntDesign/segmented.js?v=2.0.4.0"" type=""module""></script>
4926+
<script src=""_content/Blazorise.AntDesign/tooltip.js?v=2.0.4.0"" type=""module""></script>
4927+
<script src=""_content/Blazorise.AntDesign/wave.js?v=2.0.4.0"" type=""module""></script>";
49234928

49244929
public const string Bootstrap5ScriptsExample = @"<script src=""_content/Blazorise.Bootstrap5/modal.js?v=2.0.4.0"" type=""module""></script>
49254930
<script src=""_content/Blazorise.Bootstrap5/tooltip.js?v=2.0.4.0"" type=""module""></script>";
@@ -4932,12 +4937,20 @@ public IEnumerable<ValidationResult> Validate( ValidationContext validationConte
49324937

49334938
public const string ButtonJavascriptMockTestingExample = @"JSInterop.AddBlazoriseButton();";
49344939

4940+
public const string CaptchaReCaptchaScriptsExample = @"<script src=""_content/Blazorise.Captcha.ReCaptcha/blazorise.recaptcha.js?v=2.0.4.0"" type=""module""></script>";
4941+
4942+
public const string ChartsAnnotationScriptsExample = @"<script src=""_content/Blazorise.Charts.Annotation/chart.annotation.js?v=2.0.4.0"" type=""module""></script>";
4943+
4944+
public const string ChartsDataLabelsScriptsExample = @"<script src=""_content/Blazorise.Charts.DataLabels/chart.datalabels.js?v=2.0.4.0"" type=""module""></script>";
4945+
49354946
public const string ChartsScriptsExample = @"<script src=""_content/Blazorise.Charts/charts.js?v=2.0.4.0"" type=""module""></script>";
49364947

49374948
public const string ChartsStreamingScriptsExample = @"<script src=""_content/Blazorise.Charts.Streaming/charts.streaming.js?v=2.0.4.0"" type=""module""></script>";
49384949

49394950
public const string ChartsTrendlineScriptsExample = @"<script src=""_content/Blazorise.Charts.Trendline/charts.trendline.js?v=2.0.4.0"" type=""module""></script>";
49404951

4952+
public const string ChartsZoomScriptsExample = @"<script src=""_content/Blazorise.Charts.Zoom/chart.zoom.js?v=2.0.4.0"" type=""module""></script>";
4953+
49414954
public const string CommonScriptsExample = @"<script src=""_content/Blazorise/breakpoint.js?v=2.0.4.0"" type=""module""></script>
49424955
<script src=""_content/Blazorise/button.js?v=2.0.4.0"" type=""module""></script>
49434956
<script src=""_content/Blazorise/closable.js?v=2.0.4.0"" type=""module""></script>
@@ -4947,20 +4960,25 @@ public IEnumerable<ValidationResult> Validate( ValidationContext validationConte
49474960
<script src=""_content/Blazorise/dropdown.js?v=2.0.4.0"" type=""module""></script>
49484961
<script src=""_content/Blazorise/fileInput.js?v=2.0.4.0"" type=""module""></script>
49494962
<script src=""_content/Blazorise/filePicker.js?v=2.0.4.0"" type=""module""></script>
4963+
<script src=""_content/Blazorise/floatingUi.js?v=2.0.4.0"" type=""module""></script>
49504964
<script src=""_content/Blazorise/inputMask.js?v=2.0.4.0"" type=""module""></script>
49514965
<script src=""_content/Blazorise/io.js?v=2.0.4.0"" type=""module""></script>
4952-
<script src=""_content/Blazorise/memoEdit.js?v=2.0.4.0"" type=""module""></script>
4966+
<script src=""_content/Blazorise/memoInput.js?v=2.0.4.0"" type=""module""></script>
4967+
<script src=""_content/Blazorise/modal.js?v=2.0.4.0"" type=""module""></script>
49534968
<script src=""_content/Blazorise/numericPicker.js?v=2.0.4.0"" type=""module""></script>
49544969
<script src=""_content/Blazorise/observer.js?v=2.0.4.0"" type=""module""></script>
4970+
<script src=""_content/Blazorise/rangeSlider.js?v=2.0.4.0"" type=""module""></script>
49554971
<script src=""_content/Blazorise/table.js?v=2.0.4.0"" type=""module""></script>
4956-
<script src=""_content/Blazorise/textEdit.js?v=2.0.4.0"" type=""module""></script>
4972+
<script src=""_content/Blazorise/textInput.js?v=2.0.4.0"" type=""module""></script>
49574973
<script src=""_content/Blazorise/theme.js?v=2.0.4.0"" type=""module""></script>
49584974
<script src=""_content/Blazorise/timePicker.js?v=2.0.4.0"" type=""module""></script>
49594975
<script src=""_content/Blazorise/tooltip.js?v=2.0.4.0"" type=""module""></script>
49604976
<script src=""_content/Blazorise/utilities.js?v=2.0.4.0"" type=""module""></script>";
49614977

49624978
public const string ComponentsImportExample = @"@using Blazorise.Components";
49634979

4980+
public const string CropperScriptsExample = @"<script src=""_content/Blazorise.Cropper/blazorise.cropper.js?v=2.0.4.0"" type=""module""></script>";
4981+
49644982
public const string DatagridScriptsExample = @"<script src=""_content/Blazorise.DataGrid/datagrid.js?v=2.0.4.0"" type=""module""></script>";
49654983

49664984
public const string EmptyProviderExample = @"public void ConfigureServices( IServiceCollection services )
@@ -4969,9 +4987,17 @@ public IEnumerable<ValidationResult> Validate( ValidationContext validationConte
49694987
.AddEmptyProviders();
49704988
}";
49714989

4990+
public const string FluentUI2ScriptsExample = @"<script src=""_content/Blazorise.FluentUI2/modal.js?v=2.0.4.0"" type=""module""></script>
4991+
<script src=""_content/Blazorise.FluentUI2/tooltip.js?v=2.0.4.0"" type=""module""></script>";
4992+
4993+
public const string GanttScriptsExample = @"<script src=""_content/Blazorise.Gantt/gantt.js?v=2.0.4.0"" type=""module""></script>";
4994+
4995+
public const string LottieAnimationScriptsExample = @"<script src=""_content/Blazorise.LottieAnimation/lottie-animation.js?v=2.0.4.0"" type=""module""></script>";
4996+
49724997
public const string MarkdownScriptsExample = @"<script src=""_content/Blazorise.Markdown/markdown.js?v=2.0.4.0"" type=""module""></script>";
49734998

4974-
public const string MaterialScriptsExample = @"<script src=""_content/Blazorise.Material/modal.js?v=2.0.4.0"" type=""module""></script>
4999+
public const string MaterialScriptsExample = @"<script src=""_content/Blazorise.Material/blazorise.material.js?v=2.0.4.0""></script>
5000+
<script src=""_content/Blazorise.Material/modal.js?v=2.0.4.0"" type=""module""></script>
49755001
<script src=""_content/Blazorise.Material/tooltip.js?v=2.0.4.0"" type=""module""></script>";
49765002

49775003
public const string McpClientConfigExample = @"{
@@ -5015,8 +5041,18 @@ public IEnumerable<ValidationResult> Validate( ValidationContext validationConte
50155041

50165042
public const string MigrationSmokeTestExample = @"blazorise-migrate --version";
50175043

5044+
public const string PdfViewerScriptsExample = @"<script src=""_content/Blazorise.PdfViewer/pdfviewer.js?v=2.0.4.0"" type=""module""></script>";
5045+
5046+
public const string QRCodeScriptsExample = @"<script src=""_content/Blazorise.QRCode/blazorise.qrcode.js?v=2.0.4.0"" type=""module""></script>";
5047+
50185048
public const string RichTextEditScriptsExample = @"<script src=""_content/Blazorise.RichTextEdit/richtextedit.js?v=2.0.4.0"" type=""module""></script>";
50195049

5050+
public const string SchedulerScriptsExample = @"<script src=""_content/Blazorise.Scheduler/scheduler.js?v=2.0.4.0"" type=""module""></script>";
5051+
5052+
public const string SignaturePadScriptsExample = @"<script src=""_content/Blazorise.SignaturePad/signaturepad.js"" type=""module""></script>";
5053+
5054+
public const string SplitterScriptsExample = @"<script src=""_content/Blazorise.Splitter/blazorise.splitter.js?v=2.0.4.0"" type=""module""></script>";
5055+
50205056
public const string TailwindScriptsExample = @"<script src=""_content/Blazorise.Tailwind/modal.js?v=2.0.4.0"" type=""module""></script>
50215057
<script src=""_content/Blazorise.Tailwind/tooltip.js?v=2.0.4.0"" type=""module""></script>";
50225058

@@ -13366,7 +13402,7 @@ protected override void OnInitialized()
1336613402
.AddAntDesignProviders()
1336713403
.AddFontAwesomeIcons();";
1336813404

13369-
public const string AntDesignGuideSourceFilesExample = @"<link rel=""stylesheet"" href=""https://cdnjs.cloudflare.com/ajax/libs/antd/4.24.15/antd.min.css"" integrity=""sha512-Ac6zlwN6S+uQSinFAcV27Gd/TtKEDt7XWXn2xWO4Xi9dTbbpT9/vJb+VT5af6nZywrgBD3qUFTb5y1VN4YD94Q=="" crossorigin=""anonymous"" referrerpolicy=""no-referrer"" />
13405+
public const string AntDesignGuideSourceFilesExample = @"<link href=""_content/Blazorise.AntDesign/antd.css?v=2.0.4.0"" rel=""stylesheet"" />
1337013406
<link href=""_content/Blazorise.Icons.FontAwesome/v6/css/all.min.css?v=2.0.4.0"" rel=""stylesheet"">
1337113407

1337213408
<link href=""_content/Blazorise/blazorise.css?v=2.0.4.0"" rel=""stylesheet"" />
@@ -13523,7 +13559,7 @@ protected override void OnInitialized()
1352313559
.AddMaterialIcons();";
1352413560

1352513561
public const string MaterialGuideSourceFilesExample = @"<!-- In <head> -->
13526-
<!-- Optional: Material icons webfont (recommended when using Blazorise.Icons.Material) -->
13562+
<!-- Required when using Blazorise.Icons.Material -->
1352713563
<link href=""https://fonts.googleapis.com/icon?family=Material+Icons|Material+Icons+Outlined|Material+Icons+Sharp|Material+Icons+Round|Material+Icons+Two+Tone"" rel=""stylesheet"">
1352813564

1352913565
<link href=""_content/Blazorise/blazorise.css?v=2.0.4.0"" rel=""stylesheet"" />
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
<div class="blazorise-codeblock">
2+
<div class="html"><pre>
3+
<span class="htmlTagDelimiter">&lt;</span><span class="htmlElementName">script</span> <span class="htmlAttributeName">src</span><span class="htmlOperator">=</span><span class="quot">&quot;</span><span class="htmlAttributeValue">_content/Blazorise.Animate/blazorise.animate.js?v=2.0.4.0</span><span class="quot">&quot;</span><span class="htmlTagDelimiter">&gt;</span><span class="htmlTagDelimiter">&lt;/</span><span class="htmlElementName">script</span><span class="htmlTagDelimiter">&gt;</span>
4+
</pre></div>
5+
</div>
Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
<div class="blazorise-codeblock">
22
<div class="html"><pre>
3+
<span class="htmlTagDelimiter">&lt;</span><span class="htmlElementName">script</span> <span class="htmlAttributeName">src</span><span class="htmlOperator">=</span><span class="quot">&quot;</span><span class="htmlAttributeValue">_content/Blazorise.AntDesign/bar.js?v=2.0.4.0</span><span class="quot">&quot;</span> <span class="htmlAttributeName">type</span><span class="htmlOperator">=</span><span class="quot">&quot;</span><span class="htmlAttributeValue">module</span><span class="quot">&quot;</span><span class="htmlTagDelimiter">&gt;</span><span class="htmlTagDelimiter">&lt;/</span><span class="htmlElementName">script</span><span class="htmlTagDelimiter">&gt;</span>
34
<span class="htmlTagDelimiter">&lt;</span><span class="htmlElementName">script</span> <span class="htmlAttributeName">src</span><span class="htmlOperator">=</span><span class="quot">&quot;</span><span class="htmlAttributeValue">_content/Blazorise.AntDesign/modal.js?v=2.0.4.0</span><span class="quot">&quot;</span> <span class="htmlAttributeName">type</span><span class="htmlOperator">=</span><span class="quot">&quot;</span><span class="htmlAttributeValue">module</span><span class="quot">&quot;</span><span class="htmlTagDelimiter">&gt;</span><span class="htmlTagDelimiter">&lt;/</span><span class="htmlElementName">script</span><span class="htmlTagDelimiter">&gt;</span>
5+
<span class="htmlTagDelimiter">&lt;</span><span class="htmlElementName">script</span> <span class="htmlAttributeName">src</span><span class="htmlOperator">=</span><span class="quot">&quot;</span><span class="htmlAttributeValue">_content/Blazorise.AntDesign/segmented.js?v=2.0.4.0</span><span class="quot">&quot;</span> <span class="htmlAttributeName">type</span><span class="htmlOperator">=</span><span class="quot">&quot;</span><span class="htmlAttributeValue">module</span><span class="quot">&quot;</span><span class="htmlTagDelimiter">&gt;</span><span class="htmlTagDelimiter">&lt;/</span><span class="htmlElementName">script</span><span class="htmlTagDelimiter">&gt;</span>
46
<span class="htmlTagDelimiter">&lt;</span><span class="htmlElementName">script</span> <span class="htmlAttributeName">src</span><span class="htmlOperator">=</span><span class="quot">&quot;</span><span class="htmlAttributeValue">_content/Blazorise.AntDesign/tooltip.js?v=2.0.4.0</span><span class="quot">&quot;</span> <span class="htmlAttributeName">type</span><span class="htmlOperator">=</span><span class="quot">&quot;</span><span class="htmlAttributeValue">module</span><span class="quot">&quot;</span><span class="htmlTagDelimiter">&gt;</span><span class="htmlTagDelimiter">&lt;/</span><span class="htmlElementName">script</span><span class="htmlTagDelimiter">&gt;</span>
7+
<span class="htmlTagDelimiter">&lt;</span><span class="htmlElementName">script</span> <span class="htmlAttributeName">src</span><span class="htmlOperator">=</span><span class="quot">&quot;</span><span class="htmlAttributeValue">_content/Blazorise.AntDesign/wave.js?v=2.0.4.0</span><span class="quot">&quot;</span> <span class="htmlAttributeName">type</span><span class="htmlOperator">=</span><span class="quot">&quot;</span><span class="htmlAttributeValue">module</span><span class="quot">&quot;</span><span class="htmlTagDelimiter">&gt;</span><span class="htmlTagDelimiter">&lt;/</span><span class="htmlElementName">script</span><span class="htmlTagDelimiter">&gt;</span>
58
</pre></div>
6-
</div>
9+
</div>
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
<div class="blazorise-codeblock">
2+
<div class="html"><pre>
3+
<span class="htmlTagDelimiter">&lt;</span><span class="htmlElementName">script</span> <span class="htmlAttributeName">src</span><span class="htmlOperator">=</span><span class="quot">&quot;</span><span class="htmlAttributeValue">_content/Blazorise.Captcha.ReCaptcha/blazorise.recaptcha.js?v=2.0.4.0</span><span class="quot">&quot;</span> <span class="htmlAttributeName">type</span><span class="htmlOperator">=</span><span class="quot">&quot;</span><span class="htmlAttributeValue">module</span><span class="quot">&quot;</span><span class="htmlTagDelimiter">&gt;</span><span class="htmlTagDelimiter">&lt;/</span><span class="htmlElementName">script</span><span class="htmlTagDelimiter">&gt;</span>
4+
</pre></div>
5+
</div>
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
<div class="blazorise-codeblock">
2+
<div class="html"><pre>
3+
<span class="htmlTagDelimiter">&lt;</span><span class="htmlElementName">script</span> <span class="htmlAttributeName">src</span><span class="htmlOperator">=</span><span class="quot">&quot;</span><span class="htmlAttributeValue">_content/Blazorise.Charts.Annotation/chart.annotation.js?v=2.0.4.0</span><span class="quot">&quot;</span> <span class="htmlAttributeName">type</span><span class="htmlOperator">=</span><span class="quot">&quot;</span><span class="htmlAttributeValue">module</span><span class="quot">&quot;</span><span class="htmlTagDelimiter">&gt;</span><span class="htmlTagDelimiter">&lt;/</span><span class="htmlElementName">script</span><span class="htmlTagDelimiter">&gt;</span>
4+
</pre></div>
5+
</div>
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
<div class="blazorise-codeblock">
2+
<div class="html"><pre>
3+
<span class="htmlTagDelimiter">&lt;</span><span class="htmlElementName">script</span> <span class="htmlAttributeName">src</span><span class="htmlOperator">=</span><span class="quot">&quot;</span><span class="htmlAttributeValue">_content/Blazorise.Charts.DataLabels/chart.datalabels.js?v=2.0.4.0</span><span class="quot">&quot;</span> <span class="htmlAttributeName">type</span><span class="htmlOperator">=</span><span class="quot">&quot;</span><span class="htmlAttributeValue">module</span><span class="quot">&quot;</span><span class="htmlTagDelimiter">&gt;</span><span class="htmlTagDelimiter">&lt;/</span><span class="htmlElementName">script</span><span class="htmlTagDelimiter">&gt;</span>
4+
</pre></div>
5+
</div>
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
<div class="blazorise-codeblock">
2+
<div class="html"><pre>
3+
<span class="htmlTagDelimiter">&lt;</span><span class="htmlElementName">script</span> <span class="htmlAttributeName">src</span><span class="htmlOperator">=</span><span class="quot">&quot;</span><span class="htmlAttributeValue">_content/Blazorise.Charts.Zoom/chart.zoom.js?v=2.0.4.0</span><span class="quot">&quot;</span> <span class="htmlAttributeName">type</span><span class="htmlOperator">=</span><span class="quot">&quot;</span><span class="htmlAttributeValue">module</span><span class="quot">&quot;</span><span class="htmlTagDelimiter">&gt;</span><span class="htmlTagDelimiter">&lt;/</span><span class="htmlElementName">script</span><span class="htmlTagDelimiter">&gt;</span>
4+
</pre></div>
5+
</div>

0 commit comments

Comments
 (0)