babylonjs-node-particle-editor 8.46.1 → 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.
@@ -4361,8 +4361,8 @@ declare module BABYLON.NodeParticleEditor.SharedUIComponents {
4361
4361
  label: string;
4362
4362
  gradients: BABYLON.Nullable<Array<T>>;
4363
4363
  addGradient: (step?: T) => void;
4364
- removeGradient: (step: T) => void;
4365
- onChange: (newGradient: T) => void;
4364
+ removeGradient: (step: T, index: number) => void;
4365
+ onChange: (newGradient: T, index: number) => void;
4366
4366
  };
4367
4367
  export var FactorGradientList: React.FunctionComponent<GradientListProps<BABYLON.FactorGradient>>;
4368
4368
  export var Color3GradientList: React.FunctionComponent<GradientListProps<BABYLON.Color3Gradient>>;
@@ -3790,7 +3790,7 @@ export const MaterialSelector: FunctionComponent<MaterialSelectorProps>;
3790
3790
 
3791
3791
  }
3792
3792
  declare module "babylonjs-node-particle-editor/fluent/primitives/list" {
3793
- import { ReactNode, ReactElement } from "react";
3793
+ import { ReactElement, ReactNode } from "react";
3794
3794
  /**
3795
3795
  * Represents an item in a list
3796
3796
  */
@@ -4315,8 +4315,8 @@ type GradientListProps<T extends FactorGradient | Color3Gradient | Color4Gradien
4315
4315
  label: string;
4316
4316
  gradients: Nullable<Array<T>>;
4317
4317
  addGradient: (step?: T) => void;
4318
- removeGradient: (step: T) => void;
4319
- onChange: (newGradient: T) => void;
4318
+ removeGradient: (step: T, index: number) => void;
4319
+ onChange: (newGradient: T, index: number) => void;
4320
4320
  };
4321
4321
  export const FactorGradientList: FunctionComponent<GradientListProps<FactorGradient>>;
4322
4322
  export const Color3GradientList: FunctionComponent<GradientListProps<Color3Gradient>>;
@@ -10231,8 +10231,8 @@ declare module BABYLON.NodeParticleEditor.SharedUIComponents {
10231
10231
  label: string;
10232
10232
  gradients: BABYLON.Nullable<Array<T>>;
10233
10233
  addGradient: (step?: T) => void;
10234
- removeGradient: (step: T) => void;
10235
- onChange: (newGradient: T) => void;
10234
+ removeGradient: (step: T, index: number) => void;
10235
+ onChange: (newGradient: T, index: number) => void;
10236
10236
  };
10237
10237
  export var FactorGradientList: React.FunctionComponent<GradientListProps<BABYLON.FactorGradient>>;
10238
10238
  export var Color3GradientList: React.FunctionComponent<GradientListProps<BABYLON.Color3Gradient>>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "babylonjs-node-particle-editor",
3
- "version": "8.46.1",
3
+ "version": "8.46.2",
4
4
  "main": "babylon.nodeParticleEditor.js",
5
5
  "types": "babylon.nodeParticleEditor.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.1"
17
+ "babylonjs": "^8.46.2"
18
18
  },
19
19
  "devDependencies": {
20
20
  "@dev/build-tools": "1.0.0",