@hi-ui/check-tree-select 5.0.0-experimental.3 → 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 +57 -134
- package/lib/types/CheckTreeSelect.d.ts +4 -4
- package/lib/types/hooks/use-check.d.ts +2 -2
- package/lib/types/types.d.ts +1 -1
- package/lib/types/utils/index.d.ts +1 -1
- package/package.json +23 -23
package/CHANGELOG.md
CHANGED
|
@@ -1,162 +1,85 @@
|
|
|
1
1
|
# @hi-ui/check-tree-select
|
|
2
2
|
|
|
3
|
-
## 5.0.0
|
|
3
|
+
## 5.0.0
|
|
4
|
+
|
|
5
|
+
### Major Changes
|
|
6
|
+
|
|
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)
|
|
4
8
|
|
|
5
9
|
### Minor Changes
|
|
6
10
|
|
|
7
|
-
-
|
|
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)
|
|
8
12
|
|
|
9
|
-
|
|
13
|
+
- [#3532](https://github.com/XiaoMi/hiui/pull/3532) [`f1ab51725`](https://github.com/XiaoMi/hiui/commit/f1ab517258599ee2dfad183e4a8c7b855ef409c1) Thanks [@zyprepare](https://github.com/zyprepare)! - <br>
|
|
10
14
|
|
|
11
|
-
-
|
|
12
|
-
-
|
|
13
|
-
- @hi-ui/tree@5.0.0-experimental.4
|
|
14
|
-
- @hi-ui/core@5.0.0-experimental.2
|
|
15
|
+
- feat(picker): 下拉选择类组件增加 xs 尺寸 (5.0)
|
|
16
|
+
- feat(input): 输入框组件增加 xs 尺寸 (5.0)
|
|
15
17
|
|
|
16
|
-
|
|
18
|
+
- [#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)
|
|
17
19
|
|
|
18
|
-
|
|
20
|
+
- [#3526](https://github.com/XiaoMi/hiui/pull/3526) [`07a57b9c1`](https://github.com/XiaoMi/hiui/commit/07a57b9c18d43a8f16832ae26faa2a8103e4b5e8) Thanks [@fcppddl](https://github.com/fcppddl)! - feat(check-tree-select): 支持设置 checkable (5.0)
|
|
19
21
|
|
|
20
|
-
-
|
|
22
|
+
- [#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)
|
|
21
23
|
|
|
22
|
-
|
|
24
|
+
- [#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)
|
|
23
25
|
|
|
24
|
-
-
|
|
25
|
-
- Updated dependencies [7f204c892]
|
|
26
|
-
- Updated dependencies [eb17c4697]
|
|
27
|
-
- Updated dependencies [eb17c4697]
|
|
28
|
-
- Updated dependencies [c407744fe]
|
|
29
|
-
- Updated dependencies [59cef699f]
|
|
30
|
-
- @hi-ui/icons@5.0.0-experimental.1
|
|
31
|
-
- @hi-ui/core@5.0.0-experimental.1
|
|
32
|
-
- @hi-ui/checkbox@5.0.0-experimental.1
|
|
33
|
-
- @hi-ui/highlighter@5.0.0-experimental.1
|
|
34
|
-
- @hi-ui/picker@5.0.0-experimental.2
|
|
35
|
-
- @hi-ui/popper@5.0.0-experimental.1
|
|
36
|
-
- @hi-ui/tag-input@5.0.0-experimental.2
|
|
37
|
-
- @hi-ui/tree@5.0.0-experimental.2
|
|
38
|
-
- @hi-ui/use-merge-semantic@5.0.0-experimental.0
|
|
39
|
-
|
|
40
|
-
## 5.0.0-experimental.1
|
|
26
|
+
- [#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)
|
|
41
27
|
|
|
42
28
|
### Patch Changes
|
|
43
29
|
|
|
44
|
-
-
|
|
45
|
-
- 发布 hiui experimental 版本
|
|
46
|
-
- fe579e212: style(tree): update class names for tree node elements in SCSS (5.0)
|
|
47
|
-
- Updated dependencies [8f23e9322]
|
|
48
|
-
- Updated dependencies [b27483796]
|
|
49
|
-
- Updated dependencies [900c6c2f0]
|
|
50
|
-
- Updated dependencies
|
|
51
|
-
- Updated dependencies [fe579e212]
|
|
52
|
-
- @hi-ui/picker@5.0.0-experimental.1
|
|
53
|
-
- @hi-ui/tag-input@5.0.0-experimental.1
|
|
54
|
-
- @hi-ui/tree@5.0.0-experimental.1
|
|
30
|
+
- [#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)
|
|
55
31
|
|
|
56
|
-
|
|
32
|
+
- [#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)
|
|
57
33
|
|
|
58
|
-
|
|
34
|
+
- [#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)
|
|
59
35
|
|
|
60
|
-
-
|
|
36
|
+
- [#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)
|
|
61
37
|
|
|
62
|
-
|
|
38
|
+
- [#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)
|
|
63
39
|
|
|
64
|
-
-
|
|
65
|
-
- f1ab51725: <br>
|
|
66
|
-
- feat(picker): 下拉选择类组件增加 xs 尺寸 (5.0)
|
|
67
|
-
- feat(input): 输入框组件增加 xs 尺寸 (5.0)
|
|
68
|
-
- 6dca7795c: feat: 下拉选择组件增加 showIndicator 参数 & 修改 appearance 中的 unset 样式 (5.0)
|
|
69
|
-
- 77d969c2e: feat: 下拉选择类组件 appearance 参数增加 contained 类型 (5.0)
|
|
70
|
-
- 58ad82e94: feat: 输入框和选择器组件增加 borderless 形态 (5.0)
|
|
40
|
+
- [#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)
|
|
71
41
|
|
|
72
|
-
|
|
42
|
+
- [#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)
|
|
43
|
+
|
|
44
|
+
- [#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)
|
|
45
|
+
|
|
46
|
+
- [#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)
|
|
47
|
+
|
|
48
|
+
- [#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)
|
|
49
|
+
|
|
50
|
+
- [#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)
|
|
51
|
+
|
|
52
|
+
- [#3532](https://github.com/XiaoMi/hiui/pull/3532) [`0a4e90dbd`](https://github.com/XiaoMi/hiui/commit/0a4e90dbd7398e69511e7505b1fd6093eca48cee) Thanks [@zyprepare](https://github.com/zyprepare)! - <br>
|
|
73
53
|
|
|
74
|
-
- 1662753e0: style: fix ui bug (5.0)
|
|
75
|
-
- cf89262c7: style(picker): 移除 picker 组件中的 \_\_text 样式定义 (5.0)
|
|
76
|
-
- cb9d8f6db: fix(tag-input): 修复 contained 模式下 displayRender 设置无效问题 (5.0)
|
|
77
|
-
- be5a59325: style: 修改样式问题 (5.0)
|
|
78
|
-
- 79ea480f3: feat(global-context): 增加 size api 全局配置 (5.0)
|
|
79
|
-
- 2e56529f7: styles: 主题定制功能完善&&样式变量化写法改造&&兼容 RTL (5.0)
|
|
80
|
-
- eb718e940: fix: 修改组件问题 (5.0)
|
|
81
|
-
- de8d058dc: perf: 对下拉选择类组件的 customRender 的内容增加 memoization 以优化性能 (5.0)
|
|
82
|
-
- 5210770d9: feat(picker): add header api (5.0)
|
|
83
|
-
- 33da3144e: build: 将 package.json 中 exports 配置中的 types 配置放在最上面 (5.0)
|
|
84
|
-
- e7b64347e: style(tag-input): 增加 flex-wrap 属性以优化标签换行展示 (5.0)
|
|
85
|
-
- 0a4e90dbd: <br>
|
|
86
54
|
- style(tag-input): 间距调整 (5.0)
|
|
87
55
|
- style(select): 选择类组件选项圆角改为 4px (5.0)
|
|
88
56
|
- style(picker): 搜索框样式调整 (5.0)
|
|
89
|
-
|
|
90
|
-
-
|
|
91
|
-
|
|
92
|
-
-
|
|
93
|
-
|
|
94
|
-
- Updated dependencies [b9989e482]
|
|
95
|
-
-
|
|
96
|
-
-
|
|
97
|
-
-
|
|
98
|
-
-
|
|
99
|
-
-
|
|
100
|
-
-
|
|
101
|
-
-
|
|
102
|
-
-
|
|
103
|
-
-
|
|
104
|
-
-
|
|
105
|
-
-
|
|
106
|
-
-
|
|
107
|
-
-
|
|
108
|
-
-
|
|
109
|
-
-
|
|
110
|
-
-
|
|
111
|
-
-
|
|
112
|
-
-
|
|
113
|
-
-
|
|
114
|
-
-
|
|
115
|
-
- Updated dependencies [4a31cea53]
|
|
116
|
-
- Updated dependencies [98df634ac]
|
|
117
|
-
- Updated dependencies [976ec929d]
|
|
118
|
-
- Updated dependencies [223bd1397]
|
|
119
|
-
- Updated dependencies [f1ab51725]
|
|
120
|
-
- Updated dependencies [6dca7795c]
|
|
121
|
-
- Updated dependencies [7b956b1eb]
|
|
122
|
-
- Updated dependencies [5210770d9]
|
|
123
|
-
- Updated dependencies [e2d184e74]
|
|
124
|
-
- Updated dependencies [77d969c2e]
|
|
125
|
-
- Updated dependencies [9ecf354ba]
|
|
126
|
-
- Updated dependencies [e42e2badf]
|
|
127
|
-
- Updated dependencies [33da3144e]
|
|
128
|
-
- Updated dependencies [e7b64347e]
|
|
129
|
-
- Updated dependencies [7f3abee55]
|
|
130
|
-
- Updated dependencies [6fcda9bf2]
|
|
131
|
-
- Updated dependencies [0a4e90dbd]
|
|
132
|
-
- Updated dependencies [58ad82e94]
|
|
133
|
-
- Updated dependencies [a0f0c9d6b]
|
|
134
|
-
- Updated dependencies [4a31cea53]
|
|
135
|
-
- Updated dependencies [f2be367e9]
|
|
136
|
-
- Updated dependencies [1fae66f2d]
|
|
137
|
-
- Updated dependencies [1972fd16a]
|
|
138
|
-
- Updated dependencies [99801c2d1]
|
|
139
|
-
- Updated dependencies [86910f5e2]
|
|
140
|
-
- Updated dependencies [cb7b794d0]
|
|
141
|
-
- @hi-ui/picker@5.0.0-experimental.0
|
|
142
|
-
- @hi-ui/tree@5.0.0-experimental.0
|
|
143
|
-
- @hi-ui/popper@5.0.0-experimental.0
|
|
144
|
-
- @hi-ui/tag-input@5.0.0-experimental.0
|
|
145
|
-
- @hi-ui/icons@5.0.0-experimental.0
|
|
146
|
-
- @hi-ui/core@5.0.0-experimental.0
|
|
147
|
-
- @hi-ui/use-check@5.0.0-experimental.0
|
|
148
|
-
- @hi-ui/use-data-source@5.0.0-experimental.0
|
|
149
|
-
- @hi-ui/use-search-mode@5.0.0-experimental.0
|
|
150
|
-
- @hi-ui/use-toggle@5.0.0-experimental.0
|
|
151
|
-
- @hi-ui/use-uncontrolled-state@5.0.0-experimental.0
|
|
152
|
-
- @hi-ui/checkbox@5.0.0-experimental.0
|
|
153
|
-
- @hi-ui/highlighter@5.0.0-experimental.0
|
|
154
|
-
- @hi-ui/array-utils@5.0.0-experimental.0
|
|
155
|
-
- @hi-ui/classname@5.0.0-experimental.0
|
|
156
|
-
- @hi-ui/env@5.0.0-experimental.0
|
|
157
|
-
- @hi-ui/func-utils@5.0.0-experimental.0
|
|
158
|
-
- @hi-ui/tree-utils@5.0.0-experimental.0
|
|
159
|
-
- @hi-ui/type-assertion@5.0.0-experimental.0
|
|
57
|
+
|
|
58
|
+
- [#3486](https://github.com/XiaoMi/hiui/pull/3486) [`fe579e212`](https://github.com/XiaoMi/hiui/commit/fe579e2125005f534283e48a2deec004006321b1) Thanks [@zyprepare](https://github.com/zyprepare)! - style(tree): update class names for tree node elements in SCSS (5.0)
|
|
59
|
+
|
|
60
|
+
- [#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)
|
|
61
|
+
|
|
62
|
+
- Updated dependencies [[`0b34e1c15`](https://github.com/XiaoMi/hiui/commit/0b34e1c15bbf98c9e44f6d249366bb2a97cad218), [`4a31cea53`](https://github.com/XiaoMi/hiui/commit/4a31cea53a1ec48c6e31b1703315ba5838ad883f), [`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), [`9b34d99bc`](https://github.com/XiaoMi/hiui/commit/9b34d99bc2aa8b78b9e3281e08afc086ac4afea1), [`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), [`e25399be4`](https://github.com/XiaoMi/hiui/commit/e25399be4c6b4e26b6d91b18d859ec702fab14fc), [`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), [`98df634ac`](https://github.com/XiaoMi/hiui/commit/98df634acab1aff9c782ac940c38562eadbe9b0d), [`976ec929d`](https://github.com/XiaoMi/hiui/commit/976ec929da088830d4d4bfa5438aa679676f71ca), [`223bd1397`](https://github.com/XiaoMi/hiui/commit/223bd13973a6090354c7b6e4901ebe53ddf09403), [`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), [`07a57b9c1`](https://github.com/XiaoMi/hiui/commit/07a57b9c18d43a8f16832ae26faa2a8103e4b5e8), [`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), [`fe579e212`](https://github.com/XiaoMi/hiui/commit/fe579e2125005f534283e48a2deec004006321b1), [`58ad82e94`](https://github.com/XiaoMi/hiui/commit/58ad82e9441e76bf6090e6a0f4e36a04342c25f0), [`4a31cea53`](https://github.com/XiaoMi/hiui/commit/4a31cea53a1ec48c6e31b1703315ba5838ad883f), [`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)]:
|
|
63
|
+
- @hi-ui/picker@5.0.0
|
|
64
|
+
- @hi-ui/tree@5.0.0
|
|
65
|
+
- @hi-ui/popper@5.0.0
|
|
66
|
+
- @hi-ui/tag-input@5.0.0
|
|
67
|
+
- @hi-ui/icons@5.0.0
|
|
68
|
+
- @hi-ui/core@5.0.0
|
|
69
|
+
- @hi-ui/use-check@5.0.0
|
|
70
|
+
- @hi-ui/use-data-source@5.0.0
|
|
71
|
+
- @hi-ui/use-search-mode@5.0.0
|
|
72
|
+
- @hi-ui/use-toggle@5.0.0
|
|
73
|
+
- @hi-ui/use-uncontrolled-state@5.0.0
|
|
74
|
+
- @hi-ui/checkbox@5.0.0
|
|
75
|
+
- @hi-ui/highlighter@5.0.0
|
|
76
|
+
- @hi-ui/array-utils@5.0.0
|
|
77
|
+
- @hi-ui/classname@5.0.0
|
|
78
|
+
- @hi-ui/env@5.0.0
|
|
79
|
+
- @hi-ui/func-utils@5.0.0
|
|
80
|
+
- @hi-ui/tree-utils@5.0.0
|
|
81
|
+
- @hi-ui/type-assertion@5.0.0
|
|
82
|
+
- @hi-ui/use-merge-semantic@5.0.0
|
|
160
83
|
|
|
161
84
|
## 4.7.6
|
|
162
85
|
|
|
@@ -10,10 +10,10 @@ import { UseDataSource } from '@hi-ui/use-data-source';
|
|
|
10
10
|
* 多项树形选择器
|
|
11
11
|
*/
|
|
12
12
|
export declare const CheckTreeSelect: React.ForwardRefExoticComponent<CheckTreeSelectProps & React.RefAttributes<HTMLDivElement | null>>;
|
|
13
|
-
export type CheckTreeSelectSemanticName = PickerSemanticName | 'tree';
|
|
14
|
-
export type CheckTreeSelectSemanticClassNames = SemanticClassNamesType<CheckTreeSelectProps, CheckTreeSelectSemanticName>;
|
|
15
|
-
export type CheckTreeSelectSemanticStyles = SemanticStylesType<CheckTreeSelectProps, CheckTreeSelectSemanticName>;
|
|
16
|
-
export type CheckTreeSelectSemantic = ComponentSemantic<CheckTreeSelectSemanticClassNames, CheckTreeSelectSemanticStyles>;
|
|
13
|
+
export declare type CheckTreeSelectSemanticName = PickerSemanticName | 'tree';
|
|
14
|
+
export declare type CheckTreeSelectSemanticClassNames = SemanticClassNamesType<CheckTreeSelectProps, CheckTreeSelectSemanticName>;
|
|
15
|
+
export declare type CheckTreeSelectSemanticStyles = SemanticStylesType<CheckTreeSelectProps, CheckTreeSelectSemanticName>;
|
|
16
|
+
export declare type CheckTreeSelectSemantic = ComponentSemantic<CheckTreeSelectSemanticClassNames, CheckTreeSelectSemanticStyles>;
|
|
17
17
|
export interface CheckTreeSelectProps extends Omit<PickerProps, 'data' | 'onChange' | 'value' | 'trigger' | 'scrollable' | 'header' | 'footer' | 'classNames' | 'styles'>, CheckTreeSelectSemantic {
|
|
18
18
|
/**
|
|
19
19
|
* 展示数据
|
|
@@ -3,9 +3,9 @@ import { FlattedCheckTreeSelectDataItem, CheckTreeSelectItemEventData, CheckTree
|
|
|
3
3
|
/**
|
|
4
4
|
* 用于 tree 组件复选的 hook
|
|
5
5
|
*/
|
|
6
|
-
export declare const useCheck: (checkedMode: string, disabled: boolean, flattedData: FlattedCheckTreeSelectDataItem[], defaultCheckedIds: React.ReactText[], checkedIdsProp?: React.ReactText[], onCheck?: (checkedIds: React.ReactText[], options: {
|
|
6
|
+
export declare const useCheck: (checkedMode: string, disabled: boolean, flattedData: FlattedCheckTreeSelectDataItem[], defaultCheckedIds: React.ReactText[], checkedIdsProp?: React.ReactText[] | undefined, onCheck?: ((checkedIds: React.ReactText[], options: {
|
|
7
7
|
checkedNodes: CheckTreeSelectDataItem[];
|
|
8
8
|
semiCheckedIds: React.ReactText[];
|
|
9
9
|
targetNode: CheckTreeSelectItemEventData;
|
|
10
10
|
checked: boolean;
|
|
11
|
-
}) => void) => readonly [React.ReactText[], (stateOrFunction: React.SetStateAction<React.ReactText[]>, ...args: any[]) => void, (target: FlattedCheckTreeSelectDataItem, shouldChecked: boolean) => void, FlattedCheckTreeSelectDataItem[], React.ReactText[]];
|
|
11
|
+
}) => void) | undefined) => readonly [React.ReactText[], (stateOrFunction: React.SetStateAction<React.ReactText[]>, ...args: any[]) => void, (target: FlattedCheckTreeSelectDataItem, shouldChecked: boolean) => void, FlattedCheckTreeSelectDataItem[], React.ReactText[]];
|
package/lib/types/types.d.ts
CHANGED
|
@@ -86,4 +86,4 @@ export interface CheckTreeSelectItemEventData extends TreeNodeEventData {
|
|
|
86
86
|
*/
|
|
87
87
|
checkable?: boolean;
|
|
88
88
|
}
|
|
89
|
-
export type CheckTreeSelectAppearanceEnum = HiBaseAppearanceEnum | 'contained' | undefined;
|
|
89
|
+
export declare type CheckTreeSelectAppearanceEnum = HiBaseAppearanceEnum | 'contained' | undefined;
|
|
@@ -10,5 +10,5 @@ export declare const processCheckedIds: (type: string, checkedIds: React.ReactTe
|
|
|
10
10
|
/**
|
|
11
11
|
* 根据传入的 checkedIds 解析全选/半选数据
|
|
12
12
|
*/
|
|
13
|
-
export declare const parseCheckDataDirty: (type: string, checkedIds: React.ReactText[], flattenData: any, allowCheck?: (node: any) => boolean) => React.ReactText[];
|
|
13
|
+
export declare const parseCheckDataDirty: (type: string, checkedIds: React.ReactText[], flattenData: any, allowCheck?: ((node: any) => boolean) | undefined) => React.ReactText[];
|
|
14
14
|
export declare const getAllCheckedStatus: (flattedData: any[], values: React.ReactText[]) => boolean[];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hi-ui/check-tree-select",
|
|
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,34 +44,34 @@
|
|
|
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/checkbox": "^5.0.0
|
|
49
|
-
"@hi-ui/classname": "^5.0.0
|
|
50
|
-
"@hi-ui/env": "^5.0.0
|
|
51
|
-
"@hi-ui/func-utils": "^5.0.0
|
|
52
|
-
"@hi-ui/highlighter": "^5.0.0
|
|
53
|
-
"@hi-ui/icons": "^5.0.0
|
|
54
|
-
"@hi-ui/picker": "^5.0.0
|
|
55
|
-
"@hi-ui/popper": "^5.0.0
|
|
56
|
-
"@hi-ui/tag-input": "^5.0.0
|
|
57
|
-
"@hi-ui/tree": "^5.0.0
|
|
58
|
-
"@hi-ui/tree-utils": "^5.0.0
|
|
59
|
-
"@hi-ui/type-assertion": "^5.0.0
|
|
60
|
-
"@hi-ui/use-check": "^5.0.0
|
|
61
|
-
"@hi-ui/use-data-source": "^5.0.0
|
|
62
|
-
"@hi-ui/use-
|
|
63
|
-
"@hi-ui/use-
|
|
64
|
-
"@hi-ui/use-
|
|
65
|
-
"@hi-ui/use-
|
|
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/env": "^5.0.0",
|
|
51
|
+
"@hi-ui/func-utils": "^5.0.0",
|
|
52
|
+
"@hi-ui/highlighter": "^5.0.0",
|
|
53
|
+
"@hi-ui/icons": "^5.0.0",
|
|
54
|
+
"@hi-ui/picker": "^5.0.0",
|
|
55
|
+
"@hi-ui/popper": "^5.0.0",
|
|
56
|
+
"@hi-ui/tag-input": "^5.0.0",
|
|
57
|
+
"@hi-ui/tree": "^5.0.0",
|
|
58
|
+
"@hi-ui/tree-utils": "^5.0.0",
|
|
59
|
+
"@hi-ui/type-assertion": "^5.0.0",
|
|
60
|
+
"@hi-ui/use-check": "^5.0.0",
|
|
61
|
+
"@hi-ui/use-data-source": "^5.0.0",
|
|
62
|
+
"@hi-ui/use-merge-semantic": "^5.0.0",
|
|
63
|
+
"@hi-ui/use-search-mode": "^5.0.0",
|
|
64
|
+
"@hi-ui/use-toggle": "^5.0.0",
|
|
65
|
+
"@hi-ui/use-uncontrolled-state": "^5.0.0"
|
|
66
66
|
},
|
|
67
67
|
"peerDependencies": {
|
|
68
|
-
"@hi-ui/core": ">=5.0.0
|
|
68
|
+
"@hi-ui/core": ">=5.0.0",
|
|
69
69
|
"react": ">=16.8.6",
|
|
70
70
|
"react-dom": ">=16.8.6"
|
|
71
71
|
},
|
|
72
72
|
"devDependencies": {
|
|
73
|
-
"@hi-ui/core": "^5.0.0
|
|
74
|
-
"@hi-ui/core-css": "^5.0.0
|
|
73
|
+
"@hi-ui/core": "^5.0.0",
|
|
74
|
+
"@hi-ui/core-css": "^5.0.0",
|
|
75
75
|
"react": "^17.0.1",
|
|
76
76
|
"react-dom": "^17.0.1"
|
|
77
77
|
}
|