@longzai-intelligence-cli/tui 0.0.12 → 0.0.14
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/dist/index.d.ts +0 -8
- package/package.json +4 -4
package/dist/index.d.ts
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import "./rolldown-runtime-BqT_7tdF.js";
|
|
2
2
|
import { render } from "ink";
|
|
3
3
|
import { FC, ReactElement, ReactNode } from "react";
|
|
4
|
-
//#region src/render-app.d.ts
|
|
5
4
|
/**
|
|
6
5
|
* ink 渲染实例类型
|
|
7
6
|
*
|
|
@@ -27,8 +26,6 @@ type RenderInstance = ReturnType<typeof render>;
|
|
|
27
26
|
* @returns ink 渲染实例
|
|
28
27
|
*/
|
|
29
28
|
declare function renderApp(element: ReactElement): RenderInstance;
|
|
30
|
-
//#endregion
|
|
31
|
-
//#region src/components/data-table.d.ts
|
|
32
29
|
/**
|
|
33
30
|
* 文本对齐方式
|
|
34
31
|
*/
|
|
@@ -126,8 +123,6 @@ type DataTableProps<T> = {
|
|
|
126
123
|
* @returns 渲染好的表格 ReactElement;rows 为空时返回 EmptyState。
|
|
127
124
|
*/
|
|
128
125
|
declare function DataTable<T>(props: DataTableProps<T>): ReactElement;
|
|
129
|
-
//#endregion
|
|
130
|
-
//#region src/components/info-panel.d.ts
|
|
131
126
|
/**
|
|
132
127
|
* InfoPanel 组件属性
|
|
133
128
|
*/
|
|
@@ -157,8 +152,6 @@ type InfoPanelProps = {
|
|
|
157
152
|
* @returns 渲染青色粗体标题与内容区的纵向 Ink Box。
|
|
158
153
|
*/
|
|
159
154
|
declare const InfoPanel: (options: InfoPanelProps) => import("react").JSX.Element;
|
|
160
|
-
//#endregion
|
|
161
|
-
//#region src/components/empty-state.d.ts
|
|
162
155
|
/**
|
|
163
156
|
* 空态提示组件属性
|
|
164
157
|
*/
|
|
@@ -177,5 +170,4 @@ type EmptyStateProps = {
|
|
|
177
170
|
* @returns 渲染居中暗色提示文本的 Ink Box。
|
|
178
171
|
*/
|
|
179
172
|
declare const EmptyState: FC<EmptyStateProps>;
|
|
180
|
-
//#endregion
|
|
181
173
|
export { type Column, DataTable, type DataTableProps, EmptyState, InfoPanel, type RenderInstance, renderApp };
|
package/package.json
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@longzai-intelligence-cli/tui",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.14",
|
|
4
|
+
"private": false,
|
|
4
5
|
"description": "Longzai Intelligence CLI 终端 TUI 交互预设",
|
|
5
6
|
"keywords": [
|
|
6
|
-
"longzai-intelligence",
|
|
7
7
|
"cli",
|
|
8
8
|
"ink",
|
|
9
|
+
"longzai-intelligence",
|
|
9
10
|
"preset",
|
|
10
11
|
"react",
|
|
11
12
|
"tui"
|
|
12
13
|
],
|
|
13
|
-
"private": false,
|
|
14
14
|
"license": "UNLICENSED",
|
|
15
15
|
"files": [
|
|
16
16
|
"dist"
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
"clean": "lzi-dev-cli clean"
|
|
41
41
|
},
|
|
42
42
|
"dependencies": {
|
|
43
|
-
"@longzai-intelligence-cli/core": "0.0.
|
|
43
|
+
"@longzai-intelligence-cli/core": "0.0.14",
|
|
44
44
|
"ink": "^5.0.1",
|
|
45
45
|
"react": "^19.2.6"
|
|
46
46
|
},
|