babylonjs-node-render-graph-editor 7.40.0 → 7.40.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.
|
@@ -2495,32 +2495,30 @@ export interface ITextInputLineComponentProps {
|
|
|
2495
2495
|
max?: number;
|
|
2496
2496
|
placeholder?: string;
|
|
2497
2497
|
unit?: React.ReactNode;
|
|
2498
|
-
validator?: (
|
|
2499
|
-
onValidateChangeFailed?: (invalidInput: string) => void;
|
|
2498
|
+
validator?: (value: string) => boolean;
|
|
2500
2499
|
multilines?: boolean;
|
|
2501
2500
|
throttlePropertyChangedNotification?: boolean;
|
|
2502
2501
|
throttlePropertyChangedNotificationDelay?: number;
|
|
2503
2502
|
disabled?: boolean;
|
|
2504
2503
|
}
|
|
2505
|
-
|
|
2506
|
-
|
|
2504
|
+
export class TextInputLineComponent extends React.Component<ITextInputLineComponentProps, {
|
|
2505
|
+
value: string;
|
|
2507
2506
|
dragging: boolean;
|
|
2508
|
-
|
|
2509
|
-
}
|
|
2510
|
-
export class TextInputLineComponent extends React.Component<ITextInputLineComponentProps, ITextInputLineComponentState> {
|
|
2507
|
+
}> {
|
|
2511
2508
|
private _localChange;
|
|
2512
2509
|
constructor(props: ITextInputLineComponentProps);
|
|
2513
2510
|
componentWillUnmount(): void;
|
|
2514
|
-
shouldComponentUpdate(nextProps: ITextInputLineComponentProps, nextState:
|
|
2511
|
+
shouldComponentUpdate(nextProps: ITextInputLineComponentProps, nextState: {
|
|
2512
|
+
value: string;
|
|
2513
|
+
dragging: boolean;
|
|
2514
|
+
}): boolean;
|
|
2515
2515
|
raiseOnPropertyChanged(newValue: string, previousValue: string): void;
|
|
2516
2516
|
getCurrentNumericValue(value: string): number;
|
|
2517
|
-
|
|
2518
|
-
updateValue(adjustedInput?: string, updateState?: boolean): void;
|
|
2517
|
+
updateValue(value: string, valueToValidate?: string): void;
|
|
2519
2518
|
incrementValue(amount: number): void;
|
|
2520
2519
|
onKeyDown(event: React.KeyboardEvent): void;
|
|
2521
2520
|
|
|
2522
2521
|
}
|
|
2523
|
-
export {};
|
|
2524
2522
|
|
|
2525
2523
|
}
|
|
2526
2524
|
declare module "babylonjs-node-render-graph-editor/lines/targetsProxy" {
|
|
@@ -6710,27 +6708,26 @@ declare module BABYLON.NodeRenderGraphEditor.SharedUIComponents {
|
|
|
6710
6708
|
max?: number;
|
|
6711
6709
|
placeholder?: string;
|
|
6712
6710
|
unit?: React.ReactNode;
|
|
6713
|
-
validator?: (
|
|
6714
|
-
onValidateChangeFailed?: (invalidInput: string) => void;
|
|
6711
|
+
validator?: (value: string) => boolean;
|
|
6715
6712
|
multilines?: boolean;
|
|
6716
6713
|
throttlePropertyChangedNotification?: boolean;
|
|
6717
6714
|
throttlePropertyChangedNotificationDelay?: number;
|
|
6718
6715
|
disabled?: boolean;
|
|
6719
6716
|
}
|
|
6720
|
-
|
|
6721
|
-
|
|
6717
|
+
export class TextInputLineComponent extends React.Component<ITextInputLineComponentProps, {
|
|
6718
|
+
value: string;
|
|
6722
6719
|
dragging: boolean;
|
|
6723
|
-
|
|
6724
|
-
}
|
|
6725
|
-
export class TextInputLineComponent extends React.Component<ITextInputLineComponentProps, ITextInputLineComponentState> {
|
|
6720
|
+
}> {
|
|
6726
6721
|
private _localChange;
|
|
6727
6722
|
constructor(props: ITextInputLineComponentProps);
|
|
6728
6723
|
componentWillUnmount(): void;
|
|
6729
|
-
shouldComponentUpdate(nextProps: ITextInputLineComponentProps, nextState:
|
|
6724
|
+
shouldComponentUpdate(nextProps: ITextInputLineComponentProps, nextState: {
|
|
6725
|
+
value: string;
|
|
6726
|
+
dragging: boolean;
|
|
6727
|
+
}): boolean;
|
|
6730
6728
|
raiseOnPropertyChanged(newValue: string, previousValue: string): void;
|
|
6731
6729
|
getCurrentNumericValue(value: string): number;
|
|
6732
|
-
|
|
6733
|
-
updateValue(adjustedInput?: string, updateState?: boolean): void;
|
|
6730
|
+
updateValue(value: string, valueToValidate?: string): void;
|
|
6734
6731
|
incrementValue(amount: number): void;
|
|
6735
6732
|
onKeyDown(event: React.KeyboardEvent): void;
|
|
6736
6733
|
render(): import("react/jsx-runtime").JSX.Element;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "babylonjs-node-render-graph-editor",
|
|
3
|
-
"version": "7.40.
|
|
3
|
+
"version": "7.40.1",
|
|
4
4
|
"main": "babylon.nodeRenderGraphEditor.js",
|
|
5
5
|
"types": "babylon.nodeRenderGraphEditor.module.d.ts",
|
|
6
6
|
"files": [
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
"clean": "rimraf dist && rimraf babylon*.* -g"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"babylonjs": "^7.51.
|
|
17
|
+
"babylonjs": "^7.51.1"
|
|
18
18
|
},
|
|
19
19
|
"devDependencies": {
|
|
20
20
|
"@dev/build-tools": "1.0.0",
|