Skip to content

Commit d5925c4

Browse files
committed
release version
1 parent 47120f7 commit d5925c4

25 files changed

+515
-113
lines changed

packages/web-vue/CHANGELOG.md

+19
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,25 @@
22
changelog: true
33
```
44
5+
## 2.51.0
6+
7+
`2023-09-01`
8+
9+
### ⚠️ Important Attention
10+
11+
- **form:** `form-item` render element adds `id` attribute, please pay attention to the impact on the original web page
12+
13+
### 🆕 Feature
14+
15+
- **form:** add scroll into view to the field ([#2680](https://github.com/arco-design/arco-design-vue/pull/2680))
16+
- **table:** Support displaying empty subtrees ([#2673](https://github.com/arco-design/arco-design-vue/pull/2673))
17+
- **select:** support boolean type ([#2661](https://github.com/arco-design/arco-design-vue/pull/2661))
18+
19+
### 🐛 BugFix
20+
21+
- **typography:** Fix the problem of missing related component styles when importing on demand ([#2682](https://github.com/arco-design/arco-design-vue/pull/2682))
22+
23+
524
## 2.50.2
625

726
`2023-08-25`

packages/web-vue/CHANGELOG.zh-CN.md

+19
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,25 @@
22
changelog: true
33
```
44
5+
## 2.51.0
6+
7+
`2023-09-01`
8+
9+
### ⚠️ 重点注意
10+
11+
- **form:** `form-item` 渲染元素增加 `id` 属性,请注意对原始网页的影响
12+
13+
### 🆕 新增功能
14+
15+
- **form:** 新增滚动到指定表单字段 ([#2680](https://github.com/arco-design/arco-design-vue/pull/2680))
16+
- **table:** 支持显示空子树 ([#2673](https://github.com/arco-design/arco-design-vue/pull/2673))
17+
- **select:** 支持`boolean` 类型 ([#2661](https://github.com/arco-design/arco-design-vue/pull/2661))
18+
19+
### 🐛 问题修复
20+
21+
- **typography:** 修复按需导入时缺少相关组件样式的问题 ([#2682](https://github.com/arco-design/arco-design-vue/pull/2682))
22+
23+
524
## 2.50.2
625

726
`2023-08-25`

packages/web-vue/components/form/CHANGELOG.md

+9
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,15 @@
22
changelog: true
33
```
44
5+
## 2.51.0
6+
7+
`2023-09-01`
8+
9+
### 🆕 Feature
10+
11+
- add scroll into view to the field ([#2680](https://github.com/arco-design/arco-design-vue/pull/2680))
12+
13+
514
## 2.44.2
615

716
`2023-03-17`

packages/web-vue/components/form/CHANGELOG.zh-CN.md

+9
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,15 @@
22
changelog: true
33
```
44
5+
## 2.51.0
6+
7+
`2023-09-01`
8+
9+
### 🆕 新增功能
10+
11+
- 新增滚动到指定表单字段 ([#2680](https://github.com/arco-design/arco-design-vue/pull/2680))
12+
13+
514
## 2.44.2
615

716
`2023-03-17`

packages/web-vue/components/form/README.en-US.md

+9-9
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ description: A form with data collection, verification and submission functions,
5050
|disabled|Whether to disable the form|`boolean`|`-`||
5151
|rules|Form item validation rules|`Record<string, FieldRule \| FieldRule[]>`|`-`||
5252
|auto-label-width|Whether to enable automatic label width, it only takes effect under `layout="horizontal"`.|`boolean`|`false`|2.13.0|
53-
|scroll-to-first-error|Scroll to the first error field after verification fails, receiving all parameters of[scroll-into-view-if-needed](https://github.com/stipsan/scroll-into-view-if-needed)|`boolean \| ScrollIntoViewOptions`|`-`||
53+
|scroll-to-first-error|Scroll to the first error field after verification fails|`boolean`|`false`|2.51.0|
5454
### `<form>` Events
5555

5656
|Event Name|Description|Parameters|
@@ -60,14 +60,14 @@ description: A form with data collection, verification and submission functions,
6060
|submit-failed|Triggered when verification failed|data: `{values: Record<string, any>; errors: Record<string, ValidatedError>}`<br>ev: `Event`|
6161
### `<form>` Methods
6262

63-
|Method|Description|Parameters|Return|
64-
|---|---|---|:---:|
65-
|validate|Verify all form data|callback: `(errors: undefined \| Record<string, ValidatedError>) => void`|Promise<undefined \| Record<string, ValidatedError>>|
66-
|validateField|Validate part of the form data|field: `string \| string[]`<br>callback: `(errors: undefined \| Record<string, ValidatedError>) => void`|Promise<undefined \| Record<string, ValidatedError>>|
67-
|resetFields|Reset form data|field: `string \| string[]`|-|
68-
|clearValidate|Clear verification status|field: `string \| string[]`|-|
69-
|setFields|Set the value and status of the form item|data: `Record<string, FieldData>`|-|
70-
|scrollToField|Scroll to the specified form item|field: `string`<br>options: `ScrollIntoViewOptions`|-|
63+
|Method|Description|Parameters|Return|version|
64+
|---|---|---|:---:|:---|
65+
|validate|Verify all form data|callback: `(errors: undefined \| Record<string, ValidatedError>) => void`|Promise<undefined \| Record<string, ValidatedError>>||
66+
|validateField|Validate part of the form data|field: `string \| string[]`<br>callback: `(errors: undefined \| Record<string, ValidatedError>) => void`|Promise<undefined \| Record<string, ValidatedError>>||
67+
|resetFields|Reset form data|field: `string \| string[]`|-||
68+
|clearValidate|Clear verification status|field: `string \| string[]`|-||
69+
|setFields|Set the value and status of the form item|data: `Record<string, FieldData>`|-||
70+
|scrollToField|Scroll to the specified form item|field: `string`|-|2.51.0|
7171

7272

7373

packages/web-vue/components/form/README.zh-CN.md

+9-9
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ description: 具有数据收集、校验和提交功能的表单,包含复选
4949
|rules|表单项校验规则|`Record<string, FieldRule \| FieldRule[]>`|`-`||
5050
|auto-label-width|是否开启自动标签宽度,仅在 `layout="horizontal"` 下生效。|`boolean`|`false`|2.13.0|
5151
|id|表单控件 `id` 的前缀|`string`|`-`||
52-
|scroll-to-first-error|验证失败后滚动到第一个错误字段,接收所有[scroll-into-view-if-needed](https://github.com/stipsan/scroll-into-view-if-needed)的参数|`boolean \| ScrollIntoViewOptions`|`-`||
52+
|scroll-to-first-error|验证失败后滚动到第一个错误字段|`boolean`|`false`|2.51.0|
5353
### `<form>` Events
5454

5555
|事件名|描述|参数|
@@ -59,14 +59,14 @@ description: 具有数据收集、校验和提交功能的表单,包含复选
5959
|submit-failed|验证失败时触发|data: `{values: Record<string, any>; errors: Record<string, ValidatedError>}`<br>ev: `Event`|
6060
### `<form>` Methods
6161

62-
|方法名|描述|参数|返回值|
63-
|---|---|---|---|
64-
|validate|校验全部表单数据|callback: `(errors: undefined \| Record<string, ValidatedError>) => void`|Promise<undefined \| Record<string, ValidatedError>>|
65-
|validateField|校验部分表单数据|field: `string \| string[]`<br>callback: `(errors: undefined \| Record<string, ValidatedError>) => void`|Promise<undefined \| Record<string, ValidatedError>>|
66-
|resetFields|重置表单数据|field: `string \| string[]`|-|
67-
|clearValidate|清除校验状态|field: `string \| string[]`|-|
68-
|setFields|设置表单项的值和状态|data: `Record<string, FieldData>`|-|
69-
|scrollToField|滚动到指定表单项|field: `string`<br>options: `ScrollIntoViewOptions`|-|
62+
|方法名|描述|参数|返回值|版本|
63+
|---|---|---|---|:---|
64+
|validate|校验全部表单数据|callback: `(errors: undefined \| Record<string, ValidatedError>) => void`|Promise<undefined \| Record<string, ValidatedError>>||
65+
|validateField|校验部分表单数据|field: `string \| string[]`<br>callback: `(errors: undefined \| Record<string, ValidatedError>) => void`|Promise<undefined \| Record<string, ValidatedError>>||
66+
|resetFields|重置表单数据|field: `string \| string[]`|-||
67+
|clearValidate|清除校验状态|field: `string \| string[]`|-||
68+
|setFields|设置表单项的值和状态|data: `Record<string, FieldData>`|-||
69+
|scrollToField|滚动到指定表单项|field: `string`|-|2.51.0|
7070

7171

7272

0 commit comments

Comments
 (0)