File tree Expand file tree Collapse file tree 4 files changed +10
-10
lines changed Expand file tree Collapse file tree 4 files changed +10
-10
lines changed Original file line number Diff line number Diff line change 1
1
{
2
- "name" : " rc-collapse" ,
3
- "version" : " 4 .0.0" ,
2
+ "name" : " @ rc-component/ collapse" ,
3
+ "version" : " 1 .0.0- 0" ,
4
4
"description" : " rc-collapse ui component for react" ,
5
5
"keywords" : [
6
6
" react" ,
46
46
},
47
47
"dependencies" : {
48
48
"@babel/runtime" : " ^7.10.1" ,
49
+ "@rc-component/util" : " ^1.0.1" ,
49
50
"classnames" : " 2.x" ,
50
- "rc-motion" : " ^2.3.4" ,
51
- "rc-util" : " ^5.27.0"
51
+ "rc-motion" : " ^2.3.4"
52
52
},
53
53
"devDependencies" : {
54
- "@rc-component/father-plugin" : " ^1 .0.1" ,
54
+ "@rc-component/father-plugin" : " ^2 .0.1" ,
55
55
"@testing-library/jest-dom" : " ^6.1.4" ,
56
56
"@testing-library/react" : " ^14.1.2" ,
57
57
"@testing-library/user-event" : " ^14.5.2" ,
Original file line number Diff line number Diff line change 1
1
import classNames from 'classnames' ;
2
- import useMergedState from 'rc-util/lib/hooks/useMergedState' ;
3
- import warning from 'rc-util/lib/warning' ;
2
+ import useMergedState from '@ rc-component/ util/lib/hooks/useMergedState' ;
3
+ import warning from '@ rc-component/ util/lib/warning' ;
4
4
import React from 'react' ;
5
5
import useItems from './hooks/useItems' ;
6
6
import type { CollapseProps } from './interface' ;
7
7
import CollapsePanel from './Panel' ;
8
- import pickAttrs from 'rc-util/lib/pickAttrs' ;
8
+ import pickAttrs from '@ rc-component/ util/lib/pickAttrs' ;
9
9
10
10
function getActiveKeysArray ( activeKey : React . Key | React . Key [ ] ) {
11
11
let currentActiveKey = activeKey ;
Original file line number Diff line number Diff line change 1
1
import classNames from 'classnames' ;
2
2
import CSSMotion from 'rc-motion' ;
3
- import KeyCode from 'rc-util/lib/KeyCode' ;
3
+ import KeyCode from '@ rc-component/ util/lib/KeyCode' ;
4
4
import React from 'react' ;
5
5
import type { CollapsePanelProps } from './interface' ;
6
6
import PanelContent from './PanelContent' ;
Original file line number Diff line number Diff line change 1
- import toArray from 'rc-util/lib/Children/toArray' ;
1
+ import toArray from '@ rc-component/ util/lib/Children/toArray' ;
2
2
import React from 'react' ;
3
3
import type { CollapsePanelProps , CollapseProps , ItemType } from '../interface' ;
4
4
import CollapsePanel from '../Panel' ;
You can’t perform that action at this time.
0 commit comments