@nemo-cli/ui 0.0.1-beta.5 → 0.0.1-beta.7

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 (2) hide show
  1. package/dist/index.d.ts +6 -6
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import * as ink3 from "ink";
1
+ import * as ink0 from "ink";
2
2
  import { Box } from "ink";
3
3
  import Gradient from "ink-gradient";
4
4
  import { ComponentProps } from "react";
@@ -9,13 +9,13 @@ declare const BigText: ({
9
9
  text
10
10
  }: {
11
11
  text: string;
12
- }) => ink3.Instance;
12
+ }) => ink0.Instance;
13
13
  //#endregion
14
14
  //#region src/components/list.d.ts
15
15
  interface ListProps<T extends string | number | boolean | symbol = string> {
16
16
  items: PromptOptions<T>[];
17
17
  }
18
- declare const renderList: (items: ListProps["items"]) => ink3.Instance;
18
+ declare const renderList: (items: ListProps["items"]) => ink0.Instance;
19
19
  //#endregion
20
20
  //#region src/components/message.d.ts
21
21
  declare const MessageVariant: {
@@ -42,12 +42,12 @@ declare const Message: ({
42
42
  name,
43
43
  type,
44
44
  ...props
45
- }: MessageProps) => ink3.Instance;
45
+ }: MessageProps) => ink0.Instance;
46
46
  declare const ErrorMessage: ({
47
47
  text,
48
48
  colors,
49
49
  ...props
50
- }: MessageProps) => ink3.Instance;
50
+ }: MessageProps) => ink0.Instance;
51
51
  //#endregion
52
52
  //#region src/components/process-message.d.ts
53
53
  type ProcessMessageProps = {
@@ -61,7 +61,7 @@ declare const ProcessMessage: ({
61
61
  commandArgs,
62
62
  onSuccess,
63
63
  onError
64
- }: ProcessMessageProps) => ink3.Instance;
64
+ }: ProcessMessageProps) => ink0.Instance;
65
65
  //#endregion
66
66
  export { BigText, ErrorMessage, Message, ProcessMessage, renderList };
67
67
  //# sourceMappingURL=index.d.ts.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nemo-cli/ui",
3
- "version": "0.0.1-beta.5",
3
+ "version": "0.0.1-beta.7",
4
4
  "description": "React TUI Components",
5
5
  "author": "gaozimeng <gaozimeng0425@gmail.com>",
6
6
  "homepage": "",