@babylonjs/gui-editor 5.0.0-rc.3 → 5.0.0-rc.4
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.
@@ -709,7 +709,6 @@ declare module "@babylonjs/gui-editor/sharedUiComponents/lines/colorLineComponen
|
|
709
709
|
interface IColorLineComponentState {
|
710
710
|
isExpanded: boolean;
|
711
711
|
color: Color4;
|
712
|
-
colorString: string;
|
713
712
|
}
|
714
713
|
export class ColorLineComponent extends React.Component<IColorLineComponentProps, IColorLineComponentState> {
|
715
714
|
constructor(props: IColorLineComponentProps);
|
@@ -717,20 +716,14 @@ declare module "@babylonjs/gui-editor/sharedUiComponents/lines/colorLineComponen
|
|
717
716
|
getValue(props?: Readonly<IColorLineComponentProps> & Readonly<{
|
718
717
|
children?: React.ReactNode;
|
719
718
|
}>): Color4;
|
720
|
-
getValueAsString(props?: Readonly<IColorLineComponentProps> & Readonly<{
|
721
|
-
children?: React.ReactNode;
|
722
|
-
}>): string;
|
723
719
|
setColorFromString(colorString: string): void;
|
724
|
-
setColor(
|
725
|
-
updateColor(newColor: Color4): void;
|
720
|
+
setColor(newColor: Color4): void;
|
726
721
|
switchExpandState(): void;
|
727
722
|
updateStateR(value: number): void;
|
728
723
|
updateStateG(value: number): void;
|
729
724
|
updateStateB(value: number): void;
|
730
725
|
updateStateA(value: number): void;
|
731
726
|
copyToClipboard(): void;
|
732
|
-
get colorString(): string;
|
733
|
-
set colorString(_: string);
|
734
727
|
private convertToColor;
|
735
728
|
private toColor3;
|
736
729
|
render(): JSX.Element;
|
package/package.json
CHANGED
@@ -4,14 +4,14 @@
|
|
4
4
|
},
|
5
5
|
"name": "@babylonjs/gui-editor",
|
6
6
|
"description": "The Babylon.js GUI editor.",
|
7
|
-
"version": "5.0.0-rc.
|
7
|
+
"version": "5.0.0-rc.4",
|
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-rc.
|
14
|
+
"@babylonjs/core": "5.0.0-rc.4",
|
15
15
|
"tslib": "^2.3.1"
|
16
16
|
},
|
17
17
|
"files": [
|