@babylonjs/gui-editor 9.3.2 → 9.3.4

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.
@@ -4445,44 +4445,6 @@ declare module "@babylonjs/gui-editor/modularTool/misc/assert" {
4445
4445
  */
4446
4446
  export function Assert(value: unknown): asserts value;
4447
4447
 
4448
- }
4449
- declare module "@babylonjs/gui-editor/modularTool/hooks/useResizeHandle" {
4450
- export type GrowDirection = "end" | "start" | "up" | "down";
4451
- export type UseResizeHandleParams = {
4452
- /**
4453
- * The direction in which the element is considered growing in size ('end', 'start', 'up', or 'down').
4454
- */
4455
- growDirection: GrowDirection;
4456
- /**
4457
- * The name of the CSS variable that will be set on the wrapper element to reflect the current size of the element.
4458
- */
4459
- variableName: string;
4460
- /**
4461
- * A callback that will be called when the element is resized.
4462
- *
4463
- * @remarks The passed function should be memoized for better performance.
4464
- */
4465
- onChange?: (value: number) => void;
4466
- /**
4467
- * The minimum change allowed (e.g. the smallest negative number allowed).
4468
- */
4469
- minValue?: number;
4470
- /**
4471
- * The maximum change allowed (e.g. the largest positive number allowed).
4472
- */
4473
- maxValue?: number;
4474
- };
4475
- /**
4476
- * A custom hook that helps with element resizing.
4477
- * @param params The parameters for the resize handle.
4478
- * @returns An object containing refs and a function to set the value.
4479
- */
4480
- export function useResizeHandle(params: UseResizeHandleParams): {
4481
- elementRef: import("react").Dispatch<import("react").SetStateAction<HTMLElement | null>>;
4482
- handleRef: import("react").Dispatch<import("react").SetStateAction<HTMLElement | null>>;
4483
- setValue: (value: number) => void;
4484
- };
4485
-
4486
4448
  }
4487
4449
  declare module "@babylonjs/gui-editor/modularTool/hooks/themeHooks" {
4488
4450
  import { ThemeMode } from "@babylonjs/gui-editor/modularTool/services/themeService";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@babylonjs/gui-editor",
3
- "version": "9.3.2",
3
+ "version": "9.3.4",
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": "9.3.2",
28
- "@babylonjs/gui": "9.3.2",
27
+ "@babylonjs/core": "9.3.4",
28
+ "@babylonjs/gui": "9.3.4",
29
29
  "@tools/gui-editor": "1.0.0",
30
30
  "react": "^18.2.0",
31
31
  "react-dom": "^18.2.0"