babylonjs-node-editor 7.54.0 → 7.54.1

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.
@@ -2926,6 +2926,31 @@ interface IUnitButtonProps {
2926
2926
 
2927
2927
  export {};
2928
2928
 
2929
+ }
2930
+ declare module "babylonjs-node-editor/lines/textureButtonLineComponent" {
2931
+ import { BaseTexture } from "babylonjs/Materials/Textures/baseTexture";
2932
+ import { Scene } from "babylonjs/scene";
2933
+ import * as React from "react";
2934
+ interface ITextureButtonLineProps {
2935
+ label: string;
2936
+ scene: Scene;
2937
+ onClick: (file: File) => void;
2938
+ onLink: (texture: BaseTexture) => void;
2939
+ accept: string;
2940
+ }
2941
+ interface ITextureButtonLineState {
2942
+ isOpen: boolean;
2943
+ }
2944
+ export class TextureButtonLine extends React.Component<ITextureButtonLineProps, ITextureButtonLineState> {
2945
+ private static _IDGenerator;
2946
+ private _id;
2947
+ private _uploadInputRef;
2948
+ constructor(props: ITextureButtonLineProps);
2949
+ onChange(evt: any): void;
2950
+
2951
+ }
2952
+ export {};
2953
+
2929
2954
  }
2930
2955
  declare module "babylonjs-node-editor/lines/textLineComponent" {
2931
2956
  import * as React from "react";
@@ -7430,6 +7455,33 @@ declare module BABYLON.NodeEditor.SharedUIComponents {
7430
7455
 
7431
7456
 
7432
7457
 
7458
+ }
7459
+ declare module BABYLON.NodeEditor {
7460
+
7461
+
7462
+ }
7463
+ declare module BABYLON.NodeEditor.SharedUIComponents {
7464
+ interface ITextureButtonLineProps {
7465
+ label: string;
7466
+ scene: BABYLON.Scene;
7467
+ onClick: (file: File) => void;
7468
+ onLink: (texture: BABYLON.BaseTexture) => void;
7469
+ accept: string;
7470
+ }
7471
+ interface ITextureButtonLineState {
7472
+ isOpen: boolean;
7473
+ }
7474
+ export class TextureButtonLine extends React.Component<ITextureButtonLineProps, ITextureButtonLineState> {
7475
+ private static _IDGenerator;
7476
+ private _id;
7477
+ private _uploadInputRef;
7478
+ constructor(props: ITextureButtonLineProps);
7479
+ onChange(evt: any): void;
7480
+ render(): import("react/jsx-runtime").JSX.Element;
7481
+ }
7482
+
7483
+
7484
+
7433
7485
  }
7434
7486
  declare module BABYLON.NodeEditor {
7435
7487
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "babylonjs-node-editor",
3
- "version": "7.54.0",
3
+ "version": "7.54.1",
4
4
  "main": "babylon.nodeEditor.js",
5
5
  "types": "babylon.nodeEditor.module.d.ts",
6
6
  "files": [
@@ -14,7 +14,7 @@
14
14
  "clean": "rimraf dist && rimraf babylon*.* -g"
15
15
  },
16
16
  "dependencies": {
17
- "babylonjs": "^7.54.0"
17
+ "babylonjs": "^7.54.1"
18
18
  },
19
19
  "devDependencies": {
20
20
  "@dev/build-tools": "1.0.0",