-
Notifications
You must be signed in to change notification settings - Fork 29
docs: add english document #17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Changes from 20 commits
fd29bfc
9544d10
4b56b79
247451a
916dd9d
b8dcf9e
943fcbd
3ac14b3
59a9597
159e32c
f8cfe22
6d0b7e6
28de4eb
c38016a
bc83e82
4613500
ba9872d
0e148aa
7d96762
26d41bd
1e3c074
c2e7d36
6d6cfc5
5dd4b0a
0f7ef86
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
| @@ -0,0 +1,104 @@ | ||||||
| # Accordion | ||||||
|
|
||||||
| :::tip | ||||||
| The `Accordion` component needs to be used by the inline [`Collapse`](./collapse) component. | ||||||
| ::: | ||||||
|
|
||||||
| ## Demos | ||||||
|
|
||||||
| ### Size | ||||||
|
|
||||||
| Available size variants for the ui prop: `s` / `m`. | ||||||
|
||||||
| Available size variants for the ui prop: `s` / `m`. | |
| Available size variants for the [`ui`](#props-ui) prop: `s` / `m`. |
Justineo marked this conversation as resolved.
Show resolved
Hide resolved
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
| @@ -0,0 +1,70 @@ | ||||||
| # Anchor | ||||||
|
|
||||||
| ## Demo | ||||||
|
||||||
| ## Demo | |
| ## Demos |
Justineo marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
Justineo marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
Justineo marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
Justineo marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
Justineo marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
Justineo marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
Justineo marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
Justineo marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
Justineo marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
Justineo marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
Justineo marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
Justineo marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
Justineo marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
Justineo marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
Justineo marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
Justineo marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
Justineo marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
Justineo marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
Justineo marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
Justineo marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
| @@ -0,0 +1,138 @@ | ||||||
| # Autocomplete | ||||||
|
|
||||||
| ## Demo | ||||||
|
||||||
| ## Demo | |
| ## Demos |
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
| @@ -0,0 +1,58 @@ | ||||||
| # Badge | ||||||
|
|
||||||
| ## Demo | ||||||
|
||||||
| ## Demo | |
| ## Demos |
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| Badge content can be number, When the maximum value is exceeded, it can be displayed as *Maximum+*. | |
| The content can also be a number and can be can be displayed as “<var>max</var>+” when exceeding the maximum value. |
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| No badge content is provided, The badge will be displayed in a dot style in the upper right corner. | |
| When no badge content is provided, the badge will be displayed in the upper right corner in a dot style. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
少了个标题,Dot badge 吧
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| | ``value`` | `string | number` | - | Badge content value. When it is a value of type `number`, it is limited by the [`max`](#props-max) attribute. `max` is ignored when it is of type `string`. | | |
| | ``value`` | `string | number` | - | The badge content value. When it is of type `number`, it is limited by the [`max`](#props-max) prop. `max` is ignored when it is of type `string`. | |
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| | ``max`` | `number=` | `badge.max` | The maximum value of the badge value, when `value` exceeds this value, the badge content will be displayed as `{max}+`. Ignored when `value` is `string`. | | |
| | ``max`` | `number=` | `badge.max` | The maximum value of the badge, when `value` exceeds this value, the badge content will be displayed as “<var>max</var>+”. Ignored when `value` is `string`. | |
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| | ``hidden`` | `boolean=` | `false` | Whether hidden state. | | |
| | ``hidden`` | `boolean=` | `false` | Whether the badge is hidden. | |
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| Badge state type. The optional values for the built-in style are as follows. When using other values, you need to define the style of `.veui-badge-{type}`. | |
| The status type of the badge. The optional values for built-in styles are as follows. When using other values, you need to define the styles for `.veui-badge-{type}`. |
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| | ``default`` | The target content that the badge needs to display. | | |
| | ``default`` | The target content that the badge needs to display upon. | |
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.