@hi-ui/form 5.0.0-rc.0 → 5.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +34 -43
- package/package.json +14 -14
package/CHANGELOG.md
CHANGED
|
@@ -1,62 +1,53 @@
|
|
|
1
1
|
# @hi-ui/form
|
|
2
2
|
|
|
3
|
-
## 5.0.0
|
|
3
|
+
## 5.0.0
|
|
4
4
|
|
|
5
5
|
### Major Changes
|
|
6
6
|
|
|
7
|
-
- 8f3aa85e4
|
|
7
|
+
- [#3532](https://github.com/XiaoMi/hiui/pull/3532) [`8f3aa85e4`](https://github.com/XiaoMi/hiui/commit/8f3aa85e4e1977854cecdf2864498a77e959bc39) Thanks [@zyprepare](https://github.com/zyprepare)! - feat: 组件的 package.json 中的 exports 统一加上 types 配置 (5.0)
|
|
8
8
|
|
|
9
9
|
### Minor Changes
|
|
10
10
|
|
|
11
|
-
- dd5033f60
|
|
12
|
-
|
|
11
|
+
- [#3532](https://github.com/XiaoMi/hiui/pull/3532) [`dd5033f60`](https://github.com/XiaoMi/hiui/commit/dd5033f60207a638d119a8585805ee69cf435abf) Thanks [@zyprepare](https://github.com/zyprepare)! - feat(form): 增加 autoRegister 参数,支持动态添加和删除表单时,数据同步更新 (5.0)
|
|
12
|
+
|
|
13
|
+
- [#3502](https://github.com/XiaoMi/hiui/pull/3502) [`59cef699f`](https://github.com/XiaoMi/hiui/commit/59cef699f96f56d4f68fae7f9dadb960c487b5de) Thanks [@zyprepare](https://github.com/zyprepare)! - feat: 组件语义化样式改造,增加 styles 和 classNames 属性 (5.0)
|
|
13
14
|
|
|
14
15
|
### Patch Changes
|
|
15
16
|
|
|
16
|
-
- dd83a83bc
|
|
17
|
-
|
|
18
|
-
-
|
|
19
|
-
|
|
20
|
-
-
|
|
21
|
-
|
|
17
|
+
- [#3532](https://github.com/XiaoMi/hiui/pull/3532) [`dd83a83bc`](https://github.com/XiaoMi/hiui/commit/dd83a83bc60904342412a88af56ec904c972a965) Thanks [@zyprepare](https://github.com/zyprepare)! - fix(form): 修复 FormList 字段变化时没有触发 onValuesChange 回调的问题 (5.0)
|
|
18
|
+
|
|
19
|
+
- [#3532](https://github.com/XiaoMi/hiui/pull/3532) [`8c0ee78f0`](https://github.com/XiaoMi/hiui/commit/8c0ee78f013dcd9ced94cef13a69933e039621aa) Thanks [@zyprepare](https://github.com/zyprepare)! - perf: 优化全局 size 配置,对于组件中没有的 size 值,取最接近的尺寸展示 (5.0)
|
|
20
|
+
|
|
21
|
+
- [#3532](https://github.com/XiaoMi/hiui/pull/3532) [`9b34d99bc`](https://github.com/XiaoMi/hiui/commit/9b34d99bc2aa8b78b9e3281e08afc086ac4afea1) Thanks [@zyprepare](https://github.com/zyprepare)! - fix: 修复 5.0 UI 问题 (5.0)
|
|
22
|
+
|
|
23
|
+
- [#3532](https://github.com/XiaoMi/hiui/pull/3532) [`79ea480f3`](https://github.com/XiaoMi/hiui/commit/79ea480f33bb8f692dda1e6252a9d2a75c3ac30d) Thanks [@zyprepare](https://github.com/zyprepare)! - feat(global-context): 增加 size api 全局配置 (5.0)
|
|
24
|
+
|
|
25
|
+
- [#3532](https://github.com/XiaoMi/hiui/pull/3532) [`2e56529f7`](https://github.com/XiaoMi/hiui/commit/2e56529f7ea8c74e2fac8b6061628d4fd0d862ac) Thanks [@zyprepare](https://github.com/zyprepare)! - styles: 主题定制功能完善&&样式变量化写法改造&&兼容 RTL (5.0)
|
|
26
|
+
|
|
27
|
+
- [#3532](https://github.com/XiaoMi/hiui/pull/3532) [`539749951`](https://github.com/XiaoMi/hiui/commit/53974995177f7cf813a4208b05fb6e1b43201f48) Thanks [@zyprepare](https://github.com/zyprepare)! - <br>
|
|
28
|
+
|
|
22
29
|
- fix(form): 错误提示字号改为 12px (5.0)
|
|
23
30
|
- fix(form): 必填星号调整为显示在右侧 (5.0)
|
|
24
31
|
- fix(form): 标题和控件间距改为 6px (5.0)
|
|
25
32
|
- fix(form): 包裹控件容器设置最小高度 32px (5.0)
|
|
26
33
|
- fix(form): 默认不显示标题冒号 (5.0)
|
|
27
|
-
|
|
28
|
-
-
|
|
29
|
-
|
|
30
|
-
-
|
|
31
|
-
|
|
32
|
-
- Updated dependencies [9b34d99bc]
|
|
33
|
-
-
|
|
34
|
-
-
|
|
35
|
-
-
|
|
36
|
-
-
|
|
37
|
-
-
|
|
38
|
-
-
|
|
39
|
-
-
|
|
40
|
-
-
|
|
41
|
-
-
|
|
42
|
-
-
|
|
43
|
-
-
|
|
44
|
-
- Updated dependencies [4006b2c8c]
|
|
45
|
-
- Updated dependencies [33da3144e]
|
|
46
|
-
- Updated dependencies [58ad82e94]
|
|
47
|
-
- Updated dependencies [95d930354]
|
|
48
|
-
- Updated dependencies [99801c2d1]
|
|
49
|
-
- @hi-ui/button@5.0.0-rc.0
|
|
50
|
-
- @hi-ui/core@5.0.0-rc.0
|
|
51
|
-
- @hi-ui/use-latest@5.0.0-rc.0
|
|
52
|
-
- @hi-ui/array-utils@5.0.0-rc.0
|
|
53
|
-
- @hi-ui/classname@5.0.0-rc.0
|
|
54
|
-
- @hi-ui/dom-utils@5.0.0-rc.0
|
|
55
|
-
- @hi-ui/env@5.0.0-rc.0
|
|
56
|
-
- @hi-ui/func-utils@5.0.0-rc.0
|
|
57
|
-
- @hi-ui/object-utils@5.0.0-rc.0
|
|
58
|
-
- @hi-ui/type-assertion@5.0.0-rc.0
|
|
59
|
-
- @hi-ui/use-merge-semantic@5.0.0-rc.0
|
|
34
|
+
|
|
35
|
+
- [#3504](https://github.com/XiaoMi/hiui/pull/3504) [`eb17c4697`](https://github.com/XiaoMi/hiui/commit/eb17c46978dfcb5e8ec0a0e3b3dcffabae8d31fe) Thanks [@zyprepare](https://github.com/zyprepare)! - style: 修复 UI/样式问题 (5.0)
|
|
36
|
+
|
|
37
|
+
- [#3532](https://github.com/XiaoMi/hiui/pull/3532) [`33da3144e`](https://github.com/XiaoMi/hiui/commit/33da3144e916edd75ee0669ca9e5090edc681193) Thanks [@zyprepare](https://github.com/zyprepare)! - build: 将 package.json 中 exports 配置中的 types 配置放在最上面 (5.0)
|
|
38
|
+
|
|
39
|
+
- Updated dependencies [[`eea29eade`](https://github.com/XiaoMi/hiui/commit/eea29eade364317198270daa62d7454279f9068a), [`eb17c4697`](https://github.com/XiaoMi/hiui/commit/eb17c46978dfcb5e8ec0a0e3b3dcffabae8d31fe), [`8c0ee78f0`](https://github.com/XiaoMi/hiui/commit/8c0ee78f013dcd9ced94cef13a69933e039621aa), [`9b34d99bc`](https://github.com/XiaoMi/hiui/commit/9b34d99bc2aa8b78b9e3281e08afc086ac4afea1), [`8f3aa85e4`](https://github.com/XiaoMi/hiui/commit/8f3aa85e4e1977854cecdf2864498a77e959bc39), [`fd4c20bbd`](https://github.com/XiaoMi/hiui/commit/fd4c20bbd30e18bc4c1a2eb078acaa4790f7b2eb), [`79ea480f3`](https://github.com/XiaoMi/hiui/commit/79ea480f33bb8f692dda1e6252a9d2a75c3ac30d), [`2e56529f7`](https://github.com/XiaoMi/hiui/commit/2e56529f7ea8c74e2fac8b6061628d4fd0d862ac), [`3a7186e4b`](https://github.com/XiaoMi/hiui/commit/3a7186e4b4e7ce351c3856f3e1ba574b9f6df22f), [`8a92ec660`](https://github.com/XiaoMi/hiui/commit/8a92ec660d7622768574dfe2e799b24d14e052a7), [`1429eced2`](https://github.com/XiaoMi/hiui/commit/1429eced2c79d22b6973229af3860b5dc48ad4a9), [`eb17c4697`](https://github.com/XiaoMi/hiui/commit/eb17c46978dfcb5e8ec0a0e3b3dcffabae8d31fe), [`f1ab51725`](https://github.com/XiaoMi/hiui/commit/f1ab517258599ee2dfad183e4a8c7b855ef409c1), [`c407744fe`](https://github.com/XiaoMi/hiui/commit/c407744fea78d93da66b73eed0b62d18e5b3a011), [`d91a8bb0f`](https://github.com/XiaoMi/hiui/commit/d91a8bb0f887fa886215aa596852eef3c2ce8519), [`4006b2c8c`](https://github.com/XiaoMi/hiui/commit/4006b2c8cabba5ec553b69a17e4bf3fb53fe9180), [`33da3144e`](https://github.com/XiaoMi/hiui/commit/33da3144e916edd75ee0669ca9e5090edc681193), [`58ad82e94`](https://github.com/XiaoMi/hiui/commit/58ad82e9441e76bf6090e6a0f4e36a04342c25f0), [`95d930354`](https://github.com/XiaoMi/hiui/commit/95d930354a1ab4291e98a9abccb9525d6c210795), [`99801c2d1`](https://github.com/XiaoMi/hiui/commit/99801c2d12628c194657579eccd09a86aedea22b)]:
|
|
40
|
+
- @hi-ui/button@5.0.0
|
|
41
|
+
- @hi-ui/core@5.0.0
|
|
42
|
+
- @hi-ui/use-latest@5.0.0
|
|
43
|
+
- @hi-ui/array-utils@5.0.0
|
|
44
|
+
- @hi-ui/classname@5.0.0
|
|
45
|
+
- @hi-ui/dom-utils@5.0.0
|
|
46
|
+
- @hi-ui/env@5.0.0
|
|
47
|
+
- @hi-ui/func-utils@5.0.0
|
|
48
|
+
- @hi-ui/object-utils@5.0.0
|
|
49
|
+
- @hi-ui/type-assertion@5.0.0
|
|
50
|
+
- @hi-ui/use-merge-semantic@5.0.0
|
|
60
51
|
|
|
61
52
|
## 4.3.4
|
|
62
53
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hi-ui/form",
|
|
3
|
-
"version": "5.0.0
|
|
3
|
+
"version": "5.0.0",
|
|
4
4
|
"description": "A sub-package for @hi-ui/hiui.",
|
|
5
5
|
"keywords": [],
|
|
6
6
|
"author": "HiUI <mi-hiui@xiaomi.com>",
|
|
@@ -44,27 +44,27 @@
|
|
|
44
44
|
"url": "https://github.com/XiaoMi/hiui/issues"
|
|
45
45
|
},
|
|
46
46
|
"dependencies": {
|
|
47
|
-
"@hi-ui/array-utils": "^5.0.0
|
|
48
|
-
"@hi-ui/button": "^5.0.0
|
|
49
|
-
"@hi-ui/classname": "^5.0.0
|
|
50
|
-
"@hi-ui/dom-utils": "^5.0.0
|
|
51
|
-
"@hi-ui/env": "^5.0.0
|
|
52
|
-
"@hi-ui/func-utils": "^5.0.0
|
|
53
|
-
"@hi-ui/object-utils": "^5.0.0
|
|
54
|
-
"@hi-ui/type-assertion": "^5.0.0
|
|
55
|
-
"@hi-ui/use-latest": "^5.0.0
|
|
56
|
-
"@hi-ui/use-merge-semantic": "^5.0.0
|
|
47
|
+
"@hi-ui/array-utils": "^5.0.0",
|
|
48
|
+
"@hi-ui/button": "^5.0.0",
|
|
49
|
+
"@hi-ui/classname": "^5.0.0",
|
|
50
|
+
"@hi-ui/dom-utils": "^5.0.0",
|
|
51
|
+
"@hi-ui/env": "^5.0.0",
|
|
52
|
+
"@hi-ui/func-utils": "^5.0.0",
|
|
53
|
+
"@hi-ui/object-utils": "^5.0.0",
|
|
54
|
+
"@hi-ui/type-assertion": "^5.0.0",
|
|
55
|
+
"@hi-ui/use-latest": "^5.0.0",
|
|
56
|
+
"@hi-ui/use-merge-semantic": "^5.0.0",
|
|
57
57
|
"async-validator": "^4.0.7",
|
|
58
58
|
"scroll-into-view-if-needed": "^3.1.0"
|
|
59
59
|
},
|
|
60
60
|
"peerDependencies": {
|
|
61
|
-
"@hi-ui/core": ">=5.0.0
|
|
61
|
+
"@hi-ui/core": ">=5.0.0",
|
|
62
62
|
"react": ">=16.8.6",
|
|
63
63
|
"react-dom": ">=16.8.6"
|
|
64
64
|
},
|
|
65
65
|
"devDependencies": {
|
|
66
|
-
"@hi-ui/core": "^5.0.0
|
|
67
|
-
"@hi-ui/core-css": "^5.0.0
|
|
66
|
+
"@hi-ui/core": "^5.0.0",
|
|
67
|
+
"@hi-ui/core-css": "^5.0.0",
|
|
68
68
|
"react": "^17.0.1",
|
|
69
69
|
"react-dom": "^17.0.1"
|
|
70
70
|
}
|