@reactunity/renderer 0.15.2 → 0.16.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.
- package/dist/editor/index.d.ts +1 -0
- package/dist/editor/index.js +1 -0
- package/dist/editor/jsx-dev-runtime.d.ts +2 -0
- package/dist/editor/jsx-dev-runtime.js +1 -0
- package/dist/editor/jsx-runtime.d.ts +2 -0
- package/dist/editor/jsx-runtime.js +1 -0
- package/dist/index.d.ts +9 -9
- package/dist/index.js +9 -9
- package/dist/src/helpers/dictionary-watcher.d.ts +66 -66
- package/dist/src/helpers/dictionary-watcher.js +100 -98
- package/dist/src/helpers/hooks/use-globals.d.ts +6 -6
- package/dist/src/helpers/hooks/use-globals.js +6 -6
- package/dist/src/helpers/hooks/use-reactive-value.d.ts +4 -4
- package/dist/src/helpers/hooks/use-reactive-value.js +27 -27
- package/dist/src/helpers/icons.d.ts +11 -7
- package/dist/src/helpers/icons.js +29 -29
- package/dist/src/models/base.d.ts +56 -56
- package/dist/src/models/base.js +2 -2
- package/dist/src/models/editor/components.d.ts +22 -22
- package/dist/src/models/editor/components.js +1 -1
- package/dist/src/models/editor/environment.d.ts +9 -10
- package/dist/src/models/editor/environment.js +1 -1
- package/dist/src/models/editor/index.d.ts +3 -3
- package/dist/src/models/editor/index.js +3 -3
- package/dist/src/models/editor/jsx.d.ts +111 -104
- package/dist/src/models/editor/jsx.js +1 -1
- package/dist/src/models/environment/dom/common.d.ts +85 -85
- package/dist/src/models/environment/dom/common.js +1 -1
- package/dist/src/models/environment/dom/fetch.d.ts +111 -111
- package/dist/src/models/environment/dom/fetch.js +1 -1
- package/dist/src/models/environment/dom/global.d.ts +11 -11
- package/dist/src/models/environment/dom/global.js +1 -1
- package/dist/src/models/environment/dom/xhr.d.ts +161 -161
- package/dist/src/models/environment/dom/xhr.js +1 -1
- package/dist/src/models/environment/index.d.ts +43 -47
- package/dist/src/models/environment/index.js +2 -3
- package/dist/src/models/environment/interop.d.ts +23 -23
- package/dist/src/models/environment/interop.js +1 -1
- package/dist/src/models/generated/editor.d.ts +18501 -18501
- package/dist/src/models/generated/editor.js +6 -6
- package/dist/src/models/generated/index.d.ts +6 -6
- package/dist/src/models/generated/index.js +6 -6
- package/dist/src/models/generated/react.d.ts +15214 -15214
- package/dist/src/models/generated/react.js +6 -6
- package/dist/src/models/generated/system.d.ts +36731 -36731
- package/dist/src/models/generated/system.js +6 -6
- package/dist/src/models/generated/tests.d.ts +5023 -5023
- package/dist/src/models/generated/tests.js +6 -6
- package/dist/src/models/generated/unity.d.ts +43446 -43446
- package/dist/src/models/generated/unity.js +6 -6
- package/dist/src/models/generated/yoga.d.ts +368 -368
- package/dist/src/models/generated/yoga.js +6 -6
- package/dist/src/models/properties/colors.d.ts +150 -150
- package/dist/src/models/properties/colors.js +1 -1
- package/dist/src/models/properties/common.d.ts +2 -2
- package/dist/src/models/properties/common.js +1 -1
- package/dist/src/models/properties/index.d.ts +7 -7
- package/dist/src/models/properties/index.js +7 -7
- package/dist/src/models/properties/style.d.ts +10 -10
- package/dist/src/models/properties/style.js +1 -1
- package/dist/src/models/properties/styles-enums.d.ts +23 -23
- package/dist/src/models/properties/styles-enums.js +1 -1
- package/dist/src/models/properties/styles.d.ts +127 -127
- package/dist/src/models/properties/styles.js +1 -1
- package/dist/src/models/properties/values.d.ts +24 -24
- package/dist/src/models/properties/values.js +1 -1
- package/dist/src/models/properties/yoga-enums.d.ts +8 -8
- package/dist/src/models/properties/yoga-enums.js +1 -1
- package/dist/src/models/properties/yoga.d.ts +66 -66
- package/dist/src/models/properties/yoga.js +1 -1
- package/dist/src/models/renderer.d.ts +20 -20
- package/dist/src/models/renderer.js +1 -1
- package/dist/src/models/richtext.d.ts +69 -69
- package/dist/src/models/richtext.js +2 -2
- package/dist/src/models/svg.d.ts +68 -68
- package/dist/src/models/svg.js +1 -1
- package/dist/src/models/tests/index.d.ts +12 -12
- package/dist/src/models/tests/index.js +1 -1
- package/dist/src/models/ugui/components.d.ts +86 -86
- package/dist/src/models/ugui/components.js +1 -1
- package/dist/src/models/ugui/events.d.ts +74 -74
- package/dist/src/models/ugui/events.js +2 -2
- package/dist/src/models/ugui/index.d.ts +4 -4
- package/dist/src/models/ugui/index.js +4 -4
- package/dist/src/models/ugui/input.d.ts +26 -26
- package/dist/src/models/ugui/input.js +1 -1
- package/dist/src/models/ugui/jsx.d.ts +67 -60
- package/dist/src/models/ugui/jsx.js +1 -1
- package/dist/src/models/uitoolkit/components.d.ts +82 -82
- package/dist/src/models/uitoolkit/components.js +1 -1
- package/dist/src/models/uitoolkit/events.d.ts +64 -64
- package/dist/src/models/uitoolkit/events.js +1 -1
- package/dist/src/models/uitoolkit/index.d.ts +3 -3
- package/dist/src/models/uitoolkit/index.js +3 -3
- package/dist/src/models/uitoolkit/jsx.d.ts +71 -64
- package/dist/src/models/uitoolkit/jsx.js +1 -1
- package/dist/src/renderer/async/callbacks.d.ts +5 -6
- package/dist/src/renderer/async/callbacks.js +52 -52
- package/dist/src/renderer/async/commands.d.ts +98 -47
- package/dist/src/renderer/async/commands.js +1 -1
- package/dist/src/renderer/async/objects.d.ts +7 -8
- package/dist/src/renderer/async/objects.js +31 -31
- package/dist/src/renderer/async/reconciler.d.ts +2 -2
- package/dist/src/renderer/async/reconciler.js +304 -283
- package/dist/src/renderer/async/serializer.d.ts +6 -9
- package/dist/src/renderer/async/serializer.js +31 -31
- package/dist/src/renderer/async/types.d.ts +45 -45
- package/dist/src/renderer/async/types.js +1 -1
- package/dist/src/renderer/constants.d.ts +30 -30
- package/dist/src/renderer/constants.js +70 -70
- package/dist/src/renderer/diffing.d.ts +3 -3
- package/dist/src/renderer/diffing.js +83 -83
- package/dist/src/renderer/renderer.d.ts +26 -26
- package/dist/src/renderer/renderer.js +93 -93
- package/dist/src/renderer/subcontexts/index.d.ts +6 -6
- package/dist/src/renderer/subcontexts/index.js +6 -6
- package/dist/src/renderer/subcontexts/richtext.d.ts +3 -3
- package/dist/src/renderer/subcontexts/richtext.js +52 -52
- package/dist/src/renderer/subcontexts/svg.d.ts +3 -3
- package/dist/src/renderer/subcontexts/svg.js +70 -70
- package/dist/src/renderer/sync/reconciler.d.ts +2 -2
- package/dist/src/renderer/sync/reconciler.js +35 -35
- package/dist/src/version.d.ts +1 -1
- package/dist/src/version.js +1 -1
- package/dist/src/views/default-view.d.ts +8 -8
- package/dist/src/views/default-view.js +7 -7
- package/dist/src/views/error-boundary.d.ts +10 -10
- package/dist/src/views/error-boundary.js +42 -53
- package/dist/src/webgl-compat/error-messages.d.ts +9 -9
- package/dist/src/webgl-compat/error-messages.js +10 -10
- package/dist/src/webgl-compat/index.d.ts +13 -13
- package/dist/src/webgl-compat/index.js +8 -8
- package/dist/src/webgl-compat/types.d.ts +21 -21
- package/dist/src/webgl-compat/types.js +1 -1
- package/dist/src/webgl-compat/use-event-system.d.ts +3 -3
- package/dist/src/webgl-compat/use-event-system.js +77 -76
- package/dist/src/webgl-compat/use-unity-context.d.ts +31 -31
- package/dist/src/webgl-compat/use-unity-context.js +92 -91
- package/dist/tests.d.ts +1 -1
- package/dist/tests.js +1 -1
- package/dist/ugui/index.d.ts +1 -0
- package/dist/ugui/index.js +1 -0
- package/dist/ugui/jsx-dev-runtime.d.ts +2 -0
- package/dist/ugui/jsx-dev-runtime.js +1 -0
- package/dist/ugui/jsx-runtime.d.ts +2 -0
- package/dist/ugui/jsx-runtime.js +1 -0
- package/dist/uitoolkit/index.d.ts +1 -0
- package/dist/uitoolkit/index.js +1 -0
- package/dist/uitoolkit/jsx-dev-runtime.d.ts +2 -0
- package/dist/uitoolkit/jsx-dev-runtime.js +1 -0
- package/dist/uitoolkit/jsx-runtime.d.ts +2 -0
- package/dist/uitoolkit/jsx-runtime.js +1 -0
- package/dist/webgl-compat.d.ts +1 -1
- package/dist/webgl-compat.js +1 -1
- package/editor/jsx-dev-runtime.ts +4 -0
- package/editor/jsx-runtime.ts +4 -0
- package/package.json +13 -32
- package/ugui/jsx-dev-runtime.ts +4 -0
- package/ugui/jsx-runtime.ts +4 -0
- package/uitoolkit/jsx-dev-runtime.ts +4 -0
- package/uitoolkit/jsx-runtime.ts +4 -0
- package/dist/editor.d.ts +0 -1
- package/dist/editor.js +0 -1
- package/dist/src/models/environment/jsx.d.ts +0 -45
- package/dist/src/models/environment/jsx.js +0 -1
- package/dist/ugui.d.ts +0 -1
- package/dist/ugui.js +0 -1
- package/dist/uitoolkit.d.ts +0 -1
- package/dist/uitoolkit.js +0 -1
- package/editor.ts +0 -1
- package/tsconfig.editor.json +0 -6
- package/tsconfig.ugui.json +0 -6
- package/tsconfig.uitoolkit.json +0 -6
- package/ugui.ts +0 -1
- package/uitoolkit.ts +0 -1
|
@@ -1,127 +1,127 @@
|
|
|
1
|
-
import { SafeString } from './common';
|
|
2
|
-
import { AnimationDirection, AnimationFillMode, AnimationPlayState, Appearance, BackgroundBlendMode, BackgroundRepeat, BackgroundSize, BorderImageRepeat, BorderStyle, CursorType, FontStyles, FontWeight, NavigationMode, ObjectFit, PointerEvents, TextAlign, TextOverflowModes, TextTransform, TimingFunctionType, VerticalAlign, Visibility, WhiteSpace } from './styles-enums';
|
|
3
|
-
import { Array2Aux, AssetReference, AssetReferenceOrHttp, ColorAux, NumberAux, Vector2Aux, Vector3Aux } from './values';
|
|
4
|
-
import { YogaValue2Aux, YogaValueAux } from './yoga';
|
|
5
|
-
export interface RenderStyle {
|
|
6
|
-
opacity?: NumberAux;
|
|
7
|
-
zIndex?: number;
|
|
8
|
-
sortingLayer?: number;
|
|
9
|
-
order?: number;
|
|
10
|
-
visibility?: Visibility | boolean;
|
|
11
|
-
cursor?: CursorType;
|
|
12
|
-
pointerEvents?: PointerEvents;
|
|
13
|
-
content?: SafeString;
|
|
14
|
-
appearance?: Appearance;
|
|
15
|
-
navigation?: NavigationMode;
|
|
16
|
-
backgroundBlendMode?: BackgroundBlendMode;
|
|
17
|
-
backgroundColor?: ColorAux;
|
|
18
|
-
backgroundImage?: AssetReferenceOrHttp;
|
|
19
|
-
backgroundPositionX?: YogaValueAux;
|
|
20
|
-
backgroundPositionY?: YogaValueAux;
|
|
21
|
-
backgroundSize?: BackgroundSize | YogaValue2Aux;
|
|
22
|
-
backgroundRepeatX?: BackgroundRepeat;
|
|
23
|
-
backgroundRepeatY?: BackgroundRepeat;
|
|
24
|
-
maskImage?: AssetReferenceOrHttp;
|
|
25
|
-
maskPositionX?: YogaValueAux;
|
|
26
|
-
maskPositionY?: YogaValueAux;
|
|
27
|
-
maskSize?: BackgroundSize | YogaValue2Aux;
|
|
28
|
-
maskRepeatX?: YogaValueAux;
|
|
29
|
-
maskRepeatY?: YogaValueAux;
|
|
30
|
-
outlineColor?: ColorAux;
|
|
31
|
-
outlineStyle?: BorderStyle;
|
|
32
|
-
outlineWidth?: number;
|
|
33
|
-
outlineOffset?: number;
|
|
34
|
-
borderTopLeftRadius?: Array2Aux<YogaValueAux>;
|
|
35
|
-
borderTopRightRadius?: Array2Aux<YogaValueAux>;
|
|
36
|
-
borderBottomRightRadius?: Array2Aux<YogaValueAux>;
|
|
37
|
-
borderBottomLeftRadius?: Array2Aux<YogaValueAux>;
|
|
38
|
-
borderTopColor?: ColorAux;
|
|
39
|
-
borderRightColor?: ColorAux;
|
|
40
|
-
borderBottomColor?: ColorAux;
|
|
41
|
-
borderLeftColor?: ColorAux;
|
|
42
|
-
borderTopStyle?: BorderStyle;
|
|
43
|
-
borderRightStyle?: BorderStyle;
|
|
44
|
-
borderBottomStyle?: BorderStyle;
|
|
45
|
-
borderLeftStyle?: BorderStyle;
|
|
46
|
-
borderImageSource?: AssetReferenceOrHttp;
|
|
47
|
-
borderImageSlice?: YogaValueAux;
|
|
48
|
-
borderImageRepeat?: BorderImageRepeat;
|
|
49
|
-
borderImageOutset?: YogaValueAux;
|
|
50
|
-
borderImageWidth?: YogaValueAux;
|
|
51
|
-
boxShadow?: SafeString;
|
|
52
|
-
objectFit?: ObjectFit;
|
|
53
|
-
objectPosition?: YogaValue2Aux;
|
|
54
|
-
transformOrigin?: Vector2Aux;
|
|
55
|
-
translate?: YogaValue2Aux;
|
|
56
|
-
translateZ?: YogaValueAux;
|
|
57
|
-
scale?: Vector2Aux;
|
|
58
|
-
rotate?: Vector3Aux;
|
|
59
|
-
stateDuration?: number;
|
|
60
|
-
color?: ColorAux;
|
|
61
|
-
fontFamily?: AssetReference;
|
|
62
|
-
fontWeight?: FontWeight;
|
|
63
|
-
fontStyle?: FontStyles;
|
|
64
|
-
textTransform?: TextTransform;
|
|
65
|
-
fontSize?: YogaValueAux;
|
|
66
|
-
textOverflow?: TextOverflowModes;
|
|
67
|
-
textAlign?: TextAlign;
|
|
68
|
-
verticalAlign?: VerticalAlign;
|
|
69
|
-
whiteSpace?: WhiteSpace;
|
|
70
|
-
textStrokeWidth?: NumberAux;
|
|
71
|
-
textStrokeColor?: ColorAux;
|
|
72
|
-
lineHeight?: number;
|
|
73
|
-
letterSpacing?: number;
|
|
74
|
-
wordSpacing?: number;
|
|
75
|
-
maxLines?: number;
|
|
76
|
-
transitionProperty?: keyof RenderStyle;
|
|
77
|
-
transitionDuration?: number;
|
|
78
|
-
transitionTimingFunction?: TimingFunctionType;
|
|
79
|
-
transitionDelay?: number;
|
|
80
|
-
transitionPlayState?: AnimationPlayState;
|
|
81
|
-
motionDuration?: number;
|
|
82
|
-
motionTimingFunction?: TimingFunctionType;
|
|
83
|
-
motionDelay?: number;
|
|
84
|
-
animationDelay?: number;
|
|
85
|
-
animationDirection?: AnimationDirection;
|
|
86
|
-
animationDuration?: number;
|
|
87
|
-
animationFillMode?: AnimationFillMode;
|
|
88
|
-
animationIterationCount?: number;
|
|
89
|
-
animationName?: SafeString;
|
|
90
|
-
animationPlayState?: AnimationPlayState;
|
|
91
|
-
animationTimingFunction?: TimingFunctionType;
|
|
92
|
-
audioClip?: AssetReferenceOrHttp;
|
|
93
|
-
audioIterationCount?: number;
|
|
94
|
-
audioDelay?: number;
|
|
95
|
-
all?: SafeString;
|
|
96
|
-
background?: SafeString;
|
|
97
|
-
backgroundPosition?: SafeString;
|
|
98
|
-
backgroundRepeat?: BackgroundRepeat;
|
|
99
|
-
outline?: SafeString;
|
|
100
|
-
border?: SafeString;
|
|
101
|
-
borderTop?: SafeString;
|
|
102
|
-
borderRight?: SafeString;
|
|
103
|
-
borderBottom?: SafeString;
|
|
104
|
-
borderLeft?: SafeString;
|
|
105
|
-
borderWidth?: SafeString;
|
|
106
|
-
borderStyle?: BorderStyle;
|
|
107
|
-
borderColor?: ColorAux;
|
|
108
|
-
borderRadius?: Array2Aux<YogaValueAux>;
|
|
109
|
-
borderImage?: SafeString;
|
|
110
|
-
margin?: SafeString | number;
|
|
111
|
-
mask?: SafeString;
|
|
112
|
-
maskPosition?: SafeString;
|
|
113
|
-
maskRepeat?: SafeString;
|
|
114
|
-
padding?: SafeString | number;
|
|
115
|
-
inset?: SafeString | number;
|
|
116
|
-
flex?: SafeString;
|
|
117
|
-
flexFlow?: SafeString;
|
|
118
|
-
font?: SafeString;
|
|
119
|
-
textStroke?: SafeString;
|
|
120
|
-
animation?: SafeString;
|
|
121
|
-
transition?: SafeString;
|
|
122
|
-
motion?: SafeString;
|
|
123
|
-
audio?: SafeString;
|
|
124
|
-
transform?: SafeString;
|
|
125
|
-
gap?: SafeString | number;
|
|
126
|
-
[variable: `--${string}`]: any;
|
|
127
|
-
}
|
|
1
|
+
import { SafeString } from './common';
|
|
2
|
+
import { AnimationDirection, AnimationFillMode, AnimationPlayState, Appearance, BackgroundBlendMode, BackgroundRepeat, BackgroundSize, BorderImageRepeat, BorderStyle, CursorType, FontStyles, FontWeight, NavigationMode, ObjectFit, PointerEvents, TextAlign, TextOverflowModes, TextTransform, TimingFunctionType, VerticalAlign, Visibility, WhiteSpace } from './styles-enums';
|
|
3
|
+
import { Array2Aux, AssetReference, AssetReferenceOrHttp, ColorAux, NumberAux, Vector2Aux, Vector3Aux } from './values';
|
|
4
|
+
import { YogaValue2Aux, YogaValueAux } from './yoga';
|
|
5
|
+
export interface RenderStyle {
|
|
6
|
+
opacity?: NumberAux;
|
|
7
|
+
zIndex?: number;
|
|
8
|
+
sortingLayer?: number;
|
|
9
|
+
order?: number;
|
|
10
|
+
visibility?: Visibility | boolean;
|
|
11
|
+
cursor?: CursorType;
|
|
12
|
+
pointerEvents?: PointerEvents;
|
|
13
|
+
content?: SafeString;
|
|
14
|
+
appearance?: Appearance;
|
|
15
|
+
navigation?: NavigationMode;
|
|
16
|
+
backgroundBlendMode?: BackgroundBlendMode;
|
|
17
|
+
backgroundColor?: ColorAux;
|
|
18
|
+
backgroundImage?: AssetReferenceOrHttp;
|
|
19
|
+
backgroundPositionX?: YogaValueAux;
|
|
20
|
+
backgroundPositionY?: YogaValueAux;
|
|
21
|
+
backgroundSize?: BackgroundSize | YogaValue2Aux;
|
|
22
|
+
backgroundRepeatX?: BackgroundRepeat;
|
|
23
|
+
backgroundRepeatY?: BackgroundRepeat;
|
|
24
|
+
maskImage?: AssetReferenceOrHttp;
|
|
25
|
+
maskPositionX?: YogaValueAux;
|
|
26
|
+
maskPositionY?: YogaValueAux;
|
|
27
|
+
maskSize?: BackgroundSize | YogaValue2Aux;
|
|
28
|
+
maskRepeatX?: YogaValueAux;
|
|
29
|
+
maskRepeatY?: YogaValueAux;
|
|
30
|
+
outlineColor?: ColorAux;
|
|
31
|
+
outlineStyle?: BorderStyle;
|
|
32
|
+
outlineWidth?: number;
|
|
33
|
+
outlineOffset?: number;
|
|
34
|
+
borderTopLeftRadius?: Array2Aux<YogaValueAux>;
|
|
35
|
+
borderTopRightRadius?: Array2Aux<YogaValueAux>;
|
|
36
|
+
borderBottomRightRadius?: Array2Aux<YogaValueAux>;
|
|
37
|
+
borderBottomLeftRadius?: Array2Aux<YogaValueAux>;
|
|
38
|
+
borderTopColor?: ColorAux;
|
|
39
|
+
borderRightColor?: ColorAux;
|
|
40
|
+
borderBottomColor?: ColorAux;
|
|
41
|
+
borderLeftColor?: ColorAux;
|
|
42
|
+
borderTopStyle?: BorderStyle;
|
|
43
|
+
borderRightStyle?: BorderStyle;
|
|
44
|
+
borderBottomStyle?: BorderStyle;
|
|
45
|
+
borderLeftStyle?: BorderStyle;
|
|
46
|
+
borderImageSource?: AssetReferenceOrHttp;
|
|
47
|
+
borderImageSlice?: YogaValueAux;
|
|
48
|
+
borderImageRepeat?: BorderImageRepeat;
|
|
49
|
+
borderImageOutset?: YogaValueAux;
|
|
50
|
+
borderImageWidth?: YogaValueAux;
|
|
51
|
+
boxShadow?: SafeString;
|
|
52
|
+
objectFit?: ObjectFit;
|
|
53
|
+
objectPosition?: YogaValue2Aux;
|
|
54
|
+
transformOrigin?: Vector2Aux;
|
|
55
|
+
translate?: YogaValue2Aux;
|
|
56
|
+
translateZ?: YogaValueAux;
|
|
57
|
+
scale?: Vector2Aux;
|
|
58
|
+
rotate?: Vector3Aux;
|
|
59
|
+
stateDuration?: number;
|
|
60
|
+
color?: ColorAux;
|
|
61
|
+
fontFamily?: AssetReference;
|
|
62
|
+
fontWeight?: FontWeight;
|
|
63
|
+
fontStyle?: FontStyles;
|
|
64
|
+
textTransform?: TextTransform;
|
|
65
|
+
fontSize?: YogaValueAux;
|
|
66
|
+
textOverflow?: TextOverflowModes;
|
|
67
|
+
textAlign?: TextAlign;
|
|
68
|
+
verticalAlign?: VerticalAlign;
|
|
69
|
+
whiteSpace?: WhiteSpace;
|
|
70
|
+
textStrokeWidth?: NumberAux;
|
|
71
|
+
textStrokeColor?: ColorAux;
|
|
72
|
+
lineHeight?: number;
|
|
73
|
+
letterSpacing?: number;
|
|
74
|
+
wordSpacing?: number;
|
|
75
|
+
maxLines?: number;
|
|
76
|
+
transitionProperty?: keyof RenderStyle;
|
|
77
|
+
transitionDuration?: number;
|
|
78
|
+
transitionTimingFunction?: TimingFunctionType;
|
|
79
|
+
transitionDelay?: number;
|
|
80
|
+
transitionPlayState?: AnimationPlayState;
|
|
81
|
+
motionDuration?: number;
|
|
82
|
+
motionTimingFunction?: TimingFunctionType;
|
|
83
|
+
motionDelay?: number;
|
|
84
|
+
animationDelay?: number;
|
|
85
|
+
animationDirection?: AnimationDirection;
|
|
86
|
+
animationDuration?: number;
|
|
87
|
+
animationFillMode?: AnimationFillMode;
|
|
88
|
+
animationIterationCount?: number;
|
|
89
|
+
animationName?: SafeString;
|
|
90
|
+
animationPlayState?: AnimationPlayState;
|
|
91
|
+
animationTimingFunction?: TimingFunctionType;
|
|
92
|
+
audioClip?: AssetReferenceOrHttp;
|
|
93
|
+
audioIterationCount?: number;
|
|
94
|
+
audioDelay?: number;
|
|
95
|
+
all?: SafeString;
|
|
96
|
+
background?: SafeString;
|
|
97
|
+
backgroundPosition?: SafeString;
|
|
98
|
+
backgroundRepeat?: BackgroundRepeat;
|
|
99
|
+
outline?: SafeString;
|
|
100
|
+
border?: SafeString;
|
|
101
|
+
borderTop?: SafeString;
|
|
102
|
+
borderRight?: SafeString;
|
|
103
|
+
borderBottom?: SafeString;
|
|
104
|
+
borderLeft?: SafeString;
|
|
105
|
+
borderWidth?: SafeString;
|
|
106
|
+
borderStyle?: BorderStyle;
|
|
107
|
+
borderColor?: ColorAux;
|
|
108
|
+
borderRadius?: Array2Aux<YogaValueAux>;
|
|
109
|
+
borderImage?: SafeString;
|
|
110
|
+
margin?: SafeString | number;
|
|
111
|
+
mask?: SafeString;
|
|
112
|
+
maskPosition?: SafeString;
|
|
113
|
+
maskRepeat?: SafeString;
|
|
114
|
+
padding?: SafeString | number;
|
|
115
|
+
inset?: SafeString | number;
|
|
116
|
+
flex?: SafeString;
|
|
117
|
+
flexFlow?: SafeString;
|
|
118
|
+
font?: SafeString;
|
|
119
|
+
textStroke?: SafeString;
|
|
120
|
+
animation?: SafeString;
|
|
121
|
+
transition?: SafeString;
|
|
122
|
+
motion?: SafeString;
|
|
123
|
+
audio?: SafeString;
|
|
124
|
+
transform?: SafeString;
|
|
125
|
+
gap?: SafeString | number;
|
|
126
|
+
[variable: `--${string}`]: any;
|
|
127
|
+
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export {};
|
|
1
|
+
export {};
|
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
import { UnityEngine } from '../generated';
|
|
2
|
-
import { KnownColors } from './colors';
|
|
3
|
-
type PositioningLiteralHorizontal = 'left' | 'right' | 'center';
|
|
4
|
-
type PositioningLiteralVertical = 'top' | 'bottom' | 'center';
|
|
5
|
-
export type PositioningLiteral = PositioningLiteralVertical | PositioningLiteralHorizontal | `${PositioningLiteralVertical} ${PositioningLiteralHorizontal}` | `${PositioningLiteralHorizontal} ${PositioningLiteralVertical}`;
|
|
6
|
-
export type Array2Aux<T> = T | [] | [T] | [T, T] | T[];
|
|
7
|
-
export type Array3Aux<T> = Array2Aux<T> | [T, T, T];
|
|
8
|
-
export type Array4Aux<T> = Array3Aux<T> | [T, T, T, T];
|
|
9
|
-
export type Vector2Aux = (string & {}) | Array2Aux<number> | PositioningLiteral;
|
|
10
|
-
export type Vector3Aux = (string & {}) | Array3Aux<number>;
|
|
11
|
-
export type RectOffsetAux = Array4Aux<number>;
|
|
12
|
-
export type KnownColor = keyof KnownColors;
|
|
13
|
-
export type HexColor = (string & {});
|
|
14
|
-
export type ColorAux = KnownColor | HexColor | number | Array4Aux<number> | UnityEngine.Color;
|
|
15
|
-
export type NumberAux = (string & {}) | number;
|
|
16
|
-
export type HttpSource = {
|
|
17
|
-
url: string;
|
|
18
|
-
body?: string;
|
|
19
|
-
headers?: Record<string, string>;
|
|
20
|
-
method?: string;
|
|
21
|
-
};
|
|
22
|
-
export type AssetReference = string | UnityEngine.Object;
|
|
23
|
-
export type AssetReferenceOrHttp = AssetReference | HttpSource;
|
|
24
|
-
export {};
|
|
1
|
+
import { UnityEngine } from '../generated';
|
|
2
|
+
import { KnownColors } from './colors';
|
|
3
|
+
type PositioningLiteralHorizontal = 'left' | 'right' | 'center';
|
|
4
|
+
type PositioningLiteralVertical = 'top' | 'bottom' | 'center';
|
|
5
|
+
export type PositioningLiteral = PositioningLiteralVertical | PositioningLiteralHorizontal | `${PositioningLiteralVertical} ${PositioningLiteralHorizontal}` | `${PositioningLiteralHorizontal} ${PositioningLiteralVertical}`;
|
|
6
|
+
export type Array2Aux<T> = T | [] | [T] | [T, T] | T[];
|
|
7
|
+
export type Array3Aux<T> = Array2Aux<T> | [T, T, T];
|
|
8
|
+
export type Array4Aux<T> = Array3Aux<T> | [T, T, T, T];
|
|
9
|
+
export type Vector2Aux = (string & {}) | Array2Aux<number> | PositioningLiteral;
|
|
10
|
+
export type Vector3Aux = (string & {}) | Array3Aux<number>;
|
|
11
|
+
export type RectOffsetAux = Array4Aux<number>;
|
|
12
|
+
export type KnownColor = keyof KnownColors;
|
|
13
|
+
export type HexColor = (string & {});
|
|
14
|
+
export type ColorAux = KnownColor | HexColor | number | Array4Aux<number> | UnityEngine.Color;
|
|
15
|
+
export type NumberAux = (string & {}) | number;
|
|
16
|
+
export type HttpSource = {
|
|
17
|
+
url: string;
|
|
18
|
+
body?: string;
|
|
19
|
+
headers?: Record<string, string>;
|
|
20
|
+
method?: string;
|
|
21
|
+
};
|
|
22
|
+
export type AssetReference = string | UnityEngine.Object;
|
|
23
|
+
export type AssetReferenceOrHttp = AssetReference | HttpSource;
|
|
24
|
+
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export {};
|
|
1
|
+
export {};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export type FlexDirection = 'column' | 'column-reverse' | 'row' | 'row-reverse';
|
|
2
|
-
export type YogaAlign = 'auto' | 'flex-start' | 'center' | 'flex-end' | 'stretch' | 'baseline' | 'space-between' | 'space-around';
|
|
3
|
-
export type YogaJustify = 'flex-start' | 'center' | 'flex-end' | 'space-between' | 'space-around';
|
|
4
|
-
export type Display = 'flex' | 'none';
|
|
5
|
-
export type Wrap = 'no-wrap' | 'wrap' | 'wrap-reverse';
|
|
6
|
-
export type Position = 'relative' | 'absolute' | 'fixed' | 'static' | 'sticky' | 'inset';
|
|
7
|
-
export type Overflow = 'visible' | 'hidden' | 'scroll';
|
|
8
|
-
export type Direction = 'inherit' | 'ltr' | 'rtl';
|
|
1
|
+
export type FlexDirection = 'column' | 'column-reverse' | 'row' | 'row-reverse';
|
|
2
|
+
export type YogaAlign = 'auto' | 'flex-start' | 'center' | 'flex-end' | 'stretch' | 'baseline' | 'space-between' | 'space-around';
|
|
3
|
+
export type YogaJustify = 'flex-start' | 'center' | 'flex-end' | 'space-between' | 'space-around';
|
|
4
|
+
export type Display = 'flex' | 'none';
|
|
5
|
+
export type Wrap = 'no-wrap' | 'wrap' | 'wrap-reverse';
|
|
6
|
+
export type Position = 'relative' | 'absolute' | 'fixed' | 'static' | 'sticky' | 'inset';
|
|
7
|
+
export type Overflow = 'visible' | 'hidden' | 'scroll';
|
|
8
|
+
export type Direction = 'inherit' | 'ltr' | 'rtl';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export {};
|
|
1
|
+
export {};
|
|
@@ -1,66 +1,66 @@
|
|
|
1
|
-
import { Array2Aux, Array4Aux, PositioningLiteral } from './values';
|
|
2
|
-
import { Direction, Display, FlexDirection, Overflow, Position, Wrap, YogaAlign, YogaJustify } from './yoga-enums';
|
|
3
|
-
export type YogaValueAux = 'auto' | number | null | undefined | boolean | (string & {});
|
|
4
|
-
export type YogaValue2Aux = Array2Aux<YogaValueAux> | PositioningLiteral;
|
|
5
|
-
export type YogaValue4Aux = Array4Aux<YogaValueAux>;
|
|
6
|
-
export interface Layout {
|
|
7
|
-
overflow?: Overflow;
|
|
8
|
-
styleDirection?: Direction;
|
|
9
|
-
display?: Display;
|
|
10
|
-
wrap?: Wrap;
|
|
11
|
-
positionType?: Position;
|
|
12
|
-
justifyContent?: YogaJustify;
|
|
13
|
-
alignContent?: YogaAlign;
|
|
14
|
-
alignSelf?: YogaAlign;
|
|
15
|
-
alignItems?: YogaAlign;
|
|
16
|
-
borderWidth?: number;
|
|
17
|
-
borderStartWidth?: number;
|
|
18
|
-
borderEndWidth?: number;
|
|
19
|
-
borderTopWidth?: number;
|
|
20
|
-
borderRightWidth?: number;
|
|
21
|
-
borderBottomWidth?: number;
|
|
22
|
-
borderLeftWidth?: number;
|
|
23
|
-
aspectRatio?: number;
|
|
24
|
-
flexDirection?: FlexDirection;
|
|
25
|
-
flexShrink?: number;
|
|
26
|
-
flexGrow?: number;
|
|
27
|
-
flexBasis?: YogaValueAux;
|
|
28
|
-
minHeight?: YogaValueAux;
|
|
29
|
-
minWidth?: YogaValueAux;
|
|
30
|
-
maxHeight?: YogaValueAux;
|
|
31
|
-
maxWidth?: YogaValueAux;
|
|
32
|
-
height?: YogaValueAux;
|
|
33
|
-
width?: YogaValueAux;
|
|
34
|
-
left?: YogaValueAux;
|
|
35
|
-
top?: YogaValueAux;
|
|
36
|
-
right?: YogaValueAux;
|
|
37
|
-
start?: YogaValueAux;
|
|
38
|
-
end?: YogaValueAux;
|
|
39
|
-
marginLeft?: YogaValueAux;
|
|
40
|
-
marginTop?: YogaValueAux;
|
|
41
|
-
marginRight?: YogaValueAux;
|
|
42
|
-
marginBottom?: YogaValueAux;
|
|
43
|
-
marginStart?: YogaValueAux;
|
|
44
|
-
marginEnd?: YogaValueAux;
|
|
45
|
-
marginHorizontal?: YogaValueAux;
|
|
46
|
-
bottom?: YogaValueAux;
|
|
47
|
-
margin?: YogaValueAux;
|
|
48
|
-
marginVertical?: YogaValueAux;
|
|
49
|
-
padding?: YogaValueAux;
|
|
50
|
-
paddingVertical?: YogaValueAux;
|
|
51
|
-
paddingHorizontal?: YogaValueAux;
|
|
52
|
-
paddingStart?: YogaValueAux;
|
|
53
|
-
paddingBottom?: YogaValueAux;
|
|
54
|
-
paddingRight?: YogaValueAux;
|
|
55
|
-
paddingTop?: YogaValueAux;
|
|
56
|
-
paddingEnd?: YogaValueAux;
|
|
57
|
-
paddingLeft?: YogaValueAux;
|
|
58
|
-
rowGap?: number;
|
|
59
|
-
columnGap?: number;
|
|
60
|
-
}
|
|
61
|
-
export interface LayoutExtended {
|
|
62
|
-
position?: Position;
|
|
63
|
-
direction?: Direction;
|
|
64
|
-
flexWrap?: Wrap;
|
|
65
|
-
}
|
|
66
|
-
export type LayoutCssCompatible = Omit<Layout, 'styleDirection' | 'position' | 'wrap' | 'margin' | 'padding' | 'borderWidth'> & LayoutExtended;
|
|
1
|
+
import { Array2Aux, Array4Aux, PositioningLiteral } from './values';
|
|
2
|
+
import { Direction, Display, FlexDirection, Overflow, Position, Wrap, YogaAlign, YogaJustify } from './yoga-enums';
|
|
3
|
+
export type YogaValueAux = 'auto' | number | null | undefined | boolean | (string & {});
|
|
4
|
+
export type YogaValue2Aux = Array2Aux<YogaValueAux> | PositioningLiteral;
|
|
5
|
+
export type YogaValue4Aux = Array4Aux<YogaValueAux>;
|
|
6
|
+
export interface Layout {
|
|
7
|
+
overflow?: Overflow;
|
|
8
|
+
styleDirection?: Direction;
|
|
9
|
+
display?: Display;
|
|
10
|
+
wrap?: Wrap;
|
|
11
|
+
positionType?: Position;
|
|
12
|
+
justifyContent?: YogaJustify;
|
|
13
|
+
alignContent?: YogaAlign;
|
|
14
|
+
alignSelf?: YogaAlign;
|
|
15
|
+
alignItems?: YogaAlign;
|
|
16
|
+
borderWidth?: number;
|
|
17
|
+
borderStartWidth?: number;
|
|
18
|
+
borderEndWidth?: number;
|
|
19
|
+
borderTopWidth?: number;
|
|
20
|
+
borderRightWidth?: number;
|
|
21
|
+
borderBottomWidth?: number;
|
|
22
|
+
borderLeftWidth?: number;
|
|
23
|
+
aspectRatio?: number;
|
|
24
|
+
flexDirection?: FlexDirection;
|
|
25
|
+
flexShrink?: number;
|
|
26
|
+
flexGrow?: number;
|
|
27
|
+
flexBasis?: YogaValueAux;
|
|
28
|
+
minHeight?: YogaValueAux;
|
|
29
|
+
minWidth?: YogaValueAux;
|
|
30
|
+
maxHeight?: YogaValueAux;
|
|
31
|
+
maxWidth?: YogaValueAux;
|
|
32
|
+
height?: YogaValueAux;
|
|
33
|
+
width?: YogaValueAux;
|
|
34
|
+
left?: YogaValueAux;
|
|
35
|
+
top?: YogaValueAux;
|
|
36
|
+
right?: YogaValueAux;
|
|
37
|
+
start?: YogaValueAux;
|
|
38
|
+
end?: YogaValueAux;
|
|
39
|
+
marginLeft?: YogaValueAux;
|
|
40
|
+
marginTop?: YogaValueAux;
|
|
41
|
+
marginRight?: YogaValueAux;
|
|
42
|
+
marginBottom?: YogaValueAux;
|
|
43
|
+
marginStart?: YogaValueAux;
|
|
44
|
+
marginEnd?: YogaValueAux;
|
|
45
|
+
marginHorizontal?: YogaValueAux;
|
|
46
|
+
bottom?: YogaValueAux;
|
|
47
|
+
margin?: YogaValueAux;
|
|
48
|
+
marginVertical?: YogaValueAux;
|
|
49
|
+
padding?: YogaValueAux;
|
|
50
|
+
paddingVertical?: YogaValueAux;
|
|
51
|
+
paddingHorizontal?: YogaValueAux;
|
|
52
|
+
paddingStart?: YogaValueAux;
|
|
53
|
+
paddingBottom?: YogaValueAux;
|
|
54
|
+
paddingRight?: YogaValueAux;
|
|
55
|
+
paddingTop?: YogaValueAux;
|
|
56
|
+
paddingEnd?: YogaValueAux;
|
|
57
|
+
paddingLeft?: YogaValueAux;
|
|
58
|
+
rowGap?: number;
|
|
59
|
+
columnGap?: number;
|
|
60
|
+
}
|
|
61
|
+
export interface LayoutExtended {
|
|
62
|
+
position?: Position;
|
|
63
|
+
direction?: Direction;
|
|
64
|
+
flexWrap?: Wrap;
|
|
65
|
+
}
|
|
66
|
+
export type LayoutCssCompatible = Omit<Layout, 'styleDirection' | 'position' | 'wrap' | 'margin' | 'padding' | 'borderWidth'> & LayoutExtended;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export {};
|
|
1
|
+
export {};
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import { ReactUnity } from './generated';
|
|
2
|
-
export type Unique<T, K> = T & {
|
|
3
|
-
$type: K;
|
|
4
|
-
};
|
|
5
|
-
export type NativeInstance = ReactUnity.IReactComponent;
|
|
6
|
-
export type NativeTextInstance = ReactUnity.ITextComponent;
|
|
7
|
-
export type NativeContainerInstance = ReactUnity.IReactComponent;
|
|
8
|
-
export type InstanceTag = string;
|
|
9
|
-
export type Props = React.RefAttributes<NativeInstance> & {
|
|
10
|
-
[key: string]: any;
|
|
11
|
-
children?: React.ReactNode;
|
|
12
|
-
};
|
|
13
|
-
export type SuspenseInstance = NativeInstance;
|
|
14
|
-
export type HydratableInstance = NativeInstance;
|
|
15
|
-
export type PublicInstance = any;
|
|
16
|
-
export type HostContext = Record<string, unknown>;
|
|
17
|
-
export type UpdatePayload = Record<string, unknown>;
|
|
18
|
-
export type ChildSet = Record<string, unknown>;
|
|
19
|
-
export type TimeoutHandle = number;
|
|
20
|
-
export type NoTimeout = -1;
|
|
1
|
+
import { ReactUnity } from './generated';
|
|
2
|
+
export type Unique<T, K> = T & {
|
|
3
|
+
$type: K;
|
|
4
|
+
};
|
|
5
|
+
export type NativeInstance = ReactUnity.IReactComponent;
|
|
6
|
+
export type NativeTextInstance = ReactUnity.ITextComponent;
|
|
7
|
+
export type NativeContainerInstance = ReactUnity.IReactComponent;
|
|
8
|
+
export type InstanceTag = string;
|
|
9
|
+
export type Props = React.RefAttributes<NativeInstance> & {
|
|
10
|
+
[key: string]: any;
|
|
11
|
+
children?: React.ReactNode;
|
|
12
|
+
};
|
|
13
|
+
export type SuspenseInstance = NativeInstance;
|
|
14
|
+
export type HydratableInstance = NativeInstance;
|
|
15
|
+
export type PublicInstance = any;
|
|
16
|
+
export type HostContext = Record<string, unknown>;
|
|
17
|
+
export type UpdatePayload = Record<string, unknown>;
|
|
18
|
+
export type ChildSet = Record<string, unknown>;
|
|
19
|
+
export type TimeoutHandle = number;
|
|
20
|
+
export type NoTimeout = -1;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export {};
|
|
1
|
+
export {};
|
|
@@ -1,69 +1,69 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { UnityEngine } from './generated';
|
|
3
|
-
export type RichTextTags = RichTextValueTag;
|
|
4
|
-
export interface RichTextVoidTag extends React.Attributes {
|
|
5
|
-
children?: any;
|
|
6
|
-
}
|
|
7
|
-
export interface RichTextValueTag<T = string | number> extends React.Attributes {
|
|
8
|
-
value?: T | (string & {});
|
|
9
|
-
children?: any;
|
|
10
|
-
}
|
|
11
|
-
export interface RichTextColorTag extends React.Attributes {
|
|
12
|
-
value?: string | UnityEngine.Color;
|
|
13
|
-
children?: any;
|
|
14
|
-
}
|
|
15
|
-
export interface RichTextFontTag extends React.Attributes {
|
|
16
|
-
value?: string;
|
|
17
|
-
material?: string;
|
|
18
|
-
children?: any;
|
|
19
|
-
}
|
|
20
|
-
export interface RichTextSpriteTag extends React.Attributes {
|
|
21
|
-
value?: string | number;
|
|
22
|
-
children?: any;
|
|
23
|
-
name?: string;
|
|
24
|
-
index?: string | number;
|
|
25
|
-
color?: string;
|
|
26
|
-
}
|
|
27
|
-
export interface RichTextElements {
|
|
28
|
-
'nbsp': RichTextVoidTag;
|
|
29
|
-
'zwsp': RichTextVoidTag;
|
|
30
|
-
'br': RichTextVoidTag;
|
|
31
|
-
'shy': RichTextVoidTag;
|
|
32
|
-
'cr': RichTextVoidTag;
|
|
33
|
-
'lf': RichTextVoidTag;
|
|
34
|
-
'align': RichTextValueTag<'right' | 'center' | 'left'>;
|
|
35
|
-
'alpha': RichTextValueTag<string>;
|
|
36
|
-
'color': RichTextColorTag;
|
|
37
|
-
'b': RichTextVoidTag;
|
|
38
|
-
'i': RichTextVoidTag;
|
|
39
|
-
'cspace': RichTextValueTag<number>;
|
|
40
|
-
'font': RichTextFontTag;
|
|
41
|
-
'indent': RichTextValueTag<number>;
|
|
42
|
-
'line-height': RichTextValueTag<number>;
|
|
43
|
-
'line-indent': RichTextValueTag<number>;
|
|
44
|
-
'link': RichTextValueTag;
|
|
45
|
-
'lowercase': RichTextVoidTag;
|
|
46
|
-
'uppercase': RichTextVoidTag;
|
|
47
|
-
'smallcaps': RichTextVoidTag;
|
|
48
|
-
'allcaps': RichTextVoidTag;
|
|
49
|
-
'margin': RichTextValueTag<number>;
|
|
50
|
-
'margin-left': RichTextValueTag<number>;
|
|
51
|
-
'margin-right': RichTextValueTag<number>;
|
|
52
|
-
'mark': RichTextValueTag;
|
|
53
|
-
'mspace': RichTextVoidTag;
|
|
54
|
-
'noparse': RichTextVoidTag;
|
|
55
|
-
'nobr': RichTextVoidTag;
|
|
56
|
-
'page': RichTextVoidTag;
|
|
57
|
-
'pos': RichTextValueTag<number>;
|
|
58
|
-
'scale': RichTextValueTag<number>;
|
|
59
|
-
'size': RichTextValueTag<number>;
|
|
60
|
-
'space': RichTextValueTag<number>;
|
|
61
|
-
'sprite': RichTextSpriteTag;
|
|
62
|
-
's': RichTextVoidTag;
|
|
63
|
-
'u': RichTextVoidTag;
|
|
64
|
-
'style': RichTextValueTag;
|
|
65
|
-
'sub': RichTextVoidTag;
|
|
66
|
-
'sup': RichTextVoidTag;
|
|
67
|
-
'voffset': RichTextValueTag<number>;
|
|
68
|
-
'width': RichTextValueTag<number>;
|
|
69
|
-
}
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { UnityEngine } from './generated';
|
|
3
|
+
export type RichTextTags = RichTextValueTag;
|
|
4
|
+
export interface RichTextVoidTag extends React.Attributes {
|
|
5
|
+
children?: any;
|
|
6
|
+
}
|
|
7
|
+
export interface RichTextValueTag<T = string | number> extends React.Attributes {
|
|
8
|
+
value?: T | (string & {});
|
|
9
|
+
children?: any;
|
|
10
|
+
}
|
|
11
|
+
export interface RichTextColorTag extends React.Attributes {
|
|
12
|
+
value?: string | UnityEngine.Color;
|
|
13
|
+
children?: any;
|
|
14
|
+
}
|
|
15
|
+
export interface RichTextFontTag extends React.Attributes {
|
|
16
|
+
value?: string;
|
|
17
|
+
material?: string;
|
|
18
|
+
children?: any;
|
|
19
|
+
}
|
|
20
|
+
export interface RichTextSpriteTag extends React.Attributes {
|
|
21
|
+
value?: string | number;
|
|
22
|
+
children?: any;
|
|
23
|
+
name?: string;
|
|
24
|
+
index?: string | number;
|
|
25
|
+
color?: string;
|
|
26
|
+
}
|
|
27
|
+
export interface RichTextElements {
|
|
28
|
+
'nbsp': RichTextVoidTag;
|
|
29
|
+
'zwsp': RichTextVoidTag;
|
|
30
|
+
'br': RichTextVoidTag;
|
|
31
|
+
'shy': RichTextVoidTag;
|
|
32
|
+
'cr': RichTextVoidTag;
|
|
33
|
+
'lf': RichTextVoidTag;
|
|
34
|
+
'align': RichTextValueTag<'right' | 'center' | 'left'>;
|
|
35
|
+
'alpha': RichTextValueTag<string>;
|
|
36
|
+
'color': RichTextColorTag;
|
|
37
|
+
'b': RichTextVoidTag;
|
|
38
|
+
'i': RichTextVoidTag;
|
|
39
|
+
'cspace': RichTextValueTag<number>;
|
|
40
|
+
'font': RichTextFontTag;
|
|
41
|
+
'indent': RichTextValueTag<number>;
|
|
42
|
+
'line-height': RichTextValueTag<number>;
|
|
43
|
+
'line-indent': RichTextValueTag<number>;
|
|
44
|
+
'link': RichTextValueTag;
|
|
45
|
+
'lowercase': RichTextVoidTag;
|
|
46
|
+
'uppercase': RichTextVoidTag;
|
|
47
|
+
'smallcaps': RichTextVoidTag;
|
|
48
|
+
'allcaps': RichTextVoidTag;
|
|
49
|
+
'margin': RichTextValueTag<number>;
|
|
50
|
+
'margin-left': RichTextValueTag<number>;
|
|
51
|
+
'margin-right': RichTextValueTag<number>;
|
|
52
|
+
'mark': RichTextValueTag;
|
|
53
|
+
'mspace': RichTextVoidTag;
|
|
54
|
+
'noparse': RichTextVoidTag;
|
|
55
|
+
'nobr': RichTextVoidTag;
|
|
56
|
+
'page': RichTextVoidTag;
|
|
57
|
+
'pos': RichTextValueTag<number>;
|
|
58
|
+
'scale': RichTextValueTag<number>;
|
|
59
|
+
'size': RichTextValueTag<number>;
|
|
60
|
+
'space': RichTextValueTag<number>;
|
|
61
|
+
'sprite': RichTextSpriteTag;
|
|
62
|
+
's': RichTextVoidTag;
|
|
63
|
+
'u': RichTextVoidTag;
|
|
64
|
+
'style': RichTextValueTag;
|
|
65
|
+
'sub': RichTextVoidTag;
|
|
66
|
+
'sup': RichTextVoidTag;
|
|
67
|
+
'voffset': RichTextValueTag<number>;
|
|
68
|
+
'width': RichTextValueTag<number>;
|
|
69
|
+
}
|