babylonjs-node-editor 7.52.1 → 7.52.3

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.
@@ -961,6 +961,16 @@ declare module BABYLON.NodeEditor.SharedUIComponents {
961
961
  * @param target document or shadow root to copy styles to
962
962
  */
963
963
  export function CopyStyles(source: Document, target: DocumentOrShadowRoot): void;
964
+ /**
965
+ * Merges classNames by array of strings or conditions
966
+ * @param classNames Array of className strings or truthy conditions
967
+ * @returns A concatenated string, suitable for the className attribute
968
+ */
969
+ export function MergeClassNames(classNames: ClassNameCondition[]): string;
970
+ /**
971
+ * className (replicating React type) or a tuple with the second member being any truthy value ["className", true]
972
+ */
973
+ type ClassNameCondition = string | undefined | [string, any];
964
974
 
965
975
 
966
976
 
@@ -1877,6 +1887,7 @@ declare module BABYLON.NodeEditor.SharedUIComponents {
1877
1887
  private _onDown;
1878
1888
  cleanAccumulation(useCeil?: boolean): void;
1879
1889
  private _onUp;
1890
+ private _attach;
1880
1891
  private _onMove;
1881
1892
  renderProperties(): BABYLON.Nullable<JSX.Element>;
1882
1893
  _forceRebuild(source: any, propertyName: string, notifiers?: BABYLON.IEditablePropertyOption["notifiers"]): void;
@@ -2620,6 +2631,7 @@ declare module BABYLON.NodeEditor.SharedUIComponents {
2620
2631
  icon?: string;
2621
2632
  iconLabel?: string;
2622
2633
  tooltip?: string;
2634
+ onCopy?: true | (() => string);
2623
2635
  }
2624
2636
  export class TextLineComponent extends React.Component<ITextLineComponentProps> {
2625
2637
  constructor(props: ITextLineComponentProps);
@@ -3399,7 +3411,7 @@ declare module BABYLON.NodeEditor.SharedUIComponents {
3399
3411
  label?: string;
3400
3412
  target?: any;
3401
3413
  propertyName?: string;
3402
- isSelected?: () => boolean;
3414
+ isSelected?: boolean | (() => boolean);
3403
3415
  onSelect?: (value: boolean) => void;
3404
3416
  onValueChanged?: () => void;
3405
3417
  onPropertyChangedObservable?: BABYLON.Observable<BABYLON.NodeEditor.SharedUIComponents.PropertyChangedEvent>;