@babylonjs/node-editor 5.0.0-beta.11 → 5.0.0-beta.12

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.
@@ -2277,6 +2277,19 @@ declare module "@babylonjs/node-editor/sharedUiComponents/lines/colorPickerCompo
2277
2277
  render(): JSX.Element;
2278
2278
  }
2279
2279
  }
2280
+ declare module "@babylonjs/node-editor/sharedUiComponents/lines/inputArrowsComponent" {
2281
+ import * as React from "react";
2282
+ interface IInputArrowsComponentProps {
2283
+ incrementValue: (amount: number) => void;
2284
+ setDragging: (dragging: boolean) => void;
2285
+ }
2286
+ export class InputArrowsComponent extends React.Component<IInputArrowsComponentProps> {
2287
+ private _arrowsRef;
2288
+ private _drag;
2289
+ private _releaseListener;
2290
+ render(): JSX.Element;
2291
+ }
2292
+ }
2280
2293
  declare module "@babylonjs/node-editor/sharedUiComponents/lines/textInputLineComponent" {
2281
2294
  import * as React from "react";
2282
2295
  import { Observable } from "@babylonjs/core/Misc/observable";
@@ -2298,18 +2311,25 @@ declare module "@babylonjs/node-editor/sharedUiComponents/lines/textInputLineCom
2298
2311
  unit?: string;
2299
2312
  onUnitClicked?: (unit: string) => void;
2300
2313
  unitLocked?: boolean;
2314
+ arrows?: boolean;
2315
+ arrowsIncrement?: (amount: number) => void;
2316
+ step?: number;
2301
2317
  }
2302
2318
  export class TextInputLineComponent extends React.Component<ITextInputLineComponentProps, {
2303
2319
  value: string;
2320
+ dragging: boolean;
2304
2321
  }> {
2305
2322
  private _localChange;
2306
2323
  constructor(props: ITextInputLineComponentProps);
2307
2324
  componentWillUnmount(): void;
2308
2325
  shouldComponentUpdate(nextProps: ITextInputLineComponentProps, nextState: {
2309
2326
  value: string;
2327
+ dragging: boolean;
2310
2328
  }): boolean;
2311
2329
  raiseOnPropertyChanged(newValue: string, previousValue: string): void;
2312
2330
  updateValue(value: string): void;
2331
+ incrementValue(amount: number): void;
2332
+ onKeyDown(event: React.KeyboardEvent): void;
2313
2333
  render(): JSX.Element;
2314
2334
  }
2315
2335
  }
package/package.json CHANGED
@@ -4,14 +4,14 @@
4
4
  },
5
5
  "name": "@babylonjs/node-editor",
6
6
  "description": "The Babylon.js node material editor.",
7
- "version": "5.0.0-beta.11",
7
+ "version": "5.0.0-beta.12",
8
8
  "repository": {
9
9
  "type": "git",
10
10
  "url": "https://github.com/BabylonJS/Babylon.js.git"
11
11
  },
12
12
  "license": "Apache-2.0",
13
13
  "dependencies": {
14
- "@babylonjs/core": "5.0.0-beta.11",
14
+ "@babylonjs/core": "5.0.0-beta.12",
15
15
  "tslib": "^2.3.1"
16
16
  },
17
17
  "files": [