Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: remove unused class #3724

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion apps/www/__registry__/default/block/dashboard-01.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,9 @@ export default function Dashboard() {
</Card>
</div>
<div className="grid gap-4 md:gap-8 lg:grid-cols-2 xl:grid-cols-3">
<Card className="xl:col-span-2" x-chunk="dashboard-01-chunk-4">
<Card
className="xl:col-span-2" x-chunk="dashboard-01-chunk-4"
>
<CardHeader className="flex flex-row items-center">
<div className="grid gap-2">
<CardTitle>Transactions</CardTitle>
Expand Down
3 changes: 1 addition & 2 deletions apps/www/__registry__/default/block/dashboard-02.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -227,8 +227,7 @@ export default function Dashboard() {
<h1 className="text-lg font-semibold md:text-2xl">Inventory</h1>
</div>
<div
className="flex flex-1 items-center justify-center rounded-lg border border-dashed shadow-sm"
x-chunk="dashboard-02-chunk-1"
className="flex flex-1 items-center justify-center rounded-lg border border-dashed shadow-sm" x-chunk="dashboard-02-chunk-1"
>
<div className="flex flex-col items-center gap-1 text-center">
<h3 className="text-2xl font-bold tracking-tight">
Expand Down
6 changes: 2 additions & 4 deletions apps/www/__registry__/default/block/dashboard-03.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -302,8 +302,7 @@ export default function Dashboard() {
</header>
<main className="grid flex-1 gap-4 overflow-auto p-4 md:grid-cols-2 lg:grid-cols-3">
<div
className="relative hidden flex-col items-start gap-8 md:flex"
x-chunk="dashboard-03-chunk-0"
className="relative hidden flex-col items-start gap-8 md:flex" x-chunk="dashboard-03-chunk-0"
>
<form className="grid w-full items-start gap-6">
<fieldset className="grid gap-6 rounded-lg border p-4">
Expand Down Expand Up @@ -420,8 +419,7 @@ export default function Dashboard() {
</Badge>
<div className="flex-1" />
<form
className="relative overflow-hidden rounded-lg border bg-background focus-within:ring-1 focus-within:ring-ring"
x-chunk="dashboard-03-chunk-1"
className="relative overflow-hidden rounded-lg border bg-background focus-within:ring-1 focus-within:ring-ring" x-chunk="dashboard-03-chunk-1"
>
<Label htmlFor="message" className="sr-only">
Message
Expand Down
3 changes: 1 addition & 2 deletions apps/www/__registry__/default/block/dashboard-04.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -157,8 +157,7 @@ export default function Dashboard() {
</div>
<div className="mx-auto grid w-full max-w-6xl items-start gap-6 md:grid-cols-[180px_1fr] lg:grid-cols-[250px_1fr]">
<nav
className="grid gap-4 text-sm text-muted-foreground"
x-chunk="dashboard-04-chunk-0"
className="grid gap-4 text-sm text-muted-foreground" x-chunk="dashboard-04-chunk-0"
>
<Link href="#" className="font-semibold text-primary">
General
Expand Down
8 changes: 6 additions & 2 deletions apps/www/__registry__/default/block/dashboard-05.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,9 @@ export default function Dashboard() {
<main className="grid flex-1 items-start gap-4 p-4 sm:px-6 sm:py-0 md:gap-8 lg:grid-cols-3 xl:grid-cols-3">
<div className="grid auto-rows-max items-start gap-4 md:gap-8 lg:col-span-2">
<div className="grid gap-4 sm:grid-cols-2 md:grid-cols-4 lg:grid-cols-2 xl:grid-cols-4">
<Card className="sm:col-span-2" x-chunk="dashboard-05-chunk-0">
<Card
className="sm:col-span-2" x-chunk="dashboard-05-chunk-0"
>
<CardHeader className="pb-3">
<CardTitle>Your Orders</CardTitle>
<CardDescription className="max-w-lg text-balance leading-relaxed">
Expand Down Expand Up @@ -561,7 +563,9 @@ export default function Dashboard() {
</Tabs>
</div>
<div>
<Card className="overflow-hidden" x-chunk="dashboard-05-chunk-4">
<Card
className="overflow-hidden" x-chunk="dashboard-05-chunk-4"
>
<CardHeader className="flex flex-row items-start bg-muted/50">
<div className="grid gap-0.5">
<CardTitle className="group flex items-center gap-2 text-lg">
Expand Down
3 changes: 1 addition & 2 deletions apps/www/__registry__/default/block/dashboard-07.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -535,8 +535,7 @@ export default function Dashboard() {
</CardContent>
</Card>
<Card
className="overflow-hidden"
x-chunk="dashboard-07-chunk-4"
className="overflow-hidden" x-chunk="dashboard-07-chunk-4"
>
<CardHeader>
<CardTitle>Product Images</CardTitle>
Expand Down
10 changes: 1 addition & 9 deletions apps/www/__registry__/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4525,20 +4525,12 @@ export const Index: Record<string, any> = {
subcategory: "Dashboard",
chunks: [{
name: "dashboard-06-chunk-0",
description: "A breadcrumb with two links and a page indicator.",
description: "A list of products in a table with actions. Each row has an image, name, status, price, total sales, created at and actions.",
component: React.lazy(() => import("@/registry/new-york/block/dashboard-06-chunk-0")),
file: "registry/new-york/block/dashboard-06-chunk-0.tsx",
container: {
className: "undefined"
}
},{
name: "dashboard-06-chunk-1",
description: "A list of products in a table with actions. Each row has an image, name, status, price, total sales, created at and actions.",
component: React.lazy(() => import("@/registry/new-york/block/dashboard-06-chunk-1")),
file: "registry/new-york/block/dashboard-06-chunk-1.tsx",
container: {
className: "undefined"
}
}]
},
"dashboard-07": {
Expand Down
4 changes: 3 additions & 1 deletion apps/www/__registry__/new-york/block/dashboard-01.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,9 @@ export default function Dashboard() {
</Card>
</div>
<div className="grid gap-4 md:gap-8 lg:grid-cols-2 xl:grid-cols-3">
<Card className="xl:col-span-2" x-chunk="dashboard-01-chunk-4">
<Card
className="xl:col-span-2" x-chunk="dashboard-01-chunk-4"
>
<CardHeader className="flex flex-row items-center">
<div className="grid gap-2">
<CardTitle>Transactions</CardTitle>
Expand Down
3 changes: 1 addition & 2 deletions apps/www/__registry__/new-york/block/dashboard-02.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -227,8 +227,7 @@ export default function Dashboard() {
<h1 className="text-lg font-semibold md:text-2xl">Inventory</h1>
</div>
<div
className="flex flex-1 items-center justify-center rounded-lg border border-dashed shadow-sm"
x-chunk="dashboard-02-chunk-1"
className="flex flex-1 items-center justify-center rounded-lg border border-dashed shadow-sm" x-chunk="dashboard-02-chunk-1"
>
<div className="flex flex-col items-center gap-1 text-center">
<h3 className="text-2xl font-bold tracking-tight">
Expand Down
6 changes: 2 additions & 4 deletions apps/www/__registry__/new-york/block/dashboard-03.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -302,8 +302,7 @@ export default function Dashboard() {
</header>
<main className="grid flex-1 gap-4 overflow-auto p-4 md:grid-cols-2 lg:grid-cols-3">
<div
className="relative hidden flex-col items-start gap-8 md:flex"
x-chunk="dashboard-03-chunk-0"
className="relative hidden flex-col items-start gap-8 md:flex" x-chunk="dashboard-03-chunk-0"
>
<form className="grid w-full items-start gap-6">
<fieldset className="grid gap-6 rounded-lg border p-4">
Expand Down Expand Up @@ -420,8 +419,7 @@ export default function Dashboard() {
</Badge>
<div className="flex-1" />
<form
className="relative overflow-hidden rounded-lg border bg-background focus-within:ring-1 focus-within:ring-ring"
x-chunk="dashboard-03-chunk-1"
className="relative overflow-hidden rounded-lg border bg-background focus-within:ring-1 focus-within:ring-ring" x-chunk="dashboard-03-chunk-1"
>
<Label htmlFor="message" className="sr-only">
Message
Expand Down
3 changes: 1 addition & 2 deletions apps/www/__registry__/new-york/block/dashboard-04.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -157,8 +157,7 @@ export default function Dashboard() {
</div>
<div className="mx-auto grid w-full max-w-6xl items-start gap-6 md:grid-cols-[180px_1fr] lg:grid-cols-[250px_1fr]">
<nav
className="grid gap-4 text-sm text-muted-foreground"
x-chunk="dashboard-04-chunk-0"
className="grid gap-4 text-sm text-muted-foreground" x-chunk="dashboard-04-chunk-0"
>
<Link href="#" className="font-semibold text-primary">
General
Expand Down
8 changes: 6 additions & 2 deletions apps/www/__registry__/new-york/block/dashboard-05.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,9 @@ export default function Dashboard() {
<main className="grid flex-1 items-start gap-4 p-4 sm:px-6 sm:py-0 md:gap-8 lg:grid-cols-3 xl:grid-cols-3">
<div className="grid auto-rows-max items-start gap-4 md:gap-8 lg:col-span-2">
<div className="grid gap-4 sm:grid-cols-2 md:grid-cols-4 lg:grid-cols-2 xl:grid-cols-4">
<Card className="sm:col-span-2" x-chunk="dashboard-05-chunk-0">
<Card
className="sm:col-span-2" x-chunk="dashboard-05-chunk-0"
>
<CardHeader className="pb-3">
<CardTitle>Your Orders</CardTitle>
<CardDescription className="max-w-lg text-balance leading-relaxed">
Expand Down Expand Up @@ -562,7 +564,9 @@ export default function Dashboard() {
</Tabs>
</div>
<div>
<Card className="overflow-hidden" x-chunk="dashboard-05-chunk-4">
<Card
className="overflow-hidden" x-chunk="dashboard-05-chunk-4"
>
<CardHeader className="flex flex-row items-start bg-muted/50">
<div className="grid gap-0.5">
<CardTitle className="group flex items-center gap-2 text-lg">
Expand Down
4 changes: 2 additions & 2 deletions apps/www/__registry__/new-york/block/dashboard-06.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ export default function Dashboard() {
</nav>
</SheetContent>
</Sheet>
<Breadcrumb className="hidden md:flex" x-chunk="dashboard-06-chunk-0">
<Breadcrumb className="hidden md:flex">
<BreadcrumbList>
<BreadcrumbItem>
<BreadcrumbLink asChild>
Expand Down Expand Up @@ -317,7 +317,7 @@ export default function Dashboard() {
</div>
</div>
<TabsContent value="all">
<Card x-chunk="dashboard-06-chunk-1">
<Card x-chunk="dashboard-06-chunk-0">
<CardHeader>
<CardTitle>Products</CardTitle>
<CardDescription>
Expand Down
3 changes: 1 addition & 2 deletions apps/www/__registry__/new-york/block/dashboard-07.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -535,8 +535,7 @@ export default function Dashboard() {
</CardContent>
</Card>
<Card
className="overflow-hidden"
x-chunk="dashboard-07-chunk-4"
className="overflow-hidden" x-chunk="dashboard-07-chunk-4"
>
<CardHeader>
<CardTitle>Product Images</CardTitle>
Expand Down
Loading