(
= ({ className }) => (
className={cn(
"aui-reasoning-fade pointer-events-none absolute inset-x-0 bottom-0 z-10 h-16",
"bg-[linear-gradient(to_top,var(--color-background),transparent)]",
- "animate-in fade-in-0",
+ "fade-in-0 animate-in",
"group-data-[state=open]/collapsible-content:animate-out",
"group-data-[state=open]/collapsible-content:fade-out-0",
"group-data-[state=open]/collapsible-content:delay-[calc(var(--animation-duration)*0.75)]", // calc for timing the delay
@@ -102,7 +102,7 @@ const ReasoningTrigger: FC<{ active: boolean; className?: string }> = ({
}) => (
@@ -147,7 +147,7 @@ const ReasoningContent: FC<
> = ({ className, children, "aria-busy": ariaBusy }) => (
{
const ThreadListItem: FC = () => {
return (
-
+
diff --git a/components/assistant-ui/thread.tsx b/components/assistant-ui/thread.tsx
index 18843cd..09ea3cc 100644
--- a/components/assistant-ui/thread.tsx
+++ b/components/assistant-ui/thread.tsx
@@ -77,7 +77,7 @@ const ThreadScrollToBottom: FC = () => {
@@ -94,7 +94,7 @@ const ThreadWelcome: FC = () => {
initial={{ opacity: 0, y: 10 }}
animate={{ opacity: 1, y: 0 }}
exit={{ opacity: 0, y: 10 }}
- className="aui-thread-welcome-message-motion-1 text-2xl font-semibold"
+ className="aui-thread-welcome-message-motion-1 font-semibold text-2xl"
>
Hello there!
@@ -116,7 +116,7 @@ const ThreadWelcome: FC = () => {
const ThreadSuggestions: FC = () => {
return (
-
+
{[
{
title: "What's the weather",
@@ -145,7 +145,7 @@ const ThreadSuggestions: FC = () => {
exit={{ opacity: 0, y: 20 }}
transition={{ delay: 0.05 * index }}
key={`suggested-action-${suggestedAction.title}-${index}`}
- className="aui-thread-welcome-suggestion-display [&:nth-child(n+3)]:hidden @md:[&:nth-child(n+3)]:block"
+ className="aui-thread-welcome-suggestion-display @md:[&:nth-child(n+3)]:block [&:nth-child(n+3)]:hidden"
>
{
>