@babylonjs/node-editor 7.37.1 → 7.38.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1314,7 +1314,7 @@ declare module "@babylonjs/node-editor/styleHelper" {
1314
1314
  * @param source document to copy styles from
1315
1315
  * @param target document or shadow root to copy styles to
1316
1316
  */
1317
- export function CopyStyles(source: Document, target: Document): void;
1317
+ export function CopyStyles(source: Document, target: DocumentOrShadowRoot): void;
1318
1318
 
1319
1319
  }
1320
1320
  declare module "@babylonjs/node-editor/stringTools" {
@@ -1950,6 +1950,7 @@ export class StateManager {
1950
1950
  isElbowConnectionAllowed: (nodeA: FrameNodePort | NodePort, nodeB: FrameNodePort | NodePort) => boolean;
1951
1951
  isDebugConnectionAllowed: (nodeA: FrameNodePort | NodePort, nodeB: FrameNodePort | NodePort) => boolean;
1952
1952
  applyNodePortDesign: (data: IPortData, element: HTMLElement, img: HTMLImageElement, pip: HTMLDivElement) => void;
1953
+ getPortColor: (portData: IPortData) => string;
1953
1954
  storeEditorData: (serializationObject: any, frame?: Nullable<GraphFrame>) => void;
1954
1955
  getEditorDataMap: () => {
1955
1956
  [key: number]: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@babylonjs/node-editor",
3
- "version": "7.37.1",
3
+ "version": "7.38.0",
4
4
  "main": "dist/babylon.nodeEditor.max.js",
5
5
  "module": "dist/babylon.nodeEditor.max.js",
6
6
  "esnext": "dist/babylon.nodeEditor.max.js",
@@ -23,7 +23,7 @@
23
23
  "@types/react-dom": ">=16.0.9"
24
24
  },
25
25
  "devDependencies": {
26
- "@babylonjs/core": "^7.37.1",
26
+ "@babylonjs/core": "^7.38.0",
27
27
  "react": "^17.0.2",
28
28
  "react-dom": "^17.0.2"
29
29
  },