@workerdeck/ui 2.2.0 → 2.2.1

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/build/index.d.mts CHANGED
@@ -15,7 +15,7 @@ import { ConnectionState, TranscriptItem, TranscriptState, UseAttachmentsResult
15
15
  import { WorkerDeckClient } from "@workerdeck/client";
16
16
  //#region src/components/ui/Button.d.ts
17
17
  declare const buttonVariants: (props?: ({
18
- variant?: "default" | "outline" | "secondary" | "ghost" | "destructive" | "link" | null | undefined;
18
+ variant?: "default" | "link" | "outline" | "secondary" | "ghost" | "destructive" | null | undefined;
19
19
  size?: "default" | "xs" | "sm" | "lg" | "icon" | "icon-sm" | null | undefined;
20
20
  } & import("class-variance-authority/types").ClassProp) | undefined) => string;
21
21
  interface ButtonProps extends ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof buttonVariants> {}
package/build/scoped.css CHANGED
@@ -2396,6 +2396,8 @@
2396
2396
  background: var(--term-user-bg);
2397
2397
  margin-inline: calc(-1 * var(--term-bleed, 0px));
2398
2398
  padding-inline: var(--term-bleed, 0px);
2399
+ user-select: text;
2400
+ cursor: text;
2399
2401
  }
2400
2402
  .wd-root [data-terminal] .term-link {
2401
2403
  text-decoration: underline;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@workerdeck/ui",
3
- "version": "2.2.0",
3
+ "version": "2.2.1",
4
4
  "type": "module",
5
5
  "description": "Styled agent-control component library for WorkerDeck: session panel, transcript with streaming, tool-call cards, permission prompts, session list, composer. Tailwind v4 + Base UI + cva. Pairs with the headless @workerdeck/react layer.",
6
6
  "license": "MIT",
@@ -39,9 +39,9 @@
39
39
  "streamdown": "^2.6.0",
40
40
  "tailwind-merge": "^3.6.0",
41
41
  "use-stick-to-bottom": "^1.1.6",
42
- "@workerdeck/client": "2.2.0",
43
- "@workerdeck/protocol": "2.2.0",
44
- "@workerdeck/react": "2.2.0"
42
+ "@workerdeck/client": "2.2.1",
43
+ "@workerdeck/protocol": "2.2.1",
44
+ "@workerdeck/react": "2.2.1"
45
45
  },
46
46
  "peerDependencies": {
47
47
  "monaco-editor": "^0.56.0",
@@ -401,6 +401,14 @@
401
401
  background: var(--term-user-bg);
402
402
  margin-inline: calc(-1 * var(--term-bleed, 0px));
403
403
  padding-inline: var(--term-bleed, 0px);
404
+ /* Declared, never inherited. This band is the one transcript block that is
405
+ neither a `.term-press` nor plain flow text, so without saying so it takes
406
+ whatever the host gives it — which differs between the browser and the VS
407
+ Code webview, and a block that cannot host a selection endpoint does not
408
+ merely refuse the drag: the selection jumps to the next valid position
409
+ above it, swallowing everything in between. */
410
+ user-select: text;
411
+ cursor: text;
404
412
  }
405
413
 
406
414
  [data-terminal] .term-link {