@opencode/ui 0.0.0-dev-1290 → 0.0.0-dev-1291
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-
|
|
3
|
+
"version": "0.0.0-dev-1291",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -294,7 +294,7 @@
|
|
|
294
294
|
"generate:v2-oc2": "bun run script/build-oc2-v2-overrides.ts"
|
|
295
295
|
},
|
|
296
296
|
"devDependencies": {
|
|
297
|
-
"@hona/strobe": "0.
|
|
297
|
+
"@hona/strobe": "0.39.0",
|
|
298
298
|
"@solidjs/meta": "0.29.4",
|
|
299
299
|
"@tsconfig/node22": "22.0.2",
|
|
300
300
|
"@types/bun": "1.4.3",
|
|
@@ -309,7 +309,7 @@
|
|
|
309
309
|
"dependencies": {
|
|
310
310
|
"@kitlangton/solid-motion": "0.2.2",
|
|
311
311
|
"@kobalte/core": "0.13.13",
|
|
312
|
-
"@opencode/util": "0.0.0-dev-
|
|
312
|
+
"@opencode/util": "0.0.0-dev-1291",
|
|
313
313
|
"@pierre/diffs": "1.6.1",
|
|
314
314
|
"@pierre/highlights": "0.2.0",
|
|
315
315
|
"@solid-primitives/event-listener": "2.4.6",
|
|
@@ -27,6 +27,7 @@ export function RedirectPasteForm(props: {
|
|
|
27
27
|
}) {
|
|
28
28
|
const i18n = useI18n()
|
|
29
29
|
const errorID = createUniqueId()
|
|
30
|
+
const inputID = createUniqueId()
|
|
30
31
|
let input: HTMLInputElement | undefined
|
|
31
32
|
|
|
32
33
|
const error = () => {
|
|
@@ -47,10 +48,12 @@ export function RedirectPasteForm(props: {
|
|
|
47
48
|
}}
|
|
48
49
|
class="flex flex-col items-start gap-2 self-stretch"
|
|
49
50
|
>
|
|
50
|
-
|
|
51
|
-
|
|
51
|
+
{/* Labelled by `for`, not by wrapping: a wrapping label would name the field after the trailing button too. */}
|
|
52
|
+
<div class="flex w-full flex-col gap-2 font-[530] leading-4 text-v2-text-text-base">
|
|
53
|
+
<label for={inputID}>{i18n.t("ui.redirectPaste.label")}</label>
|
|
52
54
|
<TextInput
|
|
53
55
|
ref={input}
|
|
56
|
+
id={inputID}
|
|
54
57
|
class="!w-full"
|
|
55
58
|
appearance="large"
|
|
56
59
|
name="redirect"
|
|
@@ -76,7 +79,7 @@ export function RedirectPasteForm(props: {
|
|
|
76
79
|
)
|
|
77
80
|
}
|
|
78
81
|
/>
|
|
79
|
-
</
|
|
82
|
+
</div>
|
|
80
83
|
<Show when={error()}>
|
|
81
84
|
{(message) => (
|
|
82
85
|
<div id={errorID} role="alert" class="text-xs text-v2-state-fg-danger">
|