babylonjs-gui-editor 7.6.0 → 7.6.2
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.
- package/babylon.guiEditor.d.ts +35 -35
- package/babylon.guiEditor.js +1 -1
- package/babylon.guiEditor.js.map +1 -1
- package/babylon.guiEditor.max.js +28 -29
- package/babylon.guiEditor.module.d.ts +71 -71
- package/package.json +3 -3
|
@@ -1683,7 +1683,7 @@ export interface IColorComponentEntryProps {
|
|
|
1683
1683
|
disabled?: boolean;
|
|
1684
1684
|
lockObject: LockObject;
|
|
1685
1685
|
}
|
|
1686
|
-
export class
|
|
1686
|
+
export class ColorComponentComponentEntry extends React.Component<IColorComponentEntryProps> {
|
|
1687
1687
|
constructor(props: IColorComponentEntryProps);
|
|
1688
1688
|
updateValue(valueString: string): void;
|
|
1689
1689
|
lock(): void;
|
|
@@ -1699,7 +1699,7 @@ import { LockObject } from "babylonjs-gui-editor/tabs/propertyGrids/lockObject";
|
|
|
1699
1699
|
/**
|
|
1700
1700
|
* Interface used to specify creation options for color picker
|
|
1701
1701
|
*/
|
|
1702
|
-
export interface
|
|
1702
|
+
export interface IColorPickerComponentProps {
|
|
1703
1703
|
color: Color3 | Color4;
|
|
1704
1704
|
linearhint?: boolean;
|
|
1705
1705
|
debugMode?: boolean;
|
|
@@ -1717,13 +1717,13 @@ export interface IColorPickerState {
|
|
|
1717
1717
|
/**
|
|
1718
1718
|
* Class used to create a color picker
|
|
1719
1719
|
*/
|
|
1720
|
-
export class
|
|
1720
|
+
export class ColorPickerComponent extends React.Component<IColorPickerComponentProps, IColorPickerState> {
|
|
1721
1721
|
private _saturationRef;
|
|
1722
1722
|
private _hueRef;
|
|
1723
1723
|
private _isSaturationPointerDown;
|
|
1724
1724
|
private _isHuePointerDown;
|
|
1725
|
-
constructor(props:
|
|
1726
|
-
shouldComponentUpdate(nextProps:
|
|
1725
|
+
constructor(props: IColorPickerComponentProps);
|
|
1726
|
+
shouldComponentUpdate(nextProps: IColorPickerComponentProps, nextState: IColorPickerState): boolean;
|
|
1727
1727
|
onSaturationPointerDown(evt: React.PointerEvent<HTMLDivElement>): void;
|
|
1728
1728
|
onSaturationPointerUp(evt: React.PointerEvent<HTMLDivElement>): void;
|
|
1729
1729
|
onSaturationPointerMove(evt: React.PointerEvent<HTMLDivElement>): void;
|
|
@@ -1747,7 +1747,7 @@ export interface IHexColorProps {
|
|
|
1747
1747
|
onChange: (value: string) => void;
|
|
1748
1748
|
lockObject: LockObject;
|
|
1749
1749
|
}
|
|
1750
|
-
export class
|
|
1750
|
+
export class HexColorComponent extends React.Component<IHexColorProps, {
|
|
1751
1751
|
hex: string;
|
|
1752
1752
|
}> {
|
|
1753
1753
|
constructor(props: IHexColorProps);
|
|
@@ -2206,7 +2206,7 @@ declare module "babylonjs-gui-editor/components/lines/ColorPickerLineComponent"
|
|
|
2206
2206
|
import * as React from "react";
|
|
2207
2207
|
import { Color4, Color3 } from "babylonjs/Maths/math.color";
|
|
2208
2208
|
import { LockObject } from "babylonjs-gui-editor/tabs/propertyGrids/lockObject";
|
|
2209
|
-
export interface
|
|
2209
|
+
export interface IColorPickerLineComponentProps {
|
|
2210
2210
|
value: Color4 | Color3;
|
|
2211
2211
|
linearHint?: boolean;
|
|
2212
2212
|
onColorChanged: (newOne: string) => void;
|
|
@@ -2221,14 +2221,14 @@ interface IColorPickerComponentState {
|
|
|
2221
2221
|
color: Color3 | Color4;
|
|
2222
2222
|
hex: string;
|
|
2223
2223
|
}
|
|
2224
|
-
export class ColorPickerLineComponent extends React.Component<
|
|
2224
|
+
export class ColorPickerLineComponent extends React.Component<IColorPickerLineComponentProps, IColorPickerComponentState> {
|
|
2225
2225
|
private _floatRef;
|
|
2226
2226
|
private _floatHostRef;
|
|
2227
2227
|
private _coverRef;
|
|
2228
|
-
constructor(props:
|
|
2228
|
+
constructor(props: IColorPickerLineComponentProps);
|
|
2229
2229
|
syncPositions(): void;
|
|
2230
|
-
shouldComponentUpdate(nextProps:
|
|
2231
|
-
getHexString(props?: Readonly<
|
|
2230
|
+
shouldComponentUpdate(nextProps: IColorPickerLineComponentProps, nextState: IColorPickerComponentState): boolean;
|
|
2231
|
+
getHexString(props?: Readonly<IColorPickerLineComponentProps> & Readonly<{
|
|
2232
2232
|
children?: React.ReactNode;
|
|
2233
2233
|
}>): string;
|
|
2234
2234
|
componentDidUpdate(): void;
|
|
@@ -2473,7 +2473,7 @@ export interface IGraphNodeProps {
|
|
|
2473
2473
|
highlighted?: boolean;
|
|
2474
2474
|
parentContainerId: string;
|
|
2475
2475
|
}
|
|
2476
|
-
export const
|
|
2476
|
+
export const SingleGraphNode: FC<IGraphNodeProps>;
|
|
2477
2477
|
|
|
2478
2478
|
}
|
|
2479
2479
|
declare module "babylonjs-gui-editor/components/reactGraphSystem/GraphNodesContainer" {
|
|
@@ -2722,7 +2722,7 @@ import { Observable } from "babylonjs/Misc/observable";
|
|
|
2722
2722
|
import { Color4 } from "babylonjs/Maths/math.color";
|
|
2723
2723
|
import { PropertyChangedEvent } from "babylonjs-gui-editor/propertyChangedEvent";
|
|
2724
2724
|
import { LockObject } from "babylonjs-gui-editor/tabs/propertyGrids/lockObject";
|
|
2725
|
-
export interface
|
|
2725
|
+
export interface IColorLineProps {
|
|
2726
2726
|
label: string;
|
|
2727
2727
|
target?: any;
|
|
2728
2728
|
propertyName: string;
|
|
@@ -2738,10 +2738,10 @@ interface IColorLineComponentState {
|
|
|
2738
2738
|
isExpanded: boolean;
|
|
2739
2739
|
color: Color4;
|
|
2740
2740
|
}
|
|
2741
|
-
export class
|
|
2742
|
-
constructor(props:
|
|
2743
|
-
shouldComponentUpdate(nextProps:
|
|
2744
|
-
getValue(props?: Readonly<
|
|
2741
|
+
export class ColorLine extends React.Component<IColorLineProps, IColorLineComponentState> {
|
|
2742
|
+
constructor(props: IColorLineProps);
|
|
2743
|
+
shouldComponentUpdate(nextProps: IColorLineProps, nextState: IColorLineComponentState): boolean;
|
|
2744
|
+
getValue(props?: Readonly<IColorLineProps> & Readonly<{
|
|
2745
2745
|
children?: React.ReactNode;
|
|
2746
2746
|
}>): Color4;
|
|
2747
2747
|
setColorFromString(colorString: string): void;
|
|
@@ -2763,7 +2763,7 @@ declare module "babylonjs-gui-editor/lines/colorPickerComponent" {
|
|
|
2763
2763
|
import * as React from "react";
|
|
2764
2764
|
import { Color4, Color3 } from "babylonjs/Maths/math.color";
|
|
2765
2765
|
import { LockObject } from "babylonjs-gui-editor/tabs/propertyGrids/lockObject";
|
|
2766
|
-
export interface
|
|
2766
|
+
export interface IColorPickerLineProps {
|
|
2767
2767
|
value: Color4 | Color3;
|
|
2768
2768
|
linearHint?: boolean;
|
|
2769
2769
|
onColorChanged: (newOne: string) => void;
|
|
@@ -2777,13 +2777,13 @@ interface IColorPickerComponentState {
|
|
|
2777
2777
|
color: Color3 | Color4;
|
|
2778
2778
|
hex: string;
|
|
2779
2779
|
}
|
|
2780
|
-
export class
|
|
2780
|
+
export class ColorPickerLine extends React.Component<IColorPickerLineProps, IColorPickerComponentState> {
|
|
2781
2781
|
private _floatRef;
|
|
2782
2782
|
private _floatHostRef;
|
|
2783
|
-
constructor(props:
|
|
2783
|
+
constructor(props: IColorPickerLineProps);
|
|
2784
2784
|
syncPositions(): void;
|
|
2785
|
-
shouldComponentUpdate(nextProps:
|
|
2786
|
-
getHexString(props?: Readonly<
|
|
2785
|
+
shouldComponentUpdate(nextProps: IColorPickerLineProps, nextState: IColorPickerComponentState): boolean;
|
|
2786
|
+
getHexString(props?: Readonly<IColorPickerLineProps> & Readonly<{
|
|
2787
2787
|
children?: React.ReactNode;
|
|
2788
2788
|
}>): string;
|
|
2789
2789
|
componentDidUpdate(): void;
|
|
@@ -2807,18 +2807,18 @@ export class DraggableLineComponent extends React.Component<IButtonLineComponent
|
|
|
2807
2807
|
}
|
|
2808
2808
|
declare module "babylonjs-gui-editor/lines/fileButtonLineComponent" {
|
|
2809
2809
|
import * as React from "react";
|
|
2810
|
-
interface
|
|
2810
|
+
interface IFileButtonLineProps {
|
|
2811
2811
|
label: string;
|
|
2812
2812
|
onClick: (file: File) => void;
|
|
2813
2813
|
accept: string;
|
|
2814
2814
|
icon?: string;
|
|
2815
2815
|
iconLabel?: string;
|
|
2816
2816
|
}
|
|
2817
|
-
export class
|
|
2817
|
+
export class FileButtonLine extends React.Component<IFileButtonLineProps> {
|
|
2818
2818
|
private static _IDGenerator;
|
|
2819
2819
|
private _id;
|
|
2820
2820
|
private _uploadInputRef;
|
|
2821
|
-
constructor(props:
|
|
2821
|
+
constructor(props: IFileButtonLineProps);
|
|
2822
2822
|
onChange(evt: any): void;
|
|
2823
2823
|
|
|
2824
2824
|
}
|
|
@@ -3109,7 +3109,7 @@ export {};
|
|
|
3109
3109
|
declare module "babylonjs-gui-editor/lines/numericInputComponent" {
|
|
3110
3110
|
import * as React from "react";
|
|
3111
3111
|
import { LockObject } from "babylonjs-gui-editor/tabs/propertyGrids/lockObject";
|
|
3112
|
-
interface
|
|
3112
|
+
interface INumericInputProps {
|
|
3113
3113
|
label: string;
|
|
3114
3114
|
value: number;
|
|
3115
3115
|
step?: number;
|
|
@@ -3119,16 +3119,16 @@ interface INumericInputComponentProps {
|
|
|
3119
3119
|
iconLabel?: string;
|
|
3120
3120
|
lockObject: LockObject;
|
|
3121
3121
|
}
|
|
3122
|
-
export class
|
|
3122
|
+
export class NumericInput extends React.Component<INumericInputProps, {
|
|
3123
3123
|
value: string;
|
|
3124
3124
|
}> {
|
|
3125
3125
|
static defaultProps: {
|
|
3126
3126
|
step: number;
|
|
3127
3127
|
};
|
|
3128
3128
|
private _localChange;
|
|
3129
|
-
constructor(props:
|
|
3129
|
+
constructor(props: INumericInputProps);
|
|
3130
3130
|
componentWillUnmount(): void;
|
|
3131
|
-
shouldComponentUpdate(nextProps:
|
|
3131
|
+
shouldComponentUpdate(nextProps: INumericInputProps, nextState: {
|
|
3132
3132
|
value: string;
|
|
3133
3133
|
}): boolean;
|
|
3134
3134
|
updateValue(valueString: string): void;
|
|
@@ -3146,7 +3146,7 @@ import { Observable } from "babylonjs/Misc/observable";
|
|
|
3146
3146
|
import { PropertyChangedEvent } from "babylonjs-gui-editor/propertyChangedEvent";
|
|
3147
3147
|
import { IInspectableOptions } from "babylonjs/Misc/iInspectable";
|
|
3148
3148
|
export const Null_Value: number;
|
|
3149
|
-
export interface
|
|
3149
|
+
export interface IOptionsLineProps {
|
|
3150
3150
|
label: string;
|
|
3151
3151
|
target: any;
|
|
3152
3152
|
propertyName: string;
|
|
@@ -3162,15 +3162,15 @@ export interface IOptionsLineComponentProps {
|
|
|
3162
3162
|
valuesAreStrings?: boolean;
|
|
3163
3163
|
defaultIfNull?: number;
|
|
3164
3164
|
}
|
|
3165
|
-
export class
|
|
3165
|
+
export class OptionsLine extends React.Component<IOptionsLineProps, {
|
|
3166
3166
|
value: number | string;
|
|
3167
3167
|
}> {
|
|
3168
3168
|
private _localChange;
|
|
3169
3169
|
private _remapValueIn;
|
|
3170
3170
|
private _remapValueOut;
|
|
3171
3171
|
private _getValue;
|
|
3172
|
-
constructor(props:
|
|
3173
|
-
shouldComponentUpdate(nextProps:
|
|
3172
|
+
constructor(props: IOptionsLineProps);
|
|
3173
|
+
shouldComponentUpdate(nextProps: IOptionsLineProps, nextState: {
|
|
3174
3174
|
value: number;
|
|
3175
3175
|
}): boolean;
|
|
3176
3176
|
raiseOnPropertyChanged(newValue: number, previousValue: number): void;
|
|
@@ -4290,13 +4290,13 @@ export const Small: any;
|
|
|
4290
4290
|
|
|
4291
4291
|
}
|
|
4292
4292
|
declare module "babylonjs-gui-editor/stories/colorPicker/ColorPicker.stories" {
|
|
4293
|
-
import {
|
|
4293
|
+
import { ColorPickerComponent } from "babylonjs-gui-editor/components/colorPicker/ColorPicker";
|
|
4294
4294
|
|
|
4295
4295
|
const _default: {
|
|
4296
|
-
component: typeof
|
|
4296
|
+
component: typeof ColorPickerComponent;
|
|
4297
4297
|
};
|
|
4298
4298
|
export default _default;
|
|
4299
|
-
export const Default: StoryObj<typeof
|
|
4299
|
+
export const Default: StoryObj<typeof ColorPickerComponent>;
|
|
4300
4300
|
|
|
4301
4301
|
}
|
|
4302
4302
|
declare module "babylonjs-gui-editor/stories/Icon.stories" {
|
|
@@ -6122,7 +6122,7 @@ declare module BABYLON.GuiEditor.SharedUIComponents {
|
|
|
6122
6122
|
disabled?: boolean;
|
|
6123
6123
|
lockObject: BABYLON.GuiEditor.SharedUIComponents.LockObject;
|
|
6124
6124
|
}
|
|
6125
|
-
export class
|
|
6125
|
+
export class ColorComponentComponentEntry extends React.Component<IColorComponentEntryProps> {
|
|
6126
6126
|
constructor(props: IColorComponentEntryProps);
|
|
6127
6127
|
updateValue(valueString: string): void;
|
|
6128
6128
|
lock(): void;
|
|
@@ -6140,7 +6140,7 @@ declare module BABYLON.GuiEditor.SharedUIComponents {
|
|
|
6140
6140
|
/**
|
|
6141
6141
|
* Interface used to specify creation options for color picker
|
|
6142
6142
|
*/
|
|
6143
|
-
export interface
|
|
6143
|
+
export interface IColorPickerComponentProps {
|
|
6144
6144
|
color: Color3 | Color4;
|
|
6145
6145
|
linearhint?: boolean;
|
|
6146
6146
|
debugMode?: boolean;
|
|
@@ -6158,13 +6158,13 @@ declare module BABYLON.GuiEditor.SharedUIComponents {
|
|
|
6158
6158
|
/**
|
|
6159
6159
|
* Class used to create a color picker
|
|
6160
6160
|
*/
|
|
6161
|
-
export class
|
|
6161
|
+
export class ColorPickerComponent extends React.Component<IColorPickerComponentProps, IColorPickerState> {
|
|
6162
6162
|
private _saturationRef;
|
|
6163
6163
|
private _hueRef;
|
|
6164
6164
|
private _isSaturationPointerDown;
|
|
6165
6165
|
private _isHuePointerDown;
|
|
6166
|
-
constructor(props:
|
|
6167
|
-
shouldComponentUpdate(nextProps:
|
|
6166
|
+
constructor(props: IColorPickerComponentProps);
|
|
6167
|
+
shouldComponentUpdate(nextProps: IColorPickerComponentProps, nextState: IColorPickerState): boolean;
|
|
6168
6168
|
onSaturationPointerDown(evt: React.PointerEvent<HTMLDivElement>): void;
|
|
6169
6169
|
onSaturationPointerUp(evt: React.PointerEvent<HTMLDivElement>): void;
|
|
6170
6170
|
onSaturationPointerMove(evt: React.PointerEvent<HTMLDivElement>): void;
|
|
@@ -6191,7 +6191,7 @@ declare module BABYLON.GuiEditor.SharedUIComponents {
|
|
|
6191
6191
|
onChange: (value: string) => void;
|
|
6192
6192
|
lockObject: BABYLON.GuiEditor.SharedUIComponents.LockObject;
|
|
6193
6193
|
}
|
|
6194
|
-
export class
|
|
6194
|
+
export class HexColorComponent extends React.Component<IHexColorProps, {
|
|
6195
6195
|
hex: string;
|
|
6196
6196
|
}> {
|
|
6197
6197
|
constructor(props: IHexColorProps);
|
|
@@ -6703,7 +6703,7 @@ declare module BABYLON {
|
|
|
6703
6703
|
|
|
6704
6704
|
}
|
|
6705
6705
|
declare module BABYLON.GuiEditor.SharedUIComponents {
|
|
6706
|
-
export interface
|
|
6706
|
+
export interface IColorPickerLineComponentProps {
|
|
6707
6707
|
value: Color4 | Color3;
|
|
6708
6708
|
linearHint?: boolean;
|
|
6709
6709
|
onColorChanged: (newOne: string) => void;
|
|
@@ -6718,14 +6718,14 @@ declare module BABYLON.GuiEditor.SharedUIComponents {
|
|
|
6718
6718
|
color: Color3 | Color4;
|
|
6719
6719
|
hex: string;
|
|
6720
6720
|
}
|
|
6721
|
-
export class ColorPickerLineComponent extends React.Component<
|
|
6721
|
+
export class ColorPickerLineComponent extends React.Component<IColorPickerLineComponentProps, IColorPickerComponentState> {
|
|
6722
6722
|
private _floatRef;
|
|
6723
6723
|
private _floatHostRef;
|
|
6724
6724
|
private _coverRef;
|
|
6725
|
-
constructor(props:
|
|
6725
|
+
constructor(props: IColorPickerLineComponentProps);
|
|
6726
6726
|
syncPositions(): void;
|
|
6727
|
-
shouldComponentUpdate(nextProps:
|
|
6728
|
-
getHexString(props?: Readonly<
|
|
6727
|
+
shouldComponentUpdate(nextProps: IColorPickerLineComponentProps, nextState: IColorPickerComponentState): boolean;
|
|
6728
|
+
getHexString(props?: Readonly<IColorPickerLineComponentProps> & Readonly<{
|
|
6729
6729
|
children?: React.ReactNode;
|
|
6730
6730
|
}>): string;
|
|
6731
6731
|
componentDidUpdate(): void;
|
|
@@ -7009,7 +7009,7 @@ declare module BABYLON.GuiEditor.SharedUIComponents {
|
|
|
7009
7009
|
highlighted?: boolean;
|
|
7010
7010
|
parentContainerId: string;
|
|
7011
7011
|
}
|
|
7012
|
-
export var
|
|
7012
|
+
export var SingleGraphNode: React.FC<IGraphNodeProps>;
|
|
7013
7013
|
|
|
7014
7014
|
|
|
7015
7015
|
|
|
@@ -7296,7 +7296,7 @@ declare module BABYLON {
|
|
|
7296
7296
|
|
|
7297
7297
|
}
|
|
7298
7298
|
declare module BABYLON.GuiEditor.SharedUIComponents {
|
|
7299
|
-
export interface
|
|
7299
|
+
export interface IColorLineProps {
|
|
7300
7300
|
label: string;
|
|
7301
7301
|
target?: any;
|
|
7302
7302
|
propertyName: string;
|
|
@@ -7312,10 +7312,10 @@ declare module BABYLON.GuiEditor.SharedUIComponents {
|
|
|
7312
7312
|
isExpanded: boolean;
|
|
7313
7313
|
color: Color4;
|
|
7314
7314
|
}
|
|
7315
|
-
export class
|
|
7316
|
-
constructor(props:
|
|
7317
|
-
shouldComponentUpdate(nextProps:
|
|
7318
|
-
getValue(props?: Readonly<
|
|
7315
|
+
export class ColorLine extends React.Component<IColorLineProps, IColorLineComponentState> {
|
|
7316
|
+
constructor(props: IColorLineProps);
|
|
7317
|
+
shouldComponentUpdate(nextProps: IColorLineProps, nextState: IColorLineComponentState): boolean;
|
|
7318
|
+
getValue(props?: Readonly<IColorLineProps> & Readonly<{
|
|
7319
7319
|
children?: React.ReactNode;
|
|
7320
7320
|
}>): Color4;
|
|
7321
7321
|
setColorFromString(colorString: string): void;
|
|
@@ -7338,7 +7338,7 @@ declare module BABYLON {
|
|
|
7338
7338
|
|
|
7339
7339
|
}
|
|
7340
7340
|
declare module BABYLON.GuiEditor.SharedUIComponents {
|
|
7341
|
-
export interface
|
|
7341
|
+
export interface IColorPickerLineProps {
|
|
7342
7342
|
value: Color4 | Color3;
|
|
7343
7343
|
linearHint?: boolean;
|
|
7344
7344
|
onColorChanged: (newOne: string) => void;
|
|
@@ -7352,13 +7352,13 @@ declare module BABYLON.GuiEditor.SharedUIComponents {
|
|
|
7352
7352
|
color: Color3 | Color4;
|
|
7353
7353
|
hex: string;
|
|
7354
7354
|
}
|
|
7355
|
-
export class
|
|
7355
|
+
export class ColorPickerLine extends React.Component<IColorPickerLineProps, IColorPickerComponentState> {
|
|
7356
7356
|
private _floatRef;
|
|
7357
7357
|
private _floatHostRef;
|
|
7358
|
-
constructor(props:
|
|
7358
|
+
constructor(props: IColorPickerLineProps);
|
|
7359
7359
|
syncPositions(): void;
|
|
7360
|
-
shouldComponentUpdate(nextProps:
|
|
7361
|
-
getHexString(props?: Readonly<
|
|
7360
|
+
shouldComponentUpdate(nextProps: IColorPickerLineProps, nextState: IColorPickerComponentState): boolean;
|
|
7361
|
+
getHexString(props?: Readonly<IColorPickerLineProps> & Readonly<{
|
|
7362
7362
|
children?: React.ReactNode;
|
|
7363
7363
|
}>): string;
|
|
7364
7364
|
componentDidUpdate(): void;
|
|
@@ -7389,18 +7389,18 @@ declare module BABYLON {
|
|
|
7389
7389
|
|
|
7390
7390
|
}
|
|
7391
7391
|
declare module BABYLON.GuiEditor.SharedUIComponents {
|
|
7392
|
-
interface
|
|
7392
|
+
interface IFileButtonLineProps {
|
|
7393
7393
|
label: string;
|
|
7394
7394
|
onClick: (file: File) => void;
|
|
7395
7395
|
accept: string;
|
|
7396
7396
|
icon?: string;
|
|
7397
7397
|
iconLabel?: string;
|
|
7398
7398
|
}
|
|
7399
|
-
export class
|
|
7399
|
+
export class FileButtonLine extends React.Component<IFileButtonLineProps> {
|
|
7400
7400
|
private static _IDGenerator;
|
|
7401
7401
|
private _id;
|
|
7402
7402
|
private _uploadInputRef;
|
|
7403
|
-
constructor(props:
|
|
7403
|
+
constructor(props: IFileButtonLineProps);
|
|
7404
7404
|
onChange(evt: any): void;
|
|
7405
7405
|
render(): import("react/jsx-runtime").JSX.Element;
|
|
7406
7406
|
}
|
|
@@ -7718,7 +7718,7 @@ declare module BABYLON {
|
|
|
7718
7718
|
|
|
7719
7719
|
}
|
|
7720
7720
|
declare module BABYLON.GuiEditor.SharedUIComponents {
|
|
7721
|
-
interface
|
|
7721
|
+
interface INumericInputProps {
|
|
7722
7722
|
label: string;
|
|
7723
7723
|
value: number;
|
|
7724
7724
|
step?: number;
|
|
@@ -7728,16 +7728,16 @@ declare module BABYLON.GuiEditor.SharedUIComponents {
|
|
|
7728
7728
|
iconLabel?: string;
|
|
7729
7729
|
lockObject: BABYLON.GuiEditor.SharedUIComponents.LockObject;
|
|
7730
7730
|
}
|
|
7731
|
-
export class
|
|
7731
|
+
export class NumericInput extends React.Component<INumericInputProps, {
|
|
7732
7732
|
value: string;
|
|
7733
7733
|
}> {
|
|
7734
7734
|
static defaultProps: {
|
|
7735
7735
|
step: number;
|
|
7736
7736
|
};
|
|
7737
7737
|
private _localChange;
|
|
7738
|
-
constructor(props:
|
|
7738
|
+
constructor(props: INumericInputProps);
|
|
7739
7739
|
componentWillUnmount(): void;
|
|
7740
|
-
shouldComponentUpdate(nextProps:
|
|
7740
|
+
shouldComponentUpdate(nextProps: INumericInputProps, nextState: {
|
|
7741
7741
|
value: string;
|
|
7742
7742
|
}): boolean;
|
|
7743
7743
|
updateValue(valueString: string): void;
|
|
@@ -7755,7 +7755,7 @@ declare module BABYLON {
|
|
|
7755
7755
|
}
|
|
7756
7756
|
declare module BABYLON.GuiEditor.SharedUIComponents {
|
|
7757
7757
|
export var Null_Value: number;
|
|
7758
|
-
export interface
|
|
7758
|
+
export interface IOptionsLineProps {
|
|
7759
7759
|
label: string;
|
|
7760
7760
|
target: any;
|
|
7761
7761
|
propertyName: string;
|
|
@@ -7771,15 +7771,15 @@ declare module BABYLON.GuiEditor.SharedUIComponents {
|
|
|
7771
7771
|
valuesAreStrings?: boolean;
|
|
7772
7772
|
defaultIfNull?: number;
|
|
7773
7773
|
}
|
|
7774
|
-
export class
|
|
7774
|
+
export class OptionsLine extends React.Component<IOptionsLineProps, {
|
|
7775
7775
|
value: number | string;
|
|
7776
7776
|
}> {
|
|
7777
7777
|
private _localChange;
|
|
7778
7778
|
private _remapValueIn;
|
|
7779
7779
|
private _remapValueOut;
|
|
7780
7780
|
private _getValue;
|
|
7781
|
-
constructor(props:
|
|
7782
|
-
shouldComponentUpdate(nextProps:
|
|
7781
|
+
constructor(props: IOptionsLineProps);
|
|
7782
|
+
shouldComponentUpdate(nextProps: IOptionsLineProps, nextState: {
|
|
7783
7783
|
value: number;
|
|
7784
7784
|
}): boolean;
|
|
7785
7785
|
raiseOnPropertyChanged(newValue: number, previousValue: number): void;
|
|
@@ -8948,9 +8948,9 @@ declare module BABYLON {
|
|
|
8948
8948
|
}
|
|
8949
8949
|
declare module BABYLON.GuiEditor.SharedUIComponents {
|
|
8950
8950
|
var _default: {
|
|
8951
|
-
component: typeof BABYLON.GuiEditor.SharedUIComponents.
|
|
8951
|
+
component: typeof BABYLON.GuiEditor.SharedUIComponents.ColorPickerComponent;
|
|
8952
8952
|
};
|
|
8953
|
-
export var Default: StoryObj<typeof BABYLON.GuiEditor.SharedUIComponents.
|
|
8953
|
+
export var Default: StoryObj<typeof BABYLON.GuiEditor.SharedUIComponents.ColorPickerComponent>;
|
|
8954
8954
|
|
|
8955
8955
|
|
|
8956
8956
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "babylonjs-gui-editor",
|
|
3
|
-
"version": "7.6.
|
|
3
|
+
"version": "7.6.2",
|
|
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.6.
|
|
18
|
-
"babylonjs-gui": "^7.6.
|
|
17
|
+
"babylonjs": "^7.6.2",
|
|
18
|
+
"babylonjs-gui": "^7.6.2"
|
|
19
19
|
},
|
|
20
20
|
"devDependencies": {
|
|
21
21
|
"@dev/build-tools": "1.0.0",
|