babylonjs-node-geometry-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.
|
@@ -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
|
|
|
@@ -1632,6 +1642,7 @@ declare module BABYLON.NodeGeometryEditor.SharedUIComponents {
|
|
|
1632
1642
|
private _onDown;
|
|
1633
1643
|
cleanAccumulation(useCeil?: boolean): void;
|
|
1634
1644
|
private _onUp;
|
|
1645
|
+
private _attach;
|
|
1635
1646
|
private _onMove;
|
|
1636
1647
|
renderProperties(): BABYLON.Nullable<JSX.Element>;
|
|
1637
1648
|
_forceRebuild(source: any, propertyName: string, notifiers?: BABYLON.IEditablePropertyOption["notifiers"]): void;
|
|
@@ -2375,6 +2386,7 @@ declare module BABYLON.NodeGeometryEditor.SharedUIComponents {
|
|
|
2375
2386
|
icon?: string;
|
|
2376
2387
|
iconLabel?: string;
|
|
2377
2388
|
tooltip?: string;
|
|
2389
|
+
onCopy?: true | (() => string);
|
|
2378
2390
|
}
|
|
2379
2391
|
export class TextLineComponent extends React.Component<ITextLineComponentProps> {
|
|
2380
2392
|
constructor(props: ITextLineComponentProps);
|
|
@@ -3154,7 +3166,7 @@ declare module BABYLON.NodeGeometryEditor.SharedUIComponents {
|
|
|
3154
3166
|
label?: string;
|
|
3155
3167
|
target?: any;
|
|
3156
3168
|
propertyName?: string;
|
|
3157
|
-
isSelected?: () => boolean;
|
|
3169
|
+
isSelected?: boolean | (() => boolean);
|
|
3158
3170
|
onSelect?: (value: boolean) => void;
|
|
3159
3171
|
onValueChanged?: () => void;
|
|
3160
3172
|
onPropertyChangedObservable?: BABYLON.Observable<BABYLON.NodeGeometryEditor.SharedUIComponents.PropertyChangedEvent>;
|