babylonjs-gui-editor 9.3.3 → 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.
@@ -4306,50 +4306,6 @@ declare namespace BABYLON.GuiEditor.SharedUIComponents {
4306
4306
 
4307
4307
 
4308
4308
 
4309
- }
4310
- declare namespace BABYLON {
4311
-
4312
-
4313
- }
4314
- declare namespace BABYLON.GuiEditor.SharedUIComponents {
4315
- export type GrowDirection = "end" | "start" | "up" | "down";
4316
- export type UseResizeHandleParams = {
4317
- /**
4318
- * The direction in which the element is considered growing in size ('end', 'start', 'up', or 'down').
4319
- */
4320
- growDirection: GrowDirection;
4321
- /**
4322
- * The name of the CSS variable that will be set on the wrapper element to reflect the current size of the element.
4323
- */
4324
- variableName: string;
4325
- /**
4326
- * A callback that will be called when the element is resized.
4327
- *
4328
- * @remarks The passed function should be memoized for better performance.
4329
- */
4330
- onChange?: (value: number) => void;
4331
- /**
4332
- * The minimum change allowed (e.g. the smallest negative number allowed).
4333
- */
4334
- minValue?: number;
4335
- /**
4336
- * The maximum change allowed (e.g. the largest positive number allowed).
4337
- */
4338
- maxValue?: number;
4339
- };
4340
- /**
4341
- * A custom hook that helps with element resizing.
4342
- * @param params The parameters for the resize handle.
4343
- * @returns An object containing refs and a function to set the value.
4344
- */
4345
- export function useResizeHandle(params: UseResizeHandleParams): {
4346
- elementRef: import("react").Dispatch<import("react").SetStateAction<HTMLElement | null>>;
4347
- handleRef: import("react").Dispatch<import("react").SetStateAction<HTMLElement | null>>;
4348
- setValue: (value: number) => void;
4349
- };
4350
-
4351
-
4352
-
4353
4309
  }
4354
4310
  declare namespace BABYLON {
4355
4311
 
@@ -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";
@@ -13194,50 +13156,6 @@ declare namespace BABYLON.GuiEditor.SharedUIComponents {
13194
13156
 
13195
13157
 
13196
13158
 
13197
- }
13198
- declare namespace BABYLON {
13199
-
13200
-
13201
- }
13202
- declare namespace BABYLON.GuiEditor.SharedUIComponents {
13203
- export type GrowDirection = "end" | "start" | "up" | "down";
13204
- export type UseResizeHandleParams = {
13205
- /**
13206
- * The direction in which the element is considered growing in size ('end', 'start', 'up', or 'down').
13207
- */
13208
- growDirection: GrowDirection;
13209
- /**
13210
- * The name of the CSS variable that will be set on the wrapper element to reflect the current size of the element.
13211
- */
13212
- variableName: string;
13213
- /**
13214
- * A callback that will be called when the element is resized.
13215
- *
13216
- * @remarks The passed function should be memoized for better performance.
13217
- */
13218
- onChange?: (value: number) => void;
13219
- /**
13220
- * The minimum change allowed (e.g. the smallest negative number allowed).
13221
- */
13222
- minValue?: number;
13223
- /**
13224
- * The maximum change allowed (e.g. the largest positive number allowed).
13225
- */
13226
- maxValue?: number;
13227
- };
13228
- /**
13229
- * A custom hook that helps with element resizing.
13230
- * @param params The parameters for the resize handle.
13231
- * @returns An object containing refs and a function to set the value.
13232
- */
13233
- export function useResizeHandle(params: UseResizeHandleParams): {
13234
- elementRef: import("react").Dispatch<import("react").SetStateAction<HTMLElement | null>>;
13235
- handleRef: import("react").Dispatch<import("react").SetStateAction<HTMLElement | null>>;
13236
- setValue: (value: number) => void;
13237
- };
13238
-
13239
-
13240
-
13241
13159
  }
13242
13160
  declare namespace BABYLON {
13243
13161
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "babylonjs-gui-editor",
3
- "version": "9.3.3",
3
+ "version": "9.3.4",
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": "9.3.3",
18
- "babylonjs-gui": "9.3.3"
17
+ "babylonjs": "9.3.4",
18
+ "babylonjs-gui": "9.3.4"
19
19
  },
20
20
  "devDependencies": {
21
21
  "@dev/build-tools": "1.0.0",