@pingux/astro 2.84.0-alpha.0 → 2.84.0-alpha.10
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/lib/cjs/components/Avatar/Avatar.js +43 -8
- package/lib/cjs/components/Avatar/Avatar.test.js +10 -1
- package/lib/cjs/components/CheckboxField/CheckboxField.stories.js +5 -3
- package/lib/cjs/components/CodeView/CodeView.js +5 -2
- package/lib/cjs/components/CodeView/CodeView.styles.d.ts +2 -1
- package/lib/cjs/components/CodeView/CodeView.styles.js +4 -3
- package/lib/cjs/components/Link/Link.js +3 -1
- package/lib/cjs/components/LinkSelectField/LinkSelectField.stories.js +3 -6
- package/lib/cjs/components/ListBox/ListBox.styles.js +6 -3
- package/lib/cjs/components/Menu/Menu.js +15 -3
- package/lib/cjs/components/Menu/Menu.test.js +23 -0
- package/lib/cjs/components/MenuItem/MenuItem.styles.d.ts +1 -0
- package/lib/cjs/components/MenuItem/MenuItem.styles.js +2 -1
- package/lib/cjs/components/MenuSection/MenuSection.d.ts +9 -0
- package/lib/cjs/components/MenuSection/MenuSection.js +76 -0
- package/lib/cjs/components/MenuSection/MenuSection.styles.d.ts +21 -0
- package/lib/cjs/components/MenuSection/MenuSection.styles.js +35 -0
- package/lib/cjs/components/MenuSection/MenuSection.test.d.ts +1 -0
- package/lib/cjs/components/MenuSection/MenuSection.test.js +100 -0
- package/lib/cjs/components/MenuSection/index.d.ts +1 -0
- package/lib/cjs/components/MenuSection/index.js +14 -0
- package/lib/cjs/components/PopoverMenu/PopoverMenu.stories.d.ts +2 -0
- package/lib/cjs/components/PopoverMenu/PopoverMenu.stories.js +73 -5
- package/lib/cjs/components/SelectField/SelectField.stories.js +3 -6
- package/lib/cjs/components/SwitchField/SwitchField.d.ts +4 -0
- package/lib/cjs/components/SwitchField/SwitchField.js +12 -32
- package/lib/cjs/components/SwitchField/SwitchField.stories.d.ts +11 -0
- package/lib/cjs/components/SwitchField/SwitchField.stories.js +4 -2
- package/lib/cjs/components/SwitchField/SwitchField.test.d.ts +1 -0
- package/lib/cjs/components/SwitchField/index.d.ts +1 -0
- package/lib/cjs/components/SwitchField/switchFieldAttributes.d.ts +94 -0
- package/lib/cjs/components/SwitchField/switchFieldAttributes.js +2 -30
- package/lib/cjs/components/Tabs/Tabs.js +0 -1
- package/lib/cjs/components/Tabs/Tabs.style.d.ts +1 -0
- package/lib/cjs/components/Tabs/Tabs.style.js +2 -1
- package/lib/cjs/components/TimeField/TimeField.stories.js +2 -2
- package/lib/cjs/styles/theme.js +5 -1
- package/lib/cjs/styles/themes/next-gen/codeView/codeView.d.ts +105 -0
- package/lib/cjs/styles/themes/next-gen/codeView/codeView.js +134 -0
- package/lib/cjs/styles/themes/next-gen/convertedComponentList.js +1 -1
- package/lib/cjs/styles/themes/next-gen/next-gen.d.ts +344 -36
- package/lib/cjs/styles/themes/next-gen/next-gen.js +24 -4
- package/lib/cjs/styles/themes/next-gen/sizes.d.ts +18 -0
- package/lib/cjs/styles/themes/next-gen/sizes.js +27 -0
- package/lib/cjs/styles/themes/next-gen/spacing.d.ts +9 -0
- package/lib/cjs/styles/themes/next-gen/spacing.js +17 -0
- package/lib/cjs/styles/themes/next-gen/text.d.ts +8 -2
- package/lib/cjs/styles/themes/next-gen/text.js +16 -13
- package/lib/cjs/styles/themes/next-gen/variants/button.d.ts +36 -3
- package/lib/cjs/styles/themes/next-gen/variants/button.js +25 -5
- package/lib/cjs/styles/themes/next-gen/variants/cards.d.ts +20 -0
- package/lib/cjs/styles/themes/next-gen/variants/cards.js +28 -0
- package/lib/cjs/styles/themes/next-gen/variants/images.d.ts +4 -0
- package/lib/cjs/styles/themes/next-gen/variants/images.js +12 -0
- package/lib/cjs/styles/themes/next-gen/variants/links.d.ts +56 -0
- package/lib/cjs/styles/themes/next-gen/variants/links.js +62 -0
- package/lib/cjs/styles/themes/next-gen/variants/text.d.ts +7 -0
- package/lib/cjs/styles/themes/next-gen/variants/text.js +9 -2
- package/lib/cjs/styles/themes/next-gen/variants/variants.d.ts +82 -31
- package/lib/cjs/styles/themes/next-gen/variants/variants.js +91 -30
- package/lib/cjs/styles/variants/variants.js +2 -0
- package/lib/cjs/types/avatar.d.ts +5 -1
- package/lib/cjs/types/checkboxField.d.ts +3 -1
- package/lib/cjs/types/codeView.d.ts +1 -0
- package/lib/cjs/types/index.d.ts +2 -0
- package/lib/cjs/types/index.js +43 -21
- package/lib/cjs/types/link.d.ts +1 -0
- package/lib/cjs/types/menu.d.ts +1 -1
- package/lib/cjs/types/menuItem.d.ts +1 -1
- package/lib/cjs/types/menuSection.d.ts +24 -0
- package/lib/cjs/types/menuSection.js +6 -0
- package/lib/cjs/types/switchField.d.ts +29 -0
- package/lib/cjs/types/switchField.js +6 -0
- package/lib/components/Avatar/Avatar.js +44 -7
- package/lib/components/Avatar/Avatar.test.js +10 -1
- package/lib/components/CheckboxField/CheckboxField.stories.js +5 -3
- package/lib/components/CodeView/CodeView.js +5 -2
- package/lib/components/CodeView/CodeView.styles.js +4 -3
- package/lib/components/Link/Link.js +3 -1
- package/lib/components/LinkSelectField/LinkSelectField.stories.js +4 -7
- package/lib/components/ListBox/ListBox.styles.js +6 -3
- package/lib/components/Menu/Menu.js +15 -3
- package/lib/components/Menu/Menu.test.js +24 -1
- package/lib/components/MenuItem/MenuItem.styles.js +2 -1
- package/lib/components/MenuSection/MenuSection.js +64 -0
- package/lib/components/MenuSection/MenuSection.styles.js +27 -0
- package/lib/components/MenuSection/MenuSection.test.js +97 -0
- package/lib/components/MenuSection/index.js +1 -0
- package/lib/components/PopoverMenu/PopoverMenu.stories.js +70 -4
- package/lib/components/SelectField/SelectField.stories.js +4 -7
- package/lib/components/SwitchField/SwitchField.js +14 -34
- package/lib/components/SwitchField/SwitchField.stories.js +4 -2
- package/lib/components/SwitchField/switchFieldAttributes.js +1 -28
- package/lib/components/Tabs/Tabs.js +0 -1
- package/lib/components/Tabs/Tabs.style.js +2 -1
- package/lib/components/TimeField/TimeField.stories.js +2 -2
- package/lib/styles/theme.js +5 -1
- package/lib/styles/themes/next-gen/codeView/codeView.js +126 -0
- package/lib/styles/themes/next-gen/convertedComponentList.js +1 -1
- package/lib/styles/themes/next-gen/next-gen.js +24 -4
- package/lib/styles/themes/next-gen/sizes.js +19 -0
- package/lib/styles/themes/next-gen/spacing.js +9 -0
- package/lib/styles/themes/next-gen/text.js +16 -13
- package/lib/styles/themes/next-gen/variants/button.js +25 -5
- package/lib/styles/themes/next-gen/variants/cards.js +20 -0
- package/lib/styles/themes/next-gen/variants/images.js +4 -0
- package/lib/styles/themes/next-gen/variants/links.js +54 -0
- package/lib/styles/themes/next-gen/variants/text.js +9 -2
- package/lib/styles/themes/next-gen/variants/variants.js +91 -30
- package/lib/styles/variants/variants.js +2 -0
- package/lib/types/index.js +2 -0
- package/lib/types/menuSection.js +1 -0
- package/lib/types/switchField.js +1 -0
- package/package.json +1 -1
- package/lib/cjs/recipes/NextGen/DefaultAvatar.stories.d.ts +0 -6
- package/lib/cjs/recipes/NextGen/DefaultAvatar.stories.js +0 -41
- package/lib/recipes/NextGen/DefaultAvatar.stories.js +0 -31
@@ -0,0 +1,134 @@
|
|
1
|
+
"use strict";
|
2
|
+
|
3
|
+
var _Object$defineProperty = require("@babel/runtime-corejs3/core-js-stable/object/define-property");
|
4
|
+
_Object$defineProperty(exports, "__esModule", {
|
5
|
+
value: true
|
6
|
+
});
|
7
|
+
exports["default"] = void 0;
|
8
|
+
var nextGenCodeViewTheme = {
|
9
|
+
plain: {
|
10
|
+
color: '#f8f8f2',
|
11
|
+
backgroundColor: '#272822'
|
12
|
+
},
|
13
|
+
styles: [{
|
14
|
+
types: ['comment', 'prolog', 'doctype', 'cdata'],
|
15
|
+
style: {
|
16
|
+
color: '#93a1a1'
|
17
|
+
}
|
18
|
+
}, {
|
19
|
+
types: ['punctuation'],
|
20
|
+
style: {
|
21
|
+
color: '#999999'
|
22
|
+
}
|
23
|
+
}, {
|
24
|
+
types: ['deleted', 'property', 'tag', 'boolean', 'number', 'constant', 'symbol'],
|
25
|
+
style: {
|
26
|
+
color: '#c792ea'
|
27
|
+
}
|
28
|
+
}, {
|
29
|
+
types: ['inserted', 'selector', 'string', 'char', 'builtin', 'inserted', 'attr-name'],
|
30
|
+
style: {
|
31
|
+
color: '#A1C281'
|
32
|
+
}
|
33
|
+
}, {
|
34
|
+
types: ['operator', 'entity', 'url', 'language-css', 'style'],
|
35
|
+
style: {
|
36
|
+
color: '#dfc084',
|
37
|
+
background: 'transparent'
|
38
|
+
}
|
39
|
+
}, {
|
40
|
+
types: ['atrule', 'attr-value', 'keyword'],
|
41
|
+
style: {
|
42
|
+
color: '#c792ea'
|
43
|
+
}
|
44
|
+
}, {
|
45
|
+
types: ['function'],
|
46
|
+
style: {
|
47
|
+
color: '#53bcfd'
|
48
|
+
}
|
49
|
+
}, {
|
50
|
+
types: ['regex', 'important', 'variable'],
|
51
|
+
style: {
|
52
|
+
color: '#f07178'
|
53
|
+
}
|
54
|
+
}, {
|
55
|
+
types: ['important', 'bold'],
|
56
|
+
style: {
|
57
|
+
fontWeight: 'bold'
|
58
|
+
}
|
59
|
+
}, {
|
60
|
+
types: ['entity'],
|
61
|
+
style: {
|
62
|
+
cursor: 'help'
|
63
|
+
}
|
64
|
+
}]
|
65
|
+
};
|
66
|
+
var nextGenCodeViewWrapper = {
|
67
|
+
bg: 'accent.99',
|
68
|
+
border: '1px solid',
|
69
|
+
borderColor: 'accent.95',
|
70
|
+
width: 400,
|
71
|
+
height: 200,
|
72
|
+
my: 'xs',
|
73
|
+
overflow: 'auto',
|
74
|
+
alignItems: 'center',
|
75
|
+
'&.is-focused, &:focus': {
|
76
|
+
boxShadow: 'focus',
|
77
|
+
outline: 'none'
|
78
|
+
},
|
79
|
+
pre: {
|
80
|
+
backgroundColor: 'transparent',
|
81
|
+
padding: '1em',
|
82
|
+
height: '100%',
|
83
|
+
width: '100%',
|
84
|
+
overflowX: 'hidden',
|
85
|
+
overflowY: 'auto',
|
86
|
+
fontSize: '13px',
|
87
|
+
'& .token-line': {
|
88
|
+
display: 'block',
|
89
|
+
alignItems: 'center',
|
90
|
+
'& .token': {
|
91
|
+
whiteSpace: 'pre-wrap',
|
92
|
+
wordBreak: 'break-all'
|
93
|
+
}
|
94
|
+
},
|
95
|
+
fontFamily: 'codeView',
|
96
|
+
lineHeight: 'md'
|
97
|
+
},
|
98
|
+
'&.has-no-copy-button': {
|
99
|
+
pre: {
|
100
|
+
p: 'sm'
|
101
|
+
}
|
102
|
+
},
|
103
|
+
'&.has-line-numbers': {
|
104
|
+
pre: {
|
105
|
+
p: '0 10px 0 0',
|
106
|
+
overflow: 'auto',
|
107
|
+
'& .token-line:first-of-type *': {
|
108
|
+
pt: 'sm'
|
109
|
+
},
|
110
|
+
'& .token-line': {
|
111
|
+
display: 'flex',
|
112
|
+
'& .token': {
|
113
|
+
whiteSpace: 'pre'
|
114
|
+
}
|
115
|
+
}
|
116
|
+
}
|
117
|
+
}
|
118
|
+
};
|
119
|
+
var lineNo = {
|
120
|
+
display: 'table-cell',
|
121
|
+
userSelect: 'none',
|
122
|
+
px: 'xs',
|
123
|
+
m: '0 10px 0 0',
|
124
|
+
bg: 'accent.30',
|
125
|
+
minWidth: 26,
|
126
|
+
color: 'white',
|
127
|
+
lineHeight: '20px'
|
128
|
+
};
|
129
|
+
var _default = {
|
130
|
+
theme: nextGenCodeViewTheme,
|
131
|
+
wrapper: nextGenCodeViewWrapper,
|
132
|
+
lineNo: lineNo
|
133
|
+
};
|
134
|
+
exports["default"] = _default;
|
@@ -5,6 +5,6 @@ _Object$defineProperty(exports, "__esModule", {
|
|
5
5
|
value: true
|
6
6
|
});
|
7
7
|
exports["default"] = void 0;
|
8
|
-
var nextGenConvertedComponents = ['DataTable', 'Message', 'Button', 'Badge', 'IconButton', 'CheckboxField', 'Messages', 'PopoverMenu', 'TextField', 'PasswordField', 'SearchField', 'SelectField', 'Modal', 'RadioField', 'MultiValuesField', 'TextAreaField', 'RadioGroupField', 'Tabs', 'ProgressBar', 'NavBar', 'OverlayPanel', 'AstroProvider', 'ListView'];
|
8
|
+
var nextGenConvertedComponents = ['DataTable', 'Message', 'Button', 'Badge', 'IconButton', 'CheckboxField', 'Messages', 'PopoverMenu', 'TextField', 'PasswordField', 'SearchField', 'SelectField', 'Modal', 'RadioField', 'MultiValuesField', 'TextAreaField', 'RadioGroupField', 'Tabs', 'ProgressBar', 'NavBar', 'OverlayPanel', 'AstroProvider', 'ListView', 'Avatar', 'MultivaluesField', 'Text', 'Link', 'Card'];
|
9
9
|
var _default = nextGenConvertedComponents;
|
10
10
|
exports["default"] = _default;
|
@@ -1,5 +1,6 @@
|
|
1
1
|
import './open_sans.css';
|
2
2
|
declare const _default: {
|
3
|
+
breakpoints: string[];
|
3
4
|
name: string;
|
4
5
|
colors: {
|
5
6
|
critical: {
|
@@ -197,11 +198,12 @@ declare const _default: {
|
|
197
198
|
buttons: {
|
198
199
|
neutral: {
|
199
200
|
'&.is-pressed': {
|
200
|
-
|
201
|
+
color: string;
|
201
202
|
};
|
202
203
|
'&.is-hovered': {
|
203
|
-
|
204
|
+
borderColor: string;
|
204
205
|
};
|
206
|
+
transition: string;
|
205
207
|
alignItems: string;
|
206
208
|
justifyContent: string;
|
207
209
|
minWidth: string;
|
@@ -230,7 +232,6 @@ declare const _default: {
|
|
230
232
|
outlineColor: string;
|
231
233
|
outlineOffset: string;
|
232
234
|
};
|
233
|
-
transition: string;
|
234
235
|
color: string;
|
235
236
|
};
|
236
237
|
primary: {
|
@@ -613,6 +614,7 @@ declare const _default: {
|
|
613
614
|
};
|
614
615
|
iconButtons: {
|
615
616
|
base: {
|
617
|
+
cursor: string;
|
616
618
|
transition: string;
|
617
619
|
outline: string;
|
618
620
|
borderRadius: string;
|
@@ -696,6 +698,7 @@ declare const _default: {
|
|
696
698
|
position: string;
|
697
699
|
top: number;
|
698
700
|
right: number;
|
701
|
+
cursor: string;
|
699
702
|
transition: string;
|
700
703
|
outline: string;
|
701
704
|
borderRadius: string;
|
@@ -759,6 +762,7 @@ declare const _default: {
|
|
759
762
|
};
|
760
763
|
};
|
761
764
|
messageCloseButton: {
|
765
|
+
cursor: string;
|
762
766
|
transition: string;
|
763
767
|
outline: string;
|
764
768
|
borderRadius: string;
|
@@ -786,11 +790,41 @@ declare const _default: {
|
|
786
790
|
};
|
787
791
|
};
|
788
792
|
};
|
793
|
+
headerNav: {
|
794
|
+
borderRadius: string;
|
795
|
+
path: {
|
796
|
+
fill: string;
|
797
|
+
};
|
798
|
+
px: string;
|
799
|
+
py: string;
|
800
|
+
width: string;
|
801
|
+
'&.is-hovered': {
|
802
|
+
path: {
|
803
|
+
fill: string;
|
804
|
+
};
|
805
|
+
};
|
806
|
+
'&.is-pressed': {
|
807
|
+
path: {
|
808
|
+
fill: string;
|
809
|
+
};
|
810
|
+
};
|
811
|
+
cursor: string;
|
812
|
+
transition: string;
|
813
|
+
outline: string;
|
814
|
+
border: string;
|
815
|
+
borderColor: string;
|
816
|
+
'&.is-focused': {
|
817
|
+
outline: string;
|
818
|
+
outlineColor: string;
|
819
|
+
outlineOffset: string;
|
820
|
+
};
|
821
|
+
};
|
789
822
|
};
|
790
823
|
modalCloseButton: {
|
791
824
|
position: string;
|
792
825
|
top: number;
|
793
826
|
right: number;
|
827
|
+
cursor: string;
|
794
828
|
transition: string;
|
795
829
|
outline: string;
|
796
830
|
borderRadius: string;
|
@@ -939,8 +973,14 @@ declare const _default: {
|
|
939
973
|
};
|
940
974
|
};
|
941
975
|
fontSizes: {
|
942
|
-
|
943
|
-
|
976
|
+
avatar: {
|
977
|
+
sm: string;
|
978
|
+
md: string;
|
979
|
+
lg: string;
|
980
|
+
xl: string;
|
981
|
+
};
|
982
|
+
xs: string;
|
983
|
+
sm: string;
|
944
984
|
md: string;
|
945
985
|
lg: string;
|
946
986
|
xl: string;
|
@@ -956,6 +996,7 @@ declare const _default: {
|
|
956
996
|
};
|
957
997
|
lineHeights: {
|
958
998
|
body: string;
|
999
|
+
md: string;
|
959
1000
|
};
|
960
1001
|
text: {
|
961
1002
|
h1: {
|
@@ -1005,6 +1046,7 @@ declare const _default: {
|
|
1005
1046
|
};
|
1006
1047
|
placeholder: {
|
1007
1048
|
color: string;
|
1049
|
+
fontWeight: number;
|
1008
1050
|
};
|
1009
1051
|
paragraph: {
|
1010
1052
|
lineHeight: string;
|
@@ -1012,11 +1054,35 @@ declare const _default: {
|
|
1012
1054
|
listViewItemText: {
|
1013
1055
|
fontWeight: number;
|
1014
1056
|
};
|
1057
|
+
small: {
|
1058
|
+
fontSize: string;
|
1059
|
+
color: string;
|
1060
|
+
fontFamily: string;
|
1061
|
+
lineHeight: string;
|
1062
|
+
};
|
1015
1063
|
};
|
1016
1064
|
fonts: {
|
1017
1065
|
standard: string;
|
1018
1066
|
body: string;
|
1019
1067
|
heading: string;
|
1068
|
+
codeView: string;
|
1069
|
+
};
|
1070
|
+
sizes: {
|
1071
|
+
avatar: {
|
1072
|
+
sm: string;
|
1073
|
+
md: string;
|
1074
|
+
lg: string;
|
1075
|
+
xl: string;
|
1076
|
+
};
|
1077
|
+
container: {
|
1078
|
+
xs: string[];
|
1079
|
+
sm: string[];
|
1080
|
+
md: string[];
|
1081
|
+
lg: string[];
|
1082
|
+
xl: string[];
|
1083
|
+
xx: string[];
|
1084
|
+
fluid: string[];
|
1085
|
+
};
|
1020
1086
|
};
|
1021
1087
|
badges: {
|
1022
1088
|
primary: {
|
@@ -1194,6 +1260,88 @@ declare const _default: {
|
|
1194
1260
|
};
|
1195
1261
|
};
|
1196
1262
|
};
|
1263
|
+
space: {
|
1264
|
+
xs: string;
|
1265
|
+
sm: string;
|
1266
|
+
md: string;
|
1267
|
+
lg: string;
|
1268
|
+
xl: string;
|
1269
|
+
xx: string;
|
1270
|
+
};
|
1271
|
+
links: {
|
1272
|
+
nextGen: {
|
1273
|
+
color: string;
|
1274
|
+
fontSize: string;
|
1275
|
+
py: string;
|
1276
|
+
px: string;
|
1277
|
+
textDecoration: string;
|
1278
|
+
borderRadius: string;
|
1279
|
+
lineHeight: string;
|
1280
|
+
minHeight: string;
|
1281
|
+
fontFamily: string;
|
1282
|
+
'&.is-hovered': {
|
1283
|
+
color: string;
|
1284
|
+
};
|
1285
|
+
'&.is-pressed': {
|
1286
|
+
color: string;
|
1287
|
+
};
|
1288
|
+
};
|
1289
|
+
sideNav: {
|
1290
|
+
px: string;
|
1291
|
+
display: string;
|
1292
|
+
position: string;
|
1293
|
+
'&:before': {
|
1294
|
+
position: string;
|
1295
|
+
display: string;
|
1296
|
+
borderRadius: string;
|
1297
|
+
content: string;
|
1298
|
+
top: string;
|
1299
|
+
right: string;
|
1300
|
+
bottom: number;
|
1301
|
+
left: string;
|
1302
|
+
transition: string;
|
1303
|
+
};
|
1304
|
+
'&.is-selected': {
|
1305
|
+
color: string;
|
1306
|
+
'&:before': {
|
1307
|
+
backgroundColor: string;
|
1308
|
+
};
|
1309
|
+
};
|
1310
|
+
color: string;
|
1311
|
+
fontSize: string;
|
1312
|
+
py: string;
|
1313
|
+
textDecoration: string;
|
1314
|
+
borderRadius: string;
|
1315
|
+
lineHeight: string;
|
1316
|
+
minHeight: string;
|
1317
|
+
fontFamily: string;
|
1318
|
+
'&.is-hovered': {
|
1319
|
+
color: string;
|
1320
|
+
};
|
1321
|
+
'&.is-pressed': {
|
1322
|
+
color: string;
|
1323
|
+
};
|
1324
|
+
};
|
1325
|
+
};
|
1326
|
+
cards: {
|
1327
|
+
interactive: {
|
1328
|
+
boxShadow: string;
|
1329
|
+
borderRadius: string;
|
1330
|
+
border: string;
|
1331
|
+
borderColor: string;
|
1332
|
+
transition: string;
|
1333
|
+
'&.is-focused': {
|
1334
|
+
outline: string;
|
1335
|
+
outlineColor: string;
|
1336
|
+
outlineOffset: string;
|
1337
|
+
};
|
1338
|
+
'&.is-hovered': {
|
1339
|
+
outline: string;
|
1340
|
+
borderColor: string;
|
1341
|
+
bg: string;
|
1342
|
+
};
|
1343
|
+
};
|
1344
|
+
};
|
1197
1345
|
variants: {
|
1198
1346
|
navBar: {
|
1199
1347
|
container: {
|
@@ -1407,6 +1555,9 @@ declare const _default: {
|
|
1407
1555
|
color: string;
|
1408
1556
|
bg: string;
|
1409
1557
|
pl: number;
|
1558
|
+
'&.is-focused': {
|
1559
|
+
color: string;
|
1560
|
+
};
|
1410
1561
|
};
|
1411
1562
|
};
|
1412
1563
|
};
|
@@ -1434,44 +1585,60 @@ declare const _default: {
|
|
1434
1585
|
bg: string;
|
1435
1586
|
};
|
1436
1587
|
};
|
1588
|
+
separator: {
|
1589
|
+
my: string;
|
1590
|
+
};
|
1437
1591
|
};
|
1438
1592
|
avatar: {
|
1439
|
-
|
1440
|
-
|
1441
|
-
|
1442
|
-
|
1443
|
-
|
1444
|
-
|
1445
|
-
fontSize: string;
|
1593
|
+
backgroundColor: string;
|
1594
|
+
color: string;
|
1595
|
+
cursor: string;
|
1596
|
+
'&.is-orange': {
|
1597
|
+
backgroundColor: string;
|
1598
|
+
color: string;
|
1446
1599
|
};
|
1447
|
-
|
1448
|
-
|
1449
|
-
|
1450
|
-
textAlign: string;
|
1451
|
-
justifyContent: string;
|
1452
|
-
fontFamily: string;
|
1453
|
-
size: string;
|
1600
|
+
'&.is-green': {
|
1601
|
+
backgroundColor: string;
|
1602
|
+
color: string;
|
1454
1603
|
};
|
1455
|
-
|
1456
|
-
|
1457
|
-
|
1458
|
-
textAlign: string;
|
1459
|
-
justifyContent: string;
|
1460
|
-
fontFamily: string;
|
1461
|
-
size: string;
|
1604
|
+
'&.is-purple': {
|
1605
|
+
backgroundColor: string;
|
1606
|
+
color: string;
|
1462
1607
|
};
|
1463
|
-
|
1464
|
-
|
1465
|
-
|
1466
|
-
textAlign: string;
|
1467
|
-
justifyContent: string;
|
1468
|
-
fontFamily: string;
|
1469
|
-
size: string;
|
1608
|
+
'&.is-pink': {
|
1609
|
+
backgroundColor: string;
|
1610
|
+
color: string;
|
1470
1611
|
};
|
1612
|
+
'&.is-red': {
|
1613
|
+
backgroundColor: string;
|
1614
|
+
color: string;
|
1615
|
+
};
|
1616
|
+
'&.is-yellow': {
|
1617
|
+
backgroundColor: string;
|
1618
|
+
color: string;
|
1619
|
+
};
|
1620
|
+
'&.is-cyan': {
|
1621
|
+
backgroundColor: string;
|
1622
|
+
color: string;
|
1623
|
+
};
|
1624
|
+
'&.is-teal': {
|
1625
|
+
backgroundColor: string;
|
1626
|
+
color: string;
|
1627
|
+
};
|
1628
|
+
display: string;
|
1629
|
+
borderRadius: string;
|
1630
|
+
textAlign: string;
|
1631
|
+
alignItems: string;
|
1632
|
+
justifyContent: string;
|
1633
|
+
fontFamily: string;
|
1471
1634
|
};
|
1472
1635
|
listViewItem: {
|
1636
|
+
rightOfData: {
|
1637
|
+
flexShrink: number;
|
1638
|
+
whiteSpace: string;
|
1639
|
+
};
|
1473
1640
|
iconContainer: {
|
1474
|
-
|
1641
|
+
ml: string;
|
1475
1642
|
};
|
1476
1643
|
styledListItem: {
|
1477
1644
|
bg: string;
|
@@ -1532,8 +1699,17 @@ declare const _default: {
|
|
1532
1699
|
borderRadius: string;
|
1533
1700
|
border: string;
|
1534
1701
|
borderColor: string;
|
1535
|
-
'& > div': {
|
1536
|
-
|
1702
|
+
'& > div > div': {
|
1703
|
+
'& > div:first-of-type': {
|
1704
|
+
'& > div > div': {
|
1705
|
+
borderRadius: string;
|
1706
|
+
};
|
1707
|
+
};
|
1708
|
+
'& > div:last-of-type': {
|
1709
|
+
'& > div > div': {
|
1710
|
+
borderRadius: string;
|
1711
|
+
};
|
1712
|
+
};
|
1537
1713
|
};
|
1538
1714
|
};
|
1539
1715
|
};
|
@@ -1564,6 +1740,138 @@ declare const _default: {
|
|
1564
1740
|
fontSize: string;
|
1565
1741
|
};
|
1566
1742
|
};
|
1743
|
+
codeView: {
|
1744
|
+
wrapper: {
|
1745
|
+
backgroundColor: string;
|
1746
|
+
borderRadius: string;
|
1747
|
+
'> button >svg': {
|
1748
|
+
color: string;
|
1749
|
+
path: {
|
1750
|
+
fill: string;
|
1751
|
+
};
|
1752
|
+
};
|
1753
|
+
'> pre': {
|
1754
|
+
p: string;
|
1755
|
+
};
|
1756
|
+
};
|
1757
|
+
};
|
1758
|
+
tabs: {
|
1759
|
+
gap: string;
|
1760
|
+
};
|
1761
|
+
menu: {
|
1762
|
+
p: string;
|
1763
|
+
border: string;
|
1764
|
+
borderColor: string;
|
1765
|
+
};
|
1766
|
+
};
|
1767
|
+
images: {
|
1768
|
+
avatar: {};
|
1769
|
+
};
|
1770
|
+
overrides: {
|
1771
|
+
codeView: {
|
1772
|
+
theme: {
|
1773
|
+
plain: {
|
1774
|
+
color: string;
|
1775
|
+
backgroundColor: string;
|
1776
|
+
};
|
1777
|
+
styles: ({
|
1778
|
+
types: string[];
|
1779
|
+
style: {
|
1780
|
+
color: string;
|
1781
|
+
background?: undefined;
|
1782
|
+
fontWeight?: undefined;
|
1783
|
+
cursor?: undefined;
|
1784
|
+
};
|
1785
|
+
} | {
|
1786
|
+
types: string[];
|
1787
|
+
style: {
|
1788
|
+
color: string;
|
1789
|
+
background: string;
|
1790
|
+
fontWeight?: undefined;
|
1791
|
+
cursor?: undefined;
|
1792
|
+
};
|
1793
|
+
} | {
|
1794
|
+
types: string[];
|
1795
|
+
style: {
|
1796
|
+
fontWeight: string;
|
1797
|
+
color?: undefined;
|
1798
|
+
background?: undefined;
|
1799
|
+
cursor?: undefined;
|
1800
|
+
};
|
1801
|
+
} | {
|
1802
|
+
types: string[];
|
1803
|
+
style: {
|
1804
|
+
cursor: string;
|
1805
|
+
color?: undefined;
|
1806
|
+
background?: undefined;
|
1807
|
+
fontWeight?: undefined;
|
1808
|
+
};
|
1809
|
+
})[];
|
1810
|
+
};
|
1811
|
+
wrapper: {
|
1812
|
+
bg: string;
|
1813
|
+
border: string;
|
1814
|
+
borderColor: string;
|
1815
|
+
width: number;
|
1816
|
+
height: number;
|
1817
|
+
my: string;
|
1818
|
+
overflow: string;
|
1819
|
+
alignItems: string;
|
1820
|
+
'&.is-focused, &:focus': {
|
1821
|
+
boxShadow: string;
|
1822
|
+
outline: string;
|
1823
|
+
};
|
1824
|
+
pre: {
|
1825
|
+
backgroundColor: string;
|
1826
|
+
padding: string;
|
1827
|
+
height: string;
|
1828
|
+
width: string;
|
1829
|
+
overflowX: string;
|
1830
|
+
overflowY: string;
|
1831
|
+
fontSize: string;
|
1832
|
+
'& .token-line': {
|
1833
|
+
display: string;
|
1834
|
+
alignItems: string;
|
1835
|
+
'& .token': {
|
1836
|
+
whiteSpace: string;
|
1837
|
+
wordBreak: string;
|
1838
|
+
};
|
1839
|
+
};
|
1840
|
+
fontFamily: string;
|
1841
|
+
lineHeight: string;
|
1842
|
+
};
|
1843
|
+
'&.has-no-copy-button': {
|
1844
|
+
pre: {
|
1845
|
+
p: string;
|
1846
|
+
};
|
1847
|
+
};
|
1848
|
+
'&.has-line-numbers': {
|
1849
|
+
pre: {
|
1850
|
+
p: string;
|
1851
|
+
overflow: string;
|
1852
|
+
'& .token-line:first-of-type *': {
|
1853
|
+
pt: string;
|
1854
|
+
};
|
1855
|
+
'& .token-line': {
|
1856
|
+
display: string;
|
1857
|
+
'& .token': {
|
1858
|
+
whiteSpace: string;
|
1859
|
+
};
|
1860
|
+
};
|
1861
|
+
};
|
1862
|
+
};
|
1863
|
+
};
|
1864
|
+
lineNo: {
|
1865
|
+
display: string;
|
1866
|
+
userSelect: string;
|
1867
|
+
px: string;
|
1868
|
+
m: string;
|
1869
|
+
bg: string;
|
1870
|
+
minWidth: number;
|
1871
|
+
color: string;
|
1872
|
+
lineHeight: string;
|
1873
|
+
};
|
1874
|
+
};
|
1567
1875
|
};
|
1568
1876
|
};
|
1569
1877
|
export default _default;
|