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.
@@ -4355,8 +4355,8 @@ declare module BABYLON.NodeGeometryEditor.SharedUIComponents {
4355
4355
  label: string;
4356
4356
  gradients: BABYLON.Nullable<Array<T>>;
4357
4357
  addGradient: (step?: T) => void;
4358
- removeGradient: (step: T) => void;
4359
- onChange: (newGradient: T) => void;
4358
+ removeGradient: (step: T, index: number) => void;
4359
+ onChange: (newGradient: T, index: number) => void;
4360
4360
  };
4361
4361
  export var FactorGradientList: React.FunctionComponent<GradientListProps<BABYLON.FactorGradient>>;
4362
4362
  export var Color3GradientList: React.FunctionComponent<GradientListProps<BABYLON.Color3Gradient>>;
@@ -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 { ReactNode, ReactElement } from "react";
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>>;
@@ -10247,8 +10247,8 @@ declare module BABYLON.NodeGeometryEditor.SharedUIComponents {
10247
10247
  label: string;
10248
10248
  gradients: BABYLON.Nullable<Array<T>>;
10249
10249
  addGradient: (step?: T) => void;
10250
- removeGradient: (step: T) => void;
10251
- onChange: (newGradient: T) => void;
10250
+ removeGradient: (step: T, index: number) => void;
10251
+ onChange: (newGradient: T, index: number) => void;
10252
10252
  };
10253
10253
  export var FactorGradientList: React.FunctionComponent<GradientListProps<BABYLON.FactorGradient>>;
10254
10254
  export var Color3GradientList: React.FunctionComponent<GradientListProps<BABYLON.Color3Gradient>>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "babylonjs-node-geometry-editor",
3
- "version": "8.46.0",
3
+ "version": "8.46.2",
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": "^8.46.0"
17
+ "babylonjs": "^8.46.2"
18
18
  },
19
19
  "devDependencies": {
20
20
  "@dev/build-tools": "1.0.0",