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 11{
2- "name" : " rc-collapse" ,
3- "version" : " 4 .0.0" ,
2+ "name" : " @ rc-component/ collapse" ,
3+ "version" : " 1 .0.0- 0" ,
44 "description" : " rc-collapse ui component for react" ,
55 "keywords" : [
66 " react" ,
4646 },
4747 "dependencies" : {
4848 "@babel/runtime" : " ^7.10.1" ,
49+ "@rc-component/util" : " ^1.0.1" ,
4950 "classnames" : " 2.x" ,
50- "rc-motion" : " ^2.3.4" ,
51- "rc-util" : " ^5.27.0"
51+ "rc-motion" : " ^2.3.4"
5252 },
5353 "devDependencies" : {
54- "@rc-component/father-plugin" : " ^1 .0.1" ,
54+ "@rc-component/father-plugin" : " ^2 .0.1" ,
5555 "@testing-library/jest-dom" : " ^6.1.4" ,
5656 "@testing-library/react" : " ^14.1.2" ,
5757 "@testing-library/user-event" : " ^14.5.2" ,
Original file line number Diff line number Diff line change 11import 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' ;
44import React from 'react' ;
55import useItems from './hooks/useItems' ;
66import type { CollapseProps } from './interface' ;
77import CollapsePanel from './Panel' ;
8- import pickAttrs from 'rc-util/lib/pickAttrs' ;
8+ import pickAttrs from '@ rc-component/ util/lib/pickAttrs' ;
99
1010function getActiveKeysArray ( activeKey : React . Key | React . Key [ ] ) {
1111 let currentActiveKey = activeKey ;
Original file line number Diff line number Diff line change 11import classNames from 'classnames' ;
22import CSSMotion from 'rc-motion' ;
3- import KeyCode from 'rc-util/lib/KeyCode' ;
3+ import KeyCode from '@ rc-component/ util/lib/KeyCode' ;
44import React from 'react' ;
55import type { CollapsePanelProps } from './interface' ;
66import 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' ;
22import React from 'react' ;
33import type { CollapsePanelProps , CollapseProps , ItemType } from '../interface' ;
44import CollapsePanel from '../Panel' ;
You can’t perform that action at this time.
0 commit comments