babylonjs-node-geometry-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.
@@ -716,6 +716,16 @@ declare module BABYLON.NodeGeometryEditor.SharedUIComponents {
716
716
  * @param target document or shadow root to copy styles to
717
717
  */
718
718
  export function CopyStyles(source: Document, target: DocumentOrShadowRoot): void;
719
+ /**
720
+ * Merges classNames by array of strings or conditions
721
+ * @param classNames Array of className strings or truthy conditions
722
+ * @returns A concatenated string, suitable for the className attribute
723
+ */
724
+ export function MergeClassNames(classNames: ClassNameCondition[]): string;
725
+ /**
726
+ * className (replicating React type) or a tuple with the second member being any truthy value ["className", true]
727
+ */
728
+ type ClassNameCondition = string | undefined | [string, any];
719
729
 
720
730
 
721
731
 
@@ -2375,6 +2385,7 @@ declare module BABYLON.NodeGeometryEditor.SharedUIComponents {
2375
2385
  icon?: string;
2376
2386
  iconLabel?: string;
2377
2387
  tooltip?: string;
2388
+ onCopy?: true | (() => string);
2378
2389
  }
2379
2390
  export class TextLineComponent extends React.Component<ITextLineComponentProps> {
2380
2391
  constructor(props: ITextLineComponentProps);