Skip to content

Commit a725acc

Browse files
committed
tweaking
1 parent b21593c commit a725acc

File tree

3 files changed

+11
-11
lines changed

3 files changed

+11
-11
lines changed

front/components/assistant/conversation/input_bar/InputBar.tsx

+6-6
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { Button, RainbowEffectDiv, StopIcon } from "@dust-tt/sparkle";
1+
import { Button, RainbowEffect, StopIcon } from "@dust-tt/sparkle";
22
import type { AgentMention, MentionType } from "@dust-tt/types";
33
import type { UploadedContentFragment } from "@dust-tt/types";
44
import type {
@@ -227,15 +227,15 @@ export function AssistantInputBar({
227227
)}
228228
>
229229
<div className="flex w-full flex-1 flex-col items-end self-stretch sm:flex-row">
230-
<RainbowEffectDiv className="w-full">
230+
<RainbowEffect className="w-full" containerClassName="w-full">
231231
<div
232232
className={classNames(
233233
"relative flex w-full flex-1 flex-col items-stretch gap-0 self-stretch pl-4 sm:flex-row",
234-
"border-t border-border-dark bg-primary-50",
234+
"border-border-dark bg-primary-50",
235235
"transition-all",
236236
isFloating
237-
? "sm:rounded-2xl sm:border-b sm:border-l sm:border-r sm:border-border-dark sm:focus-within:shadow-md sm:focus-within:ring-2 sm:focus-within:ring-offset-2"
238-
: "",
237+
? "rounded-2xl border focus-within:ring-2 focus-within:ring-primary-300 focus-within:ring-offset-2"
238+
: "border-t",
239239
isAnimating ? "duration-600 animate-shake" : "duration-300"
240240
)}
241241
>
@@ -256,7 +256,7 @@ export function AssistantInputBar({
256256
/>
257257
</div>
258258
</div>
259-
</RainbowEffectDiv>
259+
</RainbowEffect>
260260
</div>
261261
</div>
262262
</div>

front/package-lock.json

+4-4
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

front/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
"dependencies": {
2121
"@auth0/nextjs-auth0": "^3.5.0",
2222
"@dust-tt/client": "file:../sdks/js",
23-
"@dust-tt/sparkle": "^0.2.311",
23+
"@dust-tt/sparkle": "^0.2.312",
2424
"@dust-tt/types": "file:../types",
2525
"@headlessui/react": "^1.7.7",
2626
"@heroicons/react": "^2.0.11",

0 commit comments

Comments
 (0)