babylonjs-node-geometry-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.
|
@@ -3841,50 +3841,6 @@ declare namespace BABYLON.NodeGeometryEditor.SharedUIComponents {
|
|
|
3841
3841
|
|
|
3842
3842
|
|
|
3843
3843
|
|
|
3844
|
-
}
|
|
3845
|
-
declare namespace BABYLON.NodeGeometryEditor {
|
|
3846
|
-
|
|
3847
|
-
|
|
3848
|
-
}
|
|
3849
|
-
declare namespace BABYLON.NodeGeometryEditor.SharedUIComponents {
|
|
3850
|
-
export type GrowDirection = "end" | "start" | "up" | "down";
|
|
3851
|
-
export type UseResizeHandleParams = {
|
|
3852
|
-
/**
|
|
3853
|
-
* The direction in which the element is considered growing in size ('end', 'start', 'up', or 'down').
|
|
3854
|
-
*/
|
|
3855
|
-
growDirection: GrowDirection;
|
|
3856
|
-
/**
|
|
3857
|
-
* The name of the CSS variable that will be set on the wrapper element to reflect the current size of the element.
|
|
3858
|
-
*/
|
|
3859
|
-
variableName: string;
|
|
3860
|
-
/**
|
|
3861
|
-
* A callback that will be called when the element is resized.
|
|
3862
|
-
*
|
|
3863
|
-
* @remarks The passed function should be memoized for better performance.
|
|
3864
|
-
*/
|
|
3865
|
-
onChange?: (value: number) => void;
|
|
3866
|
-
/**
|
|
3867
|
-
* The minimum change allowed (e.g. the smallest negative number allowed).
|
|
3868
|
-
*/
|
|
3869
|
-
minValue?: number;
|
|
3870
|
-
/**
|
|
3871
|
-
* The maximum change allowed (e.g. the largest positive number allowed).
|
|
3872
|
-
*/
|
|
3873
|
-
maxValue?: number;
|
|
3874
|
-
};
|
|
3875
|
-
/**
|
|
3876
|
-
* A custom hook that helps with element resizing.
|
|
3877
|
-
* @param params The parameters for the resize handle.
|
|
3878
|
-
* @returns An object containing refs and a function to set the value.
|
|
3879
|
-
*/
|
|
3880
|
-
export function useResizeHandle(params: UseResizeHandleParams): {
|
|
3881
|
-
elementRef: import("react").Dispatch<import("react").SetStateAction<HTMLElement | null>>;
|
|
3882
|
-
handleRef: import("react").Dispatch<import("react").SetStateAction<HTMLElement | null>>;
|
|
3883
|
-
setValue: (value: number) => void;
|
|
3884
|
-
};
|
|
3885
|
-
|
|
3886
|
-
|
|
3887
|
-
|
|
3888
3844
|
}
|
|
3889
3845
|
declare namespace BABYLON.NodeGeometryEditor {
|
|
3890
3846
|
|
|
@@ -3949,44 +3949,6 @@ declare module "babylonjs-node-geometry-editor/modularTool/misc/assert" {
|
|
|
3949
3949
|
*/
|
|
3950
3950
|
export function Assert(value: unknown): asserts value;
|
|
3951
3951
|
|
|
3952
|
-
}
|
|
3953
|
-
declare module "babylonjs-node-geometry-editor/modularTool/hooks/useResizeHandle" {
|
|
3954
|
-
export type GrowDirection = "end" | "start" | "up" | "down";
|
|
3955
|
-
export type UseResizeHandleParams = {
|
|
3956
|
-
/**
|
|
3957
|
-
* The direction in which the element is considered growing in size ('end', 'start', 'up', or 'down').
|
|
3958
|
-
*/
|
|
3959
|
-
growDirection: GrowDirection;
|
|
3960
|
-
/**
|
|
3961
|
-
* The name of the CSS variable that will be set on the wrapper element to reflect the current size of the element.
|
|
3962
|
-
*/
|
|
3963
|
-
variableName: string;
|
|
3964
|
-
/**
|
|
3965
|
-
* A callback that will be called when the element is resized.
|
|
3966
|
-
*
|
|
3967
|
-
* @remarks The passed function should be memoized for better performance.
|
|
3968
|
-
*/
|
|
3969
|
-
onChange?: (value: number) => void;
|
|
3970
|
-
/**
|
|
3971
|
-
* The minimum change allowed (e.g. the smallest negative number allowed).
|
|
3972
|
-
*/
|
|
3973
|
-
minValue?: number;
|
|
3974
|
-
/**
|
|
3975
|
-
* The maximum change allowed (e.g. the largest positive number allowed).
|
|
3976
|
-
*/
|
|
3977
|
-
maxValue?: number;
|
|
3978
|
-
};
|
|
3979
|
-
/**
|
|
3980
|
-
* A custom hook that helps with element resizing.
|
|
3981
|
-
* @param params The parameters for the resize handle.
|
|
3982
|
-
* @returns An object containing refs and a function to set the value.
|
|
3983
|
-
*/
|
|
3984
|
-
export function useResizeHandle(params: UseResizeHandleParams): {
|
|
3985
|
-
elementRef: import("react").Dispatch<import("react").SetStateAction<HTMLElement | null>>;
|
|
3986
|
-
handleRef: import("react").Dispatch<import("react").SetStateAction<HTMLElement | null>>;
|
|
3987
|
-
setValue: (value: number) => void;
|
|
3988
|
-
};
|
|
3989
|
-
|
|
3990
3952
|
}
|
|
3991
3953
|
declare module "babylonjs-node-geometry-editor/modularTool/hooks/themeHooks" {
|
|
3992
3954
|
import { ThemeMode } from "babylonjs-node-geometry-editor/modularTool/services/themeService";
|
|
@@ -12233,50 +12195,6 @@ declare namespace BABYLON.NodeGeometryEditor.SharedUIComponents {
|
|
|
12233
12195
|
|
|
12234
12196
|
|
|
12235
12197
|
|
|
12236
|
-
}
|
|
12237
|
-
declare namespace BABYLON.NodeGeometryEditor {
|
|
12238
|
-
|
|
12239
|
-
|
|
12240
|
-
}
|
|
12241
|
-
declare namespace BABYLON.NodeGeometryEditor.SharedUIComponents {
|
|
12242
|
-
export type GrowDirection = "end" | "start" | "up" | "down";
|
|
12243
|
-
export type UseResizeHandleParams = {
|
|
12244
|
-
/**
|
|
12245
|
-
* The direction in which the element is considered growing in size ('end', 'start', 'up', or 'down').
|
|
12246
|
-
*/
|
|
12247
|
-
growDirection: GrowDirection;
|
|
12248
|
-
/**
|
|
12249
|
-
* The name of the CSS variable that will be set on the wrapper element to reflect the current size of the element.
|
|
12250
|
-
*/
|
|
12251
|
-
variableName: string;
|
|
12252
|
-
/**
|
|
12253
|
-
* A callback that will be called when the element is resized.
|
|
12254
|
-
*
|
|
12255
|
-
* @remarks The passed function should be memoized for better performance.
|
|
12256
|
-
*/
|
|
12257
|
-
onChange?: (value: number) => void;
|
|
12258
|
-
/**
|
|
12259
|
-
* The minimum change allowed (e.g. the smallest negative number allowed).
|
|
12260
|
-
*/
|
|
12261
|
-
minValue?: number;
|
|
12262
|
-
/**
|
|
12263
|
-
* The maximum change allowed (e.g. the largest positive number allowed).
|
|
12264
|
-
*/
|
|
12265
|
-
maxValue?: number;
|
|
12266
|
-
};
|
|
12267
|
-
/**
|
|
12268
|
-
* A custom hook that helps with element resizing.
|
|
12269
|
-
* @param params The parameters for the resize handle.
|
|
12270
|
-
* @returns An object containing refs and a function to set the value.
|
|
12271
|
-
*/
|
|
12272
|
-
export function useResizeHandle(params: UseResizeHandleParams): {
|
|
12273
|
-
elementRef: import("react").Dispatch<import("react").SetStateAction<HTMLElement | null>>;
|
|
12274
|
-
handleRef: import("react").Dispatch<import("react").SetStateAction<HTMLElement | null>>;
|
|
12275
|
-
setValue: (value: number) => void;
|
|
12276
|
-
};
|
|
12277
|
-
|
|
12278
|
-
|
|
12279
|
-
|
|
12280
12198
|
}
|
|
12281
12199
|
declare namespace BABYLON.NodeGeometryEditor {
|
|
12282
12200
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "babylonjs-node-geometry-editor",
|
|
3
|
-
"version": "9.3.
|
|
3
|
+
"version": "9.3.4",
|
|
4
4
|
"main": "babylon.nodeGeometryEditor.js",
|
|
5
5
|
"types": "babylon.nodeGeometryEditor.module.d.ts",
|
|
6
6
|
"files": [
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
"clean": "rimraf dist && rimraf babylon*.* -g"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"babylonjs": "9.3.
|
|
17
|
+
"babylonjs": "9.3.4"
|
|
18
18
|
},
|
|
19
19
|
"devDependencies": {
|
|
20
20
|
"@dev/build-tools": "1.0.0",
|