@spences10/pi-tui-modal 0.0.16 → 0.0.18
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/README.md +20 -2
- package/package.json +6 -6
package/README.md
CHANGED
|
@@ -1,7 +1,14 @@
|
|
|
1
1
|
# @spences10/pi-tui-modal
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
|
|
3
|
+
[](https://viteplus.dev)
|
|
4
|
+
[](https://vitest.dev)
|
|
5
|
+
[](https://www.npmjs.com/package/@spences10/pi-tui-modal)
|
|
6
|
+
[](https://www.npmjs.com/package/@spences10/pi-tui-modal)
|
|
7
|
+
|
|
8
|
+
Build Pi overlays that feel consistent instead of one-off.
|
|
9
|
+
`pi-tui-modal` provides shared TUI modal primitives for pickers,
|
|
10
|
+
settings, prompts, confirmations, and scrollable text views used
|
|
11
|
+
across Pi extensions.
|
|
5
12
|
|
|
6
13
|
## Styling
|
|
7
14
|
|
|
@@ -29,3 +36,14 @@ footers remain visible on small terminals.
|
|
|
29
36
|
IME-safe focus propagation.
|
|
30
37
|
- `show_confirm_modal(ctx, options)` — confirm/cancel destructive or
|
|
31
38
|
replacing actions.
|
|
39
|
+
|
|
40
|
+
## Development
|
|
41
|
+
|
|
42
|
+
Package scripts build transitive workspace dependencies first, then
|
|
43
|
+
run local tools through Vite+ with `vp exec`.
|
|
44
|
+
|
|
45
|
+
```bash
|
|
46
|
+
pnpm --filter @spences10/pi-tui-modal run check
|
|
47
|
+
pnpm --filter @spences10/pi-tui-modal run test
|
|
48
|
+
pnpm --filter @spences10/pi-tui-modal run build
|
|
49
|
+
```
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@spences10/pi-tui-modal",
|
|
3
|
-
"version": "0.0.
|
|
4
|
-
"description": "Shared Pi TUI modal
|
|
3
|
+
"version": "0.0.18",
|
|
4
|
+
"description": "Shared Pi TUI modal primitives for consistent pickers, settings, prompts, confirmations, and scrollable overlays",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"modal",
|
|
7
7
|
"pi",
|
|
@@ -44,12 +44,12 @@
|
|
|
44
44
|
},
|
|
45
45
|
"scripts": {
|
|
46
46
|
"build": "pnpm --filter \"$npm_package_name^...\" run build:self && pnpm run build:self",
|
|
47
|
-
"build:self": "tsc -p tsconfig.build.json",
|
|
47
|
+
"build:self": "vp exec tsc -p tsconfig.build.json",
|
|
48
48
|
"check": "pnpm --filter \"$npm_package_name^...\" run build:self && pnpm run check:self",
|
|
49
|
-
"check:self": "tsc --noEmit -p tsconfig.json",
|
|
49
|
+
"check:self": "vp exec tsc --noEmit -p tsconfig.json",
|
|
50
50
|
"test": "pnpm --filter \"$npm_package_name^...\" run build:self && pnpm run test:self",
|
|
51
|
-
"test:self": "vitest run",
|
|
52
|
-
"coverage:self": "vitest run --coverage",
|
|
51
|
+
"test:self": "vp exec vitest run",
|
|
52
|
+
"coverage:self": "vp exec vitest run --coverage",
|
|
53
53
|
"coverage": "pnpm --filter \"$npm_package_name^...\" run build:self && pnpm run coverage:self"
|
|
54
54
|
}
|
|
55
55
|
}
|