babylonjs-gui-editor 7.5.0 → 7.6.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.
@@ -2596,6 +2596,14 @@ export type ToggleProps = {
2596
2596
  };
2597
2597
  export const Toggle: React.FC<ToggleProps>;
2598
2598
 
2599
+ }
2600
+ declare module "babylonjs-gui-editor/copyCommandToClipboard" {
2601
+ export function copyCommandToClipboard(strCommand: string): void;
2602
+ export function getClassNameWithNamespace(obj: any): {
2603
+ className: string;
2604
+ babylonNamespace: string;
2605
+ };
2606
+
2599
2607
  }
2600
2608
  declare module "babylonjs-gui-editor/lines/booleanLineComponent" {
2601
2609
  import * as React from "react";
@@ -2661,6 +2669,7 @@ export class CheckBoxLineComponent extends React.Component<ICheckBoxLineComponen
2661
2669
  isConflict: boolean;
2662
2670
  }): boolean;
2663
2671
  onChange(): void;
2672
+ onCopyClick(): void;
2664
2673
 
2665
2674
  }
2666
2675
 
@@ -2742,9 +2751,9 @@ export class ColorLineComponent extends React.Component<IColorLineComponentProps
2742
2751
  updateStateG(value: number): void;
2743
2752
  updateStateB(value: number): void;
2744
2753
  updateStateA(value: number): void;
2745
- copyToClipboard(): void;
2746
2754
  private _convertToColor;
2747
2755
  private _toColor3;
2756
+ onCopyClick(): void;
2748
2757
 
2749
2758
  }
2750
2759
  export {};
@@ -2885,6 +2894,7 @@ export class FloatLineComponent extends React.Component<IFloatLineComponentProps
2885
2894
  unlock(): void;
2886
2895
  incrementValue(amount: number, processStep?: boolean): void;
2887
2896
  onKeyDown(event: React.KeyboardEvent<HTMLInputElement>): void;
2897
+ onCopyClick(): void;
2888
2898
 
2889
2899
  }
2890
2900
  export {};
@@ -3166,6 +3176,7 @@ export class OptionsLineComponent extends React.Component<IOptionsLineComponentP
3166
3176
  raiseOnPropertyChanged(newValue: number, previousValue: number): void;
3167
3177
  setValue(value: string | number): void;
3168
3178
  updateValue(valueString: string): void;
3179
+ onCopyClick(): void;
3169
3180
 
3170
3181
  }
3171
3182
 
@@ -3236,6 +3247,7 @@ export class SliderLineComponent extends React.Component<ISliderLineComponentPro
3236
3247
  onChange(newValueString: any): void;
3237
3248
  onInput(newValueString: any): void;
3238
3249
  prepareDataToRead(value: number): number;
3250
+ onCopyClick(): void;
3239
3251
 
3240
3252
  }
3241
3253
  export {};
@@ -3438,6 +3450,7 @@ export class Vector3LineComponent extends React.Component<IVector3LineComponentP
3438
3450
  updateStateX(value: number): void;
3439
3451
  updateStateY(value: number): void;
3440
3452
  updateStateZ(value: number): void;
3453
+ onCopyClick(): void;
3441
3454
 
3442
3455
  }
3443
3456
  export {};
@@ -7143,6 +7156,19 @@ declare module BABYLON.GuiEditor.SharedUIComponents {
7143
7156
 
7144
7157
 
7145
7158
 
7159
+ }
7160
+ declare module BABYLON {
7161
+
7162
+ }
7163
+ declare module BABYLON.GuiEditor.SharedUIComponents {
7164
+ export function copyCommandToClipboard(strCommand: string): void;
7165
+ export function getClassNameWithNamespace(obj: any): {
7166
+ className: string;
7167
+ babylonNamespace: string;
7168
+ };
7169
+
7170
+
7171
+
7146
7172
  }
7147
7173
  declare module BABYLON {
7148
7174
 
@@ -7215,6 +7241,7 @@ declare module BABYLON.GuiEditor.SharedUIComponents {
7215
7241
  isConflict: boolean;
7216
7242
  }): boolean;
7217
7243
  onChange(): void;
7244
+ onCopyClick(): void;
7218
7245
  render(): import("react/jsx-runtime").JSX.Element;
7219
7246
  }
7220
7247
 
@@ -7298,9 +7325,9 @@ declare module BABYLON.GuiEditor.SharedUIComponents {
7298
7325
  updateStateG(value: number): void;
7299
7326
  updateStateB(value: number): void;
7300
7327
  updateStateA(value: number): void;
7301
- copyToClipboard(): void;
7302
7328
  private _convertToColor;
7303
7329
  private _toColor3;
7330
+ onCopyClick(): void;
7304
7331
  render(): import("react/jsx-runtime").JSX.Element;
7305
7332
  }
7306
7333
 
@@ -7452,6 +7479,7 @@ declare module BABYLON.GuiEditor.SharedUIComponents {
7452
7479
  unlock(): void;
7453
7480
  incrementValue(amount: number, processStep?: boolean): void;
7454
7481
  onKeyDown(event: React.KeyboardEvent<HTMLInputElement>): void;
7482
+ onCopyClick(): void;
7455
7483
  render(): import("react/jsx-runtime").JSX.Element;
7456
7484
  }
7457
7485
 
@@ -7757,6 +7785,7 @@ declare module BABYLON.GuiEditor.SharedUIComponents {
7757
7785
  raiseOnPropertyChanged(newValue: number, previousValue: number): void;
7758
7786
  setValue(value: string | number): void;
7759
7787
  updateValue(valueString: string): void;
7788
+ onCopyClick(): void;
7760
7789
  render(): import("react/jsx-runtime").JSX.Element;
7761
7790
  }
7762
7791
 
@@ -7835,6 +7864,7 @@ declare module BABYLON.GuiEditor.SharedUIComponents {
7835
7864
  onChange(newValueString: any): void;
7836
7865
  onInput(newValueString: any): void;
7837
7866
  prepareDataToRead(value: number): number;
7867
+ onCopyClick(): void;
7838
7868
  render(): import("react/jsx-runtime").JSX.Element;
7839
7869
  }
7840
7870
 
@@ -8049,6 +8079,7 @@ declare module BABYLON.GuiEditor.SharedUIComponents {
8049
8079
  updateStateX(value: number): void;
8050
8080
  updateStateY(value: number): void;
8051
8081
  updateStateZ(value: number): void;
8082
+ onCopyClick(): void;
8052
8083
  render(): import("react/jsx-runtime").JSX.Element;
8053
8084
  }
8054
8085
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "babylonjs-gui-editor",
3
- "version": "7.5.0",
3
+ "version": "7.6.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*.*"
15
15
  },
16
16
  "dependencies": {
17
- "babylonjs": "^7.5.0",
18
- "babylonjs-gui": "^7.5.0"
17
+ "babylonjs": "^7.6.0",
18
+ "babylonjs-gui": "^7.6.0"
19
19
  },
20
20
  "devDependencies": {
21
21
  "@dev/build-tools": "1.0.0",