@babylonjs/inspector 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.
@@ -4373,6 +4373,53 @@ export class HexColor extends React.Component<IHexColorProps, {
4373
4373
  render(): JSX.Element;
4374
4374
  }
4375
4375
 
4376
+ }
4377
+ declare module "@babylonjs/inspector/components/Button" {
4378
+ /// <reference types="react" />
4379
+ export type ButtonProps = {
4380
+ disabled?: boolean;
4381
+ active?: boolean;
4382
+ onClick?: () => void;
4383
+ color: "light" | "dark";
4384
+ size: "default" | "small" | "wide";
4385
+ title?: string;
4386
+ };
4387
+ export const Button: React.FC<ButtonProps>;
4388
+
4389
+ }
4390
+ declare module "@babylonjs/inspector/components/classNames" {
4391
+ export function ClassNames(names: any, styleObject: any): string;
4392
+
4393
+ }
4394
+ declare module "@babylonjs/inspector/components/Icon" {
4395
+ /// <reference types="react" />
4396
+ export type IconProps = {
4397
+ color?: "dark" | "light";
4398
+ icon: string;
4399
+ };
4400
+ export const Icon: React.FC<IconProps>;
4401
+
4402
+ }
4403
+ declare module "@babylonjs/inspector/components/Label" {
4404
+ import { ReactChild } from "react";
4405
+ export type LabelProps = {
4406
+ text: string;
4407
+ children?: ReactChild;
4408
+ color?: "dark" | "light";
4409
+ };
4410
+ export const Label: React.FC<LabelProps>;
4411
+
4412
+ }
4413
+ declare module "@babylonjs/inspector/components/Toggle" {
4414
+ /// <reference types="react" />
4415
+ export type ToggleProps = {
4416
+ toggled: "on" | "mixed" | "off";
4417
+ onToggle?: () => void;
4418
+ padded?: boolean;
4419
+ color?: "dark" | "light";
4420
+ };
4421
+ export const Toggle: React.FC<ToggleProps>;
4422
+
4376
4423
  }
4377
4424
  declare module "@babylonjs/inspector/lines/booleanLineComponent" {
4378
4425
  import * as React from "react";
@@ -5210,6 +5257,54 @@ export class PropertyChangedEvent {
5210
5257
  allowNullValue?: boolean;
5211
5258
  }
5212
5259
 
5260
+ }
5261
+ declare module "@babylonjs/inspector/stories/Button.stories" {
5262
+ /// <reference types="react" />
5263
+ import { ButtonProps } from "@babylonjs/inspector/components/Button";
5264
+ const _default: {
5265
+ title: string;
5266
+ component: import("react").FC<ButtonProps>;
5267
+ };
5268
+ export default _default;
5269
+ export const Default: any;
5270
+ export const Wide: any;
5271
+ export const Small: any;
5272
+
5273
+ }
5274
+ declare module "@babylonjs/inspector/stories/Icon.stories" {
5275
+ /// <reference types="react" />
5276
+ import { IconProps } from "@babylonjs/inspector/components/Icon";
5277
+ const _default: {
5278
+ title: string;
5279
+ component: import("react").FC<IconProps>;
5280
+ };
5281
+ export default _default;
5282
+ export const Light: any;
5283
+ export const Dark: any;
5284
+
5285
+ }
5286
+ declare module "@babylonjs/inspector/stories/Label.stories" {
5287
+ /// <reference types="react" />
5288
+ import { LabelProps } from "@babylonjs/inspector/components/Label";
5289
+ const _default: {
5290
+ title: string;
5291
+ component: import("react").FC<LabelProps>;
5292
+ };
5293
+ export default _default;
5294
+ export const Default: any;
5295
+
5296
+ }
5297
+ declare module "@babylonjs/inspector/stories/Toggle.stories" {
5298
+ /// <reference types="react" />
5299
+ import { ToggleProps } from "@babylonjs/inspector/components/Toggle";
5300
+ const _default: {
5301
+ title: string;
5302
+ component: import("react").FC<ToggleProps>;
5303
+ };
5304
+ export default _default;
5305
+ export const Default: any;
5306
+ export const Padded: any;
5307
+
5213
5308
  }
5214
5309
  declare module "@babylonjs/inspector/stringTools" {
5215
5310
  export class StringTools {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@babylonjs/inspector",
3
- "version": "5.7.0",
3
+ "version": "5.8.2",
4
4
  "module": "dist/babylon.inspector.bundle.max.js",
5
5
  "main": "dist/babylon.inspector.bundle.max.js",
6
6
  "typings": "dist/babylon.inspector.module.d.ts",
@@ -17,12 +17,12 @@
17
17
  "clean": "rimraf dist"
18
18
  },
19
19
  "dependencies": {
20
- "@babylonjs/core": "^5.7.0",
21
- "@babylonjs/gui": "^5.7.0",
22
- "@babylonjs/gui-editor": "^5.7.0",
23
- "@babylonjs/loaders": "^5.7.0",
24
- "@babylonjs/materials": "^5.7.0",
25
- "@babylonjs/serializers": "^5.7.0",
20
+ "@babylonjs/core": "^5.8.2",
21
+ "@babylonjs/gui": "^5.8.2",
22
+ "@babylonjs/gui-editor": "^5.8.2",
23
+ "@babylonjs/loaders": "^5.8.2",
24
+ "@babylonjs/materials": "^5.8.2",
25
+ "@babylonjs/serializers": "^5.8.2",
26
26
  "@fortawesome/fontawesome-svg-core": "^6.1.0",
27
27
  "@fortawesome/free-regular-svg-icons": "^6.0.0",
28
28
  "@fortawesome/free-solid-svg-icons": "^6.0.0"