@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,8 +0,0 @@
1
- # Visual Studio Code Theme
2
-
3
- Since `monaco-editor` and `vscode` [use different theme systems](https://stackoverflow.com/questions/65959169/how-to-use-a-vsc-theme-in-monaco-editor), we need to convert themes from the latter. Here, we create a little utilities to convert themes downloaded from [marketplace](https://marketplace.visualstudio.com/). Following is the detailed version tracking of these themes:
4
-
5
- 1. [Material Theme](https://marketplace.visualstudio.com/items?itemName=Equinusocio.vsc-material-theme): Version [33.8.0](https://marketplace.visualstudio.com/_apis/public/gallery/publishers/Equinusocio/vsextensions/vsc-material-theme/33.8.0/vspackage) - 3/24/2023
6
- 2. [GitHub Theme](https://marketplace.visualstudio.com/items?itemName=GitHub.github-vscode-theme): Version [6.3.4](https://marketplace.visualstudio.com/_apis/public/gallery/publishers/GitHub/vsextensions/github-vscode-theme/6.3.4/vspackage) - 3/28/2023
7
- 3. [One Dark Pro](https://marketplace.visualstudio.com/items?itemName=zhuangtongfa.Material-theme): Version [3.15.8](https://marketplace.visualstudio.com/_apis/public/gallery/publishers/zhuangtongfa/vsextensions/Material-theme/3.15.8/vspackage) - 3/9/2023
8
- 4. [Solarized Dark](https://github.com/microsoft/vscode/blob/main/extensions/theme-solarized-dark/themes/solarized-dark-color-theme.json): Commit [cf43717e18bbf1be6bd49a26e2cdadd61435fb8a](https://github.com/microsoft/vscode/commit/cf43717e18bbf1be6bd49a26e2cdadd61435fb8a) - 8/1/2022
@@ -1,423 +0,0 @@
1
- {
2
- "name": "Solarized (dark)",
3
- "tokenColors": [
4
- {
5
- "settings": {
6
- "foreground": "#839496"
7
- }
8
- },
9
- {
10
- "scope": [
11
- "meta.embedded",
12
- "source.groovy.embedded",
13
- "string meta.image.inline.markdown"
14
- ],
15
- "settings": {
16
- "foreground": "#839496"
17
- }
18
- },
19
- {
20
- "name": "Comment",
21
- "scope": "comment",
22
- "settings": {
23
- "fontStyle": "italic",
24
- "foreground": "#586E75"
25
- }
26
- },
27
- {
28
- "name": "String",
29
- "scope": "string",
30
- "settings": {
31
- "foreground": "#2AA198"
32
- }
33
- },
34
- {
35
- "name": "Regexp",
36
- "scope": "string.regexp",
37
- "settings": {
38
- "foreground": "#DC322F"
39
- }
40
- },
41
- {
42
- "name": "Number",
43
- "scope": "constant.numeric",
44
- "settings": {
45
- "foreground": "#D33682"
46
- }
47
- },
48
- {
49
- "name": "Variable",
50
- "scope": ["variable.language", "variable.other"],
51
- "settings": {
52
- "foreground": "#268BD2"
53
- }
54
- },
55
- {
56
- "name": "Keyword",
57
- "scope": "keyword",
58
- "settings": {
59
- "foreground": "#859900"
60
- }
61
- },
62
- {
63
- "name": "Storage",
64
- "scope": "storage",
65
- "settings": {
66
- "fontStyle": "bold",
67
- "foreground": "#93A1A1"
68
- }
69
- },
70
- {
71
- "name": "Class name",
72
- "scope": [
73
- "entity.name.class",
74
- "entity.name.type",
75
- "entity.name.namespace",
76
- "entity.name.scope-resolution"
77
- ],
78
- "settings": {
79
- "fontStyle": "",
80
- "foreground": "#CB4B16"
81
- }
82
- },
83
- {
84
- "name": "Function name",
85
- "scope": "entity.name.function",
86
- "settings": {
87
- "foreground": "#268BD2"
88
- }
89
- },
90
- {
91
- "name": "Variable start",
92
- "scope": "punctuation.definition.variable",
93
- "settings": {
94
- "foreground": "#859900"
95
- }
96
- },
97
- {
98
- "name": "Embedded code markers",
99
- "scope": [
100
- "punctuation.section.embedded.begin",
101
- "punctuation.section.embedded.end"
102
- ],
103
- "settings": {
104
- "foreground": "#DC322F"
105
- }
106
- },
107
- {
108
- "name": "Built-in constant",
109
- "scope": ["constant.language", "meta.preprocessor"],
110
- "settings": {
111
- "foreground": "#B58900"
112
- }
113
- },
114
- {
115
- "name": "Support.construct",
116
- "scope": ["support.function.construct", "keyword.other.new"],
117
- "settings": {
118
- "foreground": "#CB4B16"
119
- }
120
- },
121
- {
122
- "name": "User-defined constant",
123
- "scope": ["constant.character", "constant.other"],
124
- "settings": {
125
- "foreground": "#CB4B16"
126
- }
127
- },
128
- {
129
- "name": "Inherited class",
130
- "scope": "entity.other.inherited-class",
131
- "settings": {
132
- "foreground": "#6C71C4"
133
- }
134
- },
135
- {
136
- "name": "Function argument",
137
- "scope": "variable.parameter",
138
- "settings": {}
139
- },
140
- {
141
- "name": "Tag name",
142
- "scope": "entity.name.tag",
143
- "settings": {
144
- "foreground": "#268BD2"
145
- }
146
- },
147
- {
148
- "name": "Tag start/end",
149
- "scope": "punctuation.definition.tag",
150
- "settings": {
151
- "foreground": "#586E75"
152
- }
153
- },
154
- {
155
- "name": "Tag attribute",
156
- "scope": "entity.other.attribute-name",
157
- "settings": {
158
- "foreground": "#93A1A1"
159
- }
160
- },
161
- {
162
- "name": "Library function",
163
- "scope": "support.function",
164
- "settings": {
165
- "foreground": "#268BD2"
166
- }
167
- },
168
- {
169
- "name": "Continuation",
170
- "scope": "punctuation.separator.continuation",
171
- "settings": {
172
- "foreground": "#DC322F"
173
- }
174
- },
175
- {
176
- "name": "Library constant",
177
- "scope": ["support.constant", "support.variable"],
178
- "settings": {}
179
- },
180
- {
181
- "name": "Library class/type",
182
- "scope": ["support.type", "support.class"],
183
- "settings": {
184
- "foreground": "#859900"
185
- }
186
- },
187
- {
188
- "name": "Library Exception",
189
- "scope": "support.type.exception",
190
- "settings": {
191
- "foreground": "#CB4B16"
192
- }
193
- },
194
- {
195
- "name": "Library variable",
196
- "scope": "support.other.variable",
197
- "settings": {}
198
- },
199
- {
200
- "name": "Invalid",
201
- "scope": "invalid",
202
- "settings": {
203
- "foreground": "#DC322F"
204
- }
205
- },
206
- {
207
- "name": "diff: header",
208
- "scope": ["meta.diff", "meta.diff.header"],
209
- "settings": {
210
- "fontStyle": "italic",
211
- "foreground": "#268BD2"
212
- }
213
- },
214
- {
215
- "name": "diff: deleted",
216
- "scope": "markup.deleted",
217
- "settings": {
218
- "fontStyle": "",
219
- "foreground": "#DC322F"
220
- }
221
- },
222
- {
223
- "name": "diff: changed",
224
- "scope": "markup.changed",
225
- "settings": {
226
- "fontStyle": "",
227
- "foreground": "#CB4B16"
228
- }
229
- },
230
- {
231
- "name": "diff: inserted",
232
- "scope": "markup.inserted",
233
- "settings": {
234
- "foreground": "#859900"
235
- }
236
- },
237
- {
238
- "name": "Markup Quote",
239
- "scope": "markup.quote",
240
- "settings": {
241
- "foreground": "#859900"
242
- }
243
- },
244
- {
245
- "name": "Markup Lists",
246
- "scope": "markup.list",
247
- "settings": {
248
- "foreground": "#B58900"
249
- }
250
- },
251
- {
252
- "name": "Markup Styling",
253
- "scope": ["markup.bold", "markup.italic"],
254
- "settings": {
255
- "foreground": "#D33682"
256
- }
257
- },
258
- {
259
- "name": "Markup: Strong",
260
- "scope": "markup.bold",
261
- "settings": {
262
- "fontStyle": "bold"
263
- }
264
- },
265
- {
266
- "name": "Markup: Emphasis",
267
- "scope": "markup.italic",
268
- "settings": {
269
- "fontStyle": "italic"
270
- }
271
- },
272
- {
273
- "scope": "markup.strikethrough",
274
- "settings": {
275
- "fontStyle": "strikethrough"
276
- }
277
- },
278
- {
279
- "name": "Markup Inline",
280
- "scope": "markup.inline.raw",
281
- "settings": {
282
- "fontStyle": "",
283
- "foreground": "#2AA198"
284
- }
285
- },
286
- {
287
- "name": "Markup Headings",
288
- "scope": "markup.heading",
289
- "settings": {
290
- "fontStyle": "bold",
291
- "foreground": "#268BD2"
292
- }
293
- },
294
- {
295
- "name": "Markup Setext Header",
296
- "scope": "markup.heading.setext",
297
- "settings": {
298
- "fontStyle": "",
299
- "foreground": "#268BD2"
300
- }
301
- }
302
- ],
303
- "colors": {
304
- "focusBorder": "#2AA19899",
305
-
306
- "selection.background": "#2AA19899",
307
-
308
- "input.background": "#003847",
309
- "input.foreground": "#93A1A1",
310
- "input.placeholderForeground": "#93A1A1AA",
311
-
312
- "inputOption.activeBorder": "#2AA19899",
313
- "inputValidation.infoBorder": "#363b5f",
314
- "inputValidation.infoBackground": "#052730",
315
- "inputValidation.warningBackground": "#5d5938",
316
- "inputValidation.warningBorder": "#9d8a5e",
317
- "inputValidation.errorBackground": "#571b26",
318
- "inputValidation.errorBorder": "#a92049",
319
-
320
- "errorForeground": "#ffeaea",
321
-
322
- "badge.background": "#047aa6",
323
- "progressBar.background": "#047aa6",
324
-
325
- "dropdown.background": "#00212B",
326
- "dropdown.border": "#2AA19899",
327
-
328
- "button.background": "#2AA19899",
329
-
330
- "list.activeSelectionBackground": "#005A6F",
331
-
332
- "quickInputList.focusBackground": "#005A6F",
333
- "list.hoverBackground": "#004454AA",
334
- "list.inactiveSelectionBackground": "#00445488",
335
- "list.dropBackground": "#00445488",
336
- "list.highlightForeground": "#1ebcc5",
337
-
338
- "editor.background": "#002B36",
339
- "editor.foreground": "#839496",
340
- "editorWidget.background": "#00212B",
341
- "editorCursor.foreground": "#D30102",
342
- "editorWhitespace.foreground": "#93A1A180",
343
- "editor.lineHighlightBackground": "#073642",
344
- "editorLineNumber.activeForeground": "#949494",
345
- "editor.selectionBackground": "#274642",
346
- "minimap.selectionHighlight": "#274642",
347
- "editorIndentGuide.background": "#93A1A180",
348
- "editorIndentGuide.activeBackground": "#C3E1E180",
349
- "editorHoverWidget.background": "#004052",
350
-
351
- "editorMarkerNavigationError.background": "#AB395B",
352
- "editorMarkerNavigationWarning.background": "#5B7E7A",
353
-
354
- "editor.selectionHighlightBackground": "#005A6FAA",
355
- "editor.wordHighlightBackground": "#004454AA",
356
- "editor.wordHighlightStrongBackground": "#005A6FAA",
357
-
358
- "editorBracketHighlight.foreground1": "#cdcdcdff",
359
- "editorBracketHighlight.foreground2": "#b58900ff",
360
- "editorBracketHighlight.foreground3": "#d33682ff",
361
-
362
- "peekViewResult.background": "#00212B",
363
-
364
- "peekViewEditor.background": "#10192c",
365
- "peekViewTitle.background": "#00212B",
366
- "peekView.border": "#2b2b4a",
367
- "peekViewEditor.matchHighlightBackground": "#7744AA40",
368
-
369
- "titleBar.activeBackground": "#002C39",
370
-
371
- "editorGroup.border": "#00212B",
372
- "editorGroup.dropBackground": "#2AA19844",
373
- "editorGroupHeader.tabsBackground": "#004052",
374
-
375
- "tab.activeForeground": "#d6dbdb",
376
- "tab.activeBackground": "#002B37",
377
- "tab.inactiveForeground": "#93A1A1",
378
- "tab.inactiveBackground": "#004052",
379
- "tab.border": "#003847",
380
- "tab.lastPinnedBorder": "#2AA19844",
381
-
382
- "activityBar.background": "#003847",
383
-
384
- "panel.border": "#2b2b4a",
385
-
386
- "sideBar.background": "#00212B",
387
- "sideBarTitle.foreground": "#93A1A1",
388
-
389
- "statusBar.foreground": "#93A1A1",
390
- "statusBar.background": "#00212B",
391
- "statusBar.debuggingBackground": "#00212B",
392
- "statusBar.noFolderBackground": "#00212B",
393
- "statusBarItem.remoteBackground": "#2AA19899",
394
- "ports.iconRunningProcessForeground": "#369432",
395
- "statusBarItem.prominentBackground": "#003847",
396
- "statusBarItem.prominentHoverBackground": "#003847",
397
-
398
- "debugToolBar.background": "#00212B",
399
- "debugExceptionWidget.background": "#00212B",
400
- "debugExceptionWidget.border": "#AB395B",
401
-
402
- "pickerGroup.foreground": "#2AA19899",
403
- "pickerGroup.border": "#2AA19899",
404
-
405
- "terminal.ansiBlack": "#073642",
406
- "terminal.ansiRed": "#dc322f",
407
- "terminal.ansiGreen": "#859900",
408
- "terminal.ansiYellow": "#b58900",
409
- "terminal.ansiBlue": "#268bd2",
410
- "terminal.ansiMagenta": "#d33682",
411
- "terminal.ansiCyan": "#2aa198",
412
- "terminal.ansiWhite": "#eee8d5",
413
- "terminal.ansiBrightBlack": "#002b36",
414
- "terminal.ansiBrightRed": "#cb4b16",
415
- "terminal.ansiBrightGreen": "#586e75",
416
- "terminal.ansiBrightYellow": "#657b83",
417
- "terminal.ansiBrightBlue": "#839496",
418
- "terminal.ansiBrightMagenta": "#6c71c4",
419
- "terminal.ansiBrightCyan": "#93a1a1",
420
- "terminal.ansiBrightWhite": "#fdf6e3"
421
- },
422
- "semanticHighlighting": true
423
- }