@finos/legend-lego 1.2.71 → 2.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (65) hide show
  1. package/lib/code-editor/CodeDiffView.d.ts +3 -1
  2. package/lib/code-editor/CodeDiffView.d.ts.map +1 -1
  3. package/lib/code-editor/CodeDiffView.js +6 -2
  4. package/lib/code-editor/CodeDiffView.js.map +1 -1
  5. package/lib/code-editor/CodeEditor.d.ts +8 -2
  6. package/lib/code-editor/CodeEditor.d.ts.map +1 -1
  7. package/lib/code-editor/CodeEditor.js +42 -4
  8. package/lib/code-editor/CodeEditor.js.map +1 -1
  9. package/lib/code-editor/index.d.ts +0 -5
  10. package/lib/code-editor/index.d.ts.map +1 -1
  11. package/lib/code-editor/index.js +0 -5
  12. package/lib/code-editor/index.js.map +1 -1
  13. package/lib/index.css +1 -1
  14. package/package.json +29 -29
  15. package/src/code-editor/CodeDiffView.tsx +10 -3
  16. package/src/code-editor/CodeEditor.tsx +69 -4
  17. package/src/code-editor/index.ts +0 -6
  18. package/tsconfig.json +1 -15
  19. package/lib/code-editor/CodeEditorTheme.d.ts +0 -41
  20. package/lib/code-editor/CodeEditorTheme.d.ts.map +0 -1
  21. package/lib/code-editor/CodeEditorTheme.js +0 -99
  22. package/lib/code-editor/CodeEditorTheme.js.map +0 -1
  23. package/lib/code-editor/CodeEditorUtils.d.ts +0 -74
  24. package/lib/code-editor/CodeEditorUtils.d.ts.map +0 -1
  25. package/lib/code-editor/CodeEditorUtils.js +0 -203
  26. package/lib/code-editor/CodeEditorUtils.js.map +0 -1
  27. package/lib/code-editor/PureLanguage.d.ts +0 -38
  28. package/lib/code-editor/PureLanguage.d.ts.map +0 -1
  29. package/lib/code-editor/PureLanguage.js +0 -39
  30. package/lib/code-editor/PureLanguage.js.map +0 -1
  31. package/lib/code-editor/PureLanguageCodeEditorSupport.d.ts +0 -71
  32. package/lib/code-editor/PureLanguageCodeEditorSupport.d.ts.map +0 -1
  33. package/lib/code-editor/PureLanguageCodeEditorSupport.js +0 -238
  34. package/lib/code-editor/PureLanguageCodeEditorSupport.js.map +0 -1
  35. package/lib/code-editor/PureLanguageService.d.ts +0 -19
  36. package/lib/code-editor/PureLanguageService.d.ts.map +0 -1
  37. package/lib/code-editor/PureLanguageService.js +0 -373
  38. package/lib/code-editor/PureLanguageService.js.map +0 -1
  39. package/lib/code-editor/themes/Github-Theme-dark-dimmed.json +0 -613
  40. package/lib/code-editor/themes/Github-Theme-dark.json +0 -513
  41. package/lib/code-editor/themes/Github-Theme-light.json +0 -598
  42. package/lib/code-editor/themes/Material-Theme-Darker.json +0 -816
  43. package/lib/code-editor/themes/Material-Theme-Default.json +0 -816
  44. package/lib/code-editor/themes/MonacoEditorThemeUtils.d.ts +0 -31
  45. package/lib/code-editor/themes/MonacoEditorThemeUtils.d.ts.map +0 -1
  46. package/lib/code-editor/themes/MonacoEditorThemeUtils.js +0 -88
  47. package/lib/code-editor/themes/MonacoEditorThemeUtils.js.map +0 -1
  48. package/lib/code-editor/themes/OneDark-Pro-darker.json +0 -2061
  49. package/lib/code-editor/themes/OneDark-Pro.json +0 -2090
  50. package/lib/code-editor/themes/solarized-dark-color-theme.json +0 -398
  51. package/src/code-editor/CodeEditorTheme.ts +0 -151
  52. package/src/code-editor/CodeEditorUtils.ts +0 -336
  53. package/src/code-editor/PureLanguage.ts +0 -42
  54. package/src/code-editor/PureLanguageCodeEditorSupport.ts +0 -341
  55. package/src/code-editor/PureLanguageService.ts +0 -416
  56. package/src/code-editor/themes/Github-Theme-dark-dimmed.json +0 -613
  57. package/src/code-editor/themes/Github-Theme-dark.json +0 -513
  58. package/src/code-editor/themes/Github-Theme-light.json +0 -598
  59. package/src/code-editor/themes/Material-Theme-Darker.json +0 -816
  60. package/src/code-editor/themes/Material-Theme-Default.json +0 -816
  61. package/src/code-editor/themes/MonacoEditorThemeUtils.ts +0 -128
  62. package/src/code-editor/themes/OneDark-Pro-darker.json +0 -2061
  63. package/src/code-editor/themes/OneDark-Pro.json +0 -2090
  64. package/src/code-editor/themes/README.md +0 -8
  65. package/src/code-editor/themes/solarized-dark-color-theme.json +0 -423
@@ -1,513 +0,0 @@
1
- {
2
- "name": "GitHub Dark",
3
- "colors": {
4
- "focusBorder": "#005cc5",
5
- "foreground": "#d1d5da",
6
- "descriptionForeground": "#959da5",
7
- "errorForeground": "#f97583",
8
- "textLink.foreground": "#79b8ff",
9
- "textLink.activeForeground": "#c8e1ff",
10
- "textBlockQuote.background": "#24292e",
11
- "textBlockQuote.border": "#444d56",
12
- "textCodeBlock.background": "#2f363d",
13
- "textPreformat.foreground": "#d1d5da",
14
- "textSeparator.foreground": "#586069",
15
- "button.background": "#176f2c",
16
- "button.foreground": "#dcffe4",
17
- "button.hoverBackground": "#22863a",
18
- "button.secondaryBackground": "#444d56",
19
- "button.secondaryForeground": "#fff",
20
- "button.secondaryHoverBackground": "#586069",
21
- "checkbox.background": "#444d56",
22
- "checkbox.border": "#1b1f23",
23
- "dropdown.background": "#2f363d",
24
- "dropdown.border": "#1b1f23",
25
- "dropdown.foreground": "#e1e4e8",
26
- "dropdown.listBackground": "#24292e",
27
- "input.background": "#2f363d",
28
- "input.border": "#1b1f23",
29
- "input.foreground": "#e1e4e8",
30
- "input.placeholderForeground": "#959da5",
31
- "badge.foreground": "#c8e1ff",
32
- "badge.background": "#044289",
33
- "progressBar.background": "#0366d6",
34
- "titleBar.activeForeground": "#e1e4e8",
35
- "titleBar.activeBackground": "#24292e",
36
- "titleBar.inactiveForeground": "#959da5",
37
- "titleBar.inactiveBackground": "#1f2428",
38
- "titleBar.border": "#1b1f23",
39
- "activityBar.foreground": "#e1e4e8",
40
- "activityBar.inactiveForeground": "#6a737d",
41
- "activityBar.background": "#24292e",
42
- "activityBarBadge.foreground": "#fff",
43
- "activityBarBadge.background": "#0366d6",
44
- "activityBar.activeBorder": "#f9826c",
45
- "activityBar.border": "#1b1f23",
46
- "sideBar.foreground": "#d1d5da",
47
- "sideBar.background": "#1f2428",
48
- "sideBar.border": "#1b1f23",
49
- "sideBarTitle.foreground": "#e1e4e8",
50
- "sideBarSectionHeader.foreground": "#e1e4e8",
51
- "sideBarSectionHeader.background": "#1f2428",
52
- "sideBarSectionHeader.border": "#1b1f23",
53
- "list.hoverForeground": "#e1e4e8",
54
- "list.inactiveSelectionForeground": "#e1e4e8",
55
- "list.activeSelectionForeground": "#e1e4e8",
56
- "list.hoverBackground": "#282e34",
57
- "list.inactiveSelectionBackground": "#282e34",
58
- "list.activeSelectionBackground": "#39414a",
59
- "list.inactiveFocusBackground": "#1d2d3e",
60
- "list.focusBackground": "#044289",
61
- "tree.indentGuidesStroke": "#2f363d",
62
- "notificationCenterHeader.foreground": "#959da5",
63
- "notificationCenterHeader.background": "#24292e",
64
- "notifications.foreground": "#e1e4e8",
65
- "notifications.background": "#2f363d",
66
- "notifications.border": "#1b1f23",
67
- "notificationsErrorIcon.foreground": "#ea4a5a",
68
- "notificationsWarningIcon.foreground": "#ffab70",
69
- "notificationsInfoIcon.foreground": "#79b8ff",
70
- "pickerGroup.border": "#444d56",
71
- "pickerGroup.foreground": "#e1e4e8",
72
- "quickInput.background": "#24292e",
73
- "quickInput.foreground": "#e1e4e8",
74
- "statusBar.foreground": "#d1d5da",
75
- "statusBar.background": "#24292e",
76
- "statusBar.border": "#1b1f23",
77
- "statusBar.noFolderBackground": "#24292e",
78
- "statusBar.debuggingBackground": "#931c06",
79
- "statusBar.debuggingForeground": "#fff",
80
- "statusBarItem.prominentBackground": "#282e34",
81
- "statusBarItem.remoteForeground": "#d1d5da",
82
- "statusBarItem.remoteBackground": "#24292e",
83
- "editorGroupHeader.tabsBackground": "#1f2428",
84
- "editorGroupHeader.tabsBorder": "#1b1f23",
85
- "editorGroup.border": "#1b1f23",
86
- "tab.activeForeground": "#e1e4e8",
87
- "tab.inactiveForeground": "#959da5",
88
- "tab.inactiveBackground": "#1f2428",
89
- "tab.activeBackground": "#24292e",
90
- "tab.hoverBackground": "#24292e",
91
- "tab.unfocusedHoverBackground": "#24292e",
92
- "tab.border": "#1b1f23",
93
- "tab.unfocusedActiveBorderTop": "#1b1f23",
94
- "tab.activeBorder": "#24292e",
95
- "tab.unfocusedActiveBorder": "#24292e",
96
- "tab.activeBorderTop": "#f9826c",
97
- "breadcrumb.foreground": "#959da5",
98
- "breadcrumb.focusForeground": "#e1e4e8",
99
- "breadcrumb.activeSelectionForeground": "#d1d5da",
100
- "breadcrumbPicker.background": "#2b3036",
101
- "editor.foreground": "#e1e4e8",
102
- "editor.background": "#24292e",
103
- "editorWidget.background": "#1f2428",
104
- "editor.foldBackground": "#58606915",
105
- "editor.lineHighlightBackground": "#2b3036",
106
- "editorLineNumber.foreground": "#444d56",
107
- "editorLineNumber.activeForeground": "#e1e4e8",
108
- "editorIndentGuide.background": "#2f363d",
109
- "editorIndentGuide.activeBackground": "#444d56",
110
- "editorWhitespace.foreground": "#444d56",
111
- "editorCursor.foreground": "#c8e1ff",
112
- "editorError.foreground": "#f97583",
113
- "editorWarning.foreground": "#ffea7f",
114
- "editor.findMatchBackground": "#ffd33d44",
115
- "editor.findMatchHighlightBackground": "#ffd33d22",
116
- "editor.linkedEditingBackground": "#3392FF22",
117
- "editor.inactiveSelectionBackground": "#3392FF22",
118
- "editor.selectionBackground": "#3392FF44",
119
- "editor.selectionHighlightBackground": "#17E5E633",
120
- "editor.selectionHighlightBorder": "#17E5E600",
121
- "editor.wordHighlightBackground": "#17E5E600",
122
- "editor.wordHighlightStrongBackground": "#17E5E600",
123
- "editor.wordHighlightBorder": "#17E5E699",
124
- "editor.wordHighlightStrongBorder": "#17E5E666",
125
- "editorBracketMatch.background": "#17E5E650",
126
- "editorBracketMatch.border": "#17E5E600",
127
- "editorGutter.modifiedBackground": "#2188ff",
128
- "editorGutter.addedBackground": "#28a745",
129
- "editorGutter.deletedBackground": "#ea4a5a",
130
- "diffEditor.insertedTextBackground": "#28a74530",
131
- "diffEditor.removedTextBackground": "#d73a4930",
132
- "scrollbar.shadow": "#0008",
133
- "scrollbarSlider.background": "#6a737d33",
134
- "scrollbarSlider.hoverBackground": "#6a737d44",
135
- "scrollbarSlider.activeBackground": "#6a737d88",
136
- "editorOverviewRuler.border": "#1b1f23",
137
- "panel.background": "#1f2428",
138
- "panel.border": "#1b1f23",
139
- "panelTitle.activeBorder": "#f9826c",
140
- "panelTitle.activeForeground": "#e1e4e8",
141
- "panelTitle.inactiveForeground": "#959da5",
142
- "panelInput.border": "#2f363d",
143
- "terminal.foreground": "#d1d5da",
144
- "terminal.tab.activeBorder": "#f9826c",
145
- "terminalCursor.background": "#586069",
146
- "terminalCursor.foreground": "#79b8ff",
147
- "terminal.ansiBrightWhite": "#fafbfc",
148
- "terminal.ansiWhite": "#d1d5da",
149
- "terminal.ansiBrightBlack": "#959da5",
150
- "terminal.ansiBlack": "#586069",
151
- "terminal.ansiBlue": "#2188ff",
152
- "terminal.ansiBrightBlue": "#79b8ff",
153
- "terminal.ansiGreen": "#34d058",
154
- "terminal.ansiBrightGreen": "#85e89d",
155
- "terminal.ansiCyan": "#39c5cf",
156
- "terminal.ansiBrightCyan": "#56d4dd",
157
- "terminal.ansiRed": "#ea4a5a",
158
- "terminal.ansiBrightRed": "#f97583",
159
- "terminal.ansiMagenta": "#b392f0",
160
- "terminal.ansiBrightMagenta": "#b392f0",
161
- "terminal.ansiYellow": "#ffea7f",
162
- "terminal.ansiBrightYellow": "#ffea7f",
163
- "editorBracketHighlight.foreground1": "#79b8ff",
164
- "editorBracketHighlight.foreground2": "#ffab70",
165
- "editorBracketHighlight.foreground3": "#b392f0",
166
- "editorBracketHighlight.foreground4": "#79b8ff",
167
- "editorBracketHighlight.foreground5": "#ffab70",
168
- "editorBracketHighlight.foreground6": "#b392f0",
169
- "gitDecoration.addedResourceForeground": "#34d058",
170
- "gitDecoration.modifiedResourceForeground": "#79b8ff",
171
- "gitDecoration.deletedResourceForeground": "#ea4a5a",
172
- "gitDecoration.untrackedResourceForeground": "#34d058",
173
- "gitDecoration.ignoredResourceForeground": "#6a737d",
174
- "gitDecoration.conflictingResourceForeground": "#ffab70",
175
- "gitDecoration.submoduleResourceForeground": "#6a737d",
176
- "debugToolBar.background": "#2b3036",
177
- "editor.stackFrameHighlightBackground": "#C6902625",
178
- "editor.focusedStackFrameHighlightBackground": "#2b6a3033",
179
- "peekViewEditor.matchHighlightBackground": "#ffd33d33",
180
- "peekViewResult.matchHighlightBackground": "#ffd33d33",
181
- "peekViewEditor.background": "#1f242888",
182
- "peekViewResult.background": "#1f2428",
183
- "settings.headerForeground": "#e1e4e8",
184
- "settings.modifiedItemIndicator": "#0366d6",
185
- "welcomePage.buttonBackground": "#2f363d",
186
- "welcomePage.buttonHoverBackground": "#444d56"
187
- },
188
- "semanticHighlighting": true,
189
- "tokenColors": [
190
- {
191
- "scope": ["comment", "punctuation.definition.comment", "string.comment"],
192
- "settings": {
193
- "foreground": "#6a737d"
194
- }
195
- },
196
- {
197
- "scope": [
198
- "constant",
199
- "entity.name.constant",
200
- "variable.other.constant",
201
- "variable.other.enummember",
202
- "variable.language"
203
- ],
204
- "settings": {
205
- "foreground": "#79b8ff"
206
- }
207
- },
208
- {
209
- "scope": ["entity", "entity.name"],
210
- "settings": {
211
- "foreground": "#b392f0"
212
- }
213
- },
214
- {
215
- "scope": "variable.parameter.function",
216
- "settings": {
217
- "foreground": "#e1e4e8"
218
- }
219
- },
220
- {
221
- "scope": "entity.name.tag",
222
- "settings": {
223
- "foreground": "#85e89d"
224
- }
225
- },
226
- {
227
- "scope": "keyword",
228
- "settings": {
229
- "foreground": "#f97583"
230
- }
231
- },
232
- {
233
- "scope": ["storage", "storage.type"],
234
- "settings": {
235
- "foreground": "#f97583"
236
- }
237
- },
238
- {
239
- "scope": [
240
- "storage.modifier.package",
241
- "storage.modifier.import",
242
- "storage.type.java"
243
- ],
244
- "settings": {
245
- "foreground": "#e1e4e8"
246
- }
247
- },
248
- {
249
- "scope": [
250
- "string",
251
- "punctuation.definition.string",
252
- "string punctuation.section.embedded source"
253
- ],
254
- "settings": {
255
- "foreground": "#9ecbff"
256
- }
257
- },
258
- {
259
- "scope": "support",
260
- "settings": {
261
- "foreground": "#79b8ff"
262
- }
263
- },
264
- {
265
- "scope": "meta.property-name",
266
- "settings": {
267
- "foreground": "#79b8ff"
268
- }
269
- },
270
- {
271
- "scope": "variable",
272
- "settings": {
273
- "foreground": "#ffab70"
274
- }
275
- },
276
- {
277
- "scope": "variable.other",
278
- "settings": {
279
- "foreground": "#e1e4e8"
280
- }
281
- },
282
- {
283
- "scope": "invalid.broken",
284
- "settings": {
285
- "fontStyle": "italic",
286
- "foreground": "#fdaeb7"
287
- }
288
- },
289
- {
290
- "scope": "invalid.deprecated",
291
- "settings": {
292
- "fontStyle": "italic",
293
- "foreground": "#fdaeb7"
294
- }
295
- },
296
- {
297
- "scope": "invalid.illegal",
298
- "settings": {
299
- "fontStyle": "italic",
300
- "foreground": "#fdaeb7"
301
- }
302
- },
303
- {
304
- "scope": "invalid.unimplemented",
305
- "settings": {
306
- "fontStyle": "italic",
307
- "foreground": "#fdaeb7"
308
- }
309
- },
310
- {
311
- "scope": "carriage-return",
312
- "settings": {
313
- "fontStyle": "italic underline",
314
- "background": "#f97583",
315
- "foreground": "#24292e",
316
- "content": "^M"
317
- }
318
- },
319
- {
320
- "scope": "message.error",
321
- "settings": {
322
- "foreground": "#fdaeb7"
323
- }
324
- },
325
- {
326
- "scope": "string variable",
327
- "settings": {
328
- "foreground": "#79b8ff"
329
- }
330
- },
331
- {
332
- "scope": ["source.regexp", "string.regexp"],
333
- "settings": {
334
- "foreground": "#dbedff"
335
- }
336
- },
337
- {
338
- "scope": [
339
- "string.regexp.character-class",
340
- "string.regexp constant.character.escape",
341
- "string.regexp source.ruby.embedded",
342
- "string.regexp string.regexp.arbitrary-repitition"
343
- ],
344
- "settings": {
345
- "foreground": "#dbedff"
346
- }
347
- },
348
- {
349
- "scope": "string.regexp constant.character.escape",
350
- "settings": {
351
- "fontStyle": "bold",
352
- "foreground": "#85e89d"
353
- }
354
- },
355
- {
356
- "scope": "support.constant",
357
- "settings": {
358
- "foreground": "#79b8ff"
359
- }
360
- },
361
- {
362
- "scope": "support.variable",
363
- "settings": {
364
- "foreground": "#79b8ff"
365
- }
366
- },
367
- {
368
- "scope": "meta.module-reference",
369
- "settings": {
370
- "foreground": "#79b8ff"
371
- }
372
- },
373
- {
374
- "scope": "punctuation.definition.list.begin.markdown",
375
- "settings": {
376
- "foreground": "#ffab70"
377
- }
378
- },
379
- {
380
- "scope": ["markup.heading", "markup.heading entity.name"],
381
- "settings": {
382
- "fontStyle": "bold",
383
- "foreground": "#79b8ff"
384
- }
385
- },
386
- {
387
- "scope": "markup.quote",
388
- "settings": {
389
- "foreground": "#85e89d"
390
- }
391
- },
392
- {
393
- "scope": "markup.italic",
394
- "settings": {
395
- "fontStyle": "italic",
396
- "foreground": "#e1e4e8"
397
- }
398
- },
399
- {
400
- "scope": "markup.bold",
401
- "settings": {
402
- "fontStyle": "bold",
403
- "foreground": "#e1e4e8"
404
- }
405
- },
406
- {
407
- "scope": ["markup.underline"],
408
- "settings": {
409
- "fontStyle": "underline"
410
- }
411
- },
412
- {
413
- "scope": ["markup.strikethrough"],
414
- "settings": {
415
- "fontStyle": "strikethrough"
416
- }
417
- },
418
- {
419
- "scope": "markup.inline.raw",
420
- "settings": {
421
- "foreground": "#79b8ff"
422
- }
423
- },
424
- {
425
- "scope": [
426
- "markup.deleted",
427
- "meta.diff.header.from-file",
428
- "punctuation.definition.deleted"
429
- ],
430
- "settings": {
431
- "background": "#86181d",
432
- "foreground": "#fdaeb7"
433
- }
434
- },
435
- {
436
- "scope": [
437
- "markup.inserted",
438
- "meta.diff.header.to-file",
439
- "punctuation.definition.inserted"
440
- ],
441
- "settings": {
442
- "background": "#144620",
443
- "foreground": "#85e89d"
444
- }
445
- },
446
- {
447
- "scope": ["markup.changed", "punctuation.definition.changed"],
448
- "settings": {
449
- "background": "#c24e00",
450
- "foreground": "#ffab70"
451
- }
452
- },
453
- {
454
- "scope": ["markup.ignored", "markup.untracked"],
455
- "settings": {
456
- "foreground": "#2f363d",
457
- "background": "#79b8ff"
458
- }
459
- },
460
- {
461
- "scope": "meta.diff.range",
462
- "settings": {
463
- "foreground": "#b392f0",
464
- "fontStyle": "bold"
465
- }
466
- },
467
- {
468
- "scope": "meta.diff.header",
469
- "settings": {
470
- "foreground": "#79b8ff"
471
- }
472
- },
473
- {
474
- "scope": "meta.separator",
475
- "settings": {
476
- "fontStyle": "bold",
477
- "foreground": "#79b8ff"
478
- }
479
- },
480
- {
481
- "scope": "meta.output",
482
- "settings": {
483
- "foreground": "#79b8ff"
484
- }
485
- },
486
- {
487
- "scope": [
488
- "brackethighlighter.tag",
489
- "brackethighlighter.curly",
490
- "brackethighlighter.round",
491
- "brackethighlighter.square",
492
- "brackethighlighter.angle",
493
- "brackethighlighter.quote"
494
- ],
495
- "settings": {
496
- "foreground": "#d1d5da"
497
- }
498
- },
499
- {
500
- "scope": "brackethighlighter.unmatched",
501
- "settings": {
502
- "foreground": "#fdaeb7"
503
- }
504
- },
505
- {
506
- "scope": ["constant.other.reference.link", "string.other.link"],
507
- "settings": {
508
- "foreground": "#dbedff",
509
- "fontStyle": "underline"
510
- }
511
- }
512
- ]
513
- }