@symbo.ls/preview 2.27.0 → 3.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/articles/Colors.js +3 -3
- package/articles/Icons.js +3 -3
- package/articles/Shadows.js +3 -3
- package/articles/Shapes.js +3 -3
- package/articles/Spacing.js +2 -2
- package/articles/Themes.js +8 -8
- package/articles/Typography.js +6 -5
- package/blocks/Default.js +1 -1
- package/blocks/color.js +5 -5
- package/blocks/font.js +1 -1
- package/blocks/icon.js +5 -5
- package/blocks/section.js +1 -1
- package/blocks/shadow.js +2 -2
- package/blocks/shape.js +1 -1
- package/package.json +2 -2
- package/pages/Component.js +3 -3
- package/pages/Components.js +85 -99
- package/pages/Styleguide.js +2 -2
package/articles/Colors.js
CHANGED
|
@@ -4,7 +4,7 @@ import { ColorBlock } from '../blocks'
|
|
|
4
4
|
|
|
5
5
|
export const Colors = {
|
|
6
6
|
tag: 'article',
|
|
7
|
-
|
|
7
|
+
extends: 'Flex',
|
|
8
8
|
|
|
9
9
|
props: {
|
|
10
10
|
margin: 'auto',
|
|
@@ -43,12 +43,12 @@ export const Colors = {
|
|
|
43
43
|
'@mobileS': { padding: '- B' }
|
|
44
44
|
},
|
|
45
45
|
|
|
46
|
-
|
|
46
|
+
childExtends: ColorBlock,
|
|
47
47
|
|
|
48
48
|
pallete: {
|
|
49
49
|
Title: { text: 'Color pallete' },
|
|
50
50
|
Paragraph: {
|
|
51
|
-
|
|
51
|
+
children: ({ context }) => {
|
|
52
52
|
const { COLOR } = context.designSystem
|
|
53
53
|
return Object.keys(COLOR).filter(v => COLOR[v].value)
|
|
54
54
|
.map(v => ({
|
package/articles/Icons.js
CHANGED
|
@@ -4,11 +4,11 @@ import { icon } from '../blocks'
|
|
|
4
4
|
|
|
5
5
|
export const Icons = {
|
|
6
6
|
tag: 'article',
|
|
7
|
-
|
|
7
|
+
extends: 'Flex',
|
|
8
8
|
|
|
9
9
|
Header: {
|
|
10
10
|
tag: 'header',
|
|
11
|
-
|
|
11
|
+
extends: 'Banner',
|
|
12
12
|
Title: { text: 'Icons' },
|
|
13
13
|
Paragraph: {
|
|
14
14
|
P: {},
|
|
@@ -25,5 +25,5 @@ export const Icons = {
|
|
|
25
25
|
}
|
|
26
26
|
},
|
|
27
27
|
|
|
28
|
-
Section: {
|
|
28
|
+
Section: { extends: icon }
|
|
29
29
|
}
|
package/articles/Shadows.js
CHANGED
|
@@ -4,11 +4,11 @@ import { shadow } from '../blocks'
|
|
|
4
4
|
|
|
5
5
|
export const Shadows = {
|
|
6
6
|
tag: 'article',
|
|
7
|
-
|
|
7
|
+
extends: 'Flex',
|
|
8
8
|
|
|
9
9
|
Header: {
|
|
10
10
|
tag: 'header',
|
|
11
|
-
|
|
11
|
+
extends: 'Banner',
|
|
12
12
|
|
|
13
13
|
Title: { text: 'Shadow' },
|
|
14
14
|
Paragraph: {
|
|
@@ -27,6 +27,6 @@ export const Shadows = {
|
|
|
27
27
|
},
|
|
28
28
|
|
|
29
29
|
Section: {
|
|
30
|
-
|
|
30
|
+
extends: shadow
|
|
31
31
|
}
|
|
32
32
|
}
|
package/articles/Shapes.js
CHANGED
|
@@ -4,11 +4,11 @@ import { shape } from '../blocks'
|
|
|
4
4
|
|
|
5
5
|
export const Shapes = {
|
|
6
6
|
tag: 'article',
|
|
7
|
-
|
|
7
|
+
extends: 'Flex',
|
|
8
8
|
|
|
9
9
|
Header: {
|
|
10
10
|
tag: 'header',
|
|
11
|
-
|
|
11
|
+
extends: 'Banner',
|
|
12
12
|
|
|
13
13
|
Title: {
|
|
14
14
|
props: {
|
|
@@ -32,6 +32,6 @@ export const Shapes = {
|
|
|
32
32
|
},
|
|
33
33
|
|
|
34
34
|
Section: {
|
|
35
|
-
|
|
35
|
+
extends: shape
|
|
36
36
|
}
|
|
37
37
|
}
|
package/articles/Spacing.js
CHANGED
package/articles/Themes.js
CHANGED
|
@@ -4,7 +4,7 @@ import { ColorBlock } from '../blocks'
|
|
|
4
4
|
|
|
5
5
|
export const Themes = {
|
|
6
6
|
tag: 'article',
|
|
7
|
-
|
|
7
|
+
extends: 'Flex',
|
|
8
8
|
|
|
9
9
|
Banner: {
|
|
10
10
|
Title: { props: { text: 'Themes' } },
|
|
@@ -33,8 +33,8 @@ export const Themes = {
|
|
|
33
33
|
padding: 'E C1 - C1',
|
|
34
34
|
gap: 'E'
|
|
35
35
|
},
|
|
36
|
-
|
|
37
|
-
|
|
36
|
+
childExtends: {
|
|
37
|
+
extends: ColorBlock,
|
|
38
38
|
Hgroup: {},
|
|
39
39
|
Grid: {
|
|
40
40
|
props: {
|
|
@@ -44,22 +44,22 @@ export const Themes = {
|
|
|
44
44
|
border: 'none !important'
|
|
45
45
|
}
|
|
46
46
|
},
|
|
47
|
-
|
|
48
|
-
|
|
47
|
+
childExtends: {
|
|
48
|
+
extends: 'Flex',
|
|
49
49
|
props: {
|
|
50
50
|
flow: 'column',
|
|
51
51
|
align: 'flex-start space-between',
|
|
52
52
|
padding: 'Z1 Z2'
|
|
53
53
|
},
|
|
54
54
|
icons: {
|
|
55
|
-
|
|
55
|
+
extends: 'Flex',
|
|
56
56
|
props: {
|
|
57
57
|
gap: 'B',
|
|
58
58
|
align: 'center space-between',
|
|
59
59
|
minWidth: '100%'
|
|
60
60
|
},
|
|
61
|
-
|
|
62
|
-
|
|
61
|
+
childExtends: 'Icon',
|
|
62
|
+
children: [
|
|
63
63
|
{ name: 'sun' },
|
|
64
64
|
{ name: 'moon' }
|
|
65
65
|
]
|
package/articles/Typography.js
CHANGED
|
@@ -4,11 +4,11 @@ import { FontsBlock } from '../blocks'
|
|
|
4
4
|
|
|
5
5
|
export const Typography = {
|
|
6
6
|
tag: 'article',
|
|
7
|
-
|
|
7
|
+
extends: 'Flex',
|
|
8
8
|
|
|
9
9
|
Header: {
|
|
10
10
|
tag: 'header',
|
|
11
|
-
|
|
11
|
+
extends: 'Banner',
|
|
12
12
|
Title: {
|
|
13
13
|
props: {
|
|
14
14
|
text: 'type',
|
|
@@ -41,7 +41,7 @@ export const Typography = {
|
|
|
41
41
|
}
|
|
42
42
|
}
|
|
43
43
|
},
|
|
44
|
-
|
|
44
|
+
childExtends: FontsBlock,
|
|
45
45
|
...[{}, {}]
|
|
46
46
|
}
|
|
47
47
|
// Section: {
|
|
@@ -67,7 +67,7 @@ export const Typography = {
|
|
|
67
67
|
// }
|
|
68
68
|
|
|
69
69
|
// Section: {
|
|
70
|
-
//
|
|
70
|
+
// extends: font,
|
|
71
71
|
// Title: {
|
|
72
72
|
// props: { text: 'Sans Serif' }
|
|
73
73
|
// },
|
|
@@ -80,7 +80,8 @@ export const Typography = {
|
|
|
80
80
|
// }
|
|
81
81
|
// },
|
|
82
82
|
|
|
83
|
-
//
|
|
83
|
+
// childrenAs: 'state',
|
|
84
|
+
// children: ({ context }) => {
|
|
84
85
|
// const { FONT } = context.designSystem
|
|
85
86
|
// return Object.keys(FONT).map(v => ({
|
|
86
87
|
// name: v
|
package/blocks/Default.js
CHANGED
package/blocks/color.js
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
import { DefaultBlock } from './section'
|
|
4
4
|
|
|
5
5
|
const ColorTemplate = {
|
|
6
|
-
|
|
6
|
+
extends: 'Flex',
|
|
7
7
|
props: {
|
|
8
8
|
gap: 'A'
|
|
9
9
|
},
|
|
@@ -16,7 +16,7 @@ const ColorTemplate = {
|
|
|
16
16
|
},
|
|
17
17
|
|
|
18
18
|
Description: {
|
|
19
|
-
|
|
19
|
+
extends: 'Flex',
|
|
20
20
|
props: { gap: 'X', flow: 'column' },
|
|
21
21
|
Title: { color: 'title' },
|
|
22
22
|
Value: { margin: 'X - -', color: 'paragraph' },
|
|
@@ -25,7 +25,7 @@ const ColorTemplate = {
|
|
|
25
25
|
}
|
|
26
26
|
|
|
27
27
|
export const ColorBlock = {
|
|
28
|
-
|
|
28
|
+
extends: DefaultBlock,
|
|
29
29
|
|
|
30
30
|
Title: {
|
|
31
31
|
props: {
|
|
@@ -35,7 +35,7 @@ export const ColorBlock = {
|
|
|
35
35
|
},
|
|
36
36
|
|
|
37
37
|
Paragraph: {
|
|
38
|
-
|
|
38
|
+
extends: 'Grid',
|
|
39
39
|
|
|
40
40
|
props: {
|
|
41
41
|
columns: 'repeat(4, 1fr)',
|
|
@@ -46,6 +46,6 @@ export const ColorBlock = {
|
|
|
46
46
|
'@mobileXS': { gap: 'A2' }
|
|
47
47
|
},
|
|
48
48
|
|
|
49
|
-
|
|
49
|
+
childExtends: ColorTemplate
|
|
50
50
|
}
|
|
51
51
|
}
|
package/blocks/font.js
CHANGED
package/blocks/icon.js
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
import { DefaultBlock } from './section'
|
|
4
4
|
|
|
5
5
|
export const icon = {
|
|
6
|
-
|
|
6
|
+
extends: DefaultBlock,
|
|
7
7
|
props: {
|
|
8
8
|
padding: 'E D E1 D',
|
|
9
9
|
'@mobileL': { padding: 'D C' },
|
|
@@ -12,7 +12,7 @@ export const icon = {
|
|
|
12
12
|
|
|
13
13
|
Title: null,
|
|
14
14
|
Paragraph: {
|
|
15
|
-
|
|
15
|
+
extends: 'Grid',
|
|
16
16
|
props: {
|
|
17
17
|
columns: 'repeat(7, 1fr)',
|
|
18
18
|
gap: 'C',
|
|
@@ -22,8 +22,8 @@ export const icon = {
|
|
|
22
22
|
'@mobileS': { gap: 'Z' }
|
|
23
23
|
// padding: 'E D E2 D'
|
|
24
24
|
},
|
|
25
|
-
|
|
26
|
-
|
|
25
|
+
childExtends: {
|
|
26
|
+
extends: 'Flex',
|
|
27
27
|
props: {
|
|
28
28
|
align: 'center',
|
|
29
29
|
aspectRatio: '1/1',
|
|
@@ -42,7 +42,7 @@ export const icon = {
|
|
|
42
42
|
}
|
|
43
43
|
},
|
|
44
44
|
|
|
45
|
-
|
|
45
|
+
children: ({ context }) => {
|
|
46
46
|
const { ICONS } = context.designSystem
|
|
47
47
|
return Object.keys(ICONS).map(name => ({
|
|
48
48
|
Icon: { name }
|
package/blocks/section.js
CHANGED
package/blocks/shadow.js
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
import { DefaultBlock } from './section'
|
|
4
4
|
|
|
5
5
|
export const shadow = {
|
|
6
|
-
|
|
6
|
+
extends: DefaultBlock,
|
|
7
7
|
props: {
|
|
8
8
|
padding: 'D2 D',
|
|
9
9
|
'@mobileL': { padding: 'E C' },
|
|
@@ -13,7 +13,7 @@ export const shadow = {
|
|
|
13
13
|
Title: null,
|
|
14
14
|
|
|
15
15
|
Paragraph: {
|
|
16
|
-
|
|
16
|
+
extends: 'Grid',
|
|
17
17
|
props: {
|
|
18
18
|
columns: 'repeat(8, 1fr)',
|
|
19
19
|
gap: 'C2',
|
package/blocks/shape.js
CHANGED
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@symbo.ls/preview",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "3.1.1",
|
|
4
4
|
"main": "index.js",
|
|
5
5
|
"license": "MIT",
|
|
6
|
-
"gitHead": "
|
|
6
|
+
"gitHead": "39fb7a8c07355468ccce79e2f787ca3fa0715692",
|
|
7
7
|
"source": "src/index.js"
|
|
8
8
|
}
|
package/pages/Component.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict'
|
|
2
2
|
|
|
3
3
|
export const Component = {
|
|
4
|
-
|
|
4
|
+
extends: 'Flex',
|
|
5
5
|
props: {
|
|
6
6
|
align: 'center center',
|
|
7
7
|
minHeight: '100vh'
|
|
@@ -12,7 +12,7 @@ export const Component = {
|
|
|
12
12
|
const urlParams = new URLSearchParams(window.location.search)
|
|
13
13
|
return !urlParams.get('hideUi') || !urlParams.get('fullsize')
|
|
14
14
|
},
|
|
15
|
-
|
|
15
|
+
extends: 'Flex',
|
|
16
16
|
props: {
|
|
17
17
|
align: 'center space-between',
|
|
18
18
|
position: 'absolute',
|
|
@@ -49,7 +49,7 @@ export const Component = {
|
|
|
49
49
|
const schema = ctx.schema[factory][key]
|
|
50
50
|
return {
|
|
51
51
|
key,
|
|
52
|
-
|
|
52
|
+
extends: 'Flex',
|
|
53
53
|
state: schema.state,
|
|
54
54
|
props: () => ({
|
|
55
55
|
class: 'component',
|
package/pages/Components.js
CHANGED
|
@@ -1,48 +1,41 @@
|
|
|
1
1
|
'use strict'
|
|
2
2
|
|
|
3
3
|
export const ComponentsPage = {
|
|
4
|
-
|
|
5
|
-
|
|
4
|
+
extends: 'Flex',
|
|
6
5
|
state: {
|
|
7
6
|
globalTheme: 'dark',
|
|
8
7
|
value: ''
|
|
9
8
|
},
|
|
10
9
|
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
scrollBehavior: 'smooth'
|
|
22
|
-
}
|
|
10
|
+
FleX: {
|
|
11
|
+
flow: 'column',
|
|
12
|
+
padding: 'F E E D',
|
|
13
|
+
gap: 'E+C',
|
|
14
|
+
minWidth: 'calc(100% - 70px)',
|
|
15
|
+
height: '100dvh',
|
|
16
|
+
margin: '- - - auto',
|
|
17
|
+
style: {
|
|
18
|
+
overflowY: 'auto',
|
|
19
|
+
scrollBehavior: 'smooth'
|
|
23
20
|
},
|
|
24
21
|
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
top: '-C',
|
|
36
|
-
fontSize: '14px',
|
|
37
|
-
color: 'white .35'
|
|
38
|
-
},
|
|
22
|
+
childExtends: {
|
|
23
|
+
hide: ({ key, state }) => !key.toLowerCase().includes(state.value),
|
|
24
|
+
position: 'relative',
|
|
25
|
+
Title: {
|
|
26
|
+
ignoreChildExtends: true,
|
|
27
|
+
position: 'absolute',
|
|
28
|
+
left: '0',
|
|
29
|
+
top: '-C',
|
|
30
|
+
fontSize: '14px',
|
|
31
|
+
color: 'white .35',
|
|
39
32
|
text: ({ parent }) => parent.key
|
|
40
33
|
}
|
|
41
34
|
},
|
|
42
35
|
|
|
43
36
|
H1: {
|
|
44
|
-
|
|
45
|
-
|
|
37
|
+
hide: false,
|
|
38
|
+
Title: { text: 'Searched value:' },
|
|
46
39
|
text: ({ state }) => state.value
|
|
47
40
|
},
|
|
48
41
|
|
|
@@ -50,15 +43,18 @@ export const ComponentsPage = {
|
|
|
50
43
|
Avatar: {},
|
|
51
44
|
AvatarIndicator: {},
|
|
52
45
|
AvatarBundle: {
|
|
53
|
-
|
|
46
|
+
childExtends: 'Avatar',
|
|
54
47
|
...[{}, {}, {}]
|
|
55
48
|
},
|
|
56
49
|
AvatarChooser: {
|
|
57
|
-
options: [
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
50
|
+
options: [
|
|
51
|
+
{
|
|
52
|
+
text: 'Kevin'
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
text: 'John'
|
|
56
|
+
}
|
|
57
|
+
]
|
|
62
58
|
},
|
|
63
59
|
Hgroup: {
|
|
64
60
|
Title: { text: 'Title' },
|
|
@@ -114,13 +110,13 @@ export const ComponentsPage = {
|
|
|
114
110
|
UploadingProcess3: {},
|
|
115
111
|
UploadedProcess3: {},
|
|
116
112
|
ProgressCircle: {},
|
|
117
|
-
|
|
113
|
+
ProgresICircleWithIcon: {},
|
|
118
114
|
ProgressCircleWithUnitValue: {},
|
|
119
115
|
UploadingProcess4: {},
|
|
120
116
|
UploadedProcess4: {},
|
|
121
117
|
UploadModal4: {},
|
|
122
118
|
|
|
123
|
-
|
|
119
|
+
CheckboX: {},
|
|
124
120
|
Radio: {},
|
|
125
121
|
Toggle: {},
|
|
126
122
|
NumberInput: {},
|
|
@@ -134,7 +130,7 @@ export const ComponentsPage = {
|
|
|
134
130
|
ParagraphButton: {},
|
|
135
131
|
VerificationCode: {},
|
|
136
132
|
ResetPassword: {},
|
|
137
|
-
|
|
133
|
+
ParagraphButtonWithCheckboX: {},
|
|
138
134
|
ContactForm: {},
|
|
139
135
|
SignUp: {},
|
|
140
136
|
DoubleHr: {},
|
|
@@ -176,82 +172,72 @@ export const ComponentsPage = {
|
|
|
176
172
|
},
|
|
177
173
|
|
|
178
174
|
Flex_footer: {
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
'
|
|
188
|
-
|
|
189
|
-
|
|
175
|
+
position: 'fixed',
|
|
176
|
+
width: 'calc(100% - 70px)',
|
|
177
|
+
zIndex: '100',
|
|
178
|
+
bottom: '0',
|
|
179
|
+
right: '0',
|
|
180
|
+
align: 'center flex-end',
|
|
181
|
+
padding: '- B B -',
|
|
182
|
+
'@mobile': {
|
|
183
|
+
justifyContent: 'center',
|
|
184
|
+
padding: '- 20px 30px 20px'
|
|
185
|
+
},
|
|
186
|
+
Search: {
|
|
187
|
+
fontFamily: 'avenir',
|
|
188
|
+
fontWeight: '400',
|
|
189
|
+
round: 'D',
|
|
190
|
+
flow: 'row',
|
|
191
|
+
border: 'solid, #252527',
|
|
192
|
+
borderWidth: '1px',
|
|
193
|
+
width: 'G+D',
|
|
194
|
+
padding: 'Z A Z B',
|
|
195
|
+
position: 'relative',
|
|
196
|
+
Icon: {
|
|
197
|
+
boxSize: 'A+V A+V',
|
|
198
|
+
color: '#3F3F43'
|
|
190
199
|
},
|
|
191
|
-
|
|
200
|
+
Input: {
|
|
192
201
|
fontFamily: 'avenir',
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
Icon: {
|
|
202
|
-
boxSize: 'A+V A+V',
|
|
203
|
-
color: '#3F3F43'
|
|
204
|
-
},
|
|
205
|
-
input: {
|
|
206
|
-
fontFamily: 'avenir',
|
|
207
|
-
placeholder: 'find component . . .',
|
|
208
|
-
fontSize: 'A',
|
|
209
|
-
':focus ~ svg': { opacity: '0' }
|
|
210
|
-
},
|
|
211
|
-
x: {
|
|
212
|
-
color: 'white',
|
|
213
|
-
position: 'absolute',
|
|
214
|
-
right: 'A'
|
|
215
|
-
}
|
|
202
|
+
placeholder: 'find component . . .',
|
|
203
|
+
fontSize: 'A',
|
|
204
|
+
':focus ~ svg': { opacity: '0' }
|
|
205
|
+
},
|
|
206
|
+
X: {
|
|
207
|
+
color: 'white',
|
|
208
|
+
position: 'absolute',
|
|
209
|
+
right: 'A'
|
|
216
210
|
}
|
|
217
211
|
},
|
|
218
212
|
Search: {
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
background: 'transparent'
|
|
228
|
-
},
|
|
213
|
+
extends: 'SearchWithButton',
|
|
214
|
+
minWidth: 'G+C',
|
|
215
|
+
minHeight: 'C+X',
|
|
216
|
+
maxHeight: 'C+Z',
|
|
217
|
+
round: 'C',
|
|
218
|
+
padding: '- A+W - A+Y',
|
|
219
|
+
border: '1px solid #3F3F43',
|
|
220
|
+
background: 'transparent',
|
|
229
221
|
Input: {
|
|
230
222
|
props: {
|
|
231
223
|
fontSize: 'Z1',
|
|
232
224
|
placeholder: 'Find component ...',
|
|
233
225
|
':focus ~ svg': { opacity: '0' }
|
|
234
226
|
},
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
s.update({ value })
|
|
239
|
-
}
|
|
227
|
+
onKeyup: (event, el, s) => {
|
|
228
|
+
const value = el.node.value.toLowerCase()
|
|
229
|
+
s.update({ value })
|
|
240
230
|
}
|
|
241
231
|
},
|
|
242
232
|
Icon: {
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
color: '#3F3F43'
|
|
246
|
-
}
|
|
233
|
+
fontSize: 'C',
|
|
234
|
+
color: '#3F3F43'
|
|
247
235
|
},
|
|
248
236
|
Button: {
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
color: '#3F3F43'
|
|
254
|
-
}
|
|
237
|
+
position: 'absolute',
|
|
238
|
+
margin: 'auto',
|
|
239
|
+
right: 'Z',
|
|
240
|
+
color: '#3F3F43'
|
|
255
241
|
}
|
|
256
242
|
}
|
|
257
243
|
}
|
package/pages/Styleguide.js
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
import { Colors, Typography, Shadows, Icons, Spacing, Shapes } from '../articles'
|
|
4
4
|
|
|
5
5
|
export const Styleguide = {
|
|
6
|
-
|
|
6
|
+
extends: 'Flex',
|
|
7
7
|
tag: 'main',
|
|
8
8
|
|
|
9
9
|
props: {
|
|
@@ -18,7 +18,7 @@ export const Styleguide = {
|
|
|
18
18
|
}
|
|
19
19
|
},
|
|
20
20
|
|
|
21
|
-
|
|
21
|
+
childExtends: {
|
|
22
22
|
props: {
|
|
23
23
|
flow: 'column',
|
|
24
24
|
'> header': {
|