@babylonjs/node-editor 7.52.1 → 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.
@@ -1357,6 +1357,17 @@ declare module "@babylonjs/node-editor/styleHelper" {
1357
1357
  * @param target document or shadow root to copy styles to
1358
1358
  */
1359
1359
  export function CopyStyles(source: Document, target: DocumentOrShadowRoot): void;
1360
+ /**
1361
+ * Merges classNames by array of strings or conditions
1362
+ * @param classNames Array of className strings or truthy conditions
1363
+ * @returns A concatenated string, suitable for the className attribute
1364
+ */
1365
+ export function MergeClassNames(classNames: ClassNameCondition[]): string;
1366
+ /**
1367
+ * className (replicating React type) or a tuple with the second member being any truthy value ["className", true]
1368
+ */
1369
+ type ClassNameCondition = string | undefined | [string, any];
1370
+ export {};
1360
1371
 
1361
1372
  }
1362
1373
  declare module "@babylonjs/node-editor/stringTools" {
@@ -2916,6 +2927,7 @@ interface ITextLineComponentProps {
2916
2927
  icon?: string;
2917
2928
  iconLabel?: string;
2918
2929
  tooltip?: string;
2930
+ onCopy?: true | (() => string);
2919
2931
  }
2920
2932
  export class TextLineComponent extends React.Component<ITextLineComponentProps> {
2921
2933
  constructor(props: ITextLineComponentProps);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@babylonjs/node-editor",
3
- "version": "7.52.1",
3
+ "version": "7.52.2",
4
4
  "main": "dist/babylon.nodeEditor.max.js",
5
5
  "module": "dist/babylon.nodeEditor.max.js",
6
6
  "esnext": "dist/babylon.nodeEditor.max.js",
@@ -23,7 +23,7 @@
23
23
  "@types/react-dom": ">=16.0.9"
24
24
  },
25
25
  "devDependencies": {
26
- "@babylonjs/core": "^7.52.1",
26
+ "@babylonjs/core": "^7.52.2",
27
27
  "react": "^17.0.2",
28
28
  "react-dom": "^17.0.2"
29
29
  },