@await-widget/runtime 0.0.37 → 0.0.39

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.37",
3
+ "version": "0.0.39",
4
4
  "description": "TypeScript declarations for Await widgets.",
5
5
  "license": "MIT",
6
6
  "author": "Maundy",
package/types/await.d.ts CHANGED
@@ -9,6 +9,13 @@ declare module 'await' {
9
9
  create: (props: Props) => NativeView,
10
10
  props: Props,
11
11
  ) => NativeView;
12
+ /** This is an experimental component and may change in the future. */
13
+ export function Scroll(
14
+ props: ID &
15
+ Mods & {
16
+ children?: NativeView;
17
+ },
18
+ ): NativeView;
12
19
  export function VStack(
13
20
  props: VStackValue &
14
21
  ID &
@@ -23,6 +30,13 @@ declare module 'await' {
23
30
  children?: NativeView;
24
31
  },
25
32
  ): NativeView;
33
+ export function Flow(
34
+ props: FlowValue &
35
+ ID &
36
+ Mods & {
37
+ children?: NativeView;
38
+ },
39
+ ): NativeView;
26
40
  export function ZStack(
27
41
  props: ZStackValue &
28
42
  ID &
package/types/prop.d.ts CHANGED
@@ -14,6 +14,15 @@ type HStackValue = {
14
14
  alignment?: VerticalAlignment;
15
15
  };
16
16
 
17
+ type FlowValue = {
18
+ /** Default 0. */
19
+ spacing?: number;
20
+ /** Default 0. */
21
+ rowSpacing?: number;
22
+ /** Vertical alignment for items within each row. */
23
+ alignment?: VerticalAlignment;
24
+ };
25
+
17
26
  type ZStackValue = {
18
27
  /** Horizontal and vertical alignment for child views. */
19
28
  alignment?: Alignment;
@@ -207,6 +216,7 @@ type BaseMods = {
207
216
  buttonStyle?: ButtonStyle;
208
217
  clipped?: boolean;
209
218
  clipShape?: NativeView | '';
219
+ clockEffect?: number | 'second' | 'minute' | 'hour';
210
220
  colorInvert?: boolean;
211
221
  colorMultiply?: Color;
212
222
  compositingGroup?: boolean;