@await-widget/runtime 0.0.40 → 0.0.42

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/types/prop.d.ts +14 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@await-widget/runtime",
3
- "version": "0.0.40",
3
+ "version": "0.0.42",
4
4
  "description": "TypeScript declarations for Await widgets.",
5
5
  "license": "MIT",
6
6
  "author": "Maundy",
package/types/prop.d.ts CHANGED
@@ -145,12 +145,24 @@ type TimeValue =
145
145
  format?: DateFormatToken[];
146
146
  date?: never;
147
147
  style?: never;
148
+ countsDown?: never;
149
+ showsHours?: never;
148
150
  }
149
151
  | {
152
+ date?: Date;
153
+ style?: TimeStyle;
150
154
  timeZone?: never;
151
155
  format?: never;
156
+ countsDown?: never;
157
+ showsHours?: never;
158
+ }
159
+ | {
152
160
  date?: Date;
153
- style?: TimeStyle;
161
+ countsDown?: boolean;
162
+ showsHours?: boolean;
163
+ timeZone?: never;
164
+ format?: never;
165
+ style?: never;
154
166
  };
155
167
 
156
168
  type ProgressViewValue = {
@@ -215,7 +227,7 @@ type BaseMods = {
215
227
  blendMode?: BlendMode;
216
228
  blur?: Blur;
217
229
  brightness?: number;
218
- buttonStyle?: ButtonStyle;
230
+ buttonStyle?: ButtonStyle | '';
219
231
  clipped?: boolean;
220
232
  clipShape?: NativeView | '';
221
233
  /** This modifier is currently available, but future availability is uncertain. */