@tooee/layout 0.1.0 → 0.1.4
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/AppLayout.d.ts +2 -2
- package/dist/AppLayout.d.ts.map +1 -1
- package/dist/AppLayout.js +3 -3
- package/dist/AppLayout.js.map +1 -1
- package/dist/index.d.ts +7 -7
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +4 -4
- package/dist/index.js.map +1 -1
- package/package.json +14 -5
- package/src/AppLayout.tsx +5 -5
- package/src/index.ts +7 -7
package/dist/AppLayout.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { ReactNode, RefObject } from "react";
|
|
2
2
|
import type { ScrollBoxRenderable } from "@opentui/core";
|
|
3
|
-
import type { StatusBarItem } from "./StatusBar.
|
|
4
|
-
import type { SearchBarProps } from "./SearchBar.
|
|
3
|
+
import type { StatusBarItem } from "./StatusBar.js";
|
|
4
|
+
import type { SearchBarProps } from "./SearchBar.js";
|
|
5
5
|
export interface AppLayoutSearchBar extends SearchBarProps {
|
|
6
6
|
active: boolean;
|
|
7
7
|
}
|
package/dist/AppLayout.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AppLayout.d.ts","sourceRoot":"","sources":["../src/AppLayout.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AACjD,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,eAAe,CAAA;AAGxD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"AppLayout.d.ts","sourceRoot":"","sources":["../src/AppLayout.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AACjD,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,eAAe,CAAA;AAGxD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAA;AAEnD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAA;AAIpD,MAAM,WAAW,kBAAmB,SAAQ,cAAc;IACxD,MAAM,EAAE,OAAO,CAAA;CAChB;AAED,MAAM,WAAW,cAAc;IAC7B,QAAQ,CAAC,EAAE;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,QAAQ,CAAC,EAAE,MAAM,CAAA;KAAE,CAAA;IAC/C,SAAS,EAAE;QAAE,KAAK,EAAE,aAAa,EAAE,CAAA;KAAE,CAAA;IACrC,SAAS,CAAC,EAAE,SAAS,CAAC,mBAAmB,GAAG,IAAI,CAAC,CAAA;IACjD,WAAW,CAAC,EAAE;QACZ,YAAY,CAAC,EAAE,OAAO,CAAA;QACtB,WAAW,CAAC,EAAE,QAAQ,GAAG,KAAK,CAAA;QAC9B,OAAO,CAAC,EAAE,OAAO,CAAA;KAClB,CAAA;IACD,SAAS,CAAC,EAAE,kBAAkB,CAAA;IAC9B,OAAO,CAAC,EAAE,SAAS,CAAA;IACnB,QAAQ,EAAE,SAAS,CAAA;CACpB;AAED,wBAAgB,SAAS,CAAC,EACxB,QAAQ,EACR,SAAS,EACT,SAAS,EACT,WAAW,EACX,SAAS,EACT,OAAO,EACP,QAAQ,GACT,EAAE,cAAc,aAqChB"}
|
package/dist/AppLayout.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "@opentui/react/jsx-runtime";
|
|
2
|
-
import { TitleBar } from "./TitleBar.
|
|
3
|
-
import { StatusBar } from "./StatusBar.
|
|
4
|
-
import { SearchBar } from "./SearchBar.
|
|
2
|
+
import { TitleBar } from "./TitleBar.js";
|
|
3
|
+
import { StatusBar } from "./StatusBar.js";
|
|
4
|
+
import { SearchBar } from "./SearchBar.js";
|
|
5
5
|
import { useTheme } from "@tooee/themes";
|
|
6
6
|
import { useCurrentOverlay } from "@tooee/overlays";
|
|
7
7
|
export function AppLayout({ titleBar, statusBar, scrollRef, scrollProps, searchBar, overlay, children, }) {
|
package/dist/AppLayout.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AppLayout.js","sourceRoot":"","sources":["../src/AppLayout.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAE,QAAQ,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"AppLayout.js","sourceRoot":"","sources":["../src/AppLayout.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAA;AACxC,OAAO,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAA;AAE1C,OAAO,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAA;AAE1C,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAA;AACxC,OAAO,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAA;AAoBnD,MAAM,UAAU,SAAS,CAAC,EACxB,QAAQ,EACR,SAAS,EACT,SAAS,EACT,WAAW,EACX,SAAS,EACT,OAAO,EACP,QAAQ,GACO;IACf,MAAM,EAAE,KAAK,EAAE,GAAG,QAAQ,EAAE,CAAA;IAC5B,MAAM,cAAc,GAAG,iBAAiB,EAAE,CAAA;IAC1C,MAAM,aAAa,GAAG,OAAO,IAAI,cAAc,CAAA;IAC/C,OAAO,CACL,eAAK,aAAa,EAAC,QAAQ,EAAC,KAAK,EAAC,MAAM,EAAC,MAAM,EAAC,MAAM,EAAC,eAAe,EAAE,KAAK,CAAC,UAAU,aACrF,QAAQ,IAAI,KAAC,QAAQ,IAAC,KAAK,EAAE,QAAQ,CAAC,KAAK,EAAE,QAAQ,EAAE,QAAQ,CAAC,QAAQ,GAAI,EAC7E,eAAK,KAAK,EAAE,EAAE,QAAQ,EAAE,CAAC,EAAE,QAAQ,EAAE,UAAU,EAAE,aAC/C,oBACE,GAAG,EAAE,SAAS,EACd,KAAK,EAAE,EAAE,QAAQ,EAAE,CAAC,EAAE,EACtB,YAAY,EAAE,WAAW,EAAE,YAAY,EACvC,WAAW,EAAE,WAAW,EAAE,WAAW,EACrC,OAAO,EAAE,WAAW,EAAE,OAAO,IAAI,IAAI,YAEpC,QAAQ,GACC,EACX,aAAa,IAAI,CAChB,cAAK,QAAQ,EAAC,UAAU,EAAC,IAAI,EAAE,CAAC,EAAE,GAAG,EAAE,CAAC,EAAE,KAAK,EAAC,MAAM,EAAC,MAAM,EAAC,MAAM,YACjE,aAAa,GACV,CACP,IACG,EACL,SAAS,EAAE,MAAM,CAAC,CAAC,CAAC,CACnB,KAAC,SAAS,IACR,KAAK,EAAE,SAAS,CAAC,KAAK,EACtB,aAAa,EAAE,SAAS,CAAC,aAAa,EACtC,QAAQ,EAAE,SAAS,CAAC,QAAQ,EAC5B,QAAQ,EAAE,SAAS,CAAC,QAAQ,EAC5B,UAAU,EAAE,SAAS,CAAC,UAAU,EAChC,YAAY,EAAE,SAAS,CAAC,YAAY,GACpC,CACH,CAAC,CAAC,CAAC,CACF,KAAC,SAAS,IAAC,KAAK,EAAE,SAAS,CAAC,KAAK,GAAI,CACtC,IACG,CACP,CAAA;AACH,CAAC"}
|
package/dist/index.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export { AppLayout } from "./AppLayout.
|
|
2
|
-
export type { AppLayoutProps, AppLayoutSearchBar } from "./AppLayout.
|
|
3
|
-
export { StatusBar } from "./StatusBar.
|
|
4
|
-
export type { StatusBarItem } from "./StatusBar.
|
|
5
|
-
export { TitleBar } from "./TitleBar.
|
|
6
|
-
export { SearchBar } from "./SearchBar.
|
|
7
|
-
export type { SearchBarProps } from "./SearchBar.
|
|
1
|
+
export { AppLayout } from "./AppLayout.js";
|
|
2
|
+
export type { AppLayoutProps, AppLayoutSearchBar } from "./AppLayout.js";
|
|
3
|
+
export { StatusBar } from "./StatusBar.js";
|
|
4
|
+
export type { StatusBarItem } from "./StatusBar.js";
|
|
5
|
+
export { TitleBar } from "./TitleBar.js";
|
|
6
|
+
export { SearchBar } from "./SearchBar.js";
|
|
7
|
+
export type { SearchBarProps } from "./SearchBar.js";
|
|
8
8
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAA;AAC1C,YAAY,EAAE,cAAc,EAAE,kBAAkB,EAAE,MAAM,gBAAgB,CAAA;AACxE,OAAO,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAA;AAC1C,YAAY,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAA;AACnD,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAA;AACxC,OAAO,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAA;AAC1C,YAAY,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAA"}
|
package/dist/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { AppLayout } from "./AppLayout.
|
|
2
|
-
export { StatusBar } from "./StatusBar.
|
|
3
|
-
export { TitleBar } from "./TitleBar.
|
|
4
|
-
export { SearchBar } from "./SearchBar.
|
|
1
|
+
export { AppLayout } from "./AppLayout.js";
|
|
2
|
+
export { StatusBar } from "./StatusBar.js";
|
|
3
|
+
export { TitleBar } from "./TitleBar.js";
|
|
4
|
+
export { SearchBar } from "./SearchBar.js";
|
|
5
5
|
//# sourceMappingURL=index.js.map
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAA;AAE1C,OAAO,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAA;AAE1C,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAA;AACxC,OAAO,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAA"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tooee/layout",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.4",
|
|
4
4
|
"description": "Standard app chrome (title bar, status bar) for Tooee",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Gareth Andrew",
|
|
@@ -11,7 +11,13 @@
|
|
|
11
11
|
},
|
|
12
12
|
"homepage": "https://github.com/gingerhendrix/tooee",
|
|
13
13
|
"bugs": "https://github.com/gingerhendrix/tooee/issues",
|
|
14
|
-
"keywords": [
|
|
14
|
+
"keywords": [
|
|
15
|
+
"tui",
|
|
16
|
+
"terminal",
|
|
17
|
+
"cli",
|
|
18
|
+
"opentui",
|
|
19
|
+
"layout"
|
|
20
|
+
],
|
|
15
21
|
"type": "module",
|
|
16
22
|
"exports": {
|
|
17
23
|
".": {
|
|
@@ -21,13 +27,16 @@
|
|
|
21
27
|
}
|
|
22
28
|
}
|
|
23
29
|
},
|
|
24
|
-
"files": [
|
|
30
|
+
"files": [
|
|
31
|
+
"dist",
|
|
32
|
+
"src"
|
|
33
|
+
],
|
|
25
34
|
"scripts": {
|
|
26
35
|
"typecheck": "tsc --noEmit"
|
|
27
36
|
},
|
|
28
37
|
"dependencies": {
|
|
29
|
-
"@tooee/themes": "0.
|
|
30
|
-
"@tooee/overlays": "0.
|
|
38
|
+
"@tooee/themes": "0.1.4",
|
|
39
|
+
"@tooee/overlays": "0.1.4"
|
|
31
40
|
},
|
|
32
41
|
"devDependencies": {
|
|
33
42
|
"@opentui/core": "^0.1.67",
|
package/src/AppLayout.tsx
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import type { ReactNode, RefObject } from "react"
|
|
2
2
|
import type { ScrollBoxRenderable } from "@opentui/core"
|
|
3
|
-
import { TitleBar } from "./TitleBar.
|
|
4
|
-
import { StatusBar } from "./StatusBar.
|
|
5
|
-
import type { StatusBarItem } from "./StatusBar.
|
|
6
|
-
import { SearchBar } from "./SearchBar.
|
|
7
|
-
import type { SearchBarProps } from "./SearchBar.
|
|
3
|
+
import { TitleBar } from "./TitleBar.js"
|
|
4
|
+
import { StatusBar } from "./StatusBar.js"
|
|
5
|
+
import type { StatusBarItem } from "./StatusBar.js"
|
|
6
|
+
import { SearchBar } from "./SearchBar.js"
|
|
7
|
+
import type { SearchBarProps } from "./SearchBar.js"
|
|
8
8
|
import { useTheme } from "@tooee/themes"
|
|
9
9
|
import { useCurrentOverlay } from "@tooee/overlays"
|
|
10
10
|
|
package/src/index.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export { AppLayout } from "./AppLayout.
|
|
2
|
-
export type { AppLayoutProps, AppLayoutSearchBar } from "./AppLayout.
|
|
3
|
-
export { StatusBar } from "./StatusBar.
|
|
4
|
-
export type { StatusBarItem } from "./StatusBar.
|
|
5
|
-
export { TitleBar } from "./TitleBar.
|
|
6
|
-
export { SearchBar } from "./SearchBar.
|
|
7
|
-
export type { SearchBarProps } from "./SearchBar.
|
|
1
|
+
export { AppLayout } from "./AppLayout.js"
|
|
2
|
+
export type { AppLayoutProps, AppLayoutSearchBar } from "./AppLayout.js"
|
|
3
|
+
export { StatusBar } from "./StatusBar.js"
|
|
4
|
+
export type { StatusBarItem } from "./StatusBar.js"
|
|
5
|
+
export { TitleBar } from "./TitleBar.js"
|
|
6
|
+
export { SearchBar } from "./SearchBar.js"
|
|
7
|
+
export type { SearchBarProps } from "./SearchBar.js"
|