@await-widget/runtime 0.0.45 → 0.0.46

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 +3 -3
  2. package/types/prop.d.ts +6 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@await-widget/runtime",
3
- "version": "0.0.45",
3
+ "version": "0.0.46",
4
4
  "description": "TypeScript declarations for Await widgets.",
5
5
  "license": "MIT",
6
6
  "author": "Maundy",
@@ -33,8 +33,8 @@
33
33
  "cli:test": "node bin/await-widget.js --help"
34
34
  },
35
35
  "devDependencies": {
36
- "typescript": "^6.0.2",
37
- "xo": "^2.0.2"
36
+ "typescript": "^6.0.3",
37
+ "xo": "^4.0.0"
38
38
  },
39
39
  "bin": {
40
40
  "await-widget": "bin/await-widget.js"
package/types/prop.d.ts CHANGED
@@ -296,8 +296,12 @@ type BaseMods = {
296
296
  rotation3DEffect?: Rotation3DEffect;
297
297
  rotationEffect?: RotationEffect;
298
298
  safeAreaInset?:
299
- | {edge: HorizontalEdge; alignment: VerticalAlignment; content: NativeView}
300
- | {edge: VerticalEdge; alignment: HorizontalAlignment; content: NativeView};
299
+ | {edge: HorizontalEdge; alignment?: VerticalAlignment; content: NativeView}
300
+ | {
301
+ edge: VerticalEdge;
302
+ alignment?: HorizontalAlignment;
303
+ content: NativeView;
304
+ };
301
305
  saturation?: number;
302
306
  scaleEffect?: ScaleEffect;
303
307
  shadow?: Shadow;