babylonjs-gui-editor 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.
@@ -1963,7 +1963,9 @@ declare module BABYLON.GuiEditor.SharedUIComponents {
1963
1963
  onFilterChange(evt: React.ChangeEvent<HTMLInputElement>): void;
1964
1964
  onNewNodeRequested(name: string): void;
1965
1965
  onKeyDown(evt: React.KeyboardEvent): void;
1966
- render(): import("react/jsx-runtime").JSX.Element | null;
1966
+ renderFluent(): import("react/jsx-runtime").JSX.Element;
1967
+ renderOriginal(): import("react/jsx-runtime").JSX.Element | null;
1968
+ render(): import("react/jsx-runtime").JSX.Element;
1967
1969
  }
1968
1970
 
1969
1971
 
@@ -3855,6 +3857,26 @@ declare module BABYLON.GuiEditor.SharedUIComponents {
3855
3857
 
3856
3858
 
3857
3859
 
3860
+ }
3861
+ declare module BABYLON {
3862
+
3863
+
3864
+ }
3865
+ declare module BABYLON.GuiEditor.SharedUIComponents {
3866
+ type SearchBoxProps = {
3867
+ items: string[];
3868
+ onItemSelected: (item: string) => void;
3869
+ title?: string;
3870
+ };
3871
+ /**
3872
+ * SearchBox component that displays a popup with search functionality
3873
+ * @param props - The component props
3874
+ * @returns The search box component
3875
+ */
3876
+ export var SearchBox: React.FunctionComponent<SearchBoxProps>;
3877
+
3878
+
3879
+
3858
3880
  }
3859
3881
  declare module BABYLON {
3860
3882
 
@@ -3865,7 +3887,28 @@ declare module BABYLON.GuiEditor.SharedUIComponents {
3865
3887
  onChange: (val: string) => void;
3866
3888
  placeholder?: string;
3867
3889
  };
3868
- export const SearchBox: (props: SearchProps) => import("react/jsx-runtime").JSX.Element;
3890
+ export var SearchBar: import("react").ForwardRefExoticComponent<SearchProps & import("react").RefAttributes<HTMLInputElement>>;
3891
+
3892
+
3893
+
3894
+ }
3895
+ declare module BABYLON {
3896
+
3897
+
3898
+ }
3899
+ declare module BABYLON.GuiEditor.SharedUIComponents {
3900
+ type PositionedPopoverProps = {
3901
+ x: number;
3902
+ y: number;
3903
+ visible: boolean;
3904
+ hide: () => void;
3905
+ };
3906
+ /**
3907
+ * PositionedPopover component that shows a popover at specific coordinates
3908
+ * @param props - The component props
3909
+ * @returns The positioned popover component
3910
+ */
3911
+ export var PositionedPopover: React.FunctionComponent<React.PropsWithChildren<PositionedPopoverProps>>;
3869
3912
 
3870
3913
 
3871
3914
 
@@ -4026,6 +4069,26 @@ declare module BABYLON.GuiEditor.SharedUIComponents {
4026
4069
 
4027
4070
 
4028
4071
 
4072
+ }
4073
+ declare module BABYLON {
4074
+
4075
+
4076
+ }
4077
+ declare module BABYLON.GuiEditor.SharedUIComponents {
4078
+ export type ComboBoxProps = {
4079
+ label: string;
4080
+ value: string[];
4081
+ onChange: (value: string) => void;
4082
+ };
4083
+ /**
4084
+ * Wrapper around a Fluent ComboBox that allows for filtering options
4085
+ * @param props
4086
+ * @returns
4087
+ */
4088
+ export var ComboBox: React.FunctionComponent<ComboBoxProps>;
4089
+
4090
+
4091
+
4029
4092
  }
4030
4093
  declare module BABYLON {
4031
4094
 
@@ -2235,6 +2235,8 @@ export class SearchBoxComponent extends React.Component<ISearchBoxComponentProps
2235
2235
  onNewNodeRequested(name: string): void;
2236
2236
  onKeyDown(evt: React.KeyboardEvent): void;
2237
2237
 
2238
+
2239
+
2238
2240
  }
2239
2241
 
2240
2242
  }
@@ -3979,6 +3981,22 @@ export const SpinButtonPropertyLine: FunctionComponent<SpinButtonProps & Propert
3979
3981
 
3980
3982
  }
3981
3983
  declare module "babylonjs-gui-editor/fluent/primitives/searchBox" {
3984
+ import { FunctionComponent } from "react";
3985
+ type SearchBoxProps = {
3986
+ items: string[];
3987
+ onItemSelected: (item: string) => void;
3988
+ title?: string;
3989
+ };
3990
+ /**
3991
+ * SearchBox component that displays a popup with search functionality
3992
+ * @param props - The component props
3993
+ * @returns The search box component
3994
+ */
3995
+ export const SearchBox: FunctionComponent<SearchBoxProps>;
3996
+ export {};
3997
+
3998
+ }
3999
+ declare module "babylonjs-gui-editor/fluent/primitives/searchBar" {
3982
4000
  type SearchProps = {
3983
4001
  onChange: (val: string) => void;
3984
4002
  placeholder?: string;
@@ -3986,6 +4004,23 @@ type SearchProps = {
3986
4004
 
3987
4005
  export {};
3988
4006
 
4007
+ }
4008
+ declare module "babylonjs-gui-editor/fluent/primitives/positionedPopover" {
4009
+ import { FunctionComponent, PropsWithChildren } from "react";
4010
+ type PositionedPopoverProps = {
4011
+ x: number;
4012
+ y: number;
4013
+ visible: boolean;
4014
+ hide: () => void;
4015
+ };
4016
+ /**
4017
+ * PositionedPopover component that shows a popover at specific coordinates
4018
+ * @param props - The component props
4019
+ * @returns The positioned popover component
4020
+ */
4021
+ export const PositionedPopover: FunctionComponent<PropsWithChildren<PositionedPopoverProps>>;
4022
+ export {};
4023
+
3989
4024
  }
3990
4025
  declare module "babylonjs-gui-editor/fluent/primitives/messageBar" {
3991
4026
  import { FunctionComponent } from "react";
@@ -4116,6 +4151,21 @@ export type DraggableLineProps = {
4116
4151
  };
4117
4152
  export const DraggableLine: React.FunctionComponent<DraggableLineProps>;
4118
4153
 
4154
+ }
4155
+ declare module "babylonjs-gui-editor/fluent/primitives/comboBox" {
4156
+ import { FunctionComponent } from "react";
4157
+ export type ComboBoxProps = {
4158
+ label: string;
4159
+ value: string[];
4160
+ onChange: (value: string) => void;
4161
+ };
4162
+ /**
4163
+ * Wrapper around a Fluent ComboBox that allows for filtering options
4164
+ * @param props
4165
+ * @returns
4166
+ */
4167
+ export const ComboBox: FunctionComponent<ComboBoxProps>;
4168
+
4119
4169
  }
4120
4170
  declare module "babylonjs-gui-editor/fluent/primitives/colorPicker" {
4121
4171
  import { FunctionComponent } from "react";
@@ -7574,7 +7624,9 @@ declare module BABYLON.GuiEditor.SharedUIComponents {
7574
7624
  onFilterChange(evt: React.ChangeEvent<HTMLInputElement>): void;
7575
7625
  onNewNodeRequested(name: string): void;
7576
7626
  onKeyDown(evt: React.KeyboardEvent): void;
7577
- render(): import("react/jsx-runtime").JSX.Element | null;
7627
+ renderFluent(): import("react/jsx-runtime").JSX.Element;
7628
+ renderOriginal(): import("react/jsx-runtime").JSX.Element | null;
7629
+ render(): import("react/jsx-runtime").JSX.Element;
7578
7630
  }
7579
7631
 
7580
7632
 
@@ -9466,6 +9518,26 @@ declare module BABYLON.GuiEditor.SharedUIComponents {
9466
9518
 
9467
9519
 
9468
9520
 
9521
+ }
9522
+ declare module BABYLON {
9523
+
9524
+
9525
+ }
9526
+ declare module BABYLON.GuiEditor.SharedUIComponents {
9527
+ type SearchBoxProps = {
9528
+ items: string[];
9529
+ onItemSelected: (item: string) => void;
9530
+ title?: string;
9531
+ };
9532
+ /**
9533
+ * SearchBox component that displays a popup with search functionality
9534
+ * @param props - The component props
9535
+ * @returns The search box component
9536
+ */
9537
+ export var SearchBox: React.FunctionComponent<SearchBoxProps>;
9538
+
9539
+
9540
+
9469
9541
  }
9470
9542
  declare module BABYLON {
9471
9543
 
@@ -9476,7 +9548,28 @@ declare module BABYLON.GuiEditor.SharedUIComponents {
9476
9548
  onChange: (val: string) => void;
9477
9549
  placeholder?: string;
9478
9550
  };
9479
- export const SearchBox: (props: SearchProps) => import("react/jsx-runtime").JSX.Element;
9551
+ export var SearchBar: import("react").ForwardRefExoticComponent<SearchProps & import("react").RefAttributes<HTMLInputElement>>;
9552
+
9553
+
9554
+
9555
+ }
9556
+ declare module BABYLON {
9557
+
9558
+
9559
+ }
9560
+ declare module BABYLON.GuiEditor.SharedUIComponents {
9561
+ type PositionedPopoverProps = {
9562
+ x: number;
9563
+ y: number;
9564
+ visible: boolean;
9565
+ hide: () => void;
9566
+ };
9567
+ /**
9568
+ * PositionedPopover component that shows a popover at specific coordinates
9569
+ * @param props - The component props
9570
+ * @returns The positioned popover component
9571
+ */
9572
+ export var PositionedPopover: React.FunctionComponent<React.PropsWithChildren<PositionedPopoverProps>>;
9480
9573
 
9481
9574
 
9482
9575
 
@@ -9637,6 +9730,26 @@ declare module BABYLON.GuiEditor.SharedUIComponents {
9637
9730
 
9638
9731
 
9639
9732
 
9733
+ }
9734
+ declare module BABYLON {
9735
+
9736
+
9737
+ }
9738
+ declare module BABYLON.GuiEditor.SharedUIComponents {
9739
+ export type ComboBoxProps = {
9740
+ label: string;
9741
+ value: string[];
9742
+ onChange: (value: string) => void;
9743
+ };
9744
+ /**
9745
+ * Wrapper around a Fluent ComboBox that allows for filtering options
9746
+ * @param props
9747
+ * @returns
9748
+ */
9749
+ export var ComboBox: React.FunctionComponent<ComboBoxProps>;
9750
+
9751
+
9752
+
9640
9753
  }
9641
9754
  declare module BABYLON {
9642
9755
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "babylonjs-gui-editor",
3
- "version": "8.17.1",
3
+ "version": "8.17.2",
4
4
  "main": "babylon.guiEditor.js",
5
5
  "types": "babylon.guiEditor.module.d.ts",
6
6
  "files": [
@@ -14,8 +14,8 @@
14
14
  "clean": "rimraf dist && rimraf babylon*.* -g"
15
15
  },
16
16
  "dependencies": {
17
- "babylonjs": "^8.17.1",
18
- "babylonjs-gui": "^8.17.1"
17
+ "babylonjs": "^8.17.2",
18
+ "babylonjs-gui": "^8.17.2"
19
19
  },
20
20
  "devDependencies": {
21
21
  "@dev/build-tools": "1.0.0",