@finos/legend-lego 1.2.58 → 1.2.60
Sign up to get free protection for your applications and to get access to all the features.
@@ -15,13 +15,13 @@
|
|
15
15
|
*/
|
16
16
|
import { PURE_GRAMMAR_TOKEN } from './PureLanguage.js';
|
17
17
|
import { buildCodeEditorTheme } from './themes/MonacoEditorThemeUtils.js';
|
18
|
-
import SOLARIZED_DARK_THEME_DATA from './themes/solarized-dark-color-theme.json'
|
19
|
-
import GITHUB_DARK_THEME_DATA from './themes/Github-Theme-dark.json'
|
20
|
-
import GITHUB_DARK_DIMMED_THEME_DATA from './themes/Github-Theme-dark-dimmed.json'
|
21
|
-
import MATERIAL_DEFAULT_THEME_DATA from './themes/Material-Theme-Default.json'
|
22
|
-
import MATERIAL_DARKER_THEME_DATA from './themes/Material-Theme-Darker.json'
|
23
|
-
import ONE_DARK_PRO_THEME_DATA from './themes/OneDark-Pro.json'
|
24
|
-
import ONE_DARK_PRO_DARKER_THEME_DATA from './themes/OneDark-Pro-darker.json'
|
18
|
+
import SOLARIZED_DARK_THEME_DATA from './themes/solarized-dark-color-theme.json' with { type: 'json' };
|
19
|
+
import GITHUB_DARK_THEME_DATA from './themes/Github-Theme-dark.json' with { type: 'json' };
|
20
|
+
import GITHUB_DARK_DIMMED_THEME_DATA from './themes/Github-Theme-dark-dimmed.json' with { type: 'json' };
|
21
|
+
import MATERIAL_DEFAULT_THEME_DATA from './themes/Material-Theme-Default.json' with { type: 'json' };
|
22
|
+
import MATERIAL_DARKER_THEME_DATA from './themes/Material-Theme-Darker.json' with { type: 'json' };
|
23
|
+
import ONE_DARK_PRO_THEME_DATA from './themes/OneDark-Pro.json' with { type: 'json' };
|
24
|
+
import ONE_DARK_PRO_DARKER_THEME_DATA from './themes/OneDark-Pro-darker.json' with { type: 'json' };
|
25
25
|
const BASE_PURE_LANGUAGE_COLOR_TOKENS = [
|
26
26
|
// NOTE: `monaco-editor` only accepts HEX values, not CSS variables
|
27
27
|
{ token: PURE_GRAMMAR_TOKEN.IDENTIFIER, foreground: 'dcdcaa' },
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"CodeEditorTheme.js","sourceRoot":"","sources":["../../src/code-editor/CodeEditorTheme.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,kBAAkB,EAAE,MAAM,mBAAmB,CAAC;AAEvD,OAAO,EAAE,oBAAoB,EAAE,MAAM,oCAAoC,CAAC;AAC1E,OAAO,yBAAyB,MAAM,0CAA0C,CAAC,
|
1
|
+
{"version":3,"file":"CodeEditorTheme.js","sourceRoot":"","sources":["../../src/code-editor/CodeEditorTheme.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,kBAAkB,EAAE,MAAM,mBAAmB,CAAC;AAEvD,OAAO,EAAE,oBAAoB,EAAE,MAAM,oCAAoC,CAAC;AAC1E,OAAO,yBAAyB,MAAM,0CAA0C,CAAC,OAAO,IAAI,EAAE,MAAM,EAAE,CAAC;AACvG,OAAO,sBAAsB,MAAM,iCAAiC,CAAC,OAAO,IAAI,EAAE,MAAM,EAAE,CAAC;AAC3F,OAAO,6BAA6B,MAAM,wCAAwC,CAAC,OAAO,IAAI,EAAE,MAAM,EAAE,CAAC;AACzG,OAAO,2BAA2B,MAAM,sCAAsC,CAAC,OAAO,IAAI,EAAE,MAAM,EAAE,CAAC;AACrG,OAAO,0BAA0B,MAAM,qCAAqC,CAAC,OAAO,IAAI,EAAE,MAAM,EAAE,CAAC;AACnG,OAAO,uBAAuB,MAAM,2BAA2B,CAAC,OAAO,IAAI,EAAE,MAAM,EAAE,CAAC;AACtF,OAAO,8BAA8B,MAAM,kCAAkC,CAAC,OAAO,IAAI,EAAE,MAAM,EAAE,CAAC;AAEpG,MAAM,+BAA+B,GAAsC;IACzE,mEAAmE;IACnE,EAAE,KAAK,EAAE,kBAAkB,CAAC,UAAU,EAAE,UAAU,EAAE,QAAQ,EAAE;IAC9D,EAAE,KAAK,EAAE,kBAAkB,CAAC,MAA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B,CACpD,uBAAuB,EACvB,iBAAiB,CAAC,qBAAqB,EACvC,EAAE,EACF,EAAE,CACH,CAAC;AAEF,MAAM,CAAC,MAAM,yBAAyB,GAAG,oBAAoB,CAC3D,8BAA8B,EAC9B,iBAAiB,CAAC,qBAAqB,EACvC,EAAE,EACF,EAAE,CACH,CAAC"}
|
package/lib/index.css
CHANGED
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@finos/legend-lego",
|
3
|
-
"version": "1.2.
|
3
|
+
"version": "1.2.60",
|
4
4
|
"description": "Legend shared advanced application components and building blocks",
|
5
5
|
"keywords": [
|
6
6
|
"legend",
|
@@ -47,26 +47,26 @@
|
|
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.1.0",
|
51
|
+
"@ag-grid-community/core": "32.1.0",
|
52
|
+
"@ag-grid-community/csv-export": "32.1.0",
|
53
|
+
"@ag-grid-community/react": "32.1.0",
|
54
|
+
"@ag-grid-community/styles": "32.1.0",
|
55
|
+
"@ag-grid-enterprise/clipboard": "32.1.0",
|
56
|
+
"@ag-grid-enterprise/column-tool-panel": "32.1.0",
|
57
|
+
"@ag-grid-enterprise/core": "32.1.0",
|
58
|
+
"@ag-grid-enterprise/excel-export": "32.1.0",
|
59
|
+
"@ag-grid-enterprise/filter-tool-panel": "32.1.0",
|
60
|
+
"@ag-grid-enterprise/menu": "32.1.0",
|
61
|
+
"@ag-grid-enterprise/range-selection": "32.1.0",
|
62
|
+
"@ag-grid-enterprise/row-grouping": "32.1.0",
|
63
|
+
"@ag-grid-enterprise/server-side-row-model": "32.1.0",
|
64
|
+
"@ag-grid-enterprise/side-bar": "32.1.0",
|
65
|
+
"@ag-grid-enterprise/status-bar": "32.1.0",
|
66
|
+
"@finos/legend-application": "15.1.24",
|
67
|
+
"@finos/legend-art": "7.1.51",
|
68
|
+
"@finos/legend-graph": "31.10.23",
|
69
|
+
"@finos/legend-shared": "10.0.52",
|
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",
|
@@ -78,7 +78,7 @@
|
|
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.18",
|
82
82
|
"@jest/globals": "29.7.0",
|
83
83
|
"cross-env": "7.0.3",
|
84
84
|
"eslint": "8.57.0",
|
@@ -17,13 +17,13 @@
|
|
17
17
|
import { PURE_GRAMMAR_TOKEN } from './PureLanguage.js';
|
18
18
|
import type { editor as monacoEditorAPI } from 'monaco-editor';
|
19
19
|
import { buildCodeEditorTheme } from './themes/MonacoEditorThemeUtils.js';
|
20
|
-
import SOLARIZED_DARK_THEME_DATA from './themes/solarized-dark-color-theme.json'
|
21
|
-
import GITHUB_DARK_THEME_DATA from './themes/Github-Theme-dark.json'
|
22
|
-
import GITHUB_DARK_DIMMED_THEME_DATA from './themes/Github-Theme-dark-dimmed.json'
|
23
|
-
import MATERIAL_DEFAULT_THEME_DATA from './themes/Material-Theme-Default.json'
|
24
|
-
import MATERIAL_DARKER_THEME_DATA from './themes/Material-Theme-Darker.json'
|
25
|
-
import ONE_DARK_PRO_THEME_DATA from './themes/OneDark-Pro.json'
|
26
|
-
import ONE_DARK_PRO_DARKER_THEME_DATA from './themes/OneDark-Pro-darker.json'
|
20
|
+
import SOLARIZED_DARK_THEME_DATA from './themes/solarized-dark-color-theme.json' with { type: 'json' };
|
21
|
+
import GITHUB_DARK_THEME_DATA from './themes/Github-Theme-dark.json' with { type: 'json' };
|
22
|
+
import GITHUB_DARK_DIMMED_THEME_DATA from './themes/Github-Theme-dark-dimmed.json' with { type: 'json' };
|
23
|
+
import MATERIAL_DEFAULT_THEME_DATA from './themes/Material-Theme-Default.json' with { type: 'json' };
|
24
|
+
import MATERIAL_DARKER_THEME_DATA from './themes/Material-Theme-Darker.json' with { type: 'json' };
|
25
|
+
import ONE_DARK_PRO_THEME_DATA from './themes/OneDark-Pro.json' with { type: 'json' };
|
26
|
+
import ONE_DARK_PRO_DARKER_THEME_DATA from './themes/OneDark-Pro-darker.json' with { type: 'json' };
|
27
27
|
|
28
28
|
const BASE_PURE_LANGUAGE_COLOR_TOKENS: monacoEditorAPI.ITokenThemeRule[] = [
|
29
29
|
// NOTE: `monaco-editor` only accepts HEX values, not CSS variables
|