babylonjs-gui-editor 8.55.3 → 8.55.4

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.
@@ -4558,7 +4558,7 @@ declare module BABYLON.GuiEditor.SharedUIComponents {
4558
4558
  /**
4559
4559
  * Optional default value that enables clearing the current linked entity
4560
4560
  */
4561
- defaultValue?: T;
4561
+ defaultValue?: Nullable<T>;
4562
4562
  };
4563
4563
  /**
4564
4564
  * A generic primitive component with a ComboBox for selecting from a list of entities.
@@ -4854,6 +4854,31 @@ declare module BABYLON.GuiEditor.SharedUIComponents {
4854
4854
 
4855
4855
 
4856
4856
 
4857
+ }
4858
+ declare module BABYLON {
4859
+
4860
+
4861
+ }
4862
+ declare module BABYLON.GuiEditor.SharedUIComponents {
4863
+ export type ClusteredLightContainerSelectorProps = BABYLON.GuiEditor.SharedUIComponents.PrimitiveProps<Nullable<ClusteredLightContainer>> & {
4864
+ /**
4865
+ * The scene to get clustered light containers from
4866
+ */
4867
+ scene: Scene;
4868
+ /**
4869
+ * Optional filter function to filter which clustered light containers are shown
4870
+ */
4871
+ filter?: (container: ClusteredLightContainer) => boolean;
4872
+ } & Omit<BABYLON.GuiEditor.SharedUIComponents.EntitySelectorProps<ClusteredLightContainer>, "getEntities" | "getName">;
4873
+ /**
4874
+ * A primitive component with a ComboBox for selecting from existing scene clustered light containers.
4875
+ * @param props ClusteredLightContainerSelectorProps
4876
+ * @returns ClusteredLightContainerSelector component
4877
+ */
4878
+ export var ClusteredLightContainerSelector: React.FunctionComponent<ClusteredLightContainerSelectorProps>;
4879
+
4880
+
4881
+
4857
4882
  }
4858
4883
  declare module BABYLON {
4859
4884
 
@@ -5679,10 +5704,12 @@ declare module BABYLON.GuiEditor.SharedUIComponents {
5679
5704
  type MaterialSelectorPropertyLineProps = BABYLON.GuiEditor.SharedUIComponents.PropertyLineProps<Nullable<Material>> & BABYLON.GuiEditor.SharedUIComponents.MaterialSelectorProps;
5680
5705
  type TextureSelectorPropertyLineProps = BABYLON.GuiEditor.SharedUIComponents.PropertyLineProps<Nullable<BaseTexture>> & BABYLON.GuiEditor.SharedUIComponents.TextureSelectorProps;
5681
5706
  type SkeletonSelectorPropertyLineProps = BABYLON.GuiEditor.SharedUIComponents.PropertyLineProps<Nullable<Skeleton>> & BABYLON.GuiEditor.SharedUIComponents.SkeletonSelectorProps;
5707
+ type ClusteredLightContainerSelectorPropertyLineProps = BABYLON.GuiEditor.SharedUIComponents.PropertyLineProps<Nullable<ClusteredLightContainer>> & BABYLON.GuiEditor.SharedUIComponents.ClusteredLightContainerSelectorProps;
5682
5708
  export const NodeSelectorPropertyLine: (props: NodeSelectorPropertyLineProps) => import("react/jsx-runtime").JSX.Element;
5683
5709
  export const MaterialSelectorPropertyLine: (props: MaterialSelectorPropertyLineProps) => import("react/jsx-runtime").JSX.Element;
5684
5710
  export const TextureSelectorPropertyLine: (props: TextureSelectorPropertyLineProps) => import("react/jsx-runtime").JSX.Element;
5685
5711
  export const SkeletonSelectorPropertyLine: (props: SkeletonSelectorPropertyLineProps) => import("react/jsx-runtime").JSX.Element;
5712
+ export const ClusteredLightContainerSelectorPropertyLine: (props: ClusteredLightContainerSelectorPropertyLineProps) => import("react/jsx-runtime").JSX.Element;
5686
5713
 
5687
5714
 
5688
5715
 
@@ -4602,7 +4602,7 @@ export type EntitySelectorProps<T extends Entity> = (PrimitiveProps<Nullable<T>>
4602
4602
  /**
4603
4603
  * Optional default value that enables clearing the current linked entity
4604
4604
  */
4605
- defaultValue?: T;
4605
+ defaultValue?: Nullable<T>;
4606
4606
  };
4607
4607
  /**
4608
4608
  * A generic primitive component with a ComboBox for selecting from a list of entities.
@@ -4875,6 +4875,31 @@ type CollapseProps = {
4875
4875
  export const Collapse: FunctionComponent<PropsWithChildren<CollapseProps>>;
4876
4876
  export {};
4877
4877
 
4878
+ }
4879
+ declare module "babylonjs-gui-editor/fluent/primitives/clusteredLightContainerSelector" {
4880
+ import { FunctionComponent } from "react";
4881
+ import { Scene } from "babylonjs/scene";
4882
+ import { Nullable } from "babylonjs/types";
4883
+ import { PrimitiveProps } from "babylonjs-gui-editor/fluent/primitives/primitive";
4884
+ import { EntitySelectorProps } from "babylonjs-gui-editor/fluent/primitives/entitySelector";
4885
+ import { ClusteredLightContainer } from "babylonjs/Lights/Clustered/clusteredLightContainer";
4886
+ export type ClusteredLightContainerSelectorProps = PrimitiveProps<Nullable<ClusteredLightContainer>> & {
4887
+ /**
4888
+ * The scene to get clustered light containers from
4889
+ */
4890
+ scene: Scene;
4891
+ /**
4892
+ * Optional filter function to filter which clustered light containers are shown
4893
+ */
4894
+ filter?: (container: ClusteredLightContainer) => boolean;
4895
+ } & Omit<EntitySelectorProps<ClusteredLightContainer>, "getEntities" | "getName">;
4896
+ /**
4897
+ * A primitive component with a ComboBox for selecting from existing scene clustered light containers.
4898
+ * @param props ClusteredLightContainerSelectorProps
4899
+ * @returns ClusteredLightContainerSelector component
4900
+ */
4901
+ export const ClusteredLightContainerSelector: FunctionComponent<ClusteredLightContainerSelectorProps>;
4902
+
4878
4903
  }
4879
4904
  declare module "babylonjs-gui-editor/fluent/primitives/checkbox" {
4880
4905
  import { FunctionComponent } from "react";
@@ -5609,24 +5634,28 @@ export const HexPropertyLine: FunctionComponent<HexPropertyLineProps>;
5609
5634
 
5610
5635
  }
5611
5636
  declare module "babylonjs-gui-editor/fluent/hoc/propertyLines/entitySelectorPropertyLine" {
5637
+ import { Skeleton } from "babylonjs/Bones/skeleton";
5638
+ import { ClusteredLightContainer } from "babylonjs/Lights/Clustered/clusteredLightContainer";
5639
+ import { Material } from "babylonjs/Materials/material";
5640
+ import { BaseTexture } from "babylonjs/Materials/Textures/baseTexture";
5612
5641
  import { Node } from "babylonjs/node";
5613
5642
  import { Nullable } from "babylonjs/types";
5614
- import { PropertyLineProps } from "babylonjs-gui-editor/fluent/hoc/propertyLines/propertyLine";
5615
- import { NodeSelectorProps } from "babylonjs-gui-editor/fluent/primitives/nodeSelector";
5643
+ import { ClusteredLightContainerSelectorProps } from "babylonjs-gui-editor/fluent/primitives/clusteredLightContainerSelector";
5616
5644
  import { MaterialSelectorProps } from "babylonjs-gui-editor/fluent/primitives/materialSelector";
5617
- import { TextureSelectorProps } from "babylonjs-gui-editor/fluent/primitives/textureSelector";
5645
+ import { NodeSelectorProps } from "babylonjs-gui-editor/fluent/primitives/nodeSelector";
5618
5646
  import { SkeletonSelectorProps } from "babylonjs-gui-editor/fluent/primitives/skeletonSelector";
5619
- import { Material } from "babylonjs/Materials/material";
5620
- import { BaseTexture } from "babylonjs/Materials/Textures/baseTexture";
5621
- import { Skeleton } from "babylonjs/Bones/skeleton";
5647
+ import { TextureSelectorProps } from "babylonjs-gui-editor/fluent/primitives/textureSelector";
5648
+ import { PropertyLineProps } from "babylonjs-gui-editor/fluent/hoc/propertyLines/propertyLine";
5622
5649
  type NodeSelectorPropertyLineProps = PropertyLineProps<Nullable<Node>> & NodeSelectorProps;
5623
5650
  type MaterialSelectorPropertyLineProps = PropertyLineProps<Nullable<Material>> & MaterialSelectorProps;
5624
5651
  type TextureSelectorPropertyLineProps = PropertyLineProps<Nullable<BaseTexture>> & TextureSelectorProps;
5625
5652
  type SkeletonSelectorPropertyLineProps = PropertyLineProps<Nullable<Skeleton>> & SkeletonSelectorProps;
5653
+ type ClusteredLightContainerSelectorPropertyLineProps = PropertyLineProps<Nullable<ClusteredLightContainer>> & ClusteredLightContainerSelectorProps;
5626
5654
  export const NodeSelectorPropertyLine: (props: NodeSelectorPropertyLineProps) => import("react/jsx-runtime").JSX.Element;
5627
5655
  export const MaterialSelectorPropertyLine: (props: MaterialSelectorPropertyLineProps) => import("react/jsx-runtime").JSX.Element;
5628
5656
  export const TextureSelectorPropertyLine: (props: TextureSelectorPropertyLineProps) => import("react/jsx-runtime").JSX.Element;
5629
5657
  export const SkeletonSelectorPropertyLine: (props: SkeletonSelectorPropertyLineProps) => import("react/jsx-runtime").JSX.Element;
5658
+ export const ClusteredLightContainerSelectorPropertyLine: (props: ClusteredLightContainerSelectorPropertyLineProps) => import("react/jsx-runtime").JSX.Element;
5630
5659
  export {};
5631
5660
 
5632
5661
  }
@@ -11327,7 +11356,7 @@ declare module BABYLON.GuiEditor.SharedUIComponents {
11327
11356
  /**
11328
11357
  * Optional default value that enables clearing the current linked entity
11329
11358
  */
11330
- defaultValue?: T;
11359
+ defaultValue?: Nullable<T>;
11331
11360
  };
11332
11361
  /**
11333
11362
  * A generic primitive component with a ComboBox for selecting from a list of entities.
@@ -11623,6 +11652,31 @@ declare module BABYLON.GuiEditor.SharedUIComponents {
11623
11652
 
11624
11653
 
11625
11654
 
11655
+ }
11656
+ declare module BABYLON {
11657
+
11658
+
11659
+ }
11660
+ declare module BABYLON.GuiEditor.SharedUIComponents {
11661
+ export type ClusteredLightContainerSelectorProps = BABYLON.GuiEditor.SharedUIComponents.PrimitiveProps<Nullable<ClusteredLightContainer>> & {
11662
+ /**
11663
+ * The scene to get clustered light containers from
11664
+ */
11665
+ scene: Scene;
11666
+ /**
11667
+ * Optional filter function to filter which clustered light containers are shown
11668
+ */
11669
+ filter?: (container: ClusteredLightContainer) => boolean;
11670
+ } & Omit<BABYLON.GuiEditor.SharedUIComponents.EntitySelectorProps<ClusteredLightContainer>, "getEntities" | "getName">;
11671
+ /**
11672
+ * A primitive component with a ComboBox for selecting from existing scene clustered light containers.
11673
+ * @param props ClusteredLightContainerSelectorProps
11674
+ * @returns ClusteredLightContainerSelector component
11675
+ */
11676
+ export var ClusteredLightContainerSelector: React.FunctionComponent<ClusteredLightContainerSelectorProps>;
11677
+
11678
+
11679
+
11626
11680
  }
11627
11681
  declare module BABYLON {
11628
11682
 
@@ -12448,10 +12502,12 @@ declare module BABYLON.GuiEditor.SharedUIComponents {
12448
12502
  type MaterialSelectorPropertyLineProps = BABYLON.GuiEditor.SharedUIComponents.PropertyLineProps<Nullable<Material>> & BABYLON.GuiEditor.SharedUIComponents.MaterialSelectorProps;
12449
12503
  type TextureSelectorPropertyLineProps = BABYLON.GuiEditor.SharedUIComponents.PropertyLineProps<Nullable<BaseTexture>> & BABYLON.GuiEditor.SharedUIComponents.TextureSelectorProps;
12450
12504
  type SkeletonSelectorPropertyLineProps = BABYLON.GuiEditor.SharedUIComponents.PropertyLineProps<Nullable<Skeleton>> & BABYLON.GuiEditor.SharedUIComponents.SkeletonSelectorProps;
12505
+ type ClusteredLightContainerSelectorPropertyLineProps = BABYLON.GuiEditor.SharedUIComponents.PropertyLineProps<Nullable<ClusteredLightContainer>> & BABYLON.GuiEditor.SharedUIComponents.ClusteredLightContainerSelectorProps;
12451
12506
  export const NodeSelectorPropertyLine: (props: NodeSelectorPropertyLineProps) => import("react/jsx-runtime").JSX.Element;
12452
12507
  export const MaterialSelectorPropertyLine: (props: MaterialSelectorPropertyLineProps) => import("react/jsx-runtime").JSX.Element;
12453
12508
  export const TextureSelectorPropertyLine: (props: TextureSelectorPropertyLineProps) => import("react/jsx-runtime").JSX.Element;
12454
12509
  export const SkeletonSelectorPropertyLine: (props: SkeletonSelectorPropertyLineProps) => import("react/jsx-runtime").JSX.Element;
12510
+ export const ClusteredLightContainerSelectorPropertyLine: (props: ClusteredLightContainerSelectorPropertyLineProps) => import("react/jsx-runtime").JSX.Element;
12455
12511
 
12456
12512
 
12457
12513
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "babylonjs-gui-editor",
3
- "version": "8.55.3",
3
+ "version": "8.55.4",
4
4
  "main": "babylon.guiEditor.js",
5
5
  "types": "babylon.guiEditor.module.d.ts",
6
6
  "files": [
@@ -14,8 +14,8 @@
14
14
  "clean": "rimraf dist && rimraf babylon*.* -g"
15
15
  },
16
16
  "dependencies": {
17
- "babylonjs": "8.55.3",
18
- "babylonjs-gui": "8.55.3"
17
+ "babylonjs": "8.55.4",
18
+ "babylonjs-gui": "8.55.4"
19
19
  },
20
20
  "devDependencies": {
21
21
  "@dev/build-tools": "1.0.0",