chore: generate

This commit is contained in:
opencode-agent[bot]
2026-05-20 06:41:26 +00:00
parent 38b406fb35
commit 11f7e5a1b0
44 changed files with 354 additions and 543 deletions
@@ -47,16 +47,13 @@ export function LineCommentV2(props: LineCommentV2Props) {
<div data-slot="line-comment-v2-text">{local.comment}</div>
<div data-slot="line-comment-v2-meta">{local.selection}</div>
</div>
<Show when={local.actions}>
{(actions) => <div data-slot="line-comment-v2-tools">{actions()}</div>}
</Show>
<Show when={local.actions}>{(actions) => <div data-slot="line-comment-v2-tools">{actions()}</div>}</Show>
</div>
</div>
)
}
export interface LineCommentEditorV2Props
extends Omit<ComponentProps<"div">, "children" | "onInput" | "onSubmit"> {
export interface LineCommentEditorV2Props extends Omit<ComponentProps<"div">, "children" | "onInput" | "onSubmit"> {
/** Visible field label above the textarea (default: “Comment”). */
heading?: JSX.Element | string
value: string
@@ -147,13 +144,7 @@ export function LineCommentEditorV2(props: LineCommentEditorV2Props) {
<ButtonV2 type="button" size="normal" variant="neutral" onClick={() => local.onCancel()}>
{local.cancelLabel ?? "Cancel"}
</ButtonV2>
<ButtonV2
type="button"
size="normal"
variant="contrast"
disabled={!canSubmit()}
onClick={submit}
>
<ButtonV2 type="button" size="normal" variant="contrast" disabled={!canSubmit()} onClick={submit}>
{local.submitLabel ?? "Comment"}
</ButtonV2>
</div>