🚀 Socket Launch Week Day 5:Introducing Repository Access Permissions and Custom Roles.Learn more
Sign In

@opentui/react

Package Overview
Dependencies
Maintainers
3
Versions
274
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@opentui/react - npm Package Compare versions

Comparing version
0.1.14
to
0.1.15
+6
-1
index.js

@@ -7,2 +7,3 @@ // @bun

InputRenderable,
ScrollBoxRenderable,
SelectRenderable,

@@ -17,2 +18,3 @@ TabSelectRenderable,

select: SelectRenderable,
scrollbox: ScrollBoxRenderable,
"ascii-font": ASCIIFontRenderable,

@@ -287,3 +289,6 @@ "tab-select": TabSelectRenderable

}
return new components[type](rootContainerInstance.ctx, {});
return new components[type](rootContainerInstance.ctx, {
id,
...props
});
},

@@ -290,0 +295,0 @@ appendChild(parent, child) {

+4
-1

@@ -5,3 +5,6 @@ import type * as React from "react"

BoxProps,
ExtendedIntrinsicElements,
InputProps,
OpenTUIComponents,
ScrollBoxProps,
SelectProps,

@@ -11,3 +14,2 @@ TabSelectProps,

} from "./src/types/components"
import type { ExtendedIntrinsicElements, OpenTUIComponents } from "./src/types/components"

@@ -34,2 +36,3 @@ export namespace JSX {

select: SelectProps
scrollbox: ScrollBoxProps
"ascii-font": AsciiFontProps

@@ -36,0 +39,0 @@ "tab-select": TabSelectProps

@@ -7,3 +7,3 @@ {

"type": "module",
"version": "0.1.14",
"version": "0.1.15",
"description": "React renderer for building terminal user interfaces using OpenTUI core",

@@ -39,3 +39,3 @@ "license": "MIT",

"dependencies": {
"@opentui/core": "0.1.14",
"@opentui/core": "0.1.15",
"react-reconciler": "^0.32.0"

@@ -42,0 +42,0 @@ },

@@ -1,2 +0,2 @@

import { ASCIIFontRenderable, BoxRenderable, InputRenderable, SelectRenderable, TabSelectRenderable, TextRenderable } from "@opentui/core";
import { ASCIIFontRenderable, BoxRenderable, InputRenderable, ScrollBoxRenderable, SelectRenderable, TabSelectRenderable, TextRenderable } from "@opentui/core";
import type { RenderableConstructor } from "../types/components";

@@ -8,2 +8,3 @@ export declare const baseComponents: {

select: typeof SelectRenderable;
scrollbox: typeof ScrollBoxRenderable;
"ascii-font": typeof ASCIIFontRenderable;

@@ -10,0 +11,0 @@ "tab-select": typeof TabSelectRenderable;

@@ -26,2 +26,3 @@ // @bun

InputRenderable,
ScrollBoxRenderable,
SelectRenderable,

@@ -36,2 +37,3 @@ TabSelectRenderable,

select: SelectRenderable,
scrollbox: ScrollBoxRenderable,
"ascii-font": ASCIIFontRenderable,

@@ -222,3 +224,6 @@ "tab-select": TabSelectRenderable

}
return new components[type](rootContainerInstance.ctx, {});
return new components[type](rootContainerInstance.ctx, {
id,
...props
});
},

@@ -225,0 +230,0 @@ appendChild(parent, child) {

@@ -1,2 +0,2 @@

import type { ASCIIFontOptions, ASCIIFontRenderable, BoxOptions, BoxRenderable, InputRenderable, InputRenderableOptions, Renderable, RenderableOptions, RenderContext, SelectOption, SelectRenderable, SelectRenderableOptions, StyledText, TabSelectOption, TabSelectRenderable, TabSelectRenderableOptions, TextChunk, TextOptions, TextRenderable } from "@opentui/core";
import type { ASCIIFontOptions, ASCIIFontRenderable, BoxOptions, BoxRenderable, InputRenderable, InputRenderableOptions, Renderable, RenderableOptions, RenderContext, ScrollBoxOptions, ScrollBoxRenderable, SelectOption, SelectRenderable, SelectRenderableOptions, StyledText, TabSelectOption, TabSelectRenderable, TabSelectRenderableOptions, TextChunk, TextOptions, TextRenderable } from "@opentui/core";
import type React from "react";

@@ -43,2 +43,5 @@ /** Properties that should not be included in the style prop */

};
export type ScrollBoxProps = ComponentProps<ContainerProps<ScrollBoxOptions>, ScrollBoxRenderable> & {
focused?: boolean;
};
export type AsciiFontProps = ComponentProps<ASCIIFontOptions, ASCIIFontRenderable>;

@@ -45,0 +48,0 @@ export type TabSelectProps = ComponentProps<TabSelectRenderableOptions, TabSelectRenderable> & {