@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.
@@ -1357,6 +1357,17 @@ declare module "@babylonjs/node-editor/styleHelper" {
|
|
1357
1357
|
* @param target document or shadow root to copy styles to
|
1358
1358
|
*/
|
1359
1359
|
export function CopyStyles(source: Document, target: DocumentOrShadowRoot): void;
|
1360
|
+
/**
|
1361
|
+
* Merges classNames by array of strings or conditions
|
1362
|
+
* @param classNames Array of className strings or truthy conditions
|
1363
|
+
* @returns A concatenated string, suitable for the className attribute
|
1364
|
+
*/
|
1365
|
+
export function MergeClassNames(classNames: ClassNameCondition[]): string;
|
1366
|
+
/**
|
1367
|
+
* className (replicating React type) or a tuple with the second member being any truthy value ["className", true]
|
1368
|
+
*/
|
1369
|
+
type ClassNameCondition = string | undefined | [string, any];
|
1370
|
+
export {};
|
1360
1371
|
|
1361
1372
|
}
|
1362
1373
|
declare module "@babylonjs/node-editor/stringTools" {
|
@@ -2217,6 +2228,7 @@ export class GraphNode {
|
|
2217
2228
|
private _onDown;
|
2218
2229
|
cleanAccumulation(useCeil?: boolean): void;
|
2219
2230
|
private _onUp;
|
2231
|
+
private _attach;
|
2220
2232
|
private _onMove;
|
2221
2233
|
renderProperties(): Nullable<JSX.Element>;
|
2222
2234
|
_forceRebuild(source: any, propertyName: string, notifiers?: IEditablePropertyOption["notifiers"]): void;
|
@@ -2916,6 +2928,7 @@ interface ITextLineComponentProps {
|
|
2916
2928
|
icon?: string;
|
2917
2929
|
iconLabel?: string;
|
2918
2930
|
tooltip?: string;
|
2931
|
+
onCopy?: true | (() => string);
|
2919
2932
|
}
|
2920
2933
|
export class TextLineComponent extends React.Component<ITextLineComponentProps> {
|
2921
2934
|
constructor(props: ITextLineComponentProps);
|
@@ -3618,7 +3631,7 @@ export interface ICheckBoxLineComponentProps {
|
|
3618
3631
|
label?: string;
|
3619
3632
|
target?: any;
|
3620
3633
|
propertyName?: string;
|
3621
|
-
isSelected?: () => boolean;
|
3634
|
+
isSelected?: boolean | (() => boolean);
|
3622
3635
|
onSelect?: (value: boolean) => void;
|
3623
3636
|
onValueChanged?: () => void;
|
3624
3637
|
onPropertyChangedObservable?: Observable<PropertyChangedEvent>;
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@babylonjs/node-editor",
|
3
|
-
"version": "7.52.
|
3
|
+
"version": "7.52.3",
|
4
4
|
"main": "dist/babylon.nodeEditor.max.js",
|
5
5
|
"module": "dist/babylon.nodeEditor.max.js",
|
6
6
|
"esnext": "dist/babylon.nodeEditor.max.js",
|
@@ -23,7 +23,7 @@
|
|
23
23
|
"@types/react-dom": ">=16.0.9"
|
24
24
|
},
|
25
25
|
"devDependencies": {
|
26
|
-
"@babylonjs/core": "^7.52.
|
26
|
+
"@babylonjs/core": "^7.52.3",
|
27
27
|
"react": "^17.0.2",
|
28
28
|
"react-dom": "^17.0.2"
|
29
29
|
},
|