@await-widget/runtime 0.0.10 → 0.0.11
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 +7 -0
- package/types/meta.d.ts +2 -0
- package/types/model.d.ts +0 -1
- package/types/prop.d.ts +7 -0
package/package.json
CHANGED
package/types/await.d.ts
CHANGED
|
@@ -65,6 +65,13 @@ declare module 'await' {
|
|
|
65
65
|
children?: never;
|
|
66
66
|
},
|
|
67
67
|
): NativeView;
|
|
68
|
+
export function ProgressView(
|
|
69
|
+
props: ProgressViewValue &
|
|
70
|
+
ID &
|
|
71
|
+
Mods & {
|
|
72
|
+
children?: never;
|
|
73
|
+
},
|
|
74
|
+
): NativeView;
|
|
68
75
|
export function Image(
|
|
69
76
|
props: ImageValue &
|
|
70
77
|
ID &
|
package/types/meta.d.ts
CHANGED
|
@@ -2,6 +2,8 @@ type CornerRadiusStyle = 'circular' | 'continuous';
|
|
|
2
2
|
|
|
3
3
|
type TimeStyle = 'time' | 'date' | 'relative' | 'offset' | 'timer';
|
|
4
4
|
|
|
5
|
+
type ProgressViewStyle = 'automatic' | 'linear' | 'circular';
|
|
6
|
+
|
|
5
7
|
type Material = 'regular' | 'thin' | 'thick' | 'ultraThin' | 'ultraThick';
|
|
6
8
|
|
|
7
9
|
type ShapeStyle =
|
package/types/model.d.ts
CHANGED
package/types/prop.d.ts
CHANGED
|
@@ -124,6 +124,12 @@ type TimeValue = {
|
|
|
124
124
|
style?: TimeStyle;
|
|
125
125
|
};
|
|
126
126
|
|
|
127
|
+
type ProgressViewValue = {
|
|
128
|
+
value: number | [start: Date, end: Date];
|
|
129
|
+
/** Default true. Only applies when value is a date range. */
|
|
130
|
+
countsDown?: boolean;
|
|
131
|
+
};
|
|
132
|
+
|
|
127
133
|
type SvgValue = {
|
|
128
134
|
/** For example, `img.png`, `path/img.png`, or `https://example.com/img.png`. */
|
|
129
135
|
url?: string;
|
|
@@ -225,6 +231,7 @@ type BaseMods = {
|
|
|
225
231
|
padding?: Padding | boolean;
|
|
226
232
|
pixelPerfectCenter?: boolean | Point;
|
|
227
233
|
position?: Point;
|
|
234
|
+
progressViewStyle?: ProgressViewStyle;
|
|
228
235
|
reverseMask?: NativeView;
|
|
229
236
|
rotation3DEffect?: Rotation3DEffect;
|
|
230
237
|
rotationEffect?: RotationEffect;
|