@opencode-ai/ui 0.0.0-dev-17902 → 0.0.0-dev-17904

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/i18n/en.d.ts CHANGED
@@ -187,6 +187,8 @@ declare const source: {
187
187
  "ui.message.duration.minutesSeconds": string;
188
188
  "ui.message.interrupted": string;
189
189
  "ui.sessionTimeline.notice.model": string;
190
+ "ui.sessionTimeline.notice.movedTo": string;
191
+ "ui.sessionTimeline.notice.movedTooltip": string;
190
192
  "ui.sessionTimeline.notice.failed": string;
191
193
  "ui.sessionTimeline.notice.cancelled": string;
192
194
  "ui.sessionTimeline.notice.finished": string;
@@ -10,5 +10,6 @@ export interface TooltipProps extends ComponentProps<typeof Root> {
10
10
  contentStyle?: JSX.CSSProperties;
11
11
  inactive?: boolean;
12
12
  forceOpen?: boolean;
13
+ triggerTabIndex?: number;
13
14
  }
14
15
  export declare function Tooltip(props: TooltipProps): JSX.Element;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@opencode-ai/ui",
3
- "version": "0.0.0-dev-17902",
3
+ "version": "0.0.0-dev-17904",
4
4
  "type": "module",
5
5
  "license": "MIT",
6
6
  "repository": {
package/src/i18n/en.ts CHANGED
@@ -210,6 +210,8 @@ const source = {
210
210
  "ui.message.duration.minutesSeconds": "{{minutes}}m {{seconds}}s",
211
211
  "ui.message.interrupted": "Interrupted",
212
212
  "ui.sessionTimeline.notice.model": "Model",
213
+ "ui.sessionTimeline.notice.movedTo": "Moved to",
214
+ "ui.sessionTimeline.notice.movedTooltip": "Session working directory changed",
213
215
  "ui.sessionTimeline.notice.failed": "{{actor}} failed",
214
216
  "ui.sessionTimeline.notice.cancelled": "{{actor}} cancelled",
215
217
  "ui.sessionTimeline.notice.finished": "{{actor}} finished",
@@ -12,6 +12,7 @@ export interface TooltipProps extends ComponentProps<typeof Root> {
12
12
  contentStyle?: JSX.CSSProperties
13
13
  inactive?: boolean
14
14
  forceOpen?: boolean
15
+ triggerTabIndex?: number
15
16
  }
16
17
 
17
18
  export function Tooltip(props: TooltipProps) {
@@ -29,6 +30,7 @@ export function Tooltip(props: TooltipProps) {
29
30
  "contentStyle",
30
31
  "inactive",
31
32
  "forceOpen",
33
+ "triggerTabIndex",
32
34
  "ignoreSafeArea",
33
35
  "value",
34
36
  ])
@@ -110,6 +112,7 @@ export function Tooltip(props: TooltipProps) {
110
112
  <Trigger
111
113
  ref={ref}
112
114
  as="div"
115
+ tabIndex={local.triggerTabIndex}
113
116
  data-component="tooltip-v2-trigger"
114
117
  class={local.class}
115
118
  onPointerDownCapture={arm}