@yeshwanthyk/open-tui 0.1.2 → 0.1.3

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.
@@ -1,4 +1,4 @@
1
- import { jsx as _jsx } from "@opentui/solid/jsx-runtime";
1
+ import { jsx as _jsx } from "solid-js/jsx-runtime";
2
2
  import { splitProps } from "solid-js";
3
3
  import { TextAttributes } from "@opentui/core";
4
4
  import { useTheme } from "../context/theme.js";
@@ -1,4 +1,4 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "@opentui/solid/jsx-runtime";
1
+ import { jsx as _jsx, jsxs as _jsxs } from "solid-js/jsx-runtime";
2
2
  import { getTreeSitterClient } from "@opentui/core";
3
3
  import { Show, createSignal, splitProps } from "solid-js";
4
4
  import { useTheme } from "../context/theme.js";
@@ -1,4 +1,4 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "@opentui/solid/jsx-runtime";
1
+ import { jsx as _jsx, jsxs as _jsxs } from "solid-js/jsx-runtime";
2
2
  import { Show, splitProps } from "solid-js";
3
3
  import { TextAttributes } from "@opentui/core";
4
4
  import { useTheme } from "../context/theme.js";
@@ -1,4 +1,4 @@
1
- import { jsx as _jsx } from "@opentui/solid/jsx-runtime";
1
+ import { jsx as _jsx } from "solid-js/jsx-runtime";
2
2
  import { splitProps } from "solid-js";
3
3
  import { getTreeSitterClient } from "@opentui/core";
4
4
  import { useTerminalDimensions } from "../context/terminal.js";
@@ -1,4 +1,4 @@
1
- import { jsx as _jsx } from "@opentui/solid/jsx-runtime";
1
+ import { jsx as _jsx } from "solid-js/jsx-runtime";
2
2
  import { splitProps } from "solid-js";
3
3
  import { useTheme } from "../context/theme.js";
4
4
  export function Divider(props) {
@@ -1,4 +1,4 @@
1
- import { jsx as _jsx } from "@opentui/solid/jsx-runtime";
1
+ import { jsx as _jsx } from "solid-js/jsx-runtime";
2
2
  /**
3
3
  * Editor component - wrapper around OpenTUI's TextareaRenderable
4
4
  *
@@ -1,4 +1,4 @@
1
- import { jsx as _jsx } from "@opentui/solid/jsx-runtime";
1
+ import { jsx as _jsx } from "solid-js/jsx-runtime";
2
2
  /**
3
3
  * Image component for rendering images in the terminal
4
4
  *
@@ -1,4 +1,4 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "@opentui/solid/jsx-runtime";
1
+ import { jsx as _jsx, jsxs as _jsxs } from "solid-js/jsx-runtime";
2
2
  /**
3
3
  * Loader/spinner component using OpenTUI spinner
4
4
  */
@@ -1,4 +1,4 @@
1
- import { jsx as _jsx } from "@opentui/solid/jsx-runtime";
1
+ import { jsx as _jsx } from "solid-js/jsx-runtime";
2
2
  import { useTheme } from "../context/theme.js";
3
3
  /**
4
4
  * Markdown component that renders markdown text with tree-sitter syntax highlighting
@@ -1,4 +1,4 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "@opentui/solid/jsx-runtime";
1
+ import { jsx as _jsx, jsxs as _jsxs } from "solid-js/jsx-runtime";
2
2
  import { parseColor } from "@opentui/core";
3
3
  import { splitProps } from "solid-js";
4
4
  import { useTheme } from "../context/theme.js";
@@ -1,4 +1,4 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "@opentui/solid/jsx-runtime";
1
+ import { jsx as _jsx, jsxs as _jsxs } from "solid-js/jsx-runtime";
2
2
  /**
3
3
  * SelectList component - wraps OpenTUI's SelectRenderable
4
4
  */
@@ -1,4 +1,4 @@
1
- import { jsx as _jsx } from "@opentui/solid/jsx-runtime";
1
+ import { jsx as _jsx } from "solid-js/jsx-runtime";
2
2
  /**
3
3
  * Flexible spacer that expands to fill available space
4
4
  *
@@ -1,4 +1,4 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "@opentui/solid/jsx-runtime";
1
+ import { jsx as _jsx, jsxs as _jsxs } from "solid-js/jsx-runtime";
2
2
  import { For, Show, splitProps } from "solid-js";
3
3
  import { useTheme } from "../context/theme.js";
4
4
  import { Badge } from "./badge.js";
@@ -1,4 +1,4 @@
1
- import { jsx as _jsx } from "@opentui/solid/jsx-runtime";
1
+ import { jsx as _jsx } from "solid-js/jsx-runtime";
2
2
  import { parseColor, RGBA, SyntaxStyle } from "@opentui/core";
3
3
  import { createContext, createEffect, createMemo, useContext } from "solid-js";
4
4
  import { createStore } from "solid-js/store";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yeshwanthyk/open-tui",
3
- "version": "0.1.2",
3
+ "version": "0.1.3",
4
4
  "description": "OpenTUI-based Terminal User Interface with SolidJS reactive rendering",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -17,7 +17,7 @@
17
17
  "lint": "biome check --write . && oxlint .",
18
18
  "lint:check": "biome check . && oxlint .",
19
19
  "typecheck": "tsc --noEmit",
20
- "build": "tsc -b tsconfig.build.json --force",
20
+ "build": "tsc -b tsconfig.build.json --force && node scripts/replace-jsx-runtime.js",
21
21
  "check": "bun run lint:check && bun run typecheck",
22
22
  "test": "bun test",
23
23
  "demo": "bun run examples/run.ts",