@finos/legend-lego 1.1.3 → 1.1.5

Sign up to get free protection for your applications and to get access to all the features.
@@ -1 +1 @@
1
- {"version":3,"file":"DocumentationLink.d.ts","sourceRoot":"","sources":["../../src/application/DocumentationLink.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;;AAQH,eAAO,MAAM,iBAAiB,EAAE,KAAK,CAAC,EAAE,CAAC;IACvC,gBAAgB,EAAE,MAAM,CAAC;IACzB,MAAM,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IAC7B,KAAK,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC3B,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAChC,CAgCA,CAAC;AAEF,eAAO,MAAM,oBAAoB,EAAE,KAAK,CAAC,EAAE,CAAC;IAC1C,IAAI,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC1B,gBAAgB,EAAE,MAAM,CAAC;IACzB,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAChC,CAkBA,CAAC"}
1
+ {"version":3,"file":"DocumentationLink.d.ts","sourceRoot":"","sources":["../../src/application/DocumentationLink.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;;AAQH,eAAO,MAAM,iBAAiB,EAAE,KAAK,CAAC,EAAE,CAAC;IACvC,gBAAgB,EAAE,MAAM,CAAC;IACzB,MAAM,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IAC7B,KAAK,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC3B,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAChC,CAgCA,CAAC;AAEF,eAAO,MAAM,oBAAoB,EAAE,KAAK,CAAC,EAAE,CAAC;IAC1C,IAAI,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC1B,gBAAgB,EAAE,MAAM,CAAC;IACzB,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAChC,CAoBA,CAAC"}
@@ -38,9 +38,9 @@ export const DocumentationPreview = (props) => {
38
38
  const applicationStore = useApplicationStore();
39
39
  const documentationEntry = applicationStore.documentationService.getDocEntry(documentationKey);
40
40
  const textContent = text ?? documentationEntry?.text;
41
- if (!documentationEntry || !textContent) {
41
+ if (!textContent) {
42
42
  return null;
43
43
  }
44
- return (_jsxs("div", { className: clsx('documentation-preview', className), children: [_jsx("div", { className: "documentation-preview__text", children: textContent }), _jsx("div", { className: "documentation-preview__hint", children: _jsx(DocumentationLink, { documentationKey: documentationKey }) })] }));
44
+ return (_jsxs("div", { className: clsx('documentation-preview', className), children: [_jsx("div", { className: "documentation-preview__text", children: textContent }), _jsx("div", { className: "documentation-preview__hint", children: documentationEntry && (_jsx(DocumentationLink, { documentationKey: documentationKey })) })] }));
45
45
  };
46
46
  //# sourceMappingURL=DocumentationLink.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"DocumentationLink.js","sourceRoot":"","sources":["../../src/application/DocumentationLink.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,+CAA+C,EAC/C,mBAAmB,GACpB,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAE,IAAI,EAAE,kBAAkB,EAAE,MAAM,mBAAmB,CAAC;AAE7D,MAAM,CAAC,MAAM,iBAAiB,GAKzB,CAAC,EAAE,gBAAgB,EAAE,KAAK,EAAE,SAAS,EAAE,MAAM,GAAG,IAAI,EAAE,EAAE,EAAE;IAC7D,MAAM,gBAAgB,GAAG,mBAAmB,EAAE,CAAC;IAC/C,MAAM,kBAAkB,GACtB,gBAAgB,CAAC,oBAAoB,CAAC,WAAW,CAAC,gBAAgB,CAAC,CAAC;IACtE,MAAM,WAAW,GAA4C,CAC3D,KAAK,EACC,EAAE;QACR,KAAK,CAAC,cAAc,EAAE,CAAC;QACvB,KAAK,CAAC,eAAe,EAAE,CAAC;QACxB,gBAAgB,CAAC,gBAAgB,CAAC,0BAA0B,CAC1D,gBAAgB,CACjB,CAAC;IACJ,CAAC,CAAC;IAEF,IACE,CAAC,kBAAkB;QACnB,CAAC,CAAC,kBAAkB,CAAC,GAAG;YACtB,CAAC,+CAA+C,CAAC,kBAAkB,CAAC,CAAC,EACvE;QACA,OAAO,IAAI,CAAC;KACb;IACD,OAAO,CACL,cACE,OAAO,EAAE,WAAW,EACpB,KAAK,EAAE,KAAK,IAAI,4BAA4B,EAC5C,SAAS,EAAE,IAAI,CAAC,oBAAoB,EAAE,SAAS,EAAE;YAC/C,4BAA4B,EAAE,MAAM;SACrC,CAAC,YAEF,KAAC,kBAAkB,KAAG,GAClB,CACP,CAAC;AACJ,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,oBAAoB,GAI5B,CAAC,KAAK,EAAE,EAAE;IACb,MAAM,EAAE,gBAAgB,EAAE,IAAI,EAAE,SAAS,EAAE,GAAG,KAAK,CAAC;IACpD,MAAM,gBAAgB,GAAG,mBAAmB,EAAE,CAAC;IAC/C,MAAM,kBAAkB,GACtB,gBAAgB,CAAC,oBAAoB,CAAC,WAAW,CAAC,gBAAgB,CAAC,CAAC;IACtE,MAAM,WAAW,GAAG,IAAI,IAAI,kBAAkB,EAAE,IAAI,CAAC;IAErD,IAAI,CAAC,kBAAkB,IAAI,CAAC,WAAW,EAAE;QACvC,OAAO,IAAI,CAAC;KACb;IACD,OAAO,CACL,eAAK,SAAS,EAAE,IAAI,CAAC,uBAAuB,EAAE,SAAS,CAAC,aACtD,cAAK,SAAS,EAAC,6BAA6B,YAAE,WAAW,GAAO,EAChE,cAAK,SAAS,EAAC,6BAA6B,YAC1C,KAAC,iBAAiB,IAAC,gBAAgB,EAAE,gBAAgB,GAAI,GACrD,IACF,CACP,CAAC;AACJ,CAAC,CAAC"}
1
+ {"version":3,"file":"DocumentationLink.js","sourceRoot":"","sources":["../../src/application/DocumentationLink.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,+CAA+C,EAC/C,mBAAmB,GACpB,MAAM,2BAA2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AAI,kBAAkB,EAAE,IAAI,CAAC;IAErD,IAAI,CAAC,WAAW,EAAE;QAChB,OAAO,IAAI,CAAC;KACb;IACD,OAAO,CACL,eAAK,SAAS,EAAE,IAAI,CAAC,uBAAuB,EAAE,SAAS,CAAC,aACtD,cAAK,SAAS,EAAC,6BAA6B,YAAE,WAAW,GAAO,EAChE,cAAK,SAAS,EAAC,6BAA6B,YACzC,kBAAkB,IAAI,CACrB,KAAC,iBAAiB,IAAC,gBAAgB,EAAE,gBAAgB,GAAI,CAC1D,GACG,IACF,CACP,CAAC;AACJ,CAAC,CAAC"}
@@ -96,7 +96,7 @@ const Tab = observer((props) => {
96
96
  return (_jsx("div", { ref: ref, "data-testid": TAB_MANAGER__TAB_TEST_ID, className: clsx('tab-manager__tab', {
97
97
  'tab-manager__tab--active': tabState === tabManagerState.currentTab,
98
98
  'tab-manager__tab--dragged': isBeingDragged,
99
- }), onMouseUp: closeTabOnMiddleClick(tabState), children: _jsx(PanelEntryDropZonePlaceholder, { showPlaceholder: false, className: "tab-manager__tab__dnd__placeholder", children: _jsxs(ContextMenu, { content: _jsx(TabContextMenu, { tabState: tabState, managerTabState: tabManagerState }), className: "tab-manager__tab__content", children: [_jsx("button", { className: "tab-manager__tab__label", tabIndex: -1, onClick: () => tabManagerState.openTab(tabState), title: tabState.description, children: tabRenderer?.(tabState) ?? tabState.label }), _jsx("button", { className: "tab-manager__tab__close-btn", onClick: () => tabManagerState.closeTab(tabState), tabIndex: -1, title: "Close", children: _jsx(TimesIcon, {}) })] }) }) }));
99
+ }), onMouseUp: closeTabOnMiddleClick(tabState), children: _jsx(PanelEntryDropZonePlaceholder, { isDragOver: false, className: "tab-manager__tab__dnd__placeholder", children: _jsxs(ContextMenu, { content: _jsx(TabContextMenu, { tabState: tabState, managerTabState: tabManagerState }), className: "tab-manager__tab__content", children: [_jsx("button", { className: "tab-manager__tab__label", tabIndex: -1, onClick: () => tabManagerState.openTab(tabState), title: tabState.description, children: tabRenderer?.(tabState) ?? tabState.label }), _jsx("button", { className: "tab-manager__tab__close-btn", onClick: () => tabManagerState.closeTab(tabState), tabIndex: -1, title: "Close", children: _jsx(TimesIcon, {}) })] }) }) }));
100
100
  });
101
101
  const TabMenu = observer((props) => {
102
102
  const { managerTabState } = props;
@@ -1 +1 @@
1
- {"version":3,"file":"TabManager.js","sourceRoot":"","sources":["../../src/application/TabManager.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,eAAe,EACf,IAAI,EACJ,WAAW,EACX,gBAAgB,EAChB,YAAY,EACZ,WAAW,EACX,eAAe,EACf,6BAA6B,EAC7B,SAAS,EACT,mBAAmB,GACpB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,OAAO,CAAC;AAC5C,OAAO,EAA0B,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAOrE,MAAM,CAAC,MAAM,wBAAwB,GAAG,kBAAkB,CAAC;AAE3D,MAAM,0BAA0B,GAA4B,CAAC,KAAK,EAAE,EAAE;IACpE,+GAA+G;IAC/G,kBAAkB;IAClB,IAAI,IAAI,CAAC,GAAG,CAAC,KAAK,CAAC,MAAM,CAAC,IAAI,IAAI,CAAC,GAAG,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE;QACpD,OAAO;KACR;IACD,KAAK,CAAC,eAAe,EAAE,CAAC;IACxB,IAAI,MAAM,CAAC;IACX,qHAAqH;IACrH,qEAAqE;IACrE,yDAAyD;IACzD,6DAA6D;IAC7D,IAAI,KAAK,CAAC,MAAM,KAAK,CAAC,EAAE;QACtB,MAAM,GAAG,KAAK,CAAC,MAAM,CAAC;KACvB;SAAM,IAAI,KAAK,CAAC,MAAM,GAAG,CAAC,EAAE;QAC3B,MAAM,GAAG,CAAC,IAAI,CAAC,GAAG,CAAC,KAAK,CAAC,MAAM,CAAC,CAA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SAAS,EAAC,aAAa,aAC1B,eACE,SAAS,EAAC,sBAAsB,EAChC,OAAO,EAAE,0BAA0B,aAElC,eAAe,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,CACjC,KAAC,GAAG,IAEF,QAAQ,EAAE,GAAG,EACb,eAAe,EAAE,eAAe,EAChC,WAAW,EAAE,WAAW,IAHnB,GAAG,CAAC,IAAI,CAIb,CACH,CAAC,EACF,KAAC,gBAAgB,IACf,WAAW,EAAE,CAAC,IAAmB,EAAU,EAAE,CAAC,IAAI,CAAC,GAAG,CAAC,KAAK,EAC5D,KAAK,EAAE,CAAC,eAAe,CAAC,OAAO,CAAC,GAChC,IACE,EACN,KAAC,OAAO,IAAC,eAAe,EAAE,eAAe,GAAI,IACzC,CACP,CAAC;AACJ,CAAC,CACF,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"CodeDiffView.d.ts","sourceRoot":"","sources":["../../src/code-editor/CodeDiffView.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAeH,OAAO,EACL,oBAAoB,EAGrB,MAAM,sBAAsB,CAAC;AAG9B,eAAO,MAAM,YAAY,WACf;IACN,QAAQ,EAAE,oBAAoB,CAAC;IAC/B,IAAI,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC1B,EAAE,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CACzB;;CA8CF,CAAC;AAaF,eAAO,MAAM,YAAY,WACf;IACN,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,EAAE,CAAC,EAAE,OAAO,CAAC;IACb;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;;CAWF,CAAC"}
1
+ {"version":3,"file":"CodeDiffView.d.ts","sourceRoot":"","sources":["../../src/code-editor/CodeDiffView.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAeH,OAAO,EACL,oBAAoB,EAGrB,MAAM,sBAAsB,CAAC;AAG9B,eAAO,MAAM,YAAY,WACf;IACN,QAAQ,EAAE,oBAAoB,CAAC;IAC/B,IAAI,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC1B,EAAE,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CACzB;;CAiDF,CAAC;AAaF,eAAO,MAAM,YAAY,WACf;IACN,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,EAAE,CAAC,EAAE,OAAO,CAAC;IACb;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;;CAWF,CAAC"}
@@ -33,7 +33,10 @@ export const CodeDiffView = observer((props) => {
33
33
  const element = editorRef.current;
34
34
  const _editor = monacoEditorAPI.createDiffEditor(element, {
35
35
  ...getBaseCodeEditorOptions(),
36
- theme: CODE_EDITOR_THEME.DEFAULT_DARK,
36
+ theme: applicationStore.layoutService
37
+ .TEMPORARY__isLightColorThemeEnabled
38
+ ? CODE_EDITOR_THEME.BUILT_IN__VSCODE_LIGHT
39
+ : CODE_EDITOR_THEME.DEFAULT_DARK,
37
40
  readOnly: true,
38
41
  });
39
42
  setEditor(_editor);
@@ -1 +1 @@
1
- {"version":3,"file":"CodeDiffView.js","sourceRoot":"","sources":["../../src/code-editor/CodeDiffView.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,EAAE,MAAM,OAAO,CAAC;AACpD,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,eAAe,CAAC;AAC1D,OAAO,EACL,gBAAgB,EAChB,mBAAmB,GACpB,MAAM,2BAA2B,CAAC;AACnC,OAAO,EACL,QAAQ,EACR,qBAAqB,EACrB,qBAAqB,EACrB,6BAA6B,GAC9B,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EACL,oBAAoB,EACpB,qBAAqB,EACrB,wBAAwB,GACzB,MAAM,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AM,YAAY,GAAG,QAAQ,CAClC,CAAC,KAOA,EAAE,EAAE;IACH,MAAM,EAAE,IAAI,EAAE,EAAE,EAAE,QAAQ,EAAE,GAAG,KAAK,CAAC;IAErC,OAAO,CACL,KAAC,YAAY,IACX,QAAQ,EAAE,oBAAoB,CAAC,IAAI,EACnC,IAAI,EAAE,mBAAmB,CAAC,IAAI,EAAE,OAAO,CAAC,QAAQ,CAAC,CAAC,EAClD,EAAE,EAAE,mBAAmB,CAAC,EAAE,EAAE,OAAO,CAAC,QAAQ,CAAC,CAAC,GAC9C,CACH,CAAC;AACJ,CAAC,CACF,CAAC"}
package/lib/index.css CHANGED
@@ -1,4 +1,4 @@
1
- /** @license @finos/legend-lego v1.1.3
1
+ /** @license @finos/legend-lego v1.1.5
2
2
  * Copyright (c) 2020-present, Goldman Sachs
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@finos/legend-lego",
3
- "version": "1.1.3",
3
+ "version": "1.1.5",
4
4
  "description": "Legend shared advanced application components and building blocks",
5
5
  "keywords": [
6
6
  "legend",
@@ -51,12 +51,12 @@
51
51
  "@ag-grid-community/core": "30.0.2",
52
52
  "@ag-grid-community/react": "30.0.2",
53
53
  "@ag-grid-community/styles": "30.0.2",
54
- "@finos/legend-application": "15.0.26",
55
- "@finos/legend-art": "7.0.26",
56
- "@finos/legend-graph": "30.0.11",
57
- "@finos/legend-shared": "10.0.15",
54
+ "@finos/legend-application": "15.0.28",
55
+ "@finos/legend-art": "7.0.28",
56
+ "@finos/legend-graph": "30.0.13",
57
+ "@finos/legend-shared": "10.0.16",
58
58
  "@types/css-font-loading-module": "0.0.8",
59
- "@types/react": "18.2.13",
59
+ "@types/react": "18.2.14",
60
60
  "@types/react-dom": "18.2.6",
61
61
  "mobx": "6.9.0",
62
62
  "mobx-react-lite": "3.4.3",
@@ -66,15 +66,15 @@
66
66
  "react-dom": "18.2.0"
67
67
  },
68
68
  "devDependencies": {
69
- "@finos/legend-dev-utils": "2.0.70",
69
+ "@finos/legend-dev-utils": "2.0.71",
70
70
  "@jest/globals": "29.5.0",
71
71
  "cross-env": "7.0.3",
72
- "eslint": "8.43.0",
72
+ "eslint": "8.44.0",
73
73
  "jest": "29.5.0",
74
74
  "npm-run-all": "4.1.5",
75
75
  "rimraf": "5.0.1",
76
76
  "sass": "1.63.6",
77
- "typescript": "5.1.3"
77
+ "typescript": "5.1.6"
78
78
  },
79
79
  "peerDependencies": {
80
80
  "react": "^18.0.0"
@@ -70,14 +70,16 @@ export const DocumentationPreview: React.FC<{
70
70
  applicationStore.documentationService.getDocEntry(documentationKey);
71
71
  const textContent = text ?? documentationEntry?.text;
72
72
 
73
- if (!documentationEntry || !textContent) {
73
+ if (!textContent) {
74
74
  return null;
75
75
  }
76
76
  return (
77
77
  <div className={clsx('documentation-preview', className)}>
78
78
  <div className="documentation-preview__text">{textContent}</div>
79
79
  <div className="documentation-preview__hint">
80
- <DocumentationLink documentationKey={documentationKey} />
80
+ {documentationEntry && (
81
+ <DocumentationLink documentationKey={documentationKey} />
82
+ )}
81
83
  </div>
82
84
  </div>
83
85
  );
@@ -174,7 +174,7 @@ const Tab = observer(
174
174
  onMouseUp={closeTabOnMiddleClick(tabState)}
175
175
  >
176
176
  <PanelEntryDropZonePlaceholder
177
- showPlaceholder={false}
177
+ isDragOver={false}
178
178
  className="tab-manager__tab__dnd__placeholder"
179
179
  >
180
180
  <ContextMenu
@@ -53,7 +53,10 @@ export const CodeDiffView = observer(
53
53
  const element = editorRef.current;
54
54
  const _editor = monacoEditorAPI.createDiffEditor(element, {
55
55
  ...getBaseCodeEditorOptions(),
56
- theme: CODE_EDITOR_THEME.DEFAULT_DARK,
56
+ theme: applicationStore.layoutService
57
+ .TEMPORARY__isLightColorThemeEnabled
58
+ ? CODE_EDITOR_THEME.BUILT_IN__VSCODE_LIGHT
59
+ : CODE_EDITOR_THEME.DEFAULT_DARK,
57
60
  readOnly: true,
58
61
  });
59
62
  setEditor(_editor);