@reactunity/renderer 0.23.2 → 0.24.0

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.
@@ -0,0 +1 @@
1
+ import "./jsx-BRwefwcW.js";
package/dist/index.d.ts CHANGED
@@ -1,9 +1,9 @@
1
- import { n as UnityEngine, r as System, t as Unity } from "./unity-BQNCBoTP.js";
2
- import { t as UnityEditor } from "./editor-Ds4U7pg6.js";
3
- import { $ as FontWeight, A as AssetReference, B as Vector3Aux, C as Position, D as Array2Aux, E as YogaJustify, F as KnownColor, G as BackgroundBlendMode, H as AnimationFillMode, I as NumberAux, J as BorderImageRepeat, K as BackgroundRepeat, L as PositioningLiteral, M as ColorAux, N as HexColor, O as Array3Aux, P as HttpSource, Q as FontStyles, R as RectOffsetAux, S as Overflow, T as YogaAlign, U as AnimationPlayState, V as AnimationDirection, W as Appearance, X as CssKeyword, Y as BorderStyle, Z as CursorType, _ as YogaValueAux, a as Textable, at as TextTransform, b as Display, c as Yoga, ct as Visibility, d as RenderStyle, dt as SafeString, et as NavigationMode, f as Layout, ft as ScrollDirection, g as YogaValue4Aux, h as YogaValue2Aux, it as TextOverflowModes, j as AssetReferenceOrHttp, k as Array4Aux, l as InlineStyleRemap, lt as WhiteSpace, m as LayoutExtended, nt as PointerEvents, ot as TimingFunctionType, p as LayoutCssCompatible, q as BackgroundSize, rt as TextAlign, s as ReactUnity, st as VerticalAlign, tt as ObjectFit, u as Style, ut as AnchorTarget, v as BoxSizing, w as Wrap, x as FlexDirection, y as Direction, z as Vector2Aux } from "./base-BT2GMEbv.js";
4
- import { t as NUnit } from "./tests-DbTTvHZm.js";
5
- import { p as Icon } from "./jsx-DXzVL17E.js";
6
- import "./index-CBMYN8iy.js";
1
+ import { n as UnityEngine, r as System, t as Unity } from "./unity-CqyiwXyf.js";
2
+ import { t as UnityEditor } from "./editor-DwsHqUiS.js";
3
+ import { $ as CursorType, A as AssetReference, B as Vector3Aux, C as Position, Ct as AnchorTarget, D as Array2Aux, E as YogaJustify, F as KnownColor, G as BackgroundBlendMode, H as AnimationFillMode, I as NumberAux, J as BorderImageRepeat, K as BackgroundRepeat, L as PositioningLiteral, M as ColorAux, N as HexColor, O as Array3Aux, P as HttpSource, Q as CssKeyword, R as RectOffsetAux, S as Overflow, St as WhiteSpace, T as YogaAlign, Tt as ScrollDirection, U as AnimationPlayState, V as AnimationDirection, W as Appearance, X as ColorScheme, Y as BorderStyle, Z as ContainerType, _ as YogaValueAux, _t as TextTransform, a as Textable, at as MaskMode, b as Display, bt as VerticalAlign, c as Yoga, ct as ObjectFit, d as RenderStyle, dt as ScrollSnapAlign, et as FontStyles, f as Layout, ft as ScrollSnapAlignment, g as YogaValue4Aux, gt as TextOverflowModes, h as YogaValue2Aux, ht as TextAlign, it as Isolation, j as AssetReferenceOrHttp, k as Array4Aux, l as InlineStyleRemap, lt as PointerEvents, m as LayoutExtended, mt as ScrollSnapType, nt as FontWeight, ot as MixBlendMode, p as LayoutCssCompatible, pt as ScrollSnapAxis, q as BackgroundSize, rt as ImageRendering, s as ReactUnity, st as NavigationMode, tt as FontVariant, u as Style, ut as ScrollBehavior, v as BoxSizing, vt as TimelineAxis, w as Wrap, wt as SafeString, x as FlexDirection, xt as Visibility, y as Direction, yt as TimingFunctionType, z as Vector2Aux } from "./base-FL2QIa13.js";
4
+ import { t as NUnit } from "./tests-ByeoZtD1.js";
5
+ import { p as Icon } from "./jsx-BRwefwcW.js";
6
+ import "./index-CEmZZAHV.js";
7
7
  import * as React$1 from "react";
8
8
  import Reconciler from "react-reconciler";
9
9
  import { UnityInstance } from "react-unity-webgl";
@@ -584,5 +584,5 @@ declare const ReactUnityRenderer: {
584
584
  unstable_batchedUpdates: <A, R>(fn: (a: A) => R, a: A) => R;
585
585
  };
586
586
  //#endregion
587
- export { AnchorTarget, AnimationDirection, AnimationFillMode, AnimationPlayState, Appearance, Array2Aux, Array3Aux, Array4Aux, AssetReference, AssetReferenceOrHttp, BackgroundBlendMode, BackgroundRepeat, BackgroundSize, BorderImageRepeat, BorderStyle, BoxSizing, ChildSet, ColorAux, CommonConfig, CssKeyword, CursorType, DefaultIconNames, DictionaryWatcher, Direction, Display, FlexDirection, FontStyles, FontWeight, FormInstance, GlobalsProvider, HexColor, HostContext, HttpSource, HydratableInstance, InlineStyleRemap, InstanceTag, KnownColor, Layout, LayoutCssCompatible, LayoutExtended, NUnit, Namespace, NamespaceMap, NativeContainerInstance, NativeInstance, NativeTextInstance, NavigationMode, NoTimeout, NumberAux, ObjectFit, Overflow, PointerEvents, Position, PositioningLiteral, Props, PublicInstance, ReactUnity, RectOffsetAux, RenderStyle, Renderer, SafeString, ScrollDirection, Style, SuspenseInstance, System, TextAlign, TextOverflowModes, TextTransform, TimeoutHandle, TimingFunctionType, TransitionStatus, Unique, Unity, UnityEditor, UnityEngine, Vector2Aux, Vector3Aux, VerticalAlign, Visibility, WhiteSpace, Wrap, Yoga, YogaAlign, YogaJustify, YogaValue2Aux, YogaValue4Aux, YogaValueAux, batchedUpdates, batchedUpdates as unstable_batchedUpdates, createDictionaryWatcher, ReactUnityRenderer as default, flushSync, icon, render, useGlobals, useGlobalsContext, useGlobalsSelector, useReactiveValue };
587
+ export { AnchorTarget, AnimationDirection, AnimationFillMode, AnimationPlayState, Appearance, Array2Aux, Array3Aux, Array4Aux, AssetReference, AssetReferenceOrHttp, BackgroundBlendMode, BackgroundRepeat, BackgroundSize, BorderImageRepeat, BorderStyle, BoxSizing, ChildSet, ColorAux, ColorScheme, CommonConfig, ContainerType, CssKeyword, CursorType, DefaultIconNames, DictionaryWatcher, Direction, Display, FlexDirection, FontStyles, FontVariant, FontWeight, FormInstance, GlobalsProvider, HexColor, HostContext, HttpSource, HydratableInstance, ImageRendering, InlineStyleRemap, InstanceTag, Isolation, KnownColor, Layout, LayoutCssCompatible, LayoutExtended, MaskMode, MixBlendMode, NUnit, Namespace, NamespaceMap, NativeContainerInstance, NativeInstance, NativeTextInstance, NavigationMode, NoTimeout, NumberAux, ObjectFit, Overflow, PointerEvents, Position, PositioningLiteral, Props, PublicInstance, ReactUnity, RectOffsetAux, RenderStyle, Renderer, SafeString, ScrollBehavior, ScrollDirection, ScrollSnapAlign, ScrollSnapAlignment, ScrollSnapAxis, ScrollSnapType, Style, SuspenseInstance, System, TextAlign, TextOverflowModes, TextTransform, TimelineAxis, TimeoutHandle, TimingFunctionType, TransitionStatus, Unique, Unity, UnityEditor, UnityEngine, Vector2Aux, Vector3Aux, VerticalAlign, Visibility, WhiteSpace, Wrap, Yoga, YogaAlign, YogaJustify, YogaValue2Aux, YogaValue4Aux, YogaValueAux, batchedUpdates, batchedUpdates as unstable_batchedUpdates, createDictionaryWatcher, ReactUnityRenderer as default, flushSync, icon, render, useGlobals, useGlobalsContext, useGlobalsSelector, useReactiveValue };
588
588
  //# sourceMappingURL=index.d.ts.map
@@ -1,5 +1,5 @@
1
- import { n as UnityEngine } from "./unity-BQNCBoTP.js";
2
- import { A as AssetReference, a as Textable, ft as ScrollDirection, i as ContentSrcProps, j as AssetReferenceOrHttp, n as BaseElements, o as SVGEelement, r as BaseEvents, s as ReactUnity, t as BaseCmpProps, ut as AnchorTarget } from "./base-BT2GMEbv.js";
1
+ import { n as UnityEngine } from "./unity-CqyiwXyf.js";
2
+ import { A as AssetReference, Ct as AnchorTarget, Tt as ScrollDirection, a as Textable, i as ContentSrcProps, j as AssetReferenceOrHttp, n as BaseElements, o as SVGEelement, r as BaseEvents, s as ReactUnity, t as BaseCmpProps } from "./base-FL2QIa13.js";
3
3
  import { RefAttributes } from "react";
4
4
  //#region src/models/ugui/events.d.ts
5
5
  type BaseCmp$1 = ReactUnity.UGUI.UGUIComponent;
@@ -92,6 +92,7 @@ interface Scroll extends View<ReactUnity.UGUI.ScrollComponent> {
92
92
  onValueChanged?: (ev: UnityEngine.Vector2, sender: ReactUnity.UGUI.ScrollComponent) => void;
93
93
  direction?: ScrollDirection;
94
94
  alwaysShow?: ScrollDirection;
95
+ /** How far one wheel tick scrolls, in points. Defaults to 100, about a browser's notch. */
95
96
  sensitivity?: number;
96
97
  elasticity?: number;
97
98
  smoothness?: number;
@@ -228,4 +229,4 @@ declare namespace JSX {
228
229
  }
229
230
  //#endregion
230
231
  export { BaseEventCallback as A, SvgImage as C, View as D, Video as E, KeyEventCallback as M, PointerEventCallback as N, ActionCallback as O, ResizeEventCallback as P, Svg as S, Toggle as T, Portal as _, Input as a, Render as b, TextSelectionEvent as c, BaseImage as d, Button as f, Object$1 as g, Label as h, ContentType as i, Events as j, AxisEventCallback as k, TouchScreenKeyboardType as l, Image as m, UGUIElements as n, InputEvent as o, Icon as p, CharacterValidation as r, LineType as s, JSX as t, Anchor as u, Prefab as v, Text as w, Scroll as x, RawImage as y };
231
- //# sourceMappingURL=jsx-DXzVL17E.d.ts.map
232
+ //# sourceMappingURL=jsx-BRwefwcW.d.ts.map
@@ -1,5 +1,5 @@
1
- import { a as Textable, n as BaseElements, o as SVGEelement, s as ReactUnity } from "./base-BT2GMEbv.js";
2
- import { _ as Toggle, a as Button, b as View, c as Image, d as Scroll, f as Slider, g as TextField, h as Text, i as Bindable, l as Portal, m as Svg, o as IMGUI, s as Icon, t as Anchor, u as Range, y as ValueComponent } from "./components-Cbty8Ffc.js";
1
+ import { a as Textable, n as BaseElements, o as SVGEelement, s as ReactUnity } from "./base-FL2QIa13.js";
2
+ import { _ as Toggle, a as Button, b as View, c as Image, d as Scroll, f as Slider, g as TextField, h as Text, i as Bindable, l as Portal, m as Svg, o as IMGUI, s as Icon, t as Anchor, u as Range, y as ValueComponent } from "./components-BL4KGbQ4.js";
3
3
  import * as rc from "react";
4
4
  type Children<T = any> = {
5
5
  children?: T;
@@ -54,4 +54,4 @@ declare namespace JSX {
54
54
  }
55
55
  //#endregion
56
56
  export { UIToolkitElements as n, JSX as t };
57
- //# sourceMappingURL=jsx-BZUfiU1y.d.ts.map
57
+ //# sourceMappingURL=jsx-C3umXnyu.d.ts.map
@@ -1,6 +1,6 @@
1
- import { n as UnityEngine, r as System } from "./unity-BQNCBoTP.js";
2
- import { a as Textable, n as BaseElements, o as SVGEelement, s as ReactUnity } from "./base-BT2GMEbv.js";
3
- import { _ as Toggle, a as Button, b as View, c as Image, f as Slider, g as TextField, i as Bindable, m as Svg, n as BaseField, o as IMGUI, t as Anchor, u as Range, y as ValueComponent } from "./components-Cbty8Ffc.js";
1
+ import { n as UnityEngine, r as System } from "./unity-CqyiwXyf.js";
2
+ import { a as Textable, n as BaseElements, o as SVGEelement, s as ReactUnity } from "./base-FL2QIa13.js";
3
+ import { _ as Toggle, a as Button, b as View, c as Image, f as Slider, g as TextField, i as Bindable, m as Svg, n as BaseField, o as IMGUI, t as Anchor, u as Range, y as ValueComponent } from "./components-BL4KGbQ4.js";
4
4
  import * as rc from "react";
5
5
  //#region src/models/editor/components.d.ts
6
6
  interface EnumProps extends BaseField<number> {
@@ -111,4 +111,4 @@ declare namespace JSX {
111
111
  }
112
112
  //#endregion
113
113
  export { ObjectProps as a, EnumProps as i, JSX as n, DialogProps as r, EditorElements as t };
114
- //# sourceMappingURL=jsx-9V8cIFit.d.ts.map
114
+ //# sourceMappingURL=jsx-pk0p8f7A.d.ts.map
@@ -1,4 +1,4 @@
1
- import { r as System } from "./unity-BQNCBoTP.js";
1
+ import { r as System } from "./unity-CqyiwXyf.js";
2
2
  //#region src/models/generated/tests.d.ts
3
3
  type Byte = number;
4
4
  declare namespace NUnit {
@@ -289,7 +289,6 @@ declare namespace NUnit {
289
289
  NaN: NUnit.Framework.Constraints.NaNConstraint;
290
290
  Empty: NUnit.Framework.Constraints.EmptyConstraint;
291
291
  Unique: NUnit.Framework.Constraints.UniqueItemsConstraint;
292
- BinarySerializable: NUnit.Framework.Constraints.BinarySerializableConstraint;
293
292
  XmlSerializable: NUnit.Framework.Constraints.XmlSerializableConstraint;
294
293
  Ordered: NUnit.Framework.Constraints.CollectionOrderedConstraint;
295
294
  Expect(condition: boolean, message: string, ...args: any[]): void;
@@ -622,7 +621,6 @@ declare namespace NUnit {
622
621
  static NaN: NUnit.Framework.Constraints.NaNConstraint;
623
622
  static Empty: NUnit.Framework.Constraints.EmptyConstraint;
624
623
  static Unique: NUnit.Framework.Constraints.UniqueItemsConstraint;
625
- static BinarySerializable: NUnit.Framework.Constraints.BinarySerializableConstraint;
626
624
  static XmlSerializable: NUnit.Framework.Constraints.XmlSerializableConstraint;
627
625
  static Ordered: NUnit.Framework.Constraints.CollectionOrderedConstraint;
628
626
  static EqualTo(expected: any): NUnit.Framework.Constraints.EqualConstraint;
@@ -1130,23 +1128,6 @@ declare namespace NUnit {
1130
1128
  GetHashCode(): number;
1131
1129
  GetType(): System.Type;
1132
1130
  }
1133
- class BinarySerializableConstraint {
1134
- constructor();
1135
- Description: string;
1136
- DisplayName: string;
1137
- Arguments: any[];
1138
- Builder: NUnit.Framework.Constraints.ConstraintBuilder;
1139
- And: NUnit.Framework.Constraints.ConstraintExpression;
1140
- With: NUnit.Framework.Constraints.ConstraintExpression;
1141
- Or: NUnit.Framework.Constraints.ConstraintExpression;
1142
- ApplyTo(actual: any): NUnit.Framework.Constraints.ConstraintResult;
1143
- ToString(): string;
1144
- After(delayInMilliseconds: number): NUnit.Framework.Constraints.DelayedConstraint;
1145
- After(delayInMilliseconds: number, pollingInterval: number): NUnit.Framework.Constraints.DelayedConstraint;
1146
- Equals(obj: any): boolean;
1147
- GetHashCode(): number;
1148
- GetType(): System.Type;
1149
- }
1150
1131
  class CollectionConstraint {
1151
1132
  DisplayName: string;
1152
1133
  Description: string;
@@ -1384,7 +1365,6 @@ declare namespace NUnit {
1384
1365
  NaN: NUnit.Framework.Constraints.NaNConstraint;
1385
1366
  Empty: NUnit.Framework.Constraints.EmptyConstraint;
1386
1367
  Unique: NUnit.Framework.Constraints.UniqueItemsConstraint;
1387
- BinarySerializable: NUnit.Framework.Constraints.BinarySerializableConstraint;
1388
1368
  XmlSerializable: NUnit.Framework.Constraints.XmlSerializableConstraint;
1389
1369
  Ordered: NUnit.Framework.Constraints.CollectionOrderedConstraint;
1390
1370
  Exist: NUnit.Framework.Constraints.Constraint;
@@ -1456,7 +1436,6 @@ declare namespace NUnit {
1456
1436
  NaN: NUnit.Framework.Constraints.NaNConstraint;
1457
1437
  Empty: NUnit.Framework.Constraints.EmptyConstraint;
1458
1438
  Unique: NUnit.Framework.Constraints.UniqueItemsConstraint;
1459
- BinarySerializable: NUnit.Framework.Constraints.BinarySerializableConstraint;
1460
1439
  XmlSerializable: NUnit.Framework.Constraints.XmlSerializableConstraint;
1461
1440
  Ordered: NUnit.Framework.Constraints.CollectionOrderedConstraint;
1462
1441
  static Exactly(expectedCount: number): NUnit.Framework.Constraints.ConstraintExpression;
@@ -2475,7 +2454,6 @@ declare namespace NUnit {
2475
2454
  NaN: NUnit.Framework.Constraints.NaNConstraint;
2476
2455
  Empty: NUnit.Framework.Constraints.EmptyConstraint;
2477
2456
  Unique: NUnit.Framework.Constraints.UniqueItemsConstraint;
2478
- BinarySerializable: NUnit.Framework.Constraints.BinarySerializableConstraint;
2479
2457
  XmlSerializable: NUnit.Framework.Constraints.XmlSerializableConstraint;
2480
2458
  Ordered: NUnit.Framework.Constraints.CollectionOrderedConstraint;
2481
2459
  Exist: NUnit.Framework.Constraints.Constraint;
@@ -5041,4 +5019,4 @@ declare namespace NUnit {
5041
5019
  }
5042
5020
  //#endregion
5043
5021
  export { NUnit as t };
5044
- //# sourceMappingURL=tests-DbTTvHZm.d.ts.map
5022
+ //# sourceMappingURL=tests-ByeoZtD1.d.ts.map
package/dist/tests.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- import { n as UnityEngine } from "./unity-BQNCBoTP.js";
2
- import { t as NUnit } from "./tests-DbTTvHZm.js";
1
+ import { n as UnityEngine } from "./unity-CqyiwXyf.js";
2
+ import { t as NUnit } from "./tests-ByeoZtD1.js";
3
3
  //#region src/models/tests/index.d.ts
4
4
  declare global {
5
5
  var Assert: NUnit.Framework.Assert;
@@ -1,3 +1,3 @@
1
- import { A as BaseEventCallback, C as SvgImage, D as View, E as Video, M as KeyEventCallback, N as PointerEventCallback, O as ActionCallback, P as ResizeEventCallback, S as Svg, T as Toggle, _ as Portal, a as Input, b as Render, c as TextSelectionEvent, d as BaseImage, f as Button, g as Object$1, h as Label, i as ContentType, j as Events, k as AxisEventCallback, l as TouchScreenKeyboardType, m as Image, n as UGUIElements, o as InputEvent, p as Icon, r as CharacterValidation, s as LineType, t as JSX, u as Anchor, v as Prefab, w as Text, x as Scroll, y as RawImage } from "../jsx-DXzVL17E.js";
2
- import "../index-CBMYN8iy.js";
1
+ import { A as BaseEventCallback, C as SvgImage, D as View, E as Video, M as KeyEventCallback, N as PointerEventCallback, O as ActionCallback, P as ResizeEventCallback, S as Svg, T as Toggle, _ as Portal, a as Input, b as Render, c as TextSelectionEvent, d as BaseImage, f as Button, g as Object$1, h as Label, i as ContentType, j as Events, k as AxisEventCallback, l as TouchScreenKeyboardType, m as Image, n as UGUIElements, o as InputEvent, p as Icon, r as CharacterValidation, s as LineType, t as JSX, u as Anchor, v as Prefab, w as Text, x as Scroll, y as RawImage } from "../jsx-BRwefwcW.js";
2
+ import "../index-CEmZZAHV.js";
3
3
  export { ActionCallback, Anchor, AxisEventCallback, BaseEventCallback, BaseImage, Button, CharacterValidation, ContentType, Events, Icon, Image, Input, InputEvent, JSX, KeyEventCallback, Label, LineType, Object$1 as Object, PointerEventCallback, Portal, Prefab, RawImage, Render, ResizeEventCallback, Scroll, Svg, SvgImage, Text, TextSelectionEvent, Toggle, TouchScreenKeyboardType, UGUIElements, Video, View };
@@ -1,3 +1,3 @@
1
- import { t as JSX } from "../jsx-DXzVL17E.js";
1
+ import { t as JSX } from "../jsx-BRwefwcW.js";
2
2
  import { Fragment, JSXSource, jsxDEV } from "react/jsx-dev-runtime";
3
3
  export { Fragment, type JSX, type JSXSource, jsxDEV };
@@ -1,3 +1,3 @@
1
- import { t as JSX } from "../jsx-DXzVL17E.js";
1
+ import { t as JSX } from "../jsx-BRwefwcW.js";
2
2
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
3
3
  export { Fragment, type JSX, jsx, jsxs };
@@ -1,3 +1,3 @@
1
- import { C as Events, S as BaseEventCallback, _ as Toggle, a as Button, b as View, c as Image, d as Scroll, f as Slider, g as TextField, h as Text, i as Bindable, l as Portal, m as Svg, n as BaseField, o as IMGUI, p as StringField, r as BaseSlider, s as Icon, t as Anchor, u as Range, v as ToggleEvent, w as Handler, x as ActionCallback, y as ValueComponent } from "../components-Cbty8Ffc.js";
2
- import { n as UIToolkitElements, t as JSX } from "../jsx-BZUfiU1y.js";
1
+ import { C as Events, S as BaseEventCallback, _ as Toggle, a as Button, b as View, c as Image, d as Scroll, f as Slider, g as TextField, h as Text, i as Bindable, l as Portal, m as Svg, n as BaseField, o as IMGUI, p as StringField, r as BaseSlider, s as Icon, t as Anchor, u as Range, v as ToggleEvent, w as Handler, x as ActionCallback, y as ValueComponent } from "../components-BL4KGbQ4.js";
2
+ import { n as UIToolkitElements, t as JSX } from "../jsx-C3umXnyu.js";
3
3
  export { ActionCallback, Anchor, BaseEventCallback, BaseField, BaseSlider, Bindable, Button, Events, Handler, IMGUI, Icon, Image, JSX, Portal, Range, Scroll, Slider, StringField, Svg, Text, TextField, Toggle, ToggleEvent, UIToolkitElements, ValueComponent, View };
@@ -1,3 +1,3 @@
1
- import { t as JSX } from "../jsx-BZUfiU1y.js";
1
+ import { t as JSX } from "../jsx-C3umXnyu.js";
2
2
  import { Fragment, JSXSource, jsxDEV } from "react/jsx-dev-runtime";
3
3
  export { Fragment, type JSX, type JSXSource, jsxDEV };
@@ -1,3 +1,3 @@
1
- import { t as JSX } from "../jsx-BZUfiU1y.js";
1
+ import { t as JSX } from "../jsx-C3umXnyu.js";
2
2
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
3
3
  export { Fragment, type JSX, jsx, jsxs };