@await-widget/runtime 0.0.36 → 0.0.38
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 +16 -0
- package/types/meta.d.ts +11 -2
- package/types/prop.d.ts +2 -1
package/package.json
CHANGED
package/types/await.d.ts
CHANGED
|
@@ -9,6 +9,13 @@ declare module 'await' {
|
|
|
9
9
|
create: (props: Props) => NativeView,
|
|
10
10
|
props: Props,
|
|
11
11
|
) => NativeView;
|
|
12
|
+
/** This is an experimental component and may change in the future. */
|
|
13
|
+
export function Scroll(
|
|
14
|
+
props: ID &
|
|
15
|
+
Mods & {
|
|
16
|
+
children?: NativeView;
|
|
17
|
+
},
|
|
18
|
+
): NativeView;
|
|
12
19
|
export function VStack(
|
|
13
20
|
props: VStackValue &
|
|
14
21
|
ID &
|
|
@@ -275,6 +282,15 @@ declare module 'await' {
|
|
|
275
282
|
children: NativeView[];
|
|
276
283
|
},
|
|
277
284
|
): NativeView;
|
|
285
|
+
/** Flashes once per second in a 60-second cycle, achieving the effect of a ticking second hand. Available on iOS 18 and later. */
|
|
286
|
+
export function FlashTicker(
|
|
287
|
+
props: {
|
|
288
|
+
size: Size;
|
|
289
|
+
} & ID &
|
|
290
|
+
Mods & {
|
|
291
|
+
children: NativeView[];
|
|
292
|
+
},
|
|
293
|
+
): NativeView;
|
|
278
294
|
}
|
|
279
295
|
|
|
280
296
|
declare module 'await/jsx-runtime' {
|
package/types/meta.d.ts
CHANGED
|
@@ -304,8 +304,17 @@ type ScaleEffect =
|
|
|
304
304
|
anchor?: UnitPoint;
|
|
305
305
|
};
|
|
306
306
|
|
|
307
|
-
type
|
|
308
|
-
|
|
307
|
+
type FontSource =
|
|
308
|
+
| {
|
|
309
|
+
name: string;
|
|
310
|
+
url?: never;
|
|
311
|
+
}
|
|
312
|
+
| {
|
|
313
|
+
name?: never;
|
|
314
|
+
url: string;
|
|
315
|
+
};
|
|
316
|
+
|
|
317
|
+
type Font = FontSource & {
|
|
309
318
|
size: number;
|
|
310
319
|
wght?: number;
|
|
311
320
|
wdth?: number;
|
package/types/prop.d.ts
CHANGED
|
@@ -169,7 +169,7 @@ type TickerValue = {
|
|
|
169
169
|
style: TickerStyle;
|
|
170
170
|
};
|
|
171
171
|
|
|
172
|
-
type
|
|
172
|
+
type FlashTickerValue = {
|
|
173
173
|
size: Size;
|
|
174
174
|
};
|
|
175
175
|
|
|
@@ -207,6 +207,7 @@ type BaseMods = {
|
|
|
207
207
|
buttonStyle?: ButtonStyle;
|
|
208
208
|
clipped?: boolean;
|
|
209
209
|
clipShape?: NativeView | '';
|
|
210
|
+
clockEffect?: number | 'second' | 'minute' | 'hour';
|
|
210
211
|
colorInvert?: boolean;
|
|
211
212
|
colorMultiply?: Color;
|
|
212
213
|
compositingGroup?: boolean;
|