@await-widget/runtime 0.0.7 → 0.0.8
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/package.json +1 -1
- package/types/await.d.ts +21 -0
- package/types/meta.d.ts +2 -0
- package/types/prop.d.ts +16 -0
package/package.json
CHANGED
package/types/await.d.ts
CHANGED
|
@@ -192,6 +192,20 @@ declare module 'await' {
|
|
|
192
192
|
children?: never;
|
|
193
193
|
},
|
|
194
194
|
): NativeView;
|
|
195
|
+
export function VFlip(
|
|
196
|
+
props: FlipValue &
|
|
197
|
+
ID &
|
|
198
|
+
Mods & {
|
|
199
|
+
children?: never;
|
|
200
|
+
},
|
|
201
|
+
): NativeView;
|
|
202
|
+
export function HFlip(
|
|
203
|
+
props: FlipValue &
|
|
204
|
+
ID &
|
|
205
|
+
Mods & {
|
|
206
|
+
children?: never;
|
|
207
|
+
},
|
|
208
|
+
): NativeView;
|
|
195
209
|
export function Gif(
|
|
196
210
|
props: GifValue &
|
|
197
211
|
ID &
|
|
@@ -199,6 +213,13 @@ declare module 'await' {
|
|
|
199
213
|
children: NativeView[];
|
|
200
214
|
},
|
|
201
215
|
): NativeView;
|
|
216
|
+
export function Ticker(
|
|
217
|
+
props: TickerValue &
|
|
218
|
+
ID &
|
|
219
|
+
Mods & {
|
|
220
|
+
children: NativeView[];
|
|
221
|
+
},
|
|
222
|
+
): NativeView;
|
|
202
223
|
}
|
|
203
224
|
|
|
204
225
|
declare module 'await/jsx-runtime' {
|
package/types/meta.d.ts
CHANGED
package/types/prop.d.ts
CHANGED
|
@@ -140,6 +140,22 @@ type GifValue = {
|
|
|
140
140
|
duration: GifDuration;
|
|
141
141
|
};
|
|
142
142
|
|
|
143
|
+
type TickerValue = {
|
|
144
|
+
size: Size;
|
|
145
|
+
style: TickerStyle;
|
|
146
|
+
};
|
|
147
|
+
|
|
148
|
+
type FlipValue = {
|
|
149
|
+
index: number;
|
|
150
|
+
delta: number;
|
|
151
|
+
curr: NativeView;
|
|
152
|
+
prev: NativeView;
|
|
153
|
+
perspective?: number;
|
|
154
|
+
shadowOpacity?: number;
|
|
155
|
+
leadingHidden?: boolean;
|
|
156
|
+
trailingHidden?: boolean;
|
|
157
|
+
};
|
|
158
|
+
|
|
143
159
|
type Mods = {
|
|
144
160
|
[K in keyof BaseMods]?: BaseMods[K];
|
|
145
161
|
} & {
|