@douyinfe/semi-foundation 2.0.9-alpha.2 → 2.0.9-alpha.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.
@@ -23,7 +23,7 @@ export interface CollapseState{
23
23
  }
24
24
 
25
25
  export interface CollapseAdapter extends DefaultAdapter<CollapseProps, CollapseState>{
26
- handleChange: (...args: ArgsType<CollapseProps['onChange']>) => ReturnType<CollapseProps['onChange']>;
26
+ handleChange: (activeKey: CollapseProps['activeKey'], e: any) => void;
27
27
  // getStates: () => CollapseState;
28
28
  // getProps: () => CollapseProps;
29
29
  addActiveKey: (newSet: CollapseState['activeSet']) => void;
@@ -18,7 +18,7 @@ export interface CollapseState {
18
18
  activeSet: Set<string>;
19
19
  }
20
20
  export interface CollapseAdapter extends DefaultAdapter<CollapseProps, CollapseState> {
21
- handleChange: (...args: ArgsType<CollapseProps['onChange']>) => ReturnType<CollapseProps['onChange']>;
21
+ handleChange: (activeKey: CollapseProps['activeKey'], e: any) => void;
22
22
  addActiveKey: (newSet: CollapseState['activeSet']) => void;
23
23
  }
24
24
  export default class CollapseFoundation extends BaseFoundation<CollapseAdapter> {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@douyinfe/semi-foundation",
3
- "version": "2.0.9-alpha.2",
3
+ "version": "2.0.9-alpha.3",
4
4
  "description": "",
5
5
  "scripts": {
6
6
  "build:lib": "node ./scripts/compileLib.js",
@@ -24,7 +24,7 @@
24
24
  "*.scss",
25
25
  "*.css"
26
26
  ],
27
- "gitHead": "7a4c4799d28e62f8f278d53bfa08a21ee591dc5d",
27
+ "gitHead": "a2979aeef086df38907d49174e6071c20cab6ae9",
28
28
  "devDependencies": {
29
29
  "@babel/plugin-proposal-decorators": "^7.15.8",
30
30
  "@babel/plugin-transform-runtime": "^7.15.8",