File tree 14 files changed +879
-1100
lines changed
brave_new_tab_ui/components
brave_welcome_ui/components
14 files changed +879
-1100
lines changed Original file line number Diff line number Diff line change @@ -7,7 +7,8 @@ import { DragDropContext } from 'react-dnd'
7
7
import { bindActionCreators , Dispatch } from 'redux'
8
8
import { connect } from 'react-redux'
9
9
import HTML5Backend from 'react-dnd-html5-backend'
10
- import { Grid , Column , Clock } from 'brave-ui'
10
+ import { Grid , Column } from 'brave-ui/components'
11
+ import { Clock } from 'brave-ui/old'
11
12
12
13
// Components
13
14
import Stats from './stats'
Original file line number Diff line number Diff line change 4
4
5
5
import * as React from 'react'
6
6
import { getLocale } from '../../common/locale'
7
+ import { Grid , Column } from 'brave-ui/components'
7
8
import {
8
9
Page ,
9
- Grid ,
10
- Column ,
11
10
MediaContent ,
12
11
BoxedContent ,
13
12
Heading ,
14
13
Paragraph ,
15
14
SwitchButton ,
16
15
Clock
17
- } from 'brave-ui'
16
+ } from 'brave-ui/old '
18
17
19
18
// Components
20
19
import Stats from './stats'
Original file line number Diff line number Diff line change 3
3
* You can obtain one at http://mozilla.org/MPL/2.0/. */
4
4
5
5
import * as React from 'react'
6
- import { DataBlock , DataItem } from 'brave-ui/dataBlock '
6
+ import { DataBlock , DataItem } from 'brave-ui/old '
7
7
8
8
// Constants
9
9
import { theme } from '../constants/theme'
Original file line number Diff line number Diff line change 5
5
import * as React from 'react'
6
6
import { bindActionCreators , Dispatch } from 'redux'
7
7
import { connect } from 'react-redux'
8
- import { UnstyledButton } from 'brave-ui'
9
- import Panel from 'brave-ui/v1/panel'
8
+ import { UnstyledButton } from 'brave-ui/old '
9
+ import Panel from 'brave-ui/old/ v1/panel'
10
10
11
11
// Components
12
12
import BraveScreen from './braveScreen'
Original file line number Diff line number Diff line change 3
3
* You can obtain one at http://mozilla.org/MPL/2.0/. */
4
4
5
5
import * as React from 'react'
6
- import Image from 'brave-ui/v1/image'
7
- import { PushButton } from 'brave-ui/v1/pushButton'
8
- import { Heading , Paragraph } from 'brave-ui'
6
+ import Image from 'brave-ui/old/ v1/image'
7
+ import { PushButton } from 'brave-ui/old/ v1/pushButton'
8
+ import { Heading , Paragraph } from 'brave-ui/old '
9
9
10
10
// Constants
11
11
import { theme } from '../constants/theme'
Original file line number Diff line number Diff line change 3
3
* You can obtain one at http://mozilla.org/MPL/2.0/. */
4
4
5
5
import * as React from 'react'
6
- import Image from 'brave-ui/v1/image'
7
- import { PushButtonLink } from 'brave-ui/v1/pushButton'
8
- import { Heading , Paragraph } from 'brave-ui'
6
+ import Image from 'brave-ui/old/ v1/image'
7
+ import { PushButtonLink } from 'brave-ui/old/ v1/pushButton'
8
+ import { Heading , Paragraph } from 'brave-ui/old '
9
9
10
10
// Constants
11
11
import { theme } from '../constants/theme'
Original file line number Diff line number Diff line change 3
3
* You can obtain one at http://mozilla.org/MPL/2.0/. */
4
4
5
5
import * as React from 'react'
6
- import { PushButton , PushButtonLink } from 'brave-ui/v1/pushButton'
7
- import ArrowRight from 'brave-ui/v1/icons/arrowRight'
8
- import { Grid , Column , Anchor } from 'brave-ui'
6
+ import { PushButton , PushButtonLink } from 'brave-ui/old/v1/pushButton'
7
+ import ArrowRight from 'brave-ui/old/v1/icons/arrowRight'
8
+ import { Grid , Column } from 'brave-ui/components'
9
+ import { Anchor } from 'brave-ui/old'
9
10
10
11
// Constants
11
12
import { theme } from '../constants/theme'
Original file line number Diff line number Diff line change 3
3
* You can obtain one at http://mozilla.org/MPL/2.0/. */
4
4
5
5
import * as React from 'react'
6
- import Image from 'brave-ui/v1/image'
7
- import { PushButton } from 'brave-ui/v1/pushButton'
8
- import { Heading , Paragraph } from 'brave-ui'
6
+ import Image from 'brave-ui/old/ v1/image'
7
+ import { PushButton } from 'brave-ui/old/ v1/pushButton'
8
+ import { Heading , Paragraph } from 'brave-ui/old '
9
9
10
10
// Constants
11
11
import { theme } from '../constants/theme'
Original file line number Diff line number Diff line change 3
3
* You can obtain one at http://mozilla.org/MPL/2.0/. */
4
4
5
5
import * as React from 'react'
6
- import { Heading , Paragraph } from 'brave-ui'
7
- import Image from 'brave-ui/v1/image'
8
- import { PushButtonLink } from 'brave-ui/v1/pushButton'
6
+ import { Heading , Paragraph } from 'brave-ui/old '
7
+ import Image from 'brave-ui/old/ v1/image'
8
+ import { PushButtonLink } from 'brave-ui/old/ v1/pushButton'
9
9
10
10
// Constants
11
11
import { theme } from '../constants/theme'
Original file line number Diff line number Diff line change 3
3
* You can obtain one at http://mozilla.org/MPL/2.0/. */
4
4
5
5
import * as React from 'react'
6
- import Image from 'brave-ui/v1/image'
7
- import { Heading , Paragraph } from 'brave-ui'
6
+ import Image from 'brave-ui/old/ v1/image'
7
+ import { Heading , Paragraph } from 'brave-ui/old '
8
8
9
9
// Constants
10
10
import { theme } from '../constants/theme'
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ module.exports = {
20
20
new webpack . IgnorePlugin ( / [ ^ / ] + \/ [ \S ] + .d e v $ / )
21
21
] ,
22
22
resolve : {
23
- extensions : [ '.ts ' , '.tsx' , '.js ' ]
23
+ extensions : [ '.js ' , '.tsx' , '.ts ' ]
24
24
} ,
25
25
module : {
26
26
rules : [
Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ module.exports = {
31
31
} )
32
32
] ,
33
33
resolve : {
34
- extensions : [ '.ts ' , '.tsx' , '.js ' ]
34
+ extensions : [ '.js ' , '.tsx' , '.ts ' ]
35
35
} ,
36
36
module : {
37
37
rules : [
You can’t perform that action at this time.
0 commit comments