@hi-ui/check-select 5.0.0-rc.1 → 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 CHANGED
@@ -1,122 +1,99 @@
1
1
  # @hi-ui/check-select
2
2
 
3
- ## 5.0.0-rc.0
3
+ ## 5.0.0
4
4
 
5
5
  ### Major Changes
6
6
 
7
- - 8f3aa85e4: feat: 组件的 package.json 中的 exports 统一加上 types 配置 (5.0)
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
- - b9989e482: feat(picker): 增加 clearSearchOnClosed api 默认是 false (5.0)
12
- - dc780205a: feat(check-select): 添加辅助方法 (5.0)
13
- - f1ab51725: <br>
11
+ - [#3532](https://github.com/XiaoMi/hiui/pull/3532) [`b9989e482`](https://github.com/XiaoMi/hiui/commit/b9989e48214dbbf8a938a788d3a415d9bb94b1b2) Thanks [@zyprepare](https://github.com/zyprepare)! - feat(picker): 增加 clearSearchOnClosed api 默认是 false (5.0)
12
+
13
+ - [#3518](https://github.com/XiaoMi/hiui/pull/3518) [`dc780205a`](https://github.com/XiaoMi/hiui/commit/dc780205abc5ac4c245ffbc52fa3a53b404f0143) Thanks [@fcppddl](https://github.com/fcppddl)! - feat(check-select): 添加辅助方法 (5.0)
14
+
15
+ - [#3532](https://github.com/XiaoMi/hiui/pull/3532) [`f1ab51725`](https://github.com/XiaoMi/hiui/commit/f1ab517258599ee2dfad183e4a8c7b855ef409c1) Thanks [@zyprepare](https://github.com/zyprepare)! - <br>
16
+
14
17
  - feat(picker): 下拉选择类组件增加 xs 尺寸 (5.0)
15
18
  - feat(input): 输入框组件增加 xs 尺寸 (5.0)
16
- - ebabba8fd: feat(check-select): renderExtraFooter 回调返回 CheckAllNode 参数 (5.0)
17
- - b27483796: feat(picker, select, check-select): add creatableInSearchVisible prop to control visibility of creation entry based on search results (5.0)
18
- - 6dca7795c: feat: 下拉选择组件增加 showIndicator 参数 & 修改 appearance 中的 unset 样式 (5.0)
19
- - 77d969c2e: feat: 下拉选择类组件 appearance 参数增加 contained 类型 (5.0)
20
- - 58ad82e94: feat: 输入框和选择器组件增加 borderless 形态 (5.0)
21
- - 59cef699f: feat: 组件语义化样式改造,增加 styles classNames 属性 (5.0)
22
- - cb7b794d0: feat(select): 增加 creatableInSearch、createTitle 参数,支持在搜索无结果时可创建选项 (5.0)
19
+
20
+ - [#3523](https://github.com/XiaoMi/hiui/pull/3523) [`ebabba8fd`](https://github.com/XiaoMi/hiui/commit/ebabba8fde3ba08b95919ecb66dba70d6a5a16b0) Thanks [@zyprepare](https://github.com/zyprepare)! - feat(check-select): renderExtraFooter 回调返回 CheckAllNode 参数 (5.0)
21
+
22
+ - [#3490](https://github.com/XiaoMi/hiui/pull/3490) [`b27483796`](https://github.com/XiaoMi/hiui/commit/b2748379661e2e7a4c18e94c478dc2554405c7dd) Thanks [@zyprepare](https://github.com/zyprepare)! - feat(picker, select, check-select): add creatableInSearchVisible prop to control visibility of creation entry based on search results (5.0)
23
+
24
+ - [#3532](https://github.com/XiaoMi/hiui/pull/3532) [`6dca7795c`](https://github.com/XiaoMi/hiui/commit/6dca7795c71123f941d91b991ecd17ce26b6a2da) Thanks [@zyprepare](https://github.com/zyprepare)! - feat: 下拉选择组件增加 showIndicator 参数 & 修改 appearance 中的 unset 样式 (5.0)
25
+
26
+ - [#3532](https://github.com/XiaoMi/hiui/pull/3532) [`77d969c2e`](https://github.com/XiaoMi/hiui/commit/77d969c2e4f6db55f6cc154c1803971ac3e3f085) Thanks [@zyprepare](https://github.com/zyprepare)! - feat: 下拉选择类组件 appearance 参数增加 contained 类型 (5.0)
27
+
28
+ - [#3532](https://github.com/XiaoMi/hiui/pull/3532) [`58ad82e94`](https://github.com/XiaoMi/hiui/commit/58ad82e9441e76bf6090e6a0f4e36a04342c25f0) Thanks [@zyprepare](https://github.com/zyprepare)! - feat: 输入框和选择器组件增加 borderless 形态 (5.0)
29
+
30
+ - [#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)
31
+
32
+ - [#3532](https://github.com/XiaoMi/hiui/pull/3532) [`cb7b794d0`](https://github.com/XiaoMi/hiui/commit/cb7b794d07d56c74f7972f05440632335631b9e0) Thanks [@zyprepare](https://github.com/zyprepare)! - feat(select): 增加 creatableInSearch、createTitle 参数,支持在搜索无结果时可创建选项 (5.0)
23
33
 
24
34
  ### Patch Changes
25
35
 
26
- - cf89262c7: style(picker): 移除 picker 组件中的 \_\_text 样式定义 (5.0)
27
- - cb9d8f6db: fix(tag-input): 修复 contained 模式下 displayRender 设置无效问题 (5.0)
28
- - 79ea480f3: feat(global-context): 增加 size api 全局配置 (5.0)
29
- - 2e56529f7: styles: 主题定制功能完善&&样式变量化写法改造&&兼容 RTL (5.0)
30
- - eb718e940: fix: 修改组件问题 (5.0)
31
- - 95abba983: fix: 修改 UI 问题 (5.0)
32
- - 8f23e9322: style: 表单类组件统一调整后缀颜色、placeholder 颜色 (5.0)
33
- - eb17c4697: style: 修复 UI/样式问题 (5.0)
34
- - de8d058dc: perf: 对下拉选择类组件的 customRender 的内容增加 memoization 以优化性能 (5.0)
35
- - 5210770d9: feat(picker): add header api (5.0)
36
- - 33da3144e: build: package.json exports 配置中的 types 配置放在最上面 (5.0)
37
- - e7b64347e: style(tag-input): 增加 flex-wrap 属性以优化标签换行展示 (5.0)
38
- - 0a4e90dbd: <br>
36
+ - [#3532](https://github.com/XiaoMi/hiui/pull/3532) [`cf89262c7`](https://github.com/XiaoMi/hiui/commit/cf89262c72b03fa0a00c154164b68482c3a8ac98) Thanks [@zyprepare](https://github.com/zyprepare)! - style(picker): 移除 picker 组件中的 \_\_text 样式定义 (5.0)
37
+
38
+ - [#3532](https://github.com/XiaoMi/hiui/pull/3532) [`cb9d8f6db`](https://github.com/XiaoMi/hiui/commit/cb9d8f6db18ef3322502ae2da93c8266aa3114d5) Thanks [@zyprepare](https://github.com/zyprepare)! - fix(tag-input): 修复 contained 模式下 displayRender 设置无效问题 (5.0)
39
+
40
+ - [#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)
41
+
42
+ - [#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)
43
+
44
+ - [#3532](https://github.com/XiaoMi/hiui/pull/3532) [`eb718e940`](https://github.com/XiaoMi/hiui/commit/eb718e940a0cabc6914d1242e6ca4a21431a628a) Thanks [@zyprepare](https://github.com/zyprepare)! - fix: 修改组件问题 (5.0)
45
+
46
+ - [#3532](https://github.com/XiaoMi/hiui/pull/3532) [`95abba983`](https://github.com/XiaoMi/hiui/commit/95abba98391a31c3cd79704fa0a63f64f437601f) Thanks [@zyprepare](https://github.com/zyprepare)! - fix: 修改 UI 问题 (5.0)
47
+
48
+ - [#3489](https://github.com/XiaoMi/hiui/pull/3489) [`8f23e9322`](https://github.com/XiaoMi/hiui/commit/8f23e9322e8aa117608d42898cce1f9d74414629) Thanks [@zyprepare](https://github.com/zyprepare)! - style: 表单类组件统一调整后缀颜色、placeholder 颜色 (5.0)
49
+
50
+ - [#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)
51
+
52
+ - [#3532](https://github.com/XiaoMi/hiui/pull/3532) [`de8d058dc`](https://github.com/XiaoMi/hiui/commit/de8d058dc8b8fcd3acd6792ba71eac47475496ed) Thanks [@zyprepare](https://github.com/zyprepare)! - perf: 对下拉选择类组件的 customRender 的内容增加 memoization 以优化性能 (5.0)
53
+
54
+ - [#3532](https://github.com/XiaoMi/hiui/pull/3532) [`5210770d9`](https://github.com/XiaoMi/hiui/commit/5210770d9d6bf9c83e84a28229f2007202d2d3b8) Thanks [@zyprepare](https://github.com/zyprepare)! - feat(picker): add header api (5.0)
55
+
56
+ - [#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)
57
+
58
+ - [#3532](https://github.com/XiaoMi/hiui/pull/3532) [`e7b64347e`](https://github.com/XiaoMi/hiui/commit/e7b64347e578c3a674c63f30341d87d358a4cd7b) Thanks [@zyprepare](https://github.com/zyprepare)! - style(tag-input): 增加 flex-wrap 属性以优化标签换行展示 (5.0)
59
+
60
+ - [#3532](https://github.com/XiaoMi/hiui/pull/3532) [`0a4e90dbd`](https://github.com/XiaoMi/hiui/commit/0a4e90dbd7398e69511e7505b1fd6093eca48cee) Thanks [@zyprepare](https://github.com/zyprepare)! - <br>
61
+
39
62
  - style(tag-input): 间距调整 (5.0)
40
63
  - style(select): 选择类组件选项圆角改为 4px (5.0)
41
64
  - style(picker): 搜索框样式调整 (5.0)
42
- - 4a31cea53: style: 统一调整选择类组件 hover 时的背景色 (5.0)
43
- - 99801c2d1: fix: 修复 UI 问题 (5.0)
44
- - Updated dependencies [0b34e1c15]
45
- - Updated dependencies [da2e63a14]
46
- - Updated dependencies [1e226cd66]
47
- - Updated dependencies [cce71cdfa]
48
- - Updated dependencies [b9989e482]
49
- - Updated dependencies [7f204c892]
50
- - Updated dependencies [122d1d859]
51
- - Updated dependencies [f1ab51725]
52
- - Updated dependencies [41552be0b]
53
- - Updated dependencies [eb17c4697]
54
- - Updated dependencies [8c0ee78f0]
55
- - Updated dependencies [9b34d99bc]
56
- - Updated dependencies [8f3aa85e4]
57
- - Updated dependencies [cb9d8f6db]
58
- - Updated dependencies [ec4c7faa2]
59
- - Updated dependencies [29cae09ea]
60
- - Updated dependencies [fd4c20bbd]
61
- - Updated dependencies [f8acad4e1]
62
- - Updated dependencies [79ea480f3]
63
- - Updated dependencies [2e56529f7]
64
- - Updated dependencies [3a7186e4b]
65
- - Updated dependencies [277c5033a]
66
- - Updated dependencies [4e0ed3a31]
67
- - Updated dependencies [95abba983]
68
- - Updated dependencies [8f23e9322]
69
- - Updated dependencies [4a31cea53]
70
- - Updated dependencies [b27483796]
71
- - Updated dependencies [eb17c4697]
72
- - Updated dependencies [976ec929d]
73
- - Updated dependencies [f1ab51725]
74
- - Updated dependencies [6dca7795c]
75
- - Updated dependencies [900c6c2f0]
76
- - Updated dependencies [7b956b1eb]
77
- - Updated dependencies [5210770d9]
78
- - Updated dependencies [c407744fe]
79
- - Updated dependencies [d91a8bb0f]
80
- - Updated dependencies [77d969c2e]
81
- - Updated dependencies [9ecf354ba]
82
- - Updated dependencies [e42e2badf]
83
- - Updated dependencies [33da3144e]
84
- - Updated dependencies [e7b64347e]
85
- - Updated dependencies [6fcda9bf2]
86
- - Updated dependencies [0a4e90dbd]
87
- - Updated dependencies [58ad82e94]
88
- - Updated dependencies [95d930354]
89
- - Updated dependencies [f2be367e9]
90
- - Updated dependencies [1972fd16a]
91
- - Updated dependencies [59cef699f]
92
- - Updated dependencies [99801c2d1]
93
- - Updated dependencies [cb7b794d0]
94
- - @hi-ui/picker@5.0.0-rc.0
95
- - @hi-ui/input@5.0.0-rc.0
96
- - @hi-ui/popper@5.0.0-rc.0
97
- - @hi-ui/tag-input@5.0.0-rc.0
98
- - @hi-ui/icons@5.0.0-rc.0
99
- - @hi-ui/core@5.0.0-rc.0
100
- - @hi-ui/use-check@5.0.0-rc.0
101
- - @hi-ui/use-children@5.0.0-rc.0
102
- - @hi-ui/use-data-source@5.0.0-rc.0
103
- - @hi-ui/use-id@5.0.0-rc.0
104
- - @hi-ui/use-latest@5.0.0-rc.0
105
- - @hi-ui/use-search-mode@5.0.0-rc.0
106
- - @hi-ui/use-toggle@5.0.0-rc.0
107
- - @hi-ui/use-uncontrolled-state@5.0.0-rc.0
108
- - @hi-ui/checkbox@5.0.0-rc.0
109
- - @hi-ui/highlighter@5.0.0-rc.0
110
- - @hi-ui/virtual-list@5.0.0-rc.0
111
- - @hi-ui/array-utils@5.0.0-rc.0
112
- - @hi-ui/classname@5.0.0-rc.0
113
- - @hi-ui/dom-utils@5.0.0-rc.0
114
- - @hi-ui/env@5.0.0-rc.0
115
- - @hi-ui/func-utils@5.0.0-rc.0
116
- - @hi-ui/times@5.0.0-rc.0
117
- - @hi-ui/tree-utils@5.0.0-rc.0
118
- - @hi-ui/type-assertion@5.0.0-rc.0
119
- - @hi-ui/use-merge-semantic@5.0.0-rc.0
65
+
66
+ - [#3532](https://github.com/XiaoMi/hiui/pull/3532) [`4a31cea53`](https://github.com/XiaoMi/hiui/commit/4a31cea53a1ec48c6e31b1703315ba5838ad883f) Thanks [@zyprepare](https://github.com/zyprepare)! - style: 统一调整选择类组件 hover 时的背景色 (5.0)
67
+
68
+ - [#3532](https://github.com/XiaoMi/hiui/pull/3532) [`99801c2d1`](https://github.com/XiaoMi/hiui/commit/99801c2d12628c194657579eccd09a86aedea22b) Thanks [@zyprepare](https://github.com/zyprepare)! - fix: 修复 UI 问题 (5.0)
69
+
70
+ - Updated dependencies [[`0b34e1c15`](https://github.com/XiaoMi/hiui/commit/0b34e1c15bbf98c9e44f6d249366bb2a97cad218), [`da2e63a14`](https://github.com/XiaoMi/hiui/commit/da2e63a1478db819ec87d720fbfbf537319620c2), [`1e226cd66`](https://github.com/XiaoMi/hiui/commit/1e226cd66413cea8eb1e63b1cb83c1bfbf5f0a41), [`cce71cdfa`](https://github.com/XiaoMi/hiui/commit/cce71cdfaded860c0420be6d3de2a3534cfdb9bd), [`b9989e482`](https://github.com/XiaoMi/hiui/commit/b9989e48214dbbf8a938a788d3a415d9bb94b1b2), [`7f204c892`](https://github.com/XiaoMi/hiui/commit/7f204c892156ea8a4fb95d218db9d59c8c4e0c49), [`122d1d859`](https://github.com/XiaoMi/hiui/commit/122d1d859bb92379fbe109fe9a5581259e6bb9a1), [`f1ab51725`](https://github.com/XiaoMi/hiui/commit/f1ab517258599ee2dfad183e4a8c7b855ef409c1), [`41552be0b`](https://github.com/XiaoMi/hiui/commit/41552be0b42df7c47b481cf8aacc8be76fc3f277), [`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), [`cb9d8f6db`](https://github.com/XiaoMi/hiui/commit/cb9d8f6db18ef3322502ae2da93c8266aa3114d5), [`ec4c7faa2`](https://github.com/XiaoMi/hiui/commit/ec4c7faa29cb7812664d866260c7a59dc76cb983), [`29cae09ea`](https://github.com/XiaoMi/hiui/commit/29cae09ea3d7a61781c3c4a9f51355a83229bd97), [`fd4c20bbd`](https://github.com/XiaoMi/hiui/commit/fd4c20bbd30e18bc4c1a2eb078acaa4790f7b2eb), [`f8acad4e1`](https://github.com/XiaoMi/hiui/commit/f8acad4e1299acbcad9ccf5991dbf1cfa918a1ac), [`79ea480f3`](https://github.com/XiaoMi/hiui/commit/79ea480f33bb8f692dda1e6252a9d2a75c3ac30d), [`2e56529f7`](https://github.com/XiaoMi/hiui/commit/2e56529f7ea8c74e2fac8b6061628d4fd0d862ac), [`3a7186e4b`](https://github.com/XiaoMi/hiui/commit/3a7186e4b4e7ce351c3856f3e1ba574b9f6df22f), [`277c5033a`](https://github.com/XiaoMi/hiui/commit/277c5033aacd43ef3d6b8e0b9e818a09ebe21875), [`4e0ed3a31`](https://github.com/XiaoMi/hiui/commit/4e0ed3a310b29cfc0bde1a3103189129cc4e59d7), [`95abba983`](https://github.com/XiaoMi/hiui/commit/95abba98391a31c3cd79704fa0a63f64f437601f), [`8f23e9322`](https://github.com/XiaoMi/hiui/commit/8f23e9322e8aa117608d42898cce1f9d74414629), [`4a31cea53`](https://github.com/XiaoMi/hiui/commit/4a31cea53a1ec48c6e31b1703315ba5838ad883f), [`b27483796`](https://github.com/XiaoMi/hiui/commit/b2748379661e2e7a4c18e94c478dc2554405c7dd), [`eb17c4697`](https://github.com/XiaoMi/hiui/commit/eb17c46978dfcb5e8ec0a0e3b3dcffabae8d31fe), [`976ec929d`](https://github.com/XiaoMi/hiui/commit/976ec929da088830d4d4bfa5438aa679676f71ca), [`f1ab51725`](https://github.com/XiaoMi/hiui/commit/f1ab517258599ee2dfad183e4a8c7b855ef409c1), [`6dca7795c`](https://github.com/XiaoMi/hiui/commit/6dca7795c71123f941d91b991ecd17ce26b6a2da), [`900c6c2f0`](https://github.com/XiaoMi/hiui/commit/900c6c2f0b397bb2a6c2a5b2cc0c0f83442813ec), [`7b956b1eb`](https://github.com/XiaoMi/hiui/commit/7b956b1eb6ba711b05412e4fc1e413bf17f648a6), [`5210770d9`](https://github.com/XiaoMi/hiui/commit/5210770d9d6bf9c83e84a28229f2007202d2d3b8), [`c407744fe`](https://github.com/XiaoMi/hiui/commit/c407744fea78d93da66b73eed0b62d18e5b3a011), [`d91a8bb0f`](https://github.com/XiaoMi/hiui/commit/d91a8bb0f887fa886215aa596852eef3c2ce8519), [`77d969c2e`](https://github.com/XiaoMi/hiui/commit/77d969c2e4f6db55f6cc154c1803971ac3e3f085), [`9ecf354ba`](https://github.com/XiaoMi/hiui/commit/9ecf354bae5030438967f4723c601b01fa718572), [`e42e2badf`](https://github.com/XiaoMi/hiui/commit/e42e2badfd099ced93eaf8414513d7a49d1e66c0), [`33da3144e`](https://github.com/XiaoMi/hiui/commit/33da3144e916edd75ee0669ca9e5090edc681193), [`e7b64347e`](https://github.com/XiaoMi/hiui/commit/e7b64347e578c3a674c63f30341d87d358a4cd7b), [`6fcda9bf2`](https://github.com/XiaoMi/hiui/commit/6fcda9bf23e6e16c593fd4d9e3db8d08bcb6b9b5), [`0a4e90dbd`](https://github.com/XiaoMi/hiui/commit/0a4e90dbd7398e69511e7505b1fd6093eca48cee), [`58ad82e94`](https://github.com/XiaoMi/hiui/commit/58ad82e9441e76bf6090e6a0f4e36a04342c25f0), [`95d930354`](https://github.com/XiaoMi/hiui/commit/95d930354a1ab4291e98a9abccb9525d6c210795), [`f2be367e9`](https://github.com/XiaoMi/hiui/commit/f2be367e959d42506953fe9d57cf677ccb79305e), [`1972fd16a`](https://github.com/XiaoMi/hiui/commit/1972fd16ae1971690412192bce03d6860af8efdd), [`59cef699f`](https://github.com/XiaoMi/hiui/commit/59cef699f96f56d4f68fae7f9dadb960c487b5de), [`99801c2d1`](https://github.com/XiaoMi/hiui/commit/99801c2d12628c194657579eccd09a86aedea22b), [`cb7b794d0`](https://github.com/XiaoMi/hiui/commit/cb7b794d07d56c74f7972f05440632335631b9e0)]:
71
+ - @hi-ui/picker@5.0.0
72
+ - @hi-ui/input@5.0.0
73
+ - @hi-ui/popper@5.0.0
74
+ - @hi-ui/tag-input@5.0.0
75
+ - @hi-ui/icons@5.0.0
76
+ - @hi-ui/core@5.0.0
77
+ - @hi-ui/use-check@5.0.0
78
+ - @hi-ui/use-children@5.0.0
79
+ - @hi-ui/use-data-source@5.0.0
80
+ - @hi-ui/use-id@5.0.0
81
+ - @hi-ui/use-latest@5.0.0
82
+ - @hi-ui/use-search-mode@5.0.0
83
+ - @hi-ui/use-toggle@5.0.0
84
+ - @hi-ui/use-uncontrolled-state@5.0.0
85
+ - @hi-ui/checkbox@5.0.0
86
+ - @hi-ui/highlighter@5.0.0
87
+ - @hi-ui/virtual-list@5.0.0
88
+ - @hi-ui/array-utils@5.0.0
89
+ - @hi-ui/classname@5.0.0
90
+ - @hi-ui/dom-utils@5.0.0
91
+ - @hi-ui/env@5.0.0
92
+ - @hi-ui/func-utils@5.0.0
93
+ - @hi-ui/times@5.0.0
94
+ - @hi-ui/tree-utils@5.0.0
95
+ - @hi-ui/type-assertion@5.0.0
96
+ - @hi-ui/use-merge-semantic@5.0.0
120
97
 
121
98
  ## 4.6.5
122
99
 
@@ -87,13 +87,7 @@ var useCheckSelect = function useCheckSelect(_a) {
87
87
  return value.includes(item.id);
88
88
  });
89
89
  setCheckedItems(nextCheckedItems);
90
- tryChangeValue(value,
91
- // 处理脏数据
92
- changedItems.map(function (item) {
93
- return 'raw' in item ? item.raw : item;
94
- }), nextCheckedItems.map(function (item) {
95
- return 'raw' in item ? item.raw : item;
96
- }));
90
+ tryChangeValue(value, changedItems, nextCheckedItems);
97
91
  // 每次更新 value 时,同步更新下 cacheData
98
92
  updateCacheData(nextCheckedItems);
99
93
  }, [flattedDataRef, tryChangeValue, updateCacheData, onSelectLatest]);
@@ -82,13 +82,7 @@ var useCheckSelect = function useCheckSelect(_a) {
82
82
  return value.includes(item.id);
83
83
  });
84
84
  setCheckedItems(nextCheckedItems);
85
- tryChangeValue(value,
86
- // 处理脏数据
87
- changedItems.map(function (item) {
88
- return 'raw' in item ? item.raw : item;
89
- }), nextCheckedItems.map(function (item) {
90
- return 'raw' in item ? item.raw : item;
91
- }));
85
+ tryChangeValue(value, changedItems, nextCheckedItems);
92
86
  // 每次更新 value 时,同步更新下 cacheData
93
87
  updateCacheData(nextCheckedItems);
94
88
  }, [flattedDataRef, tryChangeValue, updateCacheData, onSelectLatest]);
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { CheckSelectDataItem, CheckSelectItemEventData, CheckSelectMergedItem } from './types';
2
+ import { CheckSelectItemEventData, CheckSelectMergedItem } from './types';
3
3
  export declare const useCheckSelect: ({ data: dataProp, children, disabled, value: valueProp, defaultValue, onChange: onChangeProp, onSelect, fieldNames, ...rest }: UseCheckSelectProps) => {
4
4
  rootProps: {};
5
5
  data: any[];
@@ -25,7 +25,7 @@ export interface UseCheckSelectProps {
25
25
  * changedItems: 变更的选项集合
26
26
  * checkedItems:所有选中项的选项集合
27
27
  */
28
- onChange?: (value: React.ReactText[], changedItems: CheckSelectDataItem[], checkedItems: CheckSelectDataItem[]) => void;
28
+ onChange?: (value: React.ReactText[], changedItems: CheckSelectItemEventData[], checkedItems: CheckSelectItemEventData[]) => void;
29
29
  /**
30
30
  * 选中值时回调。暂不对外暴露
31
31
  * @private
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hi-ui/check-select",
3
- "version": "5.0.0-rc.1",
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,40 +44,40 @@
44
44
  "url": "https://github.com/XiaoMi/hiui/issues"
45
45
  },
46
46
  "dependencies": {
47
- "@hi-ui/array-utils": "^5.0.0-rc.0",
48
- "@hi-ui/checkbox": "^5.0.0-rc.0",
49
- "@hi-ui/classname": "^5.0.0-rc.0",
50
- "@hi-ui/dom-utils": "^5.0.0-rc.0",
51
- "@hi-ui/env": "^5.0.0-rc.0",
52
- "@hi-ui/func-utils": "^5.0.0-rc.0",
53
- "@hi-ui/highlighter": "^5.0.0-rc.0",
54
- "@hi-ui/icons": "^5.0.0-rc.0",
55
- "@hi-ui/input": "^5.0.0-rc.0",
56
- "@hi-ui/picker": "^5.0.0-rc.0",
57
- "@hi-ui/popper": "^5.0.0-rc.0",
58
- "@hi-ui/tag-input": "^5.0.0-rc.0",
59
- "@hi-ui/times": "^5.0.0-rc.0",
60
- "@hi-ui/tree-utils": "^5.0.0-rc.0",
61
- "@hi-ui/type-assertion": "^5.0.0-rc.0",
62
- "@hi-ui/use-check": "^5.0.0-rc.0",
63
- "@hi-ui/use-children": "^5.0.0-rc.0",
64
- "@hi-ui/use-data-source": "^5.0.0-rc.0",
65
- "@hi-ui/use-id": "^5.0.0-rc.0",
66
- "@hi-ui/use-latest": "^5.0.0-rc.0",
67
- "@hi-ui/use-merge-semantic": "^5.0.0-rc.0",
68
- "@hi-ui/use-search-mode": "^5.0.0-rc.0",
69
- "@hi-ui/use-toggle": "^5.0.0-rc.0",
70
- "@hi-ui/use-uncontrolled-state": "^5.0.0-rc.0",
71
- "@hi-ui/virtual-list": "^5.0.0-rc.0"
47
+ "@hi-ui/array-utils": "^5.0.0",
48
+ "@hi-ui/checkbox": "^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/highlighter": "^5.0.0",
54
+ "@hi-ui/icons": "^5.0.0",
55
+ "@hi-ui/input": "^5.0.0",
56
+ "@hi-ui/picker": "^5.0.0",
57
+ "@hi-ui/popper": "^5.0.0",
58
+ "@hi-ui/tag-input": "^5.0.0",
59
+ "@hi-ui/times": "^5.0.0",
60
+ "@hi-ui/tree-utils": "^5.0.0",
61
+ "@hi-ui/type-assertion": "^5.0.0",
62
+ "@hi-ui/use-check": "^5.0.0",
63
+ "@hi-ui/use-children": "^5.0.0",
64
+ "@hi-ui/use-data-source": "^5.0.0",
65
+ "@hi-ui/use-id": "^5.0.0",
66
+ "@hi-ui/use-latest": "^5.0.0",
67
+ "@hi-ui/use-merge-semantic": "^5.0.0",
68
+ "@hi-ui/use-search-mode": "^5.0.0",
69
+ "@hi-ui/use-toggle": "^5.0.0",
70
+ "@hi-ui/use-uncontrolled-state": "^5.0.0",
71
+ "@hi-ui/virtual-list": "^5.0.0"
72
72
  },
73
73
  "peerDependencies": {
74
- "@hi-ui/core": ">=5.0.0-rc.0",
74
+ "@hi-ui/core": ">=5.0.0",
75
75
  "react": ">=16.8.6",
76
76
  "react-dom": ">=16.8.6"
77
77
  },
78
78
  "devDependencies": {
79
- "@hi-ui/core": "^5.0.0-rc.0",
80
- "@hi-ui/core-css": "^5.0.0-rc.0",
79
+ "@hi-ui/core": "^5.0.0",
80
+ "@hi-ui/core-css": "^5.0.0",
81
81
  "react": "^17.0.1",
82
82
  "react-dom": "^17.0.1"
83
83
  }