@hi-ui/check-tree-select 4.0.0-alpha.11 → 4.0.0-alpha.15
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/README.md +6 -3
- package/package.json +16 -16
package/README.md
CHANGED
@@ -22,15 +22,18 @@
|
|
22
22
|
| defaultExpandAll | 是否默认展开所有树节点 | boolean | true \| false | false |
|
23
23
|
| expandedIds | 展开的节点(受控) | ReactText[] | - | - |
|
24
24
|
| defaultExpandedIds | 默认展开的节点(非受控) | ReactText[] | - | - |
|
25
|
-
| defaultValue | 默认选中项 (非受控) |
|
26
|
-
| value | 默认选中项 (受控) |
|
25
|
+
| defaultValue | 默认选中项 (非受控) | ReactText[] | - | - |
|
26
|
+
| value | 默认选中项 (受控) | ReactText[] | - | - |
|
27
27
|
| displayRender | 自定义渲染 Input 中展示内容 | (valueItem: checkedNode) => ReactNode | - | - |
|
28
28
|
| placeholder | 输入框占位 | string | - | 请选择 |
|
29
|
+
| searchPlaceholder | 搜索输入框占位 | string | - | 搜索 |
|
30
|
+
| loadingContent | 加载中文字提示 | string | - | 数据加载中... |
|
29
31
|
| searchMode | 节点搜索模式 | string | 'highlight' \| 'filter' | - |
|
30
32
|
| dataSource | 异步加载数据 | (key: string) => DataSource \| DataSource \| Promise | - | - |
|
31
33
|
| emptyContent | 没有选项时的提示 | string \| ReactNode | - | 无内容 |
|
32
34
|
| optionWidth | 自定义下拉选项宽度 | number | - | |
|
33
35
|
| overlayClassName | 下拉根元素的类名称 | string | - | - |
|
36
|
+
| popper | 自定义控制弹出层 popper 行为 | Omit<PopperProps, 'visible' \| 'attachEl'> | - | - |
|
34
37
|
|
35
38
|
## Events
|
36
39
|
|
@@ -74,7 +77,7 @@
|
|
74
77
|
| searchPlaceholder | feature | - | Picker 类型组件统一支持 |
|
75
78
|
| loadingContent | feature | - | Picker 类型组件统一支持,适配新 UI |
|
76
79
|
| popper | feature | - | Picker 类型组件统一支持,聚合管理。比如: placement,之前有的加了有的没加 |
|
77
|
-
| titleRender | feature |
|
80
|
+
| titleRender | feature | - | 统一支持自定义渲染每一项 |
|
78
81
|
| virtual | feature | - | 支持虚拟列表 |
|
79
82
|
| height | feature | - | 支持虚拟列表 |
|
80
83
|
| itemHeight | feature | - | 支持虚拟列表 |
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@hi-ui/check-tree-select",
|
3
|
-
"version": "4.0.0-alpha.
|
3
|
+
"version": "4.0.0-alpha.15",
|
4
4
|
"description": "A sub-package for @hi-ui/hiui.",
|
5
5
|
"keywords": [],
|
6
6
|
"author": "HIUI <mi-hiui@xiaomi.com>",
|
@@ -44,30 +44,30 @@
|
|
44
44
|
},
|
45
45
|
"dependencies": {
|
46
46
|
"@hi-ui/classname": "^4.0.0-alpha.3",
|
47
|
-
"@hi-ui/core": "^4.0.0-alpha.
|
48
|
-
"@hi-ui/core-css": "^4.0.0-alpha.
|
47
|
+
"@hi-ui/core": "^4.0.0-alpha.17",
|
48
|
+
"@hi-ui/core-css": "^4.0.0-alpha.13",
|
49
49
|
"@hi-ui/env": "^4.0.0-alpha.5",
|
50
|
-
"@hi-ui/highlighter": "^4.0.0-alpha.
|
51
|
-
"@hi-ui/icons": "^4.0.0-alpha.
|
52
|
-
"@hi-ui/picker": "^4.0.0-alpha.
|
53
|
-
"@hi-ui/popper": "^4.0.0-alpha.
|
54
|
-
"@hi-ui/tag-input": "^4.0.0-alpha.
|
55
|
-
"@hi-ui/tree": "^4.0.0-alpha.
|
56
|
-
"@hi-ui/tree-utils": "^4.0.0-alpha.
|
50
|
+
"@hi-ui/highlighter": "^4.0.0-alpha.9",
|
51
|
+
"@hi-ui/icons": "^4.0.0-alpha.25",
|
52
|
+
"@hi-ui/picker": "^4.0.0-alpha.13",
|
53
|
+
"@hi-ui/popper": "^4.0.0-alpha.21",
|
54
|
+
"@hi-ui/tag-input": "^4.0.0-alpha.20",
|
55
|
+
"@hi-ui/tree": "^4.0.0-alpha.35",
|
56
|
+
"@hi-ui/tree-utils": "^4.0.0-alpha.11",
|
57
57
|
"@hi-ui/type-assertion": "^4.0.0-alpha.13",
|
58
|
-
"@hi-ui/use-search-mode": "^4.0.0-alpha.
|
59
|
-
"@hi-ui/use-toggle": "^4.0.0-alpha.
|
60
|
-
"@hi-ui/use-uncontrolled-state": "^4.0.0-alpha.
|
58
|
+
"@hi-ui/use-search-mode": "^4.0.0-alpha.11",
|
59
|
+
"@hi-ui/use-toggle": "^4.0.0-alpha.11",
|
60
|
+
"@hi-ui/use-uncontrolled-state": "^4.0.0-alpha.13",
|
61
61
|
"lodash": "^4.17.21"
|
62
62
|
},
|
63
63
|
"peerDependencies": {
|
64
|
-
"react": "
|
65
|
-
"react-dom": "
|
64
|
+
"react": ">=16.8.6",
|
65
|
+
"react-dom": ">=16.8.6"
|
66
66
|
},
|
67
67
|
"devDependencies": {
|
68
68
|
"@hi-ui/hi-build": "^4.0.0-alpha.4",
|
69
69
|
"react": "^17.0.1",
|
70
70
|
"react-dom": "^17.0.1"
|
71
71
|
},
|
72
|
-
"gitHead": "
|
72
|
+
"gitHead": "5a8f028a385e4a547748df37875653cfb416beb9"
|
73
73
|
}
|