@finos/legend-lego 1.0.9 → 1.0.10

Sign up to get free protection for your applications and to get access to all the features.
@@ -46,6 +46,7 @@ export declare const MockedMonacoEditorModel: {
46
46
  findMatches: import("@jest/globals").jest.Mock<import("@finos/legend-shared").SuperGenericFunction>;
47
47
  };
48
48
  export declare const MockedMonacoEditorInstance: {
49
+ focus: import("@jest/globals").jest.Mock<import("@finos/legend-shared").SuperGenericFunction>;
49
50
  dispose: import("@jest/globals").jest.Mock<import("@finos/legend-shared").SuperGenericFunction>;
50
51
  addCommand: import("@jest/globals").jest.Mock<import("@finos/legend-shared").SuperGenericFunction>;
51
52
  getValue: import("@jest/globals").jest.Mock<import("@finos/legend-shared").SuperGenericFunction>;
@@ -1 +1 @@
1
- {"version":3,"file":"MonacoEditorMockUtils.d.ts","sourceRoot":"","sources":["../../../src/code-editor/__test-utils__/MonacoEditorMockUtils.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAIH;;;;;;GAMG;AACH,oBAAY,yBAAyB;IACnC,EAAE,KAAK;IACP,EAAE,KAAK;IACP,EAAE,KAAK;IACP,GAAG,KAAK;CACT;AAED,oBAAY,gCAAgC;IAC1C,IAAI,IAAI;IACR,IAAI,IAAI;IACR,OAAO,IAAI;IACX,KAAK,IAAI;CACV;AAED,oBAAY,qCAAqC;IAC/C,EAAE,IAAI;CACP;AAED,eAAO,MAAM,uBAAuB;;;;;;;;;CASnC,CAAC;AAEF,eAAO,MAAM,0BAA0B;;;;;;oBAMvB,8BAA8B;;;;;;;;;;;;;CAa7C,CAAC;AAEF,eAAO,MAAM,qBAAqB;kBACpB,iCAAiC;;;;iCAIpB,iCAAiC;iCAEjC,iCAAiC;;;;;;;CAQ3D,CAAC;AAEF,oBAAY,sCAAsC;IAChD,OAAO,KAAK;IACZ,OAAO,KAAK;CACb;AAED,oBAAY,gDAAgD;IAC1D,eAAe,IAAI;CACpB;AAED,eAAO,MAAM,8BAA8B;;;;;;;;;CAS1C,CAAC"}
1
+ {"version":3,"file":"MonacoEditorMockUtils.d.ts","sourceRoot":"","sources":["../../../src/code-editor/__test-utils__/MonacoEditorMockUtils.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAIH;;;;;;GAMG;AACH,oBAAY,yBAAyB;IACnC,EAAE,KAAK;IACP,EAAE,KAAK;IACP,EAAE,KAAK;IACP,GAAG,KAAK;CACT;AAED,oBAAY,gCAAgC;IAC1C,IAAI,IAAI;IACR,IAAI,IAAI;IACR,OAAO,IAAI;IACX,KAAK,IAAI;CACV;AAED,oBAAY,qCAAqC;IAC/C,EAAE,IAAI;CACP;AAED,eAAO,MAAM,uBAAuB;;;;;;;;;CASnC,CAAC;AAEF,eAAO,MAAM,0BAA0B;;;;;;;oBAOvB,8BAA8B;;;;;;;;;;;;;CAa7C,CAAC;AAEF,eAAO,MAAM,qBAAqB;kBACpB,iCAAiC;;;;iCAIpB,iCAAiC;iCAEjC,iCAAiC;;;;;;;CAQ3D,CAAC;AAEF,oBAAY,sCAAsC;IAChD,OAAO,KAAK;IACZ,OAAO,KAAK;CACb;AAED,oBAAY,gDAAgD;IAC1D,eAAe,IAAI;CACpB;AAED,eAAO,MAAM,8BAA8B;;;;;;;;;CAS1C,CAAC"}
@@ -50,6 +50,7 @@ export const MockedMonacoEditorModel = {
50
50
  findMatches: createMock(),
51
51
  };
52
52
  export const MockedMonacoEditorInstance = {
53
+ focus: createMock(),
53
54
  dispose: createMock(),
54
55
  addCommand: createMock(),
55
56
  getValue: createMock(),
@@ -1 +1 @@
1
- {"version":3,"file":"MonacoEditorMockUtils.js","sourceRoot":"","sources":["../../../src/code-editor/__test-utils__/MonacoEditorMockUtils.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAC;AAEvD;;;;;;GAMG;AACH,MAAM,CAAN,IAAY,yBAKX;AALD,WAAY,yBAAyB;IACnC,sEAAO,CAAA;IACP,sEAAO,CAAA;IACP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IACtB,wBAAwB,EAAE,UAAU,EAAE;IACtC,wBAAwB,EAAE,UAAU,EAAE;IACtC,wBAAwB,EAAE,UAAU,EAAE;IACtC,qBAAqB,EAAE,UAAU,EAAE;IACnC,8BAA8B,EAAE,UAAU,EAAE;IAC5C,kBAAkB,EAAE,sCAAsC;IAC1D,4BAA4B,EAAE,sCAAsC;CACrE,CAAC"}
@@ -13,6 +13,7 @@
13
13
  * See the License for the specific language governing permissions and
14
14
  * limitations under the License.
15
15
  */
16
+ /// <reference types="react" resolution-mode="require"/>
16
17
  import { type AgReactUiProps, type AgGridReactProps } from '@ag-grid-community/react';
17
18
  import { type CellMouseOverEvent, type ICellRendererParams } from '@ag-grid-community/core';
18
19
  export declare function DataGrid<TData = unknown>(props: AgGridReactProps<TData> | AgReactUiProps<TData>): JSX.Element;
@@ -1 +1 @@
1
- {"version":3,"file":"DataGrid.d.ts","sourceRoot":"","sources":["../../src/data-grid/DataGrid.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAEL,KAAK,cAAc,EACnB,KAAK,gBAAgB,EACtB,MAAM,0BAA0B,CAAC;AAElC,OAAO,EACL,KAAK,kBAAkB,EACvB,KAAK,mBAAmB,EAEzB,MAAM,yBAAyB,CAAC;AAEjC,wBAAgB,QAAQ,CAAC,KAAK,GAAG,OAAO,EACtC,KAAK,EAAE,gBAAgB,CAAC,KAAK,CAAC,GAAG,cAAc,CAAC,KAAK,CAAC,GACrD,GAAG,CAAC,OAAO,CAab;AAED,eAAO,MAAM,0BAA0B,QAAO,IAE7C,CAAC;AAEF,YAAY,EACV,kBAAkB,IAAI,0BAA0B,EAChD,mBAAmB,IAAI,0BAA0B,GAClD,CAAC"}
1
+ {"version":3,"file":"DataGrid.d.ts","sourceRoot":"","sources":["../../src/data-grid/DataGrid.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;;AAEH,OAAO,EAEL,KAAK,cAAc,EACnB,KAAK,gBAAgB,EACtB,MAAM,0BAA0B,CAAC;AAElC,OAAO,EACL,KAAK,kBAAkB,EACvB,KAAK,mBAAmB,EAEzB,MAAM,yBAAyB,CAAC;AAEjC,wBAAgB,QAAQ,CAAC,KAAK,GAAG,OAAO,EACtC,KAAK,EAAE,gBAAgB,CAAC,KAAK,CAAC,GAAG,cAAc,CAAC,KAAK,CAAC,GACrD,GAAG,CAAC,OAAO,CAab;AAED,eAAO,MAAM,0BAA0B,QAAO,IAE7C,CAAC;AAEF,YAAY,EACV,kBAAkB,IAAI,0BAA0B,EAChD,mBAAmB,IAAI,0BAA0B,GAClD,CAAC"}
package/lib/index.css CHANGED
@@ -1,4 +1,4 @@
1
- /** @license @finos/legend-lego v1.0.9
1
+ /** @license @finos/legend-lego v1.0.10
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.0.9",
3
+ "version": "1.0.10",
4
4
  "description": "Legend shared advanced application components and building blocks",
5
5
  "keywords": [
6
6
  "legend",
@@ -47,14 +47,14 @@
47
47
  "test:watch": "jest --watch"
48
48
  },
49
49
  "dependencies": {
50
- "@ag-grid-community/client-side-row-model": "29.3.4",
51
- "@ag-grid-community/core": "29.3.4",
52
- "@ag-grid-community/react": "29.3.4",
53
- "@ag-grid-community/styles": "29.3.4",
54
- "@finos/legend-application": "15.0.14",
55
- "@finos/legend-art": "7.0.15",
56
- "@finos/legend-graph": "29.0.2",
57
- "@finos/legend-shared": "10.0.6",
50
+ "@ag-grid-community/client-side-row-model": "29.3.5",
51
+ "@ag-grid-community/core": "29.3.5",
52
+ "@ag-grid-community/react": "29.3.5",
53
+ "@ag-grid-community/styles": "29.3.5",
54
+ "@finos/legend-application": "15.0.15",
55
+ "@finos/legend-art": "7.0.16",
56
+ "@finos/legend-graph": "29.0.3",
57
+ "@finos/legend-shared": "10.0.7",
58
58
  "@types/css-font-loading-module": "0.0.8",
59
59
  "@types/react": "18.2.6",
60
60
  "@types/react-dom": "18.2.4",
@@ -66,13 +66,13 @@
66
66
  "react-dom": "18.2.0"
67
67
  },
68
68
  "devDependencies": {
69
- "@finos/legend-dev-utils": "2.0.61",
69
+ "@finos/legend-dev-utils": "2.0.62",
70
70
  "@jest/globals": "29.5.0",
71
71
  "cross-env": "7.0.3",
72
72
  "eslint": "8.40.0",
73
73
  "jest": "29.5.0",
74
74
  "npm-run-all": "4.1.5",
75
- "rimraf": "5.0.0",
75
+ "rimraf": "5.0.1",
76
76
  "sass": "1.62.1",
77
77
  "typescript": "5.0.4"
78
78
  },
@@ -53,6 +53,7 @@ export const MockedMonacoEditorModel = {
53
53
  };
54
54
 
55
55
  export const MockedMonacoEditorInstance = {
56
+ focus: createMock(),
56
57
  dispose: createMock(),
57
58
  addCommand: createMock(),
58
59
  getValue: createMock(),