@babylonjs/node-editor 5.0.0-beta.8 → 5.0.0-rc.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.
@@ -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;
@@ -2195,8 +2196,6 @@ declare module "@babylonjs/node-editor/sharedUiComponents/lines/checkBoxLineComp
2195
2196
  isDisabled?: boolean;
2196
2197
  isConflict: boolean;
2197
2198
  }> {
2198
- private static _UniqueIdSeed;
2199
- private _uniqueId;
2200
2199
  private _localChange;
2201
2200
  constructor(props: ICheckBoxLineComponentProps);
2202
2201
  shouldComponentUpdate(nextProps: ICheckBoxLineComponentProps, nextState: {
@@ -2276,13 +2275,26 @@ declare module "@babylonjs/node-editor/sharedUiComponents/lines/colorPickerCompo
2276
2275
  render(): JSX.Element;
2277
2276
  }
2278
2277
  }
2278
+ declare module "@babylonjs/node-editor/sharedUiComponents/lines/inputArrowsComponent" {
2279
+ import * as React from "react";
2280
+ interface IInputArrowsComponentProps {
2281
+ incrementValue: (amount: number) => void;
2282
+ setDragging: (dragging: boolean) => void;
2283
+ }
2284
+ export class InputArrowsComponent extends React.Component<IInputArrowsComponentProps> {
2285
+ private _arrowsRef;
2286
+ private _drag;
2287
+ private _releaseListener;
2288
+ render(): JSX.Element;
2289
+ }
2290
+ }
2279
2291
  declare module "@babylonjs/node-editor/sharedUiComponents/lines/textInputLineComponent" {
2280
2292
  import * as React from "react";
2281
2293
  import { Observable } from "@babylonjs/core/Misc/observable";
2282
2294
  import { PropertyChangedEvent } from "@babylonjs/node-editor/sharedUiComponents/propertyChangedEvent";
2283
2295
  import { LockObject } from "@babylonjs/node-editor/sharedUiComponents/tabs/propertyGrids/lockObject";
2284
2296
  interface ITextInputLineComponentProps {
2285
- label: string;
2297
+ label?: string;
2286
2298
  lockObject: LockObject;
2287
2299
  target?: any;
2288
2300
  propertyName?: string;
@@ -2297,18 +2309,25 @@ declare module "@babylonjs/node-editor/sharedUiComponents/lines/textInputLineCom
2297
2309
  unit?: string;
2298
2310
  onUnitClicked?: (unit: string) => void;
2299
2311
  unitLocked?: boolean;
2312
+ arrows?: boolean;
2313
+ arrowsIncrement?: (amount: number) => void;
2314
+ step?: number;
2300
2315
  }
2301
2316
  export class TextInputLineComponent extends React.Component<ITextInputLineComponentProps, {
2302
2317
  value: string;
2318
+ dragging: boolean;
2303
2319
  }> {
2304
2320
  private _localChange;
2305
2321
  constructor(props: ITextInputLineComponentProps);
2306
2322
  componentWillUnmount(): void;
2307
2323
  shouldComponentUpdate(nextProps: ITextInputLineComponentProps, nextState: {
2308
2324
  value: string;
2325
+ dragging: boolean;
2309
2326
  }): boolean;
2310
2327
  raiseOnPropertyChanged(newValue: string, previousValue: string): void;
2311
2328
  updateValue(value: string): void;
2329
+ incrementValue(amount: number): void;
2330
+ onKeyDown(event: React.KeyboardEvent): void;
2312
2331
  render(): JSX.Element;
2313
2332
  }
2314
2333
  }
@@ -2590,6 +2609,16 @@ declare module "@babylonjs/node-editor/sharedUiComponents/lines/iconButtonLineCo
2590
2609
  render(): JSX.Element;
2591
2610
  }
2592
2611
  }
2612
+ declare module "@babylonjs/node-editor/sharedUiComponents/lines/iconComponent" {
2613
+ import * as React from "react";
2614
+ interface IIconComponentProps {
2615
+ icon: string;
2616
+ label?: string;
2617
+ }
2618
+ export class IconComponent extends React.Component<IIconComponentProps> {
2619
+ render(): JSX.Element;
2620
+ }
2621
+ }
2593
2622
  declare module "@babylonjs/node-editor/sharedUiComponents/lines/indentedTextLineComponent" {
2594
2623
  import * as React from "react";
2595
2624
  interface IIndentedTextLineComponentProps {
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.8",
7
+ "version": "5.0.0-rc.1",
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.8",
14
+ "@babylonjs/core": "5.0.0-rc.1",
15
15
  "tslib": "^2.3.1"
16
16
  },
17
17
  "files": [