@finos/legend-lego 1.2.48 → 1.2.50
Sign up to get free protection for your applications and to get access to all the features.
@@ -50,7 +50,7 @@ export const CodeEditor = (props) => {
|
|
50
50
|
...getBaseCodeEditorOptions(),
|
51
51
|
theme: applicationStore.layoutService
|
52
52
|
.TEMPORARY__isLightColorThemeEnabled
|
53
|
-
? lightTheme ?? CODE_EDITOR_THEME.BUILT_IN__VSCODE_LIGHT
|
53
|
+
? (lightTheme ?? CODE_EDITOR_THEME.BUILT_IN__VSCODE_LIGHT)
|
54
54
|
: CODE_EDITOR_THEME.DEFAULT_DARK,
|
55
55
|
// layout
|
56
56
|
glyphMargin: !hidePadding,
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"CodeEditor.js","sourceRoot":"","sources":["../../src/code-editor/CodeEditor.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,QAAQ,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACpD,OAAO,EAAoB,MAAM,IAAI,eAAe,EAAE,MAAM,eAAe,CAAC;AAC5E,OAAO,EACL,iBAAiB,EACjB,wBAAwB,EACxB,0BAA0B,EAC1B,kBAAkB,EAClB,mBAAmB,EAEnB,eAAe,EACf,YAAY,GACb,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EACL,gBAAgB,EAChB,mBAAmB,GACpB,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AACzD,OAAO,EAAE,IAAI,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAGvD,MAAM,CAAC,MAAM,UAAU,GAelB,CAAC,KAAK,EAAE,EAAE;IACb,MAAM,EACJ,UAAU,EACV,WAAW,EACX,UAAU,EACV,QAAQ,EACR,UAAU,EACV,WAAW,EACX,UAAU,EACV,WAAW,EACX,aAAa,EACb,YAAY,EACZ,kBAAkB,EAClB,KAAK,GACN,GAAG,KAAK,CAAC;IACV,MAAM,gBAA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1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@finos/legend-lego",
|
3
|
-
"version": "1.2.
|
3
|
+
"version": "1.2.50",
|
4
4
|
"description": "Legend shared advanced application components and building blocks",
|
5
5
|
"keywords": [
|
6
6
|
"legend",
|
@@ -47,30 +47,30 @@
|
|
47
47
|
"test:watch": "jest --watch"
|
48
48
|
},
|
49
49
|
"dependencies": {
|
50
|
-
"@ag-grid-community/client-side-row-model": "32.0.
|
51
|
-
"@ag-grid-community/core": "32.0.
|
52
|
-
"@ag-grid-community/csv-export": "32.0.
|
53
|
-
"@ag-grid-community/react": "32.0.
|
54
|
-
"@ag-grid-community/styles": "32.0.
|
55
|
-
"@ag-grid-enterprise/clipboard": "32.0.
|
56
|
-
"@ag-grid-enterprise/column-tool-panel": "32.0.
|
57
|
-
"@ag-grid-enterprise/core": "32.0.
|
58
|
-
"@ag-grid-enterprise/excel-export": "32.0.
|
59
|
-
"@ag-grid-enterprise/filter-tool-panel": "32.0.
|
60
|
-
"@ag-grid-enterprise/menu": "32.0.
|
61
|
-
"@ag-grid-enterprise/range-selection": "32.0.
|
62
|
-
"@ag-grid-enterprise/row-grouping": "32.0.
|
63
|
-
"@ag-grid-enterprise/server-side-row-model": "32.0.
|
64
|
-
"@ag-grid-enterprise/side-bar": "32.0.
|
65
|
-
"@ag-grid-enterprise/status-bar": "32.0.
|
66
|
-
"@finos/legend-application": "15.1.
|
67
|
-
"@finos/legend-art": "7.1.
|
68
|
-
"@finos/legend-graph": "31.10.
|
69
|
-
"@finos/legend-shared": "10.0.
|
50
|
+
"@ag-grid-community/client-side-row-model": "32.0.2",
|
51
|
+
"@ag-grid-community/core": "32.0.2",
|
52
|
+
"@ag-grid-community/csv-export": "32.0.2",
|
53
|
+
"@ag-grid-community/react": "32.0.2",
|
54
|
+
"@ag-grid-community/styles": "32.0.2",
|
55
|
+
"@ag-grid-enterprise/clipboard": "32.0.2",
|
56
|
+
"@ag-grid-enterprise/column-tool-panel": "32.0.2",
|
57
|
+
"@ag-grid-enterprise/core": "32.0.2",
|
58
|
+
"@ag-grid-enterprise/excel-export": "32.0.2",
|
59
|
+
"@ag-grid-enterprise/filter-tool-panel": "32.0.2",
|
60
|
+
"@ag-grid-enterprise/menu": "32.0.2",
|
61
|
+
"@ag-grid-enterprise/range-selection": "32.0.2",
|
62
|
+
"@ag-grid-enterprise/row-grouping": "32.0.2",
|
63
|
+
"@ag-grid-enterprise/server-side-row-model": "32.0.2",
|
64
|
+
"@ag-grid-enterprise/side-bar": "32.0.2",
|
65
|
+
"@ag-grid-enterprise/status-bar": "32.0.2",
|
66
|
+
"@finos/legend-application": "15.1.18",
|
67
|
+
"@finos/legend-art": "7.1.46",
|
68
|
+
"@finos/legend-graph": "31.10.14",
|
69
|
+
"@finos/legend-shared": "10.0.48",
|
70
70
|
"@types/css-font-loading-module": "0.0.13",
|
71
71
|
"@types/react": "18.3.3",
|
72
72
|
"@types/react-dom": "18.3.0",
|
73
|
-
"mobx": "6.13.
|
73
|
+
"mobx": "6.13.1",
|
74
74
|
"mobx-react-lite": "4.0.7",
|
75
75
|
"monaco-editor": "0.50.0",
|
76
76
|
"react": "18.3.1",
|
@@ -78,14 +78,14 @@
|
|
78
78
|
"react-dom": "18.3.1"
|
79
79
|
},
|
80
80
|
"devDependencies": {
|
81
|
-
"@finos/legend-dev-utils": "2.1.
|
81
|
+
"@finos/legend-dev-utils": "2.1.15",
|
82
82
|
"@jest/globals": "29.7.0",
|
83
83
|
"cross-env": "7.0.3",
|
84
84
|
"eslint": "8.57.0",
|
85
85
|
"jest": "29.7.0",
|
86
86
|
"npm-run-all": "4.1.5",
|
87
87
|
"rimraf": "6.0.1",
|
88
|
-
"sass": "1.77.
|
88
|
+
"sass": "1.77.8",
|
89
89
|
"typescript": "5.5.3"
|
90
90
|
},
|
91
91
|
"peerDependencies": {
|
@@ -99,7 +99,7 @@ export const CodeEditor: React.FC<{
|
|
99
99
|
...getBaseCodeEditorOptions(),
|
100
100
|
theme: applicationStore.layoutService
|
101
101
|
.TEMPORARY__isLightColorThemeEnabled
|
102
|
-
? lightTheme ?? CODE_EDITOR_THEME.BUILT_IN__VSCODE_LIGHT
|
102
|
+
? (lightTheme ?? CODE_EDITOR_THEME.BUILT_IN__VSCODE_LIGHT)
|
103
103
|
: CODE_EDITOR_THEME.DEFAULT_DARK,
|
104
104
|
|
105
105
|
// layout
|