@babylonjs/inspector 5.0.0-beta.11 → 5.0.0-beta.12
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.
@@ -973,6 +973,19 @@ declare module "@babylonjs/inspector/sharedUiComponents/lines/numericInputCompon
|
|
973
973
|
render(): JSX.Element;
|
974
974
|
}
|
975
975
|
}
|
976
|
+
declare module "@babylonjs/inspector/sharedUiComponents/lines/inputArrowsComponent" {
|
977
|
+
import * as React from "react";
|
978
|
+
interface IInputArrowsComponentProps {
|
979
|
+
incrementValue: (amount: number) => void;
|
980
|
+
setDragging: (dragging: boolean) => void;
|
981
|
+
}
|
982
|
+
export class InputArrowsComponent extends React.Component<IInputArrowsComponentProps> {
|
983
|
+
private _arrowsRef;
|
984
|
+
private _drag;
|
985
|
+
private _releaseListener;
|
986
|
+
render(): JSX.Element;
|
987
|
+
}
|
988
|
+
}
|
976
989
|
declare module "@babylonjs/inspector/sharedUiComponents/lines/textInputLineComponent" {
|
977
990
|
import * as React from "react";
|
978
991
|
import { Observable } from "@babylonjs/core/Misc/observable";
|
@@ -994,18 +1007,25 @@ declare module "@babylonjs/inspector/sharedUiComponents/lines/textInputLineCompo
|
|
994
1007
|
unit?: string;
|
995
1008
|
onUnitClicked?: (unit: string) => void;
|
996
1009
|
unitLocked?: boolean;
|
1010
|
+
arrows?: boolean;
|
1011
|
+
arrowsIncrement?: (amount: number) => void;
|
1012
|
+
step?: number;
|
997
1013
|
}
|
998
1014
|
export class TextInputLineComponent extends React.Component<ITextInputLineComponentProps, {
|
999
1015
|
value: string;
|
1016
|
+
dragging: boolean;
|
1000
1017
|
}> {
|
1001
1018
|
private _localChange;
|
1002
1019
|
constructor(props: ITextInputLineComponentProps);
|
1003
1020
|
componentWillUnmount(): void;
|
1004
1021
|
shouldComponentUpdate(nextProps: ITextInputLineComponentProps, nextState: {
|
1005
1022
|
value: string;
|
1023
|
+
dragging: boolean;
|
1006
1024
|
}): boolean;
|
1007
1025
|
raiseOnPropertyChanged(newValue: string, previousValue: string): void;
|
1008
1026
|
updateValue(value: string): void;
|
1027
|
+
incrementValue(amount: number): void;
|
1028
|
+
onKeyDown(event: React.KeyboardEvent): void;
|
1009
1029
|
render(): JSX.Element;
|
1010
1030
|
}
|
1011
1031
|
}
|
package/package.json
CHANGED
@@ -4,7 +4,7 @@
|
|
4
4
|
},
|
5
5
|
"name": "@babylonjs/inspector",
|
6
6
|
"description": "The Babylon.js inspector.",
|
7
|
-
"version": "5.0.0-beta.
|
7
|
+
"version": "5.0.0-beta.12",
|
8
8
|
"repository": {
|
9
9
|
"type": "git",
|
10
10
|
"url": "https://github.com/BabylonJS/Babylon.js.git"
|
@@ -27,12 +27,12 @@
|
|
27
27
|
],
|
28
28
|
"license": "Apache-2.0",
|
29
29
|
"dependencies": {
|
30
|
-
"@babylonjs/core": "5.0.0-beta.
|
31
|
-
"@babylonjs/gui": "5.0.0-beta.
|
32
|
-
"@babylonjs/loaders": "5.0.0-beta.
|
33
|
-
"@babylonjs/materials": "5.0.0-beta.
|
34
|
-
"@babylonjs/serializers": "5.0.0-beta.
|
35
|
-
"babylonjs-gltf2interface": "5.0.0-beta.
|
30
|
+
"@babylonjs/core": "5.0.0-beta.12",
|
31
|
+
"@babylonjs/gui": "5.0.0-beta.12",
|
32
|
+
"@babylonjs/loaders": "5.0.0-beta.12",
|
33
|
+
"@babylonjs/materials": "5.0.0-beta.12",
|
34
|
+
"@babylonjs/serializers": "5.0.0-beta.12",
|
35
|
+
"babylonjs-gltf2interface": "5.0.0-beta.12",
|
36
36
|
"tslib": "^2.3.1"
|
37
37
|
},
|
38
38
|
"peerDependencies": {
|