@babylonjs/gui-editor 8.3.0 → 8.4.0

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.
@@ -1629,6 +1629,32 @@ export function getClassNameWithNamespace(obj: any): {
1629
1629
  babylonNamespace: string;
1630
1630
  };
1631
1631
 
1632
+ }
1633
+ declare module "@babylonjs/gui-editor/constToOptionsMaps" {
1634
+ /**
1635
+ * Used by both particleSystem and alphaBlendModes
1636
+ */
1637
+ export const commonBlendModes: {
1638
+ label: string;
1639
+ value: number;
1640
+ }[];
1641
+ /**
1642
+ * Used to populated the blendMode dropdown in our various tools (Node Editor, Inspector, etc.)
1643
+ * The below ParticleSystem consts were defined before new Engine alpha blend modes were added, so we have to reference
1644
+ * the ParticleSystem.FOO consts explicitly (as the underlying const values are different - they get mapped to engine consts within baseParticleSystem.ts)
1645
+ */
1646
+ export const blendModeOptions: {
1647
+ label: string;
1648
+ value: number;
1649
+ }[];
1650
+ /**
1651
+ * Used to populated the alphaMode dropdown in our various tools (Node Editor, Inspector, etc.)
1652
+ */
1653
+ export const alphaModeOptions: {
1654
+ label: string;
1655
+ value: number;
1656
+ }[];
1657
+
1632
1658
  }
1633
1659
  declare module "@babylonjs/gui-editor/tabs/propertyGrids/lockObject" {
1634
1660
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@babylonjs/gui-editor",
3
- "version": "8.3.0",
3
+ "version": "8.4.0",
4
4
  "main": "dist/babylon.guiEditor.max.js",
5
5
  "module": "dist/babylon.guiEditor.max.js",
6
6
  "esnext": "dist/babylon.guiEditor.max.js",
@@ -24,8 +24,8 @@
24
24
  "@types/react-dom": ">=16.0.9"
25
25
  },
26
26
  "devDependencies": {
27
- "@babylonjs/core": "^8.3.0",
28
- "@babylonjs/gui": "^8.3.0",
27
+ "@babylonjs/core": "^8.4.0",
28
+ "@babylonjs/gui": "^8.4.0",
29
29
  "react": "^18.2.0",
30
30
  "react-dom": "^18.2.0"
31
31
  },