File tree Expand file tree Collapse file tree 6 files changed +43
-0
lines changed Expand file tree Collapse file tree 6 files changed +43
-0
lines changed Original file line number Diff line number Diff line change 3
3
4
4
// Alias
5
5
import Breadcrumb from '../breadcrumb' ;
6
+ import componentHasMoved from '../../utilities/warning/component-has-moved' ;
7
+ import { BREADCRUMB } from '../../utilities/constants' ;
8
+
9
+ componentHasMoved ( BREADCRUMB , {
10
+ oldFileLocation : 'components/bread-crumb' ,
11
+ newFileLocation : 'components/breadcrumb' ,
12
+ } ) ;
6
13
7
14
export default Breadcrumb ;
Original file line number Diff line number Diff line change 3
3
4
4
// Alias
5
5
import Input from '../../input' ;
6
+ import componentHasMoved from '../../../utilities/warning/component-has-moved' ;
7
+ import { INPUT } from '../../../utilities/constants' ;
8
+
9
+ componentHasMoved ( INPUT , {
10
+ oldFileLocation : 'components/forms/input' ,
11
+ newFileLocation : 'components/input' ,
12
+ } ) ;
6
13
7
14
export default Input ;
Original file line number Diff line number Diff line change 3
3
4
4
// Alias
5
5
import Radio from '../../radio' ;
6
+ import componentHasMoved from '../../../utilities/warning/component-has-moved' ;
7
+ import { RADIO } from '../../../utilities/constants' ;
8
+
9
+ componentHasMoved ( RADIO , {
10
+ oldFileLocation : 'components/forms/radio' ,
11
+ newFileLocation : 'components/radio' ,
12
+ } ) ;
6
13
7
14
export default Radio ;
Original file line number Diff line number Diff line change 3
3
4
4
// Alias
5
5
import TextArea from '../../textarea' ;
6
+ import componentHasMoved from '../../../utilities/warning/component-has-moved' ;
7
+ import { TEXTAREA } from '../../../utilities/constants' ;
8
+
9
+ componentHasMoved ( TEXTAREA , {
10
+ oldFileLocation : 'components/forms/textarea' ,
11
+ newFileLocation : 'components/textarea' ,
12
+ } ) ;
6
13
7
14
export default TextArea ;
Original file line number Diff line number Diff line change 3
3
4
4
// Alias
5
5
import VerticalNavigation from '../vertical-navigation' ;
6
+ import componentHasMoved from '../../utilities/warning/component-has-moved' ;
7
+ import { NAVIGATION } from '../../utilities/constants' ;
8
+
9
+ componentHasMoved ( NAVIGATION , {
10
+ oldFileLocation : 'components/navigation' ,
11
+ newFileLocation : 'components/vertical-navigation' ,
12
+ } ) ;
6
13
7
14
export default VerticalNavigation ;
Original file line number Diff line number Diff line change 4
4
// Alias
5
5
import Tooltip from '../tooltip' ;
6
6
7
+ import componentHasMoved from '../../utilities/warning/component-has-moved' ;
8
+ import { POPOVER_TOOLTIP } from '../../utilities/constants' ;
9
+
10
+ componentHasMoved ( POPOVER_TOOLTIP , {
11
+ oldFileLocation : 'components/popover-tooltip' ,
12
+ newFileLocation : 'components/tooltip' ,
13
+ } ) ;
14
+
7
15
export default Tooltip ;
You can’t perform that action at this time.
0 commit comments