@babylonjs/gui-editor 5.7.0 → 5.8.2
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.
@@ -1441,6 +1441,53 @@ export class HexColor extends React.Component<IHexColorProps, {
|
|
1441
1441
|
render(): JSX.Element;
|
1442
1442
|
}
|
1443
1443
|
|
1444
|
+
}
|
1445
|
+
declare module "@babylonjs/gui-editor/components/Button" {
|
1446
|
+
/// <reference types="react" />
|
1447
|
+
export type ButtonProps = {
|
1448
|
+
disabled?: boolean;
|
1449
|
+
active?: boolean;
|
1450
|
+
onClick?: () => void;
|
1451
|
+
color: "light" | "dark";
|
1452
|
+
size: "default" | "small" | "wide";
|
1453
|
+
title?: string;
|
1454
|
+
};
|
1455
|
+
export const Button: React.FC<ButtonProps>;
|
1456
|
+
|
1457
|
+
}
|
1458
|
+
declare module "@babylonjs/gui-editor/components/classNames" {
|
1459
|
+
export function ClassNames(names: any, styleObject: any): string;
|
1460
|
+
|
1461
|
+
}
|
1462
|
+
declare module "@babylonjs/gui-editor/components/Icon" {
|
1463
|
+
/// <reference types="react" />
|
1464
|
+
export type IconProps = {
|
1465
|
+
color?: "dark" | "light";
|
1466
|
+
icon: string;
|
1467
|
+
};
|
1468
|
+
export const Icon: React.FC<IconProps>;
|
1469
|
+
|
1470
|
+
}
|
1471
|
+
declare module "@babylonjs/gui-editor/components/Label" {
|
1472
|
+
import { ReactChild } from "react";
|
1473
|
+
export type LabelProps = {
|
1474
|
+
text: string;
|
1475
|
+
children?: ReactChild;
|
1476
|
+
color?: "dark" | "light";
|
1477
|
+
};
|
1478
|
+
export const Label: React.FC<LabelProps>;
|
1479
|
+
|
1480
|
+
}
|
1481
|
+
declare module "@babylonjs/gui-editor/components/Toggle" {
|
1482
|
+
/// <reference types="react" />
|
1483
|
+
export type ToggleProps = {
|
1484
|
+
toggled: "on" | "mixed" | "off";
|
1485
|
+
onToggle?: () => void;
|
1486
|
+
padded?: boolean;
|
1487
|
+
color?: "dark" | "light";
|
1488
|
+
};
|
1489
|
+
export const Toggle: React.FC<ToggleProps>;
|
1490
|
+
|
1444
1491
|
}
|
1445
1492
|
declare module "@babylonjs/gui-editor/lines/booleanLineComponent" {
|
1446
1493
|
import * as React from "react";
|
@@ -2278,6 +2325,54 @@ export class PropertyChangedEvent {
|
|
2278
2325
|
allowNullValue?: boolean;
|
2279
2326
|
}
|
2280
2327
|
|
2328
|
+
}
|
2329
|
+
declare module "@babylonjs/gui-editor/stories/Button.stories" {
|
2330
|
+
/// <reference types="react" />
|
2331
|
+
import { ButtonProps } from "@babylonjs/gui-editor/components/Button";
|
2332
|
+
const _default: {
|
2333
|
+
title: string;
|
2334
|
+
component: import("react").FC<ButtonProps>;
|
2335
|
+
};
|
2336
|
+
export default _default;
|
2337
|
+
export const Default: any;
|
2338
|
+
export const Wide: any;
|
2339
|
+
export const Small: any;
|
2340
|
+
|
2341
|
+
}
|
2342
|
+
declare module "@babylonjs/gui-editor/stories/Icon.stories" {
|
2343
|
+
/// <reference types="react" />
|
2344
|
+
import { IconProps } from "@babylonjs/gui-editor/components/Icon";
|
2345
|
+
const _default: {
|
2346
|
+
title: string;
|
2347
|
+
component: import("react").FC<IconProps>;
|
2348
|
+
};
|
2349
|
+
export default _default;
|
2350
|
+
export const Light: any;
|
2351
|
+
export const Dark: any;
|
2352
|
+
|
2353
|
+
}
|
2354
|
+
declare module "@babylonjs/gui-editor/stories/Label.stories" {
|
2355
|
+
/// <reference types="react" />
|
2356
|
+
import { LabelProps } from "@babylonjs/gui-editor/components/Label";
|
2357
|
+
const _default: {
|
2358
|
+
title: string;
|
2359
|
+
component: import("react").FC<LabelProps>;
|
2360
|
+
};
|
2361
|
+
export default _default;
|
2362
|
+
export const Default: any;
|
2363
|
+
|
2364
|
+
}
|
2365
|
+
declare module "@babylonjs/gui-editor/stories/Toggle.stories" {
|
2366
|
+
/// <reference types="react" />
|
2367
|
+
import { ToggleProps } from "@babylonjs/gui-editor/components/Toggle";
|
2368
|
+
const _default: {
|
2369
|
+
title: string;
|
2370
|
+
component: import("react").FC<ToggleProps>;
|
2371
|
+
};
|
2372
|
+
export default _default;
|
2373
|
+
export const Default: any;
|
2374
|
+
export const Padded: any;
|
2375
|
+
|
2281
2376
|
}
|
2282
2377
|
declare module "@babylonjs/gui-editor/stringTools" {
|
2283
2378
|
export class StringTools {
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@babylonjs/gui-editor",
|
3
|
-
"version": "5.
|
3
|
+
"version": "5.8.2",
|
4
4
|
"main": "dist/babylon.guiEditor.max.js",
|
5
5
|
"module": "dist/babylon.guiEditor.max.js",
|
6
6
|
"esnext": "dist/babylon.guiEditor.max.js",
|
@@ -18,8 +18,8 @@
|
|
18
18
|
"clean": "rimraf dist"
|
19
19
|
},
|
20
20
|
"dependencies": {
|
21
|
-
"@babylonjs/core": "^5.
|
22
|
-
"@babylonjs/gui": "^5.
|
21
|
+
"@babylonjs/core": "^5.8.2",
|
22
|
+
"@babylonjs/gui": "^5.8.2"
|
23
23
|
},
|
24
24
|
"peerDependencies": {
|
25
25
|
"@types/react": ">=16.7.3",
|