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/Materials/Textures/baseTexture";
3081
+ import { Scene } from "babylonjs/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";
@@ -7800,6 +7825,33 @@ declare module BABYLON.GuiEditor.SharedUIComponents {
7800
7825
 
7801
7826
 
7802
7827
 
7828
+ }
7829
+ declare module BABYLON {
7830
+
7831
+
7832
+ }
7833
+ declare module BABYLON.GuiEditor.SharedUIComponents {
7834
+ interface ITextureButtonLineProps {
7835
+ label: string;
7836
+ scene: Scene;
7837
+ onClick: (file: File) => void;
7838
+ onLink: (texture: BaseTexture) => void;
7839
+ accept: string;
7840
+ }
7841
+ interface ITextureButtonLineState {
7842
+ isOpen: boolean;
7843
+ }
7844
+ export class TextureButtonLine extends React.Component<ITextureButtonLineProps, ITextureButtonLineState> {
7845
+ private static _IDGenerator;
7846
+ private _id;
7847
+ private _uploadInputRef;
7848
+ constructor(props: ITextureButtonLineProps);
7849
+ onChange(evt: any): void;
7850
+ render(): import("react/jsx-runtime").JSX.Element;
7851
+ }
7852
+
7853
+
7854
+
7803
7855
  }
7804
7856
  declare module BABYLON {
7805
7857
 
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": "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.54.0",
18
- "babylonjs-gui": "^7.54.0"
17
+ "babylonjs": "^7.54.1",
18
+ "babylonjs-gui": "^7.54.1"
19
19
  },
20
20
  "devDependencies": {
21
21
  "@dev/build-tools": "1.0.0",