File tree Expand file tree Collapse file tree 9 files changed +48
-48
lines changed Expand file tree Collapse file tree 9 files changed +48
-48
lines changed Original file line number Diff line number Diff line change
1
+ export default {
2
+ '.root' : {
3
+ marginLeft : '1.3em'
4
+ }
5
+ } ;
Original file line number Diff line number Diff line change
1
+ // This file is automatically generated.
2
+ // Please do not change this file!
3
+ export const root : string ;
Load Diff This file was deleted.
Original file line number Diff line number Diff line change
1
+ import React , { Component } from 'react' ;
2
+ import Text , { Props as TextProps } from '../Text/Text' ;
3
+ import Box from '../Box/Box' ;
4
+ import styles from './Bullet.css.js' ;
5
+
6
+ const BulletItem = ( props : TextProps ) => < Text component = "li" { ...props } /> ;
7
+
8
+ export default class Bullet extends Component {
9
+ static displayName = 'Bullet' ;
10
+
11
+ render ( ) {
12
+ return (
13
+ < Box
14
+ component = { BulletItem }
15
+ paddingBottom = "xsmall"
16
+ className = { styles . root }
17
+ { ...this . props }
18
+ />
19
+ ) ;
20
+ }
21
+ }
Original file line number Diff line number Diff line change 2
2
3
3
exports [` Bullet Theme: jobStreet Default 1` ] = `
4
4
<li
5
- class = " Text__block fontFamily__text color__neutral fontSize__standard fontWeight__regular transform__standardText Text__listItem Box__root borderColor__standard paddingBottom__xsmall"
6
- style = " margin-left: 1.3em;"
5
+ class = " Bullet__root Box__root borderColor__standard paddingBottom__xsmall Text__block fontFamily__text color__neutral fontSize__standard fontWeight__regular transform__standardText Text__listItem Box__root borderColor__standard"
7
6
>
8
7
Bullet
9
8
</li >
10
9
` ;
11
10
12
11
exports [` Bullet Theme: seekAnz Default 1` ] = `
13
12
<li
14
- class = " Text__block fontFamily__text color__neutral fontSize__standard fontWeight__regular transform__standardText Text__listItem Box__root borderColor__standard paddingBottom__xsmall"
15
- style = " margin-left: 1.3em;"
13
+ class = " Bullet__root Box__root borderColor__standard paddingBottom__xsmall Text__block fontFamily__text color__neutral fontSize__standard fontWeight__regular transform__standardText Text__listItem Box__root borderColor__standard"
16
14
>
17
15
Bullet
18
16
</li >
19
17
` ;
20
18
21
19
exports [` Bullet Theme: seekAsia Default 1` ] = `
22
20
<li
23
- class = " Text__block fontFamily__text color__neutral fontSize__standard fontWeight__regular transform__standardText Text__listItem Box__root borderColor__standard paddingBottom__xsmall"
24
- style = " margin-left: 1.3em;"
21
+ class = " Bullet__root Box__root borderColor__standard paddingBottom__xsmall Text__block fontFamily__text color__neutral fontSize__standard fontWeight__regular transform__standardText Text__listItem Box__root borderColor__standard"
25
22
>
26
23
Bullet
27
24
</li >
28
25
` ;
29
26
30
27
exports [` Bullet Theme: wireframe Default 1` ] = `
31
28
<li
32
- class = " Text__block fontFamily__text color__neutral fontSize__standard fontWeight__regular transform__standardText Text__listItem Box__root borderColor__standard paddingBottom__xsmall"
33
- style = " margin-left: 1.3em;"
29
+ class = " Bullet__root Box__root borderColor__standard paddingBottom__xsmall Text__block fontFamily__text color__neutral fontSize__standard fontWeight__regular transform__standardText Text__listItem Box__root borderColor__standard"
34
30
>
35
31
Bullet
36
32
</li >
Load Diff This file was deleted.
Original file line number Diff line number Diff line change
1
+ import React , { Component } from 'react' ;
2
+ import Box from '../Box/Box' ;
3
+
4
+ export default class BulletList extends Component {
5
+ static displayName = 'BulletList' ;
6
+
7
+ render ( ) {
8
+ return < Box component = "ul" { ...this . props } /> ;
9
+ }
10
+ }
Original file line number Diff line number Diff line change 2
2
3
3
exports [` BulletList Theme: jobStreet Default 1` ] = `
4
4
<ul
5
- class = " Box__root borderColor__standard marginTop__none marginBottom__none paddingLeft__none reset__ul"
5
+ class = " Box__root borderColor__standard reset__ul"
6
6
>
7
7
<li >
8
8
Bullet
@@ -18,7 +18,7 @@ exports[`BulletList Theme: jobStreet Default 1`] = `
18
18
19
19
exports [` BulletList Theme: seekAnz Default 1` ] = `
20
20
<ul
21
- class = " Box__root borderColor__standard marginTop__none marginBottom__none paddingLeft__none reset__ul"
21
+ class = " Box__root borderColor__standard reset__ul"
22
22
>
23
23
<li >
24
24
Bullet
@@ -34,7 +34,7 @@ exports[`BulletList Theme: seekAnz Default 1`] = `
34
34
35
35
exports [` BulletList Theme: seekAsia Default 1` ] = `
36
36
<ul
37
- class = " Box__root borderColor__standard marginTop__none marginBottom__none paddingLeft__none reset__ul"
37
+ class = " Box__root borderColor__standard reset__ul"
38
38
>
39
39
<li >
40
40
Bullet
@@ -50,7 +50,7 @@ exports[`BulletList Theme: seekAsia Default 1`] = `
50
50
51
51
exports [` BulletList Theme: wireframe Default 1` ] = `
52
52
<ul
53
- class = " Box__root borderColor__standard marginTop__none marginBottom__none paddingLeft__none reset__ul"
53
+ class = " Box__root borderColor__standard reset__ul"
54
54
>
55
55
<li >
56
56
Bullet
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ import {
11
11
Theme
12
12
} from '../../themes/theme' ;
13
13
14
- interface Props extends WithThemeProps {
14
+ export interface Props extends WithThemeProps {
15
15
component ?: ReactType ;
16
16
size ?: FontSizeVariants ;
17
17
color ?: ColorVariants ;
You can’t perform that action at this time.
0 commit comments