@babylonjs/inspector 7.52.1 → 7.52.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.
@@ -4716,6 +4716,17 @@ declare module "@babylonjs/inspector/styleHelper" {
4716
4716
  * @param target document or shadow root to copy styles to
4717
4717
  */
4718
4718
  export function CopyStyles(source: Document, target: DocumentOrShadowRoot): void;
4719
+ /**
4720
+ * Merges classNames by array of strings or conditions
4721
+ * @param classNames Array of className strings or truthy conditions
4722
+ * @returns A concatenated string, suitable for the className attribute
4723
+ */
4724
+ export function MergeClassNames(classNames: ClassNameCondition[]): string;
4725
+ /**
4726
+ * className (replicating React type) or a tuple with the second member being any truthy value ["className", true]
4727
+ */
4728
+ type ClassNameCondition = string | undefined | [string, any];
4729
+ export {};
4719
4730
 
4720
4731
  }
4721
4732
  declare module "@babylonjs/inspector/stringTools" {
@@ -5576,6 +5587,7 @@ export class GraphNode {
5576
5587
  private _onDown;
5577
5588
  cleanAccumulation(useCeil?: boolean): void;
5578
5589
  private _onUp;
5590
+ private _attach;
5579
5591
  private _onMove;
5580
5592
  renderProperties(): Nullable<JSX.Element>;
5581
5593
  _forceRebuild(source: any, propertyName: string, notifiers?: IEditablePropertyOption["notifiers"]): void;
@@ -6275,6 +6287,7 @@ interface ITextLineComponentProps {
6275
6287
  icon?: string;
6276
6288
  iconLabel?: string;
6277
6289
  tooltip?: string;
6290
+ onCopy?: true | (() => string);
6278
6291
  }
6279
6292
  export class TextLineComponent extends React.Component<ITextLineComponentProps> {
6280
6293
  constructor(props: ITextLineComponentProps);
@@ -6977,7 +6990,7 @@ export interface ICheckBoxLineComponentProps {
6977
6990
  label?: string;
6978
6991
  target?: any;
6979
6992
  propertyName?: string;
6980
- isSelected?: () => boolean;
6993
+ isSelected?: boolean | (() => boolean);
6981
6994
  onSelect?: (value: boolean) => void;
6982
6995
  onValueChanged?: () => void;
6983
6996
  onPropertyChangedObservable?: Observable<PropertyChangedEvent>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@babylonjs/inspector",
3
- "version": "7.52.1",
3
+ "version": "7.52.3",
4
4
  "module": "dist/babylon.inspector.bundle.max.js",
5
5
  "main": "dist/babylon.inspector.bundle.max.js",
6
6
  "typings": "dist/babylon.inspector.module.d.ts",
@@ -32,12 +32,12 @@
32
32
  "@types/react-dom": ">=16.0.9"
33
33
  },
34
34
  "devDependencies": {
35
- "@babylonjs/core": "^7.52.1",
36
- "@babylonjs/gui": "^7.52.1",
37
- "@babylonjs/gui-editor": "^7.52.1",
38
- "@babylonjs/loaders": "^7.52.1",
39
- "@babylonjs/materials": "^7.52.1",
40
- "@babylonjs/serializers": "^7.52.1",
35
+ "@babylonjs/core": "^7.52.3",
36
+ "@babylonjs/gui": "^7.52.3",
37
+ "@babylonjs/gui-editor": "^7.52.3",
38
+ "@babylonjs/loaders": "^7.52.3",
39
+ "@babylonjs/materials": "^7.52.3",
40
+ "@babylonjs/serializers": "^7.52.3",
41
41
  "@lts/gui": "1.0.0",
42
42
  "react": "^17.0.2",
43
43
  "react-dom": "^17.0.2"