@hi-ui/tree-select 4.0.0-beta.29 → 4.0.0-beta.31

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.
@@ -282,7 +282,7 @@ var TreeSelect = /*#__PURE__*/React.forwardRef(function (_a, ref) {
282
282
  onSelect: onSelect,
283
283
  // onLoadChildren 缓存数据
284
284
  // TODO: 支持 fieldNames
285
- // 禁用时被选中的样式处理
285
+ // @ts-ignore
286
286
  onLoadChildren: onLoadChildren
287
287
  }, treeProps)) : null);
288
288
  });
@@ -249,7 +249,7 @@ var TreeSelect = /*#__PURE__*/forwardRef(function (_a, ref) {
249
249
  onSelect: onSelect,
250
250
  // onLoadChildren 缓存数据
251
251
  // TODO: 支持 fieldNames
252
- // 禁用时被选中的样式处理
252
+ // @ts-ignore
253
253
  onLoadChildren: onLoadChildren
254
254
  }, treeProps)) : null);
255
255
  });
@@ -3,11 +3,11 @@ export interface TreeSelectDataItem {
3
3
  /**
4
4
  * 节点唯一 id
5
5
  */
6
- id: React.ReactText;
6
+ id?: React.ReactText;
7
7
  /**
8
8
  * 节点标题
9
9
  */
10
- title: React.ReactNode;
10
+ title?: React.ReactNode;
11
11
  /**
12
12
  * 子级数据
13
13
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hi-ui/tree-select",
3
- "version": "4.0.0-beta.29",
3
+ "version": "4.0.0-beta.31",
4
4
  "description": "A sub-package for @hi-ui/hiui.",
5
5
  "keywords": [],
6
6
  "author": "HIUI <mi-hiui@xiaomi.com>",
@@ -48,18 +48,18 @@
48
48
  "@hi-ui/core": "^4.0.0-beta.8",
49
49
  "@hi-ui/core-css": "^4.0.0-beta.5",
50
50
  "@hi-ui/env": "^4.0.0-beta.0",
51
- "@hi-ui/func-utils": "^4.0.0-beta.11",
52
- "@hi-ui/highlighter": "^4.0.0-beta.8",
51
+ "@hi-ui/func-utils": "^4.0.0-beta.12",
52
+ "@hi-ui/highlighter": "^4.0.0-beta.9",
53
53
  "@hi-ui/icons": "^4.0.0-beta.10",
54
- "@hi-ui/input": "^4.0.0-beta.13",
55
- "@hi-ui/locale-context": "^4.0.0-beta.17",
56
- "@hi-ui/picker": "^4.0.0-beta.22",
57
- "@hi-ui/popper": "^4.0.0-beta.12",
58
- "@hi-ui/tree": "^4.0.0-beta.27",
54
+ "@hi-ui/input": "^4.0.0-beta.14",
55
+ "@hi-ui/locale-context": "^4.0.0-beta.18",
56
+ "@hi-ui/picker": "^4.0.0-beta.23",
57
+ "@hi-ui/popper": "^4.0.0-beta.13",
58
+ "@hi-ui/tree": "^4.0.0-beta.29",
59
59
  "@hi-ui/tree-utils": "^4.0.0-beta.4",
60
60
  "@hi-ui/type-assertion": "^4.0.0-beta.4",
61
61
  "@hi-ui/use-data-source": "^4.0.0-beta.5",
62
- "@hi-ui/use-search-mode": "^4.0.0-beta.16",
62
+ "@hi-ui/use-search-mode": "^4.0.0-beta.18",
63
63
  "@hi-ui/use-toggle": "^4.0.0-beta.4",
64
64
  "@hi-ui/use-uncontrolled-state": "^4.0.0-beta.4"
65
65
  },
@@ -72,5 +72,5 @@
72
72
  "react": "^17.0.1",
73
73
  "react-dom": "^17.0.1"
74
74
  },
75
- "gitHead": "b967631f11b4382d5d5a2581984979f2b6b4d369"
75
+ "gitHead": "7f47840510e6dfce429eeed1591c154e321cd14f"
76
76
  }