Skip to content

Commit 25baecb

Browse files
committed
feat: update veui and refine docs
1 parent ba370dd commit 25baecb

File tree

12 files changed

+92
-85
lines changed

12 files changed

+92
-85
lines changed

one/docs/components/autocomplete.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,12 +41,12 @@
4141
| ``placeholder`` | `string` | - | 输入占位符。 |
4242
| ``clearable`` | `boolean` | `false` | 是否显示清除按钮。 |
4343
| ``composition`` | `boolean` | `false` | 是否感知输入法输入过程的值。 |
44+
| ``autofocus`` | `boolean` | `false` | 是否自动获取焦点。 |
4445
| ``select-on-focus`` | `boolean` | `false` | 聚焦时是否自动选中输入框文本。 |
4546
| ``maxlength`` | `number` | - | 输入字符串的长度限制。 |
4647
| ``strict`` | `boolean | Object` | `false` | [^strict] |
4748
| ``get-length`` | `function(string): number` | 自定义的字符长度计算函数。 |
4849
| ``trim`` | `boolean | string` | `false` | [^trim] |
49-
| ``autofocus`` | `boolean` | `false` | 是否自动获取焦点。 |
5050
| ``overlay-class`` | `string | Array | Object` | - | 参考 [`Overlay`](./overlay) 组件的 [`overlay-class`](./overlay#props-overlay-class) 属性。 |
5151
| ``overlay-style`` | `string | Array | Object` | - | 参考 [`Overlay`](./overlay) 组件的 [`overlay-style`](./overlay#props-overlay-style) 属性。 |
5252

one/docs/components/input.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@
4646
| ``placeholder`` | `string` | - | 输入占位符。 |
4747
| ``clearable`` | `boolean` | `false` | 是否显示清除按钮。 |
4848
| ``composition`` | `boolean` | `false` | 是否感知输入法输入过程的值。 |
49+
| ``autofocus`` | `boolean` | `false` | 输入框是否自动聚焦。 |
4950
| ``select-on-focus`` | `boolean` | `false` | 聚焦时是否自动选中输入框文本。 |
5051
| ``maxlength`` | `number` | - | 最大可输入的字符长度。 |
5152
| ``get-length`` | `function(string): number` | - | 自定义的字符长度计算函数。 |

one/docs/components/number-input.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@
3939
| ``readonly`` | `boolean` | `false` | 数字输入框是否为只读状态。 |
4040
| ``disabled`` | `boolean` | `false` | 数字输入框是否为禁用状态。 |
4141
| ``placeholder`` | `string` | - | 输入占位符。 |
42+
| ``autofocus`` | `boolean` | `false` | 数字输入框是否自动聚焦。 |
4243
| ``select-on-focus`` | `boolean` | `false` | 聚焦时是否自动选中数字输入框文本。 |
4344
| ``max`` | `number` | - | 允许的最大值。 |
4445
| ``min`` | `number` | - | 允许的最小值。 |

one/docs/components/search-box.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@
3737
| ``clearable`` | `boolean` | `false` | 是否显示清除按钮。 |
3838
| ``select-on-focus`` | `boolean` | `false` | 聚焦时是否自动选择文本。 |
3939
| ``composition`` | `boolean` | `false` | 是否感知输入法状态。 |
40+
| ``autofocus`` | `boolean` | `false` | 是否自动聚焦。 |
4041
| ``suggestions`` | `Array<string>|Array<Object>` | - | [^suggestions] |
4142
| ``replace-on-select`` | `boolean` | `true` | 选择推荐项时是否自动使用其内容填充文本框。 |
4243
| ``maxlength`` | `number` | - | 最大可输入的字符长度。 |

one/docs/components/tag-input.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@
5757
| ``readonly`` | `boolean` | `false` | 标签输入框是否为只读状态。 |
5858
| ``placeholder`` | `string` | - | 输入占位符。 |
5959
| ``clearable`` | `boolean` | `false` | 是否显示清除按钮。 |
60+
| ``autofocus`` | `boolean` | `false` | 是否自动聚焦。 |
6061
| ``maxlength`` | `number` | - | 最大可输入的字符长度。 |
6162
| ``max`` | `number` | - | 允许输入的标签数上限。 |
6263
| ``strict`` | `boolean | Object` | `false` | [^strict] |

one/docs/en-US/components/autocomplete.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,12 +41,12 @@ Set the [`match`](#props-match) prop to customize highlight logic and the [`filt
4141
| ``placeholder`` | `string` | - | The placeholder text. |
4242
| ``clearable`` | `boolean` | `false` | Whether to show the clear button. |
4343
| ``composition`` | `boolean` | `false` | Whether to perceive the value during the input method editor (IME) input process. |
44+
| ``autofocus`` | `boolean` | `false` | Whether to automatically focus the input. |
4445
| ``select-on-focus`` | `boolean` | `false` | Whether to automatically select the input box text when focused. |
4546
| ``maxlength`` | `number` | - | The maximum length of the input string. |
4647
| ``strict`` | `boolean | Object` | `false` | [^strict] |
4748
| ``get-length`` | `function(string): number` | A custom function to calculate the length of characters. |
4849
| ``trim`` | `boolean | string` | `false` | [^trim] |
49-
| ``autofocus`` | `boolean` | `false` | Whether to automatically focus the input. |
5050
| ``overlay-class`` | `string | Array | Object` | - | Refers to the [`overlay-class`](./overlay#props-overlay-class) prop of the [`Overlay`](./overlay) component. |
5151
| ``overlay-style`` | `string | Array | Object` | - | Refers to the [`overlay-style`](./overlay#props-overlay-style) prop of the [`Overlay`](./overlay) component. |
5252

one/docs/en-US/components/input.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ Set the [`trim`](#props-trim) prop to automatically remove leading and trailing
4646
| ``placeholder`` | `string` | - | Placeholder text for the input field. |
4747
| ``clearable`` | `boolean` | `false` | Whether to show the clear button. |
4848
| ``composition`` | `boolean` | `false` | Whether to handle input composition. |
49+
| ``autofocus`` | `boolean` | `false` | Whether to autofocus the input. |
4950
| ``select-on-focus`` | `boolean` | `false` | Whether to select the input field text on focus. |
5051
| ``maxlength`` | `number` | - | The maximum length of input characters. |
5152
| ``get-length`` | `function(string): number` | - | Custom function to calculate the length of input characters. |

one/docs/en-US/components/number-input.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ Set the [`step`](#props-step) prop to specify the value of each increment/decrem
3939
| ``readonly`` | `boolean` | `false` | Whether the number input box is in readonly state. |
4040
| ``disabled`` | `boolean` | `false` | Whether the number input box is disabled. |
4141
| ``placeholder`` | `string` | - | Input placeholder. |
42+
| ``autofocus`` | `boolean` | `false` | Whether to autofocus the number input. |
4243
| ``select-on-focus`` | `boolean` | `false` | Whether to automatically select the text in the number input box when focused. |
4344
| ``max`` | `number` | - | The maximum allowed value. |
4445
| ``min`` | `number` | - | The minimum allowed value. |

one/docs/en-US/components/search-box.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,10 @@ Available [`ui`](#props-ui) prop values: `xs` / `s` / `m` / `l`.
3333
| ``disabled`` | `boolean` | `false` | Whether the input is disabled. |
3434
| ``readonly`` | `boolean` | `false` | Whether the input is read-only. |
3535
| ``placeholder`` | `string` | - | Placeholder text of the search box. |
36-
| ``autofocus`` | `boolean` | `false` | Whether the input is autofocus. |
3736
| ``clearable`` | `boolean` | `false` | Whether to show the clear button. |
3837
| ``select-on-focus`` | `boolean` | `false` | Whether to select text on focus. |
3938
| ``composition`` | `boolean` | `false` | Whether to enable composition mode. |
39+
| ``autofocus`` | `boolean` | `false` | Whether the input is autofocus. |
4040
| ``suggestions`` | `Array<string>|Array<Object>` | - | [^suggestions] |
4141
| ``replace-on-select`` | `boolean` | `true` | Whether to replace input with selected suggestion. |
4242
| ``maxlength`` | `number` | - | Maximum length of input. |

one/docs/en-US/components/tag-input.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ Use the [`tag`](#slots-tag) slot to customize the display of tags.
5757
| ``readonly`` | `boolean` | `false` | Whether the tag input is read-only. |
5858
| ``placeholder`` | `string` | - | Input placeholder. |
5959
| ``clearable`` | `boolean` | `false` | Whether to show the clear button. |
60+
| ``autofocus`` | `boolean` | `false` | Whether to autofocus the tag input. |
6061
| ``maxlength`` | `number` | - | The maximum number of characters that can be entered. |
6162
| ``max`` | `number` | - | The maximum number of tags that can be added. |
6263
| ``strict`` | `boolean | Object` | `false` | [^strict] |

0 commit comments

Comments
 (0)