@opentui/react 0.4.3 → 0.4.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.
@@ -166,7 +166,7 @@ import { TextNodeRenderable as TextNodeRenderable2 } from "@opentui/core";
166
166
  // package.json
167
167
  var package_default = {
168
168
  name: "@opentui/react",
169
- version: "0.4.3",
169
+ version: "0.4.4",
170
170
  description: "React renderer for building terminal user interfaces using OpenTUI core",
171
171
  license: "MIT",
172
172
  repository: {
package/index.js CHANGED
@@ -11,7 +11,7 @@ import {
11
11
  getComponentCatalogue,
12
12
  jsxDEV,
13
13
  useAppContext
14
- } from "./chunk-rm53pqj2.js";
14
+ } from "./chunk-9tt3518z.js";
15
15
  import"./chunk-2mx7fq49.js";
16
16
  // src/hooks/use-blur.ts
17
17
  import { useEffect } from "react";
@@ -136,7 +136,7 @@ import { useEffect as useEffect7 } from "react";
136
136
  var useTimeline = (options = {}) => {
137
137
  const timeline = new Timeline(options);
138
138
  useEffect7(() => {
139
- if (!options.autoplay) {
139
+ if (options.autoplay !== false) {
140
140
  timeline.play();
141
141
  }
142
142
  engine.register(timeline);
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "main": "index.js",
5
5
  "types": "src/index.d.ts",
6
6
  "type": "module",
7
- "version": "0.4.3",
7
+ "version": "0.4.4",
8
8
  "description": "React renderer for building terminal user interfaces using OpenTUI core",
9
9
  "license": "MIT",
10
10
  "repository": {
@@ -52,7 +52,7 @@
52
52
  }
53
53
  },
54
54
  "dependencies": {
55
- "@opentui/core": "0.4.3",
55
+ "@opentui/core": "0.4.4",
56
56
  "react-reconciler": "^0.33.0"
57
57
  },
58
58
  "devDependencies": {
package/test-utils.js CHANGED
@@ -1,7 +1,7 @@
1
1
  // @bun
2
2
  import {
3
3
  createRoot
4
- } from "./chunk-rm53pqj2.js";
4
+ } from "./chunk-9tt3518z.js";
5
5
  import"./chunk-2mx7fq49.js";
6
6
 
7
7
  // src/test-utils.ts