@babylonjs/node-render-graph-editor 7.41.1 → 7.41.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.
@@ -899,6 +899,17 @@ declare module "@babylonjs/node-render-graph-editor/styleHelper" {
899
899
  * @param target document or shadow root to copy styles to
900
900
  */
901
901
  export function CopyStyles(source: Document, target: DocumentOrShadowRoot): void;
902
+ /**
903
+ * Merges classNames by array of strings or conditions
904
+ * @param classNames Array of className strings or truthy conditions
905
+ * @returns A concatenated string, suitable for the className attribute
906
+ */
907
+ export function MergeClassNames(classNames: ClassNameCondition[]): string;
908
+ /**
909
+ * className (replicating React type) or a tuple with the second member being any truthy value ["className", true]
910
+ */
911
+ type ClassNameCondition = string | undefined | [string, any];
912
+ export {};
902
913
 
903
914
  }
904
915
  declare module "@babylonjs/node-render-graph-editor/stringTools" {
@@ -2458,6 +2469,7 @@ interface ITextLineComponentProps {
2458
2469
  icon?: string;
2459
2470
  iconLabel?: string;
2460
2471
  tooltip?: string;
2472
+ onCopy?: true | (() => string);
2461
2473
  }
2462
2474
  export class TextLineComponent extends React.Component<ITextLineComponentProps> {
2463
2475
  constructor(props: ITextLineComponentProps);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@babylonjs/node-render-graph-editor",
3
- "version": "7.41.1",
3
+ "version": "7.41.2",
4
4
  "main": "dist/babylon.nodeRenderGraphEditor.max.js",
5
5
  "module": "dist/babylon.nodeRenderGraphEditor.max.js",
6
6
  "esnext": "dist/babylon.nodeRenderGraphEditor.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
  },