Commit f3c84e3
authored
Docs update - Accordion, Alerts, Badge, Breadcrumb, Buttons, Callout, Card (#1218)
* Enhance Accordion API docs with metadata attributes
Added [AddedVersion], [DefaultValue], [Description], and [ParameterTypeName] attributes to Accordion, AccordionItem, and AccordionEventArgs for improved API documentation and tooling. Updated method and parameter docs, improved nullability, and clarified XML comments. Updated documentation pages to reflect new property sections and correct DocType usage.
* Enhance Alert docs and add enum documentation support
- Renamed Alert documentation sections for clarity and updated anchor links.
- Added "AlertColor Enum" section with a table of enum values.
- Updated DocxTable to render enum documentation tables.
- Introduced DocxEnumRow component for displaying enum details.
- Documented AlertColor enum members with descriptions and version info.
* Enhance Badge docs and add metadata annotations
- Add XML docs and metadata attributes to Badge parameters and related enums (`BadgeColor`, `BadgeIndicatorType`, `BadgePlacement`, `Position`)
- Update Badge documentation page: rename "Parameters" section, add enum reference tables
- Change `ChildContent` and `VisuallyHiddenText` to nullable types
- Improve API discoverability and reference quality
* Add BreadcrumbService docs, metadata, and menu entry
- Added BreadcrumbService documentation page and menu entry
- Expanded Breadcrumb and BreadcrumbItem with XML docs and metadata attributes ([AddedVersion], [DefaultValue], [Description], [ParameterTypeName])
- Made Breadcrumb.Items nullable and updated its documentation
- Introduced MethodNameAttribute for method signature annotation
- Updated BreadcrumbService with metadata and [MethodName] usage
- Enhanced MethodInfoExtensions and DocxMethodRow to support method name display from attribute
- Updated DemoRouteConstants with Docs_URL_BreadcrumbService route
- Improved documentation tables for Breadcrumb, BreadcrumbItem, and BreadcrumbService
* Enhance Button docs and add rich enum metadata
- Improved Button component documentation: renamed and expanded sections, added enum documentation tables.
- Added [AddedVersion], [DefaultValue], and [Description] attributes to all Button parameters, methods, and enums for better API documentation.
- Updated XML comments for clarity and consistency; clarified default values.
- Made ChildContent, LoadingTemplate, and TooltipTitle nullable.
- Replaced buttons.jpg with updated buttons.png for documentation visuals.
* Enhance Callout docs and add metadata to parameters/enum
- Renamed "Parameters" section and added "CalloutColor Enum" section in Callout documentation.
- Added [AddedVersion], [DefaultValue], [Description], and [ParameterTypeName] attributes to Callout parameters for improved API docs and tooling.
- Improved XML comments for parameter default values.
- Added XML docs and metadata attributes to CalloutColor enum and its values.
* Remove fingerprinted JS references for Blazor scripts
Updated index.html to reference Blazor and Blazor Bootstrap JavaScript files without fingerprint placeholders. This change may impact caching and versioning, as the scripts are now loaded using their standard filenames.
* Update Blazor WASM script loading and startup logic
Switched to a fingerprinted Blazor WebAssembly script for better cache management. Removed manual Blazor.start() call, as startup is now handled automatically by the new script reference.
* Enhance Card component docs and add enum metadata
Improved documentation for Card components and enums. Added `[AddedVersion]`, `[DefaultValue]`, and `[Description]` attributes to parameters and enum values for better API reference and tooling support. Updated XML comments for clarity and switched `ChildContent` to nullable. No functional changes.1 parent 93dd01c commit f3c84e3
52 files changed
Lines changed: 1254 additions & 176 deletions
File tree
- BlazorBootstrap.Demo.RCL
- Components
- Layout
- Pages/Docs
- Accordion
- Alerts
- Badge
- Breadcrumb
- Buttons
- Callout
- Card
- Services
- BreadcrumbService
- ModalService
- Constants
- Extensions
- wwwroot/images/screenshots
- BlazorBootstrap.Demo.WebAssembly/wwwroot
- blazorbootstrap
- Attributes
- Components
- Accordion
- Badge
- Breadcrumb
- Button
- Callout
- Card
- Enums
- Color
- EventArguments
- Models
- Services
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
75 | 75 | | |
76 | 76 | | |
77 | 77 | | |
78 | | - | |
| 78 | + | |
| 79 | + | |
79 | 80 | | |
80 | 81 | | |
81 | 82 | | |
| |||
Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
29 | 33 | | |
30 | 34 | | |
31 | 35 | | |
| |||
Lines changed: 7 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
| 17 | + | |
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
| 21 | + | |
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
| 25 | + | |
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
29 | 33 | | |
30 | 34 | | |
31 | 35 | | |
| |||
Lines changed: 17 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
| 17 | + | |
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
21 | 37 | | |
22 | 38 | | |
23 | 39 | | |
| |||
Lines changed: 8 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
21 | 29 | | |
22 | 30 | | |
23 | 31 | | |
| |||
Lines changed: 28 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
| 17 | + | |
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
| 21 | + | |
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
26 | | - | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
27 | 51 | | |
28 | 52 | | |
29 | 53 | | |
| |||
Lines changed: 5 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
| 17 | + | |
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
21 | 25 | | |
22 | 26 | | |
23 | 27 | | |
| |||
Lines changed: 16 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
53 | 69 | | |
54 | 70 | | |
55 | 71 | | |
| |||
Lines changed: 29 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
22 | | - | |
| 21 | + | |
| 22 | + | |
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| |||
0 commit comments