@neo4j-cypher/react-codemirror 2.0.0-next.14 → 2.0.0-next.16
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/CHANGELOG.md +19 -0
- package/dist/e2e_tests/autoCompletion.spec.js +2 -2
- package/dist/e2e_tests/autoCompletion.spec.js.map +1 -1
- package/dist/e2e_tests/debounce.spec.js +2 -1
- package/dist/e2e_tests/debounce.spec.js.map +1 -1
- package/dist/e2e_tests/performanceTest.spec.js +2 -1
- package/dist/e2e_tests/performanceTest.spec.js.map +1 -1
- package/dist/e2e_tests/syntaxHighlighting.spec.js +21 -21
- package/dist/e2e_tests/syntaxHighlighting.spec.js.map +1 -1
- package/dist/e2e_tests/syntaxValidation.spec.js +22 -0
- package/dist/e2e_tests/syntaxValidation.spec.js.map +1 -1
- package/dist/lang-cypher/autocomplete.js +1 -1
- package/dist/lang-cypher/autocomplete.js.map +1 -1
- package/dist/lang-cypher/constants.d.ts +2 -0
- package/dist/lang-cypher/constants.js +4 -0
- package/dist/lang-cypher/constants.js.map +1 -1
- package/dist/lang-cypher/createCypherTheme.js +1 -1
- package/dist/lang-cypher/createCypherTheme.js.map +1 -1
- package/dist/lang-cypher/syntaxValidation.js +13 -6
- package/dist/lang-cypher/syntaxValidation.js.map +1 -1
- package/dist/ndlTokensCopy.d.ts +415 -256
- package/dist/ndlTokensCopy.js +458 -299
- package/dist/ndlTokensCopy.js.map +1 -1
- package/dist/themes.js +25 -42
- package/dist/themes.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +3 -3
- package/src/e2e_tests/autoCompletion.spec.tsx +2 -2
- package/src/e2e_tests/debounce.spec.tsx +37 -32
- package/src/e2e_tests/performanceTest.spec.tsx +6 -1
- package/src/e2e_tests/syntaxHighlighting.spec.tsx +25 -21
- package/src/e2e_tests/syntaxValidation.spec.tsx +46 -0
- package/src/lang-cypher/autocomplete.ts +1 -1
- package/src/lang-cypher/constants.ts +4 -0
- package/src/lang-cypher/createCypherTheme.ts +1 -1
- package/src/lang-cypher/syntaxValidation.ts +13 -6
- package/src/ndlTokensCopy.ts +458 -299
- package/src/themes.ts +25 -48
package/dist/ndlTokensCopy.js
CHANGED
|
@@ -1,129 +1,50 @@
|
|
|
1
1
|
export const tokens = {
|
|
2
|
+
transitions: {
|
|
3
|
+
values: {
|
|
4
|
+
properties: {
|
|
5
|
+
default: 'all',
|
|
6
|
+
},
|
|
7
|
+
duration: {
|
|
8
|
+
quick: '100ms',
|
|
9
|
+
slow: '250ms',
|
|
10
|
+
},
|
|
11
|
+
'timing-function': {
|
|
12
|
+
default: 'cubic-bezier(0.420, 0.000, 0.580, 1.000)',
|
|
13
|
+
},
|
|
14
|
+
},
|
|
15
|
+
stripped: {
|
|
16
|
+
quick: '100ms cubic-bezier(0.420, 0.000, 0.580, 1.000)',
|
|
17
|
+
slow: '250ms cubic-bezier(0.420, 0.000, 0.580, 1.000)',
|
|
18
|
+
},
|
|
19
|
+
full: {
|
|
20
|
+
quick: 'all 100ms cubic-bezier(0.420, 0.000, 0.580, 1.000)',
|
|
21
|
+
slow: 'all 250ms cubic-bezier(0.420, 0.000, 0.580, 1.000)',
|
|
22
|
+
},
|
|
23
|
+
},
|
|
2
24
|
borderRadius: {
|
|
25
|
+
none: '0px',
|
|
26
|
+
sm: '4px',
|
|
27
|
+
md: '6px',
|
|
28
|
+
lg: '8px',
|
|
29
|
+
xl: '10px',
|
|
3
30
|
'1xl': '12px',
|
|
4
31
|
'2xl': '14px',
|
|
5
32
|
'3xl': '16px',
|
|
6
33
|
'4xl': '18px',
|
|
7
34
|
'5xl': '20px',
|
|
8
35
|
full: '9999px',
|
|
9
|
-
lg: '8px',
|
|
10
|
-
md: '6px',
|
|
11
|
-
none: '0px',
|
|
12
|
-
sm: '4px',
|
|
13
|
-
xl: '10px',
|
|
14
|
-
},
|
|
15
|
-
boxShadow: {
|
|
16
|
-
l2: '0px 1px 2px 0px rgba(12, 26, 37, 0.18)',
|
|
17
|
-
l3: '0px 4px 8px 0px rgba(12, 26, 37, 0.04)',
|
|
18
|
-
l4: '0px 4px 8px 0px rgba(12, 26, 37, 0.08)',
|
|
19
|
-
l5: '0px 8px 20px 0px rgba(12, 26, 37, 0.12)',
|
|
20
36
|
},
|
|
21
37
|
breakpoints: {
|
|
22
|
-
|
|
23
|
-
lg: '1024px',
|
|
24
|
-
md: '768px',
|
|
38
|
+
xs: '450px',
|
|
25
39
|
sm: '640px',
|
|
40
|
+
md: '768px',
|
|
41
|
+
lg: '1024px',
|
|
26
42
|
xl: '1280px',
|
|
27
|
-
|
|
28
|
-
},
|
|
29
|
-
colors: {
|
|
30
|
-
blueberry: {
|
|
31
|
-
'10': '#E8EBF6',
|
|
32
|
-
'20': '#C4CCE9',
|
|
33
|
-
'30': '#9DABD9',
|
|
34
|
-
'40': '#768ACA',
|
|
35
|
-
'50': '#3557B4',
|
|
36
|
-
'60': '#25459E',
|
|
37
|
-
'70': '#0B297D',
|
|
38
|
-
},
|
|
39
|
-
danger: {
|
|
40
|
-
'10': '#ffe6e9',
|
|
41
|
-
'20': '#ffb8c4',
|
|
42
|
-
'30': '#ff668a',
|
|
43
|
-
'40': '#ed1252',
|
|
44
|
-
'50': '#cc254b',
|
|
45
|
-
'60': '#a1003b',
|
|
46
|
-
'70': '#7a0031',
|
|
47
|
-
},
|
|
48
|
-
mint: {
|
|
49
|
-
'10': '#F0FFFA',
|
|
50
|
-
'20': '#D1FFF4',
|
|
51
|
-
'30': '#A8FFEE',
|
|
52
|
-
'40': '#55F9E2',
|
|
53
|
-
'50': '#3DD4C5',
|
|
54
|
-
'60': '#2AADA5',
|
|
55
|
-
'70': '#116161',
|
|
56
|
-
},
|
|
57
|
-
neutral: {
|
|
58
|
-
'10': '#FFFFFF',
|
|
59
|
-
'20': '#F5F7FA',
|
|
60
|
-
'30': '#EEF1F6',
|
|
61
|
-
'40': '#E6E9EE',
|
|
62
|
-
'50': '#C4C8CD',
|
|
63
|
-
'60': '#B2B7BD',
|
|
64
|
-
'70': '#717780',
|
|
65
|
-
'80': '#535B66',
|
|
66
|
-
'90': '#151E29',
|
|
67
|
-
},
|
|
68
|
-
primary: {
|
|
69
|
-
'10': '#e6f8ff',
|
|
70
|
-
'20': '#a3e2ff',
|
|
71
|
-
'30': '#7ad1ff',
|
|
72
|
-
'40': '#018bff',
|
|
73
|
-
'50': '#006FD6',
|
|
74
|
-
'60': '#0056b3',
|
|
75
|
-
'70': '#004092',
|
|
76
|
-
},
|
|
77
|
-
success: {
|
|
78
|
-
'10': '#E1FAEF',
|
|
79
|
-
'20': '#98EDCB',
|
|
80
|
-
'30': '#44D4A4',
|
|
81
|
-
'40': '#00BA88',
|
|
82
|
-
'50': '#327D60',
|
|
83
|
-
'60': '#006E58',
|
|
84
|
-
'70': '#00473B',
|
|
85
|
-
},
|
|
86
|
-
warning: {
|
|
87
|
-
'10': '#FFFBDE',
|
|
88
|
-
'20': '#FFF4B5',
|
|
89
|
-
'30': '#FFEA8C',
|
|
90
|
-
'40': '#FFDE63',
|
|
91
|
-
'50': '#D9B54A',
|
|
92
|
-
'60': '#966c2e',
|
|
93
|
-
'70': '#664817',
|
|
94
|
-
},
|
|
95
|
-
},
|
|
96
|
-
font: {
|
|
97
|
-
size: {
|
|
98
|
-
'body-large': '1rem',
|
|
99
|
-
'body-medium': '0.875rem',
|
|
100
|
-
'body-small': '0.75rem',
|
|
101
|
-
code: '0.875rem',
|
|
102
|
-
h1: '3rem',
|
|
103
|
-
h2: '2.5rem',
|
|
104
|
-
h3: '1.875rem',
|
|
105
|
-
h4: '1.5rem',
|
|
106
|
-
h5: '1.25rem',
|
|
107
|
-
h6: '1rem',
|
|
108
|
-
label: '0.875rem',
|
|
109
|
-
'subheading-large': '1.25rem',
|
|
110
|
-
'subheading-medium': '1rem',
|
|
111
|
-
'subheading-small': '0.875rem',
|
|
112
|
-
},
|
|
113
|
-
weight: {
|
|
114
|
-
bold: '700',
|
|
115
|
-
light: '300',
|
|
116
|
-
medium: '500',
|
|
117
|
-
normal: '400',
|
|
118
|
-
semibold: '600',
|
|
119
|
-
},
|
|
43
|
+
'2xl': '1536px',
|
|
120
44
|
},
|
|
121
45
|
palette: {
|
|
122
46
|
categorical: {
|
|
123
47
|
'1': '#55BDC5',
|
|
124
|
-
'10': '#BF732D',
|
|
125
|
-
'11': '#478A6E',
|
|
126
|
-
'12': '#ADE86B',
|
|
127
48
|
'2': '#4D49CB',
|
|
128
49
|
'3': '#DC8B39',
|
|
129
50
|
'4': '#C9458D',
|
|
@@ -132,101 +53,12 @@ export const tokens = {
|
|
|
132
53
|
'7': '#3F80E3',
|
|
133
54
|
'8': '#673FAB',
|
|
134
55
|
'9': '#DBBF40',
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
bg: {
|
|
139
|
-
strong: '#ffb8c4',
|
|
140
|
-
weak: '68, 61, 72',
|
|
141
|
-
},
|
|
142
|
-
border: {
|
|
143
|
-
strong: '#ffb8c4',
|
|
144
|
-
weak: '114, 91, 103',
|
|
145
|
-
},
|
|
146
|
-
hover: {
|
|
147
|
-
strong: '#ff668a',
|
|
148
|
-
weak: 'rgba(255, 102, 138,0.08)',
|
|
149
|
-
},
|
|
150
|
-
icon: '#ffb8c4',
|
|
151
|
-
pressed: {
|
|
152
|
-
strong: '#ff668a',
|
|
153
|
-
weak: 'rgba(255, 102, 138,0.12)',
|
|
154
|
-
},
|
|
155
|
-
text: '#ffb8c4',
|
|
156
|
-
},
|
|
157
|
-
neutral: {
|
|
158
|
-
bg: {
|
|
159
|
-
default: '#151E29',
|
|
160
|
-
strong: '45, 53, 63',
|
|
161
|
-
strongest: '#FFFFFF',
|
|
162
|
-
weak: '29, 38, 49',
|
|
163
|
-
},
|
|
164
|
-
border: {
|
|
165
|
-
strong: '#717780',
|
|
166
|
-
weak: '37, 47, 59',
|
|
167
|
-
},
|
|
168
|
-
hover: 'rgba(196, 200, 205,0.1)',
|
|
169
|
-
icon: '#C4C8CD',
|
|
170
|
-
pressed: 'rgba(196, 200, 205,0.2)',
|
|
171
|
-
text: {
|
|
172
|
-
default: '#F5F7FA',
|
|
173
|
-
inverse: '#151E29',
|
|
174
|
-
weak: '#C4C8CD',
|
|
175
|
-
weaker: '#B2B7BD',
|
|
176
|
-
weakest: '#717780',
|
|
177
|
-
},
|
|
178
|
-
},
|
|
179
|
-
primary: {
|
|
180
|
-
bg: {
|
|
181
|
-
strong: '#a3e2ff',
|
|
182
|
-
weak: '49, 69, 84',
|
|
183
|
-
},
|
|
184
|
-
border: {
|
|
185
|
-
strong: '#a3e2ff',
|
|
186
|
-
weak: '78, 108, 126',
|
|
187
|
-
},
|
|
188
|
-
focus: '#7ad1ff',
|
|
189
|
-
hover: {
|
|
190
|
-
strong: '#7ad1ff',
|
|
191
|
-
weak: 'rgba(122, 209, 255,0.08)',
|
|
192
|
-
},
|
|
193
|
-
icon: '#a3e2ff',
|
|
194
|
-
pressed: {
|
|
195
|
-
strong: '#7ad1ff',
|
|
196
|
-
weak: 'rgba(122, 209, 255,0.12)',
|
|
197
|
-
},
|
|
198
|
-
text: '#a3e2ff',
|
|
199
|
-
},
|
|
200
|
-
success: {
|
|
201
|
-
bg: {
|
|
202
|
-
strong: '#98EDCB',
|
|
203
|
-
weak: '47, 71, 73',
|
|
204
|
-
},
|
|
205
|
-
border: {
|
|
206
|
-
strong: '#98EDCB',
|
|
207
|
-
weak: '73, 113, 106',
|
|
208
|
-
},
|
|
209
|
-
icon: '#98EDCB',
|
|
210
|
-
text: '#98EDCB',
|
|
211
|
-
},
|
|
212
|
-
warning: {
|
|
213
|
-
bg: {
|
|
214
|
-
strong: '#FFEA8C',
|
|
215
|
-
weak: '68, 71, 60',
|
|
216
|
-
},
|
|
217
|
-
border: {
|
|
218
|
-
strong: '#FFEA8C',
|
|
219
|
-
weak: '114, 111, 80',
|
|
220
|
-
},
|
|
221
|
-
icon: '#FFEA8C',
|
|
222
|
-
text: '#FFEA8C',
|
|
223
|
-
},
|
|
56
|
+
'10': '#BF732D',
|
|
57
|
+
'11': '#478A6E',
|
|
58
|
+
'12': '#ADE86B',
|
|
224
59
|
},
|
|
225
60
|
graph: {
|
|
226
61
|
'1': '#FFDF81',
|
|
227
|
-
'10': '#FFC354',
|
|
228
|
-
'11': '#DA7294',
|
|
229
|
-
'12': '#579380',
|
|
230
62
|
'2': '#C990C0',
|
|
231
63
|
'3': '#F79767',
|
|
232
64
|
'4': '#56C7E4',
|
|
@@ -235,104 +67,442 @@ export const tokens = {
|
|
|
235
67
|
'7': '#8DCC93',
|
|
236
68
|
'8': '#ECB4C9',
|
|
237
69
|
'9': '#4D8DDA',
|
|
70
|
+
'10': '#FFC354',
|
|
71
|
+
'11': '#DA7294',
|
|
72
|
+
'12': '#579380',
|
|
238
73
|
},
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
74
|
+
},
|
|
75
|
+
colors: {
|
|
76
|
+
baltic: {
|
|
77
|
+
'10': '#E7FAFB',
|
|
78
|
+
'15': '#C3F8FB',
|
|
79
|
+
'20': '#8FE3E8',
|
|
80
|
+
'25': '#5CC3C9',
|
|
81
|
+
'30': '#5DB3BF',
|
|
82
|
+
'35': '#51A6B1',
|
|
83
|
+
'40': '#4C99A4',
|
|
84
|
+
'45': '#30839D',
|
|
85
|
+
'50': '#0A6190',
|
|
86
|
+
'55': '#02507B',
|
|
87
|
+
'60': '#014063',
|
|
88
|
+
'65': '#262F31',
|
|
89
|
+
'70': '#081E2B',
|
|
90
|
+
'75': '#041823',
|
|
91
|
+
'80': '#01121C',
|
|
92
|
+
},
|
|
93
|
+
hibiscus: {
|
|
94
|
+
'10': '#FFE9E7',
|
|
95
|
+
'15': '#FFD7D2',
|
|
96
|
+
'20': '#FFAA97',
|
|
97
|
+
'25': '#FF8E6A',
|
|
98
|
+
'30': '#F96746',
|
|
99
|
+
'35': '#E84E2C',
|
|
100
|
+
'40': '#D43300',
|
|
101
|
+
'45': '#BB2D00',
|
|
102
|
+
'50': '#961200',
|
|
103
|
+
'55': '#730E00',
|
|
104
|
+
'60': '#432520',
|
|
105
|
+
'65': '#4E0900',
|
|
106
|
+
'70': '#3F0800',
|
|
107
|
+
'75': '#360700',
|
|
108
|
+
'80': '#280500',
|
|
109
|
+
},
|
|
110
|
+
forest: {
|
|
111
|
+
'10': '#E7FCD7',
|
|
112
|
+
'15': '#BCF194',
|
|
113
|
+
'20': '#90CB62',
|
|
114
|
+
'25': '#80BB53',
|
|
115
|
+
'30': '#6FA646',
|
|
116
|
+
'35': '#5B992B',
|
|
117
|
+
'40': '#4D8622',
|
|
118
|
+
'45': '#3F7824',
|
|
119
|
+
'50': '#296127',
|
|
120
|
+
'55': '#145439',
|
|
121
|
+
'60': '#0C4D31',
|
|
122
|
+
'65': '#0A4324',
|
|
123
|
+
'70': '#262D24',
|
|
124
|
+
'75': '#052618',
|
|
125
|
+
'80': '#021D11',
|
|
126
|
+
},
|
|
127
|
+
lemon: {
|
|
128
|
+
'10': '#FFFAD1',
|
|
129
|
+
'15': '#FFF8BD',
|
|
130
|
+
'20': '#FFF178',
|
|
131
|
+
'25': '#FFE500',
|
|
132
|
+
'30': '#FFD600',
|
|
133
|
+
'35': '#F4C318',
|
|
134
|
+
'40': '#D7AA0A',
|
|
135
|
+
'45': '#B48409',
|
|
136
|
+
'50': '#996E00',
|
|
137
|
+
'55': '#765500',
|
|
138
|
+
'60': '#614600',
|
|
139
|
+
'65': '#4D3700',
|
|
140
|
+
'70': '#312E1A',
|
|
141
|
+
'75': '#2E2100',
|
|
142
|
+
'80': '#251B00',
|
|
143
|
+
},
|
|
144
|
+
lavender: {
|
|
145
|
+
'10': '#F7F3FF',
|
|
146
|
+
'15': '#E9DEFF',
|
|
147
|
+
'20': '#CCB4FF',
|
|
148
|
+
'25': '#B38EFF',
|
|
149
|
+
'30': '#A07BEC',
|
|
150
|
+
'35': '#8C68D9',
|
|
151
|
+
'40': '#754EC8',
|
|
152
|
+
'45': '#5A34AA',
|
|
153
|
+
'50': '#4B2894',
|
|
154
|
+
'55': '#3B1982',
|
|
155
|
+
'60': '#2C2A34',
|
|
156
|
+
'65': '#220954',
|
|
157
|
+
'70': '#170146',
|
|
158
|
+
'75': '#0E002D',
|
|
159
|
+
'80': '#09001C',
|
|
160
|
+
},
|
|
161
|
+
marigold: {
|
|
162
|
+
'10': '#FFF0D2',
|
|
163
|
+
'15': '#FFDE9D',
|
|
164
|
+
'20': '#FFCF72',
|
|
165
|
+
'25': '#FFC450',
|
|
166
|
+
'30': '#FFB422',
|
|
167
|
+
'35': '#FFA901',
|
|
168
|
+
'40': '#EC9C00',
|
|
169
|
+
'45': '#DA9105',
|
|
170
|
+
'50': '#BA7A00',
|
|
171
|
+
'55': '#986400',
|
|
172
|
+
'60': '#795000',
|
|
173
|
+
'65': '#624100',
|
|
174
|
+
'70': '#543800',
|
|
175
|
+
'75': '#422C00',
|
|
176
|
+
'80': '#251900',
|
|
177
|
+
},
|
|
178
|
+
earth: {
|
|
179
|
+
'10': '#FFF7F0',
|
|
180
|
+
'15': '#FDEDDA',
|
|
181
|
+
'20': '#FFE1C5',
|
|
182
|
+
'25': '#F8D1AE',
|
|
183
|
+
'30': '#ECBF96',
|
|
184
|
+
'35': '#E0AE7F',
|
|
185
|
+
'40': '#D19660',
|
|
186
|
+
'45': '#AF7C4D',
|
|
187
|
+
'50': '#8D5D31',
|
|
188
|
+
'55': '#763F18',
|
|
189
|
+
'60': '#66310B',
|
|
190
|
+
'65': '#5B2B09',
|
|
191
|
+
'70': '#481F01',
|
|
192
|
+
'75': '#361700',
|
|
193
|
+
'80': '#220E00',
|
|
194
|
+
},
|
|
195
|
+
neutral: {
|
|
196
|
+
'10': '#FFFFFF',
|
|
197
|
+
'15': '#F5F6F6',
|
|
198
|
+
'20': '#E2E3E5',
|
|
199
|
+
'25': '#CFD1D4',
|
|
200
|
+
'30': '#BBBEC3',
|
|
201
|
+
'35': '#A8ACB2',
|
|
202
|
+
'40': '#959AA1',
|
|
203
|
+
'45': '#818790',
|
|
204
|
+
'50': '#6F757E',
|
|
205
|
+
'55': '#5E636A',
|
|
206
|
+
'60': '#4D5157',
|
|
207
|
+
'65': '#3C3F44',
|
|
208
|
+
'70': '#212325',
|
|
209
|
+
'75': '#1A1B1D',
|
|
210
|
+
'80': '#09090A',
|
|
211
|
+
},
|
|
212
|
+
beige: {
|
|
213
|
+
'10': '#FFFCF4',
|
|
214
|
+
'20': '#FFF7E3',
|
|
215
|
+
'30': '#F2EAD4',
|
|
216
|
+
'40': '#C1B9A0',
|
|
217
|
+
'50': '#999384',
|
|
218
|
+
'60': '#666050',
|
|
219
|
+
'70': '#3F3824',
|
|
220
|
+
},
|
|
221
|
+
highlights: {
|
|
222
|
+
yellow: '#FAFF00',
|
|
223
|
+
periwinkle: '#6A82FF',
|
|
224
|
+
},
|
|
225
|
+
},
|
|
226
|
+
theme: {
|
|
227
|
+
dark: {
|
|
228
|
+
boxShadow: {
|
|
229
|
+
raised: '0px 1px 2px 0px rgba(9, 9, 10, 0.50)',
|
|
230
|
+
overlay: '0px 8px 20px 0px rgba(9, 9, 10, 0.50)',
|
|
231
|
+
},
|
|
232
|
+
palette: {
|
|
233
|
+
neutral: {
|
|
234
|
+
text: {
|
|
235
|
+
weakest: '#818790',
|
|
236
|
+
weaker: '#A8ACB2',
|
|
237
|
+
weak: '#CFD1D4',
|
|
238
|
+
default: '#F5F6F6',
|
|
239
|
+
inverse: '#1A1B1D',
|
|
240
|
+
},
|
|
241
|
+
icon: '#CFD1D4',
|
|
242
|
+
bg: {
|
|
243
|
+
weak: '#212325',
|
|
244
|
+
default: '#1A1B1D',
|
|
245
|
+
strong: '#3C3F44',
|
|
246
|
+
stronger: '#6F757E',
|
|
247
|
+
strongest: '#F5F6F6',
|
|
248
|
+
status: '#A8ACB2',
|
|
249
|
+
'on-bg-weak': '#818790',
|
|
250
|
+
},
|
|
251
|
+
border: {
|
|
252
|
+
weak: '#3C3F44',
|
|
253
|
+
strong: '#6F757E',
|
|
254
|
+
strongest: '#BBBEC3',
|
|
255
|
+
},
|
|
256
|
+
hover: '#959AA1',
|
|
257
|
+
pressed: '#959AA1',
|
|
248
258
|
},
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
259
|
+
primary: {
|
|
260
|
+
text: '#8FE3E8',
|
|
261
|
+
icon: '#8FE3E8',
|
|
262
|
+
bg: {
|
|
263
|
+
weak: '#262F31',
|
|
264
|
+
strong: '#8FE3E8',
|
|
265
|
+
status: '#8FE3E8',
|
|
266
|
+
selected: '#262F31',
|
|
267
|
+
},
|
|
268
|
+
border: {
|
|
269
|
+
strong: '#8FE3E8',
|
|
270
|
+
weak: '#02507B',
|
|
271
|
+
},
|
|
272
|
+
focus: '#5DB3BF',
|
|
273
|
+
hover: {
|
|
274
|
+
weak: '#8FE3E8',
|
|
275
|
+
strong: '#5DB3BF',
|
|
276
|
+
},
|
|
277
|
+
pressed: {
|
|
278
|
+
weak: '#8FE3E8',
|
|
279
|
+
strong: '#4C99A4',
|
|
280
|
+
},
|
|
252
281
|
},
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
282
|
+
danger: {
|
|
283
|
+
text: '#FFAA97',
|
|
284
|
+
icon: '#FFAA97',
|
|
285
|
+
bg: {
|
|
286
|
+
strong: '#FFAA97',
|
|
287
|
+
weak: '#432520',
|
|
288
|
+
status: '#FFAA97',
|
|
289
|
+
},
|
|
290
|
+
border: {
|
|
291
|
+
strong: '#FFAA97',
|
|
292
|
+
weak: '#730E00',
|
|
293
|
+
},
|
|
294
|
+
hover: {
|
|
295
|
+
weak: '#FFAA97',
|
|
296
|
+
strong: '#F96746',
|
|
297
|
+
},
|
|
298
|
+
pressed: {
|
|
299
|
+
weak: '#FFAA97',
|
|
300
|
+
strong: '#E84E2C',
|
|
301
|
+
},
|
|
257
302
|
},
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
303
|
+
warning: {
|
|
304
|
+
text: '#FFD600',
|
|
305
|
+
icon: '#FFD600',
|
|
306
|
+
bg: {
|
|
307
|
+
strong: '#FFD600',
|
|
308
|
+
weak: '#312E1A',
|
|
309
|
+
status: '#FFD600',
|
|
310
|
+
},
|
|
311
|
+
border: {
|
|
312
|
+
strong: '#FFD600',
|
|
313
|
+
weak: '#765500',
|
|
314
|
+
},
|
|
266
315
|
},
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
316
|
+
success: {
|
|
317
|
+
text: '#90CB62',
|
|
318
|
+
icon: '#90CB62',
|
|
319
|
+
bg: {
|
|
320
|
+
strong: '#90CB62',
|
|
321
|
+
weak: '#262D24',
|
|
322
|
+
status: '#90CB62',
|
|
323
|
+
},
|
|
324
|
+
border: {
|
|
325
|
+
strong: '#90CB62',
|
|
326
|
+
weak: '#296127',
|
|
327
|
+
},
|
|
270
328
|
},
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
329
|
+
discovery: {
|
|
330
|
+
text: '#CCB4FF',
|
|
331
|
+
icon: '#CCB4FF',
|
|
332
|
+
bg: {
|
|
333
|
+
strong: '#CCB4FF',
|
|
334
|
+
weak: '#2C2A34',
|
|
335
|
+
status: '#CCB4FF',
|
|
336
|
+
},
|
|
337
|
+
border: {
|
|
338
|
+
strong: '#CCB4FF',
|
|
339
|
+
weak: '#4B2894',
|
|
340
|
+
},
|
|
280
341
|
},
|
|
281
342
|
},
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
343
|
+
},
|
|
344
|
+
light: {
|
|
345
|
+
boxShadow: {
|
|
346
|
+
raised: '0px 1px 2px 0px rgba(26, 27, 29, 0.18)',
|
|
347
|
+
overlay: '0px 4px 8px 0px rgba(26, 27, 29, 0.12)',
|
|
348
|
+
},
|
|
349
|
+
palette: {
|
|
350
|
+
neutral: {
|
|
351
|
+
text: {
|
|
352
|
+
weakest: '#A8ACB2',
|
|
353
|
+
weaker: '#5E636A',
|
|
354
|
+
weak: '#4D5157',
|
|
355
|
+
default: '#1A1B1D',
|
|
356
|
+
inverse: '#FFFFFF',
|
|
357
|
+
},
|
|
358
|
+
icon: '#4D5157',
|
|
359
|
+
bg: {
|
|
360
|
+
weak: '#FFFFFF',
|
|
361
|
+
default: '#F5F6F6',
|
|
362
|
+
'on-bg-weak': '#F5F6F6',
|
|
363
|
+
strong: '#E2E3E5',
|
|
364
|
+
stronger: '#A8ACB2',
|
|
365
|
+
strongest: '#3C3F44',
|
|
366
|
+
status: '#A8ACB2',
|
|
367
|
+
},
|
|
368
|
+
border: {
|
|
369
|
+
weak: '#E2E3E5',
|
|
370
|
+
strong: '#BBBEC3',
|
|
371
|
+
strongest: '#6F757E',
|
|
372
|
+
},
|
|
373
|
+
hover: '#6F757E',
|
|
374
|
+
pressed: '#6F757E',
|
|
295
375
|
},
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
376
|
+
primary: {
|
|
377
|
+
text: '#0A6190',
|
|
378
|
+
icon: '#0A6190',
|
|
379
|
+
bg: {
|
|
380
|
+
weak: '#E7FAFB',
|
|
381
|
+
strong: '#0A6190',
|
|
382
|
+
status: '#4C99A4',
|
|
383
|
+
selected: '#E7FAFB',
|
|
384
|
+
},
|
|
385
|
+
border: {
|
|
386
|
+
strong: '#0A6190',
|
|
387
|
+
weak: '#8FE3E8',
|
|
388
|
+
},
|
|
389
|
+
focus: '#30839D',
|
|
390
|
+
hover: {
|
|
391
|
+
weak: '#30839D',
|
|
392
|
+
strong: '#02507B',
|
|
393
|
+
},
|
|
394
|
+
pressed: {
|
|
395
|
+
weak: '#30839D',
|
|
396
|
+
strong: '#014063',
|
|
397
|
+
},
|
|
300
398
|
},
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
399
|
+
danger: {
|
|
400
|
+
text: '#BB2D00',
|
|
401
|
+
icon: '#BB2D00',
|
|
402
|
+
bg: {
|
|
403
|
+
strong: '#BB2D00',
|
|
404
|
+
weak: '#FFE9E7',
|
|
405
|
+
status: '#E84E2C',
|
|
406
|
+
},
|
|
407
|
+
border: {
|
|
408
|
+
strong: '#BB2D00',
|
|
409
|
+
weak: '#FFAA97',
|
|
410
|
+
},
|
|
411
|
+
hover: {
|
|
412
|
+
weak: '#D43300',
|
|
413
|
+
strong: '#961200',
|
|
414
|
+
},
|
|
415
|
+
pressed: {
|
|
416
|
+
weak: '#D43300',
|
|
417
|
+
strong: '#730E00',
|
|
418
|
+
},
|
|
307
419
|
},
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
420
|
+
warning: {
|
|
421
|
+
text: '#765500',
|
|
422
|
+
icon: '#765500',
|
|
423
|
+
bg: {
|
|
424
|
+
strong: '#765500',
|
|
425
|
+
weak: '#FFFAD1',
|
|
426
|
+
status: '#D7AA0A',
|
|
427
|
+
},
|
|
428
|
+
border: {
|
|
429
|
+
strong: '#996E00',
|
|
430
|
+
weak: '#FFD600',
|
|
431
|
+
},
|
|
311
432
|
},
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
433
|
+
success: {
|
|
434
|
+
text: '#3F7824',
|
|
435
|
+
icon: '#3F7824',
|
|
436
|
+
bg: {
|
|
437
|
+
strong: '#3F7824',
|
|
438
|
+
weak: '#E7FCD7',
|
|
439
|
+
status: '#5B992B',
|
|
440
|
+
},
|
|
441
|
+
border: {
|
|
442
|
+
strong: '#3F7824',
|
|
443
|
+
weak: '#90CB62',
|
|
444
|
+
},
|
|
319
445
|
},
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
446
|
+
discovery: {
|
|
447
|
+
text: '#5A34AA',
|
|
448
|
+
icon: '#5A34AA',
|
|
449
|
+
bg: {
|
|
450
|
+
strong: '#5A34AA',
|
|
451
|
+
weak: '#E9DEFF',
|
|
452
|
+
status: '#754EC8',
|
|
453
|
+
},
|
|
454
|
+
border: {
|
|
455
|
+
strong: '#5A34AA',
|
|
456
|
+
weak: '#B38EFF',
|
|
457
|
+
},
|
|
323
458
|
},
|
|
324
|
-
icon: '#966c2e',
|
|
325
|
-
text: '#966c2e',
|
|
326
459
|
},
|
|
327
460
|
},
|
|
328
461
|
},
|
|
462
|
+
font: {
|
|
463
|
+
size: {
|
|
464
|
+
h1: '3rem',
|
|
465
|
+
h2: '2.5rem',
|
|
466
|
+
h3: '1.875rem',
|
|
467
|
+
h4: '1.5rem',
|
|
468
|
+
h5: '1.25rem',
|
|
469
|
+
h6: '1rem',
|
|
470
|
+
'subheading-large': '1.25rem',
|
|
471
|
+
'subheading-medium': '1rem',
|
|
472
|
+
'subheading-small': '0.875rem',
|
|
473
|
+
'body-large': '1rem',
|
|
474
|
+
'body-medium': '0.875rem',
|
|
475
|
+
'body-small': '0.75rem',
|
|
476
|
+
code: '0.875rem',
|
|
477
|
+
label: '0.875rem',
|
|
478
|
+
},
|
|
479
|
+
weight: {
|
|
480
|
+
bold: '700',
|
|
481
|
+
semibold: '600',
|
|
482
|
+
normal: '400',
|
|
483
|
+
medium: '500',
|
|
484
|
+
light: '300',
|
|
485
|
+
},
|
|
486
|
+
'font-family': {
|
|
487
|
+
h1: 'Syne Neo',
|
|
488
|
+
h2: 'Syne Neo',
|
|
489
|
+
h3: 'Public Sans',
|
|
490
|
+
h4: 'Public Sans',
|
|
491
|
+
h5: 'Public Sans',
|
|
492
|
+
h6: 'Public Sans',
|
|
493
|
+
'subheading-large': 'Public Sans',
|
|
494
|
+
'subheading-medium': 'Public Sans',
|
|
495
|
+
'subheading-small': 'Public Sans',
|
|
496
|
+
'body-large': 'Public Sans',
|
|
497
|
+
'body-medium': 'Public Sans',
|
|
498
|
+
'body-small': 'Public Sans',
|
|
499
|
+
code: 'Fira Code',
|
|
500
|
+
label: 'Public Sans',
|
|
501
|
+
},
|
|
502
|
+
},
|
|
329
503
|
space: {
|
|
330
504
|
'0': '0px',
|
|
331
505
|
'1': '1px',
|
|
332
|
-
'10': '64px',
|
|
333
|
-
'11': '96px',
|
|
334
|
-
'12': '128px',
|
|
335
|
-
'13': '320px',
|
|
336
506
|
'2': '2px',
|
|
337
507
|
'3': '4px',
|
|
338
508
|
'4': '8px',
|
|
@@ -341,21 +511,10 @@ export const tokens = {
|
|
|
341
511
|
'7': '24px',
|
|
342
512
|
'8': '32px',
|
|
343
513
|
'9': '48px',
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
values: {
|
|
349
|
-
duration: {
|
|
350
|
-
default: '100ms',
|
|
351
|
-
},
|
|
352
|
-
properties: {
|
|
353
|
-
default: 'all',
|
|
354
|
-
},
|
|
355
|
-
'timing-function': {
|
|
356
|
-
default: 'cubic-bezier(0.420, 0.000, 0.580, 1.000)',
|
|
357
|
-
},
|
|
358
|
-
},
|
|
514
|
+
'10': '64px',
|
|
515
|
+
'11': '96px',
|
|
516
|
+
'12': '128px',
|
|
517
|
+
'13': '320px',
|
|
359
518
|
},
|
|
360
519
|
zIndex: {
|
|
361
520
|
'0': 0,
|
|
@@ -365,16 +524,16 @@ export const tokens = {
|
|
|
365
524
|
'40': 40,
|
|
366
525
|
'50': 50,
|
|
367
526
|
'60': 60,
|
|
527
|
+
deep: -999999,
|
|
528
|
+
auto: 'auto',
|
|
368
529
|
alias: {
|
|
530
|
+
overlay: 10,
|
|
369
531
|
banner: 20,
|
|
370
532
|
blanket: 30,
|
|
371
|
-
modal: 60,
|
|
372
|
-
overlay: 10,
|
|
373
533
|
popover: 40,
|
|
374
534
|
tooltip: 50,
|
|
535
|
+
modal: 60,
|
|
375
536
|
},
|
|
376
|
-
auto: 'auto',
|
|
377
|
-
deep: -999999,
|
|
378
537
|
},
|
|
379
538
|
};
|
|
380
539
|
//# sourceMappingURL=ndlTokensCopy.js.map
|