@babylonjs/gui-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.
@@ -3075,6 +3075,31 @@ interface IUnitButtonProps {
3075
3075
 
3076
3076
  export {};
3077
3077
 
3078
+ }
3079
+ declare module "@babylonjs/gui-editor/lines/textureButtonLineComponent" {
3080
+ import { BaseTexture } from "@babylonjs/core/Materials/Textures/baseTexture";
3081
+ import { Scene } from "@babylonjs/core/scene";
3082
+ import * as React from "react";
3083
+ interface ITextureButtonLineProps {
3084
+ label: string;
3085
+ scene: Scene;
3086
+ onClick: (file: File) => void;
3087
+ onLink: (texture: BaseTexture) => void;
3088
+ accept: string;
3089
+ }
3090
+ interface ITextureButtonLineState {
3091
+ isOpen: boolean;
3092
+ }
3093
+ export class TextureButtonLine extends React.Component<ITextureButtonLineProps, ITextureButtonLineState> {
3094
+ private static _IDGenerator;
3095
+ private _id;
3096
+ private _uploadInputRef;
3097
+ constructor(props: ITextureButtonLineProps);
3098
+ onChange(evt: any): void;
3099
+
3100
+ }
3101
+ export {};
3102
+
3078
3103
  }
3079
3104
  declare module "@babylonjs/gui-editor/lines/textLineComponent" {
3080
3105
  import * as React from "react";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@babylonjs/gui-editor",
3
- "version": "7.54.0",
3
+ "version": "7.54.1",
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.54.0",
28
- "@babylonjs/gui": "^7.54.0",
27
+ "@babylonjs/core": "^7.54.1",
28
+ "@babylonjs/gui": "^7.54.1",
29
29
  "react": "^17.0.2",
30
30
  "react-dom": "^17.0.2"
31
31
  },