@pingux/astro 2.84.0-alpha.1 → 2.84.0-alpha.3
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/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/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/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/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 +278 -6
- package/lib/cjs/styles/themes/next-gen/next-gen.js +31 -4
- 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 +2 -2
- package/lib/cjs/styles/themes/next-gen/text.js +8 -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/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 +31 -1
- package/lib/cjs/styles/themes/next-gen/variants/variants.js +38 -5
- package/lib/cjs/styles/variants/variants.js +2 -0
- package/lib/cjs/types/codeView.d.ts +1 -0
- package/lib/cjs/types/index.d.ts +1 -0
- package/lib/cjs/types/index.js +32 -21
- package/lib/cjs/types/link.d.ts +1 -0
- package/lib/cjs/types/menuSection.d.ts +24 -0
- package/lib/cjs/types/menuSection.js +6 -0
- 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/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/Tabs/Tabs.js +0 -1
- package/lib/components/Tabs/Tabs.style.js +2 -1
- 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 +31 -4
- package/lib/styles/themes/next-gen/spacing.js +9 -0
- package/lib/styles/themes/next-gen/text.js +8 -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/links.js +54 -0
- package/lib/styles/themes/next-gen/variants/text.js +9 -2
- package/lib/styles/themes/next-gen/variants/variants.js +38 -5
- package/lib/styles/variants/variants.js +2 -0
- package/lib/types/index.js +1 -0
- package/lib/types/menuSection.js +1 -0
- package/package.json +1 -1
@@ -0,0 +1,105 @@
|
|
1
|
+
declare const _default: {
|
2
|
+
theme: {
|
3
|
+
plain: {
|
4
|
+
color: string;
|
5
|
+
backgroundColor: string;
|
6
|
+
};
|
7
|
+
styles: ({
|
8
|
+
types: string[];
|
9
|
+
style: {
|
10
|
+
color: string;
|
11
|
+
background?: undefined;
|
12
|
+
fontWeight?: undefined;
|
13
|
+
cursor?: undefined;
|
14
|
+
};
|
15
|
+
} | {
|
16
|
+
types: string[];
|
17
|
+
style: {
|
18
|
+
color: string;
|
19
|
+
background: string;
|
20
|
+
fontWeight?: undefined;
|
21
|
+
cursor?: undefined;
|
22
|
+
};
|
23
|
+
} | {
|
24
|
+
types: string[];
|
25
|
+
style: {
|
26
|
+
fontWeight: string;
|
27
|
+
color?: undefined;
|
28
|
+
background?: undefined;
|
29
|
+
cursor?: undefined;
|
30
|
+
};
|
31
|
+
} | {
|
32
|
+
types: string[];
|
33
|
+
style: {
|
34
|
+
cursor: string;
|
35
|
+
color?: undefined;
|
36
|
+
background?: undefined;
|
37
|
+
fontWeight?: undefined;
|
38
|
+
};
|
39
|
+
})[];
|
40
|
+
};
|
41
|
+
wrapper: {
|
42
|
+
bg: string;
|
43
|
+
border: string;
|
44
|
+
borderColor: string;
|
45
|
+
width: number;
|
46
|
+
height: number;
|
47
|
+
my: string;
|
48
|
+
overflow: string;
|
49
|
+
alignItems: string;
|
50
|
+
'&.is-focused, &:focus': {
|
51
|
+
boxShadow: string;
|
52
|
+
outline: string;
|
53
|
+
};
|
54
|
+
pre: {
|
55
|
+
backgroundColor: string;
|
56
|
+
padding: string;
|
57
|
+
height: string;
|
58
|
+
width: string;
|
59
|
+
overflowX: string;
|
60
|
+
overflowY: string;
|
61
|
+
fontSize: string;
|
62
|
+
'& .token-line': {
|
63
|
+
display: string;
|
64
|
+
alignItems: string;
|
65
|
+
'& .token': {
|
66
|
+
whiteSpace: string;
|
67
|
+
wordBreak: string;
|
68
|
+
};
|
69
|
+
};
|
70
|
+
fontFamily: string;
|
71
|
+
lineHeight: number;
|
72
|
+
};
|
73
|
+
'&.has-no-copy-button': {
|
74
|
+
pre: {
|
75
|
+
p: string;
|
76
|
+
};
|
77
|
+
};
|
78
|
+
'&.has-line-numbers': {
|
79
|
+
pre: {
|
80
|
+
p: string;
|
81
|
+
overflow: string;
|
82
|
+
'& .token-line:first-of-type *': {
|
83
|
+
pt: string;
|
84
|
+
};
|
85
|
+
'& .token-line': {
|
86
|
+
display: string;
|
87
|
+
'& .token': {
|
88
|
+
whiteSpace: string;
|
89
|
+
};
|
90
|
+
};
|
91
|
+
};
|
92
|
+
};
|
93
|
+
};
|
94
|
+
lineNo: {
|
95
|
+
display: string;
|
96
|
+
userSelect: string;
|
97
|
+
px: string;
|
98
|
+
m: string;
|
99
|
+
bg: string;
|
100
|
+
minWidth: number;
|
101
|
+
color: string;
|
102
|
+
lineHeight: string;
|
103
|
+
};
|
104
|
+
};
|
105
|
+
export default _default;
|
@@ -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: 'Consolas, Monaco, Andale Mono, Ubuntu Mono, monospace',
|
96
|
+
lineHeight: 1.75
|
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', '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,8 @@ declare const _default: {
|
|
939
973
|
};
|
940
974
|
};
|
941
975
|
fontSizes: {
|
942
|
-
xs:
|
943
|
-
sm:
|
976
|
+
xs: string;
|
977
|
+
sm: string;
|
944
978
|
md: string;
|
945
979
|
lg: string;
|
946
980
|
xl: string;
|
@@ -956,6 +990,7 @@ declare const _default: {
|
|
956
990
|
};
|
957
991
|
lineHeights: {
|
958
992
|
body: string;
|
993
|
+
md: string;
|
959
994
|
};
|
960
995
|
text: {
|
961
996
|
h1: {
|
@@ -1005,6 +1040,7 @@ declare const _default: {
|
|
1005
1040
|
};
|
1006
1041
|
placeholder: {
|
1007
1042
|
color: string;
|
1043
|
+
fontWeight: number;
|
1008
1044
|
};
|
1009
1045
|
paragraph: {
|
1010
1046
|
lineHeight: string;
|
@@ -1012,11 +1048,29 @@ declare const _default: {
|
|
1012
1048
|
listViewItemText: {
|
1013
1049
|
fontWeight: number;
|
1014
1050
|
};
|
1051
|
+
small: {
|
1052
|
+
fontSize: string;
|
1053
|
+
color: string;
|
1054
|
+
fontFamily: string;
|
1055
|
+
lineHeight: string;
|
1056
|
+
};
|
1015
1057
|
};
|
1016
1058
|
fonts: {
|
1017
1059
|
standard: string;
|
1018
1060
|
body: string;
|
1019
1061
|
heading: string;
|
1062
|
+
codeView: string;
|
1063
|
+
};
|
1064
|
+
sizes: {
|
1065
|
+
container: {
|
1066
|
+
xs: string[];
|
1067
|
+
sm: string[];
|
1068
|
+
md: string[];
|
1069
|
+
lg: string[];
|
1070
|
+
xl: string[];
|
1071
|
+
xx: string[];
|
1072
|
+
fluid: string[];
|
1073
|
+
};
|
1020
1074
|
};
|
1021
1075
|
badges: {
|
1022
1076
|
primary: {
|
@@ -1194,6 +1248,88 @@ declare const _default: {
|
|
1194
1248
|
};
|
1195
1249
|
};
|
1196
1250
|
};
|
1251
|
+
space: {
|
1252
|
+
xs: string;
|
1253
|
+
sm: string;
|
1254
|
+
md: string;
|
1255
|
+
lg: string;
|
1256
|
+
xl: string;
|
1257
|
+
xx: string;
|
1258
|
+
};
|
1259
|
+
links: {
|
1260
|
+
nextGen: {
|
1261
|
+
color: string;
|
1262
|
+
fontSize: string;
|
1263
|
+
py: string;
|
1264
|
+
px: string;
|
1265
|
+
textDecoration: string;
|
1266
|
+
borderRadius: string;
|
1267
|
+
lineHeight: string;
|
1268
|
+
minHeight: string;
|
1269
|
+
fontFamily: string;
|
1270
|
+
'&.is-hovered': {
|
1271
|
+
color: string;
|
1272
|
+
};
|
1273
|
+
'&.is-pressed': {
|
1274
|
+
color: string;
|
1275
|
+
};
|
1276
|
+
};
|
1277
|
+
sideNav: {
|
1278
|
+
px: string;
|
1279
|
+
display: string;
|
1280
|
+
position: string;
|
1281
|
+
'&:before': {
|
1282
|
+
position: string;
|
1283
|
+
display: string;
|
1284
|
+
borderRadius: string;
|
1285
|
+
content: string;
|
1286
|
+
top: string;
|
1287
|
+
right: string;
|
1288
|
+
bottom: number;
|
1289
|
+
left: string;
|
1290
|
+
transition: string;
|
1291
|
+
};
|
1292
|
+
'&.is-selected': {
|
1293
|
+
color: string;
|
1294
|
+
'&:before': {
|
1295
|
+
backgroundColor: string;
|
1296
|
+
};
|
1297
|
+
};
|
1298
|
+
color: string;
|
1299
|
+
fontSize: string;
|
1300
|
+
py: string;
|
1301
|
+
textDecoration: string;
|
1302
|
+
borderRadius: string;
|
1303
|
+
lineHeight: string;
|
1304
|
+
minHeight: string;
|
1305
|
+
fontFamily: string;
|
1306
|
+
'&.is-hovered': {
|
1307
|
+
color: string;
|
1308
|
+
};
|
1309
|
+
'&.is-pressed': {
|
1310
|
+
color: string;
|
1311
|
+
};
|
1312
|
+
};
|
1313
|
+
};
|
1314
|
+
cards: {
|
1315
|
+
interactive: {
|
1316
|
+
boxShadow: string;
|
1317
|
+
borderRadius: string;
|
1318
|
+
border: string;
|
1319
|
+
borderColor: string;
|
1320
|
+
transition: string;
|
1321
|
+
'&.is-focused': {
|
1322
|
+
outline: string;
|
1323
|
+
outlineColor: string;
|
1324
|
+
outlineOffset: string;
|
1325
|
+
};
|
1326
|
+
'&.is-hovered': {
|
1327
|
+
outline: string;
|
1328
|
+
borderColor: string;
|
1329
|
+
bg: string;
|
1330
|
+
};
|
1331
|
+
};
|
1332
|
+
};
|
1197
1333
|
variants: {
|
1198
1334
|
navBar: {
|
1199
1335
|
container: {
|
@@ -1434,6 +1570,9 @@ declare const _default: {
|
|
1434
1570
|
bg: string;
|
1435
1571
|
};
|
1436
1572
|
};
|
1573
|
+
separator: {
|
1574
|
+
my: string;
|
1575
|
+
};
|
1437
1576
|
};
|
1438
1577
|
avatar: {
|
1439
1578
|
xl: {
|
@@ -1470,8 +1609,12 @@ declare const _default: {
|
|
1470
1609
|
};
|
1471
1610
|
};
|
1472
1611
|
listViewItem: {
|
1612
|
+
rightOfData: {
|
1613
|
+
flexShrink: number;
|
1614
|
+
whiteSpace: string;
|
1615
|
+
};
|
1473
1616
|
iconContainer: {
|
1474
|
-
|
1617
|
+
ml: string;
|
1475
1618
|
};
|
1476
1619
|
styledListItem: {
|
1477
1620
|
bg: string;
|
@@ -1564,6 +1707,135 @@ declare const _default: {
|
|
1564
1707
|
fontSize: string;
|
1565
1708
|
};
|
1566
1709
|
};
|
1710
|
+
codeView: {
|
1711
|
+
wrapper: {
|
1712
|
+
backgroundColor: string;
|
1713
|
+
borderRadius: string;
|
1714
|
+
'> button >svg': {
|
1715
|
+
color: string;
|
1716
|
+
path: {
|
1717
|
+
fill: string;
|
1718
|
+
};
|
1719
|
+
};
|
1720
|
+
'> pre': {
|
1721
|
+
p: string;
|
1722
|
+
};
|
1723
|
+
};
|
1724
|
+
};
|
1725
|
+
tabs: {
|
1726
|
+
gap: string;
|
1727
|
+
};
|
1728
|
+
menu: {
|
1729
|
+
p: string;
|
1730
|
+
border: string;
|
1731
|
+
borderColor: string;
|
1732
|
+
};
|
1733
|
+
};
|
1734
|
+
overrides: {
|
1735
|
+
codeView: {
|
1736
|
+
theme: {
|
1737
|
+
plain: {
|
1738
|
+
color: string;
|
1739
|
+
backgroundColor: string;
|
1740
|
+
};
|
1741
|
+
styles: ({
|
1742
|
+
types: string[];
|
1743
|
+
style: {
|
1744
|
+
color: string;
|
1745
|
+
background?: undefined;
|
1746
|
+
fontWeight?: undefined;
|
1747
|
+
cursor?: undefined;
|
1748
|
+
};
|
1749
|
+
} | {
|
1750
|
+
types: string[];
|
1751
|
+
style: {
|
1752
|
+
color: string;
|
1753
|
+
background: string;
|
1754
|
+
fontWeight?: undefined;
|
1755
|
+
cursor?: undefined;
|
1756
|
+
};
|
1757
|
+
} | {
|
1758
|
+
types: string[];
|
1759
|
+
style: {
|
1760
|
+
fontWeight: string;
|
1761
|
+
color?: undefined;
|
1762
|
+
background?: undefined;
|
1763
|
+
cursor?: undefined;
|
1764
|
+
};
|
1765
|
+
} | {
|
1766
|
+
types: string[];
|
1767
|
+
style: {
|
1768
|
+
cursor: string;
|
1769
|
+
color?: undefined;
|
1770
|
+
background?: undefined;
|
1771
|
+
fontWeight?: undefined;
|
1772
|
+
};
|
1773
|
+
})[];
|
1774
|
+
};
|
1775
|
+
wrapper: {
|
1776
|
+
bg: string;
|
1777
|
+
border: string;
|
1778
|
+
borderColor: string;
|
1779
|
+
width: number;
|
1780
|
+
height: number;
|
1781
|
+
my: string;
|
1782
|
+
overflow: string;
|
1783
|
+
alignItems: string;
|
1784
|
+
'&.is-focused, &:focus': {
|
1785
|
+
boxShadow: string;
|
1786
|
+
outline: string;
|
1787
|
+
};
|
1788
|
+
pre: {
|
1789
|
+
backgroundColor: string;
|
1790
|
+
padding: string;
|
1791
|
+
height: string;
|
1792
|
+
width: string;
|
1793
|
+
overflowX: string;
|
1794
|
+
overflowY: string;
|
1795
|
+
fontSize: string;
|
1796
|
+
'& .token-line': {
|
1797
|
+
display: string;
|
1798
|
+
alignItems: string;
|
1799
|
+
'& .token': {
|
1800
|
+
whiteSpace: string;
|
1801
|
+
wordBreak: string;
|
1802
|
+
};
|
1803
|
+
};
|
1804
|
+
fontFamily: string;
|
1805
|
+
lineHeight: number;
|
1806
|
+
};
|
1807
|
+
'&.has-no-copy-button': {
|
1808
|
+
pre: {
|
1809
|
+
p: string;
|
1810
|
+
};
|
1811
|
+
};
|
1812
|
+
'&.has-line-numbers': {
|
1813
|
+
pre: {
|
1814
|
+
p: string;
|
1815
|
+
overflow: string;
|
1816
|
+
'& .token-line:first-of-type *': {
|
1817
|
+
pt: string;
|
1818
|
+
};
|
1819
|
+
'& .token-line': {
|
1820
|
+
display: string;
|
1821
|
+
'& .token': {
|
1822
|
+
whiteSpace: string;
|
1823
|
+
};
|
1824
|
+
};
|
1825
|
+
};
|
1826
|
+
};
|
1827
|
+
};
|
1828
|
+
lineNo: {
|
1829
|
+
display: string;
|
1830
|
+
userSelect: string;
|
1831
|
+
px: string;
|
1832
|
+
m: string;
|
1833
|
+
bg: string;
|
1834
|
+
minWidth: number;
|
1835
|
+
color: string;
|
1836
|
+
lineHeight: string;
|
1837
|
+
};
|
1838
|
+
};
|
1567
1839
|
};
|
1568
1840
|
};
|
1569
1841
|
export default _default;
|