@opencode/ui 0.0.0-dev-21832 → 0.0.0-dev-21834
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 +1 -0
- package/package.json +1 -1
- package/src/i18n/en.ts +1 -0
- package/src/overlays/tooltip/tooltip.tsx +6 -2
package/dist/i18n/en.d.ts
CHANGED
|
@@ -229,6 +229,7 @@ declare const source: {
|
|
|
229
229
|
"ui.message.voice": string;
|
|
230
230
|
"ui.message.deletePending": string;
|
|
231
231
|
"ui.message.copyResponse": string;
|
|
232
|
+
"ui.message.copyOutput": string;
|
|
232
233
|
"ui.message.copied": string;
|
|
233
234
|
"ui.message.thought": string;
|
|
234
235
|
"ui.message.duration.seconds": string;
|
package/package.json
CHANGED
package/src/i18n/en.ts
CHANGED
|
@@ -252,6 +252,7 @@ const source = {
|
|
|
252
252
|
"ui.message.voice": "Voice",
|
|
253
253
|
"ui.message.deletePending": "Delete",
|
|
254
254
|
"ui.message.copyResponse": "Copy response",
|
|
255
|
+
"ui.message.copyOutput": "Copy output",
|
|
255
256
|
"ui.message.copied": "Copied",
|
|
256
257
|
"ui.message.thought": "Thought",
|
|
257
258
|
"ui.message.duration.seconds": "{{count}}s",
|
|
@@ -77,8 +77,12 @@ export function Tooltip(props: TooltipProps) {
|
|
|
77
77
|
}
|
|
78
78
|
|
|
79
79
|
const leave = () => {
|
|
80
|
-
|
|
81
|
-
|
|
80
|
+
// Kobalte's own pointerleave handler runs after this one and only starts the
|
|
81
|
+
// skip-delay window for neighbouring tooltips if it still sees this one open.
|
|
82
|
+
queueMicrotask(() => {
|
|
83
|
+
if (!inside()) close()
|
|
84
|
+
drop()
|
|
85
|
+
})
|
|
82
86
|
}
|
|
83
87
|
|
|
84
88
|
createEffect(() => {
|