@hi-ui/cascader 4.0.0-alpha.37 → 4.0.0-alpha.41
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/lib/types/Cascader.d.ts
CHANGED
@@ -11,7 +11,7 @@ import { PickerProps } from '@hi-ui/picker';
|
|
11
11
|
export declare const Cascader: React.ForwardRefExoticComponent<CascaderProps & React.RefAttributes<HTMLDivElement | null>>;
|
12
12
|
export interface CascaderProps extends Omit<PickerProps, 'data' | 'onChange' | 'trigger'>, UseCascaderProps {
|
13
13
|
/**
|
14
|
-
* 将 check
|
14
|
+
* 将 check 子项拍平展示。暂不对外暴露
|
15
15
|
* @private
|
16
16
|
*/
|
17
17
|
type?: 'flatted' | 'tree';
|
@@ -38,7 +38,7 @@ export interface UseCascaderProps {
|
|
38
38
|
*/
|
39
39
|
onChange?: (value: React.ReactText[]) => void;
|
40
40
|
/**
|
41
|
-
*
|
41
|
+
* 选中选项时触发,仅供内部使用。暂不对外暴露
|
42
42
|
* @private
|
43
43
|
*/
|
44
44
|
onSelect?: (value: React.ReactText, targetOption: CascaderItemEventData, optionPaths: FlattedCascaderItem[]) => void;
|
@@ -51,7 +51,7 @@ export interface UseCascaderProps {
|
|
51
51
|
*/
|
52
52
|
changeOnSelect?: boolean;
|
53
53
|
/**
|
54
|
-
* 将选项拍平展示,不支持 `onLoadChildren`
|
54
|
+
* 将选项拍平展示,不支持 `onLoadChildren` 异步加载交互。暂不对外暴露
|
55
55
|
* @private
|
56
56
|
*/
|
57
57
|
flatted?: boolean;
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@hi-ui/cascader",
|
3
|
-
"version": "4.0.0-alpha.
|
3
|
+
"version": "4.0.0-alpha.41",
|
4
4
|
"description": "A sub-package for @hi-ui/hiui.",
|
5
5
|
"keywords": [],
|
6
6
|
"author": "HIUI <mi-hiui@xiaomi.com>",
|
@@ -47,16 +47,16 @@
|
|
47
47
|
"@hi-ui/core": "^4.0.0-alpha.20",
|
48
48
|
"@hi-ui/env": "^4.0.0-alpha.6",
|
49
49
|
"@hi-ui/icons": "^4.0.0-alpha.29",
|
50
|
-
"@hi-ui/input": "^4.0.0-alpha.
|
50
|
+
"@hi-ui/input": "^4.0.0-alpha.36",
|
51
51
|
"@hi-ui/locale-context": "^4.0.0-alpha.19",
|
52
|
-
"@hi-ui/picker": "^4.0.0-alpha.
|
52
|
+
"@hi-ui/picker": "^4.0.0-alpha.22",
|
53
53
|
"@hi-ui/popper": "^4.0.0-alpha.25",
|
54
|
-
"@hi-ui/tree-utils": "^4.0.0-alpha.
|
54
|
+
"@hi-ui/tree-utils": "^4.0.0-alpha.15",
|
55
55
|
"@hi-ui/type-assertion": "^4.0.0-alpha.14",
|
56
56
|
"@hi-ui/use-check-state": "^4.0.0-alpha.1",
|
57
57
|
"@hi-ui/use-data-source": "^4.0.0-alpha.8",
|
58
58
|
"@hi-ui/use-latest": "^4.0.0-alpha.5",
|
59
|
-
"@hi-ui/use-search-mode": "^4.0.0-alpha.
|
59
|
+
"@hi-ui/use-search-mode": "^4.0.0-alpha.20",
|
60
60
|
"@hi-ui/use-toggle": "^4.0.0-alpha.12",
|
61
61
|
"@hi-ui/use-uncontrolled-state": "^4.0.0-alpha.14",
|
62
62
|
"lodash": "^4.17.21"
|
@@ -70,5 +70,5 @@
|
|
70
70
|
"react": "^17.0.1",
|
71
71
|
"react-dom": "^17.0.1"
|
72
72
|
},
|
73
|
-
"gitHead": "
|
73
|
+
"gitHead": "001780db5a40f3ad6c7552581e940fed0eeb8747"
|
74
74
|
}
|