pi-interview 0.8.4 → 0.8.5

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/form/styles.css CHANGED
@@ -356,22 +356,17 @@ input[type="checkbox"] {
356
356
 
357
357
  input[type="radio"] {
358
358
  border-radius: 50%;
359
+ background-image: radial-gradient(circle, var(--accent) 0 45%, transparent 55%);
360
+ background-repeat: no-repeat;
361
+ background-position: center;
362
+ background-size: 0 0;
363
+ transition: background-size 120ms ease-out, border-color 120ms ease-out;
359
364
  }
360
365
 
361
366
  input[type="checkbox"] {
362
367
  border-radius: 3px;
363
368
  }
364
369
 
365
- input[type="radio"]::before {
366
- content: "";
367
- width: 8px;
368
- height: 8px;
369
- border-radius: 50%;
370
- transform: scale(0);
371
- background: var(--accent);
372
- transition: transform 120ms ease-out;
373
- }
374
-
375
370
  input[type="checkbox"]::before {
376
371
  content: "";
377
372
  width: 9px;
@@ -382,13 +377,13 @@ input[type="checkbox"]::before {
382
377
  transition: transform 120ms ease-out;
383
378
  }
384
379
 
385
- input[type="radio"]:checked::before,
386
- input[type="checkbox"]:checked::before {
387
- transform: rotate(-45deg) scale(1);
380
+ input[type="radio"]:checked {
381
+ border-color: var(--accent);
382
+ background-size: 8px 8px;
388
383
  }
389
384
 
390
- input[type="radio"]:checked::before {
391
- transform: scale(1);
385
+ input[type="checkbox"]:checked::before {
386
+ transform: rotate(-45deg) scale(1);
392
387
  }
393
388
 
394
389
  input[type="radio"]:focus-visible,
package/index.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { Type } from "@sinclair/typebox";
1
+ import { Type } from "typebox";
2
2
  import { StringEnum, complete, type Api, type AssistantMessage, type Model } from "@mariozechner/pi-ai";
3
3
  import { Text } from "@mariozechner/pi-tui";
4
4
  import type { ExtensionAPI } from "@mariozechner/pi-coding-agent";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pi-interview",
3
- "version": "0.8.4",
3
+ "version": "0.8.5",
4
4
  "description": "Interactive interview form extension for pi coding agent",
5
5
  "author": "Nico Bailon",
6
6
  "license": "MIT",
@@ -39,5 +39,8 @@
39
39
  },
40
40
  "devDependencies": {
41
41
  "vitest": "^4.0.18"
42
+ },
43
+ "dependencies": {
44
+ "typebox": "^1.1.31"
42
45
  }
43
46
  }