Skip to content

Commit 53090e5

Browse files
Expand component library to 79 enterprise component types with detailed schemas
Co-authored-by: xuyushun441-sys <255036401+xuyushun441-sys@users.noreply.github.com>
1 parent 9334715 commit 53090e5

40 files changed

Lines changed: 4300 additions & 82 deletions
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
---
2+
title: ButtonComponent
3+
description: ButtonComponent Schema Reference
4+
---
5+
6+
## Properties
7+
8+
| Property | Type | Required | Description |
9+
| :--- | :--- | :--- | :--- |
10+
| **type** | `string` || |
11+
| **props** | `object` || |
12+
| **events** | `Record<string, any>` | optional | Event handlers |
13+
| **style** | `Record<string, string>` | optional | Custom styles |
14+
| **children** | `object[]` | optional | Child components |

content/docs/references/ui/Component.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ description: Component Schema Reference
77

88
| Property | Type | Required | Description |
99
| :--- | :--- | :--- | :--- |
10-
| **type** | `Enum<'card' \| 'tabs' \| 'accordion' \| 'modal' \| 'drawer' \| 'timeline' \| 'stepper' \| 'breadcrumb' \| 'alert' \| 'badge' \| 'tooltip' \| 'popover'>` || Component type |
10+
| **type** | `Enum<'card' \| 'tabs' \| 'accordion' \| 'modal' \| 'drawer' \| 'container' \| 'divider' \| 'space' \| 'grid' \| 'flex' \| 'breadcrumb' \| 'stepper' \| 'menu' \| 'sidebar' \| 'pagination' \| 'dropdown' \| 'table' \| 'list' \| 'tree' \| 'description' \| 'statistic' \| 'tag' \| 'collapse' \| 'carousel' \| 'image' \| 'avatar' \| 'calendar_view' \| 'form' \| 'input' \| 'select' \| 'checkbox' \| 'radio' \| 'switch' \| 'slider' \| 'date_picker' \| 'time_picker' \| 'upload' \| 'autocomplete' \| 'cascader' \| 'transfer' \| 'color_picker' \| 'rate' \| 'alert' \| 'message' \| 'notification' \| 'progress' \| 'skeleton' \| 'spin' \| 'result' \| 'empty' \| 'button' \| 'button_group' \| 'icon_button' \| 'split_button' \| 'tooltip' \| 'popover' \| 'dialog' \| 'confirm' \| 'badge' \| 'timeline' \| 'steps' \| 'anchor' \| 'back_top' \| 'watermark' \| 'qrcode'>` || Component type |
1111
| **props** | `Record<string, any>` | optional | Component properties |
1212
| **events** | `Record<string, any>` | optional | Event handlers |
1313
| **style** | `Record<string, string>` | optional | Custom styles |

content/docs/references/ui/ComponentType.mdx

Lines changed: 57 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,63 @@ description: ComponentType Schema Reference
1010
* `accordion`
1111
* `modal`
1212
* `drawer`
13-
* `timeline`
14-
* `stepper`
13+
* `container`
14+
* `divider`
15+
* `space`
16+
* `grid`
17+
* `flex`
1518
* `breadcrumb`
19+
* `stepper`
20+
* `menu`
21+
* `sidebar`
22+
* `pagination`
23+
* `dropdown`
24+
* `table`
25+
* `list`
26+
* `tree`
27+
* `description`
28+
* `statistic`
29+
* `tag`
30+
* `collapse`
31+
* `carousel`
32+
* `image`
33+
* `avatar`
34+
* `calendar_view`
35+
* `form`
36+
* `input`
37+
* `select`
38+
* `checkbox`
39+
* `radio`
40+
* `switch`
41+
* `slider`
42+
* `date_picker`
43+
* `time_picker`
44+
* `upload`
45+
* `autocomplete`
46+
* `cascader`
47+
* `transfer`
48+
* `color_picker`
49+
* `rate`
1650
* `alert`
17-
* `badge`
51+
* `message`
52+
* `notification`
53+
* `progress`
54+
* `skeleton`
55+
* `spin`
56+
* `result`
57+
* `empty`
58+
* `button`
59+
* `button_group`
60+
* `icon_button`
61+
* `split_button`
1862
* `tooltip`
19-
* `popover`
63+
* `popover`
64+
* `dialog`
65+
* `confirm`
66+
* `badge`
67+
* `timeline`
68+
* `steps`
69+
* `anchor`
70+
* `back_top`
71+
* `watermark`
72+
* `qrcode`
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
---
2+
title: FormComponent
3+
description: FormComponent Schema Reference
4+
---
5+
6+
## Properties
7+
8+
| Property | Type | Required | Description |
9+
| :--- | :--- | :--- | :--- |
10+
| **type** | `string` || |
11+
| **props** | `object` | optional | |
12+
| **events** | `Record<string, any>` | optional | Event handlers |
13+
| **style** | `Record<string, string>` | optional | Custom styles |
14+
| **children** | `object[]` | optional | Child components |
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
---
2+
title: InputComponent
3+
description: InputComponent Schema Reference
4+
---
5+
6+
## Properties
7+
8+
| Property | Type | Required | Description |
9+
| :--- | :--- | :--- | :--- |
10+
| **type** | `string` || |
11+
| **props** | `object` | optional | |
12+
| **events** | `Record<string, any>` | optional | Event handlers |
13+
| **style** | `Record<string, string>` | optional | Custom styles |
14+
| **children** | `object[]` | optional | Child components |
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
---
2+
title: ListComponent
3+
description: ListComponent Schema Reference
4+
---
5+
6+
## Properties
7+
8+
| Property | Type | Required | Description |
9+
| :--- | :--- | :--- | :--- |
10+
| **type** | `string` || |
11+
| **props** | `object` | optional | |
12+
| **events** | `Record<string, any>` | optional | Event handlers |
13+
| **style** | `Record<string, string>` | optional | Custom styles |
14+
| **children** | `object[]` | optional | Child components |
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
---
2+
title: MenuComponent
3+
description: MenuComponent Schema Reference
4+
---
5+
6+
## Properties
7+
8+
| Property | Type | Required | Description |
9+
| :--- | :--- | :--- | :--- |
10+
| **type** | `string` || |
11+
| **props** | `object` || |
12+
| **events** | `Record<string, any>` | optional | Event handlers |
13+
| **style** | `Record<string, string>` | optional | Custom styles |
14+
| **children** | `object[]` | optional | Child components |
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
---
2+
title: PaginationComponent
3+
description: PaginationComponent Schema Reference
4+
---
5+
6+
## Properties
7+
8+
| Property | Type | Required | Description |
9+
| :--- | :--- | :--- | :--- |
10+
| **type** | `string` || |
11+
| **props** | `object` || |
12+
| **events** | `Record<string, any>` | optional | Event handlers |
13+
| **style** | `Record<string, string>` | optional | Custom styles |
14+
| **children** | `object[]` | optional | Child components |
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
---
2+
title: ProgressComponent
3+
description: ProgressComponent Schema Reference
4+
---
5+
6+
## Properties
7+
8+
| Property | Type | Required | Description |
9+
| :--- | :--- | :--- | :--- |
10+
| **type** | `string` || |
11+
| **props** | `object` || |
12+
| **events** | `Record<string, any>` | optional | Event handlers |
13+
| **style** | `Record<string, string>` | optional | Custom styles |
14+
| **children** | `object[]` | optional | Child components |
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
---
2+
title: SelectComponent
3+
description: SelectComponent Schema Reference
4+
---
5+
6+
## Properties
7+
8+
| Property | Type | Required | Description |
9+
| :--- | :--- | :--- | :--- |
10+
| **type** | `string` || |
11+
| **props** | `object` || |
12+
| **events** | `Record<string, any>` | optional | Event handlers |
13+
| **style** | `Record<string, string>` | optional | Custom styles |
14+
| **children** | `object[]` | optional | Child components |

0 commit comments

Comments
 (0)