@douyinfe/semi-foundation 2.20.2 → 2.20.3
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.
|
@@ -224,7 +224,7 @@ export interface TreeAdapter extends DefaultAdapter<BasicTreeProps, BasicTreeInn
|
|
|
224
224
|
updateInputValue: (value: string) => void;
|
|
225
225
|
focusInput: () => void;
|
|
226
226
|
updateState: (states: Partial<BasicTreeInnerData>) => void;
|
|
227
|
-
notifyExpand: (expandedKeys: Set<string>, { expanded
|
|
227
|
+
notifyExpand: (expandedKeys: Set<string>, { expanded, node }: BasicExpandedOtherProps) => void;
|
|
228
228
|
notifySelect: (selectKey: string, bool: boolean, node: BasicTreeNodeData) => void;
|
|
229
229
|
notifyChange: (value: BasicValue) => void;
|
|
230
230
|
notifySearch: (input: string) => void;
|
|
@@ -224,7 +224,7 @@ export interface TreeAdapter extends DefaultAdapter<BasicTreeProps, BasicTreeInn
|
|
|
224
224
|
updateInputValue: (value: string) => void;
|
|
225
225
|
focusInput: () => void;
|
|
226
226
|
updateState: (states: Partial<BasicTreeInnerData>) => void;
|
|
227
|
-
notifyExpand: (expandedKeys: Set<string>, { expanded
|
|
227
|
+
notifyExpand: (expandedKeys: Set<string>, { expanded, node }: BasicExpandedOtherProps) => void;
|
|
228
228
|
notifySelect: (selectKey: string, bool: boolean, node: BasicTreeNodeData) => void;
|
|
229
229
|
notifyChange: (value: BasicValue) => void;
|
|
230
230
|
notifySearch: (input: string) => void;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@douyinfe/semi-foundation",
|
|
3
|
-
"version": "2.20.
|
|
3
|
+
"version": "2.20.3",
|
|
4
4
|
"description": "",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build:lib": "node ./scripts/compileLib.js",
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
"*.scss",
|
|
24
24
|
"*.css"
|
|
25
25
|
],
|
|
26
|
-
"gitHead": "
|
|
26
|
+
"gitHead": "f3c92641b8e004623a6e644af93eb0718290956d",
|
|
27
27
|
"devDependencies": {
|
|
28
28
|
"@babel/plugin-transform-runtime": "^7.15.8",
|
|
29
29
|
"@babel/preset-env": "^7.15.8",
|
package/tree/foundation.ts
CHANGED
|
@@ -300,7 +300,7 @@ export interface TreeAdapter extends DefaultAdapter<BasicTreeProps, BasicTreeInn
|
|
|
300
300
|
updateInputValue: (value: string) => void;
|
|
301
301
|
focusInput: () => void;
|
|
302
302
|
updateState: (states: Partial<BasicTreeInnerData>) => void;
|
|
303
|
-
notifyExpand: (expandedKeys: Set<string>, { expanded
|
|
303
|
+
notifyExpand: (expandedKeys: Set<string>, { expanded, node }: BasicExpandedOtherProps) => void;
|
|
304
304
|
notifySelect: (selectKey: string, bool: boolean, node: BasicTreeNodeData) => void;
|
|
305
305
|
notifyChange: (value: BasicValue) => void;
|
|
306
306
|
notifySearch: (input: string) => void;
|