@await-widget/runtime 0.0.43 → 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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@await-widget/runtime",
3
- "version": "0.0.43",
3
+ "version": "0.0.44",
4
4
  "description": "TypeScript declarations for Await widgets.",
5
5
  "license": "MIT",
6
6
  "author": "Maundy",
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
- size: Size;
296
- } & ID &
294
+ props: FlashTickerValue &
295
+ ID &
297
296
  Mods & {
298
297
  children: NativeView[];
299
298
  },
package/types/prop.d.ts CHANGED
@@ -41,6 +41,8 @@ type ButtonValue = {
41
41
  live?: boolean;
42
42
  /** Opens a universal link directly, such as `https://github.com/await-widget/skills`. */
43
43
  url?: string;
44
+ /** Shortcut index for iOS 27, based on the shortcuts selected in widget configuration. */
45
+ shortcut?: number;
44
46
  };
45
47
 
46
48
  type ShapeValue = {
@@ -133,11 +135,15 @@ type ImageValue = {
133
135
  accented?: Accented;
134
136
  /** The maximum number of pixels along the image's longest edge. Defaults to 1000. */
135
137
  maxPixel?: number;
138
+ /** Maximum width and height for the image's natural layout size. Scales down proportionally. */
139
+ proposedSize?: {width?: number; height?: number};
136
140
  };
137
141
 
138
142
  type IconValue = {
139
143
  /** The name of the system symbol image. Use the SF Symbols app to look up the names of system symbol images. */
140
144
  value?: string;
145
+ /** The modes used to resize the symbol to fit within its containing view. */
146
+ resizable?: Resizable;
141
147
  };
142
148
 
143
149
  type TimeValue =