@babylonjs/inspector 8.17.1 → 8.17.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.
@@ -5557,6 +5557,8 @@ export class SearchBoxComponent extends React.Component<ISearchBoxComponentProps
5557
5557
  onNewNodeRequested(name: string): void;
5558
5558
  onKeyDown(evt: React.KeyboardEvent): void;
5559
5559
 
5560
+
5561
+
5560
5562
  }
5561
5563
 
5562
5564
  }
@@ -7301,6 +7303,22 @@ export const SpinButtonPropertyLine: FunctionComponent<SpinButtonProps & Propert
7301
7303
 
7302
7304
  }
7303
7305
  declare module "@babylonjs/inspector/fluent/primitives/searchBox" {
7306
+ import { FunctionComponent } from "react";
7307
+ type SearchBoxProps = {
7308
+ items: string[];
7309
+ onItemSelected: (item: string) => void;
7310
+ title?: string;
7311
+ };
7312
+ /**
7313
+ * SearchBox component that displays a popup with search functionality
7314
+ * @param props - The component props
7315
+ * @returns The search box component
7316
+ */
7317
+ export const SearchBox: FunctionComponent<SearchBoxProps>;
7318
+ export {};
7319
+
7320
+ }
7321
+ declare module "@babylonjs/inspector/fluent/primitives/searchBar" {
7304
7322
  type SearchProps = {
7305
7323
  onChange: (val: string) => void;
7306
7324
  placeholder?: string;
@@ -7308,6 +7326,23 @@ type SearchProps = {
7308
7326
 
7309
7327
  export {};
7310
7328
 
7329
+ }
7330
+ declare module "@babylonjs/inspector/fluent/primitives/positionedPopover" {
7331
+ import { FunctionComponent, PropsWithChildren } from "react";
7332
+ type PositionedPopoverProps = {
7333
+ x: number;
7334
+ y: number;
7335
+ visible: boolean;
7336
+ hide: () => void;
7337
+ };
7338
+ /**
7339
+ * PositionedPopover component that shows a popover at specific coordinates
7340
+ * @param props - The component props
7341
+ * @returns The positioned popover component
7342
+ */
7343
+ export const PositionedPopover: FunctionComponent<PropsWithChildren<PositionedPopoverProps>>;
7344
+ export {};
7345
+
7311
7346
  }
7312
7347
  declare module "@babylonjs/inspector/fluent/primitives/messageBar" {
7313
7348
  import { FunctionComponent } from "react";
@@ -7438,6 +7473,21 @@ export type DraggableLineProps = {
7438
7473
  };
7439
7474
  export const DraggableLine: React.FunctionComponent<DraggableLineProps>;
7440
7475
 
7476
+ }
7477
+ declare module "@babylonjs/inspector/fluent/primitives/comboBox" {
7478
+ import { FunctionComponent } from "react";
7479
+ export type ComboBoxProps = {
7480
+ label: string;
7481
+ value: string[];
7482
+ onChange: (value: string) => void;
7483
+ };
7484
+ /**
7485
+ * Wrapper around a Fluent ComboBox that allows for filtering options
7486
+ * @param props
7487
+ * @returns
7488
+ */
7489
+ export const ComboBox: FunctionComponent<ComboBoxProps>;
7490
+
7441
7491
  }
7442
7492
  declare module "@babylonjs/inspector/fluent/primitives/colorPicker" {
7443
7493
  import { FunctionComponent } from "react";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@babylonjs/inspector",
3
- "version": "8.17.1",
3
+ "version": "8.17.2",
4
4
  "module": "dist/babylon.inspector.bundle.js",
5
5
  "main": "dist/babylon.inspector.bundle.js",
6
6
  "esnext": "dist/babylon.inspector.bundle.js",
@@ -34,13 +34,13 @@
34
34
  "@types/react-dom": ">=16.0.9"
35
35
  },
36
36
  "devDependencies": {
37
- "@babylonjs/addons": "^8.17.1",
38
- "@babylonjs/core": "^8.17.1",
39
- "@babylonjs/gui": "^8.17.1",
40
- "@babylonjs/gui-editor": "^8.17.1",
41
- "@babylonjs/loaders": "^8.17.1",
42
- "@babylonjs/materials": "^8.17.1",
43
- "@babylonjs/serializers": "^8.17.1",
37
+ "@babylonjs/addons": "^8.17.2",
38
+ "@babylonjs/core": "^8.17.2",
39
+ "@babylonjs/gui": "^8.17.2",
40
+ "@babylonjs/gui-editor": "^8.17.2",
41
+ "@babylonjs/loaders": "^8.17.2",
42
+ "@babylonjs/materials": "^8.17.2",
43
+ "@babylonjs/serializers": "^8.17.2",
44
44
  "@lts/gui": "1.0.0",
45
45
  "react": "^18.2.0",
46
46
  "react-dom": "^18.2.0"