@tangle-network/agent-app 0.46.13 → 0.46.14
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/assistant/index.js +1 -1
- package/dist/chat-react/index.js +1 -1
- package/dist/{chunk-5SSUCLBW.js → chunk-3PFKLSIZ.js} +3 -2
- package/dist/chunk-3PFKLSIZ.js.map +1 -0
- package/dist/studio-react/index.js +6 -1
- package/dist/studio-react/index.js.map +1 -1
- package/dist/studio-react/studio-composer.d.ts +4 -1
- package/dist/studio-react/studio-generation-screen.d.ts +3 -1
- package/dist/studio-react/studio-home-screen.d.ts +3 -1
- package/dist/web-react/chat-composer.d.ts +5 -1
- package/dist/web-react/index.js +1 -1
- package/package.json +1 -1
- package/dist/chunk-5SSUCLBW.js.map +0 -1
|
@@ -796,6 +796,7 @@ function StudioComposer({
|
|
|
796
796
|
onGenerated,
|
|
797
797
|
variant = "home",
|
|
798
798
|
pickReferenceImage,
|
|
799
|
+
sendTone = "contrast",
|
|
799
800
|
className
|
|
800
801
|
}) {
|
|
801
802
|
const [type, setType] = useState3("image");
|
|
@@ -1118,7 +1119,7 @@ function StudioComposer({
|
|
|
1118
1119
|
title: "Generate",
|
|
1119
1120
|
disabled: !canSubmit,
|
|
1120
1121
|
onClick: () => void generate(),
|
|
1121
|
-
className:
|
|
1122
|
+
className: `ml-auto inline-flex h-8 w-8 flex-none items-center justify-center rounded-full ${sendTone === "primary" ? "bg-primary text-primary-foreground" : "bg-foreground text-background"} transition ${sendTone === "primary" ? "hover:bg-primary/90" : "hover:opacity-90"} disabled:cursor-not-allowed disabled:opacity-40 focus:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-1 focus-visible:ring-offset-card`,
|
|
1122
1123
|
children: /* @__PURE__ */ jsx2(ArrowUp, { className: "h-4 w-4", strokeWidth: 2 })
|
|
1123
1124
|
}
|
|
1124
1125
|
)
|
|
@@ -2485,6 +2486,7 @@ function StudioHomeScreen({
|
|
|
2485
2486
|
onOpenHistory,
|
|
2486
2487
|
workspaceId,
|
|
2487
2488
|
pickReferenceImage,
|
|
2489
|
+
sendTone,
|
|
2488
2490
|
actions,
|
|
2489
2491
|
recentLimit = 20,
|
|
2490
2492
|
className
|
|
@@ -2529,6 +2531,7 @@ function StudioHomeScreen({
|
|
|
2529
2531
|
variant: "home",
|
|
2530
2532
|
workspaceId,
|
|
2531
2533
|
pickReferenceImage,
|
|
2534
|
+
sendTone,
|
|
2532
2535
|
onGenerated: wrappedOnGenerated
|
|
2533
2536
|
}
|
|
2534
2537
|
)
|
|
@@ -2608,6 +2611,7 @@ function StudioGenerationScreen({
|
|
|
2608
2611
|
onOpenGeneration,
|
|
2609
2612
|
workspaceId,
|
|
2610
2613
|
pickReferenceImage,
|
|
2614
|
+
sendTone,
|
|
2611
2615
|
actions,
|
|
2612
2616
|
className
|
|
2613
2617
|
}) {
|
|
@@ -2762,6 +2766,7 @@ function StudioGenerationScreen({
|
|
|
2762
2766
|
variant: "docked",
|
|
2763
2767
|
workspaceId,
|
|
2764
2768
|
pickReferenceImage,
|
|
2769
|
+
sendTone,
|
|
2765
2770
|
onGenerated: handleGenerated
|
|
2766
2771
|
}
|
|
2767
2772
|
)
|