@babylonjs/gui-editor 8.17.1 → 8.18.0
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.
@@ -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";
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@babylonjs/gui-editor",
|
3
|
-
"version": "8.
|
3
|
+
"version": "8.18.0",
|
4
4
|
"main": "dist/babylon.guiEditor.js",
|
5
5
|
"module": "dist/babylon.guiEditor.js",
|
6
6
|
"esnext": "dist/babylon.guiEditor.js",
|
@@ -24,8 +24,8 @@
|
|
24
24
|
"@types/react-dom": ">=16.0.9"
|
25
25
|
},
|
26
26
|
"devDependencies": {
|
27
|
-
"@babylonjs/core": "^8.
|
28
|
-
"@babylonjs/gui": "^8.
|
27
|
+
"@babylonjs/core": "^8.18.0",
|
28
|
+
"@babylonjs/gui": "^8.18.0",
|
29
29
|
"react": "^18.2.0",
|
30
30
|
"react-dom": "^18.2.0"
|
31
31
|
},
|