@wonderlandengine/editor-api 1.2.3-dev.1 → 1.2.4

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.
package/dist/ui.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  /// <reference types="node" resolution-mode="require"/>
2
- /** Image to be used in the {@ref Ui}. */
2
+ /** Image to be used in {@link ui}. */
3
3
  export declare class UiImage {
4
4
  _id: number;
5
5
  constructor(id: number);
@@ -91,10 +91,12 @@ export declare const dummy: (width: number, height: number) => void;
91
91
  *
92
92
  * @param offset Offset on the x axis.
93
93
  */
94
- export declare const sameLine: (offset: number) => void;
94
+ export declare const sameLine: (offset?: number) => void;
95
95
  /** Separator line. */
96
96
  export declare const separator: () => void;
97
97
  /** Begin a widget group. */
98
98
  export declare const beginGroup: () => void;
99
99
  /** End a widget group. */
100
100
  export declare const endGroup: () => void;
101
+ /** Spinner to indicate loading. */
102
+ export declare const spinner: () => void;
package/dist/ui.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import { awaitJob } from './tools.js';
2
2
  const ui = _wl_internalBinding('ui');
3
- /** Image to be used in the {@ref Ui}. */
3
+ /** Image to be used in {@link ui}. */
4
4
  export class UiImage {
5
5
  _id = -1;
6
6
  constructor(id) {
@@ -122,3 +122,5 @@ export const separator = ui.separator.bind(ui);
122
122
  export const beginGroup = ui.beginGroup.bind(ui);
123
123
  /** End a widget group. */
124
124
  export const endGroup = ui.endGroup.bind(ui);
125
+ /** Spinner to indicate loading. */
126
+ export const spinner = ui.spinner.bind(ui);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wonderlandengine/editor-api",
3
- "version": "1.2.3-dev.1",
3
+ "version": "1.2.4",
4
4
  "description": "Wonderland Engine's Editor API for plugins - very experimental.",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",
@@ -11,7 +11,7 @@
11
11
  },
12
12
  "repository": {
13
13
  "type": "git",
14
- "url": "git+https://github.com/WonderlandEngine/api.git"
14
+ "url": "git+https://github.com/WonderlandEngine/editor-api.git"
15
15
  },
16
16
  "keywords": [
17
17
  "webxr",