@babylonjs/gui-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.
@@ -4310,7 +4310,7 @@ export const MaterialSelector: FunctionComponent<MaterialSelectorProps>;
4310
4310
 
4311
4311
  }
4312
4312
  declare module "@babylonjs/gui-editor/fluent/primitives/list" {
4313
- import { ReactNode, ReactElement } from "react";
4313
+ import { ReactElement, ReactNode } from "react";
4314
4314
  /**
4315
4315
  * Represents an item in a list
4316
4316
  */
@@ -4835,8 +4835,8 @@ type GradientListProps<T extends FactorGradient | Color3Gradient | Color4Gradien
4835
4835
  label: string;
4836
4836
  gradients: Nullable<Array<T>>;
4837
4837
  addGradient: (step?: T) => void;
4838
- removeGradient: (step: T) => void;
4839
- onChange: (newGradient: T) => void;
4838
+ removeGradient: (step: T, index: number) => void;
4839
+ onChange: (newGradient: T, index: number) => void;
4840
4840
  };
4841
4841
  export const FactorGradientList: FunctionComponent<GradientListProps<FactorGradient>>;
4842
4842
  export const Color3GradientList: FunctionComponent<GradientListProps<Color3Gradient>>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@babylonjs/gui-editor",
3
- "version": "8.46.0",
3
+ "version": "8.46.2",
4
4
  "main": "dist/babylon.guiEditor.js",
5
5
  "module": "dist/babylon.guiEditor.js",
6
6
  "esnext": "dist/babylon.guiEditor.js",
@@ -24,8 +24,8 @@
24
24
  "@types/react-dom": ">=16.0.9"
25
25
  },
26
26
  "devDependencies": {
27
- "@babylonjs/core": "^8.46.0",
28
- "@babylonjs/gui": "^8.46.0",
27
+ "@babylonjs/core": "^8.46.2",
28
+ "@babylonjs/gui": "^8.46.2",
29
29
  "@tools/gui-editor": "1.0.0",
30
30
  "react": "^18.2.0",
31
31
  "react-dom": "^18.2.0"