@babylonjs/gui-editor 7.28.0 → 7.30.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -3115,6 +3115,30 @@ export class LinkButtonComponent extends React.Component<ILinkButtonComponentPro
3115
3115
  }
3116
3116
  export {};
3117
3117
 
3118
+ }
3119
+ declare module "@babylonjs/gui-editor/lines/lineWithFileButtonComponent" {
3120
+ import * as React from "react";
3121
+ interface ILineWithFileButtonComponentProps {
3122
+ title: string;
3123
+ closed?: boolean;
3124
+ multiple?: boolean;
3125
+ label: string;
3126
+ iconImage: any;
3127
+ onIconClick: (file: File) => void;
3128
+ accept: string;
3129
+ uploadName?: string;
3130
+ }
3131
+ export class LineWithFileButtonComponent extends React.Component<ILineWithFileButtonComponentProps, {
3132
+ isExpanded: boolean;
3133
+ }> {
3134
+ private _uploadRef;
3135
+ constructor(props: ILineWithFileButtonComponentProps);
3136
+ onChange(evt: any): void;
3137
+ switchExpandedState(): void;
3138
+
3139
+ }
3140
+ export {};
3141
+
3118
3142
  }
3119
3143
  declare module "@babylonjs/gui-editor/lines/lineContainerComponent" {
3120
3144
  import * as React from "react";
@@ -3343,10 +3367,28 @@ export class FileButtonLine extends React.Component<IFileButtonLineProps> {
3343
3367
  }
3344
3368
  export {};
3345
3369
 
3370
+ }
3371
+ declare module "@babylonjs/gui-editor/lines/draggableLineWithButtonComponent" {
3372
+ import * as React from "react";
3373
+ export interface IDraggableLineWithButtonComponent {
3374
+ format: string;
3375
+ data: string;
3376
+ tooltip: string;
3377
+ iconImage: any;
3378
+ onIconClick: (value: string) => void;
3379
+ iconTitle: string;
3380
+ lenSuffixToRemove?: number;
3381
+ }
3382
+ export class DraggableLineWithButtonComponent extends React.Component<IDraggableLineWithButtonComponent> {
3383
+ constructor(props: IDraggableLineWithButtonComponent);
3384
+
3385
+ }
3386
+
3346
3387
  }
3347
3388
  declare module "@babylonjs/gui-editor/lines/draggableLineComponent" {
3348
3389
  import * as React from "react";
3349
3390
  export interface IButtonLineComponentProps {
3391
+ format: string;
3350
3392
  data: string;
3351
3393
  tooltip: string;
3352
3394
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@babylonjs/gui-editor",
3
- "version": "7.28.0",
3
+ "version": "7.30.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.28.0",
28
- "@babylonjs/gui": "^7.28.0",
27
+ "@babylonjs/core": "^7.30.0",
28
+ "@babylonjs/gui": "^7.30.0",
29
29
  "react": "^17.0.2",
30
30
  "react-dom": "^17.0.2"
31
31
  },