@run0/jiki-ui 0.1.0 → 0.1.1

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 (3) hide show
  1. package/LICENSE +19 -0
  2. package/README.md +45 -0
  3. package/package.json +4 -1
package/LICENSE ADDED
@@ -0,0 +1,19 @@
1
+ MIT License
2
+
3
+ Permission is hereby granted, free of charge, to any person obtaining a copy
4
+ of this software and associated documentation files (the "Software"), to deal
5
+ in the Software without restriction, including without limitation the rights
6
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
7
+ copies of the Software, and to permit persons to whom the Software is
8
+ furnished to do so, subject to the following conditions:
9
+
10
+ The above copyright notice and this permission notice shall be included in all
11
+ copies or substantial portions of the Software.
12
+
13
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
14
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
15
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
16
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
17
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
18
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
19
+ SOFTWARE.
package/README.md ADDED
@@ -0,0 +1,45 @@
1
+ <div align="center">
2
+ <a href="https://jiki.sh">
3
+ <img src="../../apps/website/public/favicon.svg" alt="Jiki" width="120" />
4
+ </a>
5
+
6
+ <a href="https://jiki.sh"><img alt="jiki logo" src="https://img.shields.io/badge/MADE%20For%20the%20browser-000000.svg?style=for-the-badge"></a>
7
+ <a href="https://www.npmjs.com/package/@run0/jiki-ui"><img alt="NPM version" src="https://img.shields.io/npm/v/@run0/jiki-ui.svg?style=for-the-badge&labelColor=000000"></a>
8
+ <a href="https://github.com/run0/jiki/blob/main/LICENSE"><img alt="License" src="https://img.shields.io/npm/l/@run0/jiki-ui.svg?style=for-the-badge&labelColor=000000"></a>
9
+ <a href="https://jiki.sh/docs/ui"><img alt="jiki logo" src="https://img.shields.io/badge/docs-000000.svg?style=for-the-badge"></a>
10
+
11
+ </div>
12
+
13
+ ---
14
+
15
+ Ready-made React UI components for jiki containers. Code editor, terminal, file explorer, browser preview, and more. Drop them in and get a polished IDE experience with zero configuration.
16
+
17
+ ## A few lines is all it takes
18
+
19
+ ```tsx
20
+ import { CodeEditor, Terminal, FileExplorer } from "@run0/jiki-ui";
21
+
22
+ <FileExplorer files={files} onSelect={setActiveFile} accent="cyan" />
23
+ <CodeEditor value={code} language="typescript" accent="cyan" />
24
+ <Terminal lines={output} accent="cyan" />
25
+ ```
26
+
27
+ ## Components
28
+
29
+ - **CodeEditor** — Syntax-highlighted code editor with Shiki
30
+ - **Terminal** — Styled terminal output with ANSI support
31
+ - **FileExplorer** — Collapsible file tree with icons
32
+ - **BrowserWindow** — Browser chrome frame with URL bar
33
+ - **AIChatPanel** — Chat interface for AI-assisted workflows
34
+ - **PanelToggle** — Resizable panel layout controls
35
+ - **MobileTabBar** — Responsive bottom navigation tabs
36
+
37
+ ## Learn more
38
+
39
+ - [Website](https://jiki.sh)
40
+ - [Documentation](https://jiki.sh/docs/ui)
41
+ - [API Reference](https://jiki.sh/docs/ui/code-editor)
42
+
43
+ ## License
44
+
45
+ MIT
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@run0/jiki-ui",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "Shared React UI components for jiki examples — CodeEditor and Terminal.",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -30,6 +30,9 @@
30
30
  "src",
31
31
  "dist"
32
32
  ],
33
+ "publishConfig": {
34
+ "access": "public"
35
+ },
33
36
  "sideEffects": false,
34
37
  "dependencies": {
35
38
  "shiki": "^3.0.0"