@babylonjs/node-editor 5.14.0 → 5.14.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.
@@ -1147,34 +1147,6 @@ export class CheckBoxLineComponent extends React.Component<ICheckBoxLineComponen
1147
1147
  render(): JSX.Element;
1148
1148
  }
1149
1149
 
1150
- }
1151
- declare module "@babylonjs/node-editor/sharedComponents/colorPickerComponent" {
1152
- import * as React from "react";
1153
- import { Color4, Color3 } from "@babylonjs/core/Maths/math.color";
1154
- import { GlobalState } from "@babylonjs/node-editor/globalState";
1155
- export interface IColorPickerComponentProps {
1156
- value: Color4 | Color3;
1157
- onColorChanged: (newOne: string) => void;
1158
- globalState: GlobalState;
1159
- }
1160
- interface IColorPickerComponentState {
1161
- pickerEnabled: boolean;
1162
- color: Color3 | Color4;
1163
- hex: string;
1164
- }
1165
- export class ColorPickerLineComponent extends React.Component<IColorPickerComponentProps, IColorPickerComponentState> {
1166
- private _floatRef;
1167
- private _floatHostRef;
1168
- constructor(props: IColorPickerComponentProps);
1169
- syncPositions(): void;
1170
- shouldComponentUpdate(nextProps: IColorPickerComponentProps, nextState: IColorPickerComponentState): boolean;
1171
- componentDidUpdate(): void;
1172
- componentDidMount(): void;
1173
- setPickerState(enabled: boolean): void;
1174
- render(): JSX.Element;
1175
- }
1176
- export {};
1177
-
1178
1150
  }
1179
1151
  declare module "@babylonjs/node-editor/sharedComponents/draggableLineComponent" {
1180
1152
  import * as React from "react";
@@ -1277,33 +1249,6 @@ export class MessageDialogComponent extends React.Component<IMessageDialogCompon
1277
1249
  }
1278
1250
  export {};
1279
1251
 
1280
- }
1281
- declare module "@babylonjs/node-editor/sharedComponents/numericInputComponent" {
1282
- import * as React from "react";
1283
- import { GlobalState } from "@babylonjs/node-editor/globalState";
1284
- interface INumericInputComponentProps {
1285
- label: string;
1286
- value: number;
1287
- step?: number;
1288
- onChange: (value: number) => void;
1289
- globalState: GlobalState;
1290
- }
1291
- export class NumericInputComponent extends React.Component<INumericInputComponentProps, {
1292
- value: string;
1293
- }> {
1294
- static defaultProps: {
1295
- step: number;
1296
- };
1297
- private _localChange;
1298
- constructor(props: INumericInputComponentProps);
1299
- shouldComponentUpdate(nextProps: INumericInputComponentProps, nextState: {
1300
- value: string;
1301
- }): boolean;
1302
- updateValue(evt: any): void;
1303
- render(): JSX.Element;
1304
- }
1305
- export {};
1306
-
1307
1252
  }
1308
1253
  declare module "@babylonjs/node-editor/sharedComponents/popup" {
1309
1254
  export class Popup {
@@ -2177,7 +2122,7 @@ export class TextInputLineComponent extends React.Component<ITextInputLineCompon
2177
2122
  }): boolean;
2178
2123
  raiseOnPropertyChanged(newValue: string, previousValue: string): void;
2179
2124
  getCurrentNumericValue(value: string): number;
2180
- updateValue(value: string): void;
2125
+ updateValue(value: string, valueToValidate?: string): void;
2181
2126
  incrementValue(amount: number): void;
2182
2127
  onKeyDown(event: React.KeyboardEvent): void;
2183
2128
  render(): JSX.Element;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@babylonjs/node-editor",
3
- "version": "5.14.0",
3
+ "version": "5.14.1",
4
4
  "main": "dist/babylon.nodeEditor.max.js",
5
5
  "module": "dist/babylon.nodeEditor.max.js",
6
6
  "esnext": "dist/babylon.nodeEditor.max.js",
@@ -23,7 +23,7 @@
23
23
  "@types/react-dom": ">=16.0.9"
24
24
  },
25
25
  "devDependencies": {
26
- "@babylonjs/core": "^5.14.0",
26
+ "@babylonjs/core": "^5.14.1",
27
27
  "react": "^17.0.2",
28
28
  "react-dom": "^17.0.2",
29
29
  "rimraf": "^3.0.2",