@hi-ui/tree-select 5.0.0-experimental.2 → 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 +63 -116
- package/lib/types/TreeSelect.d.ts +4 -4
- package/lib/types/context.d.ts +1 -0
- package/lib/types/types.d.ts +1 -1
- package/package.json +21 -21
package/CHANGELOG.md
CHANGED
|
@@ -1,139 +1,86 @@
|
|
|
1
1
|
# @hi-ui/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>
|
|
14
|
+
|
|
15
|
+
- feat(picker): 下拉选择类组件增加 xs 尺寸 (5.0)
|
|
16
|
+
- feat(input): 输入框组件增加 xs 尺寸 (5.0)
|
|
10
17
|
|
|
11
|
-
-
|
|
12
|
-
|
|
13
|
-
-
|
|
14
|
-
|
|
15
|
-
-
|
|
16
|
-
- Updated dependencies [59cef699f]
|
|
17
|
-
- @hi-ui/icons@5.0.0-experimental.1
|
|
18
|
-
- @hi-ui/core@5.0.0-experimental.1
|
|
19
|
-
- @hi-ui/highlighter@5.0.0-experimental.1
|
|
20
|
-
- @hi-ui/input@5.0.0-experimental.2
|
|
21
|
-
- @hi-ui/picker@5.0.0-experimental.2
|
|
22
|
-
- @hi-ui/popper@5.0.0-experimental.1
|
|
23
|
-
- @hi-ui/tree@5.0.0-experimental.2
|
|
24
|
-
- @hi-ui/use-merge-semantic@5.0.0-experimental.0
|
|
25
|
-
|
|
26
|
-
## 5.0.0-experimental.1
|
|
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)
|
|
19
|
+
|
|
20
|
+
- [#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
|
+
|
|
22
|
+
- [#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)
|
|
27
23
|
|
|
28
24
|
### Patch Changes
|
|
29
25
|
|
|
30
|
-
-
|
|
31
|
-
- 发布 hiui experimental 版本
|
|
32
|
-
- fe579e212: style(tree): update class names for tree node elements in SCSS (5.0)
|
|
33
|
-
- Updated dependencies [8f23e9322]
|
|
34
|
-
- Updated dependencies [b27483796]
|
|
35
|
-
- Updated dependencies [900c6c2f0]
|
|
36
|
-
- Updated dependencies
|
|
37
|
-
- Updated dependencies [fe579e212]
|
|
38
|
-
- @hi-ui/input@5.0.0-experimental.1
|
|
39
|
-
- @hi-ui/picker@5.0.0-experimental.1
|
|
40
|
-
- @hi-ui/tree@5.0.0-experimental.1
|
|
26
|
+
- [#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)
|
|
41
27
|
|
|
42
|
-
|
|
28
|
+
- [#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)
|
|
43
29
|
|
|
44
|
-
|
|
30
|
+
- [#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)
|
|
45
31
|
|
|
46
|
-
-
|
|
32
|
+
- [#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)
|
|
47
33
|
|
|
48
|
-
|
|
34
|
+
- [#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
35
|
|
|
50
|
-
-
|
|
51
|
-
- f1ab51725: <br>
|
|
52
|
-
- feat(picker): 下拉选择类组件增加 xs 尺寸 (5.0)
|
|
53
|
-
- feat(input): 输入框组件增加 xs 尺寸 (5.0)
|
|
54
|
-
- 6dca7795c: feat: 下拉选择组件增加 showIndicator 参数 & 修改 appearance 中的 unset 样式 (5.0)
|
|
55
|
-
- 77d969c2e: feat: 下拉选择类组件 appearance 参数增加 contained 类型 (5.0)
|
|
56
|
-
- 1fae66f2d: feat(tree): add shouldShowSwitcher prop for custom switcher display logic (#3471)
|
|
36
|
+
- [#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)
|
|
57
37
|
|
|
58
|
-
|
|
38
|
+
- [#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)
|
|
39
|
+
|
|
40
|
+
- [#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)
|
|
41
|
+
|
|
42
|
+
- [#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)
|
|
43
|
+
|
|
44
|
+
- [#3532](https://github.com/XiaoMi/hiui/pull/3532) [`0a4e90dbd`](https://github.com/XiaoMi/hiui/commit/0a4e90dbd7398e69511e7505b1fd6093eca48cee) Thanks [@zyprepare](https://github.com/zyprepare)! - <br>
|
|
59
45
|
|
|
60
|
-
- cf89262c7: style(picker): 移除 picker 组件中的 \_\_text 样式定义 (5.0)
|
|
61
|
-
- be5a59325: style: 修改样式问题 (5.0)
|
|
62
|
-
- 79ea480f3: feat(global-context): 增加 size api 全局配置 (5.0)
|
|
63
|
-
- 2e56529f7: styles: 主题定制功能完善&&样式变量化写法改造&&兼容 RTL (5.0)
|
|
64
|
-
- eb718e940: fix: 修改组件问题 (5.0)
|
|
65
|
-
- de8d058dc: perf: 对下拉选择类组件的 customRender 的内容增加 memoization 以优化性能 (5.0)
|
|
66
|
-
- 5210770d9: feat(picker): add header api (5.0)
|
|
67
|
-
- 33da3144e: build: 将 package.json 中 exports 配置中的 types 配置放在最上面 (5.0)
|
|
68
|
-
- 0a4e90dbd: <br>
|
|
69
46
|
- style(tag-input): 间距调整 (5.0)
|
|
70
47
|
- style(select): 选择类组件选项圆角改为 4px (5.0)
|
|
71
48
|
- style(picker): 搜索框样式调整 (5.0)
|
|
72
|
-
|
|
73
|
-
-
|
|
74
|
-
|
|
75
|
-
-
|
|
76
|
-
|
|
77
|
-
- Updated dependencies [b9989e482]
|
|
78
|
-
-
|
|
79
|
-
-
|
|
80
|
-
-
|
|
81
|
-
-
|
|
82
|
-
-
|
|
83
|
-
-
|
|
84
|
-
-
|
|
85
|
-
-
|
|
86
|
-
-
|
|
87
|
-
-
|
|
88
|
-
-
|
|
89
|
-
-
|
|
90
|
-
-
|
|
91
|
-
-
|
|
92
|
-
-
|
|
93
|
-
-
|
|
94
|
-
-
|
|
95
|
-
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
- Updated dependencies [
|
|
106
|
-
-
|
|
107
|
-
- Updated dependencies [33da3144e]
|
|
108
|
-
- Updated dependencies [7f3abee55]
|
|
109
|
-
- Updated dependencies [6fcda9bf2]
|
|
110
|
-
- Updated dependencies [0a4e90dbd]
|
|
111
|
-
- Updated dependencies [58ad82e94]
|
|
112
|
-
- Updated dependencies [a0f0c9d6b]
|
|
113
|
-
- Updated dependencies [4a31cea53]
|
|
114
|
-
- Updated dependencies [f2be367e9]
|
|
115
|
-
- Updated dependencies [1fae66f2d]
|
|
116
|
-
- Updated dependencies [1972fd16a]
|
|
117
|
-
- Updated dependencies [99801c2d1]
|
|
118
|
-
- Updated dependencies [86910f5e2]
|
|
119
|
-
- Updated dependencies [cb7b794d0]
|
|
120
|
-
- @hi-ui/picker@5.0.0-experimental.0
|
|
121
|
-
- @hi-ui/tree@5.0.0-experimental.0
|
|
122
|
-
- @hi-ui/input@5.0.0-experimental.0
|
|
123
|
-
- @hi-ui/popper@5.0.0-experimental.0
|
|
124
|
-
- @hi-ui/icons@5.0.0-experimental.0
|
|
125
|
-
- @hi-ui/core@5.0.0-experimental.0
|
|
126
|
-
- @hi-ui/use-data-source@5.0.0-experimental.0
|
|
127
|
-
- @hi-ui/use-search-mode@5.0.0-experimental.0
|
|
128
|
-
- @hi-ui/use-toggle@5.0.0-experimental.0
|
|
129
|
-
- @hi-ui/use-uncontrolled-state@5.0.0-experimental.0
|
|
130
|
-
- @hi-ui/highlighter@5.0.0-experimental.0
|
|
131
|
-
- @hi-ui/array-utils@5.0.0-experimental.0
|
|
132
|
-
- @hi-ui/classname@5.0.0-experimental.0
|
|
133
|
-
- @hi-ui/env@5.0.0-experimental.0
|
|
134
|
-
- @hi-ui/func-utils@5.0.0-experimental.0
|
|
135
|
-
- @hi-ui/tree-utils@5.0.0-experimental.0
|
|
136
|
-
- @hi-ui/type-assertion@5.0.0-experimental.0
|
|
49
|
+
|
|
50
|
+
- [#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)
|
|
51
|
+
|
|
52
|
+
- [#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)
|
|
53
|
+
|
|
54
|
+
- Updated dependencies [[`0b34e1c15`](https://github.com/XiaoMi/hiui/commit/0b34e1c15bbf98c9e44f6d249366bb2a97cad218), [`4a31cea53`](https://github.com/XiaoMi/hiui/commit/4a31cea53a1ec48c6e31b1703315ba5838ad883f), [`da2e63a14`](https://github.com/XiaoMi/hiui/commit/da2e63a1478db819ec87d720fbfbf537319620c2), [`1e226cd66`](https://github.com/XiaoMi/hiui/commit/1e226cd66413cea8eb1e63b1cb83c1bfbf5f0a41), [`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), [`ec4c7faa2`](https://github.com/XiaoMi/hiui/commit/ec4c7faa29cb7812664d866260c7a59dc76cb983), [`e25399be4`](https://github.com/XiaoMi/hiui/commit/e25399be4c6b4e26b6d91b18d859ec702fab14fc), [`29cae09ea`](https://github.com/XiaoMi/hiui/commit/29cae09ea3d7a61781c3c4a9f51355a83229bd97), [`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), [`277c5033a`](https://github.com/XiaoMi/hiui/commit/277c5033aacd43ef3d6b8e0b9e818a09ebe21875), [`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), [`e42e2badf`](https://github.com/XiaoMi/hiui/commit/e42e2badfd099ced93eaf8414513d7a49d1e66c0), [`33da3144e`](https://github.com/XiaoMi/hiui/commit/33da3144e916edd75ee0669ca9e5090edc681193), [`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)]:
|
|
55
|
+
- @hi-ui/picker@5.0.0
|
|
56
|
+
- @hi-ui/tree@5.0.0
|
|
57
|
+
- @hi-ui/input@5.0.0
|
|
58
|
+
- @hi-ui/popper@5.0.0
|
|
59
|
+
- @hi-ui/icons@5.0.0
|
|
60
|
+
- @hi-ui/core@5.0.0
|
|
61
|
+
- @hi-ui/use-data-source@5.0.0
|
|
62
|
+
- @hi-ui/use-search-mode@5.0.0
|
|
63
|
+
- @hi-ui/use-toggle@5.0.0
|
|
64
|
+
- @hi-ui/use-uncontrolled-state@5.0.0
|
|
65
|
+
- @hi-ui/highlighter@5.0.0
|
|
66
|
+
- @hi-ui/array-utils@5.0.0
|
|
67
|
+
- @hi-ui/classname@5.0.0
|
|
68
|
+
- @hi-ui/env@5.0.0
|
|
69
|
+
- @hi-ui/func-utils@5.0.0
|
|
70
|
+
- @hi-ui/tree-utils@5.0.0
|
|
71
|
+
- @hi-ui/type-assertion@5.0.0
|
|
72
|
+
- @hi-ui/use-merge-semantic@5.0.0
|
|
73
|
+
|
|
74
|
+
## 4.4.0
|
|
75
|
+
|
|
76
|
+
### Minor Changes
|
|
77
|
+
|
|
78
|
+
- [#3472](https://github.com/XiaoMi/hiui/pull/3472) [`1fae66f2d`](https://github.com/XiaoMi/hiui/commit/1fae66f2d10e4b3eba30e2af74bc793af91061d0) Thanks [@zyprepare](https://github.com/zyprepare)! - feat(tree): add shouldShowSwitcher prop for custom switcher display logic (#3471)
|
|
79
|
+
|
|
80
|
+
### Patch Changes
|
|
81
|
+
|
|
82
|
+
- Updated dependencies [[`1fae66f2d`](https://github.com/XiaoMi/hiui/commit/1fae66f2d10e4b3eba30e2af74bc793af91061d0)]:
|
|
83
|
+
- @hi-ui/tree@4.7.0
|
|
137
84
|
|
|
138
85
|
## 4.3.1
|
|
139
86
|
|
|
@@ -9,10 +9,10 @@ import { UseDataSource } from '@hi-ui/use-data-source';
|
|
|
9
9
|
* 树形选择器
|
|
10
10
|
*/
|
|
11
11
|
export declare const TreeSelect: React.ForwardRefExoticComponent<TreeSelectProps & React.RefAttributes<HTMLDivElement | null>>;
|
|
12
|
-
export type TreeSelectSemanticName = PickerSemanticName | 'tree';
|
|
13
|
-
export type TreeSelectSemanticClassNames = SemanticClassNamesType<TreeSelectProps, TreeSelectSemanticName>;
|
|
14
|
-
export type TreeSelectSemanticStyles = SemanticStylesType<TreeSelectProps, TreeSelectSemanticName>;
|
|
15
|
-
export type TreeSelectSemantic = ComponentSemantic<TreeSelectSemanticClassNames, TreeSelectSemanticStyles>;
|
|
12
|
+
export declare type TreeSelectSemanticName = PickerSemanticName | 'tree';
|
|
13
|
+
export declare type TreeSelectSemanticClassNames = SemanticClassNamesType<TreeSelectProps, TreeSelectSemanticName>;
|
|
14
|
+
export declare type TreeSelectSemanticStyles = SemanticStylesType<TreeSelectProps, TreeSelectSemanticName>;
|
|
15
|
+
export declare type TreeSelectSemantic = ComponentSemantic<TreeSelectSemanticClassNames, TreeSelectSemanticStyles>;
|
|
16
16
|
export interface TreeSelectProps extends Omit<PickerProps, 'data' | 'onChange' | 'trigger' | 'scrollable' | 'header' | 'classNames' | 'styles'>, TreeSelectSemantic {
|
|
17
17
|
/**
|
|
18
18
|
* 展示数据
|
package/lib/types/context.d.ts
CHANGED
package/lib/types/types.d.ts
CHANGED
|
@@ -48,4 +48,4 @@ export interface TreeSelectDataSource<T = any> {
|
|
|
48
48
|
*/
|
|
49
49
|
transformResponse?: (response: object) => T;
|
|
50
50
|
}
|
|
51
|
-
export type TreeSelectAppearanceEnum = HiBaseAppearanceEnum | 'contained' | undefined;
|
|
51
|
+
export declare type TreeSelectAppearanceEnum = HiBaseAppearanceEnum | 'contained' | undefined;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hi-ui/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,32 +44,32 @@
|
|
|
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/classname": "^5.0.0
|
|
49
|
-
"@hi-ui/env": "^5.0.0
|
|
50
|
-
"@hi-ui/func-utils": "^5.0.0
|
|
51
|
-
"@hi-ui/highlighter": "^5.0.0
|
|
52
|
-
"@hi-ui/icons": "^5.0.0
|
|
53
|
-
"@hi-ui/input": "^5.0.0
|
|
54
|
-
"@hi-ui/picker": "^5.0.0
|
|
55
|
-
"@hi-ui/popper": "^5.0.0
|
|
56
|
-
"@hi-ui/tree": "^5.0.0
|
|
57
|
-
"@hi-ui/tree-utils": "^5.0.0
|
|
58
|
-
"@hi-ui/type-assertion": "^5.0.0
|
|
59
|
-
"@hi-ui/use-data-source": "^5.0.0
|
|
60
|
-
"@hi-ui/use-
|
|
61
|
-
"@hi-ui/use-
|
|
62
|
-
"@hi-ui/use-
|
|
63
|
-
"@hi-ui/use-
|
|
47
|
+
"@hi-ui/array-utils": "^5.0.0",
|
|
48
|
+
"@hi-ui/classname": "^5.0.0",
|
|
49
|
+
"@hi-ui/env": "^5.0.0",
|
|
50
|
+
"@hi-ui/func-utils": "^5.0.0",
|
|
51
|
+
"@hi-ui/highlighter": "^5.0.0",
|
|
52
|
+
"@hi-ui/icons": "^5.0.0",
|
|
53
|
+
"@hi-ui/input": "^5.0.0",
|
|
54
|
+
"@hi-ui/picker": "^5.0.0",
|
|
55
|
+
"@hi-ui/popper": "^5.0.0",
|
|
56
|
+
"@hi-ui/tree": "^5.0.0",
|
|
57
|
+
"@hi-ui/tree-utils": "^5.0.0",
|
|
58
|
+
"@hi-ui/type-assertion": "^5.0.0",
|
|
59
|
+
"@hi-ui/use-data-source": "^5.0.0",
|
|
60
|
+
"@hi-ui/use-merge-semantic": "^5.0.0",
|
|
61
|
+
"@hi-ui/use-search-mode": "^5.0.0",
|
|
62
|
+
"@hi-ui/use-toggle": "^5.0.0",
|
|
63
|
+
"@hi-ui/use-uncontrolled-state": "^5.0.0"
|
|
64
64
|
},
|
|
65
65
|
"peerDependencies": {
|
|
66
|
-
"@hi-ui/core": ">=5.0.0
|
|
66
|
+
"@hi-ui/core": ">=5.0.0",
|
|
67
67
|
"react": ">=16.8.6",
|
|
68
68
|
"react-dom": ">=16.8.6"
|
|
69
69
|
},
|
|
70
70
|
"devDependencies": {
|
|
71
|
-
"@hi-ui/core": "^5.0.0
|
|
72
|
-
"@hi-ui/core-css": "^5.0.0
|
|
71
|
+
"@hi-ui/core": "^5.0.0",
|
|
72
|
+
"@hi-ui/core-css": "^5.0.0",
|
|
73
73
|
"react": "^17.0.1",
|
|
74
74
|
"react-dom": "^17.0.1"
|
|
75
75
|
}
|