@babylonjs/inspector 7.52.0 → 7.52.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.
@@ -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" {
@@ -6275,6 +6286,7 @@ interface ITextLineComponentProps {
6275
6286
  icon?: string;
6276
6287
  iconLabel?: string;
6277
6288
  tooltip?: string;
6289
+ onCopy?: true | (() => string);
6278
6290
  }
6279
6291
  export class TextLineComponent extends React.Component<ITextLineComponentProps> {
6280
6292
  constructor(props: ITextLineComponentProps);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@babylonjs/inspector",
3
- "version": "7.52.0",
3
+ "version": "7.52.2",
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.0",
36
- "@babylonjs/gui": "^7.52.0",
37
- "@babylonjs/gui-editor": "^7.52.0",
38
- "@babylonjs/loaders": "^7.52.0",
39
- "@babylonjs/materials": "^7.52.0",
40
- "@babylonjs/serializers": "^7.52.0",
35
+ "@babylonjs/core": "^7.52.2",
36
+ "@babylonjs/gui": "^7.52.2",
37
+ "@babylonjs/gui-editor": "^7.52.2",
38
+ "@babylonjs/loaders": "^7.52.2",
39
+ "@babylonjs/materials": "^7.52.2",
40
+ "@babylonjs/serializers": "^7.52.2",
41
41
  "@lts/gui": "1.0.0",
42
42
  "react": "^17.0.2",
43
43
  "react-dom": "^17.0.2"