@babylonjs/gui-editor 7.37.1 → 7.38.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -1505,7 +1505,7 @@ declare module "@babylonjs/gui-editor/styleHelper" {
1505
1505
  * @param source document to copy styles from
1506
1506
  * @param target document or shadow root to copy styles to
1507
1507
  */
1508
- export function CopyStyles(source: Document, target: Document): void;
1508
+ export function CopyStyles(source: Document, target: DocumentOrShadowRoot): void;
1509
1509
 
1510
1510
  }
1511
1511
  declare module "@babylonjs/gui-editor/stringTools" {
@@ -2141,6 +2141,7 @@ export class StateManager {
2141
2141
  isElbowConnectionAllowed: (nodeA: FrameNodePort | NodePort, nodeB: FrameNodePort | NodePort) => boolean;
2142
2142
  isDebugConnectionAllowed: (nodeA: FrameNodePort | NodePort, nodeB: FrameNodePort | NodePort) => boolean;
2143
2143
  applyNodePortDesign: (data: IPortData, element: HTMLElement, img: HTMLImageElement, pip: HTMLDivElement) => void;
2144
+ getPortColor: (portData: IPortData) => string;
2144
2145
  storeEditorData: (serializationObject: any, frame?: Nullable<GraphFrame>) => void;
2145
2146
  getEditorDataMap: () => {
2146
2147
  [key: number]: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@babylonjs/gui-editor",
3
- "version": "7.37.1",
3
+ "version": "7.38.0",
4
4
  "main": "dist/babylon.guiEditor.max.js",
5
5
  "module": "dist/babylon.guiEditor.max.js",
6
6
  "esnext": "dist/babylon.guiEditor.max.js",
@@ -24,8 +24,8 @@
24
24
  "@types/react-dom": ">=16.0.9"
25
25
  },
26
26
  "devDependencies": {
27
- "@babylonjs/core": "^7.37.1",
28
- "@babylonjs/gui": "^7.37.1",
27
+ "@babylonjs/core": "^7.38.0",
28
+ "@babylonjs/gui": "^7.38.0",
29
29
  "react": "^17.0.2",
30
30
  "react-dom": "^17.0.2"
31
31
  },