@neo4j-cypher/react-codemirror 2.0.0-alpha.0 → 2.0.0-canary-e8a1279
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 +68 -0
- package/LICENSE.md +201 -0
- package/README.md +27 -4
- package/dist/CypherEditor.d.ts +153 -0
- package/dist/CypherEditor.js +242 -0
- package/dist/CypherEditor.js.map +1 -0
- package/dist/e2e_tests/autoCompletion.spec.d.ts +1 -0
- package/dist/e2e_tests/autoCompletion.spec.js +133 -0
- package/dist/e2e_tests/autoCompletion.spec.js.map +1 -0
- package/dist/e2e_tests/configuration.spec.d.ts +1 -0
- package/dist/e2e_tests/configuration.spec.js +73 -0
- package/dist/e2e_tests/configuration.spec.js.map +1 -0
- package/dist/e2e_tests/e2eUtils.d.ts +12 -0
- package/dist/e2e_tests/e2eUtils.js +60 -0
- package/dist/e2e_tests/e2eUtils.js.map +1 -0
- package/dist/e2e_tests/extraKeybindings.spec.d.ts +1 -0
- package/dist/e2e_tests/extraKeybindings.spec.js +44 -0
- package/dist/e2e_tests/extraKeybindings.spec.js.map +1 -0
- package/dist/e2e_tests/historyNavigation.spec.d.ts +1 -0
- package/dist/e2e_tests/historyNavigation.spec.js +136 -0
- package/dist/e2e_tests/historyNavigation.spec.js.map +1 -0
- package/dist/e2e_tests/performanceTest.spec.d.ts +6 -0
- package/dist/e2e_tests/performanceTest.spec.js +96 -0
- package/dist/e2e_tests/performanceTest.spec.js.map +1 -0
- package/dist/e2e_tests/sanityChecks.spec.d.ts +1 -0
- package/dist/e2e_tests/sanityChecks.spec.js +56 -0
- package/dist/e2e_tests/sanityChecks.spec.js.map +1 -0
- package/dist/e2e_tests/signatureHelp.spec.d.ts +1 -0
- package/dist/e2e_tests/signatureHelp.spec.js +152 -0
- package/dist/e2e_tests/signatureHelp.spec.js.map +1 -0
- package/dist/e2e_tests/snippets.spec.d.ts +1 -0
- package/dist/e2e_tests/snippets.spec.js +63 -0
- package/dist/e2e_tests/snippets.spec.js.map +1 -0
- package/dist/e2e_tests/syntaxHighlighting.spec.d.ts +1 -0
- package/dist/e2e_tests/syntaxHighlighting.spec.js +91 -0
- package/dist/e2e_tests/syntaxHighlighting.spec.js.map +1 -0
- package/dist/e2e_tests/syntaxValidation.spec.d.ts +1 -0
- package/dist/e2e_tests/syntaxValidation.spec.js +79 -0
- package/dist/e2e_tests/syntaxValidation.spec.js.map +1 -0
- package/dist/historyNavigation.d.ts +7 -0
- package/dist/historyNavigation.js +163 -0
- package/dist/historyNavigation.js.map +1 -0
- package/dist/icons.d.ts +2 -0
- package/dist/icons.js +62 -0
- package/dist/icons.js.map +1 -0
- package/dist/index.d.ts +4 -0
- package/dist/index.js +5 -0
- package/dist/index.js.map +1 -0
- package/dist/lang-cypher/autocomplete.d.ts +3 -0
- package/dist/lang-cypher/autocomplete.js +62 -0
- package/dist/lang-cypher/autocomplete.js.map +1 -0
- package/dist/lang-cypher/constants.d.ts +40 -0
- package/dist/lang-cypher/constants.js +65 -0
- package/dist/lang-cypher/constants.js.map +1 -0
- package/dist/lang-cypher/contants.test.d.ts +1 -0
- package/dist/lang-cypher/contants.test.js +102 -0
- package/dist/lang-cypher/contants.test.js.map +1 -0
- package/dist/lang-cypher/createCypherTheme.d.ts +26 -0
- package/dist/lang-cypher/createCypherTheme.js +172 -0
- package/dist/lang-cypher/createCypherTheme.js.map +1 -0
- package/dist/lang-cypher/langCypher.d.ts +9 -0
- package/dist/lang-cypher/langCypher.js +24 -0
- package/dist/lang-cypher/langCypher.js.map +1 -0
- package/dist/lang-cypher/lintWorker.d.ts +8 -0
- package/dist/lang-cypher/lintWorker.js +4 -0
- package/dist/lang-cypher/lintWorker.js.map +1 -0
- package/dist/lang-cypher/parser-adapter.d.ts +19 -0
- package/dist/lang-cypher/parser-adapter.js +113 -0
- package/dist/lang-cypher/parser-adapter.js.map +1 -0
- package/dist/lang-cypher/signatureHelp.d.ts +4 -0
- package/dist/lang-cypher/signatureHelp.js +93 -0
- package/dist/lang-cypher/signatureHelp.js.map +1 -0
- package/dist/lang-cypher/syntaxValidation.d.ts +5 -0
- package/dist/lang-cypher/syntaxValidation.js +71 -0
- package/dist/lang-cypher/syntaxValidation.js.map +1 -0
- package/dist/lang-cypher/themeIcons.d.ts +7 -0
- package/dist/lang-cypher/themeIcons.js +22 -0
- package/dist/lang-cypher/themeIcons.js.map +1 -0
- package/dist/ndlTokensCopy.d.ts +379 -0
- package/dist/ndlTokensCopy.js +380 -0
- package/dist/ndlTokensCopy.js.map +1 -0
- package/dist/ndlTokensCopy.test.d.ts +1 -0
- package/dist/ndlTokensCopy.test.js +11 -0
- package/dist/ndlTokensCopy.test.js.map +1 -0
- package/dist/neo4jSetup.d.ts +2 -0
- package/dist/neo4jSetup.js +120 -0
- package/dist/neo4jSetup.js.map +1 -0
- package/dist/themes.d.ts +11 -0
- package/dist/themes.js +114 -0
- package/dist/themes.js.map +1 -0
- package/dist/tsconfig.tsbuildinfo +1 -0
- package/package.json +46 -16
- package/src/CypherEditor.tsx +461 -0
- package/src/e2e_tests/autoCompletion.spec.tsx +236 -0
- package/src/e2e_tests/configuration.spec.tsx +97 -0
- package/src/e2e_tests/e2eUtils.ts +85 -0
- package/src/e2e_tests/extraKeybindings.spec.tsx +57 -0
- package/src/e2e_tests/historyNavigation.spec.tsx +196 -0
- package/src/e2e_tests/performanceTest.spec.tsx +158 -0
- package/src/e2e_tests/sanityChecks.spec.tsx +78 -0
- package/src/e2e_tests/signatureHelp.spec.tsx +309 -0
- package/src/e2e_tests/snippets.spec.tsx +94 -0
- package/src/e2e_tests/syntaxHighlighting.spec.tsx +198 -0
- package/src/e2e_tests/syntaxValidation.spec.tsx +156 -0
- package/src/historyNavigation.ts +191 -0
- package/{esm/index.mjs → src/icons.ts} +37 -1283
- package/src/index.ts +4 -0
- package/src/lang-cypher/autocomplete.ts +81 -0
- package/src/lang-cypher/constants.ts +84 -0
- package/src/lang-cypher/contants.test.ts +104 -0
- package/src/lang-cypher/createCypherTheme.ts +240 -0
- package/src/lang-cypher/langCypher.ts +41 -0
- package/src/lang-cypher/lintWorker.ts +14 -0
- package/src/lang-cypher/parser-adapter.ts +145 -0
- package/src/lang-cypher/signatureHelp.ts +131 -0
- package/src/lang-cypher/syntaxValidation.ts +99 -0
- package/src/lang-cypher/themeIcons.ts +27 -0
- package/src/ndlTokensCopy.test.ts +11 -0
- package/src/ndlTokensCopy.ts +379 -0
- package/src/neo4jSetup.tsx +179 -0
- package/src/themes.ts +132 -0
- package/dist/index.cjs +0 -1330
|
@@ -0,0 +1,379 @@
|
|
|
1
|
+
export declare const tokens: {
|
|
2
|
+
borderRadius: {
|
|
3
|
+
'1xl': string;
|
|
4
|
+
'2xl': string;
|
|
5
|
+
'3xl': string;
|
|
6
|
+
'4xl': string;
|
|
7
|
+
'5xl': string;
|
|
8
|
+
full: string;
|
|
9
|
+
lg: string;
|
|
10
|
+
md: string;
|
|
11
|
+
none: string;
|
|
12
|
+
sm: string;
|
|
13
|
+
xl: string;
|
|
14
|
+
};
|
|
15
|
+
boxShadow: {
|
|
16
|
+
l2: string;
|
|
17
|
+
l3: string;
|
|
18
|
+
l4: string;
|
|
19
|
+
l5: string;
|
|
20
|
+
};
|
|
21
|
+
breakpoints: {
|
|
22
|
+
'2xl': string;
|
|
23
|
+
lg: string;
|
|
24
|
+
md: string;
|
|
25
|
+
sm: string;
|
|
26
|
+
xl: string;
|
|
27
|
+
xs: string;
|
|
28
|
+
};
|
|
29
|
+
colors: {
|
|
30
|
+
blueberry: {
|
|
31
|
+
'10': string;
|
|
32
|
+
'20': string;
|
|
33
|
+
'30': string;
|
|
34
|
+
'40': string;
|
|
35
|
+
'50': string;
|
|
36
|
+
'60': string;
|
|
37
|
+
'70': string;
|
|
38
|
+
};
|
|
39
|
+
danger: {
|
|
40
|
+
'10': string;
|
|
41
|
+
'20': string;
|
|
42
|
+
'30': string;
|
|
43
|
+
'40': string;
|
|
44
|
+
'50': string;
|
|
45
|
+
'60': string;
|
|
46
|
+
'70': string;
|
|
47
|
+
};
|
|
48
|
+
mint: {
|
|
49
|
+
'10': string;
|
|
50
|
+
'20': string;
|
|
51
|
+
'30': string;
|
|
52
|
+
'40': string;
|
|
53
|
+
'50': string;
|
|
54
|
+
'60': string;
|
|
55
|
+
'70': string;
|
|
56
|
+
};
|
|
57
|
+
neutral: {
|
|
58
|
+
'10': string;
|
|
59
|
+
'20': string;
|
|
60
|
+
'30': string;
|
|
61
|
+
'40': string;
|
|
62
|
+
'50': string;
|
|
63
|
+
'60': string;
|
|
64
|
+
'70': string;
|
|
65
|
+
'80': string;
|
|
66
|
+
'90': string;
|
|
67
|
+
};
|
|
68
|
+
primary: {
|
|
69
|
+
'10': string;
|
|
70
|
+
'20': string;
|
|
71
|
+
'30': string;
|
|
72
|
+
'40': string;
|
|
73
|
+
'50': string;
|
|
74
|
+
'60': string;
|
|
75
|
+
'70': string;
|
|
76
|
+
};
|
|
77
|
+
success: {
|
|
78
|
+
'10': string;
|
|
79
|
+
'20': string;
|
|
80
|
+
'30': string;
|
|
81
|
+
'40': string;
|
|
82
|
+
'50': string;
|
|
83
|
+
'60': string;
|
|
84
|
+
'70': string;
|
|
85
|
+
};
|
|
86
|
+
warning: {
|
|
87
|
+
'10': string;
|
|
88
|
+
'20': string;
|
|
89
|
+
'30': string;
|
|
90
|
+
'40': string;
|
|
91
|
+
'50': string;
|
|
92
|
+
'60': string;
|
|
93
|
+
'70': string;
|
|
94
|
+
};
|
|
95
|
+
};
|
|
96
|
+
font: {
|
|
97
|
+
size: {
|
|
98
|
+
'body-large': string;
|
|
99
|
+
'body-medium': string;
|
|
100
|
+
'body-small': string;
|
|
101
|
+
code: string;
|
|
102
|
+
h1: string;
|
|
103
|
+
h2: string;
|
|
104
|
+
h3: string;
|
|
105
|
+
h4: string;
|
|
106
|
+
h5: string;
|
|
107
|
+
h6: string;
|
|
108
|
+
label: string;
|
|
109
|
+
'subheading-large': string;
|
|
110
|
+
'subheading-medium': string;
|
|
111
|
+
'subheading-small': string;
|
|
112
|
+
};
|
|
113
|
+
weight: {
|
|
114
|
+
bold: string;
|
|
115
|
+
light: string;
|
|
116
|
+
medium: string;
|
|
117
|
+
normal: string;
|
|
118
|
+
semibold: string;
|
|
119
|
+
};
|
|
120
|
+
};
|
|
121
|
+
palette: {
|
|
122
|
+
categorical: {
|
|
123
|
+
'1': string;
|
|
124
|
+
'10': string;
|
|
125
|
+
'11': string;
|
|
126
|
+
'12': string;
|
|
127
|
+
'2': string;
|
|
128
|
+
'3': string;
|
|
129
|
+
'4': string;
|
|
130
|
+
'5': string;
|
|
131
|
+
'6': string;
|
|
132
|
+
'7': string;
|
|
133
|
+
'8': string;
|
|
134
|
+
'9': string;
|
|
135
|
+
};
|
|
136
|
+
dark: {
|
|
137
|
+
danger: {
|
|
138
|
+
bg: {
|
|
139
|
+
strong: string;
|
|
140
|
+
weak: string;
|
|
141
|
+
};
|
|
142
|
+
border: {
|
|
143
|
+
strong: string;
|
|
144
|
+
weak: string;
|
|
145
|
+
};
|
|
146
|
+
hover: {
|
|
147
|
+
strong: string;
|
|
148
|
+
weak: string;
|
|
149
|
+
};
|
|
150
|
+
icon: string;
|
|
151
|
+
pressed: {
|
|
152
|
+
strong: string;
|
|
153
|
+
weak: string;
|
|
154
|
+
};
|
|
155
|
+
text: string;
|
|
156
|
+
};
|
|
157
|
+
neutral: {
|
|
158
|
+
bg: {
|
|
159
|
+
default: string;
|
|
160
|
+
strong: string;
|
|
161
|
+
strongest: string;
|
|
162
|
+
weak: string;
|
|
163
|
+
};
|
|
164
|
+
border: {
|
|
165
|
+
strong: string;
|
|
166
|
+
weak: string;
|
|
167
|
+
};
|
|
168
|
+
hover: string;
|
|
169
|
+
icon: string;
|
|
170
|
+
pressed: string;
|
|
171
|
+
text: {
|
|
172
|
+
default: string;
|
|
173
|
+
inverse: string;
|
|
174
|
+
weak: string;
|
|
175
|
+
weaker: string;
|
|
176
|
+
weakest: string;
|
|
177
|
+
};
|
|
178
|
+
};
|
|
179
|
+
primary: {
|
|
180
|
+
bg: {
|
|
181
|
+
strong: string;
|
|
182
|
+
weak: string;
|
|
183
|
+
};
|
|
184
|
+
border: {
|
|
185
|
+
strong: string;
|
|
186
|
+
weak: string;
|
|
187
|
+
};
|
|
188
|
+
focus: string;
|
|
189
|
+
hover: {
|
|
190
|
+
strong: string;
|
|
191
|
+
weak: string;
|
|
192
|
+
};
|
|
193
|
+
icon: string;
|
|
194
|
+
pressed: {
|
|
195
|
+
strong: string;
|
|
196
|
+
weak: string;
|
|
197
|
+
};
|
|
198
|
+
text: string;
|
|
199
|
+
};
|
|
200
|
+
success: {
|
|
201
|
+
bg: {
|
|
202
|
+
strong: string;
|
|
203
|
+
weak: string;
|
|
204
|
+
};
|
|
205
|
+
border: {
|
|
206
|
+
strong: string;
|
|
207
|
+
weak: string;
|
|
208
|
+
};
|
|
209
|
+
icon: string;
|
|
210
|
+
text: string;
|
|
211
|
+
};
|
|
212
|
+
warning: {
|
|
213
|
+
bg: {
|
|
214
|
+
strong: string;
|
|
215
|
+
weak: string;
|
|
216
|
+
};
|
|
217
|
+
border: {
|
|
218
|
+
strong: string;
|
|
219
|
+
weak: string;
|
|
220
|
+
};
|
|
221
|
+
icon: string;
|
|
222
|
+
text: string;
|
|
223
|
+
};
|
|
224
|
+
};
|
|
225
|
+
graph: {
|
|
226
|
+
'1': string;
|
|
227
|
+
'10': string;
|
|
228
|
+
'11': string;
|
|
229
|
+
'12': string;
|
|
230
|
+
'2': string;
|
|
231
|
+
'3': string;
|
|
232
|
+
'4': string;
|
|
233
|
+
'5': string;
|
|
234
|
+
'6': string;
|
|
235
|
+
'7': string;
|
|
236
|
+
'8': string;
|
|
237
|
+
'9': string;
|
|
238
|
+
};
|
|
239
|
+
light: {
|
|
240
|
+
danger: {
|
|
241
|
+
bg: {
|
|
242
|
+
strong: string;
|
|
243
|
+
weak: string;
|
|
244
|
+
};
|
|
245
|
+
border: {
|
|
246
|
+
strong: string;
|
|
247
|
+
weak: string;
|
|
248
|
+
};
|
|
249
|
+
hover: {
|
|
250
|
+
strong: string;
|
|
251
|
+
weak: string;
|
|
252
|
+
};
|
|
253
|
+
icon: string;
|
|
254
|
+
pressed: {
|
|
255
|
+
strong: string;
|
|
256
|
+
weak: string;
|
|
257
|
+
};
|
|
258
|
+
text: string;
|
|
259
|
+
};
|
|
260
|
+
neutral: {
|
|
261
|
+
bg: {
|
|
262
|
+
default: string;
|
|
263
|
+
strong: string;
|
|
264
|
+
strongest: string;
|
|
265
|
+
weak: string;
|
|
266
|
+
};
|
|
267
|
+
border: {
|
|
268
|
+
strong: string;
|
|
269
|
+
weak: string;
|
|
270
|
+
};
|
|
271
|
+
hover: string;
|
|
272
|
+
icon: string;
|
|
273
|
+
pressed: string;
|
|
274
|
+
text: {
|
|
275
|
+
default: string;
|
|
276
|
+
inverse: string;
|
|
277
|
+
weak: string;
|
|
278
|
+
weaker: string;
|
|
279
|
+
weakest: string;
|
|
280
|
+
};
|
|
281
|
+
};
|
|
282
|
+
primary: {
|
|
283
|
+
bg: {
|
|
284
|
+
strong: string;
|
|
285
|
+
weak: string;
|
|
286
|
+
};
|
|
287
|
+
border: {
|
|
288
|
+
strong: string;
|
|
289
|
+
weak: string;
|
|
290
|
+
};
|
|
291
|
+
focus: string;
|
|
292
|
+
hover: {
|
|
293
|
+
strong: string;
|
|
294
|
+
weak: string;
|
|
295
|
+
};
|
|
296
|
+
icon: string;
|
|
297
|
+
pressed: {
|
|
298
|
+
strong: string;
|
|
299
|
+
weak: string;
|
|
300
|
+
};
|
|
301
|
+
text: string;
|
|
302
|
+
};
|
|
303
|
+
success: {
|
|
304
|
+
bg: {
|
|
305
|
+
strong: string;
|
|
306
|
+
weak: string;
|
|
307
|
+
};
|
|
308
|
+
border: {
|
|
309
|
+
strong: string;
|
|
310
|
+
weak: string;
|
|
311
|
+
};
|
|
312
|
+
icon: string;
|
|
313
|
+
text: string;
|
|
314
|
+
};
|
|
315
|
+
warning: {
|
|
316
|
+
bg: {
|
|
317
|
+
strong: string;
|
|
318
|
+
weak: string;
|
|
319
|
+
};
|
|
320
|
+
border: {
|
|
321
|
+
strong: string;
|
|
322
|
+
weak: string;
|
|
323
|
+
};
|
|
324
|
+
icon: string;
|
|
325
|
+
text: string;
|
|
326
|
+
};
|
|
327
|
+
};
|
|
328
|
+
};
|
|
329
|
+
space: {
|
|
330
|
+
'0': string;
|
|
331
|
+
'1': string;
|
|
332
|
+
'10': string;
|
|
333
|
+
'11': string;
|
|
334
|
+
'12': string;
|
|
335
|
+
'13': string;
|
|
336
|
+
'2': string;
|
|
337
|
+
'3': string;
|
|
338
|
+
'4': string;
|
|
339
|
+
'5': string;
|
|
340
|
+
'6': string;
|
|
341
|
+
'7': string;
|
|
342
|
+
'8': string;
|
|
343
|
+
'9': string;
|
|
344
|
+
};
|
|
345
|
+
transitions: {
|
|
346
|
+
default: string;
|
|
347
|
+
stripped: string;
|
|
348
|
+
values: {
|
|
349
|
+
duration: {
|
|
350
|
+
default: string;
|
|
351
|
+
};
|
|
352
|
+
properties: {
|
|
353
|
+
default: string;
|
|
354
|
+
};
|
|
355
|
+
'timing-function': {
|
|
356
|
+
default: string;
|
|
357
|
+
};
|
|
358
|
+
};
|
|
359
|
+
};
|
|
360
|
+
zIndex: {
|
|
361
|
+
'0': number;
|
|
362
|
+
'10': number;
|
|
363
|
+
'20': number;
|
|
364
|
+
'30': number;
|
|
365
|
+
'40': number;
|
|
366
|
+
'50': number;
|
|
367
|
+
'60': number;
|
|
368
|
+
alias: {
|
|
369
|
+
banner: number;
|
|
370
|
+
blanket: number;
|
|
371
|
+
modal: number;
|
|
372
|
+
overlay: number;
|
|
373
|
+
popover: number;
|
|
374
|
+
tooltip: number;
|
|
375
|
+
};
|
|
376
|
+
auto: string;
|
|
377
|
+
deep: number;
|
|
378
|
+
};
|
|
379
|
+
};
|