@hi-ui/tree-select 4.0.8 → 4.0.10

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 ADDED
@@ -0,0 +1,7 @@
1
+ # @hi-ui/tree-select
2
+
3
+ ## 4.0.10
4
+
5
+ ### Patch Changes
6
+
7
+ - [#2334](https://github.com/XiaoMi/hiui/pull/2334) [`c9e6f4ad6`](https://github.com/XiaoMi/hiui/commit/c9e6f4ad6c1050b86bee5db681214d39830305c7) Thanks [@zyprepare](https://github.com/zyprepare)! - 修复问题:设置 loading 无效果
@@ -265,7 +265,7 @@ var TreeSelect = /*#__PURE__*/React.forwardRef(function (_a, ref) {
265
265
  // data={mergedData}
266
266
  searchable: searchable,
267
267
  onSearch: funcUtils.callAllFuncs(onSearchProp, onSearch),
268
- loading: loading,
268
+ loading: rest.loading !== undefined ? rest.loading : loading,
269
269
  trigger: /*#__PURE__*/React__default["default"].createElement(input.MockInput // disabled={disabled}
270
270
  , {
271
271
  // disabled={disabled}
@@ -232,7 +232,7 @@ var TreeSelect = /*#__PURE__*/forwardRef(function (_a, ref) {
232
232
  // data={mergedData}
233
233
  searchable: searchable,
234
234
  onSearch: callAllFuncs(onSearchProp, onSearch),
235
- loading: loading,
235
+ loading: rest.loading !== undefined ? rest.loading : loading,
236
236
  trigger: /*#__PURE__*/React.createElement(MockInput // disabled={disabled}
237
237
  , {
238
238
  // disabled={disabled}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hi-ui/tree-select",
3
- "version": "4.0.8",
3
+ "version": "4.0.10",
4
4
  "description": "A sub-package for @hi-ui/hiui.",
5
5
  "keywords": [],
6
6
  "author": "HiUI <mi-hiui@xiaomi.com>",
@@ -49,10 +49,10 @@
49
49
  "@hi-ui/func-utils": "^4.0.1",
50
50
  "@hi-ui/highlighter": "^4.0.5",
51
51
  "@hi-ui/icons": "^4.0.4",
52
- "@hi-ui/input": "^4.0.5",
53
- "@hi-ui/picker": "^4.0.5",
52
+ "@hi-ui/input": "^4.0.6",
53
+ "@hi-ui/picker": "^4.0.6",
54
54
  "@hi-ui/popper": "^4.0.4",
55
- "@hi-ui/tree": "^4.0.8",
55
+ "@hi-ui/tree": "^4.0.9",
56
56
  "@hi-ui/tree-utils": "^4.0.2",
57
57
  "@hi-ui/type-assertion": "^4.0.1",
58
58
  "@hi-ui/use-data-source": "^4.0.1",
@@ -71,6 +71,5 @@
71
71
  "@hi-ui/hi-build": "^4.0.1",
72
72
  "react": "^17.0.1",
73
73
  "react-dom": "^17.0.1"
74
- },
75
- "gitHead": "db81f4e6bffc562f26ab0655cb71ec160c5e2c22"
74
+ }
76
75
  }
package/LICENSE DELETED
@@ -1,21 +0,0 @@
1
- MIT License
2
-
3
- Copyright (c) 2018 Xiaomi
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in all
13
- copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
- SOFTWARE.