babylonjs-node-editor 5.7.0 → 5.8.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.
|
@@ -1437,6 +1437,7 @@ export class GraphEditor extends React.Component<IGraphEditorProps, IGraphEditor
|
|
|
1437
1437
|
reOrganize(editorData?: Nullable<IEditorData>, isImportingAFrame?: boolean): void;
|
|
1438
1438
|
onPointerDown(evt: React.PointerEvent<HTMLDivElement>): void;
|
|
1439
1439
|
onPointerUp(evt: React.PointerEvent<HTMLDivElement>): void;
|
|
1440
|
+
onWheel(this: any, evt: WheelEvent): void;
|
|
1440
1441
|
resizeColumns(evt: React.PointerEvent<HTMLDivElement>, forLeft?: boolean): void;
|
|
1441
1442
|
buildColumnLayout(): string;
|
|
1442
1443
|
emitNewBlock(blockType: string, targetX: number, targetY: number): void;
|
|
@@ -2246,6 +2247,53 @@ export class HexColor extends React.Component<IHexColorProps, {
|
|
|
2246
2247
|
render(): JSX.Element;
|
|
2247
2248
|
}
|
|
2248
2249
|
|
|
2250
|
+
}
|
|
2251
|
+
declare module "babylonjs-node-editor/components/Button" {
|
|
2252
|
+
/// <reference types="react" />
|
|
2253
|
+
export type ButtonProps = {
|
|
2254
|
+
disabled?: boolean;
|
|
2255
|
+
active?: boolean;
|
|
2256
|
+
onClick?: () => void;
|
|
2257
|
+
color: "light" | "dark";
|
|
2258
|
+
size: "default" | "small" | "wide";
|
|
2259
|
+
title?: string;
|
|
2260
|
+
};
|
|
2261
|
+
export const Button: React.FC<ButtonProps>;
|
|
2262
|
+
|
|
2263
|
+
}
|
|
2264
|
+
declare module "babylonjs-node-editor/components/classNames" {
|
|
2265
|
+
export function ClassNames(names: any, styleObject: any): string;
|
|
2266
|
+
|
|
2267
|
+
}
|
|
2268
|
+
declare module "babylonjs-node-editor/components/Icon" {
|
|
2269
|
+
/// <reference types="react" />
|
|
2270
|
+
export type IconProps = {
|
|
2271
|
+
color?: "dark" | "light";
|
|
2272
|
+
icon: string;
|
|
2273
|
+
};
|
|
2274
|
+
export const Icon: React.FC<IconProps>;
|
|
2275
|
+
|
|
2276
|
+
}
|
|
2277
|
+
declare module "babylonjs-node-editor/components/Label" {
|
|
2278
|
+
import { ReactChild } from "react";
|
|
2279
|
+
export type LabelProps = {
|
|
2280
|
+
text: string;
|
|
2281
|
+
children?: ReactChild;
|
|
2282
|
+
color?: "dark" | "light";
|
|
2283
|
+
};
|
|
2284
|
+
export const Label: React.FC<LabelProps>;
|
|
2285
|
+
|
|
2286
|
+
}
|
|
2287
|
+
declare module "babylonjs-node-editor/components/Toggle" {
|
|
2288
|
+
/// <reference types="react" />
|
|
2289
|
+
export type ToggleProps = {
|
|
2290
|
+
toggled: "on" | "mixed" | "off";
|
|
2291
|
+
onToggle?: () => void;
|
|
2292
|
+
padded?: boolean;
|
|
2293
|
+
color?: "dark" | "light";
|
|
2294
|
+
};
|
|
2295
|
+
export const Toggle: React.FC<ToggleProps>;
|
|
2296
|
+
|
|
2249
2297
|
}
|
|
2250
2298
|
declare module "babylonjs-node-editor/lines/booleanLineComponent" {
|
|
2251
2299
|
import * as React from "react";
|
|
@@ -3083,6 +3131,54 @@ export class PropertyChangedEvent {
|
|
|
3083
3131
|
allowNullValue?: boolean;
|
|
3084
3132
|
}
|
|
3085
3133
|
|
|
3134
|
+
}
|
|
3135
|
+
declare module "babylonjs-node-editor/stories/Button.stories" {
|
|
3136
|
+
/// <reference types="react" />
|
|
3137
|
+
import { ButtonProps } from "babylonjs-node-editor/components/Button";
|
|
3138
|
+
const _default: {
|
|
3139
|
+
title: string;
|
|
3140
|
+
component: import("react").FC<ButtonProps>;
|
|
3141
|
+
};
|
|
3142
|
+
export default _default;
|
|
3143
|
+
export const Default: any;
|
|
3144
|
+
export const Wide: any;
|
|
3145
|
+
export const Small: any;
|
|
3146
|
+
|
|
3147
|
+
}
|
|
3148
|
+
declare module "babylonjs-node-editor/stories/Icon.stories" {
|
|
3149
|
+
/// <reference types="react" />
|
|
3150
|
+
import { IconProps } from "babylonjs-node-editor/components/Icon";
|
|
3151
|
+
const _default: {
|
|
3152
|
+
title: string;
|
|
3153
|
+
component: import("react").FC<IconProps>;
|
|
3154
|
+
};
|
|
3155
|
+
export default _default;
|
|
3156
|
+
export const Light: any;
|
|
3157
|
+
export const Dark: any;
|
|
3158
|
+
|
|
3159
|
+
}
|
|
3160
|
+
declare module "babylonjs-node-editor/stories/Label.stories" {
|
|
3161
|
+
/// <reference types="react" />
|
|
3162
|
+
import { LabelProps } from "babylonjs-node-editor/components/Label";
|
|
3163
|
+
const _default: {
|
|
3164
|
+
title: string;
|
|
3165
|
+
component: import("react").FC<LabelProps>;
|
|
3166
|
+
};
|
|
3167
|
+
export default _default;
|
|
3168
|
+
export const Default: any;
|
|
3169
|
+
|
|
3170
|
+
}
|
|
3171
|
+
declare module "babylonjs-node-editor/stories/Toggle.stories" {
|
|
3172
|
+
/// <reference types="react" />
|
|
3173
|
+
import { ToggleProps } from "babylonjs-node-editor/components/Toggle";
|
|
3174
|
+
const _default: {
|
|
3175
|
+
title: string;
|
|
3176
|
+
component: import("react").FC<ToggleProps>;
|
|
3177
|
+
};
|
|
3178
|
+
export default _default;
|
|
3179
|
+
export const Default: any;
|
|
3180
|
+
export const Padded: any;
|
|
3181
|
+
|
|
3086
3182
|
}
|
|
3087
3183
|
declare module "babylonjs-node-editor/stringTools" {
|
|
3088
3184
|
export class StringTools {
|
|
@@ -4495,6 +4591,7 @@ declare module BABYLON.NodeEditor {
|
|
|
4495
4591
|
reOrganize(editorData?: BABYLON.Nullable<IEditorData>, isImportingAFrame?: boolean): void;
|
|
4496
4592
|
onPointerDown(evt: React.PointerEvent<HTMLDivElement>): void;
|
|
4497
4593
|
onPointerUp(evt: React.PointerEvent<HTMLDivElement>): void;
|
|
4594
|
+
onWheel(this: any, evt: WheelEvent): void;
|
|
4498
4595
|
resizeColumns(evt: React.PointerEvent<HTMLDivElement>, forLeft?: boolean): void;
|
|
4499
4596
|
buildColumnLayout(): string;
|
|
4500
4597
|
emitNewBlock(blockType: string, targetX: number, targetY: number): void;
|
|
@@ -5186,6 +5283,77 @@ declare module BABYLON.NodeEditor.SharedUIComponents {
|
|
|
5186
5283
|
|
|
5187
5284
|
|
|
5188
5285
|
|
|
5286
|
+
}
|
|
5287
|
+
declare module BABYLON.NodeEditor {
|
|
5288
|
+
|
|
5289
|
+
}
|
|
5290
|
+
declare module BABYLON.NodeEditor.SharedUIComponents {
|
|
5291
|
+
/// <reference types="react" />
|
|
5292
|
+
export type ButtonProps = {
|
|
5293
|
+
disabled?: boolean;
|
|
5294
|
+
active?: boolean;
|
|
5295
|
+
onClick?: () => void;
|
|
5296
|
+
color: "light" | "dark";
|
|
5297
|
+
size: "default" | "small" | "wide";
|
|
5298
|
+
title?: string;
|
|
5299
|
+
};
|
|
5300
|
+
export var Button: React.FC<ButtonProps>;
|
|
5301
|
+
|
|
5302
|
+
|
|
5303
|
+
|
|
5304
|
+
}
|
|
5305
|
+
declare module BABYLON.NodeEditor {
|
|
5306
|
+
|
|
5307
|
+
}
|
|
5308
|
+
declare module BABYLON.NodeEditor.SharedUIComponents {
|
|
5309
|
+
export function ClassNames(names: any, styleObject: any): string;
|
|
5310
|
+
|
|
5311
|
+
|
|
5312
|
+
|
|
5313
|
+
}
|
|
5314
|
+
declare module BABYLON.NodeEditor {
|
|
5315
|
+
|
|
5316
|
+
}
|
|
5317
|
+
declare module BABYLON.NodeEditor.SharedUIComponents {
|
|
5318
|
+
/// <reference types="react" />
|
|
5319
|
+
export type IconProps = {
|
|
5320
|
+
color?: "dark" | "light";
|
|
5321
|
+
icon: string;
|
|
5322
|
+
};
|
|
5323
|
+
export var Icon: React.FC<IconProps>;
|
|
5324
|
+
|
|
5325
|
+
|
|
5326
|
+
|
|
5327
|
+
}
|
|
5328
|
+
declare module BABYLON.NodeEditor {
|
|
5329
|
+
|
|
5330
|
+
}
|
|
5331
|
+
declare module BABYLON.NodeEditor.SharedUIComponents {
|
|
5332
|
+
export type LabelProps = {
|
|
5333
|
+
text: string;
|
|
5334
|
+
children?: React.ReactChild;
|
|
5335
|
+
color?: "dark" | "light";
|
|
5336
|
+
};
|
|
5337
|
+
export var Label: React.FC<LabelProps>;
|
|
5338
|
+
|
|
5339
|
+
|
|
5340
|
+
|
|
5341
|
+
}
|
|
5342
|
+
declare module BABYLON.NodeEditor {
|
|
5343
|
+
|
|
5344
|
+
}
|
|
5345
|
+
declare module BABYLON.NodeEditor.SharedUIComponents {
|
|
5346
|
+
/// <reference types="react" />
|
|
5347
|
+
export type ToggleProps = {
|
|
5348
|
+
toggled: "on" | "mixed" | "off";
|
|
5349
|
+
onToggle?: () => void;
|
|
5350
|
+
padded?: boolean;
|
|
5351
|
+
color?: "dark" | "light";
|
|
5352
|
+
};
|
|
5353
|
+
export var Toggle: React.FC<ToggleProps>;
|
|
5354
|
+
|
|
5355
|
+
|
|
5356
|
+
|
|
5189
5357
|
}
|
|
5190
5358
|
declare module BABYLON.NodeEditor {
|
|
5191
5359
|
|
|
@@ -6099,6 +6267,66 @@ declare module BABYLON.NodeEditor.SharedUIComponents {
|
|
|
6099
6267
|
|
|
6100
6268
|
|
|
6101
6269
|
|
|
6270
|
+
}
|
|
6271
|
+
declare module BABYLON.NodeEditor {
|
|
6272
|
+
|
|
6273
|
+
}
|
|
6274
|
+
declare module BABYLON.NodeEditor.SharedUIComponents {
|
|
6275
|
+
/// <reference types="react" />
|
|
6276
|
+
var _default: {
|
|
6277
|
+
title: string;
|
|
6278
|
+
component: import("react").FC<BABYLON.NodeEditor.SharedUIComponents.ButtonProps>;
|
|
6279
|
+
};
|
|
6280
|
+
export var Default: any;
|
|
6281
|
+
export var Wide: any;
|
|
6282
|
+
export var Small: any;
|
|
6283
|
+
|
|
6284
|
+
|
|
6285
|
+
|
|
6286
|
+
}
|
|
6287
|
+
declare module BABYLON.NodeEditor {
|
|
6288
|
+
|
|
6289
|
+
}
|
|
6290
|
+
declare module BABYLON.NodeEditor.SharedUIComponents {
|
|
6291
|
+
/// <reference types="react" />
|
|
6292
|
+
var _default: {
|
|
6293
|
+
title: string;
|
|
6294
|
+
component: import("react").FC<BABYLON.NodeEditor.SharedUIComponents.IconProps>;
|
|
6295
|
+
};
|
|
6296
|
+
export var Light: any;
|
|
6297
|
+
export var Dark: any;
|
|
6298
|
+
|
|
6299
|
+
|
|
6300
|
+
|
|
6301
|
+
}
|
|
6302
|
+
declare module BABYLON.NodeEditor {
|
|
6303
|
+
|
|
6304
|
+
}
|
|
6305
|
+
declare module BABYLON.NodeEditor.SharedUIComponents {
|
|
6306
|
+
/// <reference types="react" />
|
|
6307
|
+
var _default: {
|
|
6308
|
+
title: string;
|
|
6309
|
+
component: import("react").FC<BABYLON.NodeEditor.SharedUIComponents.LabelProps>;
|
|
6310
|
+
};
|
|
6311
|
+
export var Default: any;
|
|
6312
|
+
|
|
6313
|
+
|
|
6314
|
+
|
|
6315
|
+
}
|
|
6316
|
+
declare module BABYLON.NodeEditor {
|
|
6317
|
+
|
|
6318
|
+
}
|
|
6319
|
+
declare module BABYLON.NodeEditor.SharedUIComponents {
|
|
6320
|
+
/// <reference types="react" />
|
|
6321
|
+
var _default: {
|
|
6322
|
+
title: string;
|
|
6323
|
+
component: import("react").FC<BABYLON.NodeEditor.SharedUIComponents.ToggleProps>;
|
|
6324
|
+
};
|
|
6325
|
+
export var Default: any;
|
|
6326
|
+
export var Padded: any;
|
|
6327
|
+
|
|
6328
|
+
|
|
6329
|
+
|
|
6102
6330
|
}
|
|
6103
6331
|
declare module BABYLON.NodeEditor {
|
|
6104
6332
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "babylonjs-node-editor",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.8.2",
|
|
4
4
|
"main": "babylon.nodeEditor.js",
|
|
5
5
|
"types": "babylon.nodeEditor.module.d.ts",
|
|
6
6
|
"files": [
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
"clean": "rimraf dist && rimraf babylon*.*"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"babylonjs": "^5.
|
|
17
|
+
"babylonjs": "^5.8.2"
|
|
18
18
|
},
|
|
19
19
|
"devDependencies": {
|
|
20
20
|
"@dev/build-tools": "1.0.0",
|