@await-widget/runtime 0.0.42 → 0.0.44
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 +2 -3
- package/types/prop.d.ts +10 -2
package/package.json
CHANGED
package/types/await.d.ts
CHANGED
|
@@ -291,9 +291,8 @@ declare module 'await' {
|
|
|
291
291
|
): NativeView;
|
|
292
292
|
/** Flashes once per second in a 60-second cycle, achieving the effect of a ticking second hand. Available on iOS 18 and later. */
|
|
293
293
|
export function FlashTicker(
|
|
294
|
-
props:
|
|
295
|
-
|
|
296
|
-
} & ID &
|
|
294
|
+
props: FlashTickerValue &
|
|
295
|
+
ID &
|
|
297
296
|
Mods & {
|
|
298
297
|
children: NativeView[];
|
|
299
298
|
},
|
package/types/prop.d.ts
CHANGED
|
@@ -21,6 +21,8 @@ type FlowValue = {
|
|
|
21
21
|
rowSpacing?: number;
|
|
22
22
|
/** Vertical alignment for items within each row. */
|
|
23
23
|
alignment?: VerticalAlignment;
|
|
24
|
+
/** Horizontal alignment for each row when its contents do not fill the available width. */
|
|
25
|
+
rowAlignment?: 'leading' | 'center' | 'trailing';
|
|
24
26
|
};
|
|
25
27
|
|
|
26
28
|
type ZStackValue = {
|
|
@@ -39,6 +41,8 @@ type ButtonValue = {
|
|
|
39
41
|
live?: boolean;
|
|
40
42
|
/** Opens a universal link directly, such as `https://github.com/await-widget/skills`. */
|
|
41
43
|
url?: string;
|
|
44
|
+
/** Shortcut index for iOS 27, based on the shortcuts selected in widget configuration. */
|
|
45
|
+
shortcut?: number;
|
|
42
46
|
};
|
|
43
47
|
|
|
44
48
|
type ShapeValue = {
|
|
@@ -48,8 +52,8 @@ type ShapeValue = {
|
|
|
48
52
|
stroke?: {
|
|
49
53
|
color?: Color;
|
|
50
54
|
lineWidth?: number;
|
|
51
|
-
lineCap?:
|
|
52
|
-
lineJoin?:
|
|
55
|
+
lineCap?: 'butt' | 'round' | 'square';
|
|
56
|
+
lineJoin?: 'miter' | 'round' | 'bevel';
|
|
53
57
|
miterLimit?: number;
|
|
54
58
|
dash?: number[];
|
|
55
59
|
dashPhase?: number;
|
|
@@ -131,11 +135,15 @@ type ImageValue = {
|
|
|
131
135
|
accented?: Accented;
|
|
132
136
|
/** The maximum number of pixels along the image's longest edge. Defaults to 1000. */
|
|
133
137
|
maxPixel?: number;
|
|
138
|
+
/** Maximum width and height for the image's natural layout size. Scales down proportionally. */
|
|
139
|
+
proposedSize?: {width?: number; height?: number};
|
|
134
140
|
};
|
|
135
141
|
|
|
136
142
|
type IconValue = {
|
|
137
143
|
/** The name of the system symbol image. Use the SF Symbols app to look up the names of system symbol images. */
|
|
138
144
|
value?: string;
|
|
145
|
+
/** The modes used to resize the symbol to fit within its containing view. */
|
|
146
|
+
resizable?: Resizable;
|
|
139
147
|
};
|
|
140
148
|
|
|
141
149
|
type TimeValue =
|