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/textInputLineComp
|
|
|
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/floatLineComponen
|
|
|
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;
|
|
@@ -4934,7 +4940,7 @@ declare module NODEEDITOR {
|
|
|
4934
4940
|
* @param setter an optional setter function to override the default setter behavior
|
|
4935
4941
|
* @returns a proxy object that can be passed as a target into the input
|
|
4936
4942
|
*/
|
|
4937
|
-
export function makeTargetsProxy(targets:
|
|
4943
|
+
export function makeTargetsProxy<Type>(targets: Type[], onPropertyChangedObservable?: BABYLON.Observable<PropertyChangedEvent>, getProperty?: (target: Type, property: keyof Type) => any): any;
|
|
4938
4944
|
}
|
|
4939
4945
|
declare module NODEEDITOR {
|
|
4940
4946
|
export interface ICheckBoxLineComponentProps {
|
|
@@ -5048,6 +5054,9 @@ declare module NODEEDITOR {
|
|
|
5048
5054
|
noUnderline?: boolean;
|
|
5049
5055
|
numbersOnly?: boolean;
|
|
5050
5056
|
delayInput?: boolean;
|
|
5057
|
+
unit?: string;
|
|
5058
|
+
onUnitClicked?: (unit: string) => void;
|
|
5059
|
+
unitLocked?: boolean;
|
|
5051
5060
|
}
|
|
5052
5061
|
export class TextInputLineComponent extends React.Component<ITextInputLineComponentProps, {
|
|
5053
5062
|
value: string;
|
|
@@ -5235,6 +5244,9 @@ declare module NODEEDITOR {
|
|
|
5235
5244
|
icon?: string;
|
|
5236
5245
|
iconLabel?: string;
|
|
5237
5246
|
defaultValue?: number;
|
|
5247
|
+
unit?: string;
|
|
5248
|
+
onUnitClicked?: () => void;
|
|
5249
|
+
unitLocked?: boolean;
|
|
5238
5250
|
}
|
|
5239
5251
|
export class FloatLineComponent extends React.Component<IFloatLineComponentProps, {
|
|
5240
5252
|
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": "5.0.0-beta.
|
|
14
|
+
"babylonjs": "5.0.0-beta.8"
|
|
15
15
|
},
|
|
16
16
|
"files": [
|
|
17
17
|
"babylon.nodeEditor.max.js.map",
|