@agent-native/core 0.84.0 → 0.84.2
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/corpus/README.md +1 -1
- package/corpus/core/CHANGELOG.md +13 -0
- package/corpus/core/docs/content/evals.mdx +34 -12
- package/corpus/core/docs/content/locales/ar-SA/evals.mdx +7 -0
- package/corpus/core/docs/content/locales/de-DE/evals.mdx +8 -0
- package/corpus/core/docs/content/locales/es-ES/evals.mdx +8 -0
- package/corpus/core/docs/content/locales/fr-FR/evals.mdx +8 -0
- package/corpus/core/docs/content/locales/hi-IN/evals.mdx +8 -0
- package/corpus/core/docs/content/locales/ja-JP/evals.mdx +7 -0
- package/corpus/core/docs/content/locales/ko-KR/evals.mdx +7 -0
- package/corpus/core/docs/content/locales/pt-BR/evals.mdx +8 -0
- package/corpus/core/docs/content/locales/zh-CN/evals.mdx +7 -0
- package/corpus/core/docs/content/locales/zh-TW/evals.mdx +7 -0
- package/corpus/core/docs/design/durable-agent-runs.md +34 -35
- package/corpus/core/package.json +1 -1
- package/corpus/core/src/agent/engine/builder-engine.ts +81 -9
- package/corpus/core/src/agent/run-manager.ts +8 -7
- package/corpus/core/src/cli/design-connect.ts +175 -0
- package/corpus/core/src/cli/skills.ts +5 -7
- package/corpus/core/src/client/AgentPanel.tsx +8 -0
- package/corpus/core/src/client/MultiTabAssistantChat.tsx +4 -1
- package/corpus/core/src/client/agent-chat-adapter.ts +45 -15
- package/corpus/core/src/client/sse-event-processor.ts +31 -4
- package/corpus/core/src/eval/define-eval.ts +4 -1
- package/corpus/core/src/eval/report.ts +23 -8
- package/corpus/core/src/eval/runner.ts +41 -6
- package/corpus/core/src/eval/types.ts +11 -0
- package/corpus/core/src/templates/workspace-core/.agents/skills/reliable-mutations/SKILL.md +15 -17
- package/corpus/templates/content/AGENTS.md +9 -2
- package/corpus/templates/content/actions/_database-row-batch.ts +230 -0
- package/corpus/templates/content/actions/_database-utils.ts +17 -9
- package/corpus/templates/content/actions/_notion-action-utils.ts +26 -0
- package/corpus/templates/content/actions/connect-notion-status.ts +13 -4
- package/corpus/templates/content/actions/create-and-link-notion-page.ts +23 -0
- package/corpus/templates/content/actions/delete-database-items.ts +55 -0
- package/corpus/templates/content/actions/delete-document.ts +4 -4
- package/corpus/templates/content/actions/disconnect-notion.ts +16 -0
- package/corpus/templates/content/actions/duplicate-database-item.ts +1 -1
- package/corpus/templates/content/actions/duplicate-database-items.ts +191 -0
- package/corpus/templates/content/actions/link-notion-page.ts +10 -7
- package/corpus/templates/content/actions/list-notion-links.ts +3 -4
- package/corpus/templates/content/actions/pull-notion-page.ts +7 -9
- package/corpus/templates/content/actions/push-notion-page.ts +7 -9
- package/corpus/templates/content/actions/refresh-notion-sync-status.ts +24 -0
- package/corpus/templates/content/actions/resolve-notion-sync-conflict.ts +23 -0
- package/corpus/templates/content/actions/search-notion-pages.ts +67 -0
- package/corpus/templates/content/actions/unlink-notion-page.ts +23 -0
- package/corpus/templates/content/app/components/editor/DocumentDatabase.tsx +27 -34
- package/corpus/templates/content/app/components/editor/DocumentEditor.tsx +16 -13
- package/corpus/templates/content/app/components/editor/DocumentToolbar.tsx +10 -10
- package/corpus/templates/content/app/components/editor/NotionConflictBanner.tsx +1 -1
- package/corpus/templates/content/app/components/editor/NotionSyncBar.tsx +18 -9
- package/corpus/templates/content/app/components/editor/database/DatabaseView.tsx +27 -34
- package/corpus/templates/content/app/components/editor/database/navigation-state.ts +10 -4
- package/corpus/templates/content/app/components/sidebar/NotionButton.tsx +32 -17
- package/corpus/templates/content/app/hooks/use-content-database.ts +35 -0
- package/corpus/templates/content/app/hooks/use-notion.ts +108 -99
- package/corpus/templates/content/package.json +3 -0
- package/corpus/templates/content/parity/README.md +69 -0
- package/corpus/templates/content/parity/eval-scenarios.ts +118 -0
- package/corpus/templates/content/parity/exceptions.allowlist.ts +17 -0
- package/corpus/templates/content/parity/matrix.md +28 -0
- package/corpus/templates/content/parity/matrix.ts +606 -0
- package/corpus/templates/content/parity/matrix.types.ts +42 -0
- package/corpus/templates/content/parity/parity-evals.eval.ts +4 -0
- package/corpus/templates/content/parity/render-matrix.ts +90 -0
- package/corpus/templates/content/parity/scenario-to-eval.ts +57 -0
- package/corpus/templates/content/shared/api.ts +11 -0
- package/corpus/templates/design/actions/apply-motion-edit.ts +50 -18
- package/corpus/templates/design/actions/get-motion-timeline.ts +4 -14
- package/corpus/templates/design/app/components/design/DesignCanvas.tsx +156 -12
- package/corpus/templates/design/app/components/design/MotionDock.tsx +2 -3
- package/corpus/templates/design/app/components/design/MultiScreenCanvas.tsx +217 -75
- package/corpus/templates/design/app/components/design/QuestionFlow.tsx +39 -39
- package/corpus/templates/design/app/components/design/bridge/editor-chrome.bridge.ts +558 -37
- package/corpus/templates/design/app/components/design/bridge/hit-test.bridge.ts +75 -3
- package/corpus/templates/design/app/components/design/types.ts +13 -0
- package/corpus/templates/design/app/components/layout/Layout.tsx +1 -0
- package/corpus/templates/design/app/i18n/zh-TW.ts +17 -0
- package/corpus/templates/design/app/i18n-data.ts +245 -0
- package/corpus/templates/design/app/pages/DesignEditor.tsx +762 -153
- package/corpus/templates/design/changelog/2026-06-30-copying-or-dragging-screen-elements-onto-the-infinite-canvas.md +6 -0
- package/corpus/templates/design/changelog/2026-06-30-design-questions-now-use-tighter-editor-typography-and-contr.md +6 -0
- package/corpus/templates/design/changelog/2026-06-30-element-drags-can-be-cancelled-with-escape-before-they-commi.md +6 -0
- package/corpus/templates/design/changelog/2026-06-30-pending-visual-style-edits-now-warn-before-you-leave-the-edi.md +6 -0
- package/corpus/templates/design/changelog/2026-06-30-visual-style-drags-stay-live-while-pending-edits-can-be-appl.md +6 -0
- package/corpus/templates/design/changelog/2026-07-01-design-chat-no-longer-shows-a-redundant-context-tab-above-the-composer.md +6 -0
- package/corpus/templates/design/changelog/2026-07-01-motion-track-creation-no-longer-fails-in-local-editors.md +6 -0
- package/corpus/templates/design/server/plugins/db.ts +10 -0
- package/dist/agent/engine/builder-engine.d.ts.map +1 -1
- package/dist/agent/engine/builder-engine.js +61 -10
- package/dist/agent/engine/builder-engine.js.map +1 -1
- package/dist/agent/run-manager.d.ts +8 -7
- package/dist/agent/run-manager.d.ts.map +1 -1
- package/dist/agent/run-manager.js +8 -7
- package/dist/agent/run-manager.js.map +1 -1
- package/dist/cli/design-connect.d.ts +2 -0
- package/dist/cli/design-connect.d.ts.map +1 -1
- package/dist/cli/design-connect.js +140 -0
- package/dist/cli/design-connect.js.map +1 -1
- package/dist/cli/skills.d.ts.map +1 -1
- package/dist/cli/skills.js +5 -7
- package/dist/cli/skills.js.map +1 -1
- package/dist/client/AgentPanel.d.ts +5 -1
- package/dist/client/AgentPanel.d.ts.map +1 -1
- package/dist/client/AgentPanel.js +4 -4
- package/dist/client/AgentPanel.js.map +1 -1
- package/dist/client/MultiTabAssistantChat.d.ts +3 -1
- package/dist/client/MultiTabAssistantChat.d.ts.map +1 -1
- package/dist/client/MultiTabAssistantChat.js +2 -2
- package/dist/client/MultiTabAssistantChat.js.map +1 -1
- package/dist/client/agent-chat-adapter.d.ts.map +1 -1
- package/dist/client/agent-chat-adapter.js +37 -14
- package/dist/client/agent-chat-adapter.js.map +1 -1
- package/dist/client/sse-event-processor.d.ts +14 -1
- package/dist/client/sse-event-processor.d.ts.map +1 -1
- package/dist/client/sse-event-processor.js +21 -5
- package/dist/client/sse-event-processor.js.map +1 -1
- package/dist/collab/routes.d.ts +1 -1
- package/dist/eval/define-eval.d.ts.map +1 -1
- package/dist/eval/define-eval.js +2 -1
- package/dist/eval/define-eval.js.map +1 -1
- package/dist/eval/report.d.ts.map +1 -1
- package/dist/eval/report.js +19 -4
- package/dist/eval/report.js.map +1 -1
- package/dist/eval/runner.d.ts.map +1 -1
- package/dist/eval/runner.js +38 -6
- package/dist/eval/runner.js.map +1 -1
- package/dist/eval/types.d.ts +11 -0
- package/dist/eval/types.d.ts.map +1 -1
- package/dist/eval/types.js.map +1 -1
- package/dist/file-upload/actions/upload-image.d.ts +2 -2
- package/dist/observability/routes.d.ts +2 -2
- package/dist/progress/routes.d.ts +1 -1
- package/dist/resources/handlers.d.ts +3 -3
- package/dist/server/transcribe-voice.d.ts +1 -1
- package/dist/templates/workspace-core/.agents/skills/reliable-mutations/SKILL.md +15 -17
- package/docs/content/evals.mdx +34 -12
- package/docs/content/locales/ar-SA/evals.mdx +7 -0
- package/docs/content/locales/de-DE/evals.mdx +8 -0
- package/docs/content/locales/es-ES/evals.mdx +8 -0
- package/docs/content/locales/fr-FR/evals.mdx +8 -0
- package/docs/content/locales/hi-IN/evals.mdx +8 -0
- package/docs/content/locales/ja-JP/evals.mdx +7 -0
- package/docs/content/locales/ko-KR/evals.mdx +7 -0
- package/docs/content/locales/pt-BR/evals.mdx +8 -0
- package/docs/content/locales/zh-CN/evals.mdx +7 -0
- package/docs/content/locales/zh-TW/evals.mdx +7 -0
- package/docs/design/durable-agent-runs.md +34 -35
- package/package.json +1 -1
- package/src/templates/workspace-core/.agents/skills/reliable-mutations/SKILL.md +15 -17
- package/corpus/templates/content/server/routes/api/notion/disconnect.post.ts +0 -12
|
@@ -70,20 +70,20 @@ export function QuestionFlow({
|
|
|
70
70
|
: Math.round((answeredCount / guidedQuestions.length) * 100);
|
|
71
71
|
|
|
72
72
|
return (
|
|
73
|
-
<div className="flex h-full w-full justify-center overflow-y-auto bg-transparent px-
|
|
74
|
-
<main className="w-full max-w-
|
|
75
|
-
<div className="mb-
|
|
76
|
-
<h2 className="text-
|
|
73
|
+
<div className="flex h-full w-full justify-center overflow-y-auto bg-transparent px-5 py-8 text-[13px] text-foreground sm:px-8 lg:px-10">
|
|
74
|
+
<main className="w-full max-w-[820px] pb-8">
|
|
75
|
+
<div className="mb-6 border-b border-[var(--design-editor-panel-divider-color)] pb-5">
|
|
76
|
+
<h2 className="text-[22px] font-semibold leading-7 tracking-normal text-foreground sm:text-2xl sm:leading-8">
|
|
77
77
|
{title ?? t("questionFlow.defaultTitle")}
|
|
78
78
|
</h2>
|
|
79
79
|
{description ? (
|
|
80
|
-
<p className="mt-
|
|
80
|
+
<p className="mt-2 max-w-2xl text-[13px] leading-5 text-muted-foreground">
|
|
81
81
|
{description}
|
|
82
82
|
</p>
|
|
83
83
|
) : null}
|
|
84
84
|
</div>
|
|
85
85
|
|
|
86
|
-
<div className="
|
|
86
|
+
<div className="divide-y divide-[var(--design-editor-panel-divider-color)]">
|
|
87
87
|
{guidedQuestions.map((question) => (
|
|
88
88
|
<QuestionCard
|
|
89
89
|
key={question.id}
|
|
@@ -94,13 +94,13 @@ export function QuestionFlow({
|
|
|
94
94
|
))}
|
|
95
95
|
</div>
|
|
96
96
|
|
|
97
|
-
<div className="mt-
|
|
97
|
+
<div className="mt-6 flex flex-wrap items-center gap-2 border-t border-[var(--design-editor-panel-divider-color)] pt-4">
|
|
98
98
|
<Button
|
|
99
99
|
type="button"
|
|
100
100
|
size="sm"
|
|
101
101
|
onClick={() => onSubmit(normalizeGuidedAnswers(answers))}
|
|
102
102
|
disabled={!allRequiredAnswered}
|
|
103
|
-
className="cursor-pointer"
|
|
103
|
+
className="h-8 cursor-pointer rounded-md bg-[var(--design-editor-accent-color)] px-3 text-[12px] text-[var(--design-editor-accent-contrast-color)] shadow-none hover:bg-[var(--design-editor-accent-hover-color)] hover:text-[var(--design-editor-accent-contrast-color)] focus-visible:ring-[var(--design-editor-accent-color)]"
|
|
104
104
|
>
|
|
105
105
|
{submitLabel ?? t("questionFlow.continue")}
|
|
106
106
|
</Button>
|
|
@@ -109,7 +109,7 @@ export function QuestionFlow({
|
|
|
109
109
|
variant="ghost"
|
|
110
110
|
size="sm"
|
|
111
111
|
onClick={onSkip}
|
|
112
|
-
className="cursor-pointer"
|
|
112
|
+
className="h-8 cursor-pointer rounded-md px-3 text-[12px] text-muted-foreground hover:bg-[var(--design-editor-layer-hover-color)] hover:text-foreground"
|
|
113
113
|
>
|
|
114
114
|
{skipLabel ?? t("questionFlow.skip")}
|
|
115
115
|
</Button>
|
|
@@ -131,13 +131,13 @@ function QuestionCard({
|
|
|
131
131
|
const t = useT();
|
|
132
132
|
|
|
133
133
|
return (
|
|
134
|
-
<section className="min-w-0">
|
|
134
|
+
<section className="min-w-0 py-5 first:pt-0 last:pb-0">
|
|
135
135
|
<div className="mb-3">
|
|
136
|
-
<h3 className="text-
|
|
136
|
+
<h3 className="text-[13px] font-semibold leading-5 text-foreground">
|
|
137
137
|
{question.question}
|
|
138
138
|
</h3>
|
|
139
139
|
{question.description && (
|
|
140
|
-
<p className="mt-1 max-w-2xl text-
|
|
140
|
+
<p className="mt-1 max-w-2xl text-[12px] leading-5 text-muted-foreground">
|
|
141
141
|
{question.description}
|
|
142
142
|
</p>
|
|
143
143
|
)}
|
|
@@ -162,7 +162,7 @@ function QuestionCard({
|
|
|
162
162
|
placeholder={
|
|
163
163
|
question.placeholder ?? t("questionFlow.textPlaceholder")
|
|
164
164
|
}
|
|
165
|
-
className="min-h-[
|
|
165
|
+
className="min-h-[88px] resize-none rounded-md border-[var(--design-editor-control-border)] bg-[var(--design-editor-control-bg)] text-[12px] shadow-none placeholder:text-muted-foreground/70 focus-visible:ring-1 focus-visible:ring-[var(--design-editor-accent-color)]"
|
|
166
166
|
/>
|
|
167
167
|
)}
|
|
168
168
|
</section>
|
|
@@ -287,7 +287,7 @@ function TextOptions({
|
|
|
287
287
|
placeholder={
|
|
288
288
|
question.placeholder ?? t("questionFlow.customPlaceholder")
|
|
289
289
|
}
|
|
290
|
-
className="min-h-[72px] max-w-xl resize-none bg-
|
|
290
|
+
className="min-h-[72px] max-w-xl resize-none rounded-md border-[var(--design-editor-control-border)] bg-[var(--design-editor-control-bg)] text-[12px] shadow-none placeholder:text-muted-foreground/70 focus-visible:ring-1 focus-visible:ring-[var(--design-editor-accent-color)]"
|
|
291
291
|
/>
|
|
292
292
|
)}
|
|
293
293
|
</div>
|
|
@@ -314,30 +314,30 @@ function OptionButton({
|
|
|
314
314
|
onClick={onClick}
|
|
315
315
|
aria-pressed={selected}
|
|
316
316
|
className={cn(
|
|
317
|
-
"group inline-flex min-w-0 max-w-full cursor-pointer items-center gap-2 rounded-
|
|
318
|
-
compact ? "px-
|
|
317
|
+
"group inline-flex min-h-8 min-w-0 max-w-full cursor-pointer items-center gap-2 rounded-md border text-start transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-[var(--design-editor-accent-color)] focus-visible:ring-offset-0",
|
|
318
|
+
compact ? "px-2.5 py-1.5" : "px-3 py-2",
|
|
319
319
|
selected
|
|
320
|
-
? "border-
|
|
321
|
-
: "border-border bg-
|
|
320
|
+
? "border-[var(--design-editor-accent-color)] bg-[var(--design-editor-selection-color)] text-foreground"
|
|
321
|
+
: "border-[var(--design-editor-control-border)] bg-[var(--design-editor-control-bg)] text-foreground hover:bg-[var(--design-editor-panel-raised-bg)]",
|
|
322
322
|
)}
|
|
323
323
|
>
|
|
324
324
|
<span
|
|
325
325
|
className={cn(
|
|
326
|
-
"flex size-
|
|
327
|
-
multiSelect ? "rounded-
|
|
326
|
+
"flex size-3.5 shrink-0 items-center justify-center border",
|
|
327
|
+
multiSelect ? "rounded-[3px]" : "rounded-full",
|
|
328
328
|
selected
|
|
329
|
-
? "border-
|
|
330
|
-
: "border-muted-foreground/40 bg-
|
|
329
|
+
? "border-[var(--design-editor-accent-color)] bg-[var(--design-editor-accent-color)] text-[var(--design-editor-accent-contrast-color)]"
|
|
330
|
+
: "border-muted-foreground/40 bg-[var(--design-editor-panel-bg)]",
|
|
331
331
|
)}
|
|
332
332
|
aria-hidden
|
|
333
333
|
>
|
|
334
334
|
{selected && <IconCheck className="size-3" />}
|
|
335
335
|
</span>
|
|
336
336
|
<span className="min-w-0 flex-1">
|
|
337
|
-
<span className="flex min-w-0 flex-wrap items-center gap-1.5 text-
|
|
337
|
+
<span className="flex min-w-0 flex-wrap items-center gap-1.5 text-[12px] font-semibold leading-4">
|
|
338
338
|
<span className="min-w-0 truncate">{option.label}</span>
|
|
339
339
|
{option.recommended && (
|
|
340
|
-
<span className="rounded
|
|
340
|
+
<span className="rounded bg-[var(--design-editor-panel-raised-bg)] px-1.5 py-0.5 text-[9px] font-semibold uppercase leading-none text-muted-foreground">
|
|
341
341
|
{t("questionFlow.recommended")}
|
|
342
342
|
</span>
|
|
343
343
|
)}
|
|
@@ -346,7 +346,7 @@ function OptionButton({
|
|
|
346
346
|
<span className="sr-only">{option.description}</span>
|
|
347
347
|
)}
|
|
348
348
|
{option.preview && (
|
|
349
|
-
<span className="mt-2 block max-h-36 overflow-auto whitespace-pre-wrap rounded-md border border-border
|
|
349
|
+
<span className="mt-2 block max-h-36 overflow-auto whitespace-pre-wrap rounded-md border border-[var(--design-editor-control-border)] bg-[var(--design-editor-panel-bg)] px-2 py-1.5 font-mono !text-[11px] leading-4 text-muted-foreground">
|
|
350
350
|
{option.preview}
|
|
351
351
|
</span>
|
|
352
352
|
)}
|
|
@@ -393,21 +393,21 @@ function ColorOptions({
|
|
|
393
393
|
onClick={() => toggleOption(option.value)}
|
|
394
394
|
aria-pressed={selected}
|
|
395
395
|
className={cn(
|
|
396
|
-
"group inline-flex min-w-0 max-w-full cursor-pointer items-center gap-2 rounded-
|
|
396
|
+
"group inline-flex min-h-8 min-w-0 max-w-full cursor-pointer items-center gap-2 rounded-md border px-2.5 py-1.5 text-start transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-[var(--design-editor-accent-color)] focus-visible:ring-offset-0",
|
|
397
397
|
selected
|
|
398
|
-
? "border-
|
|
399
|
-
: "border-border bg-
|
|
398
|
+
? "border-[var(--design-editor-accent-color)] bg-[var(--design-editor-selection-color)] text-foreground"
|
|
399
|
+
: "border-[var(--design-editor-control-border)] bg-[var(--design-editor-control-bg)] text-foreground hover:bg-[var(--design-editor-panel-raised-bg)]",
|
|
400
400
|
)}
|
|
401
401
|
>
|
|
402
402
|
<span
|
|
403
403
|
className={cn(
|
|
404
|
-
"size-
|
|
404
|
+
"size-5 shrink-0 rounded-full border border-[var(--design-editor-control-border)]",
|
|
405
405
|
selected &&
|
|
406
|
-
"ring-
|
|
406
|
+
"ring-1 ring-[var(--design-editor-accent-color)] ring-offset-1 ring-offset-[var(--design-editor-control-bg)]",
|
|
407
407
|
)}
|
|
408
408
|
style={{ backgroundColor: option.color || option.value }}
|
|
409
409
|
/>
|
|
410
|
-
<span className="min-w-0 flex-1 truncate text-
|
|
410
|
+
<span className="min-w-0 flex-1 truncate text-[12px] font-semibold leading-4">
|
|
411
411
|
{option.label}
|
|
412
412
|
</span>
|
|
413
413
|
{selected && <IconPalette className="size-3.5 shrink-0" />}
|
|
@@ -438,8 +438,8 @@ function SliderQuestion({
|
|
|
438
438
|
// display-only midpoint fallback for the rendered slider position.
|
|
439
439
|
|
|
440
440
|
return (
|
|
441
|
-
<div className="max-w-xl px-
|
|
442
|
-
<div className="mb-3 flex items-center justify-between text-
|
|
441
|
+
<div className="max-w-xl rounded-md border border-[var(--design-editor-control-border)] bg-[var(--design-editor-control-bg)] px-3 py-3">
|
|
442
|
+
<div className="mb-3 flex items-center justify-between text-[11px] text-muted-foreground">
|
|
443
443
|
<span>{min}</span>
|
|
444
444
|
<span className="font-medium tabular-nums text-foreground">
|
|
445
445
|
{current}
|
|
@@ -488,14 +488,14 @@ function FileDropZone({
|
|
|
488
488
|
className={cn(
|
|
489
489
|
"flex max-w-xl cursor-pointer flex-col items-center justify-center rounded-md border border-dashed p-5 transition-colors",
|
|
490
490
|
dragOver
|
|
491
|
-
? "border-
|
|
492
|
-
: "border-border bg-
|
|
491
|
+
? "border-[var(--design-editor-accent-color)] bg-[var(--design-editor-selection-color)]"
|
|
492
|
+
: "border-[var(--design-editor-control-border)] bg-[var(--design-editor-control-bg)] hover:bg-[var(--design-editor-panel-raised-bg)]",
|
|
493
493
|
)}
|
|
494
494
|
>
|
|
495
495
|
<IconUpload className="mb-2 size-5 text-muted-foreground" />
|
|
496
|
-
<p className="text-
|
|
496
|
+
<p className="text-[12px] text-muted-foreground">
|
|
497
497
|
{t("questionFlow.dragFiles")}{" "}
|
|
498
|
-
<label className="cursor-pointer text-
|
|
498
|
+
<label className="cursor-pointer text-[var(--design-editor-accent-color)] hover:underline">
|
|
499
499
|
{t("questionFlow.browse")}
|
|
500
500
|
<input
|
|
501
501
|
type="file"
|
|
@@ -516,9 +516,9 @@ function FileDropZone({
|
|
|
516
516
|
{files.map((file, index) => (
|
|
517
517
|
<div
|
|
518
518
|
key={`${file.name}:${index}`}
|
|
519
|
-
className="flex items-center gap-2 rounded-md bg-
|
|
519
|
+
className="flex items-center gap-2 rounded-md bg-[var(--design-editor-control-bg)] px-2 py-1 text-[11px] text-muted-foreground"
|
|
520
520
|
>
|
|
521
|
-
<IconCheck className="size-3 text-
|
|
521
|
+
<IconCheck className="size-3 text-[var(--design-editor-accent-color)]" />
|
|
522
522
|
<span className="min-w-0 flex-1 truncate">{file.name}</span>
|
|
523
523
|
<button
|
|
524
524
|
type="button"
|