babylonjs-node-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.
package/babylon.nodeEditor.d.ts
CHANGED
|
@@ -4106,50 +4106,6 @@ declare namespace BABYLON.NodeEditor.SharedUIComponents {
|
|
|
4106
4106
|
|
|
4107
4107
|
|
|
4108
4108
|
|
|
4109
|
-
}
|
|
4110
|
-
declare namespace BABYLON.NodeEditor {
|
|
4111
|
-
|
|
4112
|
-
|
|
4113
|
-
}
|
|
4114
|
-
declare namespace BABYLON.NodeEditor.SharedUIComponents {
|
|
4115
|
-
export type GrowDirection = "end" | "start" | "up" | "down";
|
|
4116
|
-
export type UseResizeHandleParams = {
|
|
4117
|
-
/**
|
|
4118
|
-
* The direction in which the element is considered growing in size ('end', 'start', 'up', or 'down').
|
|
4119
|
-
*/
|
|
4120
|
-
growDirection: GrowDirection;
|
|
4121
|
-
/**
|
|
4122
|
-
* The name of the CSS variable that will be set on the wrapper element to reflect the current size of the element.
|
|
4123
|
-
*/
|
|
4124
|
-
variableName: string;
|
|
4125
|
-
/**
|
|
4126
|
-
* A callback that will be called when the element is resized.
|
|
4127
|
-
*
|
|
4128
|
-
* @remarks The passed function should be memoized for better performance.
|
|
4129
|
-
*/
|
|
4130
|
-
onChange?: (value: number) => void;
|
|
4131
|
-
/**
|
|
4132
|
-
* The minimum change allowed (e.g. the smallest negative number allowed).
|
|
4133
|
-
*/
|
|
4134
|
-
minValue?: number;
|
|
4135
|
-
/**
|
|
4136
|
-
* The maximum change allowed (e.g. the largest positive number allowed).
|
|
4137
|
-
*/
|
|
4138
|
-
maxValue?: number;
|
|
4139
|
-
};
|
|
4140
|
-
/**
|
|
4141
|
-
* A custom hook that helps with element resizing.
|
|
4142
|
-
* @param params The parameters for the resize handle.
|
|
4143
|
-
* @returns An object containing refs and a function to set the value.
|
|
4144
|
-
*/
|
|
4145
|
-
export function useResizeHandle(params: UseResizeHandleParams): {
|
|
4146
|
-
elementRef: import("react").Dispatch<import("react").SetStateAction<HTMLElement | null>>;
|
|
4147
|
-
handleRef: import("react").Dispatch<import("react").SetStateAction<HTMLElement | null>>;
|
|
4148
|
-
setValue: (value: number) => void;
|
|
4149
|
-
};
|
|
4150
|
-
|
|
4151
|
-
|
|
4152
|
-
|
|
4153
4109
|
}
|
|
4154
4110
|
declare namespace BABYLON.NodeEditor {
|
|
4155
4111
|
|
|
@@ -4321,44 +4321,6 @@ declare module "babylonjs-node-editor/modularTool/misc/assert" {
|
|
|
4321
4321
|
*/
|
|
4322
4322
|
export function Assert(value: unknown): asserts value;
|
|
4323
4323
|
|
|
4324
|
-
}
|
|
4325
|
-
declare module "babylonjs-node-editor/modularTool/hooks/useResizeHandle" {
|
|
4326
|
-
export type GrowDirection = "end" | "start" | "up" | "down";
|
|
4327
|
-
export type UseResizeHandleParams = {
|
|
4328
|
-
/**
|
|
4329
|
-
* The direction in which the element is considered growing in size ('end', 'start', 'up', or 'down').
|
|
4330
|
-
*/
|
|
4331
|
-
growDirection: GrowDirection;
|
|
4332
|
-
/**
|
|
4333
|
-
* The name of the CSS variable that will be set on the wrapper element to reflect the current size of the element.
|
|
4334
|
-
*/
|
|
4335
|
-
variableName: string;
|
|
4336
|
-
/**
|
|
4337
|
-
* A callback that will be called when the element is resized.
|
|
4338
|
-
*
|
|
4339
|
-
* @remarks The passed function should be memoized for better performance.
|
|
4340
|
-
*/
|
|
4341
|
-
onChange?: (value: number) => void;
|
|
4342
|
-
/**
|
|
4343
|
-
* The minimum change allowed (e.g. the smallest negative number allowed).
|
|
4344
|
-
*/
|
|
4345
|
-
minValue?: number;
|
|
4346
|
-
/**
|
|
4347
|
-
* The maximum change allowed (e.g. the largest positive number allowed).
|
|
4348
|
-
*/
|
|
4349
|
-
maxValue?: number;
|
|
4350
|
-
};
|
|
4351
|
-
/**
|
|
4352
|
-
* A custom hook that helps with element resizing.
|
|
4353
|
-
* @param params The parameters for the resize handle.
|
|
4354
|
-
* @returns An object containing refs and a function to set the value.
|
|
4355
|
-
*/
|
|
4356
|
-
export function useResizeHandle(params: UseResizeHandleParams): {
|
|
4357
|
-
elementRef: import("react").Dispatch<import("react").SetStateAction<HTMLElement | null>>;
|
|
4358
|
-
handleRef: import("react").Dispatch<import("react").SetStateAction<HTMLElement | null>>;
|
|
4359
|
-
setValue: (value: number) => void;
|
|
4360
|
-
};
|
|
4361
|
-
|
|
4362
4324
|
}
|
|
4363
4325
|
declare module "babylonjs-node-editor/modularTool/hooks/themeHooks" {
|
|
4364
4326
|
import { ThemeMode } from "babylonjs-node-editor/modularTool/services/themeService";
|
|
@@ -12870,50 +12832,6 @@ declare namespace BABYLON.NodeEditor.SharedUIComponents {
|
|
|
12870
12832
|
|
|
12871
12833
|
|
|
12872
12834
|
|
|
12873
|
-
}
|
|
12874
|
-
declare namespace BABYLON.NodeEditor {
|
|
12875
|
-
|
|
12876
|
-
|
|
12877
|
-
}
|
|
12878
|
-
declare namespace BABYLON.NodeEditor.SharedUIComponents {
|
|
12879
|
-
export type GrowDirection = "end" | "start" | "up" | "down";
|
|
12880
|
-
export type UseResizeHandleParams = {
|
|
12881
|
-
/**
|
|
12882
|
-
* The direction in which the element is considered growing in size ('end', 'start', 'up', or 'down').
|
|
12883
|
-
*/
|
|
12884
|
-
growDirection: GrowDirection;
|
|
12885
|
-
/**
|
|
12886
|
-
* The name of the CSS variable that will be set on the wrapper element to reflect the current size of the element.
|
|
12887
|
-
*/
|
|
12888
|
-
variableName: string;
|
|
12889
|
-
/**
|
|
12890
|
-
* A callback that will be called when the element is resized.
|
|
12891
|
-
*
|
|
12892
|
-
* @remarks The passed function should be memoized for better performance.
|
|
12893
|
-
*/
|
|
12894
|
-
onChange?: (value: number) => void;
|
|
12895
|
-
/**
|
|
12896
|
-
* The minimum change allowed (e.g. the smallest negative number allowed).
|
|
12897
|
-
*/
|
|
12898
|
-
minValue?: number;
|
|
12899
|
-
/**
|
|
12900
|
-
* The maximum change allowed (e.g. the largest positive number allowed).
|
|
12901
|
-
*/
|
|
12902
|
-
maxValue?: number;
|
|
12903
|
-
};
|
|
12904
|
-
/**
|
|
12905
|
-
* A custom hook that helps with element resizing.
|
|
12906
|
-
* @param params The parameters for the resize handle.
|
|
12907
|
-
* @returns An object containing refs and a function to set the value.
|
|
12908
|
-
*/
|
|
12909
|
-
export function useResizeHandle(params: UseResizeHandleParams): {
|
|
12910
|
-
elementRef: import("react").Dispatch<import("react").SetStateAction<HTMLElement | null>>;
|
|
12911
|
-
handleRef: import("react").Dispatch<import("react").SetStateAction<HTMLElement | null>>;
|
|
12912
|
-
setValue: (value: number) => void;
|
|
12913
|
-
};
|
|
12914
|
-
|
|
12915
|
-
|
|
12916
|
-
|
|
12917
12835
|
}
|
|
12918
12836
|
declare namespace BABYLON.NodeEditor {
|
|
12919
12837
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "babylonjs-node-editor",
|
|
3
|
-
"version": "9.3.
|
|
3
|
+
"version": "9.3.4",
|
|
4
4
|
"main": "babylon.nodeEditor.js",
|
|
5
5
|
"types": "babylon.nodeEditor.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",
|