@babylonjs/node-geometry-editor 8.46.0 → 8.46.2
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.
|
@@ -3812,7 +3812,7 @@ export const MaterialSelector: FunctionComponent<MaterialSelectorProps>;
|
|
|
3812
3812
|
|
|
3813
3813
|
}
|
|
3814
3814
|
declare module "@babylonjs/node-geometry-editor/fluent/primitives/list" {
|
|
3815
|
-
import {
|
|
3815
|
+
import { ReactElement, ReactNode } from "react";
|
|
3816
3816
|
/**
|
|
3817
3817
|
* Represents an item in a list
|
|
3818
3818
|
*/
|
|
@@ -4337,8 +4337,8 @@ type GradientListProps<T extends FactorGradient | Color3Gradient | Color4Gradien
|
|
|
4337
4337
|
label: string;
|
|
4338
4338
|
gradients: Nullable<Array<T>>;
|
|
4339
4339
|
addGradient: (step?: T) => void;
|
|
4340
|
-
removeGradient: (step: T) => void;
|
|
4341
|
-
onChange: (newGradient: T) => void;
|
|
4340
|
+
removeGradient: (step: T, index: number) => void;
|
|
4341
|
+
onChange: (newGradient: T, index: number) => void;
|
|
4342
4342
|
};
|
|
4343
4343
|
export const FactorGradientList: FunctionComponent<GradientListProps<FactorGradient>>;
|
|
4344
4344
|
export const Color3GradientList: FunctionComponent<GradientListProps<Color3Gradient>>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@babylonjs/node-geometry-editor",
|
|
3
|
-
"version": "8.46.
|
|
3
|
+
"version": "8.46.2",
|
|
4
4
|
"main": "dist/babylon.nodeGeometryEditor.js",
|
|
5
5
|
"module": "dist/babylon.nodeGeometryEditor.js",
|
|
6
6
|
"esnext": "dist/babylon.nodeGeometryEditor.js",
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
"@types/react-dom": ">=16.0.9"
|
|
24
24
|
},
|
|
25
25
|
"devDependencies": {
|
|
26
|
-
"@babylonjs/core": "^8.46.
|
|
26
|
+
"@babylonjs/core": "^8.46.2",
|
|
27
27
|
"@tools/node-geometry-editor": "1.0.0",
|
|
28
28
|
"react": "^18.2.0",
|
|
29
29
|
"react-dom": "^18.2.0"
|