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.
|
@@ -691,6 +691,16 @@ declare module BABYLON.NodeRenderGraphEditor.SharedUIComponents {
|
|
|
691
691
|
* @param target document or shadow root to copy styles to
|
|
692
692
|
*/
|
|
693
693
|
export function CopyStyles(source: Document, target: DocumentOrShadowRoot): void;
|
|
694
|
+
/**
|
|
695
|
+
* Merges classNames by array of strings or conditions
|
|
696
|
+
* @param classNames Array of className strings or truthy conditions
|
|
697
|
+
* @returns A concatenated string, suitable for the className attribute
|
|
698
|
+
*/
|
|
699
|
+
export function MergeClassNames(classNames: ClassNameCondition[]): string;
|
|
700
|
+
/**
|
|
701
|
+
* className (replicating React type) or a tuple with the second member being any truthy value ["className", true]
|
|
702
|
+
*/
|
|
703
|
+
type ClassNameCondition = string | undefined | [string, any];
|
|
694
704
|
|
|
695
705
|
|
|
696
706
|
|
|
@@ -2350,6 +2360,7 @@ declare module BABYLON.NodeRenderGraphEditor.SharedUIComponents {
|
|
|
2350
2360
|
icon?: string;
|
|
2351
2361
|
iconLabel?: string;
|
|
2352
2362
|
tooltip?: string;
|
|
2363
|
+
onCopy?: true | (() => string);
|
|
2353
2364
|
}
|
|
2354
2365
|
export class TextLineComponent extends React.Component<ITextLineComponentProps> {
|
|
2355
2366
|
constructor(props: ITextLineComponentProps);
|