@node-projects/web-component-designer 0.1.92 → 0.1.93

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.
@@ -6,3 +6,4 @@ export declare function dataURItoBlob(dataURI: any): Blob;
6
6
  export declare function pointInRect(point: IPoint, rect: IRect): boolean;
7
7
  export declare function removeTrailing(text: string, char: string): string;
8
8
  export declare function removeLeading(text: string, char: string): string;
9
+ export declare function requestAnimationFramePromise(): Promise<unknown>;
@@ -34,3 +34,6 @@ export function removeLeading(text, char) {
34
34
  return text.substring(1);
35
35
  return text;
36
36
  }
37
+ export function requestAnimationFramePromise() {
38
+ return new Promise(resolve => requestAnimationFrame(resolve));
39
+ }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "description": "A UI designer for Polymer apps",
3
3
  "name": "@node-projects/web-component-designer",
4
- "version": "0.1.92",
4
+ "version": "0.1.93",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
7
7
  "author": "jochen.kuehner@gmx.de",