@opencode/ui 0.0.0-dev-291 → 0.0.0-dev-329

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@opencode/ui",
3
- "version": "0.0.0-dev-291",
3
+ "version": "0.0.0-dev-329",
4
4
  "type": "module",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -288,7 +288,7 @@
288
288
  "dependencies": {
289
289
  "@kitlangton/solid-motion": "0.2.2",
290
290
  "@kobalte/core": "0.13.13",
291
- "@opencode/util": "0.0.0-dev-291",
291
+ "@opencode/util": "0.0.0-dev-329",
292
292
  "@pierre/diffs": "1.6.1",
293
293
  "@pierre/highlights": "0.2.0",
294
294
  "@solid-primitives/event-listener": "2.4.6",
@@ -17,7 +17,8 @@ export function TruncatedText(props: { text: string; class?: string }) {
17
17
  <Tooltip
18
18
  value={<span dir="auto">{props.text}</span>}
19
19
  disabled={!store.truncated}
20
- triggerTabIndex={store.truncated ? 0 : -1}
20
+ // Focusable only while there is more to reveal; a -1 would still let a click focus the name.
21
+ triggerTabIndex={store.truncated ? 0 : undefined}
21
22
  class={`truncated-text ${props.class ?? ""}`}
22
23
  contentClass="truncated-text-tooltip"
23
24
  >