Skip to content

Commit 580c621

Browse files
committed
feat: add AI elements components and spinner
- Introduced a new Terminal component for displaying output with streaming capabilities, including actions for copying and clearing output. - Added TestResults component to summarize test outcomes, including passed, failed, and skipped tests, along with a progress bar. - Created Transcription component to handle audio transcription segments, allowing for time updates and seeking functionality. - Implemented VoiceSelector component for selecting voice options, including gender and accent, with a dialog interface for better user interaction. - Added a Spinner component for loading indicators, utilizing the Loader2Icon for visual feedback during asynchronous operations.
1 parent 0519c06 commit 580c621

147 files changed

Lines changed: 19238 additions & 12473 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

app/layout.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ import { ThemeProvider } from 'next-themes'
44
import './globals.css'
55
import { Navbar } from '@/app/components/navbar'
66
import { cn } from '@/lib/utils'
7+
import { TooltipProvider } from "@/ui/tooltip"
78

89
const inter = Inter({ subsets: ['latin'] })
910

@@ -109,6 +110,7 @@ export default function RootLayout({
109110
/>
110111
</head>
111112
<body className={cn(inter.className, 'mesh-gradient')}>
113+
<TooltipProvider>{children}</TooltipProvider>
112114
<ThemeProvider
113115
attribute="class"
114116
defaultTheme="system"

components.json

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"$schema": "https://ui.shadcn.com/schema.json",
3-
"style": "new-york",
4-
"rsc": false,
3+
"style": "radix-vega",
4+
"rsc": true,
55
"tsx": true,
66
"tailwind": {
77
"config": "",
@@ -18,5 +18,7 @@
1818
"lib": "@/lib",
1919
"hooks": "@/hooks"
2020
},
21-
"registries": {}
21+
"registries": {
22+
"@ai-elements": "https://registry.ai-sdk.dev/{name}.json"
23+
}
2224
}

0 commit comments

Comments
 (0)