babylonjs-gui-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.
@@ -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;
@@ -6100,7 +6101,7 @@ declare module BABYLON.GuiEditor.SharedUIComponents {
6100
6101
  * @param source document to copy styles from
6101
6102
  * @param target document or shadow root to copy styles to
6102
6103
  */
6103
- export function CopyStyles(source: Document, target: Document): void;
6104
+ export function CopyStyles(source: Document, target: DocumentOrShadowRoot): void;
6104
6105
 
6105
6106
 
6106
6107
 
@@ -6784,6 +6785,7 @@ declare module BABYLON.GuiEditor.SharedUIComponents {
6784
6785
  isElbowConnectionAllowed: (nodeA: BABYLON.GuiEditor.SharedUIComponents.FrameNodePort | BABYLON.GuiEditor.SharedUIComponents.NodePort, nodeB: BABYLON.GuiEditor.SharedUIComponents.FrameNodePort | BABYLON.GuiEditor.SharedUIComponents.NodePort) => boolean;
6785
6786
  isDebugConnectionAllowed: (nodeA: BABYLON.GuiEditor.SharedUIComponents.FrameNodePort | BABYLON.GuiEditor.SharedUIComponents.NodePort, nodeB: BABYLON.GuiEditor.SharedUIComponents.FrameNodePort | BABYLON.GuiEditor.SharedUIComponents.NodePort) => boolean;
6786
6787
  applyNodePortDesign: (data: BABYLON.GuiEditor.SharedUIComponents.IPortData, element: HTMLElement, img: HTMLImageElement, pip: HTMLDivElement) => void;
6788
+ getPortColor: (portData: BABYLON.GuiEditor.SharedUIComponents.IPortData) => string;
6787
6789
  storeEditorData: (serializationObject: any, frame?: Nullable<BABYLON.GuiEditor.SharedUIComponents.GraphFrame>) => void;
6788
6790
  getEditorDataMap: () => {
6789
6791
  [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": "babylon.guiEditor.max.js",
5
5
  "types": "babylon.guiEditor.module.d.ts",
6
6
  "files": [
@@ -14,8 +14,8 @@
14
14
  "clean": "rimraf dist && rimraf babylon*.* -g"
15
15
  },
16
16
  "dependencies": {
17
- "babylonjs": "^7.37.1",
18
- "babylonjs-gui": "^7.37.1"
17
+ "babylonjs": "^7.38.0",
18
+ "babylonjs-gui": "^7.38.0"
19
19
  },
20
20
  "devDependencies": {
21
21
  "@dev/build-tools": "1.0.0",