forked from shadcn-ui/ui
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
(1/N) cli: framework support (shadcn-ui#4569)
- Loading branch information
Showing
602 changed files
with
24,936 additions
and
12,487 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"shadcn-ui": minor | ||
--- | ||
|
||
Add support for frameworks |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"shadcn": major | ||
--- | ||
|
||
npx shadcn init |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
import { LoginForm } from "@/registry/default/block/login-01/components/login-form" | ||
|
||
export const iframeHeight = "870px" | ||
|
||
export const containerClassName = "w-full h-full" | ||
|
||
export default function Page() { | ||
return ( | ||
<div className="flex h-screen w-full items-center justify-center px-4"> | ||
<LoginForm /> | ||
</div> | ||
) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
import { AppSidebar } from "@/registry/default/block/sidebar-01/components/app-sidebar" | ||
import { | ||
SidebarLayout, | ||
SidebarTrigger, | ||
} from "@/registry/default/block/sidebar-01/ui/sidebar" | ||
|
||
export const iframeHeight = "870px" | ||
|
||
export const containerClassName = "w-full h-full" | ||
|
||
export default async function Page() { | ||
const { cookies } = await import("next/headers") | ||
return ( | ||
<SidebarLayout | ||
defaultOpen={cookies().get("sidebar:state")?.value === "true"} | ||
> | ||
<AppSidebar /> | ||
<main className="flex flex-1 flex-col p-2 transition-all duration-300 ease-in-out"> | ||
<div className="h-full rounded-md border-2 border-dashed p-2"> | ||
<SidebarTrigger /> | ||
</div> | ||
</main> | ||
</SidebarLayout> | ||
) | ||
} |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
19 changes: 0 additions & 19 deletions
19
apps/www/__registry__/default/example/alert-destructive.tsx
This file was deleted.
Oops, something went wrong.
35 changes: 0 additions & 35 deletions
35
apps/www/__registry__/default/example/alert-dialog-demo.tsx
This file was deleted.
Oops, something went wrong.
16 changes: 0 additions & 16 deletions
16
apps/www/__registry__/default/example/aspect-ratio-demo.tsx
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.