@await-widget/runtime 0.0.41 → 0.0.43

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 +5 -3
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@await-widget/runtime",
3
- "version": "0.0.41",
3
+ "version": "0.0.43",
4
4
  "description": "TypeScript declarations for Await widgets.",
5
5
  "license": "MIT",
6
6
  "author": "Maundy",
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 = {
@@ -48,8 +50,8 @@ type ShapeValue = {
48
50
  stroke?: {
49
51
  color?: Color;
50
52
  lineWidth?: number;
51
- lineCap?: string;
52
- lineJoin?: string;
53
+ lineCap?: 'butt' | 'round' | 'square';
54
+ lineJoin?: 'miter' | 'round' | 'bevel';
53
55
  miterLimit?: number;
54
56
  dash?: number[];
55
57
  dashPhase?: number;
@@ -227,7 +229,7 @@ type BaseMods = {
227
229
  blendMode?: BlendMode;
228
230
  blur?: Blur;
229
231
  brightness?: number;
230
- buttonStyle?: ButtonStyle;
232
+ buttonStyle?: ButtonStyle | '';
231
233
  clipped?: boolean;
232
234
  clipShape?: NativeView | '';
233
235
  /** This modifier is currently available, but future availability is uncertain. */