@babylonjs/node-geometry-editor 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.
@@ -1008,6 +1008,17 @@ declare module "@babylonjs/node-geometry-editor/styleHelper" {
1008
1008
  * @param target document or shadow root to copy styles to
1009
1009
  */
1010
1010
  export function CopyStyles(source: Document, target: DocumentOrShadowRoot): void;
1011
+ /**
1012
+ * Merges classNames by array of strings or conditions
1013
+ * @param classNames Array of className strings or truthy conditions
1014
+ * @returns A concatenated string, suitable for the className attribute
1015
+ */
1016
+ export function MergeClassNames(classNames: ClassNameCondition[]): string;
1017
+ /**
1018
+ * className (replicating React type) or a tuple with the second member being any truthy value ["className", true]
1019
+ */
1020
+ type ClassNameCondition = string | undefined | [string, any];
1021
+ export {};
1011
1022
 
1012
1023
  }
1013
1024
  declare module "@babylonjs/node-geometry-editor/stringTools" {
@@ -2567,6 +2578,7 @@ interface ITextLineComponentProps {
2567
2578
  icon?: string;
2568
2579
  iconLabel?: string;
2569
2580
  tooltip?: string;
2581
+ onCopy?: true | (() => string);
2570
2582
  }
2571
2583
  export class TextLineComponent extends React.Component<ITextLineComponentProps> {
2572
2584
  constructor(props: ITextLineComponentProps);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@babylonjs/node-geometry-editor",
3
- "version": "7.52.0",
3
+ "version": "7.52.2",
4
4
  "main": "dist/babylon.nodeGeometryEditor.max.js",
5
5
  "module": "dist/babylon.nodeGeometryEditor.max.js",
6
6
  "esnext": "dist/babylon.nodeGeometryEditor.max.js",
@@ -23,7 +23,7 @@
23
23
  "@types/react-dom": ">=16.0.9"
24
24
  },
25
25
  "devDependencies": {
26
- "@babylonjs/core": "^7.52.0",
26
+ "@babylonjs/core": "^7.52.2",
27
27
  "react": "^17.0.2",
28
28
  "react-dom": "^17.0.2"
29
29
  },