@onerjs/gui-editor 8.51.1 → 8.51.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.
|
@@ -160,7 +160,7 @@ import { RadioButton } from "@onerjs/gui/2D/controls/radioButton";
|
|
|
160
160
|
import { ImageBasedSlider } from "@onerjs/gui/2D/controls/sliders/imageBasedSlider";
|
|
161
161
|
export class GUINodeTools {
|
|
162
162
|
static ImageControlDefaultUrl: string;
|
|
163
|
-
static CreateControlFromString(data: string): Grid |
|
|
163
|
+
static CreateControlFromString(data: string): Grid | Rectangle | StackPanel | Line | TextBlock | Image | Slider | ImageBasedSlider | RadioButton | InputText | ColorPicker | Ellipse | Checkbox | DisplayGrid;
|
|
164
164
|
}
|
|
165
165
|
|
|
166
166
|
}
|
|
@@ -283,7 +283,7 @@ export class GlobalState {
|
|
|
283
283
|
onBackgroundColorChangeObservable: Observable<void>;
|
|
284
284
|
onFontsParsedObservable: Observable<void>;
|
|
285
285
|
onPointerMoveObservable: Observable<import("react").PointerEvent<HTMLCanvasElement>>;
|
|
286
|
-
onPointerUpObservable: Observable<Nullable<import("react").PointerEvent<HTMLCanvasElement
|
|
286
|
+
onPointerUpObservable: Observable<Nullable<PointerEvent | import("react").PointerEvent<HTMLCanvasElement>>>;
|
|
287
287
|
draggedControl: Nullable<Control>;
|
|
288
288
|
draggedControlDirection: DragOverLocation;
|
|
289
289
|
onCopyObservable: Observable<(content: string) => void>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@onerjs/gui-editor",
|
|
3
|
-
"version": "8.51.
|
|
3
|
+
"version": "8.51.2",
|
|
4
4
|
"main": "dist/babylon.guiEditor.js",
|
|
5
5
|
"module": "dist/babylon.guiEditor.js",
|
|
6
6
|
"esnext": "dist/babylon.guiEditor.js",
|
|
@@ -12,8 +12,8 @@
|
|
|
12
12
|
],
|
|
13
13
|
"scripts": {
|
|
14
14
|
"build": "npm run clean && npm run build:prod && npm run build:declaration",
|
|
15
|
-
"build:dev": "
|
|
16
|
-
"build:prod": "
|
|
15
|
+
"build:dev": "rollup -c rollup.config.umd.mjs",
|
|
16
|
+
"build:prod": "rollup -c rollup.config.umd.mjs --environment ROLLUP_MODE:production",
|
|
17
17
|
"build:declaration": "build-tools -c pud --config ./config.json",
|
|
18
18
|
"clean": "rimraf dist"
|
|
19
19
|
},
|
|
@@ -24,8 +24,8 @@
|
|
|
24
24
|
"@types/react-dom": ">=16.0.9"
|
|
25
25
|
},
|
|
26
26
|
"devDependencies": {
|
|
27
|
-
"@onerjs/core": "8.51.
|
|
28
|
-
"@onerjs/gui": "8.51.
|
|
27
|
+
"@onerjs/core": "8.51.2",
|
|
28
|
+
"@onerjs/gui": "8.51.2",
|
|
29
29
|
"react": "^18.2.0",
|
|
30
30
|
"react-dom": "^18.2.0"
|
|
31
31
|
},
|