@babylonjs/node-editor 5.0.0-beta.7 → 5.0.0-beta.8
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.
|
@@ -2170,7 +2170,7 @@ declare module "@babylonjs/node-editor/sharedUiComponents/lines/targetsProxy" {
|
|
|
2170
2170
|
* @param setter an optional setter function to override the default setter behavior
|
|
2171
2171
|
* @returns a proxy object that can be passed as a target into the input
|
|
2172
2172
|
*/
|
|
2173
|
-
export function makeTargetsProxy(targets:
|
|
2173
|
+
export function makeTargetsProxy<Type>(targets: Type[], onPropertyChangedObservable?: Observable<PropertyChangedEvent>, getProperty?: (target: Type, property: keyof Type) => any): any;
|
|
2174
2174
|
}
|
|
2175
2175
|
declare module "@babylonjs/node-editor/sharedUiComponents/lines/checkBoxLineComponent" {
|
|
2176
2176
|
import * as React from "react";
|
|
@@ -2294,6 +2294,9 @@ declare module "@babylonjs/node-editor/sharedUiComponents/lines/textInputLineCom
|
|
|
2294
2294
|
noUnderline?: boolean;
|
|
2295
2295
|
numbersOnly?: boolean;
|
|
2296
2296
|
delayInput?: boolean;
|
|
2297
|
+
unit?: string;
|
|
2298
|
+
onUnitClicked?: (unit: string) => void;
|
|
2299
|
+
unitLocked?: boolean;
|
|
2297
2300
|
}
|
|
2298
2301
|
export class TextInputLineComponent extends React.Component<ITextInputLineComponentProps, {
|
|
2299
2302
|
value: string;
|
|
@@ -2505,6 +2508,9 @@ declare module "@babylonjs/node-editor/sharedUiComponents/lines/floatLineCompone
|
|
|
2505
2508
|
icon?: string;
|
|
2506
2509
|
iconLabel?: string;
|
|
2507
2510
|
defaultValue?: number;
|
|
2511
|
+
unit?: string;
|
|
2512
|
+
onUnitClicked?: () => void;
|
|
2513
|
+
unitLocked?: boolean;
|
|
2508
2514
|
}
|
|
2509
2515
|
export class FloatLineComponent extends React.Component<IFloatLineComponentProps, {
|
|
2510
2516
|
value: string;
|
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.
|
|
7
|
+
"version": "5.0.0-beta.8",
|
|
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.
|
|
14
|
+
"@babylonjs/core": "5.0.0-beta.8",
|
|
15
15
|
"tslib": "^2.3.1"
|
|
16
16
|
},
|
|
17
17
|
"files": [
|