@babylonjs/node-editor 5.0.0-beta.9 → 5.0.0-rc.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.
@@ -1937,6 +1937,7 @@ declare module "@babylonjs/node-editor/sharedComponents/messageDialog" {
1937
1937
  }
1938
1938
  declare module "@babylonjs/node-editor/components/preview/previewManager" {
1939
1939
  import { GlobalState } from "@babylonjs/node-editor/globalState";
1940
+ import "@babylonjs/core/Rendering/depthRendererSceneComponent";
1940
1941
  export class PreviewManager {
1941
1942
  private _nodeMaterial;
1942
1943
  private _onBuildObserver;
@@ -2276,6 +2277,19 @@ declare module "@babylonjs/node-editor/sharedUiComponents/lines/colorPickerCompo
2276
2277
  render(): JSX.Element;
2277
2278
  }
2278
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
+ }
2279
2293
  declare module "@babylonjs/node-editor/sharedUiComponents/lines/textInputLineComponent" {
2280
2294
  import * as React from "react";
2281
2295
  import { Observable } from "@babylonjs/core/Misc/observable";
@@ -2297,18 +2311,25 @@ declare module "@babylonjs/node-editor/sharedUiComponents/lines/textInputLineCom
2297
2311
  unit?: string;
2298
2312
  onUnitClicked?: (unit: string) => void;
2299
2313
  unitLocked?: boolean;
2314
+ arrows?: boolean;
2315
+ arrowsIncrement?: (amount: number) => void;
2316
+ step?: number;
2300
2317
  }
2301
2318
  export class TextInputLineComponent extends React.Component<ITextInputLineComponentProps, {
2302
2319
  value: string;
2320
+ dragging: boolean;
2303
2321
  }> {
2304
2322
  private _localChange;
2305
2323
  constructor(props: ITextInputLineComponentProps);
2306
2324
  componentWillUnmount(): void;
2307
2325
  shouldComponentUpdate(nextProps: ITextInputLineComponentProps, nextState: {
2308
2326
  value: string;
2327
+ dragging: boolean;
2309
2328
  }): boolean;
2310
2329
  raiseOnPropertyChanged(newValue: string, previousValue: string): void;
2311
2330
  updateValue(value: string): void;
2331
+ incrementValue(amount: number): void;
2332
+ onKeyDown(event: React.KeyboardEvent): void;
2312
2333
  render(): JSX.Element;
2313
2334
  }
2314
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.9",
7
+ "version": "5.0.0-rc.0",
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.9",
14
+ "@babylonjs/core": "5.0.0-rc.0",
15
15
  "tslib": "^2.3.1"
16
16
  },
17
17
  "files": [