babylonjs-node-render-graph-editor 7.41.0 → 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);
@@ -5011,6 +5023,16 @@ declare module BABYLON.NodeRenderGraphEditor.SharedUIComponents {
5011
5023
  * @param target document or shadow root to copy styles to
5012
5024
  */
5013
5025
  export function CopyStyles(source: Document, target: DocumentOrShadowRoot): void;
5026
+ /**
5027
+ * Merges classNames by array of strings or conditions
5028
+ * @param classNames Array of className strings or truthy conditions
5029
+ * @returns A concatenated string, suitable for the className attribute
5030
+ */
5031
+ export function MergeClassNames(classNames: ClassNameCondition[]): string;
5032
+ /**
5033
+ * className (replicating React type) or a tuple with the second member being any truthy value ["className", true]
5034
+ */
5035
+ type ClassNameCondition = string | undefined | [string, any];
5014
5036
 
5015
5037
 
5016
5038
 
@@ -6670,6 +6692,7 @@ declare module BABYLON.NodeRenderGraphEditor.SharedUIComponents {
6670
6692
  icon?: string;
6671
6693
  iconLabel?: string;
6672
6694
  tooltip?: string;
6695
+ onCopy?: true | (() => string);
6673
6696
  }
6674
6697
  export class TextLineComponent extends React.Component<ITextLineComponentProps> {
6675
6698
  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.0",
3
+ "version": "7.41.2",
4
4
  "main": "babylon.nodeRenderGraphEditor.js",
5
5
  "types": "babylon.nodeRenderGraphEditor.module.d.ts",
6
6
  "files": [
@@ -14,7 +14,7 @@
14
14
  "clean": "rimraf dist && rimraf babylon*.* -g"
15
15
  },
16
16
  "dependencies": {
17
- "babylonjs": "^7.52.0"
17
+ "babylonjs": "^7.52.2"
18
18
  },
19
19
  "devDependencies": {
20
20
  "@dev/build-tools": "1.0.0",