@opentui/core 0.1.3 → 0.1.4

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/3d.js CHANGED
@@ -34100,7 +34100,7 @@ class Renderable extends EventEmitter3 {
34100
34100
  this._height = options.height;
34101
34101
  this.layoutNode.setHeight(options.height);
34102
34102
  }
34103
- this._positionType = options.positionType ?? "relative";
34103
+ this._positionType = options.position ?? "relative";
34104
34104
  if (this._positionType === "absolute") {
34105
34105
  node.setPositionType(PositionType.Absolute);
34106
34106
  }
package/Renderable.d.ts CHANGED
@@ -27,7 +27,7 @@ export interface LayoutOptions {
27
27
  alignItems?: AlignString;
28
28
  justifyContent?: JustifyString;
29
29
  flexBasis?: number | "auto" | undefined;
30
- positionType?: PositionTypeString;
30
+ position?: PositionTypeString;
31
31
  top?: number | "auto" | `${number}%`;
32
32
  right?: number | "auto" | `${number}%`;
33
33
  bottom?: number | "auto" | `${number}%`;
package/index.js CHANGED
@@ -2367,7 +2367,7 @@ class Renderable extends EventEmitter3 {
2367
2367
  this._height = options.height;
2368
2368
  this.layoutNode.setHeight(options.height);
2369
2369
  }
2370
- this._positionType = options.positionType ?? "relative";
2370
+ this._positionType = options.position ?? "relative";
2371
2371
  if (this._positionType === "absolute") {
2372
2372
  node.setPositionType(PositionType.Absolute);
2373
2373
  }
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "main": "index.js",
5
5
  "types": "index.d.ts",
6
6
  "type": "module",
7
- "version": "0.1.3",
7
+ "version": "0.1.4",
8
8
  "description": "OpenTUI is a TypeScript library for building terminal user interfaces (TUIs)",
9
9
  "license": "MIT",
10
10
  "repository": {
@@ -32,11 +32,11 @@
32
32
  "bun-webgpu": "0.1.3",
33
33
  "planck": "^1.4.2",
34
34
  "three": "0.177.0",
35
- "@opentui/core-darwin-x64": "0.1.3",
36
- "@opentui/core-darwin-arm64": "0.1.3",
37
- "@opentui/core-linux-x64": "0.1.3",
38
- "@opentui/core-linux-arm64": "0.1.3",
39
- "@opentui/core-win32-x64": "0.1.3",
40
- "@opentui/core-win32-arm64": "0.1.3"
35
+ "@opentui/core-darwin-x64": "0.1.4",
36
+ "@opentui/core-darwin-arm64": "0.1.4",
37
+ "@opentui/core-linux-x64": "0.1.4",
38
+ "@opentui/core-linux-arm64": "0.1.4",
39
+ "@opentui/core-win32-x64": "0.1.4",
40
+ "@opentui/core-win32-arm64": "0.1.4"
41
41
  }
42
42
  }