@onerjs/gui-editor 8.44.2 → 8.44.3
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.
|
@@ -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?:
|
|
4605
|
+
defaultValue?: T;
|
|
4606
4606
|
};
|
|
4607
4607
|
/**
|
|
4608
4608
|
* A generic primitive component with a ComboBox for selecting from a list of entities.
|
|
@@ -4875,31 +4875,6 @@ type CollapseProps = {
|
|
|
4875
4875
|
export const Collapse: FunctionComponent<PropsWithChildren<CollapseProps>>;
|
|
4876
4876
|
export {};
|
|
4877
4877
|
|
|
4878
|
-
}
|
|
4879
|
-
declare module "@onerjs/gui-editor/fluent/primitives/clusteredLightContainerSelector" {
|
|
4880
|
-
import { FunctionComponent } from "react";
|
|
4881
|
-
import { Scene } from "@onerjs/core/scene";
|
|
4882
|
-
import { Nullable } from "@onerjs/core/types";
|
|
4883
|
-
import { PrimitiveProps } from "@onerjs/gui-editor/fluent/primitives/primitive";
|
|
4884
|
-
import { EntitySelectorProps } from "@onerjs/gui-editor/fluent/primitives/entitySelector";
|
|
4885
|
-
import { ClusteredLightContainer } from "@onerjs/core/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
|
-
|
|
4903
4878
|
}
|
|
4904
4879
|
declare module "@onerjs/gui-editor/fluent/primitives/checkbox" {
|
|
4905
4880
|
import { FunctionComponent } from "react";
|
|
@@ -5634,28 +5609,24 @@ export const HexPropertyLine: FunctionComponent<HexPropertyLineProps>;
|
|
|
5634
5609
|
|
|
5635
5610
|
}
|
|
5636
5611
|
declare module "@onerjs/gui-editor/fluent/hoc/propertyLines/entitySelectorPropertyLine" {
|
|
5637
|
-
import { Skeleton } from "@onerjs/core/Bones/skeleton";
|
|
5638
|
-
import { ClusteredLightContainer } from "@onerjs/core/Lights/Clustered/clusteredLightContainer";
|
|
5639
|
-
import { Material } from "@onerjs/core/Materials/material";
|
|
5640
|
-
import { BaseTexture } from "@onerjs/core/Materials/Textures/baseTexture";
|
|
5641
5612
|
import { Node } from "@onerjs/core/node";
|
|
5642
5613
|
import { Nullable } from "@onerjs/core/types";
|
|
5643
|
-
import {
|
|
5644
|
-
import { MaterialSelectorProps } from "@onerjs/gui-editor/fluent/primitives/materialSelector";
|
|
5614
|
+
import { PropertyLineProps } from "@onerjs/gui-editor/fluent/hoc/propertyLines/propertyLine";
|
|
5645
5615
|
import { NodeSelectorProps } from "@onerjs/gui-editor/fluent/primitives/nodeSelector";
|
|
5646
|
-
import {
|
|
5616
|
+
import { MaterialSelectorProps } from "@onerjs/gui-editor/fluent/primitives/materialSelector";
|
|
5647
5617
|
import { TextureSelectorProps } from "@onerjs/gui-editor/fluent/primitives/textureSelector";
|
|
5648
|
-
import {
|
|
5618
|
+
import { SkeletonSelectorProps } from "@onerjs/gui-editor/fluent/primitives/skeletonSelector";
|
|
5619
|
+
import { Material } from "@onerjs/core/Materials/material";
|
|
5620
|
+
import { BaseTexture } from "@onerjs/core/Materials/Textures/baseTexture";
|
|
5621
|
+
import { Skeleton } from "@onerjs/core/Bones/skeleton";
|
|
5649
5622
|
type NodeSelectorPropertyLineProps = PropertyLineProps<Nullable<Node>> & NodeSelectorProps;
|
|
5650
5623
|
type MaterialSelectorPropertyLineProps = PropertyLineProps<Nullable<Material>> & MaterialSelectorProps;
|
|
5651
5624
|
type TextureSelectorPropertyLineProps = PropertyLineProps<Nullable<BaseTexture>> & TextureSelectorProps;
|
|
5652
5625
|
type SkeletonSelectorPropertyLineProps = PropertyLineProps<Nullable<Skeleton>> & SkeletonSelectorProps;
|
|
5653
|
-
type ClusteredLightContainerSelectorPropertyLineProps = PropertyLineProps<Nullable<ClusteredLightContainer>> & ClusteredLightContainerSelectorProps;
|
|
5654
5626
|
export const NodeSelectorPropertyLine: (props: NodeSelectorPropertyLineProps) => import("react/jsx-runtime").JSX.Element;
|
|
5655
5627
|
export const MaterialSelectorPropertyLine: (props: MaterialSelectorPropertyLineProps) => import("react/jsx-runtime").JSX.Element;
|
|
5656
5628
|
export const TextureSelectorPropertyLine: (props: TextureSelectorPropertyLineProps) => import("react/jsx-runtime").JSX.Element;
|
|
5657
5629
|
export const SkeletonSelectorPropertyLine: (props: SkeletonSelectorPropertyLineProps) => import("react/jsx-runtime").JSX.Element;
|
|
5658
|
-
export const ClusteredLightContainerSelectorPropertyLine: (props: ClusteredLightContainerSelectorPropertyLineProps) => import("react/jsx-runtime").JSX.Element;
|
|
5659
5630
|
export {};
|
|
5660
5631
|
|
|
5661
5632
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@onerjs/gui-editor",
|
|
3
|
-
"version": "8.44.
|
|
3
|
+
"version": "8.44.3",
|
|
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
|
-
"@onerjs/core": "8.44.
|
|
28
|
-
"@onerjs/gui": "8.44.
|
|
27
|
+
"@onerjs/core": "8.44.3",
|
|
28
|
+
"@onerjs/gui": "8.44.3",
|
|
29
29
|
"react": "^18.2.0",
|
|
30
30
|
"react-dom": "^18.2.0"
|
|
31
31
|
},
|