@reactunity/renderer 0.13.2 → 0.14.1

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.
Files changed (55) hide show
  1. package/dist/index.d.ts +2 -1
  2. package/dist/index.js +2 -1
  3. package/dist/src/helpers/dictionary-watcher.d.ts +17 -8
  4. package/dist/src/helpers/dictionary-watcher.js +50 -25
  5. package/dist/src/helpers/hooks/use-globals.d.ts +6 -0
  6. package/dist/src/helpers/hooks/use-globals.js +6 -0
  7. package/dist/src/helpers/hooks/use-watchable.d.ts +4 -0
  8. package/dist/src/helpers/hooks/use-watchable.js +26 -0
  9. package/dist/src/helpers/icons.d.ts +2 -2
  10. package/dist/src/models/base.d.ts +8 -8
  11. package/dist/src/models/editor/components.d.ts +2 -2
  12. package/dist/src/models/editor/events.d.ts +4 -4
  13. package/dist/src/models/editor/jsx.d.ts +5 -5
  14. package/dist/src/models/environment/dom/common.d.ts +5 -5
  15. package/dist/src/models/environment/dom/fetch.d.ts +10 -10
  16. package/dist/src/models/environment/dom/xhr.d.ts +2 -2
  17. package/dist/src/models/environment/interop.d.ts +2 -2
  18. package/dist/src/models/generated/editor.d.ts +15016 -11979
  19. package/dist/src/models/generated/editor.js +1 -1
  20. package/dist/src/models/generated/react.d.ts +1336 -417
  21. package/dist/src/models/generated/react.js +1 -1
  22. package/dist/src/models/generated/system.d.ts +2602 -2704
  23. package/dist/src/models/generated/system.js +2 -2
  24. package/dist/src/models/generated/tests.d.ts +228 -231
  25. package/dist/src/models/generated/tests.js +1 -1
  26. package/dist/src/models/generated/unity.d.ts +7998 -14519
  27. package/dist/src/models/generated/unity.js +2 -2
  28. package/dist/src/models/generated/yoga.d.ts +1 -1
  29. package/dist/src/models/generated/yoga.js +1 -1
  30. package/dist/src/models/properties/colors.d.ts +1 -1
  31. package/dist/src/models/properties/style.d.ts +7 -2
  32. package/dist/src/models/properties/styles-enums.d.ts +24 -19
  33. package/dist/src/models/properties/styles.d.ts +76 -60
  34. package/dist/src/models/properties/values.d.ts +16 -16
  35. package/dist/src/models/properties/yoga-enums.d.ts +8 -8
  36. package/dist/src/models/properties/yoga.d.ts +16 -16
  37. package/dist/src/models/renderer.d.ts +14 -14
  38. package/dist/src/models/richtext.d.ts +6 -2
  39. package/dist/src/models/svg.d.ts +2 -2
  40. package/dist/src/models/ugui/components.d.ts +1 -1
  41. package/dist/src/models/ugui/events.d.ts +7 -7
  42. package/dist/src/models/ugui/input.d.ts +6 -6
  43. package/dist/src/models/ugui/jsx.d.ts +2 -2
  44. package/dist/src/models/uitoolkit/components.d.ts +2 -2
  45. package/dist/src/models/uitoolkit/events.d.ts +4 -4
  46. package/dist/src/models/uitoolkit/jsx.d.ts +2 -2
  47. package/dist/src/renderer/async/commands.d.ts +14 -14
  48. package/dist/src/renderer/async/types.d.ts +10 -10
  49. package/dist/src/renderer/diffing.d.ts +1 -1
  50. package/dist/src/version.d.ts +1 -1
  51. package/dist/src/version.js +1 -1
  52. package/dist/src/views/default-view.js +1 -2
  53. package/package.json +5 -5
  54. package/dist/src/helpers/watcher.d.ts +0 -2
  55. package/dist/src/helpers/watcher.js +0 -14
@@ -1,6 +1,6 @@
1
1
  import { AddEventListenerOptions, Blob, BufferSource, EventInit, EventListenerOptions, EventListenerOrEventListenerObject, FormData, URL, URLSearchParams } from "./common";
2
- declare type XMLHttpRequestBodyInit = Blob | BufferSource | FormData | URLSearchParams | string;
3
- declare type XMLHttpRequestResponseType = "" | "arraybuffer" | "blob" | "document" | "json" | "text";
2
+ type XMLHttpRequestBodyInit = Blob | BufferSource | FormData | URLSearchParams | string;
3
+ type XMLHttpRequestResponseType = "" | "arraybuffer" | "blob" | "document" | "json" | "text";
4
4
  /** Use XMLHttpRequest (XHR) objects to interact with servers. You can retrieve data from a URL without having to do a full page refresh. This enables a Web page to update just part of a page without disrupting what the user is doing. */
5
5
  export interface XMLHttpRequest extends XMLHttpRequestEventTarget {
6
6
  onreadystatechange: ((this: XMLHttpRequest, ev: Event) => any) | null;
@@ -1,5 +1,5 @@
1
1
  import { Facebook, ReactUnity, System, UnityEditor, UnityEngine } from '../generated';
2
- export declare type NamespaceMap = {
2
+ export type NamespaceMap = {
3
3
  [key: string]: any;
4
4
  System: typeof System;
5
5
  UnityEngine: typeof UnityEngine;
@@ -7,7 +7,7 @@ export declare type NamespaceMap = {
7
7
  ReactUnity: typeof ReactUnity;
8
8
  Facebook: typeof Facebook;
9
9
  };
10
- export declare type Namespace = keyof NamespaceMap;
10
+ export type Namespace = keyof NamespaceMap;
11
11
  declare global {
12
12
  interface DefaultInterop {
13
13
  System: typeof System;