diff --git a/.github/workflows/deprecated.yml b/.github/workflows/deprecated.yml deleted file mode 100644 index aa0add515a..0000000000 --- a/.github/workflows/deprecated.yml +++ /dev/null @@ -1,78 +0,0 @@ -name: Deprecated - -on: - pull_request_target: - types: [opened, synchronize] - -permissions: - issues: write - contents: read - pull-requests: write - -jobs: - deprecated: - runs-on: ubuntu-latest - steps: - - name: Checkout PR - uses: actions/checkout@v4 - with: - ref: ${{ github.event.pull_request.head.sha }} - fetch-depth: 0 - - - name: Get changed files - id: changed-files - uses: tj-actions/changed-files@v46 - with: - files: | - apps/www/** - files_ignore: | - apps/www/public/r/** - base_sha: ${{ github.event.pull_request.base.sha }} - sha: ${{ github.event.pull_request.head.sha }} - - - name: Comment on PR if www files changed - if: steps.changed-files.outputs.any_changed == 'true' - uses: actions/github-script@v7 - with: - github-token: ${{ secrets.GITHUB_TOKEN }} - script: | - const changedFiles = `${{ steps.changed-files.outputs.all_changed_files }}`.split(' '); - const wwwFiles = changedFiles.filter(file => - file.startsWith('apps/www/') && - !file.startsWith('apps/www/public/r/') && - file !== 'apps/www/package.json' - ); - - if (wwwFiles.length > 0) { - const comment = `Looks like this PR modifies files in \`apps/www\`, which is deprecated. - - Consider applying the change to \`apps/v4\` if relevant.`; - - await github.rest.issues.createComment({ - owner: context.repo.owner, - repo: context.repo.repo, - issue_number: context.issue.number, - body: comment - }); - - // Add deprecated label - await github.rest.issues.addLabels({ - owner: context.repo.owner, - repo: context.repo.repo, - issue_number: context.issue.number, - labels: ['deprecated'] - }); - } else { - // Remove deprecated label if no www files are changed - try { - await github.rest.issues.removeLabel({ - owner: context.repo.owner, - repo: context.repo.repo, - issue_number: context.issue.number, - name: 'deprecated' - }); - } catch (error) { - // Label doesn't exist, which is fine - console.log('Deprecated label not found, skipping removal'); - } - } diff --git a/deprecated/cli/.gitignore b/deprecated/cli/.gitignore deleted file mode 100644 index dac6408c69..0000000000 --- a/deprecated/cli/.gitignore +++ /dev/null @@ -1,3 +0,0 @@ -components -dist -.turbo \ No newline at end of file diff --git a/deprecated/cli/.prettierignore b/deprecated/cli/.prettierignore deleted file mode 100644 index 30d74d2584..0000000000 --- a/deprecated/cli/.prettierignore +++ /dev/null @@ -1 +0,0 @@ -test \ No newline at end of file diff --git a/deprecated/cli/CHANGELOG.md b/deprecated/cli/CHANGELOG.md deleted file mode 100644 index f5aa040454..0000000000 --- a/deprecated/cli/CHANGELOG.md +++ /dev/null @@ -1,185 +0,0 @@ -# shadcn-ui - -## 0.9.5 - -`shadcn-ui` is deprecated. Use the `shadcn` CLI instead. - -## 0.9.4 - -### Patch Changes - -- [#4397](https://github.com/shadcn-ui/ui/pull/4397) [`a1bed46`](https://github.com/shadcn-ui/ui/commit/a1bed464f329e9025a7fa1ae7dee094d4c9c6f44) Thanks [@JensAstrup](https://github.com/JensAstrup)! - replace lodash.template - -## 0.9.3 - -### Patch Changes - -- [#5602](https://github.com/shadcn-ui/ui/pull/5602) [`2c2fe97`](https://github.com/shadcn-ui/ui/commit/2c2fe97eb96b2c5c7d03d1ae2756a851c3790030) Thanks [@shadcn](https://github.com/shadcn)! - move new-york icons to lucide-react - -## 0.9.2 - -### Patch Changes - -- [#4988](https://github.com/shadcn-ui/ui/pull/4988) [`5fc9ade`](https://github.com/shadcn-ui/ui/commit/5fc9ade413ea10da422a2439b5cc2027fb2a055e) Thanks [@shadcn](https://github.com/shadcn)! - add deprecation notice - -## 0.9.1 - -### Patch Changes - -- [#4797](https://github.com/shadcn-ui/ui/pull/4797) [`207b69f`](https://github.com/shadcn-ui/ui/commit/207b69fe8dd59b10dddc9337d333416976e2a30d) Thanks [@Wiper-R](https://github.com/Wiper-R)! - add scss support - -## 0.9.0 - -### Minor Changes - -- [#4569](https://github.com/shadcn-ui/ui/pull/4569) [`a62a155`](https://github.com/shadcn-ui/ui/commit/a62a155aac6409d41ea27529be2eef65e3db2723) Thanks [@shadcn](https://github.com/shadcn)! - Add support for frameworks - -### Patch Changes - -- [#2473](https://github.com/shadcn-ui/ui/pull/2473) [`343b20f`](https://github.com/shadcn-ui/ui/commit/343b20fc5c49ee8968fe56e42527ba1cc8ede0ec) Thanks [@kevinmitch14](https://github.com/kevinmitch14)! - update zod imports - -## 0.8.0 - -### Minor Changes - -- [#2454](https://github.com/shadcn-ui/ui/pull/2454) [`0374ba8`](https://github.com/shadcn-ui/ui/commit/0374ba874d1c76ae08660c655aea6cdf7a7817f6) Thanks [@shadcn](https://github.com/shadcn)! - add automatic config detection for Next.js - -## 0.7.0 - -### Minor Changes - -- [#2419](https://github.com/shadcn-ui/ui/pull/2419) [`7640ef7`](https://github.com/shadcn-ui/ui/commit/7640ef7bbc5fea280a8b5227a2455bb840478573) Thanks [@shadcn](https://github.com/shadcn)! - add support for devDependencies - -## 0.6.0 - -### Minor Changes - -- [#2266](https://github.com/shadcn-ui/ui/pull/2266) [`be580db`](https://github.com/shadcn-ui/ui/commit/be580dbf7671b7db84282aa3554b62304e668414) Thanks [@shadcn](https://github.com/shadcn)! - add support for custom ui dir - -## 0.5.0 - -### Minor Changes - -- [#770](https://github.com/shadcn-ui/ui/pull/770) [`4fb98d5`](https://github.com/shadcn-ui/ui/commit/4fb98d520f2322f59bf2ae0bbbee706760df48a2) Thanks [@Bekacru](https://github.com/Bekacru)! - add support for custom tailwind prefix - -- [#1247](https://github.com/shadcn-ui/ui/pull/1247) [`4ec8a67`](https://github.com/shadcn-ui/ui/commit/4ec8a67dab94d0c2bcda2396d01174abee0991a0) Thanks [@lukahartwig](https://github.com/lukahartwig)! - add support for tailwind.config.ts - -### Patch Changes - -- [#1707](https://github.com/shadcn-ui/ui/pull/1707) [`46f247c`](https://github.com/shadcn-ui/ui/commit/46f247c47f87f771d98cc77bddb5697dac200de4) Thanks [@caiquecastro](https://github.com/caiquecastro)! - fix code style - -- [#1696](https://github.com/shadcn-ui/ui/pull/1696) [`5a13def`](https://github.com/shadcn-ui/ui/commit/5a13def46d9b91d19ad1bcab6cc2955007dfdf61) Thanks [@KMJ-007](https://github.com/KMJ-007)! - use jsconfig for non-ts projects - -## 0.4.1 - -### Patch Changes - -- [#1662](https://github.com/shadcn-ui/ui/pull/1662) [`95a9673`](https://github.com/shadcn-ui/ui/commit/95a9673b1ec6a1954d941d35624ad2cd93faccc4) Thanks [@shadcn](https://github.com/shadcn)! - minify build - -## 0.4.0 - -### Minor Changes - -- [#1554](https://github.com/shadcn-ui/ui/pull/1554) [`2f0dbca`](https://github.com/shadcn-ui/ui/commit/2f0dbca22180507c20088f595613481adcfb51ed) Thanks [@shadcn](https://github.com/shadcn)! - do not ask for confirmation - -- [#1033](https://github.com/shadcn-ui/ui/pull/1033) [`963114e`](https://github.com/shadcn-ui/ui/commit/963114e118a2263f4ee449cc07b0f6f7e5104bc1) Thanks [@sramam](https://github.com/sramam)! - add --all option - -- [#973](https://github.com/shadcn-ui/ui/pull/973) [`58d012e`](https://github.com/shadcn-ui/ui/commit/58d012e342d2563b4c43ed2ac18879a6d5044980) Thanks [@plbstl](https://github.com/plbstl)! - ask for overwrite - -### Patch Changes - -- [#1466](https://github.com/shadcn-ui/ui/pull/1466) [`0a42865`](https://github.com/shadcn-ui/ui/commit/0a4286500ee06289eccde8fe9257c169b47dbc93) Thanks [@c0b41](https://github.com/c0b41)! - fix file extension - -- [#1555](https://github.com/shadcn-ui/ui/pull/1555) [`d3d52fc`](https://github.com/shadcn-ui/ui/commit/d3d52fc68723a895ddad99e1f5c9420d981d3387) Thanks [@shadcn](https://github.com/shadcn)! - update README - -- [#1319](https://github.com/shadcn-ui/ui/pull/1319) [`4506822`](https://github.com/shadcn-ui/ui/commit/450682238922bf025ff919f0a84147894710fb71) Thanks [@K-Sato1995](https://github.com/K-Sato1995)! - remove duplicate vi call - -- [#1089](https://github.com/shadcn-ui/ui/pull/1089) [`ae84578`](https://github.com/shadcn-ui/ui/commit/ae845788f688d60f0e8ac020e16a4bd357978baf) Thanks [@santidalmasso](https://github.com/santidalmasso)! - fix duplicate classnames - -## 0.3.0 - -### Minor Changes - -- [#834](https://github.com/shadcn/ui/pull/834) [`edc653c`](https://github.com/shadcn/ui/commit/edc653c01e6d4d5a51f3e414f2aeeb77af758257) Thanks [@shadcn](https://github.com/shadcn)! - add support for jsx - -## 0.2.3 - -### Patch Changes - -- [#707](https://github.com/shadcn/ui/pull/707) [`c337753`](https://github.com/shadcn/ui/commit/c3377530f43baa95c9e41cce7c07b1a4db1e3ee6) Thanks [@MarkLyck](https://github.com/MarkLyck)! - fix(cli): use bun add when bun detected - -## 0.2.2 - -### Patch Changes - -- [#677](https://github.com/shadcn/ui/pull/677) [`0f84973`](https://github.com/shadcn/ui/commit/0f84973b4d779d16efe3877b9206ea908261ed8f) Thanks [@Xenfo](https://github.com/Xenfo)! - fix(cli): use `@antfu/ni` to detect package manager - -- [#681](https://github.com/shadcn/ui/pull/681) [`1971fa7`](https://github.com/shadcn/ui/commit/1971fa7511a22354a9acda12391b55517a261668) Thanks [@dan5py](https://github.com/dan5py)! - use slash for alpha modifier - -- [#682](https://github.com/shadcn/ui/pull/682) [`fbed50f`](https://github.com/shadcn/ui/commit/fbed50f4e8d4fc8a4736c2a80b5c61c9b3f5e05a) Thanks [@dan5py](https://github.com/dan5py)! - fix cssVars template typo - -## 0.2.1 - -### Patch Changes - -- [#641](https://github.com/shadcn/ui/pull/641) [`658c710`](https://github.com/shadcn/ui/commit/658c710bced7b827a0d32dbcda03a4136961dff1) Thanks [@shadcn](https://github.com/shadcn)! - everything is new - -## 0.2.0 - -### Minor Changes - -- [#637](https://github.com/shadcn/ui/pull/637) [`eeb1754`](https://github.com/shadcn/ui/commit/eeb17545a16824e11d09149a5ecab9fca570c448) Thanks [@shadcn](https://github.com/shadcn)! - everything is new - -## 0.1.3 - -### Patch Changes - -- [#259](https://github.com/shadcn/ui/pull/259) [`87ad14c`](https://github.com/shadcn/ui/commit/87ad14cb2a27ee2d1000344cbe5f8f4fdbfc939a) Thanks [@ghoshnirmalya](https://github.com/ghoshnirmalya)! - add missing deps for button - -## 0.1.2 - -### Patch Changes - -- [#271](https://github.com/shadcn/ui/pull/271) [`888a5ad`](https://github.com/shadcn/ui/commit/888a5ad6f602371a27cc88a2573993d5818e745c) Thanks [@shadcn](https://github.com/shadcn)! - fix card color - -## 0.1.1 - -### Patch Changes - -- [#205](https://github.com/shadcn/ui/pull/205) [`dc573c7`](https://github.com/shadcn/ui/commit/dc573c7e9ecf73a9a8f53320bc4f5db17d7bd2b3) Thanks [@shadcn](https://github.com/shadcn)! - fix changeset config - -- [#204](https://github.com/shadcn/ui/pull/204) [`68e1c56`](https://github.com/shadcn/ui/commit/68e1c5624a35edb3c38e5f739acf3387fdca541c) Thanks [@shadcn](https://github.com/shadcn)! - update typescript - -- [#203](https://github.com/shadcn/ui/pull/203) [`acf4ae7`](https://github.com/shadcn/ui/commit/acf4ae79cb734671a5b5c227b5009f38b59e3f19) Thanks [@shadcn](https://github.com/shadcn)! - update readme - -- [#197](https://github.com/shadcn/ui/pull/197) [`4a794a3`](https://github.com/shadcn/ui/commit/4a794a354f3e03b76cba32049971afc2f6986080) Thanks [@shadcn](https://github.com/shadcn)! - update init message - -## 0.1.0 - -### Minor Changes - -- [#178](https://github.com/shadcn/ui/pull/178) [`96f300e`](https://github.com/shadcn/ui/commit/96f300ea7471de9de9d433114d010d8fef2c8bae) Thanks [@shadcn](https://github.com/shadcn)! - add init command - -### Patch Changes - -- [#175](https://github.com/shadcn/ui/pull/175) [`b5d4368`](https://github.com/shadcn/ui/commit/b5d43688b975eb66b95b71af0396d07f94dde247) Thanks [@shadcn](https://github.com/shadcn)! - rename package to shadcn-ui - -## 0.0.4 - -### Patch Changes - -- [#118](https://github.com/shadcn/ui/pull/118) [`712e625`](https://github.com/shadcn/ui/commit/712e625d485a0d7ac77fea4d5077d9ec7a33c513) Thanks [@shadcn](https://github.com/shadcn)! - add warning for command - -## 0.0.3 - -### Patch Changes - -- [#115](https://github.com/shadcn/ui/pull/115) [`92fe541`](https://github.com/shadcn/ui/commit/92fe54184b5e9b5ac7259829436d7786a52606b3) Thanks [@shadcn](https://github.com/shadcn)! - Initial commit. - -- [#115](https://github.com/shadcn/ui/pull/115) [`92fe541`](https://github.com/shadcn/ui/commit/92fe54184b5e9b5ac7259829436d7786a52606b3) Thanks [@shadcn](https://github.com/shadcn)! - implement component base url - -## 0.0.2 - -### Patch Changes - -- [#112](https://github.com/shadcn/ui/pull/112) [`be701cf`](https://github.com/shadcn/ui/commit/be701cf139e0acc0ced3e161d246f7b2b53dccbe) Thanks [@shadcn](https://github.com/shadcn)! - Initial commit. diff --git a/deprecated/cli/README.md b/deprecated/cli/README.md deleted file mode 100644 index 58eebf3daa..0000000000 --- a/deprecated/cli/README.md +++ /dev/null @@ -1,14 +0,0 @@ -# shadcn-ui - -> [!WARNING] -> The shadcn-ui CLI is going to be deprecated soon. See [shadcn](https://ui.shadcn.com/docs/cli) for more information. - -Bug fixes and new features should be added to the `.packages/shadcn` instead. - -## Documentation - -Visit https://ui.shadcn.com/docs/cli to view the documentation. - -## License - -Licensed under the [MIT license](https://github.com/shadcn/ui/blob/main/LICENSE.md). diff --git a/deprecated/cli/package.json b/deprecated/cli/package.json deleted file mode 100644 index dd1fd6097d..0000000000 --- a/deprecated/cli/package.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "name": "shadcn-ui", - "version": "0.9.5", - "description": "Add components to your apps.", - "publishConfig": { - "access": "public" - }, - "license": "MIT", - "author": { - "name": "shadcn", - "url": "https://twitter.com/shadcn" - }, - "repository": { - "type": "git", - "url": "https://github.com/shadcn/ui.git", - "directory": "packages/cli" - }, - "files": [ - "dist" - ], - "keywords": [ - "components", - "ui", - "tailwind", - "shadcn" - ], - "type": "module", - "exports": "./dist/index.js", - "bin": "./dist/index.js", - "scripts": { - "dev": "tsup --watch", - "build": "tsup", - "typecheck": "tsc --noEmit", - "start:dev": "cross-env COMPONENTS_REGISTRY_URL=http://localhost:3003 node dist/index.js", - "start": "node dist/index.js", - "format:write": "prettier --write \"**/*.{ts,tsx,mdx}\" --cache", - "format:check": "prettier --check \"**/*.{ts,tsx,mdx}\" --cache", - "test": "vitest run" - }, - "dependencies": { - "chalk": "^5.4.1" - }, - "devDependencies": { - "tsup": "^6.6.3" - } -} diff --git a/deprecated/cli/src/index.ts b/deprecated/cli/src/index.ts deleted file mode 100644 index db28649e03..0000000000 --- a/deprecated/cli/src/index.ts +++ /dev/null @@ -1,39 +0,0 @@ -#!/usr/bin/env node -import chalk from "chalk" - -function getInvoker() { - const args = process.argv.slice(2) - const env = process.env - const npmExecPath = env.npm_execpath || "" - const packageName = "shadcn@latest" - - if (npmExecPath.includes("pnpm")) { - return `pnpm dlx ${packageName}${args.length ? ` ${args.join(" ")}` : ""}` - } else if (npmExecPath.includes("yarn")) { - return `yarn dlx ${packageName}${args.length ? ` ${args.join(" ")}` : ""}` - } else if (npmExecPath.includes("bun")) { - return `bunx ${packageName}${args.length ? ` ${args.join(" ")}` : ""}` - } else { - return `npx ${packageName}${args.length ? ` ${args.join(" ")}` : ""}` - } -} - -const main = async () => { - console.log( - chalk.yellow( - "The 'shadcn-ui' package is deprecated. Please use the 'shadcn' package instead:" - ) - ) - console.log("") - console.log(chalk.green(` ${getInvoker()}`)) - console.log("") - console.log( - chalk.yellow("For more information, visit: https://ui.shadcn.com/docs/cli") - ) - console.log("") -} - -main().catch((error) => { - console.error(chalk.red("Error:"), error.message) - process.exit(1) -}) diff --git a/deprecated/cli/tsconfig.json b/deprecated/cli/tsconfig.json deleted file mode 100644 index c1afb1952f..0000000000 --- a/deprecated/cli/tsconfig.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "$schema": "https://json.schemastore.org/tsconfig", - "extends": "../../tsconfig.json", - "compilerOptions": { - "isolatedModules": false, - "baseUrl": ".", - "paths": { - "@/*": ["./*"] - } - }, - "include": ["src/**/*.ts"], - "exclude": ["node_modules"] -} diff --git a/deprecated/cli/tsup.config.ts b/deprecated/cli/tsup.config.ts deleted file mode 100644 index 25261533f6..0000000000 --- a/deprecated/cli/tsup.config.ts +++ /dev/null @@ -1,12 +0,0 @@ -import { defineConfig } from "tsup" - -export default defineConfig({ - clean: true, - dts: true, - entry: ["src/index.ts"], - format: ["esm", "cjs"], - sourcemap: true, - minify: true, - target: "esnext", - outDir: "dist", -}) diff --git a/deprecated/www/.env.example b/deprecated/www/.env.example deleted file mode 100644 index 9ea50f4d73..0000000000 --- a/deprecated/www/.env.example +++ /dev/null @@ -1,4 +0,0 @@ -# ----------------------------------------------------------------------------- -# App -# ----------------------------------------------------------------------------- -NEXT_PUBLIC_APP_URL=http://localhost:3001 diff --git a/deprecated/www/.eslintrc.json b/deprecated/www/.eslintrc.json deleted file mode 100644 index 23df755dcf..0000000000 --- a/deprecated/www/.eslintrc.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "$schema": "https://json.schemastore.org/eslintrc", - "overrides": [ - { - "files": ["scripts/**/*.{ts,mts}"], - "parserOptions": { - "project": "tsconfig.scripts.json" - } - } - ] -} diff --git a/deprecated/www/.gitignore b/deprecated/www/.gitignore deleted file mode 100644 index a5c89361da..0000000000 --- a/deprecated/www/.gitignore +++ /dev/null @@ -1,2 +0,0 @@ -.vscode -.env \ No newline at end of file diff --git a/deprecated/www/.prettierignore b/deprecated/www/.prettierignore deleted file mode 100644 index fb41136e08..0000000000 --- a/deprecated/www/.prettierignore +++ /dev/null @@ -1,7 +0,0 @@ -dist -node_modules -.next -build -.contentlayer -__registry__/index.tsx -app/examples/mail/components/mail.tsx diff --git a/deprecated/www/README.md b/deprecated/www/README.md deleted file mode 100644 index 07f68ccdbb..0000000000 --- a/deprecated/www/README.md +++ /dev/null @@ -1,6 +0,0 @@ -# ui.shadcn.com - -> [!WARNING] -> The site at ui.shadcn.com now points to `apps/v4`. All changes should be made in the `apps/v4` directory. - -Licensed under the [MIT license](https://github.com/shadcn/ui/blob/main/LICENSE.md). diff --git a/deprecated/www/__registry__/.autogenerated b/deprecated/www/__registry__/.autogenerated deleted file mode 100644 index 0055c2a3e0..0000000000 --- a/deprecated/www/__registry__/.autogenerated +++ /dev/null @@ -1 +0,0 @@ -// The content of this directory is autogenerated by the registry server. diff --git a/deprecated/www/__registry__/.gitkeep b/deprecated/www/__registry__/.gitkeep deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/deprecated/www/__registry__/README.md b/deprecated/www/__registry__/README.md deleted file mode 100644 index 5621ceace4..0000000000 --- a/deprecated/www/__registry__/README.md +++ /dev/null @@ -1 +0,0 @@ -> Files inside this directory is autogenerated by `./scripts/build-registry.ts`. **Do not edit them manually.** - shadcn diff --git a/deprecated/www/__registry__/default/block/sidebar-16/page.tsx b/deprecated/www/__registry__/default/block/sidebar-16/page.tsx deleted file mode 100644 index 6109ca5087..0000000000 --- a/deprecated/www/__registry__/default/block/sidebar-16/page.tsx +++ /dev/null @@ -1,134 +0,0 @@ -"use client" - -import * as React from "react" -import { Command, Sidebar } from "lucide-react" - -import { AppSidebar } from "@/registry/default/block/sidebar-16/components/app-sidebar" -import { - Breadcrumb, - BreadcrumbItem, - BreadcrumbLink, - BreadcrumbList, - BreadcrumbPage, - BreadcrumbSeparator, -} from "@/registry/default/ui/breadcrumb" -import { Button } from "@/registry/default/ui/button" -import { Separator } from "@/registry/default/ui/separator" -import { - SidebarInset, - SidebarProvider, - SidebarTrigger, -} from "@/registry/default/ui/sidebar" - -export const iframeHeight = "800px" - -export const description = "An inset sidebar with site header navigation." - -const HEADER_HEIGHT = "4rem" - -export default function Page() { - const [open, setOpen] = React.useState(true) - - return ( -
-
-
-
- - -
- -
-
- -
-
-
- - - - -
-
-
- - -
- - - - - Building Your Application - - - - - Data Fetching - - - -
-
-
-
-
-
-
-
-
-
- - -
- ) -} diff --git a/deprecated/www/__registry__/default/blocks/calendar-01.tsx b/deprecated/www/__registry__/default/blocks/calendar-01.tsx deleted file mode 100644 index 7c254e7a0f..0000000000 --- a/deprecated/www/__registry__/default/blocks/calendar-01.tsx +++ /dev/null @@ -1,21 +0,0 @@ -"use client" - -import * as React from "react" - -import { Calendar } from "@/registry/default/ui/calendar" - -export default function Calendar01() { - const [date, setDate] = React.useState( - new Date(2025, 5, 12) - ) - - return ( - - ) -} diff --git a/deprecated/www/__registry__/default/blocks/calendar-02.tsx b/deprecated/www/__registry__/default/blocks/calendar-02.tsx deleted file mode 100644 index a3c937ecba..0000000000 --- a/deprecated/www/__registry__/default/blocks/calendar-02.tsx +++ /dev/null @@ -1,22 +0,0 @@ -"use client" - -import * as React from "react" - -import { Calendar } from "@/registry/default/ui/calendar" - -export default function Calendar02() { - const [date, setDate] = React.useState( - new Date(2025, 5, 12) - ) - - return ( - - ) -} diff --git a/deprecated/www/__registry__/default/blocks/calendar-03.tsx b/deprecated/www/__registry__/default/blocks/calendar-03.tsx deleted file mode 100644 index 89de91fafb..0000000000 --- a/deprecated/www/__registry__/default/blocks/calendar-03.tsx +++ /dev/null @@ -1,25 +0,0 @@ -"use client" - -import * as React from "react" - -import { Calendar } from "@/registry/default/ui/calendar" - -export default function Calendar03() { - const [dates, setDates] = React.useState([ - new Date(2025, 5, 12), - new Date(2025, 6, 24), - ]) - - return ( - - ) -} diff --git a/deprecated/www/__registry__/default/blocks/calendar-04.tsx b/deprecated/www/__registry__/default/blocks/calendar-04.tsx deleted file mode 100644 index 86d58b8c98..0000000000 --- a/deprecated/www/__registry__/default/blocks/calendar-04.tsx +++ /dev/null @@ -1,23 +0,0 @@ -"use client" - -import * as React from "react" -import { type DateRange } from "react-day-picker" - -import { Calendar } from "@/registry/default/ui/calendar" - -export default function Calendar04() { - const [dateRange, setDateRange] = React.useState({ - from: new Date(2025, 5, 9), - to: new Date(2025, 5, 26), - }) - - return ( - - ) -} diff --git a/deprecated/www/__registry__/default/blocks/calendar-05.tsx b/deprecated/www/__registry__/default/blocks/calendar-05.tsx deleted file mode 100644 index b6a13b61c4..0000000000 --- a/deprecated/www/__registry__/default/blocks/calendar-05.tsx +++ /dev/null @@ -1,24 +0,0 @@ -"use client" - -import * as React from "react" -import { type DateRange } from "react-day-picker" - -import { Calendar } from "@/registry/default/ui/calendar" - -export default function Calendar05() { - const [dateRange, setDateRange] = React.useState({ - from: new Date(2025, 5, 12), - to: new Date(2025, 6, 15), - }) - - return ( - - ) -} diff --git a/deprecated/www/__registry__/default/blocks/calendar-06.tsx b/deprecated/www/__registry__/default/blocks/calendar-06.tsx deleted file mode 100644 index 5c61050a69..0000000000 --- a/deprecated/www/__registry__/default/blocks/calendar-06.tsx +++ /dev/null @@ -1,30 +0,0 @@ -"use client" - -import * as React from "react" -import { type DateRange } from "react-day-picker" - -import { Calendar } from "@/registry/default/ui/calendar" - -export default function Calendar06() { - const [dateRange, setDateRange] = React.useState({ - from: new Date(2025, 5, 12), - to: new Date(2025, 5, 26), - }) - - return ( -
- -
- A minimum of 5 days is required -
-
- ) -} diff --git a/deprecated/www/__registry__/default/blocks/calendar-07.tsx b/deprecated/www/__registry__/default/blocks/calendar-07.tsx deleted file mode 100644 index 3f46a659e0..0000000000 --- a/deprecated/www/__registry__/default/blocks/calendar-07.tsx +++ /dev/null @@ -1,31 +0,0 @@ -"use client" - -import * as React from "react" -import { type DateRange } from "react-day-picker" - -import { Calendar } from "@/registry/default/ui/calendar" - -export default function Calendar07() { - const [dateRange, setDateRange] = React.useState({ - from: new Date(2025, 5, 18), - to: new Date(2025, 6, 7), - }) - - return ( -
- -
- Your stay must be between 2 and 20 nights -
-
- ) -} diff --git a/deprecated/www/__registry__/default/blocks/calendar-08.tsx b/deprecated/www/__registry__/default/blocks/calendar-08.tsx deleted file mode 100644 index 93a90ff4e8..0000000000 --- a/deprecated/www/__registry__/default/blocks/calendar-08.tsx +++ /dev/null @@ -1,24 +0,0 @@ -"use client" - -import * as React from "react" - -import { Calendar } from "@/registry/default/ui/calendar" - -export default function Calendar08() { - const [date, setDate] = React.useState( - new Date(2025, 5, 12) - ) - - return ( - - ) -} diff --git a/deprecated/www/__registry__/default/blocks/calendar-09.tsx b/deprecated/www/__registry__/default/blocks/calendar-09.tsx deleted file mode 100644 index 182d7f2bb9..0000000000 --- a/deprecated/www/__registry__/default/blocks/calendar-09.tsx +++ /dev/null @@ -1,26 +0,0 @@ -"use client" - -import * as React from "react" -import { type DateRange } from "react-day-picker" - -import { Calendar } from "@/registry/default/ui/calendar" - -export default function Calendar09() { - const [dateRange, setDateRange] = React.useState({ - from: new Date(2025, 5, 17), - to: new Date(2025, 5, 20), - }) - - return ( - - ) -} diff --git a/deprecated/www/__registry__/default/blocks/calendar-10.tsx b/deprecated/www/__registry__/default/blocks/calendar-10.tsx deleted file mode 100644 index 592c66ded3..0000000000 --- a/deprecated/www/__registry__/default/blocks/calendar-10.tsx +++ /dev/null @@ -1,50 +0,0 @@ -"use client" - -import * as React from "react" - -import { Button } from "@/registry/default/ui/button" -import { Calendar } from "@/registry/default/ui/calendar" -import { - Card, - CardContent, - CardDescription, - CardHeader, - CardTitle, -} from "@/registry/default/ui/card" - -export default function Calendar10() { - const [date, setDate] = React.useState( - new Date(2025, 5, 12) - ) - const [month, setMonth] = React.useState(new Date()) - - return ( - - - Appointment - Find a date - - - - - - - ) -} diff --git a/deprecated/www/__registry__/default/blocks/calendar-11.tsx b/deprecated/www/__registry__/default/blocks/calendar-11.tsx deleted file mode 100644 index dfad509ae1..0000000000 --- a/deprecated/www/__registry__/default/blocks/calendar-11.tsx +++ /dev/null @@ -1,31 +0,0 @@ -"use client" - -import * as React from "react" -import { type DateRange } from "react-day-picker" - -import { Calendar } from "@/registry/default/ui/calendar" - -export default function Calendar11() { - const [dateRange, setDateRange] = React.useState({ - from: new Date(2025, 5, 17), - to: new Date(2025, 5, 20), - }) - - return ( -
- -
- We are open in June and July only. -
-
- ) -} diff --git a/deprecated/www/__registry__/default/blocks/calendar-12.tsx b/deprecated/www/__registry__/default/blocks/calendar-12.tsx deleted file mode 100644 index 0e3dda9632..0000000000 --- a/deprecated/www/__registry__/default/blocks/calendar-12.tsx +++ /dev/null @@ -1,78 +0,0 @@ -"use client" - -import * as React from "react" -import { type DateRange } from "react-day-picker" -import { enUS, es } from "react-day-picker/locale" - -import { Calendar } from "@/registry/default/ui/calendar" -import { - Card, - CardContent, - CardDescription, - CardHeader, - CardTitle, -} from "@/registry/default/ui/card" -import { - Select, - SelectContent, - SelectItem, - SelectTrigger, - SelectValue, -} from "@/registry/default/ui/select" - -const localizedStrings = { - en: { - title: "Book an appointment", - description: "Select the dates for your appointment", - }, - es: { - title: "Reserva una cita", - description: "Selecciona las fechas para tu cita", - }, -} as const - -export default function Calendar12() { - const [locale, setLocale] = - React.useState("es") - const [dateRange, setDateRange] = React.useState({ - from: new Date(2025, 8, 9), - to: new Date(2025, 8, 17), - }) - - return ( - - - {localizedStrings[locale].title} - - {localizedStrings[locale].description} - - - - - - - - ) -} diff --git a/deprecated/www/__registry__/default/blocks/calendar-13.tsx b/deprecated/www/__registry__/default/blocks/calendar-13.tsx deleted file mode 100644 index 047d67fa6c..0000000000 --- a/deprecated/www/__registry__/default/blocks/calendar-13.tsx +++ /dev/null @@ -1,58 +0,0 @@ -"use client" - -import * as React from "react" - -import { Calendar } from "@/registry/default/ui/calendar" -import { Label } from "@/registry/default/ui/label" -import { - Select, - SelectContent, - SelectItem, - SelectTrigger, - SelectValue, -} from "@/registry/default/ui/select" - -export default function Calendar13() { - const [dropdown, setDropdown] = - React.useState["captionLayout"]>( - "dropdown" - ) - const [date, setDate] = React.useState( - new Date(2025, 5, 12) - ) - - return ( -
- -
- - -
-
- ) -} diff --git a/deprecated/www/__registry__/default/blocks/calendar-14.tsx b/deprecated/www/__registry__/default/blocks/calendar-14.tsx deleted file mode 100644 index e1d53f1a7d..0000000000 --- a/deprecated/www/__registry__/default/blocks/calendar-14.tsx +++ /dev/null @@ -1,32 +0,0 @@ -"use client" - -import * as React from "react" - -import { Calendar } from "@/registry/default/ui/calendar" - -export default function Calendar14() { - const [date, setDate] = React.useState( - new Date(2025, 5, 12) - ) - const bookedDates = Array.from( - { length: 12 }, - (_, i) => new Date(2025, 5, 15 + i) - ) - - return ( - button]:line-through opacity-100", - }} - className="rounded-lg border shadow-sm" - /> - ) -} diff --git a/deprecated/www/__registry__/default/blocks/calendar-15.tsx b/deprecated/www/__registry__/default/blocks/calendar-15.tsx deleted file mode 100644 index 6fec6f59a0..0000000000 --- a/deprecated/www/__registry__/default/blocks/calendar-15.tsx +++ /dev/null @@ -1,22 +0,0 @@ -"use client" - -import * as React from "react" - -import { Calendar } from "@/registry/default/ui/calendar" - -export default function Calendar15() { - const [date, setDate] = React.useState( - new Date(2025, 5, 12) - ) - - return ( - - ) -} diff --git a/deprecated/www/__registry__/default/blocks/calendar-16.tsx b/deprecated/www/__registry__/default/blocks/calendar-16.tsx deleted file mode 100644 index d21aa9fcab..0000000000 --- a/deprecated/www/__registry__/default/blocks/calendar-16.tsx +++ /dev/null @@ -1,56 +0,0 @@ -"use client" - -import * as React from "react" -import { Clock2Icon } from "lucide-react" - -import { Calendar } from "@/registry/default/ui/calendar" -import { Card, CardContent, CardFooter } from "@/registry/default/ui/card" -import { Input } from "@/registry/default/ui/input" -import { Label } from "@/registry/default/ui/label" - -export default function Calendar16() { - const [date, setDate] = React.useState( - new Date(2025, 5, 12) - ) - - return ( - - - - - -
- -
- - -
-
-
- -
- - -
-
-
-
- ) -} diff --git a/deprecated/www/__registry__/default/blocks/calendar-17.tsx b/deprecated/www/__registry__/default/blocks/calendar-17.tsx deleted file mode 100644 index bd66aeb3d2..0000000000 --- a/deprecated/www/__registry__/default/blocks/calendar-17.tsx +++ /dev/null @@ -1,54 +0,0 @@ -"use client" - -import * as React from "react" - -import { Calendar } from "@/registry/default/ui/calendar" -import { Card, CardContent, CardFooter } from "@/registry/default/ui/card" -import { Input } from "@/registry/default/ui/input" -import { Label } from "@/registry/default/ui/label" - -export default function Calendar17() { - const [date, setDate] = React.useState( - new Date(2025, 5, 12) - ) - - return ( - - - - - -
- - -
- - -
- - -
-
-
- ) -} diff --git a/deprecated/www/__registry__/default/blocks/calendar-18.tsx b/deprecated/www/__registry__/default/blocks/calendar-18.tsx deleted file mode 100644 index 950983dfa3..0000000000 --- a/deprecated/www/__registry__/default/blocks/calendar-18.tsx +++ /dev/null @@ -1,21 +0,0 @@ -"use client" - -import * as React from "react" - -import { Calendar } from "@/registry/default/ui/calendar" - -export default function Calendar18() { - const [date, setDate] = React.useState( - new Date(2025, 5, 12) - ) - - return ( - - ) -} diff --git a/deprecated/www/__registry__/default/blocks/calendar-19.tsx b/deprecated/www/__registry__/default/blocks/calendar-19.tsx deleted file mode 100644 index c9bff184e8..0000000000 --- a/deprecated/www/__registry__/default/blocks/calendar-19.tsx +++ /dev/null @@ -1,50 +0,0 @@ -"use client" - -import * as React from "react" -import { addDays } from "date-fns" - -import { Button } from "@/registry/default/ui/button" -import { Calendar } from "@/registry/default/ui/calendar" -import { Card, CardContent, CardFooter } from "@/registry/default/ui/card" - -export default function Calendar19() { - const [date, setDate] = React.useState( - new Date(2025, 5, 12) - ) - - return ( - - - - - - {[ - { label: "Today", value: 0 }, - { label: "Tomorrow", value: 1 }, - { label: "In 3 days", value: 3 }, - { label: "In a week", value: 7 }, - { label: "In 2 weeks", value: 14 }, - ].map((preset) => ( - - ))} - - - ) -} diff --git a/deprecated/www/__registry__/default/blocks/calendar-20.tsx b/deprecated/www/__registry__/default/blocks/calendar-20.tsx deleted file mode 100644 index e9ba34fc43..0000000000 --- a/deprecated/www/__registry__/default/blocks/calendar-20.tsx +++ /dev/null @@ -1,97 +0,0 @@ -"use client" - -import * as React from "react" - -import { Button } from "@/registry/default/ui/button" -import { Calendar } from "@/registry/default/ui/calendar" -import { Card, CardContent, CardFooter } from "@/registry/default/ui/card" - -export default function Calendar20() { - const [date, setDate] = React.useState( - new Date(2025, 5, 12) - ) - const [selectedTime, setSelectedTime] = React.useState("10:00") - const timeSlots = Array.from({ length: 37 }, (_, i) => { - const totalMinutes = i * 15 - const hour = Math.floor(totalMinutes / 60) + 9 - const minute = totalMinutes % 60 - return `${hour.toString().padStart(2, "0")}:${minute - .toString() - .padStart(2, "0")}` - }) - - const bookedDates = Array.from( - { length: 3 }, - (_, i) => new Date(2025, 5, 17 + i) - ) - - return ( - - -
- button]:line-through opacity-100", - }} - className="bg-transparent p-0 [--cell-size:2.5rem] md:[--cell-size:3rem]" - formatters={{ - formatWeekdayName: (date) => { - return date.toLocaleString("en-US", { weekday: "short" }) - }, - }} - /> -
-
-
- {timeSlots.map((time) => ( - - ))} -
-
-
- -
- {date && selectedTime ? ( - <> - Your meeting is booked for{" "} - - {" "} - {date?.toLocaleDateString("en-US", { - weekday: "long", - day: "numeric", - month: "long", - })}{" "} - - at {selectedTime}. - - ) : ( - <>Select a date and time for your meeting. - )} -
- -
-
- ) -} diff --git a/deprecated/www/__registry__/default/blocks/calendar-21.tsx b/deprecated/www/__registry__/default/blocks/calendar-21.tsx deleted file mode 100644 index 4762f22b32..0000000000 --- a/deprecated/www/__registry__/default/blocks/calendar-21.tsx +++ /dev/null @@ -1,42 +0,0 @@ -"use client" - -import * as React from "react" -import { DateRange } from "react-day-picker" - -import { Calendar, CalendarDayButton } from "@/registry/default/ui/calendar" - -export default function Calendar21() { - const [range, setRange] = React.useState({ - from: new Date(2025, 5, 12), - to: new Date(2025, 5, 17), - }) - - return ( - { - return date.toLocaleString("default", { month: "long" }) - }, - }} - components={{ - DayButton: ({ children, modifiers, day, ...props }) => { - const isWeekend = day.date.getDay() === 0 || day.date.getDay() === 6 - - return ( - - {children} - {!modifiers.outside && {isWeekend ? "$220" : "$100"}} - - ) - }, - }} - /> - ) -} diff --git a/deprecated/www/__registry__/default/blocks/calendar-22.tsx b/deprecated/www/__registry__/default/blocks/calendar-22.tsx deleted file mode 100644 index b184684762..0000000000 --- a/deprecated/www/__registry__/default/blocks/calendar-22.tsx +++ /dev/null @@ -1,49 +0,0 @@ -"use client" - -import * as React from "react" -import { ChevronDownIcon } from "lucide-react" - -import { Button } from "@/registry/default/ui/button" -import { Calendar } from "@/registry/default/ui/calendar" -import { Label } from "@/registry/default/ui/label" -import { - Popover, - PopoverContent, - PopoverTrigger, -} from "@/registry/default/ui/popover" - -export default function Calendar22() { - const [open, setOpen] = React.useState(false) - const [date, setDate] = React.useState(undefined) - - return ( -
- - - - - - - { - setDate(date) - setOpen(false) - }} - /> - - -
- ) -} diff --git a/deprecated/www/__registry__/default/blocks/calendar-23.tsx b/deprecated/www/__registry__/default/blocks/calendar-23.tsx deleted file mode 100644 index a1110c054a..0000000000 --- a/deprecated/www/__registry__/default/blocks/calendar-23.tsx +++ /dev/null @@ -1,50 +0,0 @@ -"use client" - -import * as React from "react" -import { ChevronDownIcon } from "lucide-react" -import { type DateRange } from "react-day-picker" - -import { Button } from "@/registry/default/ui/button" -import { Calendar } from "@/registry/default/ui/calendar" -import { Label } from "@/registry/default/ui/label" -import { - Popover, - PopoverContent, - PopoverTrigger, -} from "@/registry/default/ui/popover" - -export default function Calendar23() { - const [range, setRange] = React.useState(undefined) - - return ( -
- - - - - - - { - setRange(range) - }} - /> - - -
- ) -} diff --git a/deprecated/www/__registry__/default/blocks/calendar-24.tsx b/deprecated/www/__registry__/default/blocks/calendar-24.tsx deleted file mode 100644 index 19f1fd0d03..0000000000 --- a/deprecated/www/__registry__/default/blocks/calendar-24.tsx +++ /dev/null @@ -1,64 +0,0 @@ -"use client" - -import * as React from "react" -import { ChevronDownIcon } from "lucide-react" - -import { Button } from "@/registry/default/ui/button" -import { Calendar } from "@/registry/default/ui/calendar" -import { Input } from "@/registry/default/ui/input" -import { Label } from "@/registry/default/ui/label" -import { - Popover, - PopoverContent, - PopoverTrigger, -} from "@/registry/default/ui/popover" - -export default function Calendar24() { - const [open, setOpen] = React.useState(false) - const [date, setDate] = React.useState(undefined) - - return ( -
-
- - - - - - - { - setDate(date) - setOpen(false) - }} - /> - - -
-
- - -
-
- ) -} diff --git a/deprecated/www/__registry__/default/blocks/calendar-25.tsx b/deprecated/www/__registry__/default/blocks/calendar-25.tsx deleted file mode 100644 index bf01d207c3..0000000000 --- a/deprecated/www/__registry__/default/blocks/calendar-25.tsx +++ /dev/null @@ -1,78 +0,0 @@ -"use client" - -import * as React from "react" -import { ChevronDownIcon } from "lucide-react" - -import { Button } from "@/registry/default/ui/button" -import { Calendar } from "@/registry/default/ui/calendar" -import { Input } from "@/registry/default/ui/input" -import { Label } from "@/registry/default/ui/label" -import { - Popover, - PopoverContent, - PopoverTrigger, -} from "@/registry/default/ui/popover" - -export default function Calendar25() { - const [open, setOpen] = React.useState(false) - const [date, setDate] = React.useState(undefined) - - return ( -
-
- - - - - - - { - setDate(date) - setOpen(false) - }} - /> - - -
-
-
- - -
-
- - -
-
-
- ) -} diff --git a/deprecated/www/__registry__/default/blocks/calendar-26.tsx b/deprecated/www/__registry__/default/blocks/calendar-26.tsx deleted file mode 100644 index 2032623348..0000000000 --- a/deprecated/www/__registry__/default/blocks/calendar-26.tsx +++ /dev/null @@ -1,133 +0,0 @@ -"use client" - -import * as React from "react" -import { ChevronDownIcon } from "lucide-react" - -import { Button } from "@/registry/default/ui/button" -import { Calendar } from "@/registry/default/ui/calendar" -import { Input } from "@/registry/default/ui/input" -import { Label } from "@/registry/default/ui/label" -import { - Popover, - PopoverContent, - PopoverTrigger, -} from "@/registry/default/ui/popover" - -export default function Calendar26() { - const [openFrom, setOpenFrom] = React.useState(false) - const [openTo, setOpenTo] = React.useState(false) - const [dateFrom, setDateFrom] = React.useState( - new Date("2025-06-01") - ) - const [dateTo, setDateTo] = React.useState( - new Date("2025-06-03") - ) - - return ( -
-
-
- - - - - - - { - setDateFrom(date) - setOpenFrom(false) - }} - /> - - -
-
- - -
-
-
-
- - - - - - - { - setDateTo(date) - setOpenTo(false) - }} - disabled={dateFrom && { before: dateFrom }} - /> - - -
-
- - -
-
-
- ) -} diff --git a/deprecated/www/__registry__/default/blocks/calendar-27.tsx b/deprecated/www/__registry__/default/blocks/calendar-27.tsx deleted file mode 100644 index ebc120422d..0000000000 --- a/deprecated/www/__registry__/default/blocks/calendar-27.tsx +++ /dev/null @@ -1,177 +0,0 @@ -"use client" - -import * as React from "react" -import { CalendarIcon } from "lucide-react" -import { DateRange } from "react-day-picker" -import { Bar, BarChart, CartesianGrid, XAxis } from "recharts" - -import { Button } from "@/registry/default/ui/button" -import { Calendar } from "@/registry/default/ui/calendar" -import { - Card, - CardContent, - CardDescription, - CardFooter, - CardHeader, - CardTitle, -} from "@/registry/default/ui/card" -import { - ChartConfig, - ChartContainer, - ChartTooltip, - ChartTooltipContent, -} from "@/registry/default/ui/chart" -import { - Popover, - PopoverContent, - PopoverTrigger, -} from "@/registry/default/ui/popover" - -const chartData = [ - { date: "2025-06-01", visitors: 178 }, - { date: "2025-06-02", visitors: 470 }, - { date: "2025-06-03", visitors: 103 }, - { date: "2025-06-04", visitors: 439 }, - { date: "2025-06-05", visitors: 88 }, - { date: "2025-06-06", visitors: 294 }, - { date: "2025-06-07", visitors: 323 }, - { date: "2025-06-08", visitors: 385 }, - { date: "2025-06-09", visitors: 438 }, - { date: "2025-06-10", visitors: 155 }, - { date: "2025-06-11", visitors: 92 }, - { date: "2025-06-12", visitors: 492 }, - { date: "2025-06-13", visitors: 81 }, - { date: "2025-06-14", visitors: 426 }, - { date: "2025-06-15", visitors: 307 }, - { date: "2025-06-16", visitors: 371 }, - { date: "2025-06-17", visitors: 475 }, - { date: "2025-06-18", visitors: 107 }, - { date: "2025-06-19", visitors: 341 }, - { date: "2025-06-20", visitors: 408 }, - { date: "2025-06-21", visitors: 169 }, - { date: "2025-06-22", visitors: 317 }, - { date: "2025-06-23", visitors: 480 }, - { date: "2025-06-24", visitors: 132 }, - { date: "2025-06-25", visitors: 141 }, - { date: "2025-06-26", visitors: 434 }, - { date: "2025-06-27", visitors: 448 }, - { date: "2025-06-28", visitors: 149 }, - { date: "2025-06-29", visitors: 103 }, - { date: "2025-06-30", visitors: 446 }, -] - -const total = chartData.reduce((acc, curr) => acc + curr.visitors, 0) - -const chartConfig = { - visitors: { - label: "Visitors", - color: "hsl(var(--primary))", - }, -} satisfies ChartConfig - -export default function Calendar27() { - const [range, setRange] = React.useState({ - from: new Date(2025, 5, 5), - to: new Date(2025, 5, 20), - }) - const filteredData = React.useMemo(() => { - if (!range?.from && !range?.to) { - return chartData - } - - return chartData.filter((item) => { - const date = new Date(item.date) - return date >= range.from! && date <= range.to! - }) - }, [range]) - - return ( - - - Web Analytics - - Showing total visitors for this month. - - - - - - - - - - - - - - - { - const date = new Date(value) - return date.toLocaleDateString("en-US", { - day: "numeric", - }) - }} - /> - { - return new Date(value).toLocaleDateString("en-US", { - month: "short", - day: "numeric", - year: "numeric", - }) - }} - /> - } - /> - - - - - -
- You had{" "} - {total.toLocaleString()}{" "} - visitors for the month of June. -
-
-
- ) -} diff --git a/deprecated/www/__registry__/default/blocks/calendar-28.tsx b/deprecated/www/__registry__/default/blocks/calendar-28.tsx deleted file mode 100644 index 2cd72f75a1..0000000000 --- a/deprecated/www/__registry__/default/blocks/calendar-28.tsx +++ /dev/null @@ -1,104 +0,0 @@ -"use client" - -import * as React from "react" -import { CalendarIcon } from "lucide-react" - -import { Button } from "@/registry/default/ui/button" -import { Calendar } from "@/registry/default/ui/calendar" -import { Input } from "@/registry/default/ui/input" -import { Label } from "@/registry/default/ui/label" -import { - Popover, - PopoverContent, - PopoverTrigger, -} from "@/registry/default/ui/popover" - -function formatDate(date: Date | undefined) { - if (!date) { - return "" - } - - return date.toLocaleDateString("en-US", { - day: "2-digit", - month: "long", - year: "numeric", - }) -} - -function isValidDate(date: Date | undefined) { - if (!date) { - return false - } - return !isNaN(date.getTime()) -} - -export default function Calendar28() { - const [open, setOpen] = React.useState(false) - const [date, setDate] = React.useState( - new Date("2025-06-01") - ) - const [month, setMonth] = React.useState(date) - const [value, setValue] = React.useState(formatDate(date)) - - return ( -
- -
- { - const date = new Date(e.target.value) - setValue(e.target.value) - if (isValidDate(date)) { - setDate(date) - setMonth(date) - } - }} - onKeyDown={(e) => { - if (e.key === "ArrowDown") { - e.preventDefault() - setOpen(true) - } - }} - /> - - - - - - { - setDate(date) - setValue(formatDate(date)) - setOpen(false) - }} - /> - - -
-
- ) -} diff --git a/deprecated/www/__registry__/default/blocks/calendar-29.tsx b/deprecated/www/__registry__/default/blocks/calendar-29.tsx deleted file mode 100644 index 22af360250..0000000000 --- a/deprecated/www/__registry__/default/blocks/calendar-29.tsx +++ /dev/null @@ -1,96 +0,0 @@ -"use client" - -import * as React from "react" -import { parseDate } from "chrono-node" -import { CalendarIcon } from "lucide-react" - -import { Button } from "@/registry/default/ui/button" -import { Calendar } from "@/registry/default/ui/calendar" -import { Input } from "@/registry/default/ui/input" -import { Label } from "@/registry/default/ui/label" -import { - Popover, - PopoverContent, - PopoverTrigger, -} from "@/registry/default/ui/popover" - -function formatDate(date: Date | undefined) { - if (!date) { - return "" - } - - return date.toLocaleDateString("en-US", { - day: "2-digit", - month: "long", - year: "numeric", - }) -} - -export default function Calendar29() { - const [open, setOpen] = React.useState(false) - const [value, setValue] = React.useState("In 2 days") - const [date, setDate] = React.useState( - parseDate(value) || undefined - ) - const [month, setMonth] = React.useState(date) - - return ( -
- -
- { - setValue(e.target.value) - const date = parseDate(e.target.value) - if (date) { - setDate(date) - setMonth(date) - } - }} - onKeyDown={(e) => { - if (e.key === "ArrowDown") { - e.preventDefault() - setOpen(true) - } - }} - /> - - - - - - { - setDate(date) - setValue(formatDate(date)) - setOpen(false) - }} - /> - - -
-
- Your post will be published on{" "} - {formatDate(date)}. -
-
- ) -} diff --git a/deprecated/www/__registry__/default/blocks/calendar-30.tsx b/deprecated/www/__registry__/default/blocks/calendar-30.tsx deleted file mode 100644 index 5cb30d9841..0000000000 --- a/deprecated/www/__registry__/default/blocks/calendar-30.tsx +++ /dev/null @@ -1,56 +0,0 @@ -"use client" - -import * as React from "react" -import { formatDateRange } from "little-date" -import { ChevronDownIcon } from "lucide-react" -import { type DateRange } from "react-day-picker" - -import { Button } from "@/registry/default/ui/button" -import { Calendar } from "@/registry/default/ui/calendar" -import { Label } from "@/registry/default/ui/label" -import { - Popover, - PopoverContent, - PopoverTrigger, -} from "@/registry/default/ui/popover" - -export default function Calendar30() { - const [range, setRange] = React.useState({ - from: new Date(2025, 5, 4), - to: new Date(2025, 5, 10), - }) - - return ( -
- - - - - - - { - setRange(range) - }} - /> - - -
- ) -} diff --git a/deprecated/www/__registry__/default/blocks/calendar-31.tsx b/deprecated/www/__registry__/default/blocks/calendar-31.tsx deleted file mode 100644 index 6c2c185df1..0000000000 --- a/deprecated/www/__registry__/default/blocks/calendar-31.tsx +++ /dev/null @@ -1,80 +0,0 @@ -"use client" - -import * as React from "react" -import { formatDateRange } from "little-date" -import { PlusIcon } from "lucide-react" - -import { Button } from "@/registry/default/ui/button" -import { Calendar } from "@/registry/default/ui/calendar" -import { Card, CardContent, CardFooter } from "@/registry/default/ui/card" - -const events = [ - { - title: "Team Sync Meeting", - from: "2025-06-12T09:00:00", - to: "2025-06-12T10:00:00", - }, - { - title: "Design Review", - from: "2025-06-12T11:30:00", - to: "2025-06-12T12:30:00", - }, - { - title: "Client Presentation", - from: "2025-06-12T14:00:00", - to: "2025-06-12T15:00:00", - }, -] - -export default function Calendar31() { - const [date, setDate] = React.useState( - new Date(2025, 5, 12) - ) - - return ( - - - - - -
-
- {date?.toLocaleDateString("en-US", { - day: "numeric", - month: "long", - year: "numeric", - })} -
- -
-
- {events.map((event) => ( -
-
{event.title}
-
- {formatDateRange(new Date(event.from), new Date(event.to))} -
-
- ))} -
-
-
- ) -} diff --git a/deprecated/www/__registry__/default/blocks/calendar-32.tsx b/deprecated/www/__registry__/default/blocks/calendar-32.tsx deleted file mode 100644 index afd47c1497..0000000000 --- a/deprecated/www/__registry__/default/blocks/calendar-32.tsx +++ /dev/null @@ -1,60 +0,0 @@ -"use client" - -import * as React from "react" -import { CalendarPlusIcon } from "lucide-react" - -import { Button } from "@/registry/default/ui/button" -import { Calendar } from "@/registry/default/ui/calendar" -import { - Drawer, - DrawerContent, - DrawerDescription, - DrawerHeader, - DrawerTitle, - DrawerTrigger, -} from "@/registry/default/ui/drawer" -import { Label } from "@/registry/default/ui/label" - -export default function Calendar32() { - const [open, setOpen] = React.useState(false) - const [date, setDate] = React.useState(undefined) - - return ( -
- - - - - - - - Select date - Set your date of birth - - { - setDate(date) - setOpen(false) - }} - className="mx-auto [--cell-size:clamp(0px,calc(100vw/7.5),52px)]" - /> - - -
- This example works best on mobile. -
-
- ) -} diff --git a/deprecated/www/__registry__/default/blocks/chart-area-axes.tsx b/deprecated/www/__registry__/default/blocks/chart-area-axes.tsx deleted file mode 100644 index e6c173dcb5..0000000000 --- a/deprecated/www/__registry__/default/blocks/chart-area-axes.tsx +++ /dev/null @@ -1,110 +0,0 @@ -"use client" - -import { TrendingUp } from "lucide-react" -import { Area, AreaChart, CartesianGrid, XAxis, YAxis } from "recharts" - -import { - Card, - CardContent, - CardDescription, - CardFooter, - CardHeader, - CardTitle, -} from "@/registry/default/ui/card" -import { - ChartConfig, - ChartContainer, - ChartTooltip, - ChartTooltipContent, -} from "@/registry/default/ui/chart" - -export const description = "An area chart with axes" - -const chartData = [ - { month: "January", desktop: 186, mobile: 80 }, - { month: "February", desktop: 305, mobile: 200 }, - { month: "March", desktop: 237, mobile: 120 }, - { month: "April", desktop: 73, mobile: 190 }, - { month: "May", desktop: 209, mobile: 130 }, - { month: "June", desktop: 214, mobile: 140 }, -] - -const chartConfig = { - desktop: { - label: "Desktop", - color: "hsl(var(--chart-1))", - }, - mobile: { - label: "Mobile", - color: "hsl(var(--chart-2))", - }, -} satisfies ChartConfig - -export default function Component() { - return ( - - - Area Chart - Axes - - Showing total visitors for the last 6 months - - - - - - - value.slice(0, 3)} - /> - - } /> - - - - - - -
-
-
- Trending up by 5.2% this month -
-
- January - June 2024 -
-
-
-
-
- ) -} diff --git a/deprecated/www/__registry__/default/blocks/chart-area-default.tsx b/deprecated/www/__registry__/default/blocks/chart-area-default.tsx deleted file mode 100644 index 925eb60367..0000000000 --- a/deprecated/www/__registry__/default/blocks/chart-area-default.tsx +++ /dev/null @@ -1,94 +0,0 @@ -"use client" - -import { TrendingUp } from "lucide-react" -import { Area, AreaChart, CartesianGrid, XAxis } from "recharts" - -import { - Card, - CardContent, - CardDescription, - CardFooter, - CardHeader, - CardTitle, -} from "@/registry/default/ui/card" -import { - ChartConfig, - ChartContainer, - ChartTooltip, - ChartTooltipContent, -} from "@/registry/default/ui/chart" - -export const description = "A simple area chart" - -const chartData = [ - { month: "January", desktop: 186 }, - { month: "February", desktop: 305 }, - { month: "March", desktop: 237 }, - { month: "April", desktop: 73 }, - { month: "May", desktop: 209 }, - { month: "June", desktop: 214 }, -] - -const chartConfig = { - desktop: { - label: "Desktop", - color: "hsl(var(--chart-1))", - }, -} satisfies ChartConfig - -export default function Component() { - return ( - - - Area Chart - - Showing total visitors for the last 6 months - - - - - - - value.slice(0, 3)} - /> - } - /> - - - - - -
-
-
- Trending up by 5.2% this month -
-
- January - June 2024 -
-
-
-
-
- ) -} diff --git a/deprecated/www/__registry__/default/blocks/chart-area-gradient.tsx b/deprecated/www/__registry__/default/blocks/chart-area-gradient.tsx deleted file mode 100644 index 0314f690fc..0000000000 --- a/deprecated/www/__registry__/default/blocks/chart-area-gradient.tsx +++ /dev/null @@ -1,130 +0,0 @@ -"use client" - -import { TrendingUp } from "lucide-react" -import { Area, AreaChart, CartesianGrid, XAxis } from "recharts" - -import { - Card, - CardContent, - CardDescription, - CardFooter, - CardHeader, - CardTitle, -} from "@/registry/default/ui/card" -import { - ChartConfig, - ChartContainer, - ChartTooltip, - ChartTooltipContent, -} from "@/registry/default/ui/chart" - -export const description = "An area chart with gradient fill" - -const chartData = [ - { month: "January", desktop: 186, mobile: 80 }, - { month: "February", desktop: 305, mobile: 200 }, - { month: "March", desktop: 237, mobile: 120 }, - { month: "April", desktop: 73, mobile: 190 }, - { month: "May", desktop: 209, mobile: 130 }, - { month: "June", desktop: 214, mobile: 140 }, -] - -const chartConfig = { - desktop: { - label: "Desktop", - color: "hsl(var(--chart-1))", - }, - mobile: { - label: "Mobile", - color: "hsl(var(--chart-2))", - }, -} satisfies ChartConfig - -export default function Component() { - return ( - - - Area Chart - Gradient - - Showing total visitors for the last 6 months - - - - - - - value.slice(0, 3)} - /> - } /> - - - - - - - - - - - - - - - - -
-
-
- Trending up by 5.2% this month -
-
- January - June 2024 -
-
-
-
-
- ) -} diff --git a/deprecated/www/__registry__/default/blocks/chart-area-icons.tsx b/deprecated/www/__registry__/default/blocks/chart-area-icons.tsx deleted file mode 100644 index 05d2e4ef0b..0000000000 --- a/deprecated/www/__registry__/default/blocks/chart-area-icons.tsx +++ /dev/null @@ -1,112 +0,0 @@ -"use client" - -import { TrendingDown, TrendingUp } from "lucide-react" -import { Area, AreaChart, CartesianGrid, XAxis } from "recharts" - -import { - Card, - CardContent, - CardDescription, - CardFooter, - CardHeader, - CardTitle, -} from "@/registry/default/ui/card" -import { - ChartConfig, - ChartContainer, - ChartLegend, - ChartLegendContent, - ChartTooltip, - ChartTooltipContent, -} from "@/registry/default/ui/chart" - -export const description = "An area chart with icons" - -const chartData = [ - { month: "January", desktop: 186, mobile: 80 }, - { month: "February", desktop: 305, mobile: 200 }, - { month: "March", desktop: 237, mobile: 120 }, - { month: "April", desktop: 73, mobile: 190 }, - { month: "May", desktop: 209, mobile: 130 }, - { month: "June", desktop: 214, mobile: 140 }, -] - -const chartConfig = { - desktop: { - label: "Desktop", - color: "hsl(var(--chart-1))", - icon: TrendingDown, - }, - mobile: { - label: "Mobile", - color: "hsl(var(--chart-2))", - icon: TrendingUp, - }, -} satisfies ChartConfig - -export default function Component() { - return ( - - - Area Chart - Icons - - Showing total visitors for the last 6 months - - - - - - - value.slice(0, 3)} - /> - } - /> - - - } /> - - - - -
-
-
- Trending up by 5.2% this month -
-
- January - June 2024 -
-
-
-
-
- ) -} diff --git a/deprecated/www/__registry__/default/blocks/chart-area-interactive.tsx b/deprecated/www/__registry__/default/blocks/chart-area-interactive.tsx deleted file mode 100644 index 16cbcca59f..0000000000 --- a/deprecated/www/__registry__/default/blocks/chart-area-interactive.tsx +++ /dev/null @@ -1,266 +0,0 @@ -"use client" - -import * as React from "react" -import { Area, AreaChart, CartesianGrid, XAxis } from "recharts" - -import { - Card, - CardContent, - CardDescription, - CardHeader, - CardTitle, -} from "@/registry/default/ui/card" -import { - ChartConfig, - ChartContainer, - ChartLegend, - ChartLegendContent, - ChartTooltip, - ChartTooltipContent, -} from "@/registry/default/ui/chart" -import { - Select, - SelectContent, - SelectItem, - SelectTrigger, - SelectValue, -} from "@/registry/default/ui/select" - -export const description = "An interactive area chart" - -const chartData = [ - { date: "2024-04-01", desktop: 222, mobile: 150 }, - { date: "2024-04-02", desktop: 97, mobile: 180 }, - { date: "2024-04-03", desktop: 167, mobile: 120 }, - { date: "2024-04-04", desktop: 242, mobile: 260 }, - { date: "2024-04-05", desktop: 373, mobile: 290 }, - { date: "2024-04-06", desktop: 301, mobile: 340 }, - { date: "2024-04-07", desktop: 245, mobile: 180 }, - { date: "2024-04-08", desktop: 409, mobile: 320 }, - { date: "2024-04-09", desktop: 59, mobile: 110 }, - { date: "2024-04-10", desktop: 261, mobile: 190 }, - { date: "2024-04-11", desktop: 327, mobile: 350 }, - { date: "2024-04-12", desktop: 292, mobile: 210 }, - { date: "2024-04-13", desktop: 342, mobile: 380 }, - { date: "2024-04-14", desktop: 137, mobile: 220 }, - { date: "2024-04-15", desktop: 120, mobile: 170 }, - { date: "2024-04-16", desktop: 138, mobile: 190 }, - { date: "2024-04-17", desktop: 446, mobile: 360 }, - { date: "2024-04-18", desktop: 364, mobile: 410 }, - { date: "2024-04-19", desktop: 243, mobile: 180 }, - { date: "2024-04-20", desktop: 89, mobile: 150 }, - { date: "2024-04-21", desktop: 137, mobile: 200 }, - { date: "2024-04-22", desktop: 224, mobile: 170 }, - { date: "2024-04-23", desktop: 138, mobile: 230 }, - { date: "2024-04-24", desktop: 387, mobile: 290 }, - { date: "2024-04-25", desktop: 215, mobile: 250 }, - { date: "2024-04-26", desktop: 75, mobile: 130 }, - { date: "2024-04-27", desktop: 383, mobile: 420 }, - { date: "2024-04-28", desktop: 122, mobile: 180 }, - { date: "2024-04-29", desktop: 315, mobile: 240 }, - { date: "2024-04-30", desktop: 454, mobile: 380 }, - { date: "2024-05-01", desktop: 165, mobile: 220 }, - { date: "2024-05-02", desktop: 293, mobile: 310 }, - { date: "2024-05-03", desktop: 247, mobile: 190 }, - { date: "2024-05-04", desktop: 385, mobile: 420 }, - { date: "2024-05-05", desktop: 481, mobile: 390 }, - { date: "2024-05-06", desktop: 498, mobile: 520 }, - { date: "2024-05-07", desktop: 388, mobile: 300 }, - { date: "2024-05-08", desktop: 149, mobile: 210 }, - { date: "2024-05-09", desktop: 227, mobile: 180 }, - { date: "2024-05-10", desktop: 293, mobile: 330 }, - { date: "2024-05-11", desktop: 335, mobile: 270 }, - { date: "2024-05-12", desktop: 197, mobile: 240 }, - { date: "2024-05-13", desktop: 197, mobile: 160 }, - { date: "2024-05-14", desktop: 448, mobile: 490 }, - { date: "2024-05-15", desktop: 473, mobile: 380 }, - { date: "2024-05-16", desktop: 338, mobile: 400 }, - { date: "2024-05-17", desktop: 499, mobile: 420 }, - { date: "2024-05-18", desktop: 315, mobile: 350 }, - { date: "2024-05-19", desktop: 235, mobile: 180 }, - { date: "2024-05-20", desktop: 177, mobile: 230 }, - { date: "2024-05-21", desktop: 82, mobile: 140 }, - { date: "2024-05-22", desktop: 81, mobile: 120 }, - { date: "2024-05-23", desktop: 252, mobile: 290 }, - { date: "2024-05-24", desktop: 294, mobile: 220 }, - { date: "2024-05-25", desktop: 201, mobile: 250 }, - { date: "2024-05-26", desktop: 213, mobile: 170 }, - { date: "2024-05-27", desktop: 420, mobile: 460 }, - { date: "2024-05-28", desktop: 233, mobile: 190 }, - { date: "2024-05-29", desktop: 78, mobile: 130 }, - { date: "2024-05-30", desktop: 340, mobile: 280 }, - { date: "2024-05-31", desktop: 178, mobile: 230 }, - { date: "2024-06-01", desktop: 178, mobile: 200 }, - { date: "2024-06-02", desktop: 470, mobile: 410 }, - { date: "2024-06-03", desktop: 103, mobile: 160 }, - { date: "2024-06-04", desktop: 439, mobile: 380 }, - { date: "2024-06-05", desktop: 88, mobile: 140 }, - { date: "2024-06-06", desktop: 294, mobile: 250 }, - { date: "2024-06-07", desktop: 323, mobile: 370 }, - { date: "2024-06-08", desktop: 385, mobile: 320 }, - { date: "2024-06-09", desktop: 438, mobile: 480 }, - { date: "2024-06-10", desktop: 155, mobile: 200 }, - { date: "2024-06-11", desktop: 92, mobile: 150 }, - { date: "2024-06-12", desktop: 492, mobile: 420 }, - { date: "2024-06-13", desktop: 81, mobile: 130 }, - { date: "2024-06-14", desktop: 426, mobile: 380 }, - { date: "2024-06-15", desktop: 307, mobile: 350 }, - { date: "2024-06-16", desktop: 371, mobile: 310 }, - { date: "2024-06-17", desktop: 475, mobile: 520 }, - { date: "2024-06-18", desktop: 107, mobile: 170 }, - { date: "2024-06-19", desktop: 341, mobile: 290 }, - { date: "2024-06-20", desktop: 408, mobile: 450 }, - { date: "2024-06-21", desktop: 169, mobile: 210 }, - { date: "2024-06-22", desktop: 317, mobile: 270 }, - { date: "2024-06-23", desktop: 480, mobile: 530 }, - { date: "2024-06-24", desktop: 132, mobile: 180 }, - { date: "2024-06-25", desktop: 141, mobile: 190 }, - { date: "2024-06-26", desktop: 434, mobile: 380 }, - { date: "2024-06-27", desktop: 448, mobile: 490 }, - { date: "2024-06-28", desktop: 149, mobile: 200 }, - { date: "2024-06-29", desktop: 103, mobile: 160 }, - { date: "2024-06-30", desktop: 446, mobile: 400 }, -] - -const chartConfig = { - visitors: { - label: "Visitors", - }, - desktop: { - label: "Desktop", - color: "hsl(var(--chart-1))", - }, - mobile: { - label: "Mobile", - color: "hsl(var(--chart-2))", - }, -} satisfies ChartConfig - -export default function Component() { - const [timeRange, setTimeRange] = React.useState("90d") - - const filteredData = chartData.filter((item) => { - const date = new Date(item.date) - const referenceDate = new Date("2024-06-30") - let daysToSubtract = 90 - if (timeRange === "30d") { - daysToSubtract = 30 - } else if (timeRange === "7d") { - daysToSubtract = 7 - } - const startDate = new Date(referenceDate) - startDate.setDate(startDate.getDate() - daysToSubtract) - return date >= startDate - }) - - return ( - - -
- Area Chart - Interactive - - Showing total visitors for the last 3 months - -
- -
- - - - - - - - - - - - - - - { - const date = new Date(value) - return date.toLocaleDateString("en-US", { - month: "short", - day: "numeric", - }) - }} - /> - { - return new Date(value).toLocaleDateString("en-US", { - month: "short", - day: "numeric", - }) - }} - indicator="dot" - /> - } - /> - - - } /> - - - -
- ) -} diff --git a/deprecated/www/__registry__/default/blocks/chart-area-legend.tsx b/deprecated/www/__registry__/default/blocks/chart-area-legend.tsx deleted file mode 100644 index 9d7cfe3d1e..0000000000 --- a/deprecated/www/__registry__/default/blocks/chart-area-legend.tsx +++ /dev/null @@ -1,110 +0,0 @@ -"use client" - -import { TrendingUp } from "lucide-react" -import { Area, AreaChart, CartesianGrid, XAxis } from "recharts" - -import { - Card, - CardContent, - CardDescription, - CardFooter, - CardHeader, - CardTitle, -} from "@/registry/default/ui/card" -import { - ChartConfig, - ChartContainer, - ChartLegend, - ChartLegendContent, - ChartTooltip, - ChartTooltipContent, -} from "@/registry/default/ui/chart" - -export const description = "An area chart with a legend" - -const chartData = [ - { month: "January", desktop: 186, mobile: 80 }, - { month: "February", desktop: 305, mobile: 200 }, - { month: "March", desktop: 237, mobile: 120 }, - { month: "April", desktop: 73, mobile: 190 }, - { month: "May", desktop: 209, mobile: 130 }, - { month: "June", desktop: 214, mobile: 140 }, -] - -const chartConfig = { - desktop: { - label: "Desktop", - color: "hsl(var(--chart-1))", - }, - mobile: { - label: "Mobile", - color: "hsl(var(--chart-2))", - }, -} satisfies ChartConfig - -export default function Component() { - return ( - - - Area Chart - Legend - - Showing total visitors for the last 6 months - - - - - - - value.slice(0, 3)} - /> - } - /> - - - } /> - - - - -
-
-
- Trending up by 5.2% this month -
-
- January - June 2024 -
-
-
-
-
- ) -} diff --git a/deprecated/www/__registry__/default/blocks/chart-area-linear.tsx b/deprecated/www/__registry__/default/blocks/chart-area-linear.tsx deleted file mode 100644 index 4e58417994..0000000000 --- a/deprecated/www/__registry__/default/blocks/chart-area-linear.tsx +++ /dev/null @@ -1,94 +0,0 @@ -"use client" - -import { TrendingUp } from "lucide-react" -import { Area, AreaChart, CartesianGrid, XAxis } from "recharts" - -import { - Card, - CardContent, - CardDescription, - CardFooter, - CardHeader, - CardTitle, -} from "@/registry/default/ui/card" -import { - ChartConfig, - ChartContainer, - ChartTooltip, - ChartTooltipContent, -} from "@/registry/default/ui/chart" - -export const description = "A linear area chart" - -const chartData = [ - { month: "January", desktop: 186 }, - { month: "February", desktop: 305 }, - { month: "March", desktop: 237 }, - { month: "April", desktop: 73 }, - { month: "May", desktop: 209 }, - { month: "June", desktop: 214 }, -] - -const chartConfig = { - desktop: { - label: "Desktop", - color: "hsl(var(--chart-1))", - }, -} satisfies ChartConfig - -export default function Component() { - return ( - - - Area Chart - Linear - - Showing total visitors for the last 6 months - - - - - - - value.slice(0, 3)} - /> - } - /> - - - - - -
-
-
- Trending up by 5.2% this month -
-
- January - June 2024 -
-
-
-
-
- ) -} diff --git a/deprecated/www/__registry__/default/blocks/chart-area-stacked-expand.tsx b/deprecated/www/__registry__/default/blocks/chart-area-stacked-expand.tsx deleted file mode 100644 index ab66f89565..0000000000 --- a/deprecated/www/__registry__/default/blocks/chart-area-stacked-expand.tsx +++ /dev/null @@ -1,121 +0,0 @@ -"use client" - -import { TrendingUp } from "lucide-react" -import { Area, AreaChart, CartesianGrid, XAxis } from "recharts" - -import { - Card, - CardContent, - CardDescription, - CardFooter, - CardHeader, - CardTitle, -} from "@/registry/default/ui/card" -import { - ChartConfig, - ChartContainer, - ChartTooltip, - ChartTooltipContent, -} from "@/registry/default/ui/chart" - -export const description = "A stacked area chart with expand stacking" - -const chartData = [ - { month: "January", desktop: 186, mobile: 80, other: 45 }, - { month: "February", desktop: 305, mobile: 200, other: 100 }, - { month: "March", desktop: 237, mobile: 120, other: 150 }, - { month: "April", desktop: 73, mobile: 190, other: 50 }, - { month: "May", desktop: 209, mobile: 130, other: 100 }, - { month: "June", desktop: 214, mobile: 140, other: 160 }, -] - -const chartConfig = { - desktop: { - label: "Desktop", - color: "hsl(var(--chart-1))", - }, - mobile: { - label: "Mobile", - color: "hsl(var(--chart-2))", - }, - other: { - label: "Other", - color: "hsl(var(--chart-3))", - }, -} satisfies ChartConfig - -export default function Component() { - return ( - - - Area Chart - Stacked Expanded - - Showing total visitors for the last 6months - - - - - - - value.slice(0, 3)} - /> - } - /> - - - - - - - -
-
-
- Trending up by 5.2% this month -
-
- January - June 2024 -
-
-
-
-
- ) -} diff --git a/deprecated/www/__registry__/default/blocks/chart-area-stacked.tsx b/deprecated/www/__registry__/default/blocks/chart-area-stacked.tsx deleted file mode 100644 index 3820dd7a7b..0000000000 --- a/deprecated/www/__registry__/default/blocks/chart-area-stacked.tsx +++ /dev/null @@ -1,107 +0,0 @@ -"use client" - -import { TrendingUp } from "lucide-react" -import { Area, AreaChart, CartesianGrid, XAxis } from "recharts" - -import { - Card, - CardContent, - CardDescription, - CardFooter, - CardHeader, - CardTitle, -} from "@/registry/default/ui/card" -import { - ChartConfig, - ChartContainer, - ChartTooltip, - ChartTooltipContent, -} from "@/registry/default/ui/chart" - -export const description = "A stacked area chart" - -const chartData = [ - { month: "January", desktop: 186, mobile: 80 }, - { month: "February", desktop: 305, mobile: 200 }, - { month: "March", desktop: 237, mobile: 120 }, - { month: "April", desktop: 73, mobile: 190 }, - { month: "May", desktop: 209, mobile: 130 }, - { month: "June", desktop: 214, mobile: 140 }, -] - -const chartConfig = { - desktop: { - label: "Desktop", - color: "hsl(var(--chart-1))", - }, - mobile: { - label: "Mobile", - color: "hsl(var(--chart-2))", - }, -} satisfies ChartConfig - -export default function Component() { - return ( - - - Area Chart - Stacked - - Showing total visitors for the last 6 months - - - - - - - value.slice(0, 3)} - /> - } - /> - - - - - - -
-
-
- Trending up by 5.2% this month -
-
- January - June 2024 -
-
-
-
-
- ) -} diff --git a/deprecated/www/__registry__/default/blocks/chart-area-step.tsx b/deprecated/www/__registry__/default/blocks/chart-area-step.tsx deleted file mode 100644 index 4ca6623d26..0000000000 --- a/deprecated/www/__registry__/default/blocks/chart-area-step.tsx +++ /dev/null @@ -1,95 +0,0 @@ -"use client" - -import { Activity, TrendingUp } from "lucide-react" -import { Area, AreaChart, CartesianGrid, XAxis } from "recharts" - -import { - Card, - CardContent, - CardDescription, - CardFooter, - CardHeader, - CardTitle, -} from "@/registry/default/ui/card" -import { - ChartConfig, - ChartContainer, - ChartTooltip, - ChartTooltipContent, -} from "@/registry/default/ui/chart" - -export const description = "A step area chart" - -const chartData = [ - { month: "January", desktop: 186 }, - { month: "February", desktop: 305 }, - { month: "March", desktop: 237 }, - { month: "April", desktop: 73 }, - { month: "May", desktop: 209 }, - { month: "June", desktop: 214 }, -] - -const chartConfig = { - desktop: { - label: "Desktop", - color: "hsl(var(--chart-1))", - icon: Activity, - }, -} satisfies ChartConfig - -export default function Component() { - return ( - - - Area Chart - Step - - Showing total visitors for the last 6 months - - - - - - - value.slice(0, 3)} - /> - } - /> - - - - - -
-
-
- Trending up by 5.2% this month -
-
- January - June 2024 -
-
-
-
-
- ) -} diff --git a/deprecated/www/__registry__/default/blocks/chart-bar-active.tsx b/deprecated/www/__registry__/default/blocks/chart-bar-active.tsx deleted file mode 100644 index f1be5c7718..0000000000 --- a/deprecated/www/__registry__/default/blocks/chart-bar-active.tsx +++ /dev/null @@ -1,111 +0,0 @@ -"use client" - -import { TrendingUp } from "lucide-react" -import { Bar, BarChart, CartesianGrid, Rectangle, XAxis } from "recharts" - -import { - Card, - CardContent, - CardDescription, - CardFooter, - CardHeader, - CardTitle, -} from "@/registry/default/ui/card" -import { - ChartConfig, - ChartContainer, - ChartTooltip, - ChartTooltipContent, -} from "@/registry/default/ui/chart" - -export const description = "A bar chart with an active bar" - -const chartData = [ - { browser: "chrome", visitors: 187, fill: "var(--color-chrome)" }, - { browser: "safari", visitors: 200, fill: "var(--color-safari)" }, - { browser: "firefox", visitors: 275, fill: "var(--color-firefox)" }, - { browser: "edge", visitors: 173, fill: "var(--color-edge)" }, - { browser: "other", visitors: 90, fill: "var(--color-other)" }, -] - -const chartConfig = { - visitors: { - label: "Visitors", - }, - chrome: { - label: "Chrome", - color: "hsl(var(--chart-1))", - }, - safari: { - label: "Safari", - color: "hsl(var(--chart-2))", - }, - firefox: { - label: "Firefox", - color: "hsl(var(--chart-3))", - }, - edge: { - label: "Edge", - color: "hsl(var(--chart-4))", - }, - other: { - label: "Other", - color: "hsl(var(--chart-5))", - }, -} satisfies ChartConfig - -export default function Component() { - return ( - - - Bar Chart - Active - January - June 2024 - - - - - - - chartConfig[value as keyof typeof chartConfig]?.label - } - /> - } - /> - { - return ( - - ) - }} - /> - - - - -
- Trending up by 5.2% this month -
-
- Showing total visitors for the last 6 months -
-
-
- ) -} diff --git a/deprecated/www/__registry__/default/blocks/chart-bar-default.tsx b/deprecated/www/__registry__/default/blocks/chart-bar-default.tsx deleted file mode 100644 index 9fc5f15a15..0000000000 --- a/deprecated/www/__registry__/default/blocks/chart-bar-default.tsx +++ /dev/null @@ -1,75 +0,0 @@ -"use client" - -import { TrendingUp } from "lucide-react" -import { Bar, BarChart, CartesianGrid, XAxis } from "recharts" - -import { - Card, - CardContent, - CardDescription, - CardFooter, - CardHeader, - CardTitle, -} from "@/registry/default/ui/card" -import { - ChartConfig, - ChartContainer, - ChartTooltip, - ChartTooltipContent, -} from "@/registry/default/ui/chart" - -export const description = "A bar chart" - -const chartData = [ - { month: "January", desktop: 186 }, - { month: "February", desktop: 305 }, - { month: "March", desktop: 237 }, - { month: "April", desktop: 73 }, - { month: "May", desktop: 209 }, - { month: "June", desktop: 214 }, -] - -const chartConfig = { - desktop: { - label: "Desktop", - color: "hsl(var(--chart-1))", - }, -} satisfies ChartConfig - -export default function Component() { - return ( - - - Bar Chart - January - June 2024 - - - - - - value.slice(0, 3)} - /> - } - /> - - - - - -
- Trending up by 5.2% this month -
-
- Showing total visitors for the last 6 months -
-
-
- ) -} diff --git a/deprecated/www/__registry__/default/blocks/chart-bar-horizontal.tsx b/deprecated/www/__registry__/default/blocks/chart-bar-horizontal.tsx deleted file mode 100644 index ac74114cee..0000000000 --- a/deprecated/www/__registry__/default/blocks/chart-bar-horizontal.tsx +++ /dev/null @@ -1,83 +0,0 @@ -"use client" - -import { TrendingUp } from "lucide-react" -import { Bar, BarChart, XAxis, YAxis } from "recharts" - -import { - Card, - CardContent, - CardDescription, - CardFooter, - CardHeader, - CardTitle, -} from "@/registry/default/ui/card" -import { - ChartConfig, - ChartContainer, - ChartTooltip, - ChartTooltipContent, -} from "@/registry/default/ui/chart" - -export const description = "A horizontal bar chart" - -const chartData = [ - { month: "January", desktop: 186 }, - { month: "February", desktop: 305 }, - { month: "March", desktop: 237 }, - { month: "April", desktop: 73 }, - { month: "May", desktop: 209 }, - { month: "June", desktop: 214 }, -] - -const chartConfig = { - desktop: { - label: "Desktop", - color: "hsl(var(--chart-1))", - }, -} satisfies ChartConfig - -export default function Component() { - return ( - - - Bar Chart - Horizontal - January - June 2024 - - - - - - value.slice(0, 3)} - /> - } - /> - - - - - -
- Trending up by 5.2% this month -
-
- Showing total visitors for the last 6 months -
-
-
- ) -} diff --git a/deprecated/www/__registry__/default/blocks/chart-bar-interactive.tsx b/deprecated/www/__registry__/default/blocks/chart-bar-interactive.tsx deleted file mode 100644 index 84bcc6a28c..0000000000 --- a/deprecated/www/__registry__/default/blocks/chart-bar-interactive.tsx +++ /dev/null @@ -1,221 +0,0 @@ -"use client" - -import * as React from "react" -import { Bar, BarChart, CartesianGrid, XAxis } from "recharts" - -import { - Card, - CardContent, - CardDescription, - CardHeader, - CardTitle, -} from "@/registry/default/ui/card" -import { - ChartConfig, - ChartContainer, - ChartTooltip, - ChartTooltipContent, -} from "@/registry/default/ui/chart" - -export const description = "An interactive bar chart" - -const chartData = [ - { date: "2024-04-01", desktop: 222, mobile: 150 }, - { date: "2024-04-02", desktop: 97, mobile: 180 }, - { date: "2024-04-03", desktop: 167, mobile: 120 }, - { date: "2024-04-04", desktop: 242, mobile: 260 }, - { date: "2024-04-05", desktop: 373, mobile: 290 }, - { date: "2024-04-06", desktop: 301, mobile: 340 }, - { date: "2024-04-07", desktop: 245, mobile: 180 }, - { date: "2024-04-08", desktop: 409, mobile: 320 }, - { date: "2024-04-09", desktop: 59, mobile: 110 }, - { date: "2024-04-10", desktop: 261, mobile: 190 }, - { date: "2024-04-11", desktop: 327, mobile: 350 }, - { date: "2024-04-12", desktop: 292, mobile: 210 }, - { date: "2024-04-13", desktop: 342, mobile: 380 }, - { date: "2024-04-14", desktop: 137, mobile: 220 }, - { date: "2024-04-15", desktop: 120, mobile: 170 }, - { date: "2024-04-16", desktop: 138, mobile: 190 }, - { date: "2024-04-17", desktop: 446, mobile: 360 }, - { date: "2024-04-18", desktop: 364, mobile: 410 }, - { date: "2024-04-19", desktop: 243, mobile: 180 }, - { date: "2024-04-20", desktop: 89, mobile: 150 }, - { date: "2024-04-21", desktop: 137, mobile: 200 }, - { date: "2024-04-22", desktop: 224, mobile: 170 }, - { date: "2024-04-23", desktop: 138, mobile: 230 }, - { date: "2024-04-24", desktop: 387, mobile: 290 }, - { date: "2024-04-25", desktop: 215, mobile: 250 }, - { date: "2024-04-26", desktop: 75, mobile: 130 }, - { date: "2024-04-27", desktop: 383, mobile: 420 }, - { date: "2024-04-28", desktop: 122, mobile: 180 }, - { date: "2024-04-29", desktop: 315, mobile: 240 }, - { date: "2024-04-30", desktop: 454, mobile: 380 }, - { date: "2024-05-01", desktop: 165, mobile: 220 }, - { date: "2024-05-02", desktop: 293, mobile: 310 }, - { date: "2024-05-03", desktop: 247, mobile: 190 }, - { date: "2024-05-04", desktop: 385, mobile: 420 }, - { date: "2024-05-05", desktop: 481, mobile: 390 }, - { date: "2024-05-06", desktop: 498, mobile: 520 }, - { date: "2024-05-07", desktop: 388, mobile: 300 }, - { date: "2024-05-08", desktop: 149, mobile: 210 }, - { date: "2024-05-09", desktop: 227, mobile: 180 }, - { date: "2024-05-10", desktop: 293, mobile: 330 }, - { date: "2024-05-11", desktop: 335, mobile: 270 }, - { date: "2024-05-12", desktop: 197, mobile: 240 }, - { date: "2024-05-13", desktop: 197, mobile: 160 }, - { date: "2024-05-14", desktop: 448, mobile: 490 }, - { date: "2024-05-15", desktop: 473, mobile: 380 }, - { date: "2024-05-16", desktop: 338, mobile: 400 }, - { date: "2024-05-17", desktop: 499, mobile: 420 }, - { date: "2024-05-18", desktop: 315, mobile: 350 }, - { date: "2024-05-19", desktop: 235, mobile: 180 }, - { date: "2024-05-20", desktop: 177, mobile: 230 }, - { date: "2024-05-21", desktop: 82, mobile: 140 }, - { date: "2024-05-22", desktop: 81, mobile: 120 }, - { date: "2024-05-23", desktop: 252, mobile: 290 }, - { date: "2024-05-24", desktop: 294, mobile: 220 }, - { date: "2024-05-25", desktop: 201, mobile: 250 }, - { date: "2024-05-26", desktop: 213, mobile: 170 }, - { date: "2024-05-27", desktop: 420, mobile: 460 }, - { date: "2024-05-28", desktop: 233, mobile: 190 }, - { date: "2024-05-29", desktop: 78, mobile: 130 }, - { date: "2024-05-30", desktop: 340, mobile: 280 }, - { date: "2024-05-31", desktop: 178, mobile: 230 }, - { date: "2024-06-01", desktop: 178, mobile: 200 }, - { date: "2024-06-02", desktop: 470, mobile: 410 }, - { date: "2024-06-03", desktop: 103, mobile: 160 }, - { date: "2024-06-04", desktop: 439, mobile: 380 }, - { date: "2024-06-05", desktop: 88, mobile: 140 }, - { date: "2024-06-06", desktop: 294, mobile: 250 }, - { date: "2024-06-07", desktop: 323, mobile: 370 }, - { date: "2024-06-08", desktop: 385, mobile: 320 }, - { date: "2024-06-09", desktop: 438, mobile: 480 }, - { date: "2024-06-10", desktop: 155, mobile: 200 }, - { date: "2024-06-11", desktop: 92, mobile: 150 }, - { date: "2024-06-12", desktop: 492, mobile: 420 }, - { date: "2024-06-13", desktop: 81, mobile: 130 }, - { date: "2024-06-14", desktop: 426, mobile: 380 }, - { date: "2024-06-15", desktop: 307, mobile: 350 }, - { date: "2024-06-16", desktop: 371, mobile: 310 }, - { date: "2024-06-17", desktop: 475, mobile: 520 }, - { date: "2024-06-18", desktop: 107, mobile: 170 }, - { date: "2024-06-19", desktop: 341, mobile: 290 }, - { date: "2024-06-20", desktop: 408, mobile: 450 }, - { date: "2024-06-21", desktop: 169, mobile: 210 }, - { date: "2024-06-22", desktop: 317, mobile: 270 }, - { date: "2024-06-23", desktop: 480, mobile: 530 }, - { date: "2024-06-24", desktop: 132, mobile: 180 }, - { date: "2024-06-25", desktop: 141, mobile: 190 }, - { date: "2024-06-26", desktop: 434, mobile: 380 }, - { date: "2024-06-27", desktop: 448, mobile: 490 }, - { date: "2024-06-28", desktop: 149, mobile: 200 }, - { date: "2024-06-29", desktop: 103, mobile: 160 }, - { date: "2024-06-30", desktop: 446, mobile: 400 }, -] - -const chartConfig = { - views: { - label: "Page Views", - }, - desktop: { - label: "Desktop", - color: "hsl(var(--chart-1))", - }, - mobile: { - label: "Mobile", - color: "hsl(var(--chart-2))", - }, -} satisfies ChartConfig - -export default function Component() { - const [activeChart, setActiveChart] = - React.useState("desktop") - - const total = React.useMemo( - () => ({ - desktop: chartData.reduce((acc, curr) => acc + curr.desktop, 0), - mobile: chartData.reduce((acc, curr) => acc + curr.mobile, 0), - }), - [] - ) - - return ( - - -
- Bar Chart - Interactive - - Showing total visitors for the last 3 months - -
-
- {["desktop", "mobile"].map((key) => { - const chart = key as keyof typeof chartConfig - return ( - - ) - })} -
-
- - - - - { - const date = new Date(value) - return date.toLocaleDateString("en-US", { - month: "short", - day: "numeric", - }) - }} - /> - { - return new Date(value).toLocaleDateString("en-US", { - month: "short", - day: "numeric", - year: "numeric", - }) - }} - /> - } - /> - - - - -
- ) -} diff --git a/deprecated/www/__registry__/default/blocks/chart-bar-label-custom.tsx b/deprecated/www/__registry__/default/blocks/chart-bar-label-custom.tsx deleted file mode 100644 index bd16655bc7..0000000000 --- a/deprecated/www/__registry__/default/blocks/chart-bar-label-custom.tsx +++ /dev/null @@ -1,112 +0,0 @@ -"use client" - -import { TrendingUp } from "lucide-react" -import { Bar, BarChart, CartesianGrid, LabelList, XAxis, YAxis } from "recharts" - -import { - Card, - CardContent, - CardDescription, - CardFooter, - CardHeader, - CardTitle, -} from "@/registry/default/ui/card" -import { - ChartConfig, - ChartContainer, - ChartTooltip, - ChartTooltipContent, -} from "@/registry/default/ui/chart" - -export const description = "A bar chart with a custom label" - -const chartData = [ - { month: "January", desktop: 186, mobile: 80 }, - { month: "February", desktop: 305, mobile: 200 }, - { month: "March", desktop: 237, mobile: 120 }, - { month: "April", desktop: 73, mobile: 190 }, - { month: "May", desktop: 209, mobile: 130 }, - { month: "June", desktop: 214, mobile: 140 }, -] - -const chartConfig = { - desktop: { - label: "Desktop", - color: "hsl(var(--chart-1))", - }, - mobile: { - label: "Mobile", - color: "hsl(var(--chart-2))", - }, - label: { - color: "hsl(var(--background))", - }, -} satisfies ChartConfig - -export default function Component() { - return ( - - - Bar Chart - Custom Label - January - June 2024 - - - - - - value.slice(0, 3)} - hide - /> - - } - /> - - - - - - - - -
- Trending up by 5.2% this month -
-
- Showing total visitors for the last 6 months -
-
-
- ) -} diff --git a/deprecated/www/__registry__/default/blocks/chart-bar-label.tsx b/deprecated/www/__registry__/default/blocks/chart-bar-label.tsx deleted file mode 100644 index c7ebea70e0..0000000000 --- a/deprecated/www/__registry__/default/blocks/chart-bar-label.tsx +++ /dev/null @@ -1,88 +0,0 @@ -"use client" - -import { TrendingUp } from "lucide-react" -import { Bar, BarChart, CartesianGrid, LabelList, XAxis } from "recharts" - -import { - Card, - CardContent, - CardDescription, - CardFooter, - CardHeader, - CardTitle, -} from "@/registry/default/ui/card" -import { - ChartConfig, - ChartContainer, - ChartTooltip, - ChartTooltipContent, -} from "@/registry/default/ui/chart" - -export const description = "A bar chart with a label" - -const chartData = [ - { month: "January", desktop: 186 }, - { month: "February", desktop: 305 }, - { month: "March", desktop: 237 }, - { month: "April", desktop: 73 }, - { month: "May", desktop: 209 }, - { month: "June", desktop: 214 }, -] - -const chartConfig = { - desktop: { - label: "Desktop", - color: "hsl(var(--chart-1))", - }, -} satisfies ChartConfig - -export default function Component() { - return ( - - - Bar Chart - Label - January - June 2024 - - - - - - value.slice(0, 3)} - /> - } - /> - - - - - - - -
- Trending up by 5.2% this month -
-
- Showing total visitors for the last 6 months -
-
-
- ) -} diff --git a/deprecated/www/__registry__/default/blocks/chart-bar-mixed.tsx b/deprecated/www/__registry__/default/blocks/chart-bar-mixed.tsx deleted file mode 100644 index fa3beea6fc..0000000000 --- a/deprecated/www/__registry__/default/blocks/chart-bar-mixed.tsx +++ /dev/null @@ -1,103 +0,0 @@ -"use client" - -import { TrendingUp } from "lucide-react" -import { Bar, BarChart, XAxis, YAxis } from "recharts" - -import { - Card, - CardContent, - CardDescription, - CardFooter, - CardHeader, - CardTitle, -} from "@/registry/default/ui/card" -import { - ChartConfig, - ChartContainer, - ChartTooltip, - ChartTooltipContent, -} from "@/registry/default/ui/chart" - -export const description = "A mixed bar chart" - -const chartData = [ - { browser: "chrome", visitors: 275, fill: "var(--color-chrome)" }, - { browser: "safari", visitors: 200, fill: "var(--color-safari)" }, - { browser: "firefox", visitors: 187, fill: "var(--color-firefox)" }, - { browser: "edge", visitors: 173, fill: "var(--color-edge)" }, - { browser: "other", visitors: 90, fill: "var(--color-other)" }, -] - -const chartConfig = { - visitors: { - label: "Visitors", - }, - chrome: { - label: "Chrome", - color: "hsl(var(--chart-1))", - }, - safari: { - label: "Safari", - color: "hsl(var(--chart-2))", - }, - firefox: { - label: "Firefox", - color: "hsl(var(--chart-3))", - }, - edge: { - label: "Edge", - color: "hsl(var(--chart-4))", - }, - other: { - label: "Other", - color: "hsl(var(--chart-5))", - }, -} satisfies ChartConfig - -export default function Component() { - return ( - - - Bar Chart - Mixed - January - June 2024 - - - - - - chartConfig[value as keyof typeof chartConfig]?.label - } - /> - - } - /> - - - - - -
- Trending up by 5.2% this month -
-
- Showing total visitors for the last 6 months -
-
-
- ) -} diff --git a/deprecated/www/__registry__/default/blocks/chart-bar-multiple.tsx b/deprecated/www/__registry__/default/blocks/chart-bar-multiple.tsx deleted file mode 100644 index 39b80fa76f..0000000000 --- a/deprecated/www/__registry__/default/blocks/chart-bar-multiple.tsx +++ /dev/null @@ -1,80 +0,0 @@ -"use client" - -import { TrendingUp } from "lucide-react" -import { Bar, BarChart, CartesianGrid, XAxis } from "recharts" - -import { - Card, - CardContent, - CardDescription, - CardFooter, - CardHeader, - CardTitle, -} from "@/registry/default/ui/card" -import { - ChartConfig, - ChartContainer, - ChartTooltip, - ChartTooltipContent, -} from "@/registry/default/ui/chart" - -export const description = "A multiple bar chart" - -const chartData = [ - { month: "January", desktop: 186, mobile: 80 }, - { month: "February", desktop: 305, mobile: 200 }, - { month: "March", desktop: 237, mobile: 120 }, - { month: "April", desktop: 73, mobile: 190 }, - { month: "May", desktop: 209, mobile: 130 }, - { month: "June", desktop: 214, mobile: 140 }, -] - -const chartConfig = { - desktop: { - label: "Desktop", - color: "hsl(var(--chart-1))", - }, - mobile: { - label: "Mobile", - color: "hsl(var(--chart-2))", - }, -} satisfies ChartConfig - -export default function Component() { - return ( - - - Bar Chart - Multiple - January - June 2024 - - - - - - value.slice(0, 3)} - /> - } - /> - - - - - - -
- Trending up by 5.2% this month -
-
- Showing total visitors for the last 6 months -
-
-
- ) -} diff --git a/deprecated/www/__registry__/default/blocks/chart-bar-negative.tsx b/deprecated/www/__registry__/default/blocks/chart-bar-negative.tsx deleted file mode 100644 index f9e3b3e360..0000000000 --- a/deprecated/www/__registry__/default/blocks/chart-bar-negative.tsx +++ /dev/null @@ -1,79 +0,0 @@ -"use client" - -import { TrendingUp } from "lucide-react" -import { Bar, BarChart, CartesianGrid, Cell, LabelList } from "recharts" - -import { - Card, - CardContent, - CardDescription, - CardFooter, - CardHeader, - CardTitle, -} from "@/registry/default/ui/card" -import { - ChartConfig, - ChartContainer, - ChartTooltip, - ChartTooltipContent, -} from "@/registry/default/ui/chart" - -export const description = "A bar chart with negative values" - -const chartData = [ - { month: "January", visitors: 186 }, - { month: "February", visitors: 205 }, - { month: "March", visitors: -207 }, - { month: "April", visitors: 173 }, - { month: "May", visitors: -209 }, - { month: "June", visitors: 214 }, -] - -const chartConfig = { - visitors: { - label: "Visitors", - }, -} satisfies ChartConfig - -export default function Component() { - return ( - - - Bar Chart - Negative - January - June 2024 - - - - - - } - /> - - - {chartData.map((item) => ( - 0 - ? "hsl(var(--chart-1))" - : "hsl(var(--chart-2))" - } - /> - ))} - - - - - -
- Trending up by 5.2% this month -
-
- Showing total visitors for the last 6 months -
-
-
- ) -} diff --git a/deprecated/www/__registry__/default/blocks/chart-bar-stacked.tsx b/deprecated/www/__registry__/default/blocks/chart-bar-stacked.tsx deleted file mode 100644 index 211bfe6aef..0000000000 --- a/deprecated/www/__registry__/default/blocks/chart-bar-stacked.tsx +++ /dev/null @@ -1,90 +0,0 @@ -"use client" - -import { TrendingUp } from "lucide-react" -import { Bar, BarChart, CartesianGrid, XAxis } from "recharts" - -import { - Card, - CardContent, - CardDescription, - CardFooter, - CardHeader, - CardTitle, -} from "@/registry/default/ui/card" -import { - ChartConfig, - ChartContainer, - ChartLegend, - ChartLegendContent, - ChartTooltip, - ChartTooltipContent, -} from "@/registry/default/ui/chart" - -export const description = "A stacked bar chart with a legend" - -const chartData = [ - { month: "January", desktop: 186, mobile: 80 }, - { month: "February", desktop: 305, mobile: 200 }, - { month: "March", desktop: 237, mobile: 120 }, - { month: "April", desktop: 73, mobile: 190 }, - { month: "May", desktop: 209, mobile: 130 }, - { month: "June", desktop: 214, mobile: 140 }, -] - -const chartConfig = { - desktop: { - label: "Desktop", - color: "hsl(var(--chart-1))", - }, - mobile: { - label: "Mobile", - color: "hsl(var(--chart-2))", - }, -} satisfies ChartConfig - -export default function Component() { - return ( - - - Bar Chart - Stacked + Legend - January - June 2024 - - - - - - value.slice(0, 3)} - /> - } /> - } /> - - - - - - -
- Trending up by 5.2% this month -
-
- Showing total visitors for the last 6 months -
-
-
- ) -} diff --git a/deprecated/www/__registry__/default/blocks/chart-line-default.tsx b/deprecated/www/__registry__/default/blocks/chart-line-default.tsx deleted file mode 100644 index 24972697fc..0000000000 --- a/deprecated/www/__registry__/default/blocks/chart-line-default.tsx +++ /dev/null @@ -1,88 +0,0 @@ -"use client" - -import { TrendingUp } from "lucide-react" -import { CartesianGrid, Line, LineChart, XAxis } from "recharts" - -import { - Card, - CardContent, - CardDescription, - CardFooter, - CardHeader, - CardTitle, -} from "@/registry/default/ui/card" -import { - ChartConfig, - ChartContainer, - ChartTooltip, - ChartTooltipContent, -} from "@/registry/default/ui/chart" - -export const description = "A line chart" - -const chartData = [ - { month: "January", desktop: 186 }, - { month: "February", desktop: 305 }, - { month: "March", desktop: 237 }, - { month: "April", desktop: 73 }, - { month: "May", desktop: 209 }, - { month: "June", desktop: 214 }, -] - -const chartConfig = { - desktop: { - label: "Desktop", - color: "hsl(var(--chart-1))", - }, -} satisfies ChartConfig - -export default function Component() { - return ( - - - Line Chart - January - June 2024 - - - - - - value.slice(0, 3)} - /> - } - /> - - - - - -
- Trending up by 5.2% this month -
-
- Showing total visitors for the last 6 months -
-
-
- ) -} diff --git a/deprecated/www/__registry__/default/blocks/chart-line-dots-colors.tsx b/deprecated/www/__registry__/default/blocks/chart-line-dots-colors.tsx deleted file mode 100644 index e568ddd990..0000000000 --- a/deprecated/www/__registry__/default/blocks/chart-line-dots-colors.tsx +++ /dev/null @@ -1,118 +0,0 @@ -"use client" - -import { TrendingUp } from "lucide-react" -import { CartesianGrid, Dot, Line, LineChart } from "recharts" - -import { - Card, - CardContent, - CardDescription, - CardFooter, - CardHeader, - CardTitle, -} from "@/registry/default/ui/card" -import { - ChartConfig, - ChartContainer, - ChartTooltip, - ChartTooltipContent, -} from "@/registry/default/ui/chart" - -export const description = "A line chart with dots and colors" - -const chartData = [ - { browser: "chrome", visitors: 275, fill: "var(--color-chrome)" }, - { browser: "safari", visitors: 200, fill: "var(--color-safari)" }, - { browser: "firefox", visitors: 187, fill: "var(--color-firefox)" }, - { browser: "edge", visitors: 173, fill: "var(--color-edge)" }, - { browser: "other", visitors: 90, fill: "var(--color-other)" }, -] - -const chartConfig = { - visitors: { - label: "Visitors", - color: "hsl(var(--chart-2))", - }, - chrome: { - label: "Chrome", - color: "hsl(var(--chart-1))", - }, - safari: { - label: "Safari", - color: "hsl(var(--chart-2))", - }, - firefox: { - label: "Firefox", - color: "hsl(var(--chart-3))", - }, - edge: { - label: "Edge", - color: "hsl(var(--chart-4))", - }, - other: { - label: "Other", - color: "hsl(var(--chart-5))", - }, -} satisfies ChartConfig - -export default function Component() { - return ( - - - Line Chart - Dots Colors - January - June 2024 - - - - - - - } - /> - { - return ( - - ) - }} - /> - - - - -
- Trending up by 5.2% this month -
-
- Showing total visitors for the last 6 months -
-
-
- ) -} diff --git a/deprecated/www/__registry__/default/blocks/chart-line-dots-custom.tsx b/deprecated/www/__registry__/default/blocks/chart-line-dots-custom.tsx deleted file mode 100644 index 4eae4da575..0000000000 --- a/deprecated/www/__registry__/default/blocks/chart-line-dots-custom.tsx +++ /dev/null @@ -1,105 +0,0 @@ -"use client" - -import { GitCommitVertical, TrendingUp } from "lucide-react" -import { CartesianGrid, Line, LineChart, XAxis } from "recharts" - -import { - Card, - CardContent, - CardDescription, - CardFooter, - CardHeader, - CardTitle, -} from "@/registry/default/ui/card" -import { - ChartConfig, - ChartContainer, - ChartTooltip, - ChartTooltipContent, -} from "@/registry/default/ui/chart" - -export const description = "A line chart with custom dots" - -const chartData = [ - { month: "January", desktop: 186, mobile: 80 }, - { month: "February", desktop: 305, mobile: 200 }, - { month: "March", desktop: 237, mobile: 120 }, - { month: "April", desktop: 73, mobile: 190 }, - { month: "May", desktop: 209, mobile: 130 }, - { month: "June", desktop: 214, mobile: 140 }, -] - -const chartConfig = { - desktop: { - label: "Desktop", - color: "hsl(var(--chart-1))", - }, - mobile: { - label: "Mobile", - color: "hsl(var(--chart-2))", - }, -} satisfies ChartConfig - -export default function Component() { - return ( - - - Line Chart - Custom Dots - January - June 2024 - - - - - - value.slice(0, 3)} - /> - } - /> - { - const r = 24 - return ( - - ) - }} - /> - - - - -
- Trending up by 5.2% this month -
-
- Showing total visitors for the last 6 months -
-
-
- ) -} diff --git a/deprecated/www/__registry__/default/blocks/chart-line-dots.tsx b/deprecated/www/__registry__/default/blocks/chart-line-dots.tsx deleted file mode 100644 index d52f09148e..0000000000 --- a/deprecated/www/__registry__/default/blocks/chart-line-dots.tsx +++ /dev/null @@ -1,97 +0,0 @@ -"use client" - -import { TrendingUp } from "lucide-react" -import { CartesianGrid, Line, LineChart, XAxis } from "recharts" - -import { - Card, - CardContent, - CardDescription, - CardFooter, - CardHeader, - CardTitle, -} from "@/registry/default/ui/card" -import { - ChartConfig, - ChartContainer, - ChartTooltip, - ChartTooltipContent, -} from "@/registry/default/ui/chart" - -export const description = "A line chart with dots" - -const chartData = [ - { month: "January", desktop: 186, mobile: 80 }, - { month: "February", desktop: 305, mobile: 200 }, - { month: "March", desktop: 237, mobile: 120 }, - { month: "April", desktop: 73, mobile: 190 }, - { month: "May", desktop: 209, mobile: 130 }, - { month: "June", desktop: 214, mobile: 140 }, -] - -const chartConfig = { - desktop: { - label: "Desktop", - color: "hsl(var(--chart-1))", - }, - mobile: { - label: "Mobile", - color: "hsl(var(--chart-2))", - }, -} satisfies ChartConfig - -export default function Component() { - return ( - - - Line Chart - Dots - January - June 2024 - - - - - - value.slice(0, 3)} - /> - } - /> - - - - - -
- Trending up by 5.2% this month -
-
- Showing total visitors for the last 6 months -
-
-
- ) -} diff --git a/deprecated/www/__registry__/default/blocks/chart-line-interactive.tsx b/deprecated/www/__registry__/default/blocks/chart-line-interactive.tsx deleted file mode 100644 index 6f61820071..0000000000 --- a/deprecated/www/__registry__/default/blocks/chart-line-interactive.tsx +++ /dev/null @@ -1,227 +0,0 @@ -"use client" - -import * as React from "react" -import { CartesianGrid, Line, LineChart, XAxis } from "recharts" - -import { - Card, - CardContent, - CardDescription, - CardHeader, - CardTitle, -} from "@/registry/default/ui/card" -import { - ChartConfig, - ChartContainer, - ChartTooltip, - ChartTooltipContent, -} from "@/registry/default/ui/chart" - -export const description = "An interactive line chart" - -const chartData = [ - { date: "2024-04-01", desktop: 222, mobile: 150 }, - { date: "2024-04-02", desktop: 97, mobile: 180 }, - { date: "2024-04-03", desktop: 167, mobile: 120 }, - { date: "2024-04-04", desktop: 242, mobile: 260 }, - { date: "2024-04-05", desktop: 373, mobile: 290 }, - { date: "2024-04-06", desktop: 301, mobile: 340 }, - { date: "2024-04-07", desktop: 245, mobile: 180 }, - { date: "2024-04-08", desktop: 409, mobile: 320 }, - { date: "2024-04-09", desktop: 59, mobile: 110 }, - { date: "2024-04-10", desktop: 261, mobile: 190 }, - { date: "2024-04-11", desktop: 327, mobile: 350 }, - { date: "2024-04-12", desktop: 292, mobile: 210 }, - { date: "2024-04-13", desktop: 342, mobile: 380 }, - { date: "2024-04-14", desktop: 137, mobile: 220 }, - { date: "2024-04-15", desktop: 120, mobile: 170 }, - { date: "2024-04-16", desktop: 138, mobile: 190 }, - { date: "2024-04-17", desktop: 446, mobile: 360 }, - { date: "2024-04-18", desktop: 364, mobile: 410 }, - { date: "2024-04-19", desktop: 243, mobile: 180 }, - { date: "2024-04-20", desktop: 89, mobile: 150 }, - { date: "2024-04-21", desktop: 137, mobile: 200 }, - { date: "2024-04-22", desktop: 224, mobile: 170 }, - { date: "2024-04-23", desktop: 138, mobile: 230 }, - { date: "2024-04-24", desktop: 387, mobile: 290 }, - { date: "2024-04-25", desktop: 215, mobile: 250 }, - { date: "2024-04-26", desktop: 75, mobile: 130 }, - { date: "2024-04-27", desktop: 383, mobile: 420 }, - { date: "2024-04-28", desktop: 122, mobile: 180 }, - { date: "2024-04-29", desktop: 315, mobile: 240 }, - { date: "2024-04-30", desktop: 454, mobile: 380 }, - { date: "2024-05-01", desktop: 165, mobile: 220 }, - { date: "2024-05-02", desktop: 293, mobile: 310 }, - { date: "2024-05-03", desktop: 247, mobile: 190 }, - { date: "2024-05-04", desktop: 385, mobile: 420 }, - { date: "2024-05-05", desktop: 481, mobile: 390 }, - { date: "2024-05-06", desktop: 498, mobile: 520 }, - { date: "2024-05-07", desktop: 388, mobile: 300 }, - { date: "2024-05-08", desktop: 149, mobile: 210 }, - { date: "2024-05-09", desktop: 227, mobile: 180 }, - { date: "2024-05-10", desktop: 293, mobile: 330 }, - { date: "2024-05-11", desktop: 335, mobile: 270 }, - { date: "2024-05-12", desktop: 197, mobile: 240 }, - { date: "2024-05-13", desktop: 197, mobile: 160 }, - { date: "2024-05-14", desktop: 448, mobile: 490 }, - { date: "2024-05-15", desktop: 473, mobile: 380 }, - { date: "2024-05-16", desktop: 338, mobile: 400 }, - { date: "2024-05-17", desktop: 499, mobile: 420 }, - { date: "2024-05-18", desktop: 315, mobile: 350 }, - { date: "2024-05-19", desktop: 235, mobile: 180 }, - { date: "2024-05-20", desktop: 177, mobile: 230 }, - { date: "2024-05-21", desktop: 82, mobile: 140 }, - { date: "2024-05-22", desktop: 81, mobile: 120 }, - { date: "2024-05-23", desktop: 252, mobile: 290 }, - { date: "2024-05-24", desktop: 294, mobile: 220 }, - { date: "2024-05-25", desktop: 201, mobile: 250 }, - { date: "2024-05-26", desktop: 213, mobile: 170 }, - { date: "2024-05-27", desktop: 420, mobile: 460 }, - { date: "2024-05-28", desktop: 233, mobile: 190 }, - { date: "2024-05-29", desktop: 78, mobile: 130 }, - { date: "2024-05-30", desktop: 340, mobile: 280 }, - { date: "2024-05-31", desktop: 178, mobile: 230 }, - { date: "2024-06-01", desktop: 178, mobile: 200 }, - { date: "2024-06-02", desktop: 470, mobile: 410 }, - { date: "2024-06-03", desktop: 103, mobile: 160 }, - { date: "2024-06-04", desktop: 439, mobile: 380 }, - { date: "2024-06-05", desktop: 88, mobile: 140 }, - { date: "2024-06-06", desktop: 294, mobile: 250 }, - { date: "2024-06-07", desktop: 323, mobile: 370 }, - { date: "2024-06-08", desktop: 385, mobile: 320 }, - { date: "2024-06-09", desktop: 438, mobile: 480 }, - { date: "2024-06-10", desktop: 155, mobile: 200 }, - { date: "2024-06-11", desktop: 92, mobile: 150 }, - { date: "2024-06-12", desktop: 492, mobile: 420 }, - { date: "2024-06-13", desktop: 81, mobile: 130 }, - { date: "2024-06-14", desktop: 426, mobile: 380 }, - { date: "2024-06-15", desktop: 307, mobile: 350 }, - { date: "2024-06-16", desktop: 371, mobile: 310 }, - { date: "2024-06-17", desktop: 475, mobile: 520 }, - { date: "2024-06-18", desktop: 107, mobile: 170 }, - { date: "2024-06-19", desktop: 341, mobile: 290 }, - { date: "2024-06-20", desktop: 408, mobile: 450 }, - { date: "2024-06-21", desktop: 169, mobile: 210 }, - { date: "2024-06-22", desktop: 317, mobile: 270 }, - { date: "2024-06-23", desktop: 480, mobile: 530 }, - { date: "2024-06-24", desktop: 132, mobile: 180 }, - { date: "2024-06-25", desktop: 141, mobile: 190 }, - { date: "2024-06-26", desktop: 434, mobile: 380 }, - { date: "2024-06-27", desktop: 448, mobile: 490 }, - { date: "2024-06-28", desktop: 149, mobile: 200 }, - { date: "2024-06-29", desktop: 103, mobile: 160 }, - { date: "2024-06-30", desktop: 446, mobile: 400 }, -] - -const chartConfig = { - views: { - label: "Page Views", - }, - desktop: { - label: "Desktop", - color: "hsl(var(--chart-1))", - }, - mobile: { - label: "Mobile", - color: "hsl(var(--chart-2))", - }, -} satisfies ChartConfig - -export default function Component() { - const [activeChart, setActiveChart] = - React.useState("desktop") - - const total = React.useMemo( - () => ({ - desktop: chartData.reduce((acc, curr) => acc + curr.desktop, 0), - mobile: chartData.reduce((acc, curr) => acc + curr.mobile, 0), - }), - [] - ) - - return ( - - -
- Line Chart - Interactive - - Showing total visitors for the last 3 months - -
-
- {["desktop", "mobile"].map((key) => { - const chart = key as keyof typeof chartConfig - return ( - - ) - })} -
-
- - - - - { - const date = new Date(value) - return date.toLocaleDateString("en-US", { - month: "short", - day: "numeric", - }) - }} - /> - { - return new Date(value).toLocaleDateString("en-US", { - month: "short", - day: "numeric", - year: "numeric", - }) - }} - /> - } - /> - - - - -
- ) -} diff --git a/deprecated/www/__registry__/default/blocks/chart-line-label-custom.tsx b/deprecated/www/__registry__/default/blocks/chart-line-label-custom.tsx deleted file mode 100644 index e6976bd892..0000000000 --- a/deprecated/www/__registry__/default/blocks/chart-line-label-custom.tsx +++ /dev/null @@ -1,123 +0,0 @@ -"use client" - -import { TrendingUp } from "lucide-react" -import { CartesianGrid, LabelList, Line, LineChart } from "recharts" - -import { - Card, - CardContent, - CardDescription, - CardFooter, - CardHeader, - CardTitle, -} from "@/registry/default/ui/card" -import { - ChartConfig, - ChartContainer, - ChartTooltip, - ChartTooltipContent, -} from "@/registry/default/ui/chart" - -export const description = "A line chart with a custom label" - -const chartData = [ - { browser: "chrome", visitors: 275, fill: "var(--color-chrome)" }, - { browser: "safari", visitors: 200, fill: "var(--color-safari)" }, - { browser: "firefox", visitors: 187, fill: "var(--color-firefox)" }, - { browser: "edge", visitors: 173, fill: "var(--color-edge)" }, - { browser: "other", visitors: 90, fill: "var(--color-other)" }, -] - -const chartConfig = { - visitors: { - label: "Visitors", - color: "hsl(var(--chart-2))", - }, - chrome: { - label: "Chrome", - color: "hsl(var(--chart-1))", - }, - safari: { - label: "Safari", - color: "hsl(var(--chart-2))", - }, - firefox: { - label: "Firefox", - color: "hsl(var(--chart-3))", - }, - edge: { - label: "Edge", - color: "hsl(var(--chart-4))", - }, - other: { - label: "Other", - color: "hsl(var(--chart-5))", - }, -} satisfies ChartConfig - -export default function Component() { - return ( - - - Line Chart - Custom Label - January - June 2024 - - - - - - - } - /> - - - chartConfig[value]?.label - } - /> - - - - - -
- Trending up by 5.2% this month -
-
- Showing total visitors for the last 6 months -
-
-
- ) -} diff --git a/deprecated/www/__registry__/default/blocks/chart-line-label.tsx b/deprecated/www/__registry__/default/blocks/chart-line-label.tsx deleted file mode 100644 index 159e103176..0000000000 --- a/deprecated/www/__registry__/default/blocks/chart-line-label.tsx +++ /dev/null @@ -1,105 +0,0 @@ -"use client" - -import { TrendingUp } from "lucide-react" -import { CartesianGrid, LabelList, Line, LineChart, XAxis } from "recharts" - -import { - Card, - CardContent, - CardDescription, - CardFooter, - CardHeader, - CardTitle, -} from "@/registry/default/ui/card" -import { - ChartConfig, - ChartContainer, - ChartTooltip, - ChartTooltipContent, -} from "@/registry/default/ui/chart" - -export const description = "A line chart with a label" - -const chartData = [ - { month: "January", desktop: 186, mobile: 80 }, - { month: "February", desktop: 305, mobile: 200 }, - { month: "March", desktop: 237, mobile: 120 }, - { month: "April", desktop: 73, mobile: 190 }, - { month: "May", desktop: 209, mobile: 130 }, - { month: "June", desktop: 214, mobile: 140 }, -] - -const chartConfig = { - desktop: { - label: "Desktop", - color: "hsl(var(--chart-1))", - }, - mobile: { - label: "Mobile", - color: "hsl(var(--chart-2))", - }, -} satisfies ChartConfig - -export default function Component() { - return ( - - - Line Chart - Label - January - June 2024 - - - - - - value.slice(0, 3)} - /> - } - /> - - - - - - - -
- Trending up by 5.2% this month -
-
- Showing total visitors for the last 6 months -
-
-
- ) -} diff --git a/deprecated/www/__registry__/default/blocks/chart-line-linear.tsx b/deprecated/www/__registry__/default/blocks/chart-line-linear.tsx deleted file mode 100644 index 9d3e06f5e9..0000000000 --- a/deprecated/www/__registry__/default/blocks/chart-line-linear.tsx +++ /dev/null @@ -1,88 +0,0 @@ -"use client" - -import { TrendingUp } from "lucide-react" -import { CartesianGrid, Line, LineChart, XAxis } from "recharts" - -import { - Card, - CardContent, - CardDescription, - CardFooter, - CardHeader, - CardTitle, -} from "@/registry/default/ui/card" -import { - ChartConfig, - ChartContainer, - ChartTooltip, - ChartTooltipContent, -} from "@/registry/default/ui/chart" - -export const description = "A linear line chart" - -const chartData = [ - { month: "January", desktop: 186 }, - { month: "February", desktop: 305 }, - { month: "March", desktop: 237 }, - { month: "April", desktop: 73 }, - { month: "May", desktop: 209 }, - { month: "June", desktop: 214 }, -] - -const chartConfig = { - desktop: { - label: "Desktop", - color: "hsl(var(--chart-1))", - }, -} satisfies ChartConfig - -export default function Component() { - return ( - - - Line Chart - Linear - January - June 2024 - - - - - - value.slice(0, 3)} - /> - } - /> - - - - - -
- Trending up by 5.2% this month -
-
- Showing total visitors for the last 6 months -
-
-
- ) -} diff --git a/deprecated/www/__registry__/default/blocks/chart-line-multiple.tsx b/deprecated/www/__registry__/default/blocks/chart-line-multiple.tsx deleted file mode 100644 index 61ea1d960f..0000000000 --- a/deprecated/www/__registry__/default/blocks/chart-line-multiple.tsx +++ /dev/null @@ -1,100 +0,0 @@ -"use client" - -import { TrendingUp } from "lucide-react" -import { CartesianGrid, Line, LineChart, XAxis } from "recharts" - -import { - Card, - CardContent, - CardDescription, - CardFooter, - CardHeader, - CardTitle, -} from "@/registry/default/ui/card" -import { - ChartConfig, - ChartContainer, - ChartTooltip, - ChartTooltipContent, -} from "@/registry/default/ui/chart" - -export const description = "A multiple line chart" - -const chartData = [ - { month: "January", desktop: 186, mobile: 80 }, - { month: "February", desktop: 305, mobile: 200 }, - { month: "March", desktop: 237, mobile: 120 }, - { month: "April", desktop: 73, mobile: 190 }, - { month: "May", desktop: 209, mobile: 130 }, - { month: "June", desktop: 214, mobile: 140 }, -] - -const chartConfig = { - desktop: { - label: "Desktop", - color: "hsl(var(--chart-1))", - }, - mobile: { - label: "Mobile", - color: "hsl(var(--chart-2))", - }, -} satisfies ChartConfig - -export default function Component() { - return ( - - - Line Chart - Multiple - January - June 2024 - - - - - - value.slice(0, 3)} - /> - } /> - - - - - - -
-
-
- Trending up by 5.2% this month -
-
- Showing total visitors for the last 6 months -
-
-
-
-
- ) -} diff --git a/deprecated/www/__registry__/default/blocks/chart-line-step.tsx b/deprecated/www/__registry__/default/blocks/chart-line-step.tsx deleted file mode 100644 index 608bd5f628..0000000000 --- a/deprecated/www/__registry__/default/blocks/chart-line-step.tsx +++ /dev/null @@ -1,88 +0,0 @@ -"use client" - -import { TrendingUp } from "lucide-react" -import { CartesianGrid, Line, LineChart, XAxis } from "recharts" - -import { - Card, - CardContent, - CardDescription, - CardFooter, - CardHeader, - CardTitle, -} from "@/registry/default/ui/card" -import { - ChartConfig, - ChartContainer, - ChartTooltip, - ChartTooltipContent, -} from "@/registry/default/ui/chart" - -export const description = "A line chart with step" - -const chartData = [ - { month: "January", desktop: 186 }, - { month: "February", desktop: 305 }, - { month: "March", desktop: 237 }, - { month: "April", desktop: 73 }, - { month: "May", desktop: 209 }, - { month: "June", desktop: 214 }, -] - -const chartConfig = { - desktop: { - label: "Desktop", - color: "hsl(var(--chart-1))", - }, -} satisfies ChartConfig - -export default function Component() { - return ( - - - Line Chart - Step - January - June 2024 - - - - - - value.slice(0, 3)} - /> - } - /> - - - - - -
- Trending up by 5.2% this month -
-
- Showing total visitors for the last 6 months -
-
-
- ) -} diff --git a/deprecated/www/__registry__/default/blocks/chart-pie-donut-active.tsx b/deprecated/www/__registry__/default/blocks/chart-pie-donut-active.tsx deleted file mode 100644 index 5a39041919..0000000000 --- a/deprecated/www/__registry__/default/blocks/chart-pie-donut-active.tsx +++ /dev/null @@ -1,102 +0,0 @@ -"use client" - -import { TrendingUp } from "lucide-react" -import { Label, Pie, PieChart, Sector } from "recharts" -import { PieSectorDataItem } from "recharts/types/polar/Pie" - -import { - Card, - CardContent, - CardDescription, - CardFooter, - CardHeader, - CardTitle, -} from "@/registry/default/ui/card" -import { - ChartConfig, - ChartContainer, - ChartTooltip, - ChartTooltipContent, -} from "@/registry/default/ui/chart" - -export const description = "A donut chart with an active sector" - -const chartData = [ - { browser: "chrome", visitors: 275, fill: "var(--color-chrome)" }, - { browser: "safari", visitors: 200, fill: "var(--color-safari)" }, - { browser: "firefox", visitors: 187, fill: "var(--color-firefox)" }, - { browser: "edge", visitors: 173, fill: "var(--color-edge)" }, - { browser: "other", visitors: 90, fill: "var(--color-other)" }, -] - -const chartConfig = { - visitors: { - label: "Visitors", - }, - chrome: { - label: "Chrome", - color: "hsl(var(--chart-1))", - }, - safari: { - label: "Safari", - color: "hsl(var(--chart-2))", - }, - firefox: { - label: "Firefox", - color: "hsl(var(--chart-3))", - }, - edge: { - label: "Edge", - color: "hsl(var(--chart-4))", - }, - other: { - label: "Other", - color: "hsl(var(--chart-5))", - }, -} satisfies ChartConfig - -export default function Component() { - return ( - - - Pie Chart - Donut Active - January - June 2024 - - - - - } - /> - ( - - )} - /> - - - - -
- Trending up by 5.2% this month -
-
- Showing total visitors for the last 6 months -
-
-
- ) -} diff --git a/deprecated/www/__registry__/default/blocks/chart-pie-donut-text.tsx b/deprecated/www/__registry__/default/blocks/chart-pie-donut-text.tsx deleted file mode 100644 index ff5391ab1d..0000000000 --- a/deprecated/www/__registry__/default/blocks/chart-pie-donut-text.tsx +++ /dev/null @@ -1,129 +0,0 @@ -"use client" - -import * as React from "react" -import { TrendingUp } from "lucide-react" -import { Label, Pie, PieChart } from "recharts" - -import { - Card, - CardContent, - CardDescription, - CardFooter, - CardHeader, - CardTitle, -} from "@/registry/default/ui/card" -import { - ChartConfig, - ChartContainer, - ChartTooltip, - ChartTooltipContent, -} from "@/registry/default/ui/chart" - -export const description = "A donut chart with text" - -const chartData = [ - { browser: "chrome", visitors: 275, fill: "var(--color-chrome)" }, - { browser: "safari", visitors: 200, fill: "var(--color-safari)" }, - { browser: "firefox", visitors: 287, fill: "var(--color-firefox)" }, - { browser: "edge", visitors: 173, fill: "var(--color-edge)" }, - { browser: "other", visitors: 190, fill: "var(--color-other)" }, -] - -const chartConfig = { - visitors: { - label: "Visitors", - }, - chrome: { - label: "Chrome", - color: "hsl(var(--chart-1))", - }, - safari: { - label: "Safari", - color: "hsl(var(--chart-2))", - }, - firefox: { - label: "Firefox", - color: "hsl(var(--chart-3))", - }, - edge: { - label: "Edge", - color: "hsl(var(--chart-4))", - }, - other: { - label: "Other", - color: "hsl(var(--chart-5))", - }, -} satisfies ChartConfig - -export default function Component() { - const totalVisitors = React.useMemo(() => { - return chartData.reduce((acc, curr) => acc + curr.visitors, 0) - }, []) - - return ( - - - Pie Chart - Donut with Text - January - June 2024 - - - - - } - /> - - - - - - -
- Trending up by 5.2% this month -
-
- Showing total visitors for the last 6 months -
-
-
- ) -} diff --git a/deprecated/www/__registry__/default/blocks/chart-pie-donut.tsx b/deprecated/www/__registry__/default/blocks/chart-pie-donut.tsx deleted file mode 100644 index 45d17ecdd2..0000000000 --- a/deprecated/www/__registry__/default/blocks/chart-pie-donut.tsx +++ /dev/null @@ -1,93 +0,0 @@ -"use client" - -import { TrendingUp } from "lucide-react" -import { Pie, PieChart } from "recharts" - -import { - Card, - CardContent, - CardDescription, - CardFooter, - CardHeader, - CardTitle, -} from "@/registry/default/ui/card" -import { - ChartConfig, - ChartContainer, - ChartTooltip, - ChartTooltipContent, -} from "@/registry/default/ui/chart" - -export const description = "A donut chart" - -const chartData = [ - { browser: "chrome", visitors: 275, fill: "var(--color-chrome)" }, - { browser: "safari", visitors: 200, fill: "var(--color-safari)" }, - { browser: "firefox", visitors: 187, fill: "var(--color-firefox)" }, - { browser: "edge", visitors: 173, fill: "var(--color-edge)" }, - { browser: "other", visitors: 90, fill: "var(--color-other)" }, -] - -const chartConfig = { - visitors: { - label: "Visitors", - }, - chrome: { - label: "Chrome", - color: "hsl(var(--chart-1))", - }, - safari: { - label: "Safari", - color: "hsl(var(--chart-2))", - }, - firefox: { - label: "Firefox", - color: "hsl(var(--chart-3))", - }, - edge: { - label: "Edge", - color: "hsl(var(--chart-4))", - }, - other: { - label: "Other", - color: "hsl(var(--chart-5))", - }, -} satisfies ChartConfig - -export default function Component() { - return ( - - - Pie Chart - Donut - January - June 2024 - - - - - } - /> - - - - - -
- Trending up by 5.2% this month -
-
- Showing total visitors for the last 6 months -
-
-
- ) -} diff --git a/deprecated/www/__registry__/default/blocks/chart-pie-interactive.tsx b/deprecated/www/__registry__/default/blocks/chart-pie-interactive.tsx deleted file mode 100644 index e1abb04262..0000000000 --- a/deprecated/www/__registry__/default/blocks/chart-pie-interactive.tsx +++ /dev/null @@ -1,192 +0,0 @@ -"use client" - -import * as React from "react" -import { Label, Pie, PieChart, Sector } from "recharts" -import { PieSectorDataItem } from "recharts/types/polar/Pie" - -import { - Card, - CardContent, - CardDescription, - CardHeader, - CardTitle, -} from "@/registry/default/ui/card" -import { - ChartConfig, - ChartContainer, - ChartStyle, - ChartTooltip, - ChartTooltipContent, -} from "@/registry/default/ui/chart" -import { - Select, - SelectContent, - SelectItem, - SelectTrigger, - SelectValue, -} from "@/registry/default/ui/select" - -export const description = "An interactive pie chart" - -const desktopData = [ - { month: "january", desktop: 186, fill: "var(--color-january)" }, - { month: "february", desktop: 305, fill: "var(--color-february)" }, - { month: "march", desktop: 237, fill: "var(--color-march)" }, - { month: "april", desktop: 173, fill: "var(--color-april)" }, - { month: "may", desktop: 209, fill: "var(--color-may)" }, -] - -const chartConfig = { - visitors: { - label: "Visitors", - }, - desktop: { - label: "Desktop", - }, - mobile: { - label: "Mobile", - }, - january: { - label: "January", - color: "hsl(var(--chart-1))", - }, - february: { - label: "February", - color: "hsl(var(--chart-2))", - }, - march: { - label: "March", - color: "hsl(var(--chart-3))", - }, - april: { - label: "April", - color: "hsl(var(--chart-4))", - }, - may: { - label: "May", - color: "hsl(var(--chart-5))", - }, -} satisfies ChartConfig - -export default function Component() { - const id = "pie-interactive" - const [activeMonth, setActiveMonth] = React.useState(desktopData[0].month) - - const activeIndex = React.useMemo( - () => desktopData.findIndex((item) => item.month === activeMonth), - [activeMonth] - ) - const months = React.useMemo(() => desktopData.map((item) => item.month), []) - - return ( - - - -
- Pie Chart - Interactive - January - June 2024 -
- -
- - - - } - /> - ( - - - - - )} - > - - - - -
- ) -} diff --git a/deprecated/www/__registry__/default/blocks/chart-pie-label-custom.tsx b/deprecated/www/__registry__/default/blocks/chart-pie-label-custom.tsx deleted file mode 100644 index 4b8c616214..0000000000 --- a/deprecated/www/__registry__/default/blocks/chart-pie-label-custom.tsx +++ /dev/null @@ -1,107 +0,0 @@ -"use client" - -import { TrendingUp } from "lucide-react" -import { Pie, PieChart } from "recharts" - -import { - Card, - CardContent, - CardDescription, - CardFooter, - CardHeader, - CardTitle, -} from "@/registry/default/ui/card" -import { - ChartConfig, - ChartContainer, - ChartTooltip, - ChartTooltipContent, -} from "@/registry/default/ui/chart" - -export const description = "A pie chart with a custom label" - -const chartData = [ - { browser: "chrome", visitors: 275, fill: "var(--color-chrome)" }, - { browser: "safari", visitors: 200, fill: "var(--color-safari)" }, - { browser: "firefox", visitors: 187, fill: "var(--color-firefox)" }, - { browser: "edge", visitors: 173, fill: "var(--color-edge)" }, - { browser: "other", visitors: 90, fill: "var(--color-other)" }, -] - -const chartConfig = { - visitors: { - label: "Visitors", - }, - chrome: { - label: "Chrome", - color: "hsl(var(--chart-1))", - }, - safari: { - label: "Safari", - color: "hsl(var(--chart-2))", - }, - firefox: { - label: "Firefox", - color: "hsl(var(--chart-3))", - }, - edge: { - label: "Edge", - color: "hsl(var(--chart-4))", - }, - other: { - label: "Other", - color: "hsl(var(--chart-5))", - }, -} satisfies ChartConfig - -export default function Component() { - return ( - - - Pie Chart - Custom Label - January - June 2024 - - - - - } - /> - { - return ( - - {payload.visitors} - - ) - }} - nameKey="browser" - /> - - - - -
- Trending up by 5.2% this month -
-
- Showing total visitors for the last 6 months -
-
-
- ) -} diff --git a/deprecated/www/__registry__/default/blocks/chart-pie-label-list.tsx b/deprecated/www/__registry__/default/blocks/chart-pie-label-list.tsx deleted file mode 100644 index 6b083fb02a..0000000000 --- a/deprecated/www/__registry__/default/blocks/chart-pie-label-list.tsx +++ /dev/null @@ -1,97 +0,0 @@ -"use client" - -import { TrendingUp } from "lucide-react" -import { LabelList, Pie, PieChart } from "recharts" - -import { - Card, - CardContent, - CardDescription, - CardFooter, - CardHeader, - CardTitle, -} from "@/registry/default/ui/card" -import { - ChartConfig, - ChartContainer, - ChartTooltip, - ChartTooltipContent, -} from "@/registry/default/ui/chart" - -export const description = "A pie chart with a label list" - -const chartData = [ - { browser: "chrome", visitors: 275, fill: "var(--color-chrome)" }, - { browser: "safari", visitors: 200, fill: "var(--color-safari)" }, - { browser: "firefox", visitors: 187, fill: "var(--color-firefox)" }, - { browser: "edge", visitors: 173, fill: "var(--color-edge)" }, - { browser: "other", visitors: 90, fill: "var(--color-other)" }, -] - -const chartConfig = { - visitors: { - label: "Visitors", - }, - chrome: { - label: "Chrome", - color: "hsl(var(--chart-1))", - }, - safari: { - label: "Safari", - color: "hsl(var(--chart-2))", - }, - firefox: { - label: "Firefox", - color: "hsl(var(--chart-3))", - }, - edge: { - label: "Edge", - color: "hsl(var(--chart-4))", - }, - other: { - label: "Other", - color: "hsl(var(--chart-5))", - }, -} satisfies ChartConfig - -export default function Component() { - return ( - - - Pie Chart - Label List - January - June 2024 - - - - - } - /> - - - chartConfig[value]?.label - } - /> - - - - - -
- Trending up by 5.2% this month -
-
- Showing total visitors for the last 6 months -
-
-
- ) -} diff --git a/deprecated/www/__registry__/default/blocks/chart-pie-label.tsx b/deprecated/www/__registry__/default/blocks/chart-pie-label.tsx deleted file mode 100644 index 26c294cd65..0000000000 --- a/deprecated/www/__registry__/default/blocks/chart-pie-label.tsx +++ /dev/null @@ -1,85 +0,0 @@ -"use client" - -import { TrendingUp } from "lucide-react" -import { Pie, PieChart } from "recharts" - -import { - Card, - CardContent, - CardDescription, - CardFooter, - CardHeader, - CardTitle, -} from "@/registry/default/ui/card" -import { - ChartConfig, - ChartContainer, - ChartTooltip, - ChartTooltipContent, -} from "@/registry/default/ui/chart" - -export const description = "A pie chart with a label" - -const chartData = [ - { browser: "chrome", visitors: 275, fill: "var(--color-chrome)" }, - { browser: "safari", visitors: 200, fill: "var(--color-safari)" }, - { browser: "firefox", visitors: 187, fill: "var(--color-firefox)" }, - { browser: "edge", visitors: 173, fill: "var(--color-edge)" }, - { browser: "other", visitors: 90, fill: "var(--color-other)" }, -] - -const chartConfig = { - visitors: { - label: "Visitors", - }, - chrome: { - label: "Chrome", - color: "hsl(var(--chart-1))", - }, - safari: { - label: "Safari", - color: "hsl(var(--chart-2))", - }, - firefox: { - label: "Firefox", - color: "hsl(var(--chart-3))", - }, - edge: { - label: "Edge", - color: "hsl(var(--chart-4))", - }, - other: { - label: "Other", - color: "hsl(var(--chart-5))", - }, -} satisfies ChartConfig - -export default function Component() { - return ( - - - Pie Chart - Label - January - June 2024 - - - - - } /> - - - - - -
- Trending up by 5.2% this month -
-
- Showing total visitors for the last 6 months -
-
-
- ) -} diff --git a/deprecated/www/__registry__/default/blocks/chart-pie-legend.tsx b/deprecated/www/__registry__/default/blocks/chart-pie-legend.tsx deleted file mode 100644 index 3e3d7534a8..0000000000 --- a/deprecated/www/__registry__/default/blocks/chart-pie-legend.tsx +++ /dev/null @@ -1,78 +0,0 @@ -"use client" - -import { Pie, PieChart } from "recharts" - -import { - Card, - CardContent, - CardDescription, - CardHeader, - CardTitle, -} from "@/registry/default/ui/card" -import { - ChartConfig, - ChartContainer, - ChartLegend, - ChartLegendContent, -} from "@/registry/default/ui/chart" - -export const description = "A pie chart with a legend" - -const chartData = [ - { browser: "chrome", visitors: 275, fill: "var(--color-chrome)" }, - { browser: "safari", visitors: 200, fill: "var(--color-safari)" }, - { browser: "firefox", visitors: 187, fill: "var(--color-firefox)" }, - { browser: "edge", visitors: 173, fill: "var(--color-edge)" }, - { browser: "other", visitors: 90, fill: "var(--color-other)" }, -] - -const chartConfig = { - visitors: { - label: "Visitors", - }, - chrome: { - label: "Chrome", - color: "hsl(var(--chart-1))", - }, - safari: { - label: "Safari", - color: "hsl(var(--chart-2))", - }, - firefox: { - label: "Firefox", - color: "hsl(var(--chart-3))", - }, - edge: { - label: "Edge", - color: "hsl(var(--chart-4))", - }, - other: { - label: "Other", - color: "hsl(var(--chart-5))", - }, -} satisfies ChartConfig - -export default function Component() { - return ( - - - Pie Chart - Legend - January - June 2024 - - - - - - } - className="-translate-y-2 flex-wrap gap-2 [&>*]:basis-1/4 [&>*]:justify-center" - /> - - - - - ) -} diff --git a/deprecated/www/__registry__/default/blocks/chart-pie-separator-none.tsx b/deprecated/www/__registry__/default/blocks/chart-pie-separator-none.tsx deleted file mode 100644 index 08ec2b5633..0000000000 --- a/deprecated/www/__registry__/default/blocks/chart-pie-separator-none.tsx +++ /dev/null @@ -1,93 +0,0 @@ -"use client" - -import { TrendingUp } from "lucide-react" -import { Pie, PieChart } from "recharts" - -import { - Card, - CardContent, - CardDescription, - CardFooter, - CardHeader, - CardTitle, -} from "@/registry/default/ui/card" -import { - ChartConfig, - ChartContainer, - ChartTooltip, - ChartTooltipContent, -} from "@/registry/default/ui/chart" - -export const description = "A pie chart with no separator" - -const chartData = [ - { browser: "chrome", visitors: 275, fill: "var(--color-chrome)" }, - { browser: "safari", visitors: 200, fill: "var(--color-safari)" }, - { browser: "firefox", visitors: 187, fill: "var(--color-firefox)" }, - { browser: "edge", visitors: 173, fill: "var(--color-edge)" }, - { browser: "other", visitors: 90, fill: "var(--color-other)" }, -] - -const chartConfig = { - visitors: { - label: "Visitors", - }, - chrome: { - label: "Chrome", - color: "hsl(var(--chart-1))", - }, - safari: { - label: "Safari", - color: "hsl(var(--chart-2))", - }, - firefox: { - label: "Firefox", - color: "hsl(var(--chart-3))", - }, - edge: { - label: "Edge", - color: "hsl(var(--chart-4))", - }, - other: { - label: "Other", - color: "hsl(var(--chart-5))", - }, -} satisfies ChartConfig - -export default function Component() { - return ( - - - Pie Chart - Separator None - January - June 2024 - - - - - } - /> - - - - - -
- Trending up by 5.2% this month -
-
- Showing total visitors for the last 6 months -
-
-
- ) -} diff --git a/deprecated/www/__registry__/default/blocks/chart-pie-simple.tsx b/deprecated/www/__registry__/default/blocks/chart-pie-simple.tsx deleted file mode 100644 index 5108126f71..0000000000 --- a/deprecated/www/__registry__/default/blocks/chart-pie-simple.tsx +++ /dev/null @@ -1,88 +0,0 @@ -"use client" - -import { TrendingUp } from "lucide-react" -import { Pie, PieChart } from "recharts" - -import { - Card, - CardContent, - CardDescription, - CardFooter, - CardHeader, - CardTitle, -} from "@/registry/default/ui/card" -import { - ChartConfig, - ChartContainer, - ChartTooltip, - ChartTooltipContent, -} from "@/registry/default/ui/chart" - -export const description = "A simple pie chart" - -const chartData = [ - { browser: "chrome", visitors: 275, fill: "var(--color-chrome)" }, - { browser: "safari", visitors: 200, fill: "var(--color-safari)" }, - { browser: "firefox", visitors: 187, fill: "var(--color-firefox)" }, - { browser: "edge", visitors: 173, fill: "var(--color-edge)" }, - { browser: "other", visitors: 90, fill: "var(--color-other)" }, -] - -const chartConfig = { - visitors: { - label: "Visitors", - }, - chrome: { - label: "Chrome", - color: "hsl(var(--chart-1))", - }, - safari: { - label: "Safari", - color: "hsl(var(--chart-2))", - }, - firefox: { - label: "Firefox", - color: "hsl(var(--chart-3))", - }, - edge: { - label: "Edge", - color: "hsl(var(--chart-4))", - }, - other: { - label: "Other", - color: "hsl(var(--chart-5))", - }, -} satisfies ChartConfig - -export default function Component() { - return ( - - - Pie Chart - January - June 2024 - - - - - } - /> - - - - - -
- Trending up by 5.2% this month -
-
- Showing total visitors for the last 6 months -
-
-
- ) -} diff --git a/deprecated/www/__registry__/default/blocks/chart-pie-stacked.tsx b/deprecated/www/__registry__/default/blocks/chart-pie-stacked.tsx deleted file mode 100644 index db8b0efbbc..0000000000 --- a/deprecated/www/__registry__/default/blocks/chart-pie-stacked.tsx +++ /dev/null @@ -1,119 +0,0 @@ -"use client" - -import * as React from "react" -import { TrendingUp } from "lucide-react" -import { Label, Pie, PieChart } from "recharts" - -import { - Card, - CardContent, - CardDescription, - CardFooter, - CardHeader, - CardTitle, -} from "@/registry/default/ui/card" -import { - ChartConfig, - ChartContainer, - ChartTooltip, - ChartTooltipContent, -} from "@/registry/default/ui/chart" - -export const description = "A pie chart with stacked sections" - -const desktopData = [ - { month: "january", desktop: 186, fill: "var(--color-january)" }, - { month: "february", desktop: 305, fill: "var(--color-february)" }, - { month: "march", desktop: 237, fill: "var(--color-march)" }, - { month: "april", desktop: 173, fill: "var(--color-april)" }, - { month: "may", desktop: 209, fill: "var(--color-may)" }, -] - -const mobileData = [ - { month: "january", mobile: 80, fill: "var(--color-january)" }, - { month: "february", mobile: 200, fill: "var(--color-february)" }, - { month: "march", mobile: 120, fill: "var(--color-march)" }, - { month: "april", mobile: 190, fill: "var(--color-april)" }, - { month: "may", mobile: 130, fill: "var(--color-may)" }, -] - -const chartConfig = { - visitors: { - label: "Visitors", - }, - desktop: { - label: "Desktop", - }, - mobile: { - label: "Mobile", - }, - january: { - label: "January", - color: "hsl(var(--chart-1))", - }, - february: { - label: "February", - color: "hsl(var(--chart-2))", - }, - march: { - label: "March", - color: "hsl(var(--chart-3))", - }, - april: { - label: "April", - color: "hsl(var(--chart-4))", - }, - may: { - label: "May", - color: "hsl(var(--chart-5))", - }, -} satisfies ChartConfig - -export default function Component() { - return ( - - - Pie Chart - Stacked - January - June 2024 - - - - - { - return chartConfig[ - payload?.[0].dataKey as keyof typeof chartConfig - ].label - }} - /> - } - /> - - - - - - -
- Trending up by 5.2% this month -
-
- Showing total visitors for the last 6 months -
-
-
- ) -} diff --git a/deprecated/www/__registry__/default/blocks/chart-radar-default.tsx b/deprecated/www/__registry__/default/blocks/chart-radar-default.tsx deleted file mode 100644 index e4b4185684..0000000000 --- a/deprecated/www/__registry__/default/blocks/chart-radar-default.tsx +++ /dev/null @@ -1,75 +0,0 @@ -"use client" - -import { TrendingUp } from "lucide-react" -import { PolarAngleAxis, PolarGrid, Radar, RadarChart } from "recharts" - -import { - Card, - CardContent, - CardDescription, - CardFooter, - CardHeader, - CardTitle, -} from "@/registry/default/ui/card" -import { - ChartConfig, - ChartContainer, - ChartTooltip, - ChartTooltipContent, -} from "@/registry/default/ui/chart" - -export const description = "A radar chart" - -const chartData = [ - { month: "January", desktop: 186 }, - { month: "February", desktop: 305 }, - { month: "March", desktop: 237 }, - { month: "April", desktop: 273 }, - { month: "May", desktop: 209 }, - { month: "June", desktop: 214 }, -] - -const chartConfig = { - desktop: { - label: "Desktop", - color: "hsl(var(--chart-1))", - }, -} satisfies ChartConfig - -export default function Component() { - return ( - - - Radar Chart - - Showing total visitors for the last 6 months - - - - - - } /> - - - - - - - -
- Trending up by 5.2% this month -
-
- January - June 2024 -
-
-
- ) -} diff --git a/deprecated/www/__registry__/default/blocks/chart-radar-dots.tsx b/deprecated/www/__registry__/default/blocks/chart-radar-dots.tsx deleted file mode 100644 index 461a229540..0000000000 --- a/deprecated/www/__registry__/default/blocks/chart-radar-dots.tsx +++ /dev/null @@ -1,79 +0,0 @@ -"use client" - -import { TrendingUp } from "lucide-react" -import { PolarAngleAxis, PolarGrid, Radar, RadarChart } from "recharts" - -import { - Card, - CardContent, - CardDescription, - CardFooter, - CardHeader, - CardTitle, -} from "@/registry/default/ui/card" -import { - ChartConfig, - ChartContainer, - ChartTooltip, - ChartTooltipContent, -} from "@/registry/default/ui/chart" - -export const description = "A radar chart with dots" - -const chartData = [ - { month: "January", desktop: 186 }, - { month: "February", desktop: 305 }, - { month: "March", desktop: 237 }, - { month: "April", desktop: 273 }, - { month: "May", desktop: 209 }, - { month: "June", desktop: 214 }, -] - -const chartConfig = { - desktop: { - label: "Desktop", - color: "hsl(var(--chart-1))", - }, -} satisfies ChartConfig - -export default function Component() { - return ( - - - Radar Chart - Dots - - Showing total visitors for the last 6 months - - - - - - } /> - - - - - - - -
- Trending up by 5.2% this month -
-
- January - June 2024 -
-
-
- ) -} diff --git a/deprecated/www/__registry__/default/blocks/chart-radar-grid-circle-fill.tsx b/deprecated/www/__registry__/default/blocks/chart-radar-grid-circle-fill.tsx deleted file mode 100644 index 0bed543195..0000000000 --- a/deprecated/www/__registry__/default/blocks/chart-radar-grid-circle-fill.tsx +++ /dev/null @@ -1,78 +0,0 @@ -"use client" - -import { TrendingUp } from "lucide-react" -import { PolarAngleAxis, PolarGrid, Radar, RadarChart } from "recharts" - -import { - Card, - CardContent, - CardDescription, - CardFooter, - CardHeader, - CardTitle, -} from "@/registry/default/ui/card" -import { - ChartConfig, - ChartContainer, - ChartTooltip, - ChartTooltipContent, -} from "@/registry/default/ui/chart" - -export const description = "A radar chart with a grid and circle fill" - -const chartData = [ - { month: "January", desktop: 186 }, - { month: "February", desktop: 285 }, - { month: "March", desktop: 237 }, - { month: "April", desktop: 203 }, - { month: "May", desktop: 209 }, - { month: "June", desktop: 264 }, -] - -const chartConfig = { - desktop: { - label: "Desktop", - color: "hsl(var(--chart-1))", - }, -} satisfies ChartConfig - -export default function Component() { - return ( - - - Radar Chart - Grid Circle Filled - - Showing total visitors for the last 6 months - - - - - - } /> - - - - - - - -
- Trending up by 5.2% this month -
-
- January - June 2024 -
-
-
- ) -} diff --git a/deprecated/www/__registry__/default/blocks/chart-radar-grid-circle-no-lines.tsx b/deprecated/www/__registry__/default/blocks/chart-radar-grid-circle-no-lines.tsx deleted file mode 100644 index 332a86b3cb..0000000000 --- a/deprecated/www/__registry__/default/blocks/chart-radar-grid-circle-no-lines.tsx +++ /dev/null @@ -1,82 +0,0 @@ -"use client" - -import { TrendingUp } from "lucide-react" -import { PolarAngleAxis, PolarGrid, Radar, RadarChart } from "recharts" - -import { - Card, - CardContent, - CardDescription, - CardFooter, - CardHeader, - CardTitle, -} from "@/registry/default/ui/card" -import { - ChartConfig, - ChartContainer, - ChartTooltip, - ChartTooltipContent, -} from "@/registry/default/ui/chart" - -export const description = "A radar chart with a grid and circle fill" - -const chartData = [ - { month: "January", desktop: 186 }, - { month: "February", desktop: 305 }, - { month: "March", desktop: 237 }, - { month: "April", desktop: 203 }, - { month: "May", desktop: 209 }, - { month: "June", desktop: 214 }, -] - -const chartConfig = { - desktop: { - label: "Desktop", - color: "hsl(var(--chart-1))", - }, -} satisfies ChartConfig - -export default function Component() { - return ( - - - Radar Chart - Grid Circle - No lines - - Showing total visitors for the last 6 months - - - - - - } - /> - - - - - - - -
- Trending up by 5.2% this month -
-
- January - June 2024 -
-
-
- ) -} diff --git a/deprecated/www/__registry__/default/blocks/chart-radar-grid-circle.tsx b/deprecated/www/__registry__/default/blocks/chart-radar-grid-circle.tsx deleted file mode 100644 index e6b3a569c4..0000000000 --- a/deprecated/www/__registry__/default/blocks/chart-radar-grid-circle.tsx +++ /dev/null @@ -1,82 +0,0 @@ -"use client" - -import { TrendingUp } from "lucide-react" -import { PolarAngleAxis, PolarGrid, Radar, RadarChart } from "recharts" - -import { - Card, - CardContent, - CardDescription, - CardFooter, - CardHeader, - CardTitle, -} from "@/registry/default/ui/card" -import { - ChartConfig, - ChartContainer, - ChartTooltip, - ChartTooltipContent, -} from "@/registry/default/ui/chart" - -export const description = "A radar chart with a grid and circle" - -const chartData = [ - { month: "January", desktop: 186 }, - { month: "February", desktop: 305 }, - { month: "March", desktop: 237 }, - { month: "April", desktop: 273 }, - { month: "May", desktop: 209 }, - { month: "June", desktop: 214 }, -] - -const chartConfig = { - desktop: { - label: "Desktop", - color: "hsl(var(--chart-1))", - }, -} satisfies ChartConfig - -export default function Component() { - return ( - - - Radar Chart - Grid Circle - - Showing total visitors for the last 6 months - - - - - - } - /> - - - - - - - -
- Trending up by 5.2% this month -
-
- January - June 2024 -
-
-
- ) -} diff --git a/deprecated/www/__registry__/default/blocks/chart-radar-grid-custom.tsx b/deprecated/www/__registry__/default/blocks/chart-radar-grid-custom.tsx deleted file mode 100644 index 738d9f7c2a..0000000000 --- a/deprecated/www/__registry__/default/blocks/chart-radar-grid-custom.tsx +++ /dev/null @@ -1,78 +0,0 @@ -"use client" - -import { TrendingUp } from "lucide-react" -import { PolarAngleAxis, PolarGrid, Radar, RadarChart } from "recharts" - -import { - Card, - CardContent, - CardDescription, - CardFooter, - CardHeader, - CardTitle, -} from "@/registry/default/ui/card" -import { - ChartConfig, - ChartContainer, - ChartTooltip, - ChartTooltipContent, -} from "@/registry/default/ui/chart" - -export const description = "A radar chart with a custom grid" - -const chartData = [ - { month: "January", desktop: 186 }, - { month: "February", desktop: 305 }, - { month: "March", desktop: 237 }, - { month: "April", desktop: 273 }, - { month: "May", desktop: 209 }, - { month: "June", desktop: 214 }, -] - -const chartConfig = { - desktop: { - label: "Desktop", - color: "hsl(var(--chart-1))", - }, -} satisfies ChartConfig - -export default function Component() { - return ( - - - Radar Chart - Grid Custom - - Showing total visitors for the last 6 months - - - - - - } - /> - - - - - - - -
- Trending up by 5.2% this month -
-
- January - June 2024 -
-
-
- ) -} diff --git a/deprecated/www/__registry__/default/blocks/chart-radar-grid-fill.tsx b/deprecated/www/__registry__/default/blocks/chart-radar-grid-fill.tsx deleted file mode 100644 index 182b08f51a..0000000000 --- a/deprecated/www/__registry__/default/blocks/chart-radar-grid-fill.tsx +++ /dev/null @@ -1,78 +0,0 @@ -"use client" - -import { TrendingUp } from "lucide-react" -import { PolarAngleAxis, PolarGrid, Radar, RadarChart } from "recharts" - -import { - Card, - CardContent, - CardDescription, - CardFooter, - CardHeader, - CardTitle, -} from "@/registry/default/ui/card" -import { - ChartConfig, - ChartContainer, - ChartTooltip, - ChartTooltipContent, -} from "@/registry/default/ui/chart" - -export const description = "A radar chart with a grid filled" - -const chartData = [ - { month: "January", desktop: 186 }, - { month: "February", desktop: 285 }, - { month: "March", desktop: 237 }, - { month: "April", desktop: 203 }, - { month: "May", desktop: 209 }, - { month: "June", desktop: 264 }, -] - -const chartConfig = { - desktop: { - label: "Desktop", - color: "hsl(var(--chart-1))", - }, -} satisfies ChartConfig - -export default function Component() { - return ( - - - Radar Chart - Grid Filled - - Showing total visitors for the last 6 months - - - - - - } - /> - - - - - - - -
- Trending up by 5.2% this month -
-
- January - June 2024 -
-
-
- ) -} diff --git a/deprecated/www/__registry__/default/blocks/chart-radar-grid-none.tsx b/deprecated/www/__registry__/default/blocks/chart-radar-grid-none.tsx deleted file mode 100644 index 348075e832..0000000000 --- a/deprecated/www/__registry__/default/blocks/chart-radar-grid-none.tsx +++ /dev/null @@ -1,81 +0,0 @@ -"use client" - -import { TrendingUp } from "lucide-react" -import { PolarAngleAxis, Radar, RadarChart } from "recharts" - -import { - Card, - CardContent, - CardDescription, - CardFooter, - CardHeader, - CardTitle, -} from "@/registry/default/ui/card" -import { - ChartConfig, - ChartContainer, - ChartTooltip, - ChartTooltipContent, -} from "@/registry/default/ui/chart" - -export const description = "A radar chart with no grid" - -const chartData = [ - { month: "January", desktop: 186 }, - { month: "February", desktop: 305 }, - { month: "March", desktop: 237 }, - { month: "April", desktop: 273 }, - { month: "May", desktop: 209 }, - { month: "June", desktop: 214 }, -] - -const chartConfig = { - desktop: { - label: "Desktop", - color: "hsl(var(--chart-1))", - }, -} satisfies ChartConfig - -export default function Component() { - return ( - - - Radar Chart - Grid None - - Showing total visitors for the last 6 months - - - - - - } - /> - - - - - - -
- Trending up by 5.2% this month -
-
- January - June 2024 -
-
-
- ) -} diff --git a/deprecated/www/__registry__/default/blocks/chart-radar-icons.tsx b/deprecated/www/__registry__/default/blocks/chart-radar-icons.tsx deleted file mode 100644 index efbbf89c8b..0000000000 --- a/deprecated/www/__registry__/default/blocks/chart-radar-icons.tsx +++ /dev/null @@ -1,94 +0,0 @@ -"use client" - -import { ArrowDownFromLine, ArrowUpFromLine, TrendingUp } from "lucide-react" -import { PolarAngleAxis, PolarGrid, Radar, RadarChart } from "recharts" - -import { - Card, - CardContent, - CardDescription, - CardFooter, - CardHeader, - CardTitle, -} from "@/registry/default/ui/card" -import { - ChartConfig, - ChartContainer, - ChartLegend, - ChartLegendContent, - ChartTooltip, - ChartTooltipContent, -} from "@/registry/default/ui/chart" - -export const description = "A radar chart with icons" - -const chartData = [ - { month: "January", desktop: 186, mobile: 80 }, - { month: "February", desktop: 305, mobile: 200 }, - { month: "March", desktop: 237, mobile: 120 }, - { month: "April", desktop: 73, mobile: 190 }, - { month: "May", desktop: 209, mobile: 130 }, - { month: "June", desktop: 214, mobile: 140 }, -] - -const chartConfig = { - desktop: { - label: "Desktop", - color: "hsl(var(--chart-1))", - icon: ArrowDownFromLine, - }, - mobile: { - label: "Mobile", - color: "hsl(var(--chart-2))", - icon: ArrowUpFromLine, - }, -} satisfies ChartConfig - -export default function Component() { - return ( - - - Radar Chart - Icons - - Showing total visitors for the last 6 months - - - - - - } - /> - - - - - } /> - - - - -
- Trending up by 5.2% this month -
-
- January - June 2024 -
-
-
- ) -} diff --git a/deprecated/www/__registry__/default/blocks/chart-radar-label-custom.tsx b/deprecated/www/__registry__/default/blocks/chart-radar-label-custom.tsx deleted file mode 100644 index 4e65b8996d..0000000000 --- a/deprecated/www/__registry__/default/blocks/chart-radar-label-custom.tsx +++ /dev/null @@ -1,120 +0,0 @@ -"use client" - -import { TrendingUp } from "lucide-react" -import { PolarAngleAxis, PolarGrid, Radar, RadarChart } from "recharts" - -import { - Card, - CardContent, - CardDescription, - CardFooter, - CardHeader, - CardTitle, -} from "@/registry/default/ui/card" -import { - ChartConfig, - ChartContainer, - ChartTooltip, - ChartTooltipContent, -} from "@/registry/default/ui/chart" - -export const description = "A radar chart with a custom label" - -const chartData = [ - { month: "January", desktop: 186, mobile: 80 }, - { month: "February", desktop: 305, mobile: 200 }, - { month: "March", desktop: 237, mobile: 120 }, - { month: "April", desktop: 73, mobile: 190 }, - { month: "May", desktop: 209, mobile: 130 }, - { month: "June", desktop: 214, mobile: 140 }, -] - -const chartConfig = { - desktop: { - label: "Desktop", - color: "hsl(var(--chart-1))", - }, - mobile: { - label: "Mobile", - color: "hsl(var(--chart-2))", - }, -} satisfies ChartConfig - -export default function Component() { - return ( - - - Radar Chart - Custom Label - - Showing total visitors for the last 6 months - - - - - - } - /> - { - const data = chartData[index] - - return ( - - {data.desktop} - / - {data.mobile} - - {data.month} - - - ) - }} - /> - - - - - - - - -
- Trending up by 5.2% this month -
-
- January - June 2024 -
-
-
- ) -} diff --git a/deprecated/www/__registry__/default/blocks/chart-radar-legend.tsx b/deprecated/www/__registry__/default/blocks/chart-radar-legend.tsx deleted file mode 100644 index 535bc82c07..0000000000 --- a/deprecated/www/__registry__/default/blocks/chart-radar-legend.tsx +++ /dev/null @@ -1,92 +0,0 @@ -"use client" - -import { TrendingUp } from "lucide-react" -import { PolarAngleAxis, PolarGrid, Radar, RadarChart } from "recharts" - -import { - Card, - CardContent, - CardDescription, - CardFooter, - CardHeader, - CardTitle, -} from "@/registry/default/ui/card" -import { - ChartConfig, - ChartContainer, - ChartLegend, - ChartLegendContent, - ChartTooltip, - ChartTooltipContent, -} from "@/registry/default/ui/chart" - -export const description = "A radar chart with a legend" - -const chartData = [ - { month: "January", desktop: 186, mobile: 80 }, - { month: "February", desktop: 305, mobile: 200 }, - { month: "March", desktop: 237, mobile: 120 }, - { month: "April", desktop: 73, mobile: 190 }, - { month: "May", desktop: 209, mobile: 130 }, - { month: "June", desktop: 214, mobile: 140 }, -] - -const chartConfig = { - desktop: { - label: "Desktop", - color: "hsl(var(--chart-1))", - }, - mobile: { - label: "Mobile", - color: "hsl(var(--chart-2))", - }, -} satisfies ChartConfig - -export default function Component() { - return ( - - - Radar Chart - Legend - - Showing total visitors for the last 6 months - - - - - - } - /> - - - - - } /> - - - - -
- Trending up by 5.2% this month -
-
- January - June 2024 -
-
-
- ) -} diff --git a/deprecated/www/__registry__/default/blocks/chart-radar-lines-only.tsx b/deprecated/www/__registry__/default/blocks/chart-radar-lines-only.tsx deleted file mode 100644 index c6e0c52525..0000000000 --- a/deprecated/www/__registry__/default/blocks/chart-radar-lines-only.tsx +++ /dev/null @@ -1,91 +0,0 @@ -"use client" - -import { TrendingUp } from "lucide-react" -import { PolarAngleAxis, PolarGrid, Radar, RadarChart } from "recharts" - -import { - Card, - CardContent, - CardDescription, - CardFooter, - CardHeader, - CardTitle, -} from "@/registry/default/ui/card" -import { - ChartConfig, - ChartContainer, - ChartTooltip, - ChartTooltipContent, -} from "@/registry/default/ui/chart" - -export const description = "A radar chart with lines only" - -const chartData = [ - { month: "January", desktop: 186, mobile: 160 }, - { month: "February", desktop: 185, mobile: 170 }, - { month: "March", desktop: 207, mobile: 180 }, - { month: "April", desktop: 173, mobile: 160 }, - { month: "May", desktop: 160, mobile: 190 }, - { month: "June", desktop: 174, mobile: 204 }, -] - -const chartConfig = { - desktop: { - label: "Desktop", - color: "hsl(var(--chart-1))", - }, - mobile: { - label: "Mobile", - color: "hsl(var(--chart-2))", - }, -} satisfies ChartConfig - -export default function Component() { - return ( - - - Radar Chart - Lines Only - - Showing total visitors for the last 6 months - - - - - - } - /> - - - - - - - - -
- Trending up by 5.2% this month -
-
- January - June 2024 -
-
-
- ) -} diff --git a/deprecated/www/__registry__/default/blocks/chart-radar-multiple.tsx b/deprecated/www/__registry__/default/blocks/chart-radar-multiple.tsx deleted file mode 100644 index 2463d7ae31..0000000000 --- a/deprecated/www/__registry__/default/blocks/chart-radar-multiple.tsx +++ /dev/null @@ -1,83 +0,0 @@ -"use client" - -import { TrendingUp } from "lucide-react" -import { PolarAngleAxis, PolarGrid, Radar, RadarChart } from "recharts" - -import { - Card, - CardContent, - CardDescription, - CardFooter, - CardHeader, - CardTitle, -} from "@/registry/default/ui/card" -import { - ChartConfig, - ChartContainer, - ChartTooltip, - ChartTooltipContent, -} from "@/registry/default/ui/chart" - -export const description = "A radar chart with multiple data" - -const chartData = [ - { month: "January", desktop: 186, mobile: 80 }, - { month: "February", desktop: 305, mobile: 200 }, - { month: "March", desktop: 237, mobile: 120 }, - { month: "April", desktop: 73, mobile: 190 }, - { month: "May", desktop: 209, mobile: 130 }, - { month: "June", desktop: 214, mobile: 140 }, -] - -const chartConfig = { - desktop: { - label: "Desktop", - color: "hsl(var(--chart-1))", - }, - mobile: { - label: "Mobile", - color: "hsl(var(--chart-2))", - }, -} satisfies ChartConfig - -export default function Component() { - return ( - - - Radar Chart - Multiple - - Showing total visitors for the last 6 months - - - - - - } - /> - - - - - - - - -
- Trending up by 5.2% this month -
-
- January - June 2024 -
-
-
- ) -} diff --git a/deprecated/www/__registry__/default/blocks/chart-radar-radius.tsx b/deprecated/www/__registry__/default/blocks/chart-radar-radius.tsx deleted file mode 100644 index 22cbe8e197..0000000000 --- a/deprecated/www/__registry__/default/blocks/chart-radar-radius.tsx +++ /dev/null @@ -1,96 +0,0 @@ -"use client" - -import { TrendingUp } from "lucide-react" -import { - PolarAngleAxis, - PolarGrid, - PolarRadiusAxis, - Radar, - RadarChart, -} from "recharts" - -import { - Card, - CardContent, - CardDescription, - CardFooter, - CardHeader, - CardTitle, -} from "@/registry/default/ui/card" -import { - ChartConfig, - ChartContainer, - ChartTooltip, - ChartTooltipContent, -} from "@/registry/default/ui/chart" - -export const description = "A radar chart with a radius axis" - -const chartData = [ - { month: "January", desktop: 186, mobile: 80 }, - { month: "February", desktop: 305, mobile: 200 }, - { month: "March", desktop: 237, mobile: 120 }, - { month: "April", desktop: 73, mobile: 190 }, - { month: "May", desktop: 209, mobile: 130 }, - { month: "June", desktop: 214, mobile: 140 }, -] - -const chartConfig = { - desktop: { - label: "Desktop", - color: "hsl(var(--chart-1))", - }, - mobile: { - label: "Mobile", - color: "hsl(var(--chart-2))", - }, -} satisfies ChartConfig - -export default function Component() { - return ( - - - Radar Chart - Radius Axis - - Showing total visitors for the last 6 months - - - - - - - } - /> - - - - - - - - -
- Trending up by 5.2% this month -
-
- January - June 2024 -
-
-
- ) -} diff --git a/deprecated/www/__registry__/default/blocks/chart-radial-grid.tsx b/deprecated/www/__registry__/default/blocks/chart-radial-grid.tsx deleted file mode 100644 index cc91ba2c8b..0000000000 --- a/deprecated/www/__registry__/default/blocks/chart-radial-grid.tsx +++ /dev/null @@ -1,89 +0,0 @@ -"use client" - -import { TrendingUp } from "lucide-react" -import { PolarGrid, RadialBar, RadialBarChart } from "recharts" - -import { - Card, - CardContent, - CardDescription, - CardFooter, - CardHeader, - CardTitle, -} from "@/registry/default/ui/card" -import { - ChartConfig, - ChartContainer, - ChartTooltip, - ChartTooltipContent, -} from "@/registry/default/ui/chart" - -export const description = "A radial chart with a grid" - -const chartData = [ - { browser: "chrome", visitors: 275, fill: "var(--color-chrome)" }, - { browser: "safari", visitors: 200, fill: "var(--color-safari)" }, - { browser: "firefox", visitors: 187, fill: "var(--color-firefox)" }, - { browser: "edge", visitors: 173, fill: "var(--color-edge)" }, - { browser: "other", visitors: 90, fill: "var(--color-other)" }, -] - -const chartConfig = { - visitors: { - label: "Visitors", - }, - chrome: { - label: "Chrome", - color: "hsl(var(--chart-1))", - }, - safari: { - label: "Safari", - color: "hsl(var(--chart-2))", - }, - firefox: { - label: "Firefox", - color: "hsl(var(--chart-3))", - }, - edge: { - label: "Edge", - color: "hsl(var(--chart-4))", - }, - other: { - label: "Other", - color: "hsl(var(--chart-5))", - }, -} satisfies ChartConfig - -export default function Component() { - return ( - - - Radial Chart - Grid - January - June 2024 - - - - - } - /> - - - - - - -
- Trending up by 5.2% this month -
-
- Showing total visitors for the last 6 months -
-
-
- ) -} diff --git a/deprecated/www/__registry__/default/blocks/chart-radial-label.tsx b/deprecated/www/__registry__/default/blocks/chart-radial-label.tsx deleted file mode 100644 index 179a919f6c..0000000000 --- a/deprecated/www/__registry__/default/blocks/chart-radial-label.tsx +++ /dev/null @@ -1,101 +0,0 @@ -"use client" - -import { TrendingUp } from "lucide-react" -import { LabelList, RadialBar, RadialBarChart } from "recharts" - -import { - Card, - CardContent, - CardDescription, - CardFooter, - CardHeader, - CardTitle, -} from "@/registry/default/ui/card" -import { - ChartConfig, - ChartContainer, - ChartTooltip, - ChartTooltipContent, -} from "@/registry/default/ui/chart" - -export const description = "A radial chart with a label" - -const chartData = [ - { browser: "chrome", visitors: 275, fill: "var(--color-chrome)" }, - { browser: "safari", visitors: 200, fill: "var(--color-safari)" }, - { browser: "firefox", visitors: 187, fill: "var(--color-firefox)" }, - { browser: "edge", visitors: 173, fill: "var(--color-edge)" }, - { browser: "other", visitors: 90, fill: "var(--color-other)" }, -] - -const chartConfig = { - visitors: { - label: "Visitors", - }, - chrome: { - label: "Chrome", - color: "hsl(var(--chart-1))", - }, - safari: { - label: "Safari", - color: "hsl(var(--chart-2))", - }, - firefox: { - label: "Firefox", - color: "hsl(var(--chart-3))", - }, - edge: { - label: "Edge", - color: "hsl(var(--chart-4))", - }, - other: { - label: "Other", - color: "hsl(var(--chart-5))", - }, -} satisfies ChartConfig - -export default function Component() { - return ( - - - Radial Chart - Label - January - June 2024 - - - - - } - /> - - - - - - - -
- Trending up by 5.2% this month -
-
- Showing total visitors for the last 6 months -
-
-
- ) -} diff --git a/deprecated/www/__registry__/default/blocks/chart-radial-shape.tsx b/deprecated/www/__registry__/default/blocks/chart-radial-shape.tsx deleted file mode 100644 index bd3754e986..0000000000 --- a/deprecated/www/__registry__/default/blocks/chart-radial-shape.tsx +++ /dev/null @@ -1,108 +0,0 @@ -"use client" - -import { TrendingUp } from "lucide-react" -import { - Label, - PolarGrid, - PolarRadiusAxis, - RadialBar, - RadialBarChart, -} from "recharts" - -import { - Card, - CardContent, - CardDescription, - CardFooter, - CardHeader, - CardTitle, -} from "@/registry/default/ui/card" -import { ChartConfig, ChartContainer } from "@/registry/default/ui/chart" - -export const description = "A radial chart with a custom shape" - -const chartData = [ - { browser: "safari", visitors: 1260, fill: "var(--color-safari)" }, -] - -const chartConfig = { - visitors: { - label: "Visitors", - }, - safari: { - label: "Safari", - color: "hsl(var(--chart-2))", - }, -} satisfies ChartConfig - -export default function Component() { - return ( - - - Radial Chart - Shape - January - June 2024 - - - - - - - - - - - - -
- Trending up by 5.2% this month -
-
- Showing total visitors for the last 6 months -
-
-
- ) -} diff --git a/deprecated/www/__registry__/default/blocks/chart-radial-simple.tsx b/deprecated/www/__registry__/default/blocks/chart-radial-simple.tsx deleted file mode 100644 index 57a8030230..0000000000 --- a/deprecated/www/__registry__/default/blocks/chart-radial-simple.tsx +++ /dev/null @@ -1,88 +0,0 @@ -"use client" - -import { TrendingUp } from "lucide-react" -import { RadialBar, RadialBarChart } from "recharts" - -import { - Card, - CardContent, - CardDescription, - CardFooter, - CardHeader, - CardTitle, -} from "@/registry/default/ui/card" -import { - ChartConfig, - ChartContainer, - ChartTooltip, - ChartTooltipContent, -} from "@/registry/default/ui/chart" - -export const description = "A radial chart" - -const chartData = [ - { browser: "chrome", visitors: 275, fill: "var(--color-chrome)" }, - { browser: "safari", visitors: 200, fill: "var(--color-safari)" }, - { browser: "firefox", visitors: 187, fill: "var(--color-firefox)" }, - { browser: "edge", visitors: 173, fill: "var(--color-edge)" }, - { browser: "other", visitors: 90, fill: "var(--color-other)" }, -] - -const chartConfig = { - visitors: { - label: "Visitors", - }, - chrome: { - label: "Chrome", - color: "hsl(var(--chart-1))", - }, - safari: { - label: "Safari", - color: "hsl(var(--chart-2))", - }, - firefox: { - label: "Firefox", - color: "hsl(var(--chart-3))", - }, - edge: { - label: "Edge", - color: "hsl(var(--chart-4))", - }, - other: { - label: "Other", - color: "hsl(var(--chart-5))", - }, -} satisfies ChartConfig - -export default function Component() { - return ( - - - Radial Chart - January - June 2024 - - - - - } - /> - - - - - -
- Trending up by 5.2% this month -
-
- Showing total visitors for the last 6 months -
-
-
- ) -} diff --git a/deprecated/www/__registry__/default/blocks/chart-radial-stacked.tsx b/deprecated/www/__registry__/default/blocks/chart-radial-stacked.tsx deleted file mode 100644 index a5b78f27fe..0000000000 --- a/deprecated/www/__registry__/default/blocks/chart-radial-stacked.tsx +++ /dev/null @@ -1,113 +0,0 @@ -"use client" - -import { TrendingUp } from "lucide-react" -import { Label, PolarRadiusAxis, RadialBar, RadialBarChart } from "recharts" - -import { - Card, - CardContent, - CardDescription, - CardFooter, - CardHeader, - CardTitle, -} from "@/registry/default/ui/card" -import { - ChartConfig, - ChartContainer, - ChartTooltip, - ChartTooltipContent, -} from "@/registry/default/ui/chart" - -export const description = "A radial chart with stacked sections" - -const chartData = [{ month: "january", desktop: 1260, mobile: 570 }] - -const chartConfig = { - desktop: { - label: "Desktop", - color: "hsl(var(--chart-1))", - }, - mobile: { - label: "Mobile", - color: "hsl(var(--chart-2))", - }, -} satisfies ChartConfig - -export default function Component() { - const totalVisitors = chartData[0].desktop + chartData[0].mobile - - return ( - - - Radial Chart - Stacked - January - June 2024 - - - - - } - /> - - - - - - - - -
- Trending up by 5.2% this month -
-
- Showing total visitors for the last 6 months -
-
-
- ) -} diff --git a/deprecated/www/__registry__/default/blocks/chart-radial-text.tsx b/deprecated/www/__registry__/default/blocks/chart-radial-text.tsx deleted file mode 100644 index a798f66121..0000000000 --- a/deprecated/www/__registry__/default/blocks/chart-radial-text.tsx +++ /dev/null @@ -1,109 +0,0 @@ -"use client" - -import { TrendingUp } from "lucide-react" -import { - Label, - PolarGrid, - PolarRadiusAxis, - RadialBar, - RadialBarChart, -} from "recharts" - -import { - Card, - CardContent, - CardDescription, - CardFooter, - CardHeader, - CardTitle, -} from "@/registry/default/ui/card" -import { ChartConfig, ChartContainer } from "@/registry/default/ui/chart" - -export const description = "A radial chart with text" - -const chartData = [ - { browser: "safari", visitors: 200, fill: "var(--color-safari)" }, -] - -const chartConfig = { - visitors: { - label: "Visitors", - }, - safari: { - label: "Safari", - color: "hsl(var(--chart-2))", - }, -} satisfies ChartConfig - -export default function Component() { - return ( - - - Radial Chart - Text - January - June 2024 - - - - - - - - - - - - -
- Trending up by 5.2% this month -
-
- Showing total visitors for the last 6 months -
-
-
- ) -} diff --git a/deprecated/www/__registry__/default/blocks/chart-tooltip-advanced.tsx b/deprecated/www/__registry__/default/blocks/chart-tooltip-advanced.tsx deleted file mode 100644 index 7a70079821..0000000000 --- a/deprecated/www/__registry__/default/blocks/chart-tooltip-advanced.tsx +++ /dev/null @@ -1,123 +0,0 @@ -"use client" - -import { Bar, BarChart, XAxis } from "recharts" - -import { - Card, - CardContent, - CardDescription, - CardHeader, - CardTitle, -} from "@/registry/default/ui/card" -import { - ChartConfig, - ChartContainer, - ChartTooltip, - ChartTooltipContent, -} from "@/registry/default/ui/chart" - -export const description = "A stacked bar chart with a legend" - -const chartData = [ - { date: "2024-07-15", running: 450, swimming: 300 }, - { date: "2024-07-16", running: 380, swimming: 420 }, - { date: "2024-07-17", running: 520, swimming: 120 }, - { date: "2024-07-18", running: 140, swimming: 550 }, - { date: "2024-07-19", running: 600, swimming: 350 }, - { date: "2024-07-20", running: 480, swimming: 400 }, -] - -const chartConfig = { - running: { - label: "Running", - color: "hsl(var(--chart-1))", - }, - swimming: { - label: "Swimming", - color: "hsl(var(--chart-2))", - }, -} satisfies ChartConfig - -export default function Component() { - return ( - - - Tooltip - Advanced - - Tooltip with custom formatter and total. - - - - - - { - return new Date(value).toLocaleDateString("en-US", { - weekday: "short", - }) - }} - /> - - - ( - <> -
- {chartConfig[name as keyof typeof chartConfig]?.label || - name} -
- {value} - - kcal - -
- {/* Add this after the last item */} - {index === 1 && ( -
- Total -
- {item.payload.running + item.payload.swimming} - - kcal - -
-
- )} - - )} - /> - } - cursor={false} - defaultIndex={1} - /> - - - - - ) -} diff --git a/deprecated/www/__registry__/default/blocks/chart-tooltip-default.tsx b/deprecated/www/__registry__/default/blocks/chart-tooltip-default.tsx deleted file mode 100644 index e1ed087075..0000000000 --- a/deprecated/www/__registry__/default/blocks/chart-tooltip-default.tsx +++ /dev/null @@ -1,89 +0,0 @@ -"use client" - -import { Bar, BarChart, XAxis } from "recharts" - -import { - Card, - CardContent, - CardDescription, - CardHeader, - CardTitle, -} from "@/registry/default/ui/card" -import { - ChartConfig, - ChartContainer, - ChartTooltip, - ChartTooltipContent, -} from "@/registry/default/ui/chart" - -export const description = "A stacked bar chart with a legend" -export const iframeHeight = "600px" -export const containerClassName = - "[&>div]:w-full [&>div]:max-w-md flex items-center justify-center min-h-svh" - -const chartData = [ - { date: "2024-07-15", running: 450, swimming: 300 }, - { date: "2024-07-16", running: 380, swimming: 420 }, - { date: "2024-07-17", running: 520, swimming: 120 }, - { date: "2024-07-18", running: 140, swimming: 550 }, - { date: "2024-07-19", running: 600, swimming: 350 }, - { date: "2024-07-20", running: 480, swimming: 400 }, -] - -const chartConfig = { - running: { - label: "Running", - color: "hsl(var(--chart-1))", - }, - swimming: { - label: "Swimming", - color: "hsl(var(--chart-2))", - }, -} satisfies ChartConfig - -export default function Component() { - return ( - - - Tooltip - Default - - Default tooltip with ChartTooltipContent. - - - - - - { - return new Date(value).toLocaleDateString("en-US", { - weekday: "short", - }) - }} - /> - - - } - cursor={false} - defaultIndex={1} - /> - - - - - ) -} diff --git a/deprecated/www/__registry__/default/blocks/chart-tooltip-formatter.tsx b/deprecated/www/__registry__/default/blocks/chart-tooltip-formatter.tsx deleted file mode 100644 index 8c1b6d7009..0000000000 --- a/deprecated/www/__registry__/default/blocks/chart-tooltip-formatter.tsx +++ /dev/null @@ -1,100 +0,0 @@ -"use client" - -import { Bar, BarChart, XAxis } from "recharts" - -import { - Card, - CardContent, - CardDescription, - CardHeader, - CardTitle, -} from "@/registry/default/ui/card" -import { - ChartConfig, - ChartContainer, - ChartTooltip, - ChartTooltipContent, -} from "@/registry/default/ui/chart" - -export const description = "A stacked bar chart with a legend" - -const chartData = [ - { date: "2024-07-15", running: 450, swimming: 300 }, - { date: "2024-07-16", running: 380, swimming: 420 }, - { date: "2024-07-17", running: 520, swimming: 120 }, - { date: "2024-07-18", running: 140, swimming: 550 }, - { date: "2024-07-19", running: 600, swimming: 350 }, - { date: "2024-07-20", running: 480, swimming: 400 }, -] - -const chartConfig = { - running: { - label: "Running", - color: "hsl(var(--chart-1))", - }, - swimming: { - label: "Swimming", - color: "hsl(var(--chart-2))", - }, -} satisfies ChartConfig - -export default function Component() { - return ( - - - Tooltip - Formatter - Tooltip with custom formatter . - - - - - { - return new Date(value).toLocaleDateString("en-US", { - weekday: "short", - }) - }} - /> - - - ( -
- {chartConfig[name as keyof typeof chartConfig]?.label || - name} -
- {value} - - kcal - -
-
- )} - /> - } - cursor={false} - defaultIndex={1} - /> -
-
-
-
- ) -} diff --git a/deprecated/www/__registry__/default/blocks/chart-tooltip-icons.tsx b/deprecated/www/__registry__/default/blocks/chart-tooltip-icons.tsx deleted file mode 100644 index a95db7a7b5..0000000000 --- a/deprecated/www/__registry__/default/blocks/chart-tooltip-icons.tsx +++ /dev/null @@ -1,87 +0,0 @@ -"use client" - -import { Footprints, Waves } from "lucide-react" -import { Bar, BarChart, XAxis } from "recharts" - -import { - Card, - CardContent, - CardDescription, - CardHeader, - CardTitle, -} from "@/registry/default/ui/card" -import { - ChartConfig, - ChartContainer, - ChartTooltip, - ChartTooltipContent, -} from "@/registry/default/ui/chart" - -export const description = "A stacked bar chart with a legend" - -const chartData = [ - { date: "2024-07-15", running: 450, swimming: 300 }, - { date: "2024-07-16", running: 380, swimming: 420 }, - { date: "2024-07-17", running: 520, swimming: 120 }, - { date: "2024-07-18", running: 140, swimming: 550 }, - { date: "2024-07-19", running: 600, swimming: 350 }, - { date: "2024-07-20", running: 480, swimming: 400 }, -] - -const chartConfig = { - running: { - label: "Running", - color: "hsl(var(--chart-1))", - icon: Footprints, - }, - swimming: { - label: "Swimming", - color: "hsl(var(--chart-2))", - icon: Waves, - }, -} satisfies ChartConfig - -export default function Component() { - return ( - - - Tooltip - Icons - Tooltip with icons. - - - - - { - return new Date(value).toLocaleDateString("en-US", { - weekday: "short", - }) - }} - /> - - - } - cursor={false} - defaultIndex={1} - /> - - - - - ) -} diff --git a/deprecated/www/__registry__/default/blocks/chart-tooltip-indicator-line.tsx b/deprecated/www/__registry__/default/blocks/chart-tooltip-indicator-line.tsx deleted file mode 100644 index 8f59a417cd..0000000000 --- a/deprecated/www/__registry__/default/blocks/chart-tooltip-indicator-line.tsx +++ /dev/null @@ -1,87 +0,0 @@ -"use client" - -import { Bar, BarChart, XAxis } from "recharts" - -import { - Card, - CardContent, - CardDescription, - CardHeader, - CardTitle, -} from "@/registry/default/ui/card" -import { - ChartConfig, - ChartContainer, - ChartTooltip, - ChartTooltipContent, -} from "@/registry/default/ui/chart" - -export const description = "A stacked bar chart with a legend" -export const iframeHeight = "600px" -export const containerClassName = - "[&>div]:w-full [&>div]:max-w-md flex items-center justify-center min-h-svh" - -const chartData = [ - { date: "2024-07-15", running: 450, swimming: 300 }, - { date: "2024-07-16", running: 380, swimming: 420 }, - { date: "2024-07-17", running: 520, swimming: 120 }, - { date: "2024-07-18", running: 140, swimming: 550 }, - { date: "2024-07-19", running: 600, swimming: 350 }, - { date: "2024-07-20", running: 480, swimming: 400 }, -] - -const chartConfig = { - running: { - label: "Running", - color: "hsl(var(--chart-1))", - }, - swimming: { - label: "Swimming", - color: "hsl(var(--chart-2))", - }, -} satisfies ChartConfig - -export default function Component() { - return ( - - - Tooltip - Line Indicator - Tooltip with line indicator. - - - - - { - return new Date(value).toLocaleDateString("en-US", { - weekday: "short", - }) - }} - /> - - - } - cursor={false} - defaultIndex={1} - /> - - - - - ) -} diff --git a/deprecated/www/__registry__/default/blocks/chart-tooltip-indicator-none.tsx b/deprecated/www/__registry__/default/blocks/chart-tooltip-indicator-none.tsx deleted file mode 100644 index 52c3790224..0000000000 --- a/deprecated/www/__registry__/default/blocks/chart-tooltip-indicator-none.tsx +++ /dev/null @@ -1,84 +0,0 @@ -"use client" - -import { Bar, BarChart, XAxis } from "recharts" - -import { - Card, - CardContent, - CardDescription, - CardHeader, - CardTitle, -} from "@/registry/default/ui/card" -import { - ChartConfig, - ChartContainer, - ChartTooltip, - ChartTooltipContent, -} from "@/registry/default/ui/chart" - -export const description = "A stacked bar chart with a legend" - -const chartData = [ - { date: "2024-07-15", running: 450, swimming: 300 }, - { date: "2024-07-16", running: 380, swimming: 420 }, - { date: "2024-07-17", running: 520, swimming: 120 }, - { date: "2024-07-18", running: 140, swimming: 550 }, - { date: "2024-07-19", running: 600, swimming: 350 }, - { date: "2024-07-20", running: 480, swimming: 400 }, -] - -const chartConfig = { - running: { - label: "Running", - color: "hsl(var(--chart-1))", - }, - swimming: { - label: "Swimming", - color: "hsl(var(--chart-2))", - }, -} satisfies ChartConfig - -export default function Component() { - return ( - - - Tooltip - No Indicator - Tooltip with no indicator. - - - - - { - return new Date(value).toLocaleDateString("en-US", { - weekday: "short", - }) - }} - /> - - - } - cursor={false} - defaultIndex={1} - /> - - - - - ) -} diff --git a/deprecated/www/__registry__/default/blocks/chart-tooltip-label-custom.tsx b/deprecated/www/__registry__/default/blocks/chart-tooltip-label-custom.tsx deleted file mode 100644 index ebd735e075..0000000000 --- a/deprecated/www/__registry__/default/blocks/chart-tooltip-label-custom.tsx +++ /dev/null @@ -1,91 +0,0 @@ -"use client" - -import { Bar, BarChart, XAxis } from "recharts" - -import { - Card, - CardContent, - CardDescription, - CardHeader, - CardTitle, -} from "@/registry/default/ui/card" -import { - ChartConfig, - ChartContainer, - ChartTooltip, - ChartTooltipContent, -} from "@/registry/default/ui/chart" - -export const description = "A stacked bar chart with a legend" - -const chartData = [ - { date: "2024-07-15", running: 450, swimming: 300 }, - { date: "2024-07-16", running: 380, swimming: 420 }, - { date: "2024-07-17", running: 520, swimming: 120 }, - { date: "2024-07-18", running: 140, swimming: 550 }, - { date: "2024-07-19", running: 600, swimming: 350 }, - { date: "2024-07-20", running: 480, swimming: 400 }, -] - -const chartConfig = { - activities: { - label: "Activities", - }, - running: { - label: "Running", - color: "hsl(var(--chart-1))", - }, - swimming: { - label: "Swimming", - color: "hsl(var(--chart-2))", - }, -} satisfies ChartConfig - -export default function Component() { - return ( - - - Tooltip - Custom label - - Tooltip with custom label from chartConfig. - - - - - - { - return new Date(value).toLocaleDateString("en-US", { - weekday: "short", - }) - }} - /> - - - - } - cursor={false} - defaultIndex={1} - /> - - - - - ) -} diff --git a/deprecated/www/__registry__/default/blocks/chart-tooltip-label-formatter.tsx b/deprecated/www/__registry__/default/blocks/chart-tooltip-label-formatter.tsx deleted file mode 100644 index ed1173c5b7..0000000000 --- a/deprecated/www/__registry__/default/blocks/chart-tooltip-label-formatter.tsx +++ /dev/null @@ -1,94 +0,0 @@ -"use client" - -import { Bar, BarChart, XAxis } from "recharts" - -import { - Card, - CardContent, - CardDescription, - CardHeader, - CardTitle, -} from "@/registry/default/ui/card" -import { - ChartConfig, - ChartContainer, - ChartTooltip, - ChartTooltipContent, -} from "@/registry/default/ui/chart" - -export const description = "A stacked bar chart with a legend" - -const chartData = [ - { date: "2024-07-15", running: 450, swimming: 300 }, - { date: "2024-07-16", running: 380, swimming: 420 }, - { date: "2024-07-17", running: 520, swimming: 120 }, - { date: "2024-07-18", running: 140, swimming: 550 }, - { date: "2024-07-19", running: 600, swimming: 350 }, - { date: "2024-07-20", running: 480, swimming: 400 }, -] - -const chartConfig = { - running: { - label: "Running", - color: "hsl(var(--chart-1))", - }, - swimming: { - label: "Swimming", - color: "hsl(var(--chart-2))", - }, -} satisfies ChartConfig - -export default function Component() { - return ( - - - Tooltip - Label Formatter - Tooltip with label formatter. - - - - - { - return new Date(value).toLocaleDateString("en-US", { - weekday: "short", - }) - }} - /> - - - { - return new Date(value).toLocaleDateString("en-US", { - day: "numeric", - month: "long", - year: "numeric", - }) - }} - /> - } - cursor={false} - defaultIndex={1} - /> - - - - - ) -} diff --git a/deprecated/www/__registry__/default/blocks/chart-tooltip-label-none.tsx b/deprecated/www/__registry__/default/blocks/chart-tooltip-label-none.tsx deleted file mode 100644 index 4aadf3fc79..0000000000 --- a/deprecated/www/__registry__/default/blocks/chart-tooltip-label-none.tsx +++ /dev/null @@ -1,84 +0,0 @@ -"use client" - -import { Bar, BarChart, XAxis } from "recharts" - -import { - Card, - CardContent, - CardDescription, - CardHeader, - CardTitle, -} from "@/registry/default/ui/card" -import { - ChartConfig, - ChartContainer, - ChartTooltip, - ChartTooltipContent, -} from "@/registry/default/ui/chart" - -export const description = "A stacked bar chart with a legend" - -const chartData = [ - { date: "2024-07-15", running: 450, swimming: 300 }, - { date: "2024-07-16", running: 380, swimming: 420 }, - { date: "2024-07-17", running: 520, swimming: 120 }, - { date: "2024-07-18", running: 140, swimming: 550 }, - { date: "2024-07-19", running: 600, swimming: 350 }, - { date: "2024-07-20", running: 480, swimming: 400 }, -] - -const chartConfig = { - running: { - label: "Running", - color: "hsl(var(--chart-1))", - }, - swimming: { - label: "Swimming", - color: "hsl(var(--chart-2))", - }, -} satisfies ChartConfig - -export default function Component() { - return ( - - - Tooltip - No Label - Tooltip with no label. - - - - - { - return new Date(value).toLocaleDateString("en-US", { - weekday: "short", - }) - }} - /> - - - } - cursor={false} - defaultIndex={1} - /> - - - - - ) -} diff --git a/deprecated/www/__registry__/default/blocks/dashboard-01/page.tsx b/deprecated/www/__registry__/default/blocks/dashboard-01/page.tsx deleted file mode 100644 index 083e2a7f01..0000000000 --- a/deprecated/www/__registry__/default/blocks/dashboard-01/page.tsx +++ /dev/null @@ -1,30 +0,0 @@ -import { AppSidebar } from "@/registry/default/blocks/dashboard-01/components/app-sidebar" -import { ChartAreaInteractive } from "@/registry/default/blocks/dashboard-01/components/chart-area-interactive" -import { DataTable } from "@/registry/default/blocks/dashboard-01/components/data-table" -import { SectionCards } from "@/registry/default/blocks/dashboard-01/components/section-cards" -import { SiteHeader } from "@/registry/default/blocks/dashboard-01/components/site-header" -import { SidebarInset, SidebarProvider } from "@/registry/default/ui/sidebar" - -import data from "./data.json" - -export default function Page() { - return ( - - - - -
-
-
- -
- -
- -
-
-
-
-
- ) -} diff --git a/deprecated/www/__registry__/default/blocks/login-01/page.tsx b/deprecated/www/__registry__/default/blocks/login-01/page.tsx deleted file mode 100644 index 6e1c2cb4db..0000000000 --- a/deprecated/www/__registry__/default/blocks/login-01/page.tsx +++ /dev/null @@ -1,11 +0,0 @@ -import { LoginForm } from "@/registry/default/blocks/login-01/components/login-form" - -export default function Page() { - return ( -
-
- -
-
- ) -} diff --git a/deprecated/www/__registry__/default/blocks/login-02/page.tsx b/deprecated/www/__registry__/default/blocks/login-02/page.tsx deleted file mode 100644 index 56b73d3246..0000000000 --- a/deprecated/www/__registry__/default/blocks/login-02/page.tsx +++ /dev/null @@ -1,32 +0,0 @@ -import { GalleryVerticalEnd } from "lucide-react" - -import { LoginForm } from "@/registry/default/blocks/login-02/components/login-form" - -export default function LoginPage() { - return ( -
-
- -
-
- -
-
-
-
- Image -
-
- ) -} diff --git a/deprecated/www/__registry__/default/blocks/login-03/page.tsx b/deprecated/www/__registry__/default/blocks/login-03/page.tsx deleted file mode 100644 index 15a0ca451c..0000000000 --- a/deprecated/www/__registry__/default/blocks/login-03/page.tsx +++ /dev/null @@ -1,19 +0,0 @@ -import { GalleryVerticalEnd } from "lucide-react" - -import { LoginForm } from "@/registry/default/blocks/login-03/components/login-form" - -export default function LoginPage() { - return ( - - ) -} diff --git a/deprecated/www/__registry__/default/blocks/login-04/page.tsx b/deprecated/www/__registry__/default/blocks/login-04/page.tsx deleted file mode 100644 index d302b4fa44..0000000000 --- a/deprecated/www/__registry__/default/blocks/login-04/page.tsx +++ /dev/null @@ -1,11 +0,0 @@ -import { LoginForm } from "@/registry/default/blocks/login-04/components/login-form" - -export default function LoginPage() { - return ( -
-
- -
-
- ) -} diff --git a/deprecated/www/__registry__/default/blocks/login-05/page.tsx b/deprecated/www/__registry__/default/blocks/login-05/page.tsx deleted file mode 100644 index b9baa00d53..0000000000 --- a/deprecated/www/__registry__/default/blocks/login-05/page.tsx +++ /dev/null @@ -1,11 +0,0 @@ -import { LoginForm } from "@/registry/default/blocks/login-05/components/login-form" - -export default function LoginPage() { - return ( -
-
- -
-
- ) -} diff --git a/deprecated/www/__registry__/default/blocks/sidebar-01/page.tsx b/deprecated/www/__registry__/default/blocks/sidebar-01/page.tsx deleted file mode 100644 index 090e3eb248..0000000000 --- a/deprecated/www/__registry__/default/blocks/sidebar-01/page.tsx +++ /dev/null @@ -1,50 +0,0 @@ -import { AppSidebar } from "@/registry/default/blocks/sidebar-01/components/app-sidebar" -import { - Breadcrumb, - BreadcrumbItem, - BreadcrumbLink, - BreadcrumbList, - BreadcrumbPage, - BreadcrumbSeparator, -} from "@/registry/default/ui/breadcrumb" -import { Separator } from "@/registry/default/ui/separator" -import { - SidebarInset, - SidebarProvider, - SidebarTrigger, -} from "@/registry/default/ui/sidebar" - -export default function Page() { - return ( - - - -
- - - - - - - Building Your Application - - - - - Data Fetching - - - -
-
-
-
-
-
-
-
-
- - - ) -} diff --git a/deprecated/www/__registry__/default/blocks/sidebar-02/page.tsx b/deprecated/www/__registry__/default/blocks/sidebar-02/page.tsx deleted file mode 100644 index 179af7cf28..0000000000 --- a/deprecated/www/__registry__/default/blocks/sidebar-02/page.tsx +++ /dev/null @@ -1,50 +0,0 @@ -import { AppSidebar } from "@/registry/default/blocks/sidebar-02/components/app-sidebar" -import { - Breadcrumb, - BreadcrumbItem, - BreadcrumbLink, - BreadcrumbList, - BreadcrumbPage, - BreadcrumbSeparator, -} from "@/registry/default/ui/breadcrumb" -import { Separator } from "@/registry/default/ui/separator" -import { - SidebarInset, - SidebarProvider, - SidebarTrigger, -} from "@/registry/default/ui/sidebar" - -export default function Page() { - return ( - - - -
- - - - - - - Building Your Application - - - - - Data Fetching - - - -
-
- {Array.from({ length: 24 }).map((_, index) => ( -
- ))} -
- - - ) -} diff --git a/deprecated/www/__registry__/default/blocks/sidebar-03/page.tsx b/deprecated/www/__registry__/default/blocks/sidebar-03/page.tsx deleted file mode 100644 index a3b34b1080..0000000000 --- a/deprecated/www/__registry__/default/blocks/sidebar-03/page.tsx +++ /dev/null @@ -1,52 +0,0 @@ -import { AppSidebar } from "@/registry/default/blocks/sidebar-03/components/app-sidebar" -import { - Breadcrumb, - BreadcrumbItem, - BreadcrumbLink, - BreadcrumbList, - BreadcrumbPage, - BreadcrumbSeparator, -} from "@/registry/default/ui/breadcrumb" -import { Separator } from "@/registry/default/ui/separator" -import { - SidebarInset, - SidebarProvider, - SidebarTrigger, -} from "@/registry/default/ui/sidebar" - -export default function Page() { - return ( - - - -
-
- - - - - - - Building Your Application - - - - - Data Fetching - - - -
-
-
-
-
-
-
-
-
-
- - - ) -} diff --git a/deprecated/www/__registry__/default/blocks/sidebar-04/page.tsx b/deprecated/www/__registry__/default/blocks/sidebar-04/page.tsx deleted file mode 100644 index 8a0dbbff75..0000000000 --- a/deprecated/www/__registry__/default/blocks/sidebar-04/page.tsx +++ /dev/null @@ -1,56 +0,0 @@ -import { AppSidebar } from "@/registry/default/blocks/sidebar-04/components/app-sidebar" -import { - Breadcrumb, - BreadcrumbItem, - BreadcrumbLink, - BreadcrumbList, - BreadcrumbPage, - BreadcrumbSeparator, -} from "@/registry/default/ui/breadcrumb" -import { Separator } from "@/registry/default/ui/separator" -import { - SidebarInset, - SidebarProvider, - SidebarTrigger, -} from "@/registry/default/ui/sidebar" - -export default function Page() { - return ( - - - -
- - - - - - - Building Your Application - - - - - Data Fetching - - - -
-
-
-
-
-
-
-
-
- - - ) -} diff --git a/deprecated/www/__registry__/default/blocks/sidebar-05/page.tsx b/deprecated/www/__registry__/default/blocks/sidebar-05/page.tsx deleted file mode 100644 index 3bfc7a8b3f..0000000000 --- a/deprecated/www/__registry__/default/blocks/sidebar-05/page.tsx +++ /dev/null @@ -1,50 +0,0 @@ -import { AppSidebar } from "@/registry/default/blocks/sidebar-05/components/app-sidebar" -import { - Breadcrumb, - BreadcrumbItem, - BreadcrumbLink, - BreadcrumbList, - BreadcrumbPage, - BreadcrumbSeparator, -} from "@/registry/default/ui/breadcrumb" -import { Separator } from "@/registry/default/ui/separator" -import { - SidebarInset, - SidebarProvider, - SidebarTrigger, -} from "@/registry/default/ui/sidebar" - -export default function Page() { - return ( - - - -
- - - - - - - Building Your Application - - - - - Data Fetching - - - -
-
-
-
-
-
-
-
-
- - - ) -} diff --git a/deprecated/www/__registry__/default/blocks/sidebar-06/page.tsx b/deprecated/www/__registry__/default/blocks/sidebar-06/page.tsx deleted file mode 100644 index 028a7ba620..0000000000 --- a/deprecated/www/__registry__/default/blocks/sidebar-06/page.tsx +++ /dev/null @@ -1,50 +0,0 @@ -import { AppSidebar } from "@/registry/default/blocks/sidebar-06/components/app-sidebar" -import { - Breadcrumb, - BreadcrumbItem, - BreadcrumbLink, - BreadcrumbList, - BreadcrumbPage, - BreadcrumbSeparator, -} from "@/registry/default/ui/breadcrumb" -import { Separator } from "@/registry/default/ui/separator" -import { - SidebarInset, - SidebarProvider, - SidebarTrigger, -} from "@/registry/default/ui/sidebar" - -export default function Page() { - return ( - - - -
- - - - - - - Building Your Application - - - - - Data Fetching - - - -
-
-
-
-
-
-
-
-
- - - ) -} diff --git a/deprecated/www/__registry__/default/blocks/sidebar-07/page.tsx b/deprecated/www/__registry__/default/blocks/sidebar-07/page.tsx deleted file mode 100644 index 1627996458..0000000000 --- a/deprecated/www/__registry__/default/blocks/sidebar-07/page.tsx +++ /dev/null @@ -1,52 +0,0 @@ -import { AppSidebar } from "@/registry/default/blocks/sidebar-07/components/app-sidebar" -import { - Breadcrumb, - BreadcrumbItem, - BreadcrumbLink, - BreadcrumbList, - BreadcrumbPage, - BreadcrumbSeparator, -} from "@/registry/default/ui/breadcrumb" -import { Separator } from "@/registry/default/ui/separator" -import { - SidebarInset, - SidebarProvider, - SidebarTrigger, -} from "@/registry/default/ui/sidebar" - -export default function Page() { - return ( - - - -
-
- - - - - - - Building Your Application - - - - - Data Fetching - - - -
-
-
-
-
-
-
-
-
-
- - - ) -} diff --git a/deprecated/www/__registry__/default/blocks/sidebar-08/page.tsx b/deprecated/www/__registry__/default/blocks/sidebar-08/page.tsx deleted file mode 100644 index 052b62b38c..0000000000 --- a/deprecated/www/__registry__/default/blocks/sidebar-08/page.tsx +++ /dev/null @@ -1,52 +0,0 @@ -import { AppSidebar } from "@/registry/default/blocks/sidebar-08/components/app-sidebar" -import { - Breadcrumb, - BreadcrumbItem, - BreadcrumbLink, - BreadcrumbList, - BreadcrumbPage, - BreadcrumbSeparator, -} from "@/registry/default/ui/breadcrumb" -import { Separator } from "@/registry/default/ui/separator" -import { - SidebarInset, - SidebarProvider, - SidebarTrigger, -} from "@/registry/default/ui/sidebar" - -export default function Page() { - return ( - - - -
-
- - - - - - - Building Your Application - - - - - Data Fetching - - - -
-
-
-
-
-
-
-
-
-
- - - ) -} diff --git a/deprecated/www/__registry__/default/blocks/sidebar-09/page.tsx b/deprecated/www/__registry__/default/blocks/sidebar-09/page.tsx deleted file mode 100644 index 6ed155ad79..0000000000 --- a/deprecated/www/__registry__/default/blocks/sidebar-09/page.tsx +++ /dev/null @@ -1,54 +0,0 @@ -import { AppSidebar } from "@/registry/default/blocks/sidebar-09/components/app-sidebar" -import { - Breadcrumb, - BreadcrumbItem, - BreadcrumbLink, - BreadcrumbList, - BreadcrumbPage, - BreadcrumbSeparator, -} from "@/registry/default/ui/breadcrumb" -import { Separator } from "@/registry/default/ui/separator" -import { - SidebarInset, - SidebarProvider, - SidebarTrigger, -} from "@/registry/default/ui/sidebar" - -export default function Page() { - return ( - - - -
- - - - - - All Inboxes - - - - Inbox - - - -
-
- {Array.from({ length: 24 }).map((_, index) => ( -
- ))} -
- - - ) -} diff --git a/deprecated/www/__registry__/default/blocks/sidebar-10/page.tsx b/deprecated/www/__registry__/default/blocks/sidebar-10/page.tsx deleted file mode 100644 index a357086005..0000000000 --- a/deprecated/www/__registry__/default/blocks/sidebar-10/page.tsx +++ /dev/null @@ -1,46 +0,0 @@ -import { AppSidebar } from "@/registry/default/blocks/sidebar-10/components/app-sidebar" -import { NavActions } from "@/registry/default/blocks/sidebar-10/components/nav-actions" -import { - Breadcrumb, - BreadcrumbItem, - BreadcrumbList, - BreadcrumbPage, -} from "@/registry/default/ui/breadcrumb" -import { Separator } from "@/registry/default/ui/separator" -import { - SidebarInset, - SidebarProvider, - SidebarTrigger, -} from "@/registry/default/ui/sidebar" - -export default function Page() { - return ( - - - -
-
- - - - - - - Project Management & Task Tracking - - - - -
-
- -
-
-
-
-
-
- - - ) -} diff --git a/deprecated/www/__registry__/default/blocks/sidebar-11/page.tsx b/deprecated/www/__registry__/default/blocks/sidebar-11/page.tsx deleted file mode 100644 index 3e60984c5e..0000000000 --- a/deprecated/www/__registry__/default/blocks/sidebar-11/page.tsx +++ /dev/null @@ -1,52 +0,0 @@ -import { AppSidebar } from "@/registry/default/blocks/sidebar-11/components/app-sidebar" -import { - Breadcrumb, - BreadcrumbItem, - BreadcrumbLink, - BreadcrumbList, - BreadcrumbPage, - BreadcrumbSeparator, -} from "@/registry/default/ui/breadcrumb" -import { Separator } from "@/registry/default/ui/separator" -import { - SidebarInset, - SidebarProvider, - SidebarTrigger, -} from "@/registry/default/ui/sidebar" - -export default function Page() { - return ( - - - -
- - - - - - components - - - - ui - - - - button.tsx - - - -
-
-
-
-
-
-
-
-
- - - ) -} diff --git a/deprecated/www/__registry__/default/blocks/sidebar-12/page.tsx b/deprecated/www/__registry__/default/blocks/sidebar-12/page.tsx deleted file mode 100644 index ac96a46026..0000000000 --- a/deprecated/www/__registry__/default/blocks/sidebar-12/page.tsx +++ /dev/null @@ -1,41 +0,0 @@ -import { AppSidebar } from "@/registry/default/blocks/sidebar-12/components/app-sidebar" -import { - Breadcrumb, - BreadcrumbItem, - BreadcrumbList, - BreadcrumbPage, -} from "@/registry/default/ui/breadcrumb" -import { Separator } from "@/registry/default/ui/separator" -import { - SidebarInset, - SidebarProvider, - SidebarTrigger, -} from "@/registry/default/ui/sidebar" - -export default function Page() { - return ( - - - -
- - - - - - October 2024 - - - -
-
-
- {Array.from({ length: 20 }).map((_, i) => ( -
- ))} -
-
- - - ) -} diff --git a/deprecated/www/__registry__/default/blocks/sidebar-13/page.tsx b/deprecated/www/__registry__/default/blocks/sidebar-13/page.tsx deleted file mode 100644 index 7bebc464af..0000000000 --- a/deprecated/www/__registry__/default/blocks/sidebar-13/page.tsx +++ /dev/null @@ -1,9 +0,0 @@ -import { SettingsDialog } from "@/registry/default/blocks/sidebar-13/components/settings-dialog" - -export default function Page() { - return ( -
- -
- ) -} diff --git a/deprecated/www/__registry__/default/blocks/sidebar-14/page.tsx b/deprecated/www/__registry__/default/blocks/sidebar-14/page.tsx deleted file mode 100644 index a299c067de..0000000000 --- a/deprecated/www/__registry__/default/blocks/sidebar-14/page.tsx +++ /dev/null @@ -1,48 +0,0 @@ -import { AppSidebar } from "@/registry/default/blocks/sidebar-14/components/app-sidebar" -import { - Breadcrumb, - BreadcrumbItem, - BreadcrumbLink, - BreadcrumbList, - BreadcrumbPage, - BreadcrumbSeparator, -} from "@/registry/default/ui/breadcrumb" -import { - SidebarInset, - SidebarProvider, - SidebarTrigger, -} from "@/registry/default/ui/sidebar" - -export default function Page() { - return ( - - -
- - - - - Building Your Application - - - - - Data Fetching - - - - -
-
-
-
-
-
-
-
-
- - - - ) -} diff --git a/deprecated/www/__registry__/default/blocks/sidebar-15/page.tsx b/deprecated/www/__registry__/default/blocks/sidebar-15/page.tsx deleted file mode 100644 index 3bf6087ece..0000000000 --- a/deprecated/www/__registry__/default/blocks/sidebar-15/page.tsx +++ /dev/null @@ -1,44 +0,0 @@ -import { SidebarLeft } from "@/registry/default/blocks/sidebar-15/components/sidebar-left" -import { SidebarRight } from "@/registry/default/blocks/sidebar-15/components/sidebar-right" -import { - Breadcrumb, - BreadcrumbItem, - BreadcrumbList, - BreadcrumbPage, -} from "@/registry/default/ui/breadcrumb" -import { Separator } from "@/registry/default/ui/separator" -import { - SidebarInset, - SidebarProvider, - SidebarTrigger, -} from "@/registry/default/ui/sidebar" - -export default function Page() { - return ( - - - -
-
- - - - - - - Project Management & Task Tracking - - - - -
-
-
-
-
-
- - - - ) -} diff --git a/deprecated/www/__registry__/default/blocks/sidebar-16/page.tsx b/deprecated/www/__registry__/default/blocks/sidebar-16/page.tsx deleted file mode 100644 index 01313fb14e..0000000000 --- a/deprecated/www/__registry__/default/blocks/sidebar-16/page.tsx +++ /dev/null @@ -1,30 +0,0 @@ -import { AppSidebar } from "@/registry/default/blocks/sidebar-16/components/app-sidebar" -import { SiteHeader } from "@/registry/default/blocks/sidebar-16/components/site-header" -import { SidebarInset, SidebarProvider } from "@/registry/default/ui/sidebar" - -export const iframeHeight = "800px" - -export const description = "A sidebar with a header and a search form." - -export default function Page() { - return ( -
- - -
- - -
-
-
-
-
-
-
-
- -
- -
- ) -} diff --git a/deprecated/www/__registry__/default/charts/chart-area-axes.tsx b/deprecated/www/__registry__/default/charts/chart-area-axes.tsx deleted file mode 100644 index e6c173dcb5..0000000000 --- a/deprecated/www/__registry__/default/charts/chart-area-axes.tsx +++ /dev/null @@ -1,110 +0,0 @@ -"use client" - -import { TrendingUp } from "lucide-react" -import { Area, AreaChart, CartesianGrid, XAxis, YAxis } from "recharts" - -import { - Card, - CardContent, - CardDescription, - CardFooter, - CardHeader, - CardTitle, -} from "@/registry/default/ui/card" -import { - ChartConfig, - ChartContainer, - ChartTooltip, - ChartTooltipContent, -} from "@/registry/default/ui/chart" - -export const description = "An area chart with axes" - -const chartData = [ - { month: "January", desktop: 186, mobile: 80 }, - { month: "February", desktop: 305, mobile: 200 }, - { month: "March", desktop: 237, mobile: 120 }, - { month: "April", desktop: 73, mobile: 190 }, - { month: "May", desktop: 209, mobile: 130 }, - { month: "June", desktop: 214, mobile: 140 }, -] - -const chartConfig = { - desktop: { - label: "Desktop", - color: "hsl(var(--chart-1))", - }, - mobile: { - label: "Mobile", - color: "hsl(var(--chart-2))", - }, -} satisfies ChartConfig - -export default function Component() { - return ( - - - Area Chart - Axes - - Showing total visitors for the last 6 months - - - - - - - value.slice(0, 3)} - /> - - } /> - - - - - - -
-
-
- Trending up by 5.2% this month -
-
- January - June 2024 -
-
-
-
-
- ) -} diff --git a/deprecated/www/__registry__/default/charts/chart-area-default.tsx b/deprecated/www/__registry__/default/charts/chart-area-default.tsx deleted file mode 100644 index 925eb60367..0000000000 --- a/deprecated/www/__registry__/default/charts/chart-area-default.tsx +++ /dev/null @@ -1,94 +0,0 @@ -"use client" - -import { TrendingUp } from "lucide-react" -import { Area, AreaChart, CartesianGrid, XAxis } from "recharts" - -import { - Card, - CardContent, - CardDescription, - CardFooter, - CardHeader, - CardTitle, -} from "@/registry/default/ui/card" -import { - ChartConfig, - ChartContainer, - ChartTooltip, - ChartTooltipContent, -} from "@/registry/default/ui/chart" - -export const description = "A simple area chart" - -const chartData = [ - { month: "January", desktop: 186 }, - { month: "February", desktop: 305 }, - { month: "March", desktop: 237 }, - { month: "April", desktop: 73 }, - { month: "May", desktop: 209 }, - { month: "June", desktop: 214 }, -] - -const chartConfig = { - desktop: { - label: "Desktop", - color: "hsl(var(--chart-1))", - }, -} satisfies ChartConfig - -export default function Component() { - return ( - - - Area Chart - - Showing total visitors for the last 6 months - - - - - - - value.slice(0, 3)} - /> - } - /> - - - - - -
-
-
- Trending up by 5.2% this month -
-
- January - June 2024 -
-
-
-
-
- ) -} diff --git a/deprecated/www/__registry__/default/charts/chart-area-gradient.tsx b/deprecated/www/__registry__/default/charts/chart-area-gradient.tsx deleted file mode 100644 index 0314f690fc..0000000000 --- a/deprecated/www/__registry__/default/charts/chart-area-gradient.tsx +++ /dev/null @@ -1,130 +0,0 @@ -"use client" - -import { TrendingUp } from "lucide-react" -import { Area, AreaChart, CartesianGrid, XAxis } from "recharts" - -import { - Card, - CardContent, - CardDescription, - CardFooter, - CardHeader, - CardTitle, -} from "@/registry/default/ui/card" -import { - ChartConfig, - ChartContainer, - ChartTooltip, - ChartTooltipContent, -} from "@/registry/default/ui/chart" - -export const description = "An area chart with gradient fill" - -const chartData = [ - { month: "January", desktop: 186, mobile: 80 }, - { month: "February", desktop: 305, mobile: 200 }, - { month: "March", desktop: 237, mobile: 120 }, - { month: "April", desktop: 73, mobile: 190 }, - { month: "May", desktop: 209, mobile: 130 }, - { month: "June", desktop: 214, mobile: 140 }, -] - -const chartConfig = { - desktop: { - label: "Desktop", - color: "hsl(var(--chart-1))", - }, - mobile: { - label: "Mobile", - color: "hsl(var(--chart-2))", - }, -} satisfies ChartConfig - -export default function Component() { - return ( - - - Area Chart - Gradient - - Showing total visitors for the last 6 months - - - - - - - value.slice(0, 3)} - /> - } /> - - - - - - - - - - - - - - - - -
-
-
- Trending up by 5.2% this month -
-
- January - June 2024 -
-
-
-
-
- ) -} diff --git a/deprecated/www/__registry__/default/charts/chart-area-icons.tsx b/deprecated/www/__registry__/default/charts/chart-area-icons.tsx deleted file mode 100644 index 05d2e4ef0b..0000000000 --- a/deprecated/www/__registry__/default/charts/chart-area-icons.tsx +++ /dev/null @@ -1,112 +0,0 @@ -"use client" - -import { TrendingDown, TrendingUp } from "lucide-react" -import { Area, AreaChart, CartesianGrid, XAxis } from "recharts" - -import { - Card, - CardContent, - CardDescription, - CardFooter, - CardHeader, - CardTitle, -} from "@/registry/default/ui/card" -import { - ChartConfig, - ChartContainer, - ChartLegend, - ChartLegendContent, - ChartTooltip, - ChartTooltipContent, -} from "@/registry/default/ui/chart" - -export const description = "An area chart with icons" - -const chartData = [ - { month: "January", desktop: 186, mobile: 80 }, - { month: "February", desktop: 305, mobile: 200 }, - { month: "March", desktop: 237, mobile: 120 }, - { month: "April", desktop: 73, mobile: 190 }, - { month: "May", desktop: 209, mobile: 130 }, - { month: "June", desktop: 214, mobile: 140 }, -] - -const chartConfig = { - desktop: { - label: "Desktop", - color: "hsl(var(--chart-1))", - icon: TrendingDown, - }, - mobile: { - label: "Mobile", - color: "hsl(var(--chart-2))", - icon: TrendingUp, - }, -} satisfies ChartConfig - -export default function Component() { - return ( - - - Area Chart - Icons - - Showing total visitors for the last 6 months - - - - - - - value.slice(0, 3)} - /> - } - /> - - - } /> - - - - -
-
-
- Trending up by 5.2% this month -
-
- January - June 2024 -
-
-
-
-
- ) -} diff --git a/deprecated/www/__registry__/default/charts/chart-area-interactive.tsx b/deprecated/www/__registry__/default/charts/chart-area-interactive.tsx deleted file mode 100644 index 16cbcca59f..0000000000 --- a/deprecated/www/__registry__/default/charts/chart-area-interactive.tsx +++ /dev/null @@ -1,266 +0,0 @@ -"use client" - -import * as React from "react" -import { Area, AreaChart, CartesianGrid, XAxis } from "recharts" - -import { - Card, - CardContent, - CardDescription, - CardHeader, - CardTitle, -} from "@/registry/default/ui/card" -import { - ChartConfig, - ChartContainer, - ChartLegend, - ChartLegendContent, - ChartTooltip, - ChartTooltipContent, -} from "@/registry/default/ui/chart" -import { - Select, - SelectContent, - SelectItem, - SelectTrigger, - SelectValue, -} from "@/registry/default/ui/select" - -export const description = "An interactive area chart" - -const chartData = [ - { date: "2024-04-01", desktop: 222, mobile: 150 }, - { date: "2024-04-02", desktop: 97, mobile: 180 }, - { date: "2024-04-03", desktop: 167, mobile: 120 }, - { date: "2024-04-04", desktop: 242, mobile: 260 }, - { date: "2024-04-05", desktop: 373, mobile: 290 }, - { date: "2024-04-06", desktop: 301, mobile: 340 }, - { date: "2024-04-07", desktop: 245, mobile: 180 }, - { date: "2024-04-08", desktop: 409, mobile: 320 }, - { date: "2024-04-09", desktop: 59, mobile: 110 }, - { date: "2024-04-10", desktop: 261, mobile: 190 }, - { date: "2024-04-11", desktop: 327, mobile: 350 }, - { date: "2024-04-12", desktop: 292, mobile: 210 }, - { date: "2024-04-13", desktop: 342, mobile: 380 }, - { date: "2024-04-14", desktop: 137, mobile: 220 }, - { date: "2024-04-15", desktop: 120, mobile: 170 }, - { date: "2024-04-16", desktop: 138, mobile: 190 }, - { date: "2024-04-17", desktop: 446, mobile: 360 }, - { date: "2024-04-18", desktop: 364, mobile: 410 }, - { date: "2024-04-19", desktop: 243, mobile: 180 }, - { date: "2024-04-20", desktop: 89, mobile: 150 }, - { date: "2024-04-21", desktop: 137, mobile: 200 }, - { date: "2024-04-22", desktop: 224, mobile: 170 }, - { date: "2024-04-23", desktop: 138, mobile: 230 }, - { date: "2024-04-24", desktop: 387, mobile: 290 }, - { date: "2024-04-25", desktop: 215, mobile: 250 }, - { date: "2024-04-26", desktop: 75, mobile: 130 }, - { date: "2024-04-27", desktop: 383, mobile: 420 }, - { date: "2024-04-28", desktop: 122, mobile: 180 }, - { date: "2024-04-29", desktop: 315, mobile: 240 }, - { date: "2024-04-30", desktop: 454, mobile: 380 }, - { date: "2024-05-01", desktop: 165, mobile: 220 }, - { date: "2024-05-02", desktop: 293, mobile: 310 }, - { date: "2024-05-03", desktop: 247, mobile: 190 }, - { date: "2024-05-04", desktop: 385, mobile: 420 }, - { date: "2024-05-05", desktop: 481, mobile: 390 }, - { date: "2024-05-06", desktop: 498, mobile: 520 }, - { date: "2024-05-07", desktop: 388, mobile: 300 }, - { date: "2024-05-08", desktop: 149, mobile: 210 }, - { date: "2024-05-09", desktop: 227, mobile: 180 }, - { date: "2024-05-10", desktop: 293, mobile: 330 }, - { date: "2024-05-11", desktop: 335, mobile: 270 }, - { date: "2024-05-12", desktop: 197, mobile: 240 }, - { date: "2024-05-13", desktop: 197, mobile: 160 }, - { date: "2024-05-14", desktop: 448, mobile: 490 }, - { date: "2024-05-15", desktop: 473, mobile: 380 }, - { date: "2024-05-16", desktop: 338, mobile: 400 }, - { date: "2024-05-17", desktop: 499, mobile: 420 }, - { date: "2024-05-18", desktop: 315, mobile: 350 }, - { date: "2024-05-19", desktop: 235, mobile: 180 }, - { date: "2024-05-20", desktop: 177, mobile: 230 }, - { date: "2024-05-21", desktop: 82, mobile: 140 }, - { date: "2024-05-22", desktop: 81, mobile: 120 }, - { date: "2024-05-23", desktop: 252, mobile: 290 }, - { date: "2024-05-24", desktop: 294, mobile: 220 }, - { date: "2024-05-25", desktop: 201, mobile: 250 }, - { date: "2024-05-26", desktop: 213, mobile: 170 }, - { date: "2024-05-27", desktop: 420, mobile: 460 }, - { date: "2024-05-28", desktop: 233, mobile: 190 }, - { date: "2024-05-29", desktop: 78, mobile: 130 }, - { date: "2024-05-30", desktop: 340, mobile: 280 }, - { date: "2024-05-31", desktop: 178, mobile: 230 }, - { date: "2024-06-01", desktop: 178, mobile: 200 }, - { date: "2024-06-02", desktop: 470, mobile: 410 }, - { date: "2024-06-03", desktop: 103, mobile: 160 }, - { date: "2024-06-04", desktop: 439, mobile: 380 }, - { date: "2024-06-05", desktop: 88, mobile: 140 }, - { date: "2024-06-06", desktop: 294, mobile: 250 }, - { date: "2024-06-07", desktop: 323, mobile: 370 }, - { date: "2024-06-08", desktop: 385, mobile: 320 }, - { date: "2024-06-09", desktop: 438, mobile: 480 }, - { date: "2024-06-10", desktop: 155, mobile: 200 }, - { date: "2024-06-11", desktop: 92, mobile: 150 }, - { date: "2024-06-12", desktop: 492, mobile: 420 }, - { date: "2024-06-13", desktop: 81, mobile: 130 }, - { date: "2024-06-14", desktop: 426, mobile: 380 }, - { date: "2024-06-15", desktop: 307, mobile: 350 }, - { date: "2024-06-16", desktop: 371, mobile: 310 }, - { date: "2024-06-17", desktop: 475, mobile: 520 }, - { date: "2024-06-18", desktop: 107, mobile: 170 }, - { date: "2024-06-19", desktop: 341, mobile: 290 }, - { date: "2024-06-20", desktop: 408, mobile: 450 }, - { date: "2024-06-21", desktop: 169, mobile: 210 }, - { date: "2024-06-22", desktop: 317, mobile: 270 }, - { date: "2024-06-23", desktop: 480, mobile: 530 }, - { date: "2024-06-24", desktop: 132, mobile: 180 }, - { date: "2024-06-25", desktop: 141, mobile: 190 }, - { date: "2024-06-26", desktop: 434, mobile: 380 }, - { date: "2024-06-27", desktop: 448, mobile: 490 }, - { date: "2024-06-28", desktop: 149, mobile: 200 }, - { date: "2024-06-29", desktop: 103, mobile: 160 }, - { date: "2024-06-30", desktop: 446, mobile: 400 }, -] - -const chartConfig = { - visitors: { - label: "Visitors", - }, - desktop: { - label: "Desktop", - color: "hsl(var(--chart-1))", - }, - mobile: { - label: "Mobile", - color: "hsl(var(--chart-2))", - }, -} satisfies ChartConfig - -export default function Component() { - const [timeRange, setTimeRange] = React.useState("90d") - - const filteredData = chartData.filter((item) => { - const date = new Date(item.date) - const referenceDate = new Date("2024-06-30") - let daysToSubtract = 90 - if (timeRange === "30d") { - daysToSubtract = 30 - } else if (timeRange === "7d") { - daysToSubtract = 7 - } - const startDate = new Date(referenceDate) - startDate.setDate(startDate.getDate() - daysToSubtract) - return date >= startDate - }) - - return ( - - -
- Area Chart - Interactive - - Showing total visitors for the last 3 months - -
- -
- - - - - - - - - - - - - - - { - const date = new Date(value) - return date.toLocaleDateString("en-US", { - month: "short", - day: "numeric", - }) - }} - /> - { - return new Date(value).toLocaleDateString("en-US", { - month: "short", - day: "numeric", - }) - }} - indicator="dot" - /> - } - /> - - - } /> - - - -
- ) -} diff --git a/deprecated/www/__registry__/default/charts/chart-area-legend.tsx b/deprecated/www/__registry__/default/charts/chart-area-legend.tsx deleted file mode 100644 index 9d7cfe3d1e..0000000000 --- a/deprecated/www/__registry__/default/charts/chart-area-legend.tsx +++ /dev/null @@ -1,110 +0,0 @@ -"use client" - -import { TrendingUp } from "lucide-react" -import { Area, AreaChart, CartesianGrid, XAxis } from "recharts" - -import { - Card, - CardContent, - CardDescription, - CardFooter, - CardHeader, - CardTitle, -} from "@/registry/default/ui/card" -import { - ChartConfig, - ChartContainer, - ChartLegend, - ChartLegendContent, - ChartTooltip, - ChartTooltipContent, -} from "@/registry/default/ui/chart" - -export const description = "An area chart with a legend" - -const chartData = [ - { month: "January", desktop: 186, mobile: 80 }, - { month: "February", desktop: 305, mobile: 200 }, - { month: "March", desktop: 237, mobile: 120 }, - { month: "April", desktop: 73, mobile: 190 }, - { month: "May", desktop: 209, mobile: 130 }, - { month: "June", desktop: 214, mobile: 140 }, -] - -const chartConfig = { - desktop: { - label: "Desktop", - color: "hsl(var(--chart-1))", - }, - mobile: { - label: "Mobile", - color: "hsl(var(--chart-2))", - }, -} satisfies ChartConfig - -export default function Component() { - return ( - - - Area Chart - Legend - - Showing total visitors for the last 6 months - - - - - - - value.slice(0, 3)} - /> - } - /> - - - } /> - - - - -
-
-
- Trending up by 5.2% this month -
-
- January - June 2024 -
-
-
-
-
- ) -} diff --git a/deprecated/www/__registry__/default/charts/chart-area-linear.tsx b/deprecated/www/__registry__/default/charts/chart-area-linear.tsx deleted file mode 100644 index 4e58417994..0000000000 --- a/deprecated/www/__registry__/default/charts/chart-area-linear.tsx +++ /dev/null @@ -1,94 +0,0 @@ -"use client" - -import { TrendingUp } from "lucide-react" -import { Area, AreaChart, CartesianGrid, XAxis } from "recharts" - -import { - Card, - CardContent, - CardDescription, - CardFooter, - CardHeader, - CardTitle, -} from "@/registry/default/ui/card" -import { - ChartConfig, - ChartContainer, - ChartTooltip, - ChartTooltipContent, -} from "@/registry/default/ui/chart" - -export const description = "A linear area chart" - -const chartData = [ - { month: "January", desktop: 186 }, - { month: "February", desktop: 305 }, - { month: "March", desktop: 237 }, - { month: "April", desktop: 73 }, - { month: "May", desktop: 209 }, - { month: "June", desktop: 214 }, -] - -const chartConfig = { - desktop: { - label: "Desktop", - color: "hsl(var(--chart-1))", - }, -} satisfies ChartConfig - -export default function Component() { - return ( - - - Area Chart - Linear - - Showing total visitors for the last 6 months - - - - - - - value.slice(0, 3)} - /> - } - /> - - - - - -
-
-
- Trending up by 5.2% this month -
-
- January - June 2024 -
-
-
-
-
- ) -} diff --git a/deprecated/www/__registry__/default/charts/chart-area-stacked-expand.tsx b/deprecated/www/__registry__/default/charts/chart-area-stacked-expand.tsx deleted file mode 100644 index ab66f89565..0000000000 --- a/deprecated/www/__registry__/default/charts/chart-area-stacked-expand.tsx +++ /dev/null @@ -1,121 +0,0 @@ -"use client" - -import { TrendingUp } from "lucide-react" -import { Area, AreaChart, CartesianGrid, XAxis } from "recharts" - -import { - Card, - CardContent, - CardDescription, - CardFooter, - CardHeader, - CardTitle, -} from "@/registry/default/ui/card" -import { - ChartConfig, - ChartContainer, - ChartTooltip, - ChartTooltipContent, -} from "@/registry/default/ui/chart" - -export const description = "A stacked area chart with expand stacking" - -const chartData = [ - { month: "January", desktop: 186, mobile: 80, other: 45 }, - { month: "February", desktop: 305, mobile: 200, other: 100 }, - { month: "March", desktop: 237, mobile: 120, other: 150 }, - { month: "April", desktop: 73, mobile: 190, other: 50 }, - { month: "May", desktop: 209, mobile: 130, other: 100 }, - { month: "June", desktop: 214, mobile: 140, other: 160 }, -] - -const chartConfig = { - desktop: { - label: "Desktop", - color: "hsl(var(--chart-1))", - }, - mobile: { - label: "Mobile", - color: "hsl(var(--chart-2))", - }, - other: { - label: "Other", - color: "hsl(var(--chart-3))", - }, -} satisfies ChartConfig - -export default function Component() { - return ( - - - Area Chart - Stacked Expanded - - Showing total visitors for the last 6months - - - - - - - value.slice(0, 3)} - /> - } - /> - - - - - - - -
-
-
- Trending up by 5.2% this month -
-
- January - June 2024 -
-
-
-
-
- ) -} diff --git a/deprecated/www/__registry__/default/charts/chart-area-stacked.tsx b/deprecated/www/__registry__/default/charts/chart-area-stacked.tsx deleted file mode 100644 index 3820dd7a7b..0000000000 --- a/deprecated/www/__registry__/default/charts/chart-area-stacked.tsx +++ /dev/null @@ -1,107 +0,0 @@ -"use client" - -import { TrendingUp } from "lucide-react" -import { Area, AreaChart, CartesianGrid, XAxis } from "recharts" - -import { - Card, - CardContent, - CardDescription, - CardFooter, - CardHeader, - CardTitle, -} from "@/registry/default/ui/card" -import { - ChartConfig, - ChartContainer, - ChartTooltip, - ChartTooltipContent, -} from "@/registry/default/ui/chart" - -export const description = "A stacked area chart" - -const chartData = [ - { month: "January", desktop: 186, mobile: 80 }, - { month: "February", desktop: 305, mobile: 200 }, - { month: "March", desktop: 237, mobile: 120 }, - { month: "April", desktop: 73, mobile: 190 }, - { month: "May", desktop: 209, mobile: 130 }, - { month: "June", desktop: 214, mobile: 140 }, -] - -const chartConfig = { - desktop: { - label: "Desktop", - color: "hsl(var(--chart-1))", - }, - mobile: { - label: "Mobile", - color: "hsl(var(--chart-2))", - }, -} satisfies ChartConfig - -export default function Component() { - return ( - - - Area Chart - Stacked - - Showing total visitors for the last 6 months - - - - - - - value.slice(0, 3)} - /> - } - /> - - - - - - -
-
-
- Trending up by 5.2% this month -
-
- January - June 2024 -
-
-
-
-
- ) -} diff --git a/deprecated/www/__registry__/default/charts/chart-area-step.tsx b/deprecated/www/__registry__/default/charts/chart-area-step.tsx deleted file mode 100644 index 4ca6623d26..0000000000 --- a/deprecated/www/__registry__/default/charts/chart-area-step.tsx +++ /dev/null @@ -1,95 +0,0 @@ -"use client" - -import { Activity, TrendingUp } from "lucide-react" -import { Area, AreaChart, CartesianGrid, XAxis } from "recharts" - -import { - Card, - CardContent, - CardDescription, - CardFooter, - CardHeader, - CardTitle, -} from "@/registry/default/ui/card" -import { - ChartConfig, - ChartContainer, - ChartTooltip, - ChartTooltipContent, -} from "@/registry/default/ui/chart" - -export const description = "A step area chart" - -const chartData = [ - { month: "January", desktop: 186 }, - { month: "February", desktop: 305 }, - { month: "March", desktop: 237 }, - { month: "April", desktop: 73 }, - { month: "May", desktop: 209 }, - { month: "June", desktop: 214 }, -] - -const chartConfig = { - desktop: { - label: "Desktop", - color: "hsl(var(--chart-1))", - icon: Activity, - }, -} satisfies ChartConfig - -export default function Component() { - return ( - - - Area Chart - Step - - Showing total visitors for the last 6 months - - - - - - - value.slice(0, 3)} - /> - } - /> - - - - - -
-
-
- Trending up by 5.2% this month -
-
- January - June 2024 -
-
-
-
-
- ) -} diff --git a/deprecated/www/__registry__/default/charts/chart-bar-active.tsx b/deprecated/www/__registry__/default/charts/chart-bar-active.tsx deleted file mode 100644 index f1be5c7718..0000000000 --- a/deprecated/www/__registry__/default/charts/chart-bar-active.tsx +++ /dev/null @@ -1,111 +0,0 @@ -"use client" - -import { TrendingUp } from "lucide-react" -import { Bar, BarChart, CartesianGrid, Rectangle, XAxis } from "recharts" - -import { - Card, - CardContent, - CardDescription, - CardFooter, - CardHeader, - CardTitle, -} from "@/registry/default/ui/card" -import { - ChartConfig, - ChartContainer, - ChartTooltip, - ChartTooltipContent, -} from "@/registry/default/ui/chart" - -export const description = "A bar chart with an active bar" - -const chartData = [ - { browser: "chrome", visitors: 187, fill: "var(--color-chrome)" }, - { browser: "safari", visitors: 200, fill: "var(--color-safari)" }, - { browser: "firefox", visitors: 275, fill: "var(--color-firefox)" }, - { browser: "edge", visitors: 173, fill: "var(--color-edge)" }, - { browser: "other", visitors: 90, fill: "var(--color-other)" }, -] - -const chartConfig = { - visitors: { - label: "Visitors", - }, - chrome: { - label: "Chrome", - color: "hsl(var(--chart-1))", - }, - safari: { - label: "Safari", - color: "hsl(var(--chart-2))", - }, - firefox: { - label: "Firefox", - color: "hsl(var(--chart-3))", - }, - edge: { - label: "Edge", - color: "hsl(var(--chart-4))", - }, - other: { - label: "Other", - color: "hsl(var(--chart-5))", - }, -} satisfies ChartConfig - -export default function Component() { - return ( - - - Bar Chart - Active - January - June 2024 - - - - - - - chartConfig[value as keyof typeof chartConfig]?.label - } - /> - } - /> - { - return ( - - ) - }} - /> - - - - -
- Trending up by 5.2% this month -
-
- Showing total visitors for the last 6 months -
-
-
- ) -} diff --git a/deprecated/www/__registry__/default/charts/chart-bar-default.tsx b/deprecated/www/__registry__/default/charts/chart-bar-default.tsx deleted file mode 100644 index 9fc5f15a15..0000000000 --- a/deprecated/www/__registry__/default/charts/chart-bar-default.tsx +++ /dev/null @@ -1,75 +0,0 @@ -"use client" - -import { TrendingUp } from "lucide-react" -import { Bar, BarChart, CartesianGrid, XAxis } from "recharts" - -import { - Card, - CardContent, - CardDescription, - CardFooter, - CardHeader, - CardTitle, -} from "@/registry/default/ui/card" -import { - ChartConfig, - ChartContainer, - ChartTooltip, - ChartTooltipContent, -} from "@/registry/default/ui/chart" - -export const description = "A bar chart" - -const chartData = [ - { month: "January", desktop: 186 }, - { month: "February", desktop: 305 }, - { month: "March", desktop: 237 }, - { month: "April", desktop: 73 }, - { month: "May", desktop: 209 }, - { month: "June", desktop: 214 }, -] - -const chartConfig = { - desktop: { - label: "Desktop", - color: "hsl(var(--chart-1))", - }, -} satisfies ChartConfig - -export default function Component() { - return ( - - - Bar Chart - January - June 2024 - - - - - - value.slice(0, 3)} - /> - } - /> - - - - - -
- Trending up by 5.2% this month -
-
- Showing total visitors for the last 6 months -
-
-
- ) -} diff --git a/deprecated/www/__registry__/default/charts/chart-bar-horizontal.tsx b/deprecated/www/__registry__/default/charts/chart-bar-horizontal.tsx deleted file mode 100644 index ac74114cee..0000000000 --- a/deprecated/www/__registry__/default/charts/chart-bar-horizontal.tsx +++ /dev/null @@ -1,83 +0,0 @@ -"use client" - -import { TrendingUp } from "lucide-react" -import { Bar, BarChart, XAxis, YAxis } from "recharts" - -import { - Card, - CardContent, - CardDescription, - CardFooter, - CardHeader, - CardTitle, -} from "@/registry/default/ui/card" -import { - ChartConfig, - ChartContainer, - ChartTooltip, - ChartTooltipContent, -} from "@/registry/default/ui/chart" - -export const description = "A horizontal bar chart" - -const chartData = [ - { month: "January", desktop: 186 }, - { month: "February", desktop: 305 }, - { month: "March", desktop: 237 }, - { month: "April", desktop: 73 }, - { month: "May", desktop: 209 }, - { month: "June", desktop: 214 }, -] - -const chartConfig = { - desktop: { - label: "Desktop", - color: "hsl(var(--chart-1))", - }, -} satisfies ChartConfig - -export default function Component() { - return ( - - - Bar Chart - Horizontal - January - June 2024 - - - - - - value.slice(0, 3)} - /> - } - /> - - - - - -
- Trending up by 5.2% this month -
-
- Showing total visitors for the last 6 months -
-
-
- ) -} diff --git a/deprecated/www/__registry__/default/charts/chart-bar-interactive.tsx b/deprecated/www/__registry__/default/charts/chart-bar-interactive.tsx deleted file mode 100644 index 84bcc6a28c..0000000000 --- a/deprecated/www/__registry__/default/charts/chart-bar-interactive.tsx +++ /dev/null @@ -1,221 +0,0 @@ -"use client" - -import * as React from "react" -import { Bar, BarChart, CartesianGrid, XAxis } from "recharts" - -import { - Card, - CardContent, - CardDescription, - CardHeader, - CardTitle, -} from "@/registry/default/ui/card" -import { - ChartConfig, - ChartContainer, - ChartTooltip, - ChartTooltipContent, -} from "@/registry/default/ui/chart" - -export const description = "An interactive bar chart" - -const chartData = [ - { date: "2024-04-01", desktop: 222, mobile: 150 }, - { date: "2024-04-02", desktop: 97, mobile: 180 }, - { date: "2024-04-03", desktop: 167, mobile: 120 }, - { date: "2024-04-04", desktop: 242, mobile: 260 }, - { date: "2024-04-05", desktop: 373, mobile: 290 }, - { date: "2024-04-06", desktop: 301, mobile: 340 }, - { date: "2024-04-07", desktop: 245, mobile: 180 }, - { date: "2024-04-08", desktop: 409, mobile: 320 }, - { date: "2024-04-09", desktop: 59, mobile: 110 }, - { date: "2024-04-10", desktop: 261, mobile: 190 }, - { date: "2024-04-11", desktop: 327, mobile: 350 }, - { date: "2024-04-12", desktop: 292, mobile: 210 }, - { date: "2024-04-13", desktop: 342, mobile: 380 }, - { date: "2024-04-14", desktop: 137, mobile: 220 }, - { date: "2024-04-15", desktop: 120, mobile: 170 }, - { date: "2024-04-16", desktop: 138, mobile: 190 }, - { date: "2024-04-17", desktop: 446, mobile: 360 }, - { date: "2024-04-18", desktop: 364, mobile: 410 }, - { date: "2024-04-19", desktop: 243, mobile: 180 }, - { date: "2024-04-20", desktop: 89, mobile: 150 }, - { date: "2024-04-21", desktop: 137, mobile: 200 }, - { date: "2024-04-22", desktop: 224, mobile: 170 }, - { date: "2024-04-23", desktop: 138, mobile: 230 }, - { date: "2024-04-24", desktop: 387, mobile: 290 }, - { date: "2024-04-25", desktop: 215, mobile: 250 }, - { date: "2024-04-26", desktop: 75, mobile: 130 }, - { date: "2024-04-27", desktop: 383, mobile: 420 }, - { date: "2024-04-28", desktop: 122, mobile: 180 }, - { date: "2024-04-29", desktop: 315, mobile: 240 }, - { date: "2024-04-30", desktop: 454, mobile: 380 }, - { date: "2024-05-01", desktop: 165, mobile: 220 }, - { date: "2024-05-02", desktop: 293, mobile: 310 }, - { date: "2024-05-03", desktop: 247, mobile: 190 }, - { date: "2024-05-04", desktop: 385, mobile: 420 }, - { date: "2024-05-05", desktop: 481, mobile: 390 }, - { date: "2024-05-06", desktop: 498, mobile: 520 }, - { date: "2024-05-07", desktop: 388, mobile: 300 }, - { date: "2024-05-08", desktop: 149, mobile: 210 }, - { date: "2024-05-09", desktop: 227, mobile: 180 }, - { date: "2024-05-10", desktop: 293, mobile: 330 }, - { date: "2024-05-11", desktop: 335, mobile: 270 }, - { date: "2024-05-12", desktop: 197, mobile: 240 }, - { date: "2024-05-13", desktop: 197, mobile: 160 }, - { date: "2024-05-14", desktop: 448, mobile: 490 }, - { date: "2024-05-15", desktop: 473, mobile: 380 }, - { date: "2024-05-16", desktop: 338, mobile: 400 }, - { date: "2024-05-17", desktop: 499, mobile: 420 }, - { date: "2024-05-18", desktop: 315, mobile: 350 }, - { date: "2024-05-19", desktop: 235, mobile: 180 }, - { date: "2024-05-20", desktop: 177, mobile: 230 }, - { date: "2024-05-21", desktop: 82, mobile: 140 }, - { date: "2024-05-22", desktop: 81, mobile: 120 }, - { date: "2024-05-23", desktop: 252, mobile: 290 }, - { date: "2024-05-24", desktop: 294, mobile: 220 }, - { date: "2024-05-25", desktop: 201, mobile: 250 }, - { date: "2024-05-26", desktop: 213, mobile: 170 }, - { date: "2024-05-27", desktop: 420, mobile: 460 }, - { date: "2024-05-28", desktop: 233, mobile: 190 }, - { date: "2024-05-29", desktop: 78, mobile: 130 }, - { date: "2024-05-30", desktop: 340, mobile: 280 }, - { date: "2024-05-31", desktop: 178, mobile: 230 }, - { date: "2024-06-01", desktop: 178, mobile: 200 }, - { date: "2024-06-02", desktop: 470, mobile: 410 }, - { date: "2024-06-03", desktop: 103, mobile: 160 }, - { date: "2024-06-04", desktop: 439, mobile: 380 }, - { date: "2024-06-05", desktop: 88, mobile: 140 }, - { date: "2024-06-06", desktop: 294, mobile: 250 }, - { date: "2024-06-07", desktop: 323, mobile: 370 }, - { date: "2024-06-08", desktop: 385, mobile: 320 }, - { date: "2024-06-09", desktop: 438, mobile: 480 }, - { date: "2024-06-10", desktop: 155, mobile: 200 }, - { date: "2024-06-11", desktop: 92, mobile: 150 }, - { date: "2024-06-12", desktop: 492, mobile: 420 }, - { date: "2024-06-13", desktop: 81, mobile: 130 }, - { date: "2024-06-14", desktop: 426, mobile: 380 }, - { date: "2024-06-15", desktop: 307, mobile: 350 }, - { date: "2024-06-16", desktop: 371, mobile: 310 }, - { date: "2024-06-17", desktop: 475, mobile: 520 }, - { date: "2024-06-18", desktop: 107, mobile: 170 }, - { date: "2024-06-19", desktop: 341, mobile: 290 }, - { date: "2024-06-20", desktop: 408, mobile: 450 }, - { date: "2024-06-21", desktop: 169, mobile: 210 }, - { date: "2024-06-22", desktop: 317, mobile: 270 }, - { date: "2024-06-23", desktop: 480, mobile: 530 }, - { date: "2024-06-24", desktop: 132, mobile: 180 }, - { date: "2024-06-25", desktop: 141, mobile: 190 }, - { date: "2024-06-26", desktop: 434, mobile: 380 }, - { date: "2024-06-27", desktop: 448, mobile: 490 }, - { date: "2024-06-28", desktop: 149, mobile: 200 }, - { date: "2024-06-29", desktop: 103, mobile: 160 }, - { date: "2024-06-30", desktop: 446, mobile: 400 }, -] - -const chartConfig = { - views: { - label: "Page Views", - }, - desktop: { - label: "Desktop", - color: "hsl(var(--chart-1))", - }, - mobile: { - label: "Mobile", - color: "hsl(var(--chart-2))", - }, -} satisfies ChartConfig - -export default function Component() { - const [activeChart, setActiveChart] = - React.useState("desktop") - - const total = React.useMemo( - () => ({ - desktop: chartData.reduce((acc, curr) => acc + curr.desktop, 0), - mobile: chartData.reduce((acc, curr) => acc + curr.mobile, 0), - }), - [] - ) - - return ( - - -
- Bar Chart - Interactive - - Showing total visitors for the last 3 months - -
-
- {["desktop", "mobile"].map((key) => { - const chart = key as keyof typeof chartConfig - return ( - - ) - })} -
-
- - - - - { - const date = new Date(value) - return date.toLocaleDateString("en-US", { - month: "short", - day: "numeric", - }) - }} - /> - { - return new Date(value).toLocaleDateString("en-US", { - month: "short", - day: "numeric", - year: "numeric", - }) - }} - /> - } - /> - - - - -
- ) -} diff --git a/deprecated/www/__registry__/default/charts/chart-bar-label-custom.tsx b/deprecated/www/__registry__/default/charts/chart-bar-label-custom.tsx deleted file mode 100644 index bd16655bc7..0000000000 --- a/deprecated/www/__registry__/default/charts/chart-bar-label-custom.tsx +++ /dev/null @@ -1,112 +0,0 @@ -"use client" - -import { TrendingUp } from "lucide-react" -import { Bar, BarChart, CartesianGrid, LabelList, XAxis, YAxis } from "recharts" - -import { - Card, - CardContent, - CardDescription, - CardFooter, - CardHeader, - CardTitle, -} from "@/registry/default/ui/card" -import { - ChartConfig, - ChartContainer, - ChartTooltip, - ChartTooltipContent, -} from "@/registry/default/ui/chart" - -export const description = "A bar chart with a custom label" - -const chartData = [ - { month: "January", desktop: 186, mobile: 80 }, - { month: "February", desktop: 305, mobile: 200 }, - { month: "March", desktop: 237, mobile: 120 }, - { month: "April", desktop: 73, mobile: 190 }, - { month: "May", desktop: 209, mobile: 130 }, - { month: "June", desktop: 214, mobile: 140 }, -] - -const chartConfig = { - desktop: { - label: "Desktop", - color: "hsl(var(--chart-1))", - }, - mobile: { - label: "Mobile", - color: "hsl(var(--chart-2))", - }, - label: { - color: "hsl(var(--background))", - }, -} satisfies ChartConfig - -export default function Component() { - return ( - - - Bar Chart - Custom Label - January - June 2024 - - - - - - value.slice(0, 3)} - hide - /> - - } - /> - - - - - - - - -
- Trending up by 5.2% this month -
-
- Showing total visitors for the last 6 months -
-
-
- ) -} diff --git a/deprecated/www/__registry__/default/charts/chart-bar-label.tsx b/deprecated/www/__registry__/default/charts/chart-bar-label.tsx deleted file mode 100644 index c7ebea70e0..0000000000 --- a/deprecated/www/__registry__/default/charts/chart-bar-label.tsx +++ /dev/null @@ -1,88 +0,0 @@ -"use client" - -import { TrendingUp } from "lucide-react" -import { Bar, BarChart, CartesianGrid, LabelList, XAxis } from "recharts" - -import { - Card, - CardContent, - CardDescription, - CardFooter, - CardHeader, - CardTitle, -} from "@/registry/default/ui/card" -import { - ChartConfig, - ChartContainer, - ChartTooltip, - ChartTooltipContent, -} from "@/registry/default/ui/chart" - -export const description = "A bar chart with a label" - -const chartData = [ - { month: "January", desktop: 186 }, - { month: "February", desktop: 305 }, - { month: "March", desktop: 237 }, - { month: "April", desktop: 73 }, - { month: "May", desktop: 209 }, - { month: "June", desktop: 214 }, -] - -const chartConfig = { - desktop: { - label: "Desktop", - color: "hsl(var(--chart-1))", - }, -} satisfies ChartConfig - -export default function Component() { - return ( - - - Bar Chart - Label - January - June 2024 - - - - - - value.slice(0, 3)} - /> - } - /> - - - - - - - -
- Trending up by 5.2% this month -
-
- Showing total visitors for the last 6 months -
-
-
- ) -} diff --git a/deprecated/www/__registry__/default/charts/chart-bar-mixed.tsx b/deprecated/www/__registry__/default/charts/chart-bar-mixed.tsx deleted file mode 100644 index fa3beea6fc..0000000000 --- a/deprecated/www/__registry__/default/charts/chart-bar-mixed.tsx +++ /dev/null @@ -1,103 +0,0 @@ -"use client" - -import { TrendingUp } from "lucide-react" -import { Bar, BarChart, XAxis, YAxis } from "recharts" - -import { - Card, - CardContent, - CardDescription, - CardFooter, - CardHeader, - CardTitle, -} from "@/registry/default/ui/card" -import { - ChartConfig, - ChartContainer, - ChartTooltip, - ChartTooltipContent, -} from "@/registry/default/ui/chart" - -export const description = "A mixed bar chart" - -const chartData = [ - { browser: "chrome", visitors: 275, fill: "var(--color-chrome)" }, - { browser: "safari", visitors: 200, fill: "var(--color-safari)" }, - { browser: "firefox", visitors: 187, fill: "var(--color-firefox)" }, - { browser: "edge", visitors: 173, fill: "var(--color-edge)" }, - { browser: "other", visitors: 90, fill: "var(--color-other)" }, -] - -const chartConfig = { - visitors: { - label: "Visitors", - }, - chrome: { - label: "Chrome", - color: "hsl(var(--chart-1))", - }, - safari: { - label: "Safari", - color: "hsl(var(--chart-2))", - }, - firefox: { - label: "Firefox", - color: "hsl(var(--chart-3))", - }, - edge: { - label: "Edge", - color: "hsl(var(--chart-4))", - }, - other: { - label: "Other", - color: "hsl(var(--chart-5))", - }, -} satisfies ChartConfig - -export default function Component() { - return ( - - - Bar Chart - Mixed - January - June 2024 - - - - - - chartConfig[value as keyof typeof chartConfig]?.label - } - /> - - } - /> - - - - - -
- Trending up by 5.2% this month -
-
- Showing total visitors for the last 6 months -
-
-
- ) -} diff --git a/deprecated/www/__registry__/default/charts/chart-bar-multiple.tsx b/deprecated/www/__registry__/default/charts/chart-bar-multiple.tsx deleted file mode 100644 index 39b80fa76f..0000000000 --- a/deprecated/www/__registry__/default/charts/chart-bar-multiple.tsx +++ /dev/null @@ -1,80 +0,0 @@ -"use client" - -import { TrendingUp } from "lucide-react" -import { Bar, BarChart, CartesianGrid, XAxis } from "recharts" - -import { - Card, - CardContent, - CardDescription, - CardFooter, - CardHeader, - CardTitle, -} from "@/registry/default/ui/card" -import { - ChartConfig, - ChartContainer, - ChartTooltip, - ChartTooltipContent, -} from "@/registry/default/ui/chart" - -export const description = "A multiple bar chart" - -const chartData = [ - { month: "January", desktop: 186, mobile: 80 }, - { month: "February", desktop: 305, mobile: 200 }, - { month: "March", desktop: 237, mobile: 120 }, - { month: "April", desktop: 73, mobile: 190 }, - { month: "May", desktop: 209, mobile: 130 }, - { month: "June", desktop: 214, mobile: 140 }, -] - -const chartConfig = { - desktop: { - label: "Desktop", - color: "hsl(var(--chart-1))", - }, - mobile: { - label: "Mobile", - color: "hsl(var(--chart-2))", - }, -} satisfies ChartConfig - -export default function Component() { - return ( - - - Bar Chart - Multiple - January - June 2024 - - - - - - value.slice(0, 3)} - /> - } - /> - - - - - - -
- Trending up by 5.2% this month -
-
- Showing total visitors for the last 6 months -
-
-
- ) -} diff --git a/deprecated/www/__registry__/default/charts/chart-bar-negative.tsx b/deprecated/www/__registry__/default/charts/chart-bar-negative.tsx deleted file mode 100644 index f9e3b3e360..0000000000 --- a/deprecated/www/__registry__/default/charts/chart-bar-negative.tsx +++ /dev/null @@ -1,79 +0,0 @@ -"use client" - -import { TrendingUp } from "lucide-react" -import { Bar, BarChart, CartesianGrid, Cell, LabelList } from "recharts" - -import { - Card, - CardContent, - CardDescription, - CardFooter, - CardHeader, - CardTitle, -} from "@/registry/default/ui/card" -import { - ChartConfig, - ChartContainer, - ChartTooltip, - ChartTooltipContent, -} from "@/registry/default/ui/chart" - -export const description = "A bar chart with negative values" - -const chartData = [ - { month: "January", visitors: 186 }, - { month: "February", visitors: 205 }, - { month: "March", visitors: -207 }, - { month: "April", visitors: 173 }, - { month: "May", visitors: -209 }, - { month: "June", visitors: 214 }, -] - -const chartConfig = { - visitors: { - label: "Visitors", - }, -} satisfies ChartConfig - -export default function Component() { - return ( - - - Bar Chart - Negative - January - June 2024 - - - - - - } - /> - - - {chartData.map((item) => ( - 0 - ? "hsl(var(--chart-1))" - : "hsl(var(--chart-2))" - } - /> - ))} - - - - - -
- Trending up by 5.2% this month -
-
- Showing total visitors for the last 6 months -
-
-
- ) -} diff --git a/deprecated/www/__registry__/default/charts/chart-bar-stacked.tsx b/deprecated/www/__registry__/default/charts/chart-bar-stacked.tsx deleted file mode 100644 index 211bfe6aef..0000000000 --- a/deprecated/www/__registry__/default/charts/chart-bar-stacked.tsx +++ /dev/null @@ -1,90 +0,0 @@ -"use client" - -import { TrendingUp } from "lucide-react" -import { Bar, BarChart, CartesianGrid, XAxis } from "recharts" - -import { - Card, - CardContent, - CardDescription, - CardFooter, - CardHeader, - CardTitle, -} from "@/registry/default/ui/card" -import { - ChartConfig, - ChartContainer, - ChartLegend, - ChartLegendContent, - ChartTooltip, - ChartTooltipContent, -} from "@/registry/default/ui/chart" - -export const description = "A stacked bar chart with a legend" - -const chartData = [ - { month: "January", desktop: 186, mobile: 80 }, - { month: "February", desktop: 305, mobile: 200 }, - { month: "March", desktop: 237, mobile: 120 }, - { month: "April", desktop: 73, mobile: 190 }, - { month: "May", desktop: 209, mobile: 130 }, - { month: "June", desktop: 214, mobile: 140 }, -] - -const chartConfig = { - desktop: { - label: "Desktop", - color: "hsl(var(--chart-1))", - }, - mobile: { - label: "Mobile", - color: "hsl(var(--chart-2))", - }, -} satisfies ChartConfig - -export default function Component() { - return ( - - - Bar Chart - Stacked + Legend - January - June 2024 - - - - - - value.slice(0, 3)} - /> - } /> - } /> - - - - - - -
- Trending up by 5.2% this month -
-
- Showing total visitors for the last 6 months -
-
-
- ) -} diff --git a/deprecated/www/__registry__/default/charts/chart-line-default.tsx b/deprecated/www/__registry__/default/charts/chart-line-default.tsx deleted file mode 100644 index 24972697fc..0000000000 --- a/deprecated/www/__registry__/default/charts/chart-line-default.tsx +++ /dev/null @@ -1,88 +0,0 @@ -"use client" - -import { TrendingUp } from "lucide-react" -import { CartesianGrid, Line, LineChart, XAxis } from "recharts" - -import { - Card, - CardContent, - CardDescription, - CardFooter, - CardHeader, - CardTitle, -} from "@/registry/default/ui/card" -import { - ChartConfig, - ChartContainer, - ChartTooltip, - ChartTooltipContent, -} from "@/registry/default/ui/chart" - -export const description = "A line chart" - -const chartData = [ - { month: "January", desktop: 186 }, - { month: "February", desktop: 305 }, - { month: "March", desktop: 237 }, - { month: "April", desktop: 73 }, - { month: "May", desktop: 209 }, - { month: "June", desktop: 214 }, -] - -const chartConfig = { - desktop: { - label: "Desktop", - color: "hsl(var(--chart-1))", - }, -} satisfies ChartConfig - -export default function Component() { - return ( - - - Line Chart - January - June 2024 - - - - - - value.slice(0, 3)} - /> - } - /> - - - - - -
- Trending up by 5.2% this month -
-
- Showing total visitors for the last 6 months -
-
-
- ) -} diff --git a/deprecated/www/__registry__/default/charts/chart-line-dots-colors.tsx b/deprecated/www/__registry__/default/charts/chart-line-dots-colors.tsx deleted file mode 100644 index e568ddd990..0000000000 --- a/deprecated/www/__registry__/default/charts/chart-line-dots-colors.tsx +++ /dev/null @@ -1,118 +0,0 @@ -"use client" - -import { TrendingUp } from "lucide-react" -import { CartesianGrid, Dot, Line, LineChart } from "recharts" - -import { - Card, - CardContent, - CardDescription, - CardFooter, - CardHeader, - CardTitle, -} from "@/registry/default/ui/card" -import { - ChartConfig, - ChartContainer, - ChartTooltip, - ChartTooltipContent, -} from "@/registry/default/ui/chart" - -export const description = "A line chart with dots and colors" - -const chartData = [ - { browser: "chrome", visitors: 275, fill: "var(--color-chrome)" }, - { browser: "safari", visitors: 200, fill: "var(--color-safari)" }, - { browser: "firefox", visitors: 187, fill: "var(--color-firefox)" }, - { browser: "edge", visitors: 173, fill: "var(--color-edge)" }, - { browser: "other", visitors: 90, fill: "var(--color-other)" }, -] - -const chartConfig = { - visitors: { - label: "Visitors", - color: "hsl(var(--chart-2))", - }, - chrome: { - label: "Chrome", - color: "hsl(var(--chart-1))", - }, - safari: { - label: "Safari", - color: "hsl(var(--chart-2))", - }, - firefox: { - label: "Firefox", - color: "hsl(var(--chart-3))", - }, - edge: { - label: "Edge", - color: "hsl(var(--chart-4))", - }, - other: { - label: "Other", - color: "hsl(var(--chart-5))", - }, -} satisfies ChartConfig - -export default function Component() { - return ( - - - Line Chart - Dots Colors - January - June 2024 - - - - - - - } - /> - { - return ( - - ) - }} - /> - - - - -
- Trending up by 5.2% this month -
-
- Showing total visitors for the last 6 months -
-
-
- ) -} diff --git a/deprecated/www/__registry__/default/charts/chart-line-dots-custom.tsx b/deprecated/www/__registry__/default/charts/chart-line-dots-custom.tsx deleted file mode 100644 index 4eae4da575..0000000000 --- a/deprecated/www/__registry__/default/charts/chart-line-dots-custom.tsx +++ /dev/null @@ -1,105 +0,0 @@ -"use client" - -import { GitCommitVertical, TrendingUp } from "lucide-react" -import { CartesianGrid, Line, LineChart, XAxis } from "recharts" - -import { - Card, - CardContent, - CardDescription, - CardFooter, - CardHeader, - CardTitle, -} from "@/registry/default/ui/card" -import { - ChartConfig, - ChartContainer, - ChartTooltip, - ChartTooltipContent, -} from "@/registry/default/ui/chart" - -export const description = "A line chart with custom dots" - -const chartData = [ - { month: "January", desktop: 186, mobile: 80 }, - { month: "February", desktop: 305, mobile: 200 }, - { month: "March", desktop: 237, mobile: 120 }, - { month: "April", desktop: 73, mobile: 190 }, - { month: "May", desktop: 209, mobile: 130 }, - { month: "June", desktop: 214, mobile: 140 }, -] - -const chartConfig = { - desktop: { - label: "Desktop", - color: "hsl(var(--chart-1))", - }, - mobile: { - label: "Mobile", - color: "hsl(var(--chart-2))", - }, -} satisfies ChartConfig - -export default function Component() { - return ( - - - Line Chart - Custom Dots - January - June 2024 - - - - - - value.slice(0, 3)} - /> - } - /> - { - const r = 24 - return ( - - ) - }} - /> - - - - -
- Trending up by 5.2% this month -
-
- Showing total visitors for the last 6 months -
-
-
- ) -} diff --git a/deprecated/www/__registry__/default/charts/chart-line-dots.tsx b/deprecated/www/__registry__/default/charts/chart-line-dots.tsx deleted file mode 100644 index d52f09148e..0000000000 --- a/deprecated/www/__registry__/default/charts/chart-line-dots.tsx +++ /dev/null @@ -1,97 +0,0 @@ -"use client" - -import { TrendingUp } from "lucide-react" -import { CartesianGrid, Line, LineChart, XAxis } from "recharts" - -import { - Card, - CardContent, - CardDescription, - CardFooter, - CardHeader, - CardTitle, -} from "@/registry/default/ui/card" -import { - ChartConfig, - ChartContainer, - ChartTooltip, - ChartTooltipContent, -} from "@/registry/default/ui/chart" - -export const description = "A line chart with dots" - -const chartData = [ - { month: "January", desktop: 186, mobile: 80 }, - { month: "February", desktop: 305, mobile: 200 }, - { month: "March", desktop: 237, mobile: 120 }, - { month: "April", desktop: 73, mobile: 190 }, - { month: "May", desktop: 209, mobile: 130 }, - { month: "June", desktop: 214, mobile: 140 }, -] - -const chartConfig = { - desktop: { - label: "Desktop", - color: "hsl(var(--chart-1))", - }, - mobile: { - label: "Mobile", - color: "hsl(var(--chart-2))", - }, -} satisfies ChartConfig - -export default function Component() { - return ( - - - Line Chart - Dots - January - June 2024 - - - - - - value.slice(0, 3)} - /> - } - /> - - - - - -
- Trending up by 5.2% this month -
-
- Showing total visitors for the last 6 months -
-
-
- ) -} diff --git a/deprecated/www/__registry__/default/charts/chart-line-interactive.tsx b/deprecated/www/__registry__/default/charts/chart-line-interactive.tsx deleted file mode 100644 index 6f61820071..0000000000 --- a/deprecated/www/__registry__/default/charts/chart-line-interactive.tsx +++ /dev/null @@ -1,227 +0,0 @@ -"use client" - -import * as React from "react" -import { CartesianGrid, Line, LineChart, XAxis } from "recharts" - -import { - Card, - CardContent, - CardDescription, - CardHeader, - CardTitle, -} from "@/registry/default/ui/card" -import { - ChartConfig, - ChartContainer, - ChartTooltip, - ChartTooltipContent, -} from "@/registry/default/ui/chart" - -export const description = "An interactive line chart" - -const chartData = [ - { date: "2024-04-01", desktop: 222, mobile: 150 }, - { date: "2024-04-02", desktop: 97, mobile: 180 }, - { date: "2024-04-03", desktop: 167, mobile: 120 }, - { date: "2024-04-04", desktop: 242, mobile: 260 }, - { date: "2024-04-05", desktop: 373, mobile: 290 }, - { date: "2024-04-06", desktop: 301, mobile: 340 }, - { date: "2024-04-07", desktop: 245, mobile: 180 }, - { date: "2024-04-08", desktop: 409, mobile: 320 }, - { date: "2024-04-09", desktop: 59, mobile: 110 }, - { date: "2024-04-10", desktop: 261, mobile: 190 }, - { date: "2024-04-11", desktop: 327, mobile: 350 }, - { date: "2024-04-12", desktop: 292, mobile: 210 }, - { date: "2024-04-13", desktop: 342, mobile: 380 }, - { date: "2024-04-14", desktop: 137, mobile: 220 }, - { date: "2024-04-15", desktop: 120, mobile: 170 }, - { date: "2024-04-16", desktop: 138, mobile: 190 }, - { date: "2024-04-17", desktop: 446, mobile: 360 }, - { date: "2024-04-18", desktop: 364, mobile: 410 }, - { date: "2024-04-19", desktop: 243, mobile: 180 }, - { date: "2024-04-20", desktop: 89, mobile: 150 }, - { date: "2024-04-21", desktop: 137, mobile: 200 }, - { date: "2024-04-22", desktop: 224, mobile: 170 }, - { date: "2024-04-23", desktop: 138, mobile: 230 }, - { date: "2024-04-24", desktop: 387, mobile: 290 }, - { date: "2024-04-25", desktop: 215, mobile: 250 }, - { date: "2024-04-26", desktop: 75, mobile: 130 }, - { date: "2024-04-27", desktop: 383, mobile: 420 }, - { date: "2024-04-28", desktop: 122, mobile: 180 }, - { date: "2024-04-29", desktop: 315, mobile: 240 }, - { date: "2024-04-30", desktop: 454, mobile: 380 }, - { date: "2024-05-01", desktop: 165, mobile: 220 }, - { date: "2024-05-02", desktop: 293, mobile: 310 }, - { date: "2024-05-03", desktop: 247, mobile: 190 }, - { date: "2024-05-04", desktop: 385, mobile: 420 }, - { date: "2024-05-05", desktop: 481, mobile: 390 }, - { date: "2024-05-06", desktop: 498, mobile: 520 }, - { date: "2024-05-07", desktop: 388, mobile: 300 }, - { date: "2024-05-08", desktop: 149, mobile: 210 }, - { date: "2024-05-09", desktop: 227, mobile: 180 }, - { date: "2024-05-10", desktop: 293, mobile: 330 }, - { date: "2024-05-11", desktop: 335, mobile: 270 }, - { date: "2024-05-12", desktop: 197, mobile: 240 }, - { date: "2024-05-13", desktop: 197, mobile: 160 }, - { date: "2024-05-14", desktop: 448, mobile: 490 }, - { date: "2024-05-15", desktop: 473, mobile: 380 }, - { date: "2024-05-16", desktop: 338, mobile: 400 }, - { date: "2024-05-17", desktop: 499, mobile: 420 }, - { date: "2024-05-18", desktop: 315, mobile: 350 }, - { date: "2024-05-19", desktop: 235, mobile: 180 }, - { date: "2024-05-20", desktop: 177, mobile: 230 }, - { date: "2024-05-21", desktop: 82, mobile: 140 }, - { date: "2024-05-22", desktop: 81, mobile: 120 }, - { date: "2024-05-23", desktop: 252, mobile: 290 }, - { date: "2024-05-24", desktop: 294, mobile: 220 }, - { date: "2024-05-25", desktop: 201, mobile: 250 }, - { date: "2024-05-26", desktop: 213, mobile: 170 }, - { date: "2024-05-27", desktop: 420, mobile: 460 }, - { date: "2024-05-28", desktop: 233, mobile: 190 }, - { date: "2024-05-29", desktop: 78, mobile: 130 }, - { date: "2024-05-30", desktop: 340, mobile: 280 }, - { date: "2024-05-31", desktop: 178, mobile: 230 }, - { date: "2024-06-01", desktop: 178, mobile: 200 }, - { date: "2024-06-02", desktop: 470, mobile: 410 }, - { date: "2024-06-03", desktop: 103, mobile: 160 }, - { date: "2024-06-04", desktop: 439, mobile: 380 }, - { date: "2024-06-05", desktop: 88, mobile: 140 }, - { date: "2024-06-06", desktop: 294, mobile: 250 }, - { date: "2024-06-07", desktop: 323, mobile: 370 }, - { date: "2024-06-08", desktop: 385, mobile: 320 }, - { date: "2024-06-09", desktop: 438, mobile: 480 }, - { date: "2024-06-10", desktop: 155, mobile: 200 }, - { date: "2024-06-11", desktop: 92, mobile: 150 }, - { date: "2024-06-12", desktop: 492, mobile: 420 }, - { date: "2024-06-13", desktop: 81, mobile: 130 }, - { date: "2024-06-14", desktop: 426, mobile: 380 }, - { date: "2024-06-15", desktop: 307, mobile: 350 }, - { date: "2024-06-16", desktop: 371, mobile: 310 }, - { date: "2024-06-17", desktop: 475, mobile: 520 }, - { date: "2024-06-18", desktop: 107, mobile: 170 }, - { date: "2024-06-19", desktop: 341, mobile: 290 }, - { date: "2024-06-20", desktop: 408, mobile: 450 }, - { date: "2024-06-21", desktop: 169, mobile: 210 }, - { date: "2024-06-22", desktop: 317, mobile: 270 }, - { date: "2024-06-23", desktop: 480, mobile: 530 }, - { date: "2024-06-24", desktop: 132, mobile: 180 }, - { date: "2024-06-25", desktop: 141, mobile: 190 }, - { date: "2024-06-26", desktop: 434, mobile: 380 }, - { date: "2024-06-27", desktop: 448, mobile: 490 }, - { date: "2024-06-28", desktop: 149, mobile: 200 }, - { date: "2024-06-29", desktop: 103, mobile: 160 }, - { date: "2024-06-30", desktop: 446, mobile: 400 }, -] - -const chartConfig = { - views: { - label: "Page Views", - }, - desktop: { - label: "Desktop", - color: "hsl(var(--chart-1))", - }, - mobile: { - label: "Mobile", - color: "hsl(var(--chart-2))", - }, -} satisfies ChartConfig - -export default function Component() { - const [activeChart, setActiveChart] = - React.useState("desktop") - - const total = React.useMemo( - () => ({ - desktop: chartData.reduce((acc, curr) => acc + curr.desktop, 0), - mobile: chartData.reduce((acc, curr) => acc + curr.mobile, 0), - }), - [] - ) - - return ( - - -
- Line Chart - Interactive - - Showing total visitors for the last 3 months - -
-
- {["desktop", "mobile"].map((key) => { - const chart = key as keyof typeof chartConfig - return ( - - ) - })} -
-
- - - - - { - const date = new Date(value) - return date.toLocaleDateString("en-US", { - month: "short", - day: "numeric", - }) - }} - /> - { - return new Date(value).toLocaleDateString("en-US", { - month: "short", - day: "numeric", - year: "numeric", - }) - }} - /> - } - /> - - - - -
- ) -} diff --git a/deprecated/www/__registry__/default/charts/chart-line-label-custom.tsx b/deprecated/www/__registry__/default/charts/chart-line-label-custom.tsx deleted file mode 100644 index e6976bd892..0000000000 --- a/deprecated/www/__registry__/default/charts/chart-line-label-custom.tsx +++ /dev/null @@ -1,123 +0,0 @@ -"use client" - -import { TrendingUp } from "lucide-react" -import { CartesianGrid, LabelList, Line, LineChart } from "recharts" - -import { - Card, - CardContent, - CardDescription, - CardFooter, - CardHeader, - CardTitle, -} from "@/registry/default/ui/card" -import { - ChartConfig, - ChartContainer, - ChartTooltip, - ChartTooltipContent, -} from "@/registry/default/ui/chart" - -export const description = "A line chart with a custom label" - -const chartData = [ - { browser: "chrome", visitors: 275, fill: "var(--color-chrome)" }, - { browser: "safari", visitors: 200, fill: "var(--color-safari)" }, - { browser: "firefox", visitors: 187, fill: "var(--color-firefox)" }, - { browser: "edge", visitors: 173, fill: "var(--color-edge)" }, - { browser: "other", visitors: 90, fill: "var(--color-other)" }, -] - -const chartConfig = { - visitors: { - label: "Visitors", - color: "hsl(var(--chart-2))", - }, - chrome: { - label: "Chrome", - color: "hsl(var(--chart-1))", - }, - safari: { - label: "Safari", - color: "hsl(var(--chart-2))", - }, - firefox: { - label: "Firefox", - color: "hsl(var(--chart-3))", - }, - edge: { - label: "Edge", - color: "hsl(var(--chart-4))", - }, - other: { - label: "Other", - color: "hsl(var(--chart-5))", - }, -} satisfies ChartConfig - -export default function Component() { - return ( - - - Line Chart - Custom Label - January - June 2024 - - - - - - - } - /> - - - chartConfig[value]?.label - } - /> - - - - - -
- Trending up by 5.2% this month -
-
- Showing total visitors for the last 6 months -
-
-
- ) -} diff --git a/deprecated/www/__registry__/default/charts/chart-line-label.tsx b/deprecated/www/__registry__/default/charts/chart-line-label.tsx deleted file mode 100644 index 159e103176..0000000000 --- a/deprecated/www/__registry__/default/charts/chart-line-label.tsx +++ /dev/null @@ -1,105 +0,0 @@ -"use client" - -import { TrendingUp } from "lucide-react" -import { CartesianGrid, LabelList, Line, LineChart, XAxis } from "recharts" - -import { - Card, - CardContent, - CardDescription, - CardFooter, - CardHeader, - CardTitle, -} from "@/registry/default/ui/card" -import { - ChartConfig, - ChartContainer, - ChartTooltip, - ChartTooltipContent, -} from "@/registry/default/ui/chart" - -export const description = "A line chart with a label" - -const chartData = [ - { month: "January", desktop: 186, mobile: 80 }, - { month: "February", desktop: 305, mobile: 200 }, - { month: "March", desktop: 237, mobile: 120 }, - { month: "April", desktop: 73, mobile: 190 }, - { month: "May", desktop: 209, mobile: 130 }, - { month: "June", desktop: 214, mobile: 140 }, -] - -const chartConfig = { - desktop: { - label: "Desktop", - color: "hsl(var(--chart-1))", - }, - mobile: { - label: "Mobile", - color: "hsl(var(--chart-2))", - }, -} satisfies ChartConfig - -export default function Component() { - return ( - - - Line Chart - Label - January - June 2024 - - - - - - value.slice(0, 3)} - /> - } - /> - - - - - - - -
- Trending up by 5.2% this month -
-
- Showing total visitors for the last 6 months -
-
-
- ) -} diff --git a/deprecated/www/__registry__/default/charts/chart-line-linear.tsx b/deprecated/www/__registry__/default/charts/chart-line-linear.tsx deleted file mode 100644 index 9d3e06f5e9..0000000000 --- a/deprecated/www/__registry__/default/charts/chart-line-linear.tsx +++ /dev/null @@ -1,88 +0,0 @@ -"use client" - -import { TrendingUp } from "lucide-react" -import { CartesianGrid, Line, LineChart, XAxis } from "recharts" - -import { - Card, - CardContent, - CardDescription, - CardFooter, - CardHeader, - CardTitle, -} from "@/registry/default/ui/card" -import { - ChartConfig, - ChartContainer, - ChartTooltip, - ChartTooltipContent, -} from "@/registry/default/ui/chart" - -export const description = "A linear line chart" - -const chartData = [ - { month: "January", desktop: 186 }, - { month: "February", desktop: 305 }, - { month: "March", desktop: 237 }, - { month: "April", desktop: 73 }, - { month: "May", desktop: 209 }, - { month: "June", desktop: 214 }, -] - -const chartConfig = { - desktop: { - label: "Desktop", - color: "hsl(var(--chart-1))", - }, -} satisfies ChartConfig - -export default function Component() { - return ( - - - Line Chart - Linear - January - June 2024 - - - - - - value.slice(0, 3)} - /> - } - /> - - - - - -
- Trending up by 5.2% this month -
-
- Showing total visitors for the last 6 months -
-
-
- ) -} diff --git a/deprecated/www/__registry__/default/charts/chart-line-multiple.tsx b/deprecated/www/__registry__/default/charts/chart-line-multiple.tsx deleted file mode 100644 index 61ea1d960f..0000000000 --- a/deprecated/www/__registry__/default/charts/chart-line-multiple.tsx +++ /dev/null @@ -1,100 +0,0 @@ -"use client" - -import { TrendingUp } from "lucide-react" -import { CartesianGrid, Line, LineChart, XAxis } from "recharts" - -import { - Card, - CardContent, - CardDescription, - CardFooter, - CardHeader, - CardTitle, -} from "@/registry/default/ui/card" -import { - ChartConfig, - ChartContainer, - ChartTooltip, - ChartTooltipContent, -} from "@/registry/default/ui/chart" - -export const description = "A multiple line chart" - -const chartData = [ - { month: "January", desktop: 186, mobile: 80 }, - { month: "February", desktop: 305, mobile: 200 }, - { month: "March", desktop: 237, mobile: 120 }, - { month: "April", desktop: 73, mobile: 190 }, - { month: "May", desktop: 209, mobile: 130 }, - { month: "June", desktop: 214, mobile: 140 }, -] - -const chartConfig = { - desktop: { - label: "Desktop", - color: "hsl(var(--chart-1))", - }, - mobile: { - label: "Mobile", - color: "hsl(var(--chart-2))", - }, -} satisfies ChartConfig - -export default function Component() { - return ( - - - Line Chart - Multiple - January - June 2024 - - - - - - value.slice(0, 3)} - /> - } /> - - - - - - -
-
-
- Trending up by 5.2% this month -
-
- Showing total visitors for the last 6 months -
-
-
-
-
- ) -} diff --git a/deprecated/www/__registry__/default/charts/chart-line-step.tsx b/deprecated/www/__registry__/default/charts/chart-line-step.tsx deleted file mode 100644 index 608bd5f628..0000000000 --- a/deprecated/www/__registry__/default/charts/chart-line-step.tsx +++ /dev/null @@ -1,88 +0,0 @@ -"use client" - -import { TrendingUp } from "lucide-react" -import { CartesianGrid, Line, LineChart, XAxis } from "recharts" - -import { - Card, - CardContent, - CardDescription, - CardFooter, - CardHeader, - CardTitle, -} from "@/registry/default/ui/card" -import { - ChartConfig, - ChartContainer, - ChartTooltip, - ChartTooltipContent, -} from "@/registry/default/ui/chart" - -export const description = "A line chart with step" - -const chartData = [ - { month: "January", desktop: 186 }, - { month: "February", desktop: 305 }, - { month: "March", desktop: 237 }, - { month: "April", desktop: 73 }, - { month: "May", desktop: 209 }, - { month: "June", desktop: 214 }, -] - -const chartConfig = { - desktop: { - label: "Desktop", - color: "hsl(var(--chart-1))", - }, -} satisfies ChartConfig - -export default function Component() { - return ( - - - Line Chart - Step - January - June 2024 - - - - - - value.slice(0, 3)} - /> - } - /> - - - - - -
- Trending up by 5.2% this month -
-
- Showing total visitors for the last 6 months -
-
-
- ) -} diff --git a/deprecated/www/__registry__/default/charts/chart-pie-donut-active.tsx b/deprecated/www/__registry__/default/charts/chart-pie-donut-active.tsx deleted file mode 100644 index 5a39041919..0000000000 --- a/deprecated/www/__registry__/default/charts/chart-pie-donut-active.tsx +++ /dev/null @@ -1,102 +0,0 @@ -"use client" - -import { TrendingUp } from "lucide-react" -import { Label, Pie, PieChart, Sector } from "recharts" -import { PieSectorDataItem } from "recharts/types/polar/Pie" - -import { - Card, - CardContent, - CardDescription, - CardFooter, - CardHeader, - CardTitle, -} from "@/registry/default/ui/card" -import { - ChartConfig, - ChartContainer, - ChartTooltip, - ChartTooltipContent, -} from "@/registry/default/ui/chart" - -export const description = "A donut chart with an active sector" - -const chartData = [ - { browser: "chrome", visitors: 275, fill: "var(--color-chrome)" }, - { browser: "safari", visitors: 200, fill: "var(--color-safari)" }, - { browser: "firefox", visitors: 187, fill: "var(--color-firefox)" }, - { browser: "edge", visitors: 173, fill: "var(--color-edge)" }, - { browser: "other", visitors: 90, fill: "var(--color-other)" }, -] - -const chartConfig = { - visitors: { - label: "Visitors", - }, - chrome: { - label: "Chrome", - color: "hsl(var(--chart-1))", - }, - safari: { - label: "Safari", - color: "hsl(var(--chart-2))", - }, - firefox: { - label: "Firefox", - color: "hsl(var(--chart-3))", - }, - edge: { - label: "Edge", - color: "hsl(var(--chart-4))", - }, - other: { - label: "Other", - color: "hsl(var(--chart-5))", - }, -} satisfies ChartConfig - -export default function Component() { - return ( - - - Pie Chart - Donut Active - January - June 2024 - - - - - } - /> - ( - - )} - /> - - - - -
- Trending up by 5.2% this month -
-
- Showing total visitors for the last 6 months -
-
-
- ) -} diff --git a/deprecated/www/__registry__/default/charts/chart-pie-donut-text.tsx b/deprecated/www/__registry__/default/charts/chart-pie-donut-text.tsx deleted file mode 100644 index ff5391ab1d..0000000000 --- a/deprecated/www/__registry__/default/charts/chart-pie-donut-text.tsx +++ /dev/null @@ -1,129 +0,0 @@ -"use client" - -import * as React from "react" -import { TrendingUp } from "lucide-react" -import { Label, Pie, PieChart } from "recharts" - -import { - Card, - CardContent, - CardDescription, - CardFooter, - CardHeader, - CardTitle, -} from "@/registry/default/ui/card" -import { - ChartConfig, - ChartContainer, - ChartTooltip, - ChartTooltipContent, -} from "@/registry/default/ui/chart" - -export const description = "A donut chart with text" - -const chartData = [ - { browser: "chrome", visitors: 275, fill: "var(--color-chrome)" }, - { browser: "safari", visitors: 200, fill: "var(--color-safari)" }, - { browser: "firefox", visitors: 287, fill: "var(--color-firefox)" }, - { browser: "edge", visitors: 173, fill: "var(--color-edge)" }, - { browser: "other", visitors: 190, fill: "var(--color-other)" }, -] - -const chartConfig = { - visitors: { - label: "Visitors", - }, - chrome: { - label: "Chrome", - color: "hsl(var(--chart-1))", - }, - safari: { - label: "Safari", - color: "hsl(var(--chart-2))", - }, - firefox: { - label: "Firefox", - color: "hsl(var(--chart-3))", - }, - edge: { - label: "Edge", - color: "hsl(var(--chart-4))", - }, - other: { - label: "Other", - color: "hsl(var(--chart-5))", - }, -} satisfies ChartConfig - -export default function Component() { - const totalVisitors = React.useMemo(() => { - return chartData.reduce((acc, curr) => acc + curr.visitors, 0) - }, []) - - return ( - - - Pie Chart - Donut with Text - January - June 2024 - - - - - } - /> - - - - - - -
- Trending up by 5.2% this month -
-
- Showing total visitors for the last 6 months -
-
-
- ) -} diff --git a/deprecated/www/__registry__/default/charts/chart-pie-donut.tsx b/deprecated/www/__registry__/default/charts/chart-pie-donut.tsx deleted file mode 100644 index 45d17ecdd2..0000000000 --- a/deprecated/www/__registry__/default/charts/chart-pie-donut.tsx +++ /dev/null @@ -1,93 +0,0 @@ -"use client" - -import { TrendingUp } from "lucide-react" -import { Pie, PieChart } from "recharts" - -import { - Card, - CardContent, - CardDescription, - CardFooter, - CardHeader, - CardTitle, -} from "@/registry/default/ui/card" -import { - ChartConfig, - ChartContainer, - ChartTooltip, - ChartTooltipContent, -} from "@/registry/default/ui/chart" - -export const description = "A donut chart" - -const chartData = [ - { browser: "chrome", visitors: 275, fill: "var(--color-chrome)" }, - { browser: "safari", visitors: 200, fill: "var(--color-safari)" }, - { browser: "firefox", visitors: 187, fill: "var(--color-firefox)" }, - { browser: "edge", visitors: 173, fill: "var(--color-edge)" }, - { browser: "other", visitors: 90, fill: "var(--color-other)" }, -] - -const chartConfig = { - visitors: { - label: "Visitors", - }, - chrome: { - label: "Chrome", - color: "hsl(var(--chart-1))", - }, - safari: { - label: "Safari", - color: "hsl(var(--chart-2))", - }, - firefox: { - label: "Firefox", - color: "hsl(var(--chart-3))", - }, - edge: { - label: "Edge", - color: "hsl(var(--chart-4))", - }, - other: { - label: "Other", - color: "hsl(var(--chart-5))", - }, -} satisfies ChartConfig - -export default function Component() { - return ( - - - Pie Chart - Donut - January - June 2024 - - - - - } - /> - - - - - -
- Trending up by 5.2% this month -
-
- Showing total visitors for the last 6 months -
-
-
- ) -} diff --git a/deprecated/www/__registry__/default/charts/chart-pie-interactive.tsx b/deprecated/www/__registry__/default/charts/chart-pie-interactive.tsx deleted file mode 100644 index e1abb04262..0000000000 --- a/deprecated/www/__registry__/default/charts/chart-pie-interactive.tsx +++ /dev/null @@ -1,192 +0,0 @@ -"use client" - -import * as React from "react" -import { Label, Pie, PieChart, Sector } from "recharts" -import { PieSectorDataItem } from "recharts/types/polar/Pie" - -import { - Card, - CardContent, - CardDescription, - CardHeader, - CardTitle, -} from "@/registry/default/ui/card" -import { - ChartConfig, - ChartContainer, - ChartStyle, - ChartTooltip, - ChartTooltipContent, -} from "@/registry/default/ui/chart" -import { - Select, - SelectContent, - SelectItem, - SelectTrigger, - SelectValue, -} from "@/registry/default/ui/select" - -export const description = "An interactive pie chart" - -const desktopData = [ - { month: "january", desktop: 186, fill: "var(--color-january)" }, - { month: "february", desktop: 305, fill: "var(--color-february)" }, - { month: "march", desktop: 237, fill: "var(--color-march)" }, - { month: "april", desktop: 173, fill: "var(--color-april)" }, - { month: "may", desktop: 209, fill: "var(--color-may)" }, -] - -const chartConfig = { - visitors: { - label: "Visitors", - }, - desktop: { - label: "Desktop", - }, - mobile: { - label: "Mobile", - }, - january: { - label: "January", - color: "hsl(var(--chart-1))", - }, - february: { - label: "February", - color: "hsl(var(--chart-2))", - }, - march: { - label: "March", - color: "hsl(var(--chart-3))", - }, - april: { - label: "April", - color: "hsl(var(--chart-4))", - }, - may: { - label: "May", - color: "hsl(var(--chart-5))", - }, -} satisfies ChartConfig - -export default function Component() { - const id = "pie-interactive" - const [activeMonth, setActiveMonth] = React.useState(desktopData[0].month) - - const activeIndex = React.useMemo( - () => desktopData.findIndex((item) => item.month === activeMonth), - [activeMonth] - ) - const months = React.useMemo(() => desktopData.map((item) => item.month), []) - - return ( - - - -
- Pie Chart - Interactive - January - June 2024 -
- -
- - - - } - /> - ( - - - - - )} - > - - - - -
- ) -} diff --git a/deprecated/www/__registry__/default/charts/chart-pie-label-custom.tsx b/deprecated/www/__registry__/default/charts/chart-pie-label-custom.tsx deleted file mode 100644 index 4b8c616214..0000000000 --- a/deprecated/www/__registry__/default/charts/chart-pie-label-custom.tsx +++ /dev/null @@ -1,107 +0,0 @@ -"use client" - -import { TrendingUp } from "lucide-react" -import { Pie, PieChart } from "recharts" - -import { - Card, - CardContent, - CardDescription, - CardFooter, - CardHeader, - CardTitle, -} from "@/registry/default/ui/card" -import { - ChartConfig, - ChartContainer, - ChartTooltip, - ChartTooltipContent, -} from "@/registry/default/ui/chart" - -export const description = "A pie chart with a custom label" - -const chartData = [ - { browser: "chrome", visitors: 275, fill: "var(--color-chrome)" }, - { browser: "safari", visitors: 200, fill: "var(--color-safari)" }, - { browser: "firefox", visitors: 187, fill: "var(--color-firefox)" }, - { browser: "edge", visitors: 173, fill: "var(--color-edge)" }, - { browser: "other", visitors: 90, fill: "var(--color-other)" }, -] - -const chartConfig = { - visitors: { - label: "Visitors", - }, - chrome: { - label: "Chrome", - color: "hsl(var(--chart-1))", - }, - safari: { - label: "Safari", - color: "hsl(var(--chart-2))", - }, - firefox: { - label: "Firefox", - color: "hsl(var(--chart-3))", - }, - edge: { - label: "Edge", - color: "hsl(var(--chart-4))", - }, - other: { - label: "Other", - color: "hsl(var(--chart-5))", - }, -} satisfies ChartConfig - -export default function Component() { - return ( - - - Pie Chart - Custom Label - January - June 2024 - - - - - } - /> - { - return ( - - {payload.visitors} - - ) - }} - nameKey="browser" - /> - - - - -
- Trending up by 5.2% this month -
-
- Showing total visitors for the last 6 months -
-
-
- ) -} diff --git a/deprecated/www/__registry__/default/charts/chart-pie-label-list.tsx b/deprecated/www/__registry__/default/charts/chart-pie-label-list.tsx deleted file mode 100644 index 6b083fb02a..0000000000 --- a/deprecated/www/__registry__/default/charts/chart-pie-label-list.tsx +++ /dev/null @@ -1,97 +0,0 @@ -"use client" - -import { TrendingUp } from "lucide-react" -import { LabelList, Pie, PieChart } from "recharts" - -import { - Card, - CardContent, - CardDescription, - CardFooter, - CardHeader, - CardTitle, -} from "@/registry/default/ui/card" -import { - ChartConfig, - ChartContainer, - ChartTooltip, - ChartTooltipContent, -} from "@/registry/default/ui/chart" - -export const description = "A pie chart with a label list" - -const chartData = [ - { browser: "chrome", visitors: 275, fill: "var(--color-chrome)" }, - { browser: "safari", visitors: 200, fill: "var(--color-safari)" }, - { browser: "firefox", visitors: 187, fill: "var(--color-firefox)" }, - { browser: "edge", visitors: 173, fill: "var(--color-edge)" }, - { browser: "other", visitors: 90, fill: "var(--color-other)" }, -] - -const chartConfig = { - visitors: { - label: "Visitors", - }, - chrome: { - label: "Chrome", - color: "hsl(var(--chart-1))", - }, - safari: { - label: "Safari", - color: "hsl(var(--chart-2))", - }, - firefox: { - label: "Firefox", - color: "hsl(var(--chart-3))", - }, - edge: { - label: "Edge", - color: "hsl(var(--chart-4))", - }, - other: { - label: "Other", - color: "hsl(var(--chart-5))", - }, -} satisfies ChartConfig - -export default function Component() { - return ( - - - Pie Chart - Label List - January - June 2024 - - - - - } - /> - - - chartConfig[value]?.label - } - /> - - - - - -
- Trending up by 5.2% this month -
-
- Showing total visitors for the last 6 months -
-
-
- ) -} diff --git a/deprecated/www/__registry__/default/charts/chart-pie-label.tsx b/deprecated/www/__registry__/default/charts/chart-pie-label.tsx deleted file mode 100644 index 26c294cd65..0000000000 --- a/deprecated/www/__registry__/default/charts/chart-pie-label.tsx +++ /dev/null @@ -1,85 +0,0 @@ -"use client" - -import { TrendingUp } from "lucide-react" -import { Pie, PieChart } from "recharts" - -import { - Card, - CardContent, - CardDescription, - CardFooter, - CardHeader, - CardTitle, -} from "@/registry/default/ui/card" -import { - ChartConfig, - ChartContainer, - ChartTooltip, - ChartTooltipContent, -} from "@/registry/default/ui/chart" - -export const description = "A pie chart with a label" - -const chartData = [ - { browser: "chrome", visitors: 275, fill: "var(--color-chrome)" }, - { browser: "safari", visitors: 200, fill: "var(--color-safari)" }, - { browser: "firefox", visitors: 187, fill: "var(--color-firefox)" }, - { browser: "edge", visitors: 173, fill: "var(--color-edge)" }, - { browser: "other", visitors: 90, fill: "var(--color-other)" }, -] - -const chartConfig = { - visitors: { - label: "Visitors", - }, - chrome: { - label: "Chrome", - color: "hsl(var(--chart-1))", - }, - safari: { - label: "Safari", - color: "hsl(var(--chart-2))", - }, - firefox: { - label: "Firefox", - color: "hsl(var(--chart-3))", - }, - edge: { - label: "Edge", - color: "hsl(var(--chart-4))", - }, - other: { - label: "Other", - color: "hsl(var(--chart-5))", - }, -} satisfies ChartConfig - -export default function Component() { - return ( - - - Pie Chart - Label - January - June 2024 - - - - - } /> - - - - - -
- Trending up by 5.2% this month -
-
- Showing total visitors for the last 6 months -
-
-
- ) -} diff --git a/deprecated/www/__registry__/default/charts/chart-pie-legend.tsx b/deprecated/www/__registry__/default/charts/chart-pie-legend.tsx deleted file mode 100644 index 3e3d7534a8..0000000000 --- a/deprecated/www/__registry__/default/charts/chart-pie-legend.tsx +++ /dev/null @@ -1,78 +0,0 @@ -"use client" - -import { Pie, PieChart } from "recharts" - -import { - Card, - CardContent, - CardDescription, - CardHeader, - CardTitle, -} from "@/registry/default/ui/card" -import { - ChartConfig, - ChartContainer, - ChartLegend, - ChartLegendContent, -} from "@/registry/default/ui/chart" - -export const description = "A pie chart with a legend" - -const chartData = [ - { browser: "chrome", visitors: 275, fill: "var(--color-chrome)" }, - { browser: "safari", visitors: 200, fill: "var(--color-safari)" }, - { browser: "firefox", visitors: 187, fill: "var(--color-firefox)" }, - { browser: "edge", visitors: 173, fill: "var(--color-edge)" }, - { browser: "other", visitors: 90, fill: "var(--color-other)" }, -] - -const chartConfig = { - visitors: { - label: "Visitors", - }, - chrome: { - label: "Chrome", - color: "hsl(var(--chart-1))", - }, - safari: { - label: "Safari", - color: "hsl(var(--chart-2))", - }, - firefox: { - label: "Firefox", - color: "hsl(var(--chart-3))", - }, - edge: { - label: "Edge", - color: "hsl(var(--chart-4))", - }, - other: { - label: "Other", - color: "hsl(var(--chart-5))", - }, -} satisfies ChartConfig - -export default function Component() { - return ( - - - Pie Chart - Legend - January - June 2024 - - - - - - } - className="-translate-y-2 flex-wrap gap-2 [&>*]:basis-1/4 [&>*]:justify-center" - /> - - - - - ) -} diff --git a/deprecated/www/__registry__/default/charts/chart-pie-separator-none.tsx b/deprecated/www/__registry__/default/charts/chart-pie-separator-none.tsx deleted file mode 100644 index 08ec2b5633..0000000000 --- a/deprecated/www/__registry__/default/charts/chart-pie-separator-none.tsx +++ /dev/null @@ -1,93 +0,0 @@ -"use client" - -import { TrendingUp } from "lucide-react" -import { Pie, PieChart } from "recharts" - -import { - Card, - CardContent, - CardDescription, - CardFooter, - CardHeader, - CardTitle, -} from "@/registry/default/ui/card" -import { - ChartConfig, - ChartContainer, - ChartTooltip, - ChartTooltipContent, -} from "@/registry/default/ui/chart" - -export const description = "A pie chart with no separator" - -const chartData = [ - { browser: "chrome", visitors: 275, fill: "var(--color-chrome)" }, - { browser: "safari", visitors: 200, fill: "var(--color-safari)" }, - { browser: "firefox", visitors: 187, fill: "var(--color-firefox)" }, - { browser: "edge", visitors: 173, fill: "var(--color-edge)" }, - { browser: "other", visitors: 90, fill: "var(--color-other)" }, -] - -const chartConfig = { - visitors: { - label: "Visitors", - }, - chrome: { - label: "Chrome", - color: "hsl(var(--chart-1))", - }, - safari: { - label: "Safari", - color: "hsl(var(--chart-2))", - }, - firefox: { - label: "Firefox", - color: "hsl(var(--chart-3))", - }, - edge: { - label: "Edge", - color: "hsl(var(--chart-4))", - }, - other: { - label: "Other", - color: "hsl(var(--chart-5))", - }, -} satisfies ChartConfig - -export default function Component() { - return ( - - - Pie Chart - Separator None - January - June 2024 - - - - - } - /> - - - - - -
- Trending up by 5.2% this month -
-
- Showing total visitors for the last 6 months -
-
-
- ) -} diff --git a/deprecated/www/__registry__/default/charts/chart-pie-simple.tsx b/deprecated/www/__registry__/default/charts/chart-pie-simple.tsx deleted file mode 100644 index 5108126f71..0000000000 --- a/deprecated/www/__registry__/default/charts/chart-pie-simple.tsx +++ /dev/null @@ -1,88 +0,0 @@ -"use client" - -import { TrendingUp } from "lucide-react" -import { Pie, PieChart } from "recharts" - -import { - Card, - CardContent, - CardDescription, - CardFooter, - CardHeader, - CardTitle, -} from "@/registry/default/ui/card" -import { - ChartConfig, - ChartContainer, - ChartTooltip, - ChartTooltipContent, -} from "@/registry/default/ui/chart" - -export const description = "A simple pie chart" - -const chartData = [ - { browser: "chrome", visitors: 275, fill: "var(--color-chrome)" }, - { browser: "safari", visitors: 200, fill: "var(--color-safari)" }, - { browser: "firefox", visitors: 187, fill: "var(--color-firefox)" }, - { browser: "edge", visitors: 173, fill: "var(--color-edge)" }, - { browser: "other", visitors: 90, fill: "var(--color-other)" }, -] - -const chartConfig = { - visitors: { - label: "Visitors", - }, - chrome: { - label: "Chrome", - color: "hsl(var(--chart-1))", - }, - safari: { - label: "Safari", - color: "hsl(var(--chart-2))", - }, - firefox: { - label: "Firefox", - color: "hsl(var(--chart-3))", - }, - edge: { - label: "Edge", - color: "hsl(var(--chart-4))", - }, - other: { - label: "Other", - color: "hsl(var(--chart-5))", - }, -} satisfies ChartConfig - -export default function Component() { - return ( - - - Pie Chart - January - June 2024 - - - - - } - /> - - - - - -
- Trending up by 5.2% this month -
-
- Showing total visitors for the last 6 months -
-
-
- ) -} diff --git a/deprecated/www/__registry__/default/charts/chart-pie-stacked.tsx b/deprecated/www/__registry__/default/charts/chart-pie-stacked.tsx deleted file mode 100644 index db8b0efbbc..0000000000 --- a/deprecated/www/__registry__/default/charts/chart-pie-stacked.tsx +++ /dev/null @@ -1,119 +0,0 @@ -"use client" - -import * as React from "react" -import { TrendingUp } from "lucide-react" -import { Label, Pie, PieChart } from "recharts" - -import { - Card, - CardContent, - CardDescription, - CardFooter, - CardHeader, - CardTitle, -} from "@/registry/default/ui/card" -import { - ChartConfig, - ChartContainer, - ChartTooltip, - ChartTooltipContent, -} from "@/registry/default/ui/chart" - -export const description = "A pie chart with stacked sections" - -const desktopData = [ - { month: "january", desktop: 186, fill: "var(--color-january)" }, - { month: "february", desktop: 305, fill: "var(--color-february)" }, - { month: "march", desktop: 237, fill: "var(--color-march)" }, - { month: "april", desktop: 173, fill: "var(--color-april)" }, - { month: "may", desktop: 209, fill: "var(--color-may)" }, -] - -const mobileData = [ - { month: "january", mobile: 80, fill: "var(--color-january)" }, - { month: "february", mobile: 200, fill: "var(--color-february)" }, - { month: "march", mobile: 120, fill: "var(--color-march)" }, - { month: "april", mobile: 190, fill: "var(--color-april)" }, - { month: "may", mobile: 130, fill: "var(--color-may)" }, -] - -const chartConfig = { - visitors: { - label: "Visitors", - }, - desktop: { - label: "Desktop", - }, - mobile: { - label: "Mobile", - }, - january: { - label: "January", - color: "hsl(var(--chart-1))", - }, - february: { - label: "February", - color: "hsl(var(--chart-2))", - }, - march: { - label: "March", - color: "hsl(var(--chart-3))", - }, - april: { - label: "April", - color: "hsl(var(--chart-4))", - }, - may: { - label: "May", - color: "hsl(var(--chart-5))", - }, -} satisfies ChartConfig - -export default function Component() { - return ( - - - Pie Chart - Stacked - January - June 2024 - - - - - { - return chartConfig[ - payload?.[0].dataKey as keyof typeof chartConfig - ].label - }} - /> - } - /> - - - - - - -
- Trending up by 5.2% this month -
-
- Showing total visitors for the last 6 months -
-
-
- ) -} diff --git a/deprecated/www/__registry__/default/charts/chart-radar-default.tsx b/deprecated/www/__registry__/default/charts/chart-radar-default.tsx deleted file mode 100644 index e4b4185684..0000000000 --- a/deprecated/www/__registry__/default/charts/chart-radar-default.tsx +++ /dev/null @@ -1,75 +0,0 @@ -"use client" - -import { TrendingUp } from "lucide-react" -import { PolarAngleAxis, PolarGrid, Radar, RadarChart } from "recharts" - -import { - Card, - CardContent, - CardDescription, - CardFooter, - CardHeader, - CardTitle, -} from "@/registry/default/ui/card" -import { - ChartConfig, - ChartContainer, - ChartTooltip, - ChartTooltipContent, -} from "@/registry/default/ui/chart" - -export const description = "A radar chart" - -const chartData = [ - { month: "January", desktop: 186 }, - { month: "February", desktop: 305 }, - { month: "March", desktop: 237 }, - { month: "April", desktop: 273 }, - { month: "May", desktop: 209 }, - { month: "June", desktop: 214 }, -] - -const chartConfig = { - desktop: { - label: "Desktop", - color: "hsl(var(--chart-1))", - }, -} satisfies ChartConfig - -export default function Component() { - return ( - - - Radar Chart - - Showing total visitors for the last 6 months - - - - - - } /> - - - - - - - -
- Trending up by 5.2% this month -
-
- January - June 2024 -
-
-
- ) -} diff --git a/deprecated/www/__registry__/default/charts/chart-radar-dots.tsx b/deprecated/www/__registry__/default/charts/chart-radar-dots.tsx deleted file mode 100644 index 461a229540..0000000000 --- a/deprecated/www/__registry__/default/charts/chart-radar-dots.tsx +++ /dev/null @@ -1,79 +0,0 @@ -"use client" - -import { TrendingUp } from "lucide-react" -import { PolarAngleAxis, PolarGrid, Radar, RadarChart } from "recharts" - -import { - Card, - CardContent, - CardDescription, - CardFooter, - CardHeader, - CardTitle, -} from "@/registry/default/ui/card" -import { - ChartConfig, - ChartContainer, - ChartTooltip, - ChartTooltipContent, -} from "@/registry/default/ui/chart" - -export const description = "A radar chart with dots" - -const chartData = [ - { month: "January", desktop: 186 }, - { month: "February", desktop: 305 }, - { month: "March", desktop: 237 }, - { month: "April", desktop: 273 }, - { month: "May", desktop: 209 }, - { month: "June", desktop: 214 }, -] - -const chartConfig = { - desktop: { - label: "Desktop", - color: "hsl(var(--chart-1))", - }, -} satisfies ChartConfig - -export default function Component() { - return ( - - - Radar Chart - Dots - - Showing total visitors for the last 6 months - - - - - - } /> - - - - - - - -
- Trending up by 5.2% this month -
-
- January - June 2024 -
-
-
- ) -} diff --git a/deprecated/www/__registry__/default/charts/chart-radar-grid-circle-fill.tsx b/deprecated/www/__registry__/default/charts/chart-radar-grid-circle-fill.tsx deleted file mode 100644 index 0bed543195..0000000000 --- a/deprecated/www/__registry__/default/charts/chart-radar-grid-circle-fill.tsx +++ /dev/null @@ -1,78 +0,0 @@ -"use client" - -import { TrendingUp } from "lucide-react" -import { PolarAngleAxis, PolarGrid, Radar, RadarChart } from "recharts" - -import { - Card, - CardContent, - CardDescription, - CardFooter, - CardHeader, - CardTitle, -} from "@/registry/default/ui/card" -import { - ChartConfig, - ChartContainer, - ChartTooltip, - ChartTooltipContent, -} from "@/registry/default/ui/chart" - -export const description = "A radar chart with a grid and circle fill" - -const chartData = [ - { month: "January", desktop: 186 }, - { month: "February", desktop: 285 }, - { month: "March", desktop: 237 }, - { month: "April", desktop: 203 }, - { month: "May", desktop: 209 }, - { month: "June", desktop: 264 }, -] - -const chartConfig = { - desktop: { - label: "Desktop", - color: "hsl(var(--chart-1))", - }, -} satisfies ChartConfig - -export default function Component() { - return ( - - - Radar Chart - Grid Circle Filled - - Showing total visitors for the last 6 months - - - - - - } /> - - - - - - - -
- Trending up by 5.2% this month -
-
- January - June 2024 -
-
-
- ) -} diff --git a/deprecated/www/__registry__/default/charts/chart-radar-grid-circle-no-lines.tsx b/deprecated/www/__registry__/default/charts/chart-radar-grid-circle-no-lines.tsx deleted file mode 100644 index 332a86b3cb..0000000000 --- a/deprecated/www/__registry__/default/charts/chart-radar-grid-circle-no-lines.tsx +++ /dev/null @@ -1,82 +0,0 @@ -"use client" - -import { TrendingUp } from "lucide-react" -import { PolarAngleAxis, PolarGrid, Radar, RadarChart } from "recharts" - -import { - Card, - CardContent, - CardDescription, - CardFooter, - CardHeader, - CardTitle, -} from "@/registry/default/ui/card" -import { - ChartConfig, - ChartContainer, - ChartTooltip, - ChartTooltipContent, -} from "@/registry/default/ui/chart" - -export const description = "A radar chart with a grid and circle fill" - -const chartData = [ - { month: "January", desktop: 186 }, - { month: "February", desktop: 305 }, - { month: "March", desktop: 237 }, - { month: "April", desktop: 203 }, - { month: "May", desktop: 209 }, - { month: "June", desktop: 214 }, -] - -const chartConfig = { - desktop: { - label: "Desktop", - color: "hsl(var(--chart-1))", - }, -} satisfies ChartConfig - -export default function Component() { - return ( - - - Radar Chart - Grid Circle - No lines - - Showing total visitors for the last 6 months - - - - - - } - /> - - - - - - - -
- Trending up by 5.2% this month -
-
- January - June 2024 -
-
-
- ) -} diff --git a/deprecated/www/__registry__/default/charts/chart-radar-grid-circle.tsx b/deprecated/www/__registry__/default/charts/chart-radar-grid-circle.tsx deleted file mode 100644 index e6b3a569c4..0000000000 --- a/deprecated/www/__registry__/default/charts/chart-radar-grid-circle.tsx +++ /dev/null @@ -1,82 +0,0 @@ -"use client" - -import { TrendingUp } from "lucide-react" -import { PolarAngleAxis, PolarGrid, Radar, RadarChart } from "recharts" - -import { - Card, - CardContent, - CardDescription, - CardFooter, - CardHeader, - CardTitle, -} from "@/registry/default/ui/card" -import { - ChartConfig, - ChartContainer, - ChartTooltip, - ChartTooltipContent, -} from "@/registry/default/ui/chart" - -export const description = "A radar chart with a grid and circle" - -const chartData = [ - { month: "January", desktop: 186 }, - { month: "February", desktop: 305 }, - { month: "March", desktop: 237 }, - { month: "April", desktop: 273 }, - { month: "May", desktop: 209 }, - { month: "June", desktop: 214 }, -] - -const chartConfig = { - desktop: { - label: "Desktop", - color: "hsl(var(--chart-1))", - }, -} satisfies ChartConfig - -export default function Component() { - return ( - - - Radar Chart - Grid Circle - - Showing total visitors for the last 6 months - - - - - - } - /> - - - - - - - -
- Trending up by 5.2% this month -
-
- January - June 2024 -
-
-
- ) -} diff --git a/deprecated/www/__registry__/default/charts/chart-radar-grid-custom.tsx b/deprecated/www/__registry__/default/charts/chart-radar-grid-custom.tsx deleted file mode 100644 index 738d9f7c2a..0000000000 --- a/deprecated/www/__registry__/default/charts/chart-radar-grid-custom.tsx +++ /dev/null @@ -1,78 +0,0 @@ -"use client" - -import { TrendingUp } from "lucide-react" -import { PolarAngleAxis, PolarGrid, Radar, RadarChart } from "recharts" - -import { - Card, - CardContent, - CardDescription, - CardFooter, - CardHeader, - CardTitle, -} from "@/registry/default/ui/card" -import { - ChartConfig, - ChartContainer, - ChartTooltip, - ChartTooltipContent, -} from "@/registry/default/ui/chart" - -export const description = "A radar chart with a custom grid" - -const chartData = [ - { month: "January", desktop: 186 }, - { month: "February", desktop: 305 }, - { month: "March", desktop: 237 }, - { month: "April", desktop: 273 }, - { month: "May", desktop: 209 }, - { month: "June", desktop: 214 }, -] - -const chartConfig = { - desktop: { - label: "Desktop", - color: "hsl(var(--chart-1))", - }, -} satisfies ChartConfig - -export default function Component() { - return ( - - - Radar Chart - Grid Custom - - Showing total visitors for the last 6 months - - - - - - } - /> - - - - - - - -
- Trending up by 5.2% this month -
-
- January - June 2024 -
-
-
- ) -} diff --git a/deprecated/www/__registry__/default/charts/chart-radar-grid-fill.tsx b/deprecated/www/__registry__/default/charts/chart-radar-grid-fill.tsx deleted file mode 100644 index 182b08f51a..0000000000 --- a/deprecated/www/__registry__/default/charts/chart-radar-grid-fill.tsx +++ /dev/null @@ -1,78 +0,0 @@ -"use client" - -import { TrendingUp } from "lucide-react" -import { PolarAngleAxis, PolarGrid, Radar, RadarChart } from "recharts" - -import { - Card, - CardContent, - CardDescription, - CardFooter, - CardHeader, - CardTitle, -} from "@/registry/default/ui/card" -import { - ChartConfig, - ChartContainer, - ChartTooltip, - ChartTooltipContent, -} from "@/registry/default/ui/chart" - -export const description = "A radar chart with a grid filled" - -const chartData = [ - { month: "January", desktop: 186 }, - { month: "February", desktop: 285 }, - { month: "March", desktop: 237 }, - { month: "April", desktop: 203 }, - { month: "May", desktop: 209 }, - { month: "June", desktop: 264 }, -] - -const chartConfig = { - desktop: { - label: "Desktop", - color: "hsl(var(--chart-1))", - }, -} satisfies ChartConfig - -export default function Component() { - return ( - - - Radar Chart - Grid Filled - - Showing total visitors for the last 6 months - - - - - - } - /> - - - - - - - -
- Trending up by 5.2% this month -
-
- January - June 2024 -
-
-
- ) -} diff --git a/deprecated/www/__registry__/default/charts/chart-radar-grid-none.tsx b/deprecated/www/__registry__/default/charts/chart-radar-grid-none.tsx deleted file mode 100644 index 348075e832..0000000000 --- a/deprecated/www/__registry__/default/charts/chart-radar-grid-none.tsx +++ /dev/null @@ -1,81 +0,0 @@ -"use client" - -import { TrendingUp } from "lucide-react" -import { PolarAngleAxis, Radar, RadarChart } from "recharts" - -import { - Card, - CardContent, - CardDescription, - CardFooter, - CardHeader, - CardTitle, -} from "@/registry/default/ui/card" -import { - ChartConfig, - ChartContainer, - ChartTooltip, - ChartTooltipContent, -} from "@/registry/default/ui/chart" - -export const description = "A radar chart with no grid" - -const chartData = [ - { month: "January", desktop: 186 }, - { month: "February", desktop: 305 }, - { month: "March", desktop: 237 }, - { month: "April", desktop: 273 }, - { month: "May", desktop: 209 }, - { month: "June", desktop: 214 }, -] - -const chartConfig = { - desktop: { - label: "Desktop", - color: "hsl(var(--chart-1))", - }, -} satisfies ChartConfig - -export default function Component() { - return ( - - - Radar Chart - Grid None - - Showing total visitors for the last 6 months - - - - - - } - /> - - - - - - -
- Trending up by 5.2% this month -
-
- January - June 2024 -
-
-
- ) -} diff --git a/deprecated/www/__registry__/default/charts/chart-radar-icons.tsx b/deprecated/www/__registry__/default/charts/chart-radar-icons.tsx deleted file mode 100644 index efbbf89c8b..0000000000 --- a/deprecated/www/__registry__/default/charts/chart-radar-icons.tsx +++ /dev/null @@ -1,94 +0,0 @@ -"use client" - -import { ArrowDownFromLine, ArrowUpFromLine, TrendingUp } from "lucide-react" -import { PolarAngleAxis, PolarGrid, Radar, RadarChart } from "recharts" - -import { - Card, - CardContent, - CardDescription, - CardFooter, - CardHeader, - CardTitle, -} from "@/registry/default/ui/card" -import { - ChartConfig, - ChartContainer, - ChartLegend, - ChartLegendContent, - ChartTooltip, - ChartTooltipContent, -} from "@/registry/default/ui/chart" - -export const description = "A radar chart with icons" - -const chartData = [ - { month: "January", desktop: 186, mobile: 80 }, - { month: "February", desktop: 305, mobile: 200 }, - { month: "March", desktop: 237, mobile: 120 }, - { month: "April", desktop: 73, mobile: 190 }, - { month: "May", desktop: 209, mobile: 130 }, - { month: "June", desktop: 214, mobile: 140 }, -] - -const chartConfig = { - desktop: { - label: "Desktop", - color: "hsl(var(--chart-1))", - icon: ArrowDownFromLine, - }, - mobile: { - label: "Mobile", - color: "hsl(var(--chart-2))", - icon: ArrowUpFromLine, - }, -} satisfies ChartConfig - -export default function Component() { - return ( - - - Radar Chart - Icons - - Showing total visitors for the last 6 months - - - - - - } - /> - - - - - } /> - - - - -
- Trending up by 5.2% this month -
-
- January - June 2024 -
-
-
- ) -} diff --git a/deprecated/www/__registry__/default/charts/chart-radar-label-custom.tsx b/deprecated/www/__registry__/default/charts/chart-radar-label-custom.tsx deleted file mode 100644 index 4e65b8996d..0000000000 --- a/deprecated/www/__registry__/default/charts/chart-radar-label-custom.tsx +++ /dev/null @@ -1,120 +0,0 @@ -"use client" - -import { TrendingUp } from "lucide-react" -import { PolarAngleAxis, PolarGrid, Radar, RadarChart } from "recharts" - -import { - Card, - CardContent, - CardDescription, - CardFooter, - CardHeader, - CardTitle, -} from "@/registry/default/ui/card" -import { - ChartConfig, - ChartContainer, - ChartTooltip, - ChartTooltipContent, -} from "@/registry/default/ui/chart" - -export const description = "A radar chart with a custom label" - -const chartData = [ - { month: "January", desktop: 186, mobile: 80 }, - { month: "February", desktop: 305, mobile: 200 }, - { month: "March", desktop: 237, mobile: 120 }, - { month: "April", desktop: 73, mobile: 190 }, - { month: "May", desktop: 209, mobile: 130 }, - { month: "June", desktop: 214, mobile: 140 }, -] - -const chartConfig = { - desktop: { - label: "Desktop", - color: "hsl(var(--chart-1))", - }, - mobile: { - label: "Mobile", - color: "hsl(var(--chart-2))", - }, -} satisfies ChartConfig - -export default function Component() { - return ( - - - Radar Chart - Custom Label - - Showing total visitors for the last 6 months - - - - - - } - /> - { - const data = chartData[index] - - return ( - - {data.desktop} - / - {data.mobile} - - {data.month} - - - ) - }} - /> - - - - - - - - -
- Trending up by 5.2% this month -
-
- January - June 2024 -
-
-
- ) -} diff --git a/deprecated/www/__registry__/default/charts/chart-radar-legend.tsx b/deprecated/www/__registry__/default/charts/chart-radar-legend.tsx deleted file mode 100644 index 535bc82c07..0000000000 --- a/deprecated/www/__registry__/default/charts/chart-radar-legend.tsx +++ /dev/null @@ -1,92 +0,0 @@ -"use client" - -import { TrendingUp } from "lucide-react" -import { PolarAngleAxis, PolarGrid, Radar, RadarChart } from "recharts" - -import { - Card, - CardContent, - CardDescription, - CardFooter, - CardHeader, - CardTitle, -} from "@/registry/default/ui/card" -import { - ChartConfig, - ChartContainer, - ChartLegend, - ChartLegendContent, - ChartTooltip, - ChartTooltipContent, -} from "@/registry/default/ui/chart" - -export const description = "A radar chart with a legend" - -const chartData = [ - { month: "January", desktop: 186, mobile: 80 }, - { month: "February", desktop: 305, mobile: 200 }, - { month: "March", desktop: 237, mobile: 120 }, - { month: "April", desktop: 73, mobile: 190 }, - { month: "May", desktop: 209, mobile: 130 }, - { month: "June", desktop: 214, mobile: 140 }, -] - -const chartConfig = { - desktop: { - label: "Desktop", - color: "hsl(var(--chart-1))", - }, - mobile: { - label: "Mobile", - color: "hsl(var(--chart-2))", - }, -} satisfies ChartConfig - -export default function Component() { - return ( - - - Radar Chart - Legend - - Showing total visitors for the last 6 months - - - - - - } - /> - - - - - } /> - - - - -
- Trending up by 5.2% this month -
-
- January - June 2024 -
-
-
- ) -} diff --git a/deprecated/www/__registry__/default/charts/chart-radar-lines-only.tsx b/deprecated/www/__registry__/default/charts/chart-radar-lines-only.tsx deleted file mode 100644 index c6e0c52525..0000000000 --- a/deprecated/www/__registry__/default/charts/chart-radar-lines-only.tsx +++ /dev/null @@ -1,91 +0,0 @@ -"use client" - -import { TrendingUp } from "lucide-react" -import { PolarAngleAxis, PolarGrid, Radar, RadarChart } from "recharts" - -import { - Card, - CardContent, - CardDescription, - CardFooter, - CardHeader, - CardTitle, -} from "@/registry/default/ui/card" -import { - ChartConfig, - ChartContainer, - ChartTooltip, - ChartTooltipContent, -} from "@/registry/default/ui/chart" - -export const description = "A radar chart with lines only" - -const chartData = [ - { month: "January", desktop: 186, mobile: 160 }, - { month: "February", desktop: 185, mobile: 170 }, - { month: "March", desktop: 207, mobile: 180 }, - { month: "April", desktop: 173, mobile: 160 }, - { month: "May", desktop: 160, mobile: 190 }, - { month: "June", desktop: 174, mobile: 204 }, -] - -const chartConfig = { - desktop: { - label: "Desktop", - color: "hsl(var(--chart-1))", - }, - mobile: { - label: "Mobile", - color: "hsl(var(--chart-2))", - }, -} satisfies ChartConfig - -export default function Component() { - return ( - - - Radar Chart - Lines Only - - Showing total visitors for the last 6 months - - - - - - } - /> - - - - - - - - -
- Trending up by 5.2% this month -
-
- January - June 2024 -
-
-
- ) -} diff --git a/deprecated/www/__registry__/default/charts/chart-radar-multiple.tsx b/deprecated/www/__registry__/default/charts/chart-radar-multiple.tsx deleted file mode 100644 index 2463d7ae31..0000000000 --- a/deprecated/www/__registry__/default/charts/chart-radar-multiple.tsx +++ /dev/null @@ -1,83 +0,0 @@ -"use client" - -import { TrendingUp } from "lucide-react" -import { PolarAngleAxis, PolarGrid, Radar, RadarChart } from "recharts" - -import { - Card, - CardContent, - CardDescription, - CardFooter, - CardHeader, - CardTitle, -} from "@/registry/default/ui/card" -import { - ChartConfig, - ChartContainer, - ChartTooltip, - ChartTooltipContent, -} from "@/registry/default/ui/chart" - -export const description = "A radar chart with multiple data" - -const chartData = [ - { month: "January", desktop: 186, mobile: 80 }, - { month: "February", desktop: 305, mobile: 200 }, - { month: "March", desktop: 237, mobile: 120 }, - { month: "April", desktop: 73, mobile: 190 }, - { month: "May", desktop: 209, mobile: 130 }, - { month: "June", desktop: 214, mobile: 140 }, -] - -const chartConfig = { - desktop: { - label: "Desktop", - color: "hsl(var(--chart-1))", - }, - mobile: { - label: "Mobile", - color: "hsl(var(--chart-2))", - }, -} satisfies ChartConfig - -export default function Component() { - return ( - - - Radar Chart - Multiple - - Showing total visitors for the last 6 months - - - - - - } - /> - - - - - - - - -
- Trending up by 5.2% this month -
-
- January - June 2024 -
-
-
- ) -} diff --git a/deprecated/www/__registry__/default/charts/chart-radar-radius.tsx b/deprecated/www/__registry__/default/charts/chart-radar-radius.tsx deleted file mode 100644 index 22cbe8e197..0000000000 --- a/deprecated/www/__registry__/default/charts/chart-radar-radius.tsx +++ /dev/null @@ -1,96 +0,0 @@ -"use client" - -import { TrendingUp } from "lucide-react" -import { - PolarAngleAxis, - PolarGrid, - PolarRadiusAxis, - Radar, - RadarChart, -} from "recharts" - -import { - Card, - CardContent, - CardDescription, - CardFooter, - CardHeader, - CardTitle, -} from "@/registry/default/ui/card" -import { - ChartConfig, - ChartContainer, - ChartTooltip, - ChartTooltipContent, -} from "@/registry/default/ui/chart" - -export const description = "A radar chart with a radius axis" - -const chartData = [ - { month: "January", desktop: 186, mobile: 80 }, - { month: "February", desktop: 305, mobile: 200 }, - { month: "March", desktop: 237, mobile: 120 }, - { month: "April", desktop: 73, mobile: 190 }, - { month: "May", desktop: 209, mobile: 130 }, - { month: "June", desktop: 214, mobile: 140 }, -] - -const chartConfig = { - desktop: { - label: "Desktop", - color: "hsl(var(--chart-1))", - }, - mobile: { - label: "Mobile", - color: "hsl(var(--chart-2))", - }, -} satisfies ChartConfig - -export default function Component() { - return ( - - - Radar Chart - Radius Axis - - Showing total visitors for the last 6 months - - - - - - - } - /> - - - - - - - - -
- Trending up by 5.2% this month -
-
- January - June 2024 -
-
-
- ) -} diff --git a/deprecated/www/__registry__/default/charts/chart-radial-grid.tsx b/deprecated/www/__registry__/default/charts/chart-radial-grid.tsx deleted file mode 100644 index cc91ba2c8b..0000000000 --- a/deprecated/www/__registry__/default/charts/chart-radial-grid.tsx +++ /dev/null @@ -1,89 +0,0 @@ -"use client" - -import { TrendingUp } from "lucide-react" -import { PolarGrid, RadialBar, RadialBarChart } from "recharts" - -import { - Card, - CardContent, - CardDescription, - CardFooter, - CardHeader, - CardTitle, -} from "@/registry/default/ui/card" -import { - ChartConfig, - ChartContainer, - ChartTooltip, - ChartTooltipContent, -} from "@/registry/default/ui/chart" - -export const description = "A radial chart with a grid" - -const chartData = [ - { browser: "chrome", visitors: 275, fill: "var(--color-chrome)" }, - { browser: "safari", visitors: 200, fill: "var(--color-safari)" }, - { browser: "firefox", visitors: 187, fill: "var(--color-firefox)" }, - { browser: "edge", visitors: 173, fill: "var(--color-edge)" }, - { browser: "other", visitors: 90, fill: "var(--color-other)" }, -] - -const chartConfig = { - visitors: { - label: "Visitors", - }, - chrome: { - label: "Chrome", - color: "hsl(var(--chart-1))", - }, - safari: { - label: "Safari", - color: "hsl(var(--chart-2))", - }, - firefox: { - label: "Firefox", - color: "hsl(var(--chart-3))", - }, - edge: { - label: "Edge", - color: "hsl(var(--chart-4))", - }, - other: { - label: "Other", - color: "hsl(var(--chart-5))", - }, -} satisfies ChartConfig - -export default function Component() { - return ( - - - Radial Chart - Grid - January - June 2024 - - - - - } - /> - - - - - - -
- Trending up by 5.2% this month -
-
- Showing total visitors for the last 6 months -
-
-
- ) -} diff --git a/deprecated/www/__registry__/default/charts/chart-radial-label.tsx b/deprecated/www/__registry__/default/charts/chart-radial-label.tsx deleted file mode 100644 index 179a919f6c..0000000000 --- a/deprecated/www/__registry__/default/charts/chart-radial-label.tsx +++ /dev/null @@ -1,101 +0,0 @@ -"use client" - -import { TrendingUp } from "lucide-react" -import { LabelList, RadialBar, RadialBarChart } from "recharts" - -import { - Card, - CardContent, - CardDescription, - CardFooter, - CardHeader, - CardTitle, -} from "@/registry/default/ui/card" -import { - ChartConfig, - ChartContainer, - ChartTooltip, - ChartTooltipContent, -} from "@/registry/default/ui/chart" - -export const description = "A radial chart with a label" - -const chartData = [ - { browser: "chrome", visitors: 275, fill: "var(--color-chrome)" }, - { browser: "safari", visitors: 200, fill: "var(--color-safari)" }, - { browser: "firefox", visitors: 187, fill: "var(--color-firefox)" }, - { browser: "edge", visitors: 173, fill: "var(--color-edge)" }, - { browser: "other", visitors: 90, fill: "var(--color-other)" }, -] - -const chartConfig = { - visitors: { - label: "Visitors", - }, - chrome: { - label: "Chrome", - color: "hsl(var(--chart-1))", - }, - safari: { - label: "Safari", - color: "hsl(var(--chart-2))", - }, - firefox: { - label: "Firefox", - color: "hsl(var(--chart-3))", - }, - edge: { - label: "Edge", - color: "hsl(var(--chart-4))", - }, - other: { - label: "Other", - color: "hsl(var(--chart-5))", - }, -} satisfies ChartConfig - -export default function Component() { - return ( - - - Radial Chart - Label - January - June 2024 - - - - - } - /> - - - - - - - -
- Trending up by 5.2% this month -
-
- Showing total visitors for the last 6 months -
-
-
- ) -} diff --git a/deprecated/www/__registry__/default/charts/chart-radial-shape.tsx b/deprecated/www/__registry__/default/charts/chart-radial-shape.tsx deleted file mode 100644 index bd3754e986..0000000000 --- a/deprecated/www/__registry__/default/charts/chart-radial-shape.tsx +++ /dev/null @@ -1,108 +0,0 @@ -"use client" - -import { TrendingUp } from "lucide-react" -import { - Label, - PolarGrid, - PolarRadiusAxis, - RadialBar, - RadialBarChart, -} from "recharts" - -import { - Card, - CardContent, - CardDescription, - CardFooter, - CardHeader, - CardTitle, -} from "@/registry/default/ui/card" -import { ChartConfig, ChartContainer } from "@/registry/default/ui/chart" - -export const description = "A radial chart with a custom shape" - -const chartData = [ - { browser: "safari", visitors: 1260, fill: "var(--color-safari)" }, -] - -const chartConfig = { - visitors: { - label: "Visitors", - }, - safari: { - label: "Safari", - color: "hsl(var(--chart-2))", - }, -} satisfies ChartConfig - -export default function Component() { - return ( - - - Radial Chart - Shape - January - June 2024 - - - - - - - - - - - - -
- Trending up by 5.2% this month -
-
- Showing total visitors for the last 6 months -
-
-
- ) -} diff --git a/deprecated/www/__registry__/default/charts/chart-radial-simple.tsx b/deprecated/www/__registry__/default/charts/chart-radial-simple.tsx deleted file mode 100644 index 57a8030230..0000000000 --- a/deprecated/www/__registry__/default/charts/chart-radial-simple.tsx +++ /dev/null @@ -1,88 +0,0 @@ -"use client" - -import { TrendingUp } from "lucide-react" -import { RadialBar, RadialBarChart } from "recharts" - -import { - Card, - CardContent, - CardDescription, - CardFooter, - CardHeader, - CardTitle, -} from "@/registry/default/ui/card" -import { - ChartConfig, - ChartContainer, - ChartTooltip, - ChartTooltipContent, -} from "@/registry/default/ui/chart" - -export const description = "A radial chart" - -const chartData = [ - { browser: "chrome", visitors: 275, fill: "var(--color-chrome)" }, - { browser: "safari", visitors: 200, fill: "var(--color-safari)" }, - { browser: "firefox", visitors: 187, fill: "var(--color-firefox)" }, - { browser: "edge", visitors: 173, fill: "var(--color-edge)" }, - { browser: "other", visitors: 90, fill: "var(--color-other)" }, -] - -const chartConfig = { - visitors: { - label: "Visitors", - }, - chrome: { - label: "Chrome", - color: "hsl(var(--chart-1))", - }, - safari: { - label: "Safari", - color: "hsl(var(--chart-2))", - }, - firefox: { - label: "Firefox", - color: "hsl(var(--chart-3))", - }, - edge: { - label: "Edge", - color: "hsl(var(--chart-4))", - }, - other: { - label: "Other", - color: "hsl(var(--chart-5))", - }, -} satisfies ChartConfig - -export default function Component() { - return ( - - - Radial Chart - January - June 2024 - - - - - } - /> - - - - - -
- Trending up by 5.2% this month -
-
- Showing total visitors for the last 6 months -
-
-
- ) -} diff --git a/deprecated/www/__registry__/default/charts/chart-radial-stacked.tsx b/deprecated/www/__registry__/default/charts/chart-radial-stacked.tsx deleted file mode 100644 index a5b78f27fe..0000000000 --- a/deprecated/www/__registry__/default/charts/chart-radial-stacked.tsx +++ /dev/null @@ -1,113 +0,0 @@ -"use client" - -import { TrendingUp } from "lucide-react" -import { Label, PolarRadiusAxis, RadialBar, RadialBarChart } from "recharts" - -import { - Card, - CardContent, - CardDescription, - CardFooter, - CardHeader, - CardTitle, -} from "@/registry/default/ui/card" -import { - ChartConfig, - ChartContainer, - ChartTooltip, - ChartTooltipContent, -} from "@/registry/default/ui/chart" - -export const description = "A radial chart with stacked sections" - -const chartData = [{ month: "january", desktop: 1260, mobile: 570 }] - -const chartConfig = { - desktop: { - label: "Desktop", - color: "hsl(var(--chart-1))", - }, - mobile: { - label: "Mobile", - color: "hsl(var(--chart-2))", - }, -} satisfies ChartConfig - -export default function Component() { - const totalVisitors = chartData[0].desktop + chartData[0].mobile - - return ( - - - Radial Chart - Stacked - January - June 2024 - - - - - } - /> - - - - - - - - -
- Trending up by 5.2% this month -
-
- Showing total visitors for the last 6 months -
-
-
- ) -} diff --git a/deprecated/www/__registry__/default/charts/chart-radial-text.tsx b/deprecated/www/__registry__/default/charts/chart-radial-text.tsx deleted file mode 100644 index a798f66121..0000000000 --- a/deprecated/www/__registry__/default/charts/chart-radial-text.tsx +++ /dev/null @@ -1,109 +0,0 @@ -"use client" - -import { TrendingUp } from "lucide-react" -import { - Label, - PolarGrid, - PolarRadiusAxis, - RadialBar, - RadialBarChart, -} from "recharts" - -import { - Card, - CardContent, - CardDescription, - CardFooter, - CardHeader, - CardTitle, -} from "@/registry/default/ui/card" -import { ChartConfig, ChartContainer } from "@/registry/default/ui/chart" - -export const description = "A radial chart with text" - -const chartData = [ - { browser: "safari", visitors: 200, fill: "var(--color-safari)" }, -] - -const chartConfig = { - visitors: { - label: "Visitors", - }, - safari: { - label: "Safari", - color: "hsl(var(--chart-2))", - }, -} satisfies ChartConfig - -export default function Component() { - return ( - - - Radial Chart - Text - January - June 2024 - - - - - - - - - - - - -
- Trending up by 5.2% this month -
-
- Showing total visitors for the last 6 months -
-
-
- ) -} diff --git a/deprecated/www/__registry__/default/charts/chart-tooltip-advanced.tsx b/deprecated/www/__registry__/default/charts/chart-tooltip-advanced.tsx deleted file mode 100644 index 7a70079821..0000000000 --- a/deprecated/www/__registry__/default/charts/chart-tooltip-advanced.tsx +++ /dev/null @@ -1,123 +0,0 @@ -"use client" - -import { Bar, BarChart, XAxis } from "recharts" - -import { - Card, - CardContent, - CardDescription, - CardHeader, - CardTitle, -} from "@/registry/default/ui/card" -import { - ChartConfig, - ChartContainer, - ChartTooltip, - ChartTooltipContent, -} from "@/registry/default/ui/chart" - -export const description = "A stacked bar chart with a legend" - -const chartData = [ - { date: "2024-07-15", running: 450, swimming: 300 }, - { date: "2024-07-16", running: 380, swimming: 420 }, - { date: "2024-07-17", running: 520, swimming: 120 }, - { date: "2024-07-18", running: 140, swimming: 550 }, - { date: "2024-07-19", running: 600, swimming: 350 }, - { date: "2024-07-20", running: 480, swimming: 400 }, -] - -const chartConfig = { - running: { - label: "Running", - color: "hsl(var(--chart-1))", - }, - swimming: { - label: "Swimming", - color: "hsl(var(--chart-2))", - }, -} satisfies ChartConfig - -export default function Component() { - return ( - - - Tooltip - Advanced - - Tooltip with custom formatter and total. - - - - - - { - return new Date(value).toLocaleDateString("en-US", { - weekday: "short", - }) - }} - /> - - - ( - <> -
- {chartConfig[name as keyof typeof chartConfig]?.label || - name} -
- {value} - - kcal - -
- {/* Add this after the last item */} - {index === 1 && ( -
- Total -
- {item.payload.running + item.payload.swimming} - - kcal - -
-
- )} - - )} - /> - } - cursor={false} - defaultIndex={1} - /> - - - - - ) -} diff --git a/deprecated/www/__registry__/default/charts/chart-tooltip-default.tsx b/deprecated/www/__registry__/default/charts/chart-tooltip-default.tsx deleted file mode 100644 index e1ed087075..0000000000 --- a/deprecated/www/__registry__/default/charts/chart-tooltip-default.tsx +++ /dev/null @@ -1,89 +0,0 @@ -"use client" - -import { Bar, BarChart, XAxis } from "recharts" - -import { - Card, - CardContent, - CardDescription, - CardHeader, - CardTitle, -} from "@/registry/default/ui/card" -import { - ChartConfig, - ChartContainer, - ChartTooltip, - ChartTooltipContent, -} from "@/registry/default/ui/chart" - -export const description = "A stacked bar chart with a legend" -export const iframeHeight = "600px" -export const containerClassName = - "[&>div]:w-full [&>div]:max-w-md flex items-center justify-center min-h-svh" - -const chartData = [ - { date: "2024-07-15", running: 450, swimming: 300 }, - { date: "2024-07-16", running: 380, swimming: 420 }, - { date: "2024-07-17", running: 520, swimming: 120 }, - { date: "2024-07-18", running: 140, swimming: 550 }, - { date: "2024-07-19", running: 600, swimming: 350 }, - { date: "2024-07-20", running: 480, swimming: 400 }, -] - -const chartConfig = { - running: { - label: "Running", - color: "hsl(var(--chart-1))", - }, - swimming: { - label: "Swimming", - color: "hsl(var(--chart-2))", - }, -} satisfies ChartConfig - -export default function Component() { - return ( - - - Tooltip - Default - - Default tooltip with ChartTooltipContent. - - - - - - { - return new Date(value).toLocaleDateString("en-US", { - weekday: "short", - }) - }} - /> - - - } - cursor={false} - defaultIndex={1} - /> - - - - - ) -} diff --git a/deprecated/www/__registry__/default/charts/chart-tooltip-formatter.tsx b/deprecated/www/__registry__/default/charts/chart-tooltip-formatter.tsx deleted file mode 100644 index 8c1b6d7009..0000000000 --- a/deprecated/www/__registry__/default/charts/chart-tooltip-formatter.tsx +++ /dev/null @@ -1,100 +0,0 @@ -"use client" - -import { Bar, BarChart, XAxis } from "recharts" - -import { - Card, - CardContent, - CardDescription, - CardHeader, - CardTitle, -} from "@/registry/default/ui/card" -import { - ChartConfig, - ChartContainer, - ChartTooltip, - ChartTooltipContent, -} from "@/registry/default/ui/chart" - -export const description = "A stacked bar chart with a legend" - -const chartData = [ - { date: "2024-07-15", running: 450, swimming: 300 }, - { date: "2024-07-16", running: 380, swimming: 420 }, - { date: "2024-07-17", running: 520, swimming: 120 }, - { date: "2024-07-18", running: 140, swimming: 550 }, - { date: "2024-07-19", running: 600, swimming: 350 }, - { date: "2024-07-20", running: 480, swimming: 400 }, -] - -const chartConfig = { - running: { - label: "Running", - color: "hsl(var(--chart-1))", - }, - swimming: { - label: "Swimming", - color: "hsl(var(--chart-2))", - }, -} satisfies ChartConfig - -export default function Component() { - return ( - - - Tooltip - Formatter - Tooltip with custom formatter . - - - - - { - return new Date(value).toLocaleDateString("en-US", { - weekday: "short", - }) - }} - /> - - - ( -
- {chartConfig[name as keyof typeof chartConfig]?.label || - name} -
- {value} - - kcal - -
-
- )} - /> - } - cursor={false} - defaultIndex={1} - /> -
-
-
-
- ) -} diff --git a/deprecated/www/__registry__/default/charts/chart-tooltip-icons.tsx b/deprecated/www/__registry__/default/charts/chart-tooltip-icons.tsx deleted file mode 100644 index a95db7a7b5..0000000000 --- a/deprecated/www/__registry__/default/charts/chart-tooltip-icons.tsx +++ /dev/null @@ -1,87 +0,0 @@ -"use client" - -import { Footprints, Waves } from "lucide-react" -import { Bar, BarChart, XAxis } from "recharts" - -import { - Card, - CardContent, - CardDescription, - CardHeader, - CardTitle, -} from "@/registry/default/ui/card" -import { - ChartConfig, - ChartContainer, - ChartTooltip, - ChartTooltipContent, -} from "@/registry/default/ui/chart" - -export const description = "A stacked bar chart with a legend" - -const chartData = [ - { date: "2024-07-15", running: 450, swimming: 300 }, - { date: "2024-07-16", running: 380, swimming: 420 }, - { date: "2024-07-17", running: 520, swimming: 120 }, - { date: "2024-07-18", running: 140, swimming: 550 }, - { date: "2024-07-19", running: 600, swimming: 350 }, - { date: "2024-07-20", running: 480, swimming: 400 }, -] - -const chartConfig = { - running: { - label: "Running", - color: "hsl(var(--chart-1))", - icon: Footprints, - }, - swimming: { - label: "Swimming", - color: "hsl(var(--chart-2))", - icon: Waves, - }, -} satisfies ChartConfig - -export default function Component() { - return ( - - - Tooltip - Icons - Tooltip with icons. - - - - - { - return new Date(value).toLocaleDateString("en-US", { - weekday: "short", - }) - }} - /> - - - } - cursor={false} - defaultIndex={1} - /> - - - - - ) -} diff --git a/deprecated/www/__registry__/default/charts/chart-tooltip-indicator-line.tsx b/deprecated/www/__registry__/default/charts/chart-tooltip-indicator-line.tsx deleted file mode 100644 index 8f59a417cd..0000000000 --- a/deprecated/www/__registry__/default/charts/chart-tooltip-indicator-line.tsx +++ /dev/null @@ -1,87 +0,0 @@ -"use client" - -import { Bar, BarChart, XAxis } from "recharts" - -import { - Card, - CardContent, - CardDescription, - CardHeader, - CardTitle, -} from "@/registry/default/ui/card" -import { - ChartConfig, - ChartContainer, - ChartTooltip, - ChartTooltipContent, -} from "@/registry/default/ui/chart" - -export const description = "A stacked bar chart with a legend" -export const iframeHeight = "600px" -export const containerClassName = - "[&>div]:w-full [&>div]:max-w-md flex items-center justify-center min-h-svh" - -const chartData = [ - { date: "2024-07-15", running: 450, swimming: 300 }, - { date: "2024-07-16", running: 380, swimming: 420 }, - { date: "2024-07-17", running: 520, swimming: 120 }, - { date: "2024-07-18", running: 140, swimming: 550 }, - { date: "2024-07-19", running: 600, swimming: 350 }, - { date: "2024-07-20", running: 480, swimming: 400 }, -] - -const chartConfig = { - running: { - label: "Running", - color: "hsl(var(--chart-1))", - }, - swimming: { - label: "Swimming", - color: "hsl(var(--chart-2))", - }, -} satisfies ChartConfig - -export default function Component() { - return ( - - - Tooltip - Line Indicator - Tooltip with line indicator. - - - - - { - return new Date(value).toLocaleDateString("en-US", { - weekday: "short", - }) - }} - /> - - - } - cursor={false} - defaultIndex={1} - /> - - - - - ) -} diff --git a/deprecated/www/__registry__/default/charts/chart-tooltip-indicator-none.tsx b/deprecated/www/__registry__/default/charts/chart-tooltip-indicator-none.tsx deleted file mode 100644 index 52c3790224..0000000000 --- a/deprecated/www/__registry__/default/charts/chart-tooltip-indicator-none.tsx +++ /dev/null @@ -1,84 +0,0 @@ -"use client" - -import { Bar, BarChart, XAxis } from "recharts" - -import { - Card, - CardContent, - CardDescription, - CardHeader, - CardTitle, -} from "@/registry/default/ui/card" -import { - ChartConfig, - ChartContainer, - ChartTooltip, - ChartTooltipContent, -} from "@/registry/default/ui/chart" - -export const description = "A stacked bar chart with a legend" - -const chartData = [ - { date: "2024-07-15", running: 450, swimming: 300 }, - { date: "2024-07-16", running: 380, swimming: 420 }, - { date: "2024-07-17", running: 520, swimming: 120 }, - { date: "2024-07-18", running: 140, swimming: 550 }, - { date: "2024-07-19", running: 600, swimming: 350 }, - { date: "2024-07-20", running: 480, swimming: 400 }, -] - -const chartConfig = { - running: { - label: "Running", - color: "hsl(var(--chart-1))", - }, - swimming: { - label: "Swimming", - color: "hsl(var(--chart-2))", - }, -} satisfies ChartConfig - -export default function Component() { - return ( - - - Tooltip - No Indicator - Tooltip with no indicator. - - - - - { - return new Date(value).toLocaleDateString("en-US", { - weekday: "short", - }) - }} - /> - - - } - cursor={false} - defaultIndex={1} - /> - - - - - ) -} diff --git a/deprecated/www/__registry__/default/charts/chart-tooltip-label-custom.tsx b/deprecated/www/__registry__/default/charts/chart-tooltip-label-custom.tsx deleted file mode 100644 index ebd735e075..0000000000 --- a/deprecated/www/__registry__/default/charts/chart-tooltip-label-custom.tsx +++ /dev/null @@ -1,91 +0,0 @@ -"use client" - -import { Bar, BarChart, XAxis } from "recharts" - -import { - Card, - CardContent, - CardDescription, - CardHeader, - CardTitle, -} from "@/registry/default/ui/card" -import { - ChartConfig, - ChartContainer, - ChartTooltip, - ChartTooltipContent, -} from "@/registry/default/ui/chart" - -export const description = "A stacked bar chart with a legend" - -const chartData = [ - { date: "2024-07-15", running: 450, swimming: 300 }, - { date: "2024-07-16", running: 380, swimming: 420 }, - { date: "2024-07-17", running: 520, swimming: 120 }, - { date: "2024-07-18", running: 140, swimming: 550 }, - { date: "2024-07-19", running: 600, swimming: 350 }, - { date: "2024-07-20", running: 480, swimming: 400 }, -] - -const chartConfig = { - activities: { - label: "Activities", - }, - running: { - label: "Running", - color: "hsl(var(--chart-1))", - }, - swimming: { - label: "Swimming", - color: "hsl(var(--chart-2))", - }, -} satisfies ChartConfig - -export default function Component() { - return ( - - - Tooltip - Custom label - - Tooltip with custom label from chartConfig. - - - - - - { - return new Date(value).toLocaleDateString("en-US", { - weekday: "short", - }) - }} - /> - - - - } - cursor={false} - defaultIndex={1} - /> - - - - - ) -} diff --git a/deprecated/www/__registry__/default/charts/chart-tooltip-label-formatter.tsx b/deprecated/www/__registry__/default/charts/chart-tooltip-label-formatter.tsx deleted file mode 100644 index ed1173c5b7..0000000000 --- a/deprecated/www/__registry__/default/charts/chart-tooltip-label-formatter.tsx +++ /dev/null @@ -1,94 +0,0 @@ -"use client" - -import { Bar, BarChart, XAxis } from "recharts" - -import { - Card, - CardContent, - CardDescription, - CardHeader, - CardTitle, -} from "@/registry/default/ui/card" -import { - ChartConfig, - ChartContainer, - ChartTooltip, - ChartTooltipContent, -} from "@/registry/default/ui/chart" - -export const description = "A stacked bar chart with a legend" - -const chartData = [ - { date: "2024-07-15", running: 450, swimming: 300 }, - { date: "2024-07-16", running: 380, swimming: 420 }, - { date: "2024-07-17", running: 520, swimming: 120 }, - { date: "2024-07-18", running: 140, swimming: 550 }, - { date: "2024-07-19", running: 600, swimming: 350 }, - { date: "2024-07-20", running: 480, swimming: 400 }, -] - -const chartConfig = { - running: { - label: "Running", - color: "hsl(var(--chart-1))", - }, - swimming: { - label: "Swimming", - color: "hsl(var(--chart-2))", - }, -} satisfies ChartConfig - -export default function Component() { - return ( - - - Tooltip - Label Formatter - Tooltip with label formatter. - - - - - { - return new Date(value).toLocaleDateString("en-US", { - weekday: "short", - }) - }} - /> - - - { - return new Date(value).toLocaleDateString("en-US", { - day: "numeric", - month: "long", - year: "numeric", - }) - }} - /> - } - cursor={false} - defaultIndex={1} - /> - - - - - ) -} diff --git a/deprecated/www/__registry__/default/charts/chart-tooltip-label-none.tsx b/deprecated/www/__registry__/default/charts/chart-tooltip-label-none.tsx deleted file mode 100644 index 4aadf3fc79..0000000000 --- a/deprecated/www/__registry__/default/charts/chart-tooltip-label-none.tsx +++ /dev/null @@ -1,84 +0,0 @@ -"use client" - -import { Bar, BarChart, XAxis } from "recharts" - -import { - Card, - CardContent, - CardDescription, - CardHeader, - CardTitle, -} from "@/registry/default/ui/card" -import { - ChartConfig, - ChartContainer, - ChartTooltip, - ChartTooltipContent, -} from "@/registry/default/ui/chart" - -export const description = "A stacked bar chart with a legend" - -const chartData = [ - { date: "2024-07-15", running: 450, swimming: 300 }, - { date: "2024-07-16", running: 380, swimming: 420 }, - { date: "2024-07-17", running: 520, swimming: 120 }, - { date: "2024-07-18", running: 140, swimming: 550 }, - { date: "2024-07-19", running: 600, swimming: 350 }, - { date: "2024-07-20", running: 480, swimming: 400 }, -] - -const chartConfig = { - running: { - label: "Running", - color: "hsl(var(--chart-1))", - }, - swimming: { - label: "Swimming", - color: "hsl(var(--chart-2))", - }, -} satisfies ChartConfig - -export default function Component() { - return ( - - - Tooltip - No Label - Tooltip with no label. - - - - - { - return new Date(value).toLocaleDateString("en-US", { - weekday: "short", - }) - }} - /> - - - } - cursor={false} - defaultIndex={1} - /> - - - - - ) -} diff --git a/deprecated/www/__registry__/icons.tsx b/deprecated/www/__registry__/icons.tsx deleted file mode 100644 index 3c8f028fcb..0000000000 --- a/deprecated/www/__registry__/icons.tsx +++ /dev/null @@ -1,451 +0,0 @@ -// @ts-nocheck -// This file is autogenerated by scripts/build-registry.ts -// Do not edit this file directly. -import * as React from "react" - -export const Icons = { - AlertCircle: { - lucide: React.lazy(() => - import("lucide-react").then((mod) => ({ - default: mod.AlertCircle, - })) - ), - radix: React.lazy(() => - import("@radix-ui/react-icons").then((mod) => ({ - default: mod.ExclamationTriangleIcon, - })) - ), - }, - ArrowLeft: { - lucide: React.lazy(() => - import("lucide-react").then((mod) => ({ - default: mod.ArrowLeft, - })) - ), - radix: React.lazy(() => - import("@radix-ui/react-icons").then((mod) => ({ - default: mod.ArrowLeftIcon, - })) - ), - }, - ArrowRight: { - lucide: React.lazy(() => - import("lucide-react").then((mod) => ({ - default: mod.ArrowRight, - })) - ), - radix: React.lazy(() => - import("@radix-ui/react-icons").then((mod) => ({ - default: mod.ArrowRightIcon, - })) - ), - }, - ArrowUpDown: { - lucide: React.lazy(() => - import("lucide-react").then((mod) => ({ - default: mod.ArrowUpDown, - })) - ), - radix: React.lazy(() => - import("@radix-ui/react-icons").then((mod) => ({ - default: mod.CaretSortIcon, - })) - ), - }, - BellRing: { - lucide: React.lazy(() => - import("lucide-react").then((mod) => ({ - default: mod.BellRing, - })) - ), - radix: React.lazy(() => - import("@radix-ui/react-icons").then((mod) => ({ - default: mod.BellIcon, - })) - ), - }, - Bold: { - lucide: React.lazy(() => - import("lucide-react").then((mod) => ({ - default: mod.Bold, - })) - ), - radix: React.lazy(() => - import("@radix-ui/react-icons").then((mod) => ({ - default: mod.FontBoldIcon, - })) - ), - }, - Calculator: { - lucide: React.lazy(() => - import("lucide-react").then((mod) => ({ - default: mod.Calculator, - })) - ), - radix: React.lazy(() => - import("@radix-ui/react-icons").then((mod) => ({ - default: mod.ComponentPlaceholderIcon, - })) - ), - }, - Calendar: { - lucide: React.lazy(() => - import("lucide-react").then((mod) => ({ - default: mod.Calendar, - })) - ), - radix: React.lazy(() => - import("@radix-ui/react-icons").then((mod) => ({ - default: mod.CalendarIcon, - })) - ), - }, - Check: { - lucide: React.lazy(() => - import("lucide-react").then((mod) => ({ - default: mod.Check, - })) - ), - radix: React.lazy(() => - import("@radix-ui/react-icons").then((mod) => ({ - default: mod.CheckIcon, - })) - ), - }, - ChevronDown: { - lucide: React.lazy(() => - import("lucide-react").then((mod) => ({ - default: mod.ChevronDown, - })) - ), - radix: React.lazy(() => - import("@radix-ui/react-icons").then((mod) => ({ - default: mod.ChevronDownIcon, - })) - ), - }, - ChevronLeft: { - lucide: React.lazy(() => - import("lucide-react").then((mod) => ({ - default: mod.ChevronLeft, - })) - ), - radix: React.lazy(() => - import("@radix-ui/react-icons").then((mod) => ({ - default: mod.ChevronLeftIcon, - })) - ), - }, - ChevronRight: { - lucide: React.lazy(() => - import("lucide-react").then((mod) => ({ - default: mod.ChevronRight, - })) - ), - radix: React.lazy(() => - import("@radix-ui/react-icons").then((mod) => ({ - default: mod.ChevronRightIcon, - })) - ), - }, - ChevronUp: { - lucide: React.lazy(() => - import("lucide-react").then((mod) => ({ - default: mod.ChevronUp, - })) - ), - radix: React.lazy(() => - import("@radix-ui/react-icons").then((mod) => ({ - default: mod.ChevronUpIcon, - })) - ), - }, - ChevronsUpDown: { - lucide: React.lazy(() => - import("lucide-react").then((mod) => ({ - default: mod.ChevronsUpDown, - })) - ), - radix: React.lazy(() => - import("@radix-ui/react-icons").then((mod) => ({ - default: mod.CaretSortIcon, - })) - ), - }, - Circle: { - lucide: React.lazy(() => - import("lucide-react").then((mod) => ({ - default: mod.Circle, - })) - ), - radix: React.lazy(() => - import("@radix-ui/react-icons").then((mod) => ({ - default: mod.DotFilledIcon, - })) - ), - }, - Copy: { - lucide: React.lazy(() => - import("lucide-react").then((mod) => ({ - default: mod.Copy, - })) - ), - radix: React.lazy(() => - import("@radix-ui/react-icons").then((mod) => ({ - default: mod.CopyIcon, - })) - ), - }, - CreditCard: { - lucide: React.lazy(() => - import("lucide-react").then((mod) => ({ - default: mod.CreditCard, - })) - ), - radix: React.lazy(() => - import("@radix-ui/react-icons").then((mod) => ({ - default: mod.ComponentPlaceholderIcon, - })) - ), - }, - GripVertical: { - lucide: React.lazy(() => - import("lucide-react").then((mod) => ({ - default: mod.GripVertical, - })) - ), - radix: React.lazy(() => - import("@radix-ui/react-icons").then((mod) => ({ - default: mod.DragHandleDots2Icon, - })) - ), - }, - Italic: { - lucide: React.lazy(() => - import("lucide-react").then((mod) => ({ - default: mod.Italic, - })) - ), - radix: React.lazy(() => - import("@radix-ui/react-icons").then((mod) => ({ - default: mod.FontItalicIcon, - })) - ), - }, - Loader2: { - lucide: React.lazy(() => - import("lucide-react").then((mod) => ({ - default: mod.Loader2, - })) - ), - radix: React.lazy(() => - import("@radix-ui/react-icons").then((mod) => ({ - default: mod.ReloadIcon, - })) - ), - }, - Mail: { - lucide: React.lazy(() => - import("lucide-react").then((mod) => ({ - default: mod.Mail, - })) - ), - radix: React.lazy(() => - import("@radix-ui/react-icons").then((mod) => ({ - default: mod.EnvelopeClosedIcon, - })) - ), - }, - MailOpen: { - lucide: React.lazy(() => - import("lucide-react").then((mod) => ({ - default: mod.MailOpen, - })) - ), - radix: React.lazy(() => - import("@radix-ui/react-icons").then((mod) => ({ - default: mod.EnvelopeOpenIcon, - })) - ), - }, - Minus: { - lucide: React.lazy(() => - import("lucide-react").then((mod) => ({ - default: mod.Minus, - })) - ), - radix: React.lazy(() => - import("@radix-ui/react-icons").then((mod) => ({ - default: mod.MinusIcon, - })) - ), - }, - Moon: { - lucide: React.lazy(() => - import("lucide-react").then((mod) => ({ - default: mod.Moon, - })) - ), - radix: React.lazy(() => - import("@radix-ui/react-icons").then((mod) => ({ - default: mod.MoonIcon, - })) - ), - }, - MoreHorizontal: { - lucide: React.lazy(() => - import("lucide-react").then((mod) => ({ - default: mod.MoreHorizontal, - })) - ), - radix: React.lazy(() => - import("@radix-ui/react-icons").then((mod) => ({ - default: mod.DotsHorizontalIcon, - })) - ), - }, - PanelLeft: { - lucide: React.lazy(() => - import("lucide-react").then((mod) => ({ - default: mod.PanelLeft, - })) - ), - radix: React.lazy(() => - import("@radix-ui/react-icons").then((mod) => ({ - default: mod.ViewVerticalIcon, - })) - ), - }, - Plus: { - lucide: React.lazy(() => - import("lucide-react").then((mod) => ({ - default: mod.Plus, - })) - ), - radix: React.lazy(() => - import("@radix-ui/react-icons").then((mod) => ({ - default: mod.PlusIcon, - })) - ), - }, - Search: { - lucide: React.lazy(() => - import("lucide-react").then((mod) => ({ - default: mod.Search, - })) - ), - radix: React.lazy(() => - import("@radix-ui/react-icons").then((mod) => ({ - default: mod.MagnifyingGlassIcon, - })) - ), - }, - Send: { - lucide: React.lazy(() => - import("lucide-react").then((mod) => ({ - default: mod.Send, - })) - ), - radix: React.lazy(() => - import("@radix-ui/react-icons").then((mod) => ({ - default: mod.PaperPlaneIcon, - })) - ), - }, - Settings: { - lucide: React.lazy(() => - import("lucide-react").then((mod) => ({ - default: mod.Settings, - })) - ), - radix: React.lazy(() => - import("@radix-ui/react-icons").then((mod) => ({ - default: mod.GearIcon, - })) - ), - }, - Slash: { - lucide: React.lazy(() => - import("lucide-react").then((mod) => ({ - default: mod.Slash, - })) - ), - radix: React.lazy(() => - import("@radix-ui/react-icons").then((mod) => ({ - default: mod.SlashIcon, - })) - ), - }, - Smile: { - lucide: React.lazy(() => - import("lucide-react").then((mod) => ({ - default: mod.Smile, - })) - ), - radix: React.lazy(() => - import("@radix-ui/react-icons").then((mod) => ({ - default: mod.FaceIcon, - })) - ), - }, - Sun: { - lucide: React.lazy(() => - import("lucide-react").then((mod) => ({ - default: mod.Sun, - })) - ), - radix: React.lazy(() => - import("@radix-ui/react-icons").then((mod) => ({ - default: mod.SunIcon, - })) - ), - }, - Terminal: { - lucide: React.lazy(() => - import("lucide-react").then((mod) => ({ - default: mod.Terminal, - })) - ), - radix: React.lazy(() => - import("@radix-ui/react-icons").then((mod) => ({ - default: mod.RocketIcon, - })) - ), - }, - Underline: { - lucide: React.lazy(() => - import("lucide-react").then((mod) => ({ - default: mod.Underline, - })) - ), - radix: React.lazy(() => - import("@radix-ui/react-icons").then((mod) => ({ - default: mod.UnderlineIcon, - })) - ), - }, - User: { - lucide: React.lazy(() => - import("lucide-react").then((mod) => ({ - default: mod.User, - })) - ), - radix: React.lazy(() => - import("@radix-ui/react-icons").then((mod) => ({ - default: mod.PersonIcon, - })) - ), - }, - X: { - lucide: React.lazy(() => - import("lucide-react").then((mod) => ({ - default: mod.X, - })) - ), - radix: React.lazy(() => - import("@radix-ui/react-icons").then((mod) => ({ - default: mod.Cross2Icon, - })) - ), - }, -} diff --git a/deprecated/www/__registry__/index.tsx b/deprecated/www/__registry__/index.tsx deleted file mode 100644 index 18cf6aa04a..0000000000 --- a/deprecated/www/__registry__/index.tsx +++ /dev/null @@ -1,11928 +0,0 @@ -// @ts-nocheck -// This file is autogenerated by scripts/build-registry.ts -// Do not edit this file directly. -import * as React from "react" - -export const Index: Record = { - "new-york": { - "index": { - name: "index", - description: "", - type: "registry:style", - registryDependencies: ["utils"], - files: [], - categories: undefined, - component: React.lazy(() => import("@/registry/new-york/style/index")), - source: "", - meta: undefined, - }, - "style": { - name: "style", - description: "", - type: "registry:style", - registryDependencies: ["utils"], - files: [], - categories: undefined, - component: React.lazy(() => import("@/registry/new-york/style/style")), - source: "", - meta: undefined, - }, - "accordion": { - name: "accordion", - description: "", - type: "registry:ui", - registryDependencies: undefined, - files: [{ - path: "registry/new-york/ui/accordion.tsx", - type: "registry:ui", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/new-york/ui/accordion.tsx")), - source: "", - meta: undefined, - }, - "alert": { - name: "alert", - description: "", - type: "registry:ui", - registryDependencies: undefined, - files: [{ - path: "registry/new-york/ui/alert.tsx", - type: "registry:ui", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/new-york/ui/alert.tsx")), - source: "", - meta: undefined, - }, - "alert-dialog": { - name: "alert-dialog", - description: "", - type: "registry:ui", - registryDependencies: ["button"], - files: [{ - path: "registry/new-york/ui/alert-dialog.tsx", - type: "registry:ui", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/new-york/ui/alert-dialog.tsx")), - source: "", - meta: undefined, - }, - "aspect-ratio": { - name: "aspect-ratio", - description: "", - type: "registry:ui", - registryDependencies: undefined, - files: [{ - path: "registry/new-york/ui/aspect-ratio.tsx", - type: "registry:ui", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/new-york/ui/aspect-ratio.tsx")), - source: "", - meta: undefined, - }, - "avatar": { - name: "avatar", - description: "", - type: "registry:ui", - registryDependencies: undefined, - files: [{ - path: "registry/new-york/ui/avatar.tsx", - type: "registry:ui", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/new-york/ui/avatar.tsx")), - source: "", - meta: undefined, - }, - "badge": { - name: "badge", - description: "", - type: "registry:ui", - registryDependencies: undefined, - files: [{ - path: "registry/new-york/ui/badge.tsx", - type: "registry:ui", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/new-york/ui/badge.tsx")), - source: "", - meta: undefined, - }, - "breadcrumb": { - name: "breadcrumb", - description: "", - type: "registry:ui", - registryDependencies: undefined, - files: [{ - path: "registry/new-york/ui/breadcrumb.tsx", - type: "registry:ui", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/new-york/ui/breadcrumb.tsx")), - source: "", - meta: undefined, - }, - "button": { - name: "button", - description: "", - type: "registry:ui", - registryDependencies: undefined, - files: [{ - path: "registry/new-york/ui/button.tsx", - type: "registry:ui", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/new-york/ui/button.tsx")), - source: "", - meta: undefined, - }, - "button-group": { - name: "button-group", - description: "", - type: "registry:ui", - registryDependencies: ["button","separator"], - files: [{ - path: "registry/new-york/ui/button-group.tsx", - type: "registry:ui", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/new-york/ui/button-group.tsx")), - source: "", - meta: undefined, - }, - "calendar": { - name: "calendar", - description: "", - type: "registry:ui", - registryDependencies: ["button"], - files: [{ - path: "registry/new-york/ui/calendar.tsx", - type: "registry:ui", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/new-york/ui/calendar.tsx")), - source: "", - meta: undefined, - }, - "card": { - name: "card", - description: "", - type: "registry:ui", - registryDependencies: undefined, - files: [{ - path: "registry/new-york/ui/card.tsx", - type: "registry:ui", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/new-york/ui/card.tsx")), - source: "", - meta: undefined, - }, - "carousel": { - name: "carousel", - description: "", - type: "registry:ui", - registryDependencies: ["button"], - files: [{ - path: "registry/new-york/ui/carousel.tsx", - type: "registry:ui", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/new-york/ui/carousel.tsx")), - source: "", - meta: undefined, - }, - "chart": { - name: "chart", - description: "", - type: "registry:ui", - registryDependencies: ["card"], - files: [{ - path: "registry/new-york/ui/chart.tsx", - type: "registry:ui", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/new-york/ui/chart.tsx")), - source: "", - meta: undefined, - }, - "checkbox": { - name: "checkbox", - description: "", - type: "registry:ui", - registryDependencies: undefined, - files: [{ - path: "registry/new-york/ui/checkbox.tsx", - type: "registry:ui", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/new-york/ui/checkbox.tsx")), - source: "", - meta: undefined, - }, - "collapsible": { - name: "collapsible", - description: "", - type: "registry:ui", - registryDependencies: undefined, - files: [{ - path: "registry/new-york/ui/collapsible.tsx", - type: "registry:ui", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/new-york/ui/collapsible.tsx")), - source: "", - meta: undefined, - }, - "command": { - name: "command", - description: "", - type: "registry:ui", - registryDependencies: ["dialog"], - files: [{ - path: "registry/new-york/ui/command.tsx", - type: "registry:ui", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/new-york/ui/command.tsx")), - source: "", - meta: undefined, - }, - "context-menu": { - name: "context-menu", - description: "", - type: "registry:ui", - registryDependencies: undefined, - files: [{ - path: "registry/new-york/ui/context-menu.tsx", - type: "registry:ui", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/new-york/ui/context-menu.tsx")), - source: "", - meta: undefined, - }, - "dialog": { - name: "dialog", - description: "", - type: "registry:ui", - registryDependencies: undefined, - files: [{ - path: "registry/new-york/ui/dialog.tsx", - type: "registry:ui", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/new-york/ui/dialog.tsx")), - source: "", - meta: undefined, - }, - "drawer": { - name: "drawer", - description: "", - type: "registry:ui", - registryDependencies: undefined, - files: [{ - path: "registry/new-york/ui/drawer.tsx", - type: "registry:ui", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/new-york/ui/drawer.tsx")), - source: "", - meta: undefined, - }, - "dropdown-menu": { - name: "dropdown-menu", - description: "", - type: "registry:ui", - registryDependencies: undefined, - files: [{ - path: "registry/new-york/ui/dropdown-menu.tsx", - type: "registry:ui", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/new-york/ui/dropdown-menu.tsx")), - source: "", - meta: undefined, - }, - "empty": { - name: "empty", - description: "", - type: "registry:ui", - registryDependencies: undefined, - files: [{ - path: "registry/new-york/ui/empty.tsx", - type: "registry:ui", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/new-york/ui/empty.tsx")), - source: "", - meta: undefined, - }, - "field": { - name: "field", - description: "", - type: "registry:ui", - registryDependencies: ["label","separator"], - files: [{ - path: "registry/new-york/ui/field.tsx", - type: "registry:ui", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/new-york/ui/field.tsx")), - source: "", - meta: undefined, - }, - "form": { - name: "form", - description: "", - type: "registry:ui", - registryDependencies: ["button","label"], - files: [{ - path: "registry/new-york/ui/form.tsx", - type: "registry:ui", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/new-york/ui/form.tsx")), - source: "", - meta: undefined, - }, - "hover-card": { - name: "hover-card", - description: "", - type: "registry:ui", - registryDependencies: undefined, - files: [{ - path: "registry/new-york/ui/hover-card.tsx", - type: "registry:ui", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/new-york/ui/hover-card.tsx")), - source: "", - meta: undefined, - }, - "input": { - name: "input", - description: "", - type: "registry:ui", - registryDependencies: undefined, - files: [{ - path: "registry/new-york/ui/input.tsx", - type: "registry:ui", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/new-york/ui/input.tsx")), - source: "", - meta: undefined, - }, - "input-group": { - name: "input-group", - description: "", - type: "registry:ui", - registryDependencies: ["button","input","textarea"], - files: [{ - path: "registry/new-york/ui/input-group.tsx", - type: "registry:ui", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/new-york/ui/input-group.tsx")), - source: "", - meta: undefined, - }, - "input-otp": { - name: "input-otp", - description: "", - type: "registry:ui", - registryDependencies: undefined, - files: [{ - path: "registry/new-york/ui/input-otp.tsx", - type: "registry:ui", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/new-york/ui/input-otp.tsx")), - source: "", - meta: undefined, - }, - "item": { - name: "item", - description: "", - type: "registry:ui", - registryDependencies: ["separator"], - files: [{ - path: "registry/new-york/ui/item.tsx", - type: "registry:ui", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/new-york/ui/item.tsx")), - source: "", - meta: undefined, - }, - "kbd": { - name: "kbd", - description: "", - type: "registry:ui", - registryDependencies: undefined, - files: [{ - path: "registry/new-york/ui/kbd.tsx", - type: "registry:ui", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/new-york/ui/kbd.tsx")), - source: "", - meta: undefined, - }, - "label": { - name: "label", - description: "", - type: "registry:ui", - registryDependencies: undefined, - files: [{ - path: "registry/new-york/ui/label.tsx", - type: "registry:ui", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/new-york/ui/label.tsx")), - source: "", - meta: undefined, - }, - "menubar": { - name: "menubar", - description: "", - type: "registry:ui", - registryDependencies: undefined, - files: [{ - path: "registry/new-york/ui/menubar.tsx", - type: "registry:ui", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/new-york/ui/menubar.tsx")), - source: "", - meta: undefined, - }, - "navigation-menu": { - name: "navigation-menu", - description: "", - type: "registry:ui", - registryDependencies: undefined, - files: [{ - path: "registry/new-york/ui/navigation-menu.tsx", - type: "registry:ui", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/new-york/ui/navigation-menu.tsx")), - source: "", - meta: undefined, - }, - "pagination": { - name: "pagination", - description: "", - type: "registry:ui", - registryDependencies: ["button"], - files: [{ - path: "registry/new-york/ui/pagination.tsx", - type: "registry:ui", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/new-york/ui/pagination.tsx")), - source: "", - meta: undefined, - }, - "popover": { - name: "popover", - description: "", - type: "registry:ui", - registryDependencies: undefined, - files: [{ - path: "registry/new-york/ui/popover.tsx", - type: "registry:ui", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/new-york/ui/popover.tsx")), - source: "", - meta: undefined, - }, - "progress": { - name: "progress", - description: "", - type: "registry:ui", - registryDependencies: undefined, - files: [{ - path: "registry/new-york/ui/progress.tsx", - type: "registry:ui", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/new-york/ui/progress.tsx")), - source: "", - meta: undefined, - }, - "radio-group": { - name: "radio-group", - description: "", - type: "registry:ui", - registryDependencies: undefined, - files: [{ - path: "registry/new-york/ui/radio-group.tsx", - type: "registry:ui", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/new-york/ui/radio-group.tsx")), - source: "", - meta: undefined, - }, - "resizable": { - name: "resizable", - description: "", - type: "registry:ui", - registryDependencies: undefined, - files: [{ - path: "registry/new-york/ui/resizable.tsx", - type: "registry:ui", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/new-york/ui/resizable.tsx")), - source: "", - meta: undefined, - }, - "scroll-area": { - name: "scroll-area", - description: "", - type: "registry:ui", - registryDependencies: undefined, - files: [{ - path: "registry/new-york/ui/scroll-area.tsx", - type: "registry:ui", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/new-york/ui/scroll-area.tsx")), - source: "", - meta: undefined, - }, - "select": { - name: "select", - description: "", - type: "registry:ui", - registryDependencies: undefined, - files: [{ - path: "registry/new-york/ui/select.tsx", - type: "registry:ui", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/new-york/ui/select.tsx")), - source: "", - meta: undefined, - }, - "separator": { - name: "separator", - description: "", - type: "registry:ui", - registryDependencies: undefined, - files: [{ - path: "registry/new-york/ui/separator.tsx", - type: "registry:ui", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/new-york/ui/separator.tsx")), - source: "", - meta: undefined, - }, - "sheet": { - name: "sheet", - description: "", - type: "registry:ui", - registryDependencies: undefined, - files: [{ - path: "registry/new-york/ui/sheet.tsx", - type: "registry:ui", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/new-york/ui/sheet.tsx")), - source: "", - meta: undefined, - }, - "sidebar": { - name: "sidebar", - description: "", - type: "registry:ui", - registryDependencies: ["button","separator","sheet","tooltip","input","use-mobile","skeleton"], - files: [{ - path: "registry/new-york/ui/sidebar.tsx", - type: "registry:ui", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/new-york/ui/sidebar.tsx")), - source: "", - meta: undefined, - }, - "skeleton": { - name: "skeleton", - description: "", - type: "registry:ui", - registryDependencies: undefined, - files: [{ - path: "registry/new-york/ui/skeleton.tsx", - type: "registry:ui", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/new-york/ui/skeleton.tsx")), - source: "", - meta: undefined, - }, - "slider": { - name: "slider", - description: "", - type: "registry:ui", - registryDependencies: undefined, - files: [{ - path: "registry/new-york/ui/slider.tsx", - type: "registry:ui", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/new-york/ui/slider.tsx")), - source: "", - meta: undefined, - }, - "sonner": { - name: "sonner", - description: "", - type: "registry:ui", - registryDependencies: undefined, - files: [{ - path: "registry/new-york/ui/sonner.tsx", - type: "registry:ui", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/new-york/ui/sonner.tsx")), - source: "", - meta: undefined, - }, - "spinner": { - name: "spinner", - description: "", - type: "registry:ui", - registryDependencies: undefined, - files: [{ - path: "registry/new-york/ui/spinner.tsx", - type: "registry:ui", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/new-york/ui/spinner.tsx")), - source: "", - meta: undefined, - }, - "switch": { - name: "switch", - description: "", - type: "registry:ui", - registryDependencies: undefined, - files: [{ - path: "registry/new-york/ui/switch.tsx", - type: "registry:ui", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/new-york/ui/switch.tsx")), - source: "", - meta: undefined, - }, - "table": { - name: "table", - description: "", - type: "registry:ui", - registryDependencies: undefined, - files: [{ - path: "registry/new-york/ui/table.tsx", - type: "registry:ui", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/new-york/ui/table.tsx")), - source: "", - meta: undefined, - }, - "tabs": { - name: "tabs", - description: "", - type: "registry:ui", - registryDependencies: undefined, - files: [{ - path: "registry/new-york/ui/tabs.tsx", - type: "registry:ui", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/new-york/ui/tabs.tsx")), - source: "", - meta: undefined, - }, - "textarea": { - name: "textarea", - description: "", - type: "registry:ui", - registryDependencies: undefined, - files: [{ - path: "registry/new-york/ui/textarea.tsx", - type: "registry:ui", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/new-york/ui/textarea.tsx")), - source: "", - meta: undefined, - }, - "toast": { - name: "toast", - description: "", - type: "registry:ui", - registryDependencies: undefined, - files: [{ - path: "registry/new-york/ui/toast.tsx", - type: "registry:ui", - target: "" - },{ - path: "registry/new-york/hooks/use-toast.ts", - type: "registry:hook", - target: "" - },{ - path: "registry/new-york/ui/toaster.tsx", - type: "registry:ui", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/new-york/ui/toast.tsx")), - source: "", - meta: undefined, - }, - "toggle": { - name: "toggle", - description: "", - type: "registry:ui", - registryDependencies: undefined, - files: [{ - path: "registry/new-york/ui/toggle.tsx", - type: "registry:ui", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/new-york/ui/toggle.tsx")), - source: "", - meta: undefined, - }, - "toggle-group": { - name: "toggle-group", - description: "", - type: "registry:ui", - registryDependencies: ["toggle"], - files: [{ - path: "registry/new-york/ui/toggle-group.tsx", - type: "registry:ui", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/new-york/ui/toggle-group.tsx")), - source: "", - meta: undefined, - }, - "tooltip": { - name: "tooltip", - description: "", - type: "registry:ui", - registryDependencies: undefined, - files: [{ - path: "registry/new-york/ui/tooltip.tsx", - type: "registry:ui", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/new-york/ui/tooltip.tsx")), - source: "", - meta: undefined, - }, - "dashboard-01": { - name: "dashboard-01", - description: "A dashboard with sidebar, charts and data table.", - type: "registry:block", - registryDependencies: ["sidebar","breadcrumb","separator","label","chart","card","select","tabs","table","toggle-group","badge","button","checkbox","dropdown-menu","drawer","input","avatar","sheet","sonner"], - files: [{ - path: "registry/new-york/blocks/dashboard-01/page.tsx", - type: "registry:page", - target: "app/dashboard/page.tsx" - },{ - path: "registry/new-york/blocks/dashboard-01/data.json", - type: "registry:file", - target: "app/dashboard/data.json" - },{ - path: "registry/new-york/blocks/dashboard-01/components/app-sidebar.tsx", - type: "registry:component", - target: "" - },{ - path: "registry/new-york/blocks/dashboard-01/components/chart-area-interactive.tsx", - type: "registry:component", - target: "" - },{ - path: "registry/new-york/blocks/dashboard-01/components/data-table.tsx", - type: "registry:component", - target: "" - },{ - path: "registry/new-york/blocks/dashboard-01/components/nav-documents.tsx", - type: "registry:component", - target: "" - },{ - path: "registry/new-york/blocks/dashboard-01/components/nav-main.tsx", - type: "registry:component", - target: "" - },{ - path: "registry/new-york/blocks/dashboard-01/components/nav-secondary.tsx", - type: "registry:component", - target: "" - },{ - path: "registry/new-york/blocks/dashboard-01/components/nav-user.tsx", - type: "registry:component", - target: "" - },{ - path: "registry/new-york/blocks/dashboard-01/components/section-cards.tsx", - type: "registry:component", - target: "" - },{ - path: "registry/new-york/blocks/dashboard-01/components/site-header.tsx", - type: "registry:component", - target: "" - }], - categories: ["dashboard"], - component: React.lazy(() => import("@/registry/new-york/blocks/dashboard-01/page.tsx")), - source: "__registry__/new-york/blocks/dashboard-01/page.tsx", - meta: undefined, - }, - "sidebar-01": { - name: "sidebar-01", - description: "A simple sidebar with navigation grouped by section.", - type: "registry:block", - registryDependencies: ["sidebar","breadcrumb","separator","label","dropdown-menu"], - files: [{ - path: "registry/new-york/blocks/sidebar-01/page.tsx", - type: "registry:page", - target: "app/dashboard/page.tsx" - },{ - path: "registry/new-york/blocks/sidebar-01/components/app-sidebar.tsx", - type: "registry:component", - target: "" - },{ - path: "registry/new-york/blocks/sidebar-01/components/search-form.tsx", - type: "registry:component", - target: "" - },{ - path: "registry/new-york/blocks/sidebar-01/components/version-switcher.tsx", - type: "registry:component", - target: "" - }], - categories: ["sidebar","dashboard"], - component: React.lazy(() => import("@/registry/new-york/blocks/sidebar-01/page.tsx")), - source: "__registry__/new-york/blocks/sidebar-01/page.tsx", - meta: undefined, - }, - "sidebar-02": { - name: "sidebar-02", - description: "A sidebar with collapsible sections.", - type: "registry:block", - registryDependencies: ["sidebar","breadcrumb","separator","label","dropdown-menu"], - files: [{ - path: "registry/new-york/blocks/sidebar-02/page.tsx", - type: "registry:page", - target: "app/dashboard/page.tsx" - },{ - path: "registry/new-york/blocks/sidebar-02/components/app-sidebar.tsx", - type: "registry:component", - target: "" - },{ - path: "registry/new-york/blocks/sidebar-02/components/search-form.tsx", - type: "registry:component", - target: "" - },{ - path: "registry/new-york/blocks/sidebar-02/components/version-switcher.tsx", - type: "registry:component", - target: "" - }], - categories: ["sidebar","dashboard"], - component: React.lazy(() => import("@/registry/new-york/blocks/sidebar-02/page.tsx")), - source: "__registry__/new-york/blocks/sidebar-02/page.tsx", - meta: undefined, - }, - "sidebar-03": { - name: "sidebar-03", - description: "A sidebar with submenus.", - type: "registry:block", - registryDependencies: ["sidebar","breadcrumb"], - files: [{ - path: "registry/new-york/blocks/sidebar-03/page.tsx", - type: "registry:page", - target: "app/dashboard/page.tsx" - },{ - path: "registry/new-york/blocks/sidebar-03/components/app-sidebar.tsx", - type: "registry:component", - target: "" - }], - categories: ["sidebar","dashboard"], - component: React.lazy(() => import("@/registry/new-york/blocks/sidebar-03/page.tsx")), - source: "__registry__/new-york/blocks/sidebar-03/page.tsx", - meta: undefined, - }, - "sidebar-04": { - name: "sidebar-04", - description: "A floating sidebar with submenus.", - type: "registry:block", - registryDependencies: ["sidebar","breadcrumb","separator"], - files: [{ - path: "registry/new-york/blocks/sidebar-04/page.tsx", - type: "registry:page", - target: "app/dashboard/page.tsx" - },{ - path: "registry/new-york/blocks/sidebar-04/components/app-sidebar.tsx", - type: "registry:component", - target: "" - }], - categories: ["sidebar","dashboard"], - component: React.lazy(() => import("@/registry/new-york/blocks/sidebar-04/page.tsx")), - source: "__registry__/new-york/blocks/sidebar-04/page.tsx", - meta: undefined, - }, - "sidebar-05": { - name: "sidebar-05", - description: "A sidebar with collapsible submenus.", - type: "registry:block", - registryDependencies: ["sidebar","breadcrumb","separator","label","collapsible"], - files: [{ - path: "registry/new-york/blocks/sidebar-05/page.tsx", - type: "registry:page", - target: "app/dashboard/page.tsx" - },{ - path: "registry/new-york/blocks/sidebar-05/components/app-sidebar.tsx", - type: "registry:component", - target: "" - },{ - path: "registry/new-york/blocks/sidebar-05/components/search-form.tsx", - type: "registry:component", - target: "" - }], - categories: ["sidebar","dashboard"], - component: React.lazy(() => import("@/registry/new-york/blocks/sidebar-05/page.tsx")), - source: "__registry__/new-york/blocks/sidebar-05/page.tsx", - meta: undefined, - }, - "sidebar-06": { - name: "sidebar-06", - description: "A sidebar with submenus as dropdowns.", - type: "registry:block", - registryDependencies: ["sidebar","breadcrumb","separator","card","dropdown-menu"], - files: [{ - path: "registry/new-york/blocks/sidebar-06/page.tsx", - type: "registry:page", - target: "app/dashboard/page.tsx" - },{ - path: "registry/new-york/blocks/sidebar-06/components/app-sidebar.tsx", - type: "registry:component", - target: "" - },{ - path: "registry/new-york/blocks/sidebar-06/components/nav-main.tsx", - type: "registry:component", - target: "" - },{ - path: "registry/new-york/blocks/sidebar-06/components/sidebar-opt-in-form.tsx", - type: "registry:component", - target: "" - }], - categories: ["sidebar","dashboard"], - component: React.lazy(() => import("@/registry/new-york/blocks/sidebar-06/page.tsx")), - source: "__registry__/new-york/blocks/sidebar-06/page.tsx", - meta: undefined, - }, - "sidebar-07": { - name: "sidebar-07", - description: "A sidebar that collapses to icons.", - type: "registry:block", - registryDependencies: ["sidebar","breadcrumb","separator","collapsible","dropdown-menu","avatar"], - files: [{ - path: "registry/new-york/blocks/sidebar-07/page.tsx", - type: "registry:page", - target: "app/dashboard/page.tsx" - },{ - path: "registry/new-york/blocks/sidebar-07/components/app-sidebar.tsx", - type: "registry:component", - target: "" - },{ - path: "registry/new-york/blocks/sidebar-07/components/nav-main.tsx", - type: "registry:component", - target: "" - },{ - path: "registry/new-york/blocks/sidebar-07/components/nav-projects.tsx", - type: "registry:component", - target: "" - },{ - path: "registry/new-york/blocks/sidebar-07/components/nav-user.tsx", - type: "registry:component", - target: "" - },{ - path: "registry/new-york/blocks/sidebar-07/components/team-switcher.tsx", - type: "registry:component", - target: "" - }], - categories: ["sidebar","dashboard"], - component: React.lazy(() => import("@/registry/new-york/blocks/sidebar-07/page.tsx")), - source: "__registry__/new-york/blocks/sidebar-07/page.tsx", - meta: undefined, - }, - "sidebar-08": { - name: "sidebar-08", - description: "An inset sidebar with secondary navigation.", - type: "registry:block", - registryDependencies: ["sidebar","breadcrumb","separator","collapsible","dropdown-menu","avatar"], - files: [{ - path: "registry/new-york/blocks/sidebar-08/page.tsx", - type: "registry:page", - target: "app/dashboard/page.tsx" - },{ - path: "registry/new-york/blocks/sidebar-08/components/app-sidebar.tsx", - type: "registry:component", - target: "" - },{ - path: "registry/new-york/blocks/sidebar-08/components/nav-main.tsx", - type: "registry:component", - target: "" - },{ - path: "registry/new-york/blocks/sidebar-08/components/nav-projects.tsx", - type: "registry:component", - target: "" - },{ - path: "registry/new-york/blocks/sidebar-08/components/nav-secondary.tsx", - type: "registry:component", - target: "" - },{ - path: "registry/new-york/blocks/sidebar-08/components/nav-user.tsx", - type: "registry:component", - target: "" - }], - categories: ["sidebar","dashboard"], - component: React.lazy(() => import("@/registry/new-york/blocks/sidebar-08/page.tsx")), - source: "__registry__/new-york/blocks/sidebar-08/page.tsx", - meta: undefined, - }, - "sidebar-09": { - name: "sidebar-09", - description: "Collapsible nested sidebars.", - type: "registry:block", - registryDependencies: ["sidebar","breadcrumb","separator","collapsible","dropdown-menu","avatar","switch","label"], - files: [{ - path: "registry/new-york/blocks/sidebar-09/page.tsx", - type: "registry:page", - target: "app/dashboard/page.tsx" - },{ - path: "registry/new-york/blocks/sidebar-09/components/app-sidebar.tsx", - type: "registry:component", - target: "" - },{ - path: "registry/new-york/blocks/sidebar-09/components/nav-user.tsx", - type: "registry:component", - target: "" - }], - categories: ["sidebar","dashboard"], - component: React.lazy(() => import("@/registry/new-york/blocks/sidebar-09/page.tsx")), - source: "__registry__/new-york/blocks/sidebar-09/page.tsx", - meta: undefined, - }, - "sidebar-10": { - name: "sidebar-10", - description: "A sidebar in a popover.", - type: "registry:block", - registryDependencies: ["sidebar","breadcrumb","separator","popover","collapsible","dropdown-menu"], - files: [{ - path: "registry/new-york/blocks/sidebar-10/page.tsx", - type: "registry:page", - target: "app/dashboard/page.tsx" - },{ - path: "registry/new-york/blocks/sidebar-10/components/app-sidebar.tsx", - type: "registry:component", - target: "" - },{ - path: "registry/new-york/blocks/sidebar-10/components/nav-actions.tsx", - type: "registry:component", - target: "" - },{ - path: "registry/new-york/blocks/sidebar-10/components/nav-favorites.tsx", - type: "registry:component", - target: "" - },{ - path: "registry/new-york/blocks/sidebar-10/components/nav-main.tsx", - type: "registry:component", - target: "" - },{ - path: "registry/new-york/blocks/sidebar-10/components/nav-secondary.tsx", - type: "registry:component", - target: "" - },{ - path: "registry/new-york/blocks/sidebar-10/components/nav-workspaces.tsx", - type: "registry:component", - target: "" - },{ - path: "registry/new-york/blocks/sidebar-10/components/team-switcher.tsx", - type: "registry:component", - target: "" - }], - categories: ["sidebar","dashboard"], - component: React.lazy(() => import("@/registry/new-york/blocks/sidebar-10/page.tsx")), - source: "__registry__/new-york/blocks/sidebar-10/page.tsx", - meta: undefined, - }, - "sidebar-11": { - name: "sidebar-11", - description: "A sidebar with a collapsible file tree.", - type: "registry:block", - registryDependencies: ["sidebar","breadcrumb","separator","collapsible"], - files: [{ - path: "registry/new-york/blocks/sidebar-11/page.tsx", - type: "registry:page", - target: "app/dashboard/page.tsx" - },{ - path: "registry/new-york/blocks/sidebar-11/components/app-sidebar.tsx", - type: "registry:component", - target: "" - }], - categories: ["sidebar","dashboard"], - component: React.lazy(() => import("@/registry/new-york/blocks/sidebar-11/page.tsx")), - source: "__registry__/new-york/blocks/sidebar-11/page.tsx", - meta: undefined, - }, - "sidebar-12": { - name: "sidebar-12", - description: "A sidebar with a calendar.", - type: "registry:block", - registryDependencies: ["sidebar","breadcrumb","separator","collapsible","calendar","dropdown-menu","avatar"], - files: [{ - path: "registry/new-york/blocks/sidebar-12/page.tsx", - type: "registry:page", - target: "app/dashboard/page.tsx" - },{ - path: "registry/new-york/blocks/sidebar-12/components/app-sidebar.tsx", - type: "registry:component", - target: "" - },{ - path: "registry/new-york/blocks/sidebar-12/components/calendars.tsx", - type: "registry:component", - target: "" - },{ - path: "registry/new-york/blocks/sidebar-12/components/date-picker.tsx", - type: "registry:component", - target: "" - },{ - path: "registry/new-york/blocks/sidebar-12/components/nav-user.tsx", - type: "registry:component", - target: "" - }], - categories: ["sidebar","dashboard"], - component: React.lazy(() => import("@/registry/new-york/blocks/sidebar-12/page.tsx")), - source: "__registry__/new-york/blocks/sidebar-12/page.tsx", - meta: undefined, - }, - "sidebar-13": { - name: "sidebar-13", - description: "A sidebar in a dialog.", - type: "registry:block", - registryDependencies: ["sidebar","breadcrumb","button","dialog"], - files: [{ - path: "registry/new-york/blocks/sidebar-13/page.tsx", - type: "registry:page", - target: "app/dashboard/page.tsx" - },{ - path: "registry/new-york/blocks/sidebar-13/components/settings-dialog.tsx", - type: "registry:component", - target: "" - }], - categories: ["sidebar","dashboard"], - component: React.lazy(() => import("@/registry/new-york/blocks/sidebar-13/page.tsx")), - source: "__registry__/new-york/blocks/sidebar-13/page.tsx", - meta: undefined, - }, - "sidebar-14": { - name: "sidebar-14", - description: "A sidebar on the right.", - type: "registry:block", - registryDependencies: ["sidebar","breadcrumb"], - files: [{ - path: "registry/new-york/blocks/sidebar-14/page.tsx", - type: "registry:page", - target: "app/dashboard/page.tsx" - },{ - path: "registry/new-york/blocks/sidebar-14/components/app-sidebar.tsx", - type: "registry:component", - target: "" - }], - categories: ["sidebar","dashboard"], - component: React.lazy(() => import("@/registry/new-york/blocks/sidebar-14/page.tsx")), - source: "__registry__/new-york/blocks/sidebar-14/page.tsx", - meta: undefined, - }, - "sidebar-15": { - name: "sidebar-15", - description: "A left and right sidebar.", - type: "registry:block", - registryDependencies: ["sidebar","breadcrumb","separator","popover","collapsible","dropdown-menu","calendar","avatar"], - files: [{ - path: "registry/new-york/blocks/sidebar-15/page.tsx", - type: "registry:page", - target: "app/dashboard/page.tsx" - },{ - path: "registry/new-york/blocks/sidebar-15/components/calendars.tsx", - type: "registry:component", - target: "" - },{ - path: "registry/new-york/blocks/sidebar-15/components/date-picker.tsx", - type: "registry:component", - target: "" - },{ - path: "registry/new-york/blocks/sidebar-15/components/nav-favorites.tsx", - type: "registry:component", - target: "" - },{ - path: "registry/new-york/blocks/sidebar-15/components/nav-main.tsx", - type: "registry:component", - target: "" - },{ - path: "registry/new-york/blocks/sidebar-15/components/nav-secondary.tsx", - type: "registry:component", - target: "" - },{ - path: "registry/new-york/blocks/sidebar-15/components/nav-user.tsx", - type: "registry:component", - target: "" - },{ - path: "registry/new-york/blocks/sidebar-15/components/nav-workspaces.tsx", - type: "registry:component", - target: "" - },{ - path: "registry/new-york/blocks/sidebar-15/components/sidebar-left.tsx", - type: "registry:component", - target: "" - },{ - path: "registry/new-york/blocks/sidebar-15/components/sidebar-right.tsx", - type: "registry:component", - target: "" - },{ - path: "registry/new-york/blocks/sidebar-15/components/team-switcher.tsx", - type: "registry:component", - target: "" - }], - categories: ["sidebar","dashboard"], - component: React.lazy(() => import("@/registry/new-york/blocks/sidebar-15/page.tsx")), - source: "__registry__/new-york/blocks/sidebar-15/page.tsx", - meta: undefined, - }, - "sidebar-16": { - name: "sidebar-16", - description: "A sidebar with a sticky site header.", - type: "registry:block", - registryDependencies: ["sidebar","breadcrumb","separator","collapsible","dropdown-menu","avatar","button","label"], - files: [{ - path: "registry/new-york/blocks/sidebar-16/page.tsx", - type: "registry:page", - target: "app/dashboard/page.tsx" - },{ - path: "registry/new-york/blocks/sidebar-16/components/app-sidebar.tsx", - type: "registry:component", - target: "" - },{ - path: "registry/new-york/blocks/sidebar-16/components/nav-main.tsx", - type: "registry:component", - target: "" - },{ - path: "registry/new-york/blocks/sidebar-16/components/nav-projects.tsx", - type: "registry:component", - target: "" - },{ - path: "registry/new-york/blocks/sidebar-16/components/nav-secondary.tsx", - type: "registry:component", - target: "" - },{ - path: "registry/new-york/blocks/sidebar-16/components/nav-user.tsx", - type: "registry:component", - target: "" - },{ - path: "registry/new-york/blocks/sidebar-16/components/search-form.tsx", - type: "registry:component", - target: "" - },{ - path: "registry/new-york/blocks/sidebar-16/components/site-header.tsx", - type: "registry:component", - target: "" - }], - categories: ["sidebar","dashboard"], - component: React.lazy(() => import("@/registry/new-york/blocks/sidebar-16/page.tsx")), - source: "__registry__/new-york/blocks/sidebar-16/page.tsx", - meta: undefined, - }, - "login-01": { - name: "login-01", - description: "A simple login form.", - type: "registry:block", - registryDependencies: ["button","card","input","label"], - files: [{ - path: "registry/new-york/blocks/login-01/page.tsx", - type: "registry:page", - target: "app/login/page.tsx" - },{ - path: "registry/new-york/blocks/login-01/components/login-form.tsx", - type: "registry:component", - target: "" - }], - categories: ["authentication","login"], - component: React.lazy(() => import("@/registry/new-york/blocks/login-01/page.tsx")), - source: "__registry__/new-york/blocks/login-01/page.tsx", - meta: undefined, - }, - "login-02": { - name: "login-02", - description: "A two column login page with a cover image.", - type: "registry:block", - registryDependencies: ["button","card","input","label"], - files: [{ - path: "registry/new-york/blocks/login-02/page.tsx", - type: "registry:page", - target: "app/login/page.tsx" - },{ - path: "registry/new-york/blocks/login-02/components/login-form.tsx", - type: "registry:component", - target: "" - }], - categories: ["authentication","login"], - component: React.lazy(() => import("@/registry/new-york/blocks/login-02/page.tsx")), - source: "__registry__/new-york/blocks/login-02/page.tsx", - meta: undefined, - }, - "login-03": { - name: "login-03", - description: "A login page with a muted background color.", - type: "registry:block", - registryDependencies: ["button","card","input","label"], - files: [{ - path: "registry/new-york/blocks/login-03/page.tsx", - type: "registry:page", - target: "app/login/page.tsx" - },{ - path: "registry/new-york/blocks/login-03/components/login-form.tsx", - type: "registry:component", - target: "" - }], - categories: ["authentication","login"], - component: React.lazy(() => import("@/registry/new-york/blocks/login-03/page.tsx")), - source: "__registry__/new-york/blocks/login-03/page.tsx", - meta: undefined, - }, - "login-04": { - name: "login-04", - description: "A login page with form and image.", - type: "registry:block", - registryDependencies: ["button","card","input","label"], - files: [{ - path: "registry/new-york/blocks/login-04/page.tsx", - type: "registry:page", - target: "app/login/page.tsx" - },{ - path: "registry/new-york/blocks/login-04/components/login-form.tsx", - type: "registry:component", - target: "" - }], - categories: ["authentication","login"], - component: React.lazy(() => import("@/registry/new-york/blocks/login-04/page.tsx")), - source: "__registry__/new-york/blocks/login-04/page.tsx", - meta: undefined, - }, - "login-05": { - name: "login-05", - description: "A simple email-only login page.", - type: "registry:block", - registryDependencies: ["button","card","input","label"], - files: [{ - path: "registry/new-york/blocks/login-05/page.tsx", - type: "registry:page", - target: "app/login/page.tsx" - },{ - path: "registry/new-york/blocks/login-05/components/login-form.tsx", - type: "registry:component", - target: "" - }], - categories: ["authentication","login"], - component: React.lazy(() => import("@/registry/new-york/blocks/login-05/page.tsx")), - source: "__registry__/new-york/blocks/login-05/page.tsx", - meta: undefined, - }, - "calendar-01": { - name: "calendar-01", - description: "A simple calendar.", - type: "registry:block", - registryDependencies: ["calendar"], - files: [{ - path: "registry/new-york/blocks/calendar-01.tsx", - type: "registry:component", - target: "" - }], - categories: ["calendar","date"], - component: React.lazy(() => import("@/registry/new-york/blocks/calendar-01.tsx")), - source: "__registry__/new-york/blocks/calendar-01.tsx", - meta: {"iframeHeight":"600px","container":"w-full bg-surface min-h-svh flex px-4 py-12 items-start md:py-20 justify-center min-w-0","mobile":"component"}, - }, - "calendar-02": { - name: "calendar-02", - description: "Multiple months with single selection.", - type: "registry:block", - registryDependencies: ["calendar"], - files: [{ - path: "registry/new-york/blocks/calendar-02.tsx", - type: "registry:component", - target: "" - }], - categories: ["calendar","date"], - component: React.lazy(() => import("@/registry/new-york/blocks/calendar-02.tsx")), - source: "__registry__/new-york/blocks/calendar-02.tsx", - meta: {"iframeHeight":"600px","container":"w-full bg-surface min-h-svh flex px-4 py-12 items-start md:py-20 justify-center min-w-0","mobile":"component"}, - }, - "calendar-03": { - name: "calendar-03", - description: "Multiple months with multiple selection.", - type: "registry:block", - registryDependencies: ["calendar"], - files: [{ - path: "registry/new-york/blocks/calendar-03.tsx", - type: "registry:component", - target: "" - }], - categories: ["calendar","date"], - component: React.lazy(() => import("@/registry/new-york/blocks/calendar-03.tsx")), - source: "__registry__/new-york/blocks/calendar-03.tsx", - meta: {"iframeHeight":"600px","container":"w-full bg-surface min-h-svh flex px-4 py-12 items-start md:py-20 justify-center min-w-0","mobile":"component"}, - }, - "calendar-04": { - name: "calendar-04", - description: "Single month with range selection", - type: "registry:block", - registryDependencies: ["calendar"], - files: [{ - path: "registry/new-york/blocks/calendar-04.tsx", - type: "registry:component", - target: "" - }], - categories: ["calendar","date"], - component: React.lazy(() => import("@/registry/new-york/blocks/calendar-04.tsx")), - source: "__registry__/new-york/blocks/calendar-04.tsx", - meta: {"iframeHeight":"600px","container":"w-full bg-surface min-h-svh flex px-4 py-12 items-start md:py-20 justify-center min-w-0 xl:pt-28","mobile":"component"}, - }, - "calendar-05": { - name: "calendar-05", - description: "Multiple months with range selection", - type: "registry:block", - registryDependencies: ["calendar"], - files: [{ - path: "registry/new-york/blocks/calendar-05.tsx", - type: "registry:component", - target: "" - }], - categories: ["calendar","date"], - component: React.lazy(() => import("@/registry/new-york/blocks/calendar-05.tsx")), - source: "__registry__/new-york/blocks/calendar-05.tsx", - meta: {"iframeHeight":"600px","container":"w-full bg-surface min-h-svh flex px-6 py-12 items-start md:pt-20 justify-center min-w-0 xl:py-24","mobile":"component"}, - }, - "calendar-06": { - name: "calendar-06", - description: "Range selection with minimum days", - type: "registry:block", - registryDependencies: ["calendar"], - files: [{ - path: "registry/new-york/blocks/calendar-06.tsx", - type: "registry:component", - target: "" - }], - categories: ["calendar","date"], - component: React.lazy(() => import("@/registry/new-york/blocks/calendar-06.tsx")), - source: "__registry__/new-york/blocks/calendar-06.tsx", - meta: {"iframeHeight":"600px","container":"w-full bg-surface min-h-svh flex px-6 py-12 items-start md:pt-20 justify-center min-w-0 xl:py-24","mobile":"component"}, - }, - "calendar-07": { - name: "calendar-07", - description: "Range selection with minimum and maximum days", - type: "registry:block", - registryDependencies: ["calendar"], - files: [{ - path: "registry/new-york/blocks/calendar-07.tsx", - type: "registry:component", - target: "" - }], - categories: ["calendar","date"], - component: React.lazy(() => import("@/registry/new-york/blocks/calendar-07.tsx")), - source: "__registry__/new-york/blocks/calendar-07.tsx", - meta: {"iframeHeight":"600px","container":"w-full bg-surface min-h-svh flex px-6 py-12 items-start md:pt-20 justify-center min-w-0 xl:py-24","mobile":"component"}, - }, - "calendar-08": { - name: "calendar-08", - description: "Calendar with disabled days", - type: "registry:block", - registryDependencies: ["calendar"], - files: [{ - path: "registry/new-york/blocks/calendar-08.tsx", - type: "registry:component", - target: "" - }], - categories: ["calendar","date"], - component: React.lazy(() => import("@/registry/new-york/blocks/calendar-08.tsx")), - source: "__registry__/new-york/blocks/calendar-08.tsx", - meta: {"iframeHeight":"600px","container":"w-full bg-surface min-h-svh flex px-6 py-12 items-start md:pt-20 justify-center min-w-0 xl:py-24","mobile":"component"}, - }, - "calendar-09": { - name: "calendar-09", - description: "Calendar with disabled weekends", - type: "registry:block", - registryDependencies: ["calendar"], - files: [{ - path: "registry/new-york/blocks/calendar-09.tsx", - type: "registry:component", - target: "" - }], - categories: ["calendar","date"], - component: React.lazy(() => import("@/registry/new-york/blocks/calendar-09.tsx")), - source: "__registry__/new-york/blocks/calendar-09.tsx", - meta: {"iframeHeight":"600px","container":"w-full bg-surface min-h-svh flex px-6 py-12 items-start md:pt-20 justify-center min-w-0 xl:py-24","mobile":"component"}, - }, - "calendar-10": { - name: "calendar-10", - description: "Today button", - type: "registry:block", - registryDependencies: ["calendar","card","button"], - files: [{ - path: "registry/new-york/blocks/calendar-10.tsx", - type: "registry:component", - target: "" - }], - categories: ["calendar","date"], - component: React.lazy(() => import("@/registry/new-york/blocks/calendar-10.tsx")), - source: "__registry__/new-york/blocks/calendar-10.tsx", - meta: {"iframeHeight":"600px","container":"w-full bg-surface min-h-svh flex px-6 py-12 items-start md:pt-20 justify-center min-w-0 xl:py-24","mobile":"component"}, - }, - "calendar-11": { - name: "calendar-11", - description: "Start and end of month", - type: "registry:block", - registryDependencies: ["calendar"], - files: [{ - path: "registry/new-york/blocks/calendar-11.tsx", - type: "registry:component", - target: "" - }], - categories: ["calendar","date"], - component: React.lazy(() => import("@/registry/new-york/blocks/calendar-11.tsx")), - source: "__registry__/new-york/blocks/calendar-11.tsx", - meta: {"iframeHeight":"600px","container":"w-full bg-surface min-h-svh flex px-6 py-12 items-start md:pt-20 justify-center min-w-0 xl:py-24","mobile":"component"}, - }, - "calendar-12": { - name: "calendar-12", - description: "Localized calendar", - type: "registry:block", - registryDependencies: ["calendar","card","select"], - files: [{ - path: "registry/new-york/blocks/calendar-12.tsx", - type: "registry:component", - target: "" - }], - categories: ["calendar","date"], - component: React.lazy(() => import("@/registry/new-york/blocks/calendar-12.tsx")), - source: "__registry__/new-york/blocks/calendar-12.tsx", - meta: {"iframeHeight":"600px","container":"w-full bg-surface min-h-svh flex px-6 py-12 items-start md:pt-20 justify-center min-w-0 xl:py-24","mobile":"component"}, - }, - "calendar-13": { - name: "calendar-13", - description: "With Month and Year Dropdown", - type: "registry:block", - registryDependencies: ["calendar","label","select"], - files: [{ - path: "registry/new-york/blocks/calendar-13.tsx", - type: "registry:component", - target: "" - }], - categories: ["calendar","date"], - component: React.lazy(() => import("@/registry/new-york/blocks/calendar-13.tsx")), - source: "__registry__/new-york/blocks/calendar-13.tsx", - meta: {"iframeHeight":"600px","container":"w-full bg-surface min-h-svh flex px-6 py-12 items-start md:pt-20 justify-center min-w-0 xl:py-24","mobile":"component"}, - }, - "calendar-14": { - name: "calendar-14", - description: "With Booked/Unavailable Days", - type: "registry:block", - registryDependencies: ["calendar"], - files: [{ - path: "registry/new-york/blocks/calendar-14.tsx", - type: "registry:component", - target: "" - }], - categories: ["calendar","date"], - component: React.lazy(() => import("@/registry/new-york/blocks/calendar-14.tsx")), - source: "__registry__/new-york/blocks/calendar-14.tsx", - meta: {"iframeHeight":"600px","container":"w-full bg-surface min-h-svh flex px-6 py-12 items-start md:pt-20 justify-center min-w-0 xl:py-24","mobile":"component"}, - }, - "calendar-15": { - name: "calendar-15", - description: "With Week Numbers", - type: "registry:block", - registryDependencies: ["calendar"], - files: [{ - path: "registry/new-york/blocks/calendar-15.tsx", - type: "registry:component", - target: "" - }], - categories: ["calendar","date"], - component: React.lazy(() => import("@/registry/new-york/blocks/calendar-15.tsx")), - source: "__registry__/new-york/blocks/calendar-15.tsx", - meta: {"iframeHeight":"600px","container":"w-full bg-surface min-h-svh flex px-6 py-12 items-start md:pt-20 justify-center min-w-0 xl:py-24","mobile":"component"}, - }, - "calendar-16": { - name: "calendar-16", - description: "With time picker", - type: "registry:block", - registryDependencies: ["calendar","card","input","label"], - files: [{ - path: "registry/new-york/blocks/calendar-16.tsx", - type: "registry:component", - target: "" - }], - categories: ["calendar","date"], - component: React.lazy(() => import("@/registry/new-york/blocks/calendar-16.tsx")), - source: "__registry__/new-york/blocks/calendar-16.tsx", - meta: {"iframeHeight":"600px","container":"w-full bg-surface min-h-svh flex px-6 py-12 items-start justify-center min-w-0","mobile":"component"}, - }, - "calendar-17": { - name: "calendar-17", - description: "With time picker inline", - type: "registry:block", - registryDependencies: ["calendar","card","input","label"], - files: [{ - path: "registry/new-york/blocks/calendar-17.tsx", - type: "registry:component", - target: "" - }], - categories: ["calendar","date"], - component: React.lazy(() => import("@/registry/new-york/blocks/calendar-17.tsx")), - source: "__registry__/new-york/blocks/calendar-17.tsx", - meta: {"iframeHeight":"600px","container":"w-full bg-surface min-h-svh flex px-6 py-12 items-start md:pt-20 justify-center min-w-0 xl:py-24","mobile":"component"}, - }, - "calendar-18": { - name: "calendar-18", - description: "Variable size", - type: "registry:block", - registryDependencies: ["calendar"], - files: [{ - path: "registry/new-york/blocks/calendar-18.tsx", - type: "registry:component", - target: "" - }], - categories: ["calendar","date"], - component: React.lazy(() => import("@/registry/new-york/blocks/calendar-18.tsx")), - source: "__registry__/new-york/blocks/calendar-18.tsx", - meta: {"iframeHeight":"600px","container":"w-full bg-surface min-h-svh flex px-6 py-12 items-start md:pt-20 justify-center min-w-0 xl:py-24","mobile":"component"}, - }, - "calendar-19": { - name: "calendar-19", - description: "With presets", - type: "registry:block", - registryDependencies: ["calendar","card","input","label"], - files: [{ - path: "registry/new-york/blocks/calendar-19.tsx", - type: "registry:component", - target: "" - }], - categories: ["calendar","date"], - component: React.lazy(() => import("@/registry/new-york/blocks/calendar-19.tsx")), - source: "__registry__/new-york/blocks/calendar-19.tsx", - meta: {"iframeHeight":"600px","container":"w-full bg-surface min-h-svh flex px-6 py-12 items-start justify-center min-w-0","mobile":"component"}, - }, - "calendar-20": { - name: "calendar-20", - description: "With time presets", - type: "registry:block", - registryDependencies: ["calendar","card","button"], - files: [{ - path: "registry/new-york/blocks/calendar-20.tsx", - type: "registry:component", - target: "" - }], - categories: ["calendar","date"], - component: React.lazy(() => import("@/registry/new-york/blocks/calendar-20.tsx")), - source: "__registry__/new-york/blocks/calendar-20.tsx", - meta: {"iframeHeight":"600px","container":"w-full bg-surface min-h-svh flex px-6 py-12 items-start justify-center min-w-0","mobile":"component"}, - }, - "calendar-21": { - name: "calendar-21", - description: "Custom days and formatters", - type: "registry:block", - registryDependencies: ["calendar"], - files: [{ - path: "registry/new-york/blocks/calendar-21.tsx", - type: "registry:component", - target: "" - }], - categories: ["calendar","date"], - component: React.lazy(() => import("@/registry/new-york/blocks/calendar-21.tsx")), - source: "__registry__/new-york/blocks/calendar-21.tsx", - meta: {"iframeHeight":"600px","container":"w-full bg-surface min-h-svh flex px-6 py-12 items-start justify-center min-w-0","mobile":"component"}, - }, - "calendar-22": { - name: "calendar-22", - description: "Date picker", - type: "registry:block", - registryDependencies: ["calendar","popover","button","label"], - files: [{ - path: "registry/new-york/blocks/calendar-22.tsx", - type: "registry:component", - target: "" - }], - categories: ["calendar","date"], - component: React.lazy(() => import("@/registry/new-york/blocks/calendar-22.tsx")), - source: "__registry__/new-york/blocks/calendar-22.tsx", - meta: {"iframeHeight":"600px","container":"w-full bg-surface min-h-svh flex px-6 py-12 items-start md:pt-20 justify-center min-w-0 xl:py-24","mobile":"component"}, - }, - "calendar-23": { - name: "calendar-23", - description: "Date range picker", - type: "registry:block", - registryDependencies: ["calendar","popover","button","label"], - files: [{ - path: "registry/new-york/blocks/calendar-23.tsx", - type: "registry:component", - target: "" - }], - categories: ["calendar","date"], - component: React.lazy(() => import("@/registry/new-york/blocks/calendar-23.tsx")), - source: "__registry__/new-york/blocks/calendar-23.tsx", - meta: {"iframeHeight":"600px","container":"w-full bg-surface min-h-svh flex px-6 py-12 items-start md:pt-20 justify-center min-w-0 xl:py-24","mobile":"component"}, - }, - "calendar-24": { - name: "calendar-24", - description: "Date and Time picker", - type: "registry:block", - registryDependencies: ["calendar","popover","button","label"], - files: [{ - path: "registry/new-york/blocks/calendar-24.tsx", - type: "registry:component", - target: "" - }], - categories: ["calendar","date"], - component: React.lazy(() => import("@/registry/new-york/blocks/calendar-24.tsx")), - source: "__registry__/new-york/blocks/calendar-24.tsx", - meta: {"iframeHeight":"600px","container":"w-full bg-surface min-h-svh flex px-6 py-12 items-start md:pt-20 justify-center min-w-0 xl:py-24","mobile":"component"}, - }, - "calendar-25": { - name: "calendar-25", - description: "Date and Time range picker", - type: "registry:block", - registryDependencies: ["calendar","popover","button","label"], - files: [{ - path: "registry/new-york/blocks/calendar-25.tsx", - type: "registry:component", - target: "" - }], - categories: ["calendar","date"], - component: React.lazy(() => import("@/registry/new-york/blocks/calendar-25.tsx")), - source: "__registry__/new-york/blocks/calendar-25.tsx", - meta: {"iframeHeight":"600px","container":"w-full bg-surface min-h-svh flex px-6 py-12 items-start md:pt-20 justify-center min-w-0 xl:py-24","mobile":"component"}, - }, - "calendar-26": { - name: "calendar-26", - description: "Date range picker with time", - type: "registry:block", - registryDependencies: ["calendar","popover","button","input","label"], - files: [{ - path: "registry/new-york/blocks/calendar-26.tsx", - type: "registry:component", - target: "" - }], - categories: ["calendar","date"], - component: React.lazy(() => import("@/registry/new-york/blocks/calendar-26.tsx")), - source: "__registry__/new-york/blocks/calendar-26.tsx", - meta: {"iframeHeight":"600px","container":"w-full bg-surface min-h-svh flex px-6 py-12 items-start md:pt-20 justify-center min-w-0 xl:py-24","mobile":"component"}, - }, - "calendar-27": { - name: "calendar-27", - description: "Chart filter", - type: "registry:block", - registryDependencies: ["calendar","chart","card","popover","button"], - files: [{ - path: "registry/new-york/blocks/calendar-27.tsx", - type: "registry:component", - target: "" - }], - categories: ["calendar","date"], - component: React.lazy(() => import("@/registry/new-york/blocks/calendar-27.tsx")), - source: "__registry__/new-york/blocks/calendar-27.tsx", - meta: {"iframeHeight":"600px","container":"w-full bg-surface min-h-svh flex px-6 py-12 items-start justify-center min-w-0","mobile":"component"}, - }, - "calendar-28": { - name: "calendar-28", - description: "Input with date picker", - type: "registry:block", - registryDependencies: ["calendar","input","label","popover","button"], - files: [{ - path: "registry/new-york/blocks/calendar-28.tsx", - type: "registry:component", - target: "" - }], - categories: ["calendar","date"], - component: React.lazy(() => import("@/registry/new-york/blocks/calendar-28.tsx")), - source: "__registry__/new-york/blocks/calendar-28.tsx", - meta: {"iframeHeight":"600px","container":"w-full bg-surface min-h-svh flex px-6 py-12 items-start md:pt-20 justify-center min-w-0 xl:py-24","mobile":"component"}, - }, - "calendar-29": { - name: "calendar-29", - description: "Natural language date picker", - type: "registry:block", - registryDependencies: ["calendar","input","label","popover","button"], - files: [{ - path: "registry/new-york/blocks/calendar-29.tsx", - type: "registry:component", - target: "" - }], - categories: ["calendar","date"], - component: React.lazy(() => import("@/registry/new-york/blocks/calendar-29.tsx")), - source: "__registry__/new-york/blocks/calendar-29.tsx", - meta: {"iframeHeight":"600px","container":"w-full bg-surface min-h-svh flex px-6 py-12 items-start md:pt-20 justify-center min-w-0 xl:py-24","mobile":"component"}, - }, - "calendar-30": { - name: "calendar-30", - description: "With little-date", - type: "registry:block", - registryDependencies: ["calendar","input","label","popover","button"], - files: [{ - path: "registry/new-york/blocks/calendar-30.tsx", - type: "registry:component", - target: "" - }], - categories: ["calendar","date"], - component: React.lazy(() => import("@/registry/new-york/blocks/calendar-30.tsx")), - source: "__registry__/new-york/blocks/calendar-30.tsx", - meta: {"iframeHeight":"600px","container":"w-full bg-surface min-h-svh flex px-6 py-12 items-start md:pt-20 justify-center min-w-0 xl:py-24","mobile":"component"}, - }, - "calendar-31": { - name: "calendar-31", - description: "With event slots", - type: "registry:block", - registryDependencies: ["calendar","card","button"], - files: [{ - path: "registry/new-york/blocks/calendar-31.tsx", - type: "registry:component", - target: "" - }], - categories: ["calendar","date"], - component: React.lazy(() => import("@/registry/new-york/blocks/calendar-31.tsx")), - source: "__registry__/new-york/blocks/calendar-31.tsx", - meta: {"iframeHeight":"700px","container":"w-full bg-surface min-h-svh flex px-6 py-12 items-start md:pt-20 justify-center min-w-0","mobile":"component"}, - }, - "calendar-32": { - name: "calendar-32", - description: "Date picker in a drawer", - type: "registry:block", - registryDependencies: ["calendar","button","drawer"], - files: [{ - path: "registry/new-york/blocks/calendar-32.tsx", - type: "registry:component", - target: "" - }], - categories: ["calendar","date"], - component: React.lazy(() => import("@/registry/new-york/blocks/calendar-32.tsx")), - source: "__registry__/new-york/blocks/calendar-32.tsx", - meta: {"iframeHeight":"600px","container":"w-full bg-surface min-h-svh flex px-6 py-12 items-start md:pt-20 justify-center min-w-0 xl:py-24","mobile":"component"}, - }, - "chart-area-axes": { - name: "chart-area-axes", - description: "", - type: "registry:block", - registryDependencies: ["card","chart"], - files: [{ - path: "registry/new-york/charts/chart-area-axes.tsx", - type: "registry:block", - target: "" - }], - categories: ["charts","charts-area"], - component: React.lazy(() => import("@/registry/new-york/charts/chart-area-axes.tsx")), - source: "__registry__/new-york/charts/chart-area-axes.tsx", - meta: undefined, - }, - "chart-area-default": { - name: "chart-area-default", - description: "", - type: "registry:block", - registryDependencies: ["card","chart"], - files: [{ - path: "registry/new-york/charts/chart-area-default.tsx", - type: "registry:block", - target: "" - }], - categories: ["charts","charts-area"], - component: React.lazy(() => import("@/registry/new-york/charts/chart-area-default.tsx")), - source: "__registry__/new-york/charts/chart-area-default.tsx", - meta: undefined, - }, - "chart-area-gradient": { - name: "chart-area-gradient", - description: "", - type: "registry:block", - registryDependencies: ["card","chart"], - files: [{ - path: "registry/new-york/charts/chart-area-gradient.tsx", - type: "registry:block", - target: "" - }], - categories: ["charts","charts-area"], - component: React.lazy(() => import("@/registry/new-york/charts/chart-area-gradient.tsx")), - source: "__registry__/new-york/charts/chart-area-gradient.tsx", - meta: undefined, - }, - "chart-area-icons": { - name: "chart-area-icons", - description: "", - type: "registry:block", - registryDependencies: ["card","chart"], - files: [{ - path: "registry/new-york/charts/chart-area-icons.tsx", - type: "registry:block", - target: "" - }], - categories: ["charts","charts-area"], - component: React.lazy(() => import("@/registry/new-york/charts/chart-area-icons.tsx")), - source: "__registry__/new-york/charts/chart-area-icons.tsx", - meta: undefined, - }, - "chart-area-interactive": { - name: "chart-area-interactive", - description: "", - type: "registry:block", - registryDependencies: ["card","chart","select"], - files: [{ - path: "registry/new-york/charts/chart-area-interactive.tsx", - type: "registry:component", - target: "" - }], - categories: ["charts","charts-area"], - component: React.lazy(() => import("@/registry/new-york/charts/chart-area-interactive.tsx")), - source: "__registry__/new-york/charts/chart-area-interactive.tsx", - meta: undefined, - }, - "chart-area-legend": { - name: "chart-area-legend", - description: "", - type: "registry:block", - registryDependencies: ["card","chart"], - files: [{ - path: "registry/new-york/charts/chart-area-legend.tsx", - type: "registry:block", - target: "" - }], - categories: ["charts","charts-area"], - component: React.lazy(() => import("@/registry/new-york/charts/chart-area-legend.tsx")), - source: "__registry__/new-york/charts/chart-area-legend.tsx", - meta: undefined, - }, - "chart-area-linear": { - name: "chart-area-linear", - description: "", - type: "registry:block", - registryDependencies: ["card","chart"], - files: [{ - path: "registry/new-york/charts/chart-area-linear.tsx", - type: "registry:block", - target: "" - }], - categories: ["charts","charts-area"], - component: React.lazy(() => import("@/registry/new-york/charts/chart-area-linear.tsx")), - source: "__registry__/new-york/charts/chart-area-linear.tsx", - meta: undefined, - }, - "chart-area-stacked-expand": { - name: "chart-area-stacked-expand", - description: "", - type: "registry:block", - registryDependencies: ["card","chart"], - files: [{ - path: "registry/new-york/charts/chart-area-stacked-expand.tsx", - type: "registry:block", - target: "" - }], - categories: ["charts","charts-area"], - component: React.lazy(() => import("@/registry/new-york/charts/chart-area-stacked-expand.tsx")), - source: "__registry__/new-york/charts/chart-area-stacked-expand.tsx", - meta: undefined, - }, - "chart-area-stacked": { - name: "chart-area-stacked", - description: "", - type: "registry:block", - registryDependencies: ["card","chart"], - files: [{ - path: "registry/new-york/charts/chart-area-stacked.tsx", - type: "registry:block", - target: "" - }], - categories: ["charts","charts-area"], - component: React.lazy(() => import("@/registry/new-york/charts/chart-area-stacked.tsx")), - source: "__registry__/new-york/charts/chart-area-stacked.tsx", - meta: undefined, - }, - "chart-area-step": { - name: "chart-area-step", - description: "", - type: "registry:block", - registryDependencies: ["card","chart"], - files: [{ - path: "registry/new-york/charts/chart-area-step.tsx", - type: "registry:block", - target: "" - }], - categories: ["charts","charts-area"], - component: React.lazy(() => import("@/registry/new-york/charts/chart-area-step.tsx")), - source: "__registry__/new-york/charts/chart-area-step.tsx", - meta: undefined, - }, - "chart-bar-active": { - name: "chart-bar-active", - description: "", - type: "registry:block", - registryDependencies: ["card","chart"], - files: [{ - path: "registry/new-york/charts/chart-bar-active.tsx", - type: "registry:block", - target: "" - }], - categories: ["charts","charts-bar"], - component: React.lazy(() => import("@/registry/new-york/charts/chart-bar-active.tsx")), - source: "__registry__/new-york/charts/chart-bar-active.tsx", - meta: undefined, - }, - "chart-bar-default": { - name: "chart-bar-default", - description: "", - type: "registry:block", - registryDependencies: ["card","chart"], - files: [{ - path: "registry/new-york/charts/chart-bar-default.tsx", - type: "registry:block", - target: "" - }], - categories: ["charts","charts-bar"], - component: React.lazy(() => import("@/registry/new-york/charts/chart-bar-default.tsx")), - source: "__registry__/new-york/charts/chart-bar-default.tsx", - meta: undefined, - }, - "chart-bar-horizontal": { - name: "chart-bar-horizontal", - description: "", - type: "registry:block", - registryDependencies: ["card","chart"], - files: [{ - path: "registry/new-york/charts/chart-bar-horizontal.tsx", - type: "registry:block", - target: "" - }], - categories: ["charts","charts-bar"], - component: React.lazy(() => import("@/registry/new-york/charts/chart-bar-horizontal.tsx")), - source: "__registry__/new-york/charts/chart-bar-horizontal.tsx", - meta: undefined, - }, - "chart-bar-interactive": { - name: "chart-bar-interactive", - description: "", - type: "registry:block", - registryDependencies: ["card","chart"], - files: [{ - path: "registry/new-york/charts/chart-bar-interactive.tsx", - type: "registry:block", - target: "" - }], - categories: ["charts","charts-bar"], - component: React.lazy(() => import("@/registry/new-york/charts/chart-bar-interactive.tsx")), - source: "__registry__/new-york/charts/chart-bar-interactive.tsx", - meta: undefined, - }, - "chart-bar-label-custom": { - name: "chart-bar-label-custom", - description: "", - type: "registry:block", - registryDependencies: ["card","chart"], - files: [{ - path: "registry/new-york/charts/chart-bar-label-custom.tsx", - type: "registry:block", - target: "" - }], - categories: ["charts","charts-bar"], - component: React.lazy(() => import("@/registry/new-york/charts/chart-bar-label-custom.tsx")), - source: "__registry__/new-york/charts/chart-bar-label-custom.tsx", - meta: undefined, - }, - "chart-bar-label": { - name: "chart-bar-label", - description: "", - type: "registry:block", - registryDependencies: ["card","chart"], - files: [{ - path: "registry/new-york/charts/chart-bar-label.tsx", - type: "registry:block", - target: "" - }], - categories: ["charts","charts-bar"], - component: React.lazy(() => import("@/registry/new-york/charts/chart-bar-label.tsx")), - source: "__registry__/new-york/charts/chart-bar-label.tsx", - meta: undefined, - }, - "chart-bar-mixed": { - name: "chart-bar-mixed", - description: "", - type: "registry:block", - registryDependencies: ["card","chart"], - files: [{ - path: "registry/new-york/charts/chart-bar-mixed.tsx", - type: "registry:block", - target: "" - }], - categories: ["charts","charts-bar"], - component: React.lazy(() => import("@/registry/new-york/charts/chart-bar-mixed.tsx")), - source: "__registry__/new-york/charts/chart-bar-mixed.tsx", - meta: undefined, - }, - "chart-bar-multiple": { - name: "chart-bar-multiple", - description: "", - type: "registry:block", - registryDependencies: ["card","chart"], - files: [{ - path: "registry/new-york/charts/chart-bar-multiple.tsx", - type: "registry:block", - target: "" - }], - categories: ["charts","charts-bar"], - component: React.lazy(() => import("@/registry/new-york/charts/chart-bar-multiple.tsx")), - source: "__registry__/new-york/charts/chart-bar-multiple.tsx", - meta: undefined, - }, - "chart-bar-negative": { - name: "chart-bar-negative", - description: "", - type: "registry:block", - registryDependencies: ["card","chart"], - files: [{ - path: "registry/new-york/charts/chart-bar-negative.tsx", - type: "registry:block", - target: "" - }], - categories: ["charts","charts-bar"], - component: React.lazy(() => import("@/registry/new-york/charts/chart-bar-negative.tsx")), - source: "__registry__/new-york/charts/chart-bar-negative.tsx", - meta: undefined, - }, - "chart-bar-stacked": { - name: "chart-bar-stacked", - description: "", - type: "registry:block", - registryDependencies: ["card","chart"], - files: [{ - path: "registry/new-york/charts/chart-bar-stacked.tsx", - type: "registry:block", - target: "" - }], - categories: ["charts","charts-bar"], - component: React.lazy(() => import("@/registry/new-york/charts/chart-bar-stacked.tsx")), - source: "__registry__/new-york/charts/chart-bar-stacked.tsx", - meta: undefined, - }, - "chart-line-default": { - name: "chart-line-default", - description: "", - type: "registry:block", - registryDependencies: ["card","chart"], - files: [{ - path: "registry/new-york/charts/chart-line-default.tsx", - type: "registry:block", - target: "" - }], - categories: ["charts","charts-line"], - component: React.lazy(() => import("@/registry/new-york/charts/chart-line-default.tsx")), - source: "__registry__/new-york/charts/chart-line-default.tsx", - meta: undefined, - }, - "chart-line-dots-colors": { - name: "chart-line-dots-colors", - description: "", - type: "registry:block", - registryDependencies: ["card","chart"], - files: [{ - path: "registry/new-york/charts/chart-line-dots-colors.tsx", - type: "registry:block", - target: "" - }], - categories: ["charts","charts-line"], - component: React.lazy(() => import("@/registry/new-york/charts/chart-line-dots-colors.tsx")), - source: "__registry__/new-york/charts/chart-line-dots-colors.tsx", - meta: undefined, - }, - "chart-line-dots-custom": { - name: "chart-line-dots-custom", - description: "", - type: "registry:block", - registryDependencies: ["card","chart"], - files: [{ - path: "registry/new-york/charts/chart-line-dots-custom.tsx", - type: "registry:block", - target: "" - }], - categories: ["charts","charts-line"], - component: React.lazy(() => import("@/registry/new-york/charts/chart-line-dots-custom.tsx")), - source: "__registry__/new-york/charts/chart-line-dots-custom.tsx", - meta: undefined, - }, - "chart-line-dots": { - name: "chart-line-dots", - description: "", - type: "registry:block", - registryDependencies: ["card","chart"], - files: [{ - path: "registry/new-york/charts/chart-line-dots.tsx", - type: "registry:block", - target: "" - }], - categories: ["charts","charts-line"], - component: React.lazy(() => import("@/registry/new-york/charts/chart-line-dots.tsx")), - source: "__registry__/new-york/charts/chart-line-dots.tsx", - meta: undefined, - }, - "chart-line-interactive": { - name: "chart-line-interactive", - description: "", - type: "registry:block", - registryDependencies: ["card","chart"], - files: [{ - path: "registry/new-york/charts/chart-line-interactive.tsx", - type: "registry:block", - target: "" - }], - categories: ["charts","charts-line"], - component: React.lazy(() => import("@/registry/new-york/charts/chart-line-interactive.tsx")), - source: "__registry__/new-york/charts/chart-line-interactive.tsx", - meta: undefined, - }, - "chart-line-label-custom": { - name: "chart-line-label-custom", - description: "", - type: "registry:block", - registryDependencies: ["card","chart"], - files: [{ - path: "registry/new-york/charts/chart-line-label-custom.tsx", - type: "registry:block", - target: "" - }], - categories: ["charts","charts-line"], - component: React.lazy(() => import("@/registry/new-york/charts/chart-line-label-custom.tsx")), - source: "__registry__/new-york/charts/chart-line-label-custom.tsx", - meta: undefined, - }, - "chart-line-label": { - name: "chart-line-label", - description: "", - type: "registry:block", - registryDependencies: ["card","chart"], - files: [{ - path: "registry/new-york/charts/chart-line-label.tsx", - type: "registry:block", - target: "" - }], - categories: ["charts","charts-line"], - component: React.lazy(() => import("@/registry/new-york/charts/chart-line-label.tsx")), - source: "__registry__/new-york/charts/chart-line-label.tsx", - meta: undefined, - }, - "chart-line-linear": { - name: "chart-line-linear", - description: "", - type: "registry:block", - registryDependencies: ["card","chart"], - files: [{ - path: "registry/new-york/charts/chart-line-linear.tsx", - type: "registry:block", - target: "" - }], - categories: ["charts","charts-line"], - component: React.lazy(() => import("@/registry/new-york/charts/chart-line-linear.tsx")), - source: "__registry__/new-york/charts/chart-line-linear.tsx", - meta: undefined, - }, - "chart-line-multiple": { - name: "chart-line-multiple", - description: "", - type: "registry:block", - registryDependencies: ["card","chart"], - files: [{ - path: "registry/new-york/charts/chart-line-multiple.tsx", - type: "registry:block", - target: "" - }], - categories: ["charts","charts-line"], - component: React.lazy(() => import("@/registry/new-york/charts/chart-line-multiple.tsx")), - source: "__registry__/new-york/charts/chart-line-multiple.tsx", - meta: undefined, - }, - "chart-line-step": { - name: "chart-line-step", - description: "", - type: "registry:block", - registryDependencies: ["card","chart"], - files: [{ - path: "registry/new-york/charts/chart-line-step.tsx", - type: "registry:block", - target: "" - }], - categories: ["charts","charts-line"], - component: React.lazy(() => import("@/registry/new-york/charts/chart-line-step.tsx")), - source: "__registry__/new-york/charts/chart-line-step.tsx", - meta: undefined, - }, - "chart-pie-donut-active": { - name: "chart-pie-donut-active", - description: "", - type: "registry:block", - registryDependencies: ["card","chart"], - files: [{ - path: "registry/new-york/charts/chart-pie-donut-active.tsx", - type: "registry:block", - target: "" - }], - categories: ["charts","charts-pie"], - component: React.lazy(() => import("@/registry/new-york/charts/chart-pie-donut-active.tsx")), - source: "__registry__/new-york/charts/chart-pie-donut-active.tsx", - meta: undefined, - }, - "chart-pie-donut-text": { - name: "chart-pie-donut-text", - description: "", - type: "registry:block", - registryDependencies: ["card","chart"], - files: [{ - path: "registry/new-york/charts/chart-pie-donut-text.tsx", - type: "registry:block", - target: "" - }], - categories: ["charts","charts-pie"], - component: React.lazy(() => import("@/registry/new-york/charts/chart-pie-donut-text.tsx")), - source: "__registry__/new-york/charts/chart-pie-donut-text.tsx", - meta: undefined, - }, - "chart-pie-donut": { - name: "chart-pie-donut", - description: "", - type: "registry:block", - registryDependencies: ["card","chart"], - files: [{ - path: "registry/new-york/charts/chart-pie-donut.tsx", - type: "registry:block", - target: "" - }], - categories: ["charts","charts-pie"], - component: React.lazy(() => import("@/registry/new-york/charts/chart-pie-donut.tsx")), - source: "__registry__/new-york/charts/chart-pie-donut.tsx", - meta: undefined, - }, - "chart-pie-interactive": { - name: "chart-pie-interactive", - description: "", - type: "registry:block", - registryDependencies: ["card","chart"], - files: [{ - path: "registry/new-york/charts/chart-pie-interactive.tsx", - type: "registry:block", - target: "" - }], - categories: ["charts","charts-pie"], - component: React.lazy(() => import("@/registry/new-york/charts/chart-pie-interactive.tsx")), - source: "__registry__/new-york/charts/chart-pie-interactive.tsx", - meta: undefined, - }, - "chart-pie-label-custom": { - name: "chart-pie-label-custom", - description: "", - type: "registry:block", - registryDependencies: ["card","chart"], - files: [{ - path: "registry/new-york/charts/chart-pie-label-custom.tsx", - type: "registry:block", - target: "" - }], - categories: ["charts","charts-pie"], - component: React.lazy(() => import("@/registry/new-york/charts/chart-pie-label-custom.tsx")), - source: "__registry__/new-york/charts/chart-pie-label-custom.tsx", - meta: undefined, - }, - "chart-pie-label-list": { - name: "chart-pie-label-list", - description: "", - type: "registry:block", - registryDependencies: ["card","chart"], - files: [{ - path: "registry/new-york/charts/chart-pie-label-list.tsx", - type: "registry:block", - target: "" - }], - categories: ["charts","charts-pie"], - component: React.lazy(() => import("@/registry/new-york/charts/chart-pie-label-list.tsx")), - source: "__registry__/new-york/charts/chart-pie-label-list.tsx", - meta: undefined, - }, - "chart-pie-label": { - name: "chart-pie-label", - description: "", - type: "registry:block", - registryDependencies: ["card","chart"], - files: [{ - path: "registry/new-york/charts/chart-pie-label.tsx", - type: "registry:block", - target: "" - }], - categories: ["charts","charts-pie"], - component: React.lazy(() => import("@/registry/new-york/charts/chart-pie-label.tsx")), - source: "__registry__/new-york/charts/chart-pie-label.tsx", - meta: undefined, - }, - "chart-pie-legend": { - name: "chart-pie-legend", - description: "", - type: "registry:block", - registryDependencies: ["card","chart"], - files: [{ - path: "registry/new-york/charts/chart-pie-legend.tsx", - type: "registry:block", - target: "" - }], - categories: ["charts","charts-pie"], - component: React.lazy(() => import("@/registry/new-york/charts/chart-pie-legend.tsx")), - source: "__registry__/new-york/charts/chart-pie-legend.tsx", - meta: undefined, - }, - "chart-pie-separator-none": { - name: "chart-pie-separator-none", - description: "", - type: "registry:block", - registryDependencies: ["card","chart"], - files: [{ - path: "registry/new-york/charts/chart-pie-separator-none.tsx", - type: "registry:block", - target: "" - }], - categories: ["charts","charts-pie"], - component: React.lazy(() => import("@/registry/new-york/charts/chart-pie-separator-none.tsx")), - source: "__registry__/new-york/charts/chart-pie-separator-none.tsx", - meta: undefined, - }, - "chart-pie-simple": { - name: "chart-pie-simple", - description: "", - type: "registry:block", - registryDependencies: ["card","chart"], - files: [{ - path: "registry/new-york/charts/chart-pie-simple.tsx", - type: "registry:block", - target: "" - }], - categories: ["charts","charts-pie"], - component: React.lazy(() => import("@/registry/new-york/charts/chart-pie-simple.tsx")), - source: "__registry__/new-york/charts/chart-pie-simple.tsx", - meta: undefined, - }, - "chart-pie-stacked": { - name: "chart-pie-stacked", - description: "", - type: "registry:block", - registryDependencies: ["card","chart"], - files: [{ - path: "registry/new-york/charts/chart-pie-stacked.tsx", - type: "registry:block", - target: "" - }], - categories: ["charts","charts-pie"], - component: React.lazy(() => import("@/registry/new-york/charts/chart-pie-stacked.tsx")), - source: "__registry__/new-york/charts/chart-pie-stacked.tsx", - meta: undefined, - }, - "chart-radar-default": { - name: "chart-radar-default", - description: "", - type: "registry:block", - registryDependencies: ["card","chart"], - files: [{ - path: "registry/new-york/charts/chart-radar-default.tsx", - type: "registry:block", - target: "" - }], - categories: ["charts","charts-radar"], - component: React.lazy(() => import("@/registry/new-york/charts/chart-radar-default.tsx")), - source: "__registry__/new-york/charts/chart-radar-default.tsx", - meta: undefined, - }, - "chart-radar-dots": { - name: "chart-radar-dots", - description: "", - type: "registry:block", - registryDependencies: ["card","chart"], - files: [{ - path: "registry/new-york/charts/chart-radar-dots.tsx", - type: "registry:block", - target: "" - }], - categories: ["charts","charts-radar"], - component: React.lazy(() => import("@/registry/new-york/charts/chart-radar-dots.tsx")), - source: "__registry__/new-york/charts/chart-radar-dots.tsx", - meta: undefined, - }, - "chart-radar-grid-circle-fill": { - name: "chart-radar-grid-circle-fill", - description: "", - type: "registry:block", - registryDependencies: ["card","chart"], - files: [{ - path: "registry/new-york/charts/chart-radar-grid-circle-fill.tsx", - type: "registry:block", - target: "" - }], - categories: ["charts","charts-radar"], - component: React.lazy(() => import("@/registry/new-york/charts/chart-radar-grid-circle-fill.tsx")), - source: "__registry__/new-york/charts/chart-radar-grid-circle-fill.tsx", - meta: undefined, - }, - "chart-radar-grid-circle-no-lines": { - name: "chart-radar-grid-circle-no-lines", - description: "", - type: "registry:block", - registryDependencies: ["card","chart"], - files: [{ - path: "registry/new-york/charts/chart-radar-grid-circle-no-lines.tsx", - type: "registry:block", - target: "" - }], - categories: ["charts","charts-radar"], - component: React.lazy(() => import("@/registry/new-york/charts/chart-radar-grid-circle-no-lines.tsx")), - source: "__registry__/new-york/charts/chart-radar-grid-circle-no-lines.tsx", - meta: undefined, - }, - "chart-radar-grid-circle": { - name: "chart-radar-grid-circle", - description: "", - type: "registry:block", - registryDependencies: ["card","chart"], - files: [{ - path: "registry/new-york/charts/chart-radar-grid-circle.tsx", - type: "registry:block", - target: "" - }], - categories: ["charts","charts-radar"], - component: React.lazy(() => import("@/registry/new-york/charts/chart-radar-grid-circle.tsx")), - source: "__registry__/new-york/charts/chart-radar-grid-circle.tsx", - meta: undefined, - }, - "chart-radar-grid-custom": { - name: "chart-radar-grid-custom", - description: "", - type: "registry:block", - registryDependencies: ["card","chart"], - files: [{ - path: "registry/new-york/charts/chart-radar-grid-custom.tsx", - type: "registry:block", - target: "" - }], - categories: ["charts","charts-radar"], - component: React.lazy(() => import("@/registry/new-york/charts/chart-radar-grid-custom.tsx")), - source: "__registry__/new-york/charts/chart-radar-grid-custom.tsx", - meta: undefined, - }, - "chart-radar-grid-fill": { - name: "chart-radar-grid-fill", - description: "", - type: "registry:block", - registryDependencies: ["card","chart"], - files: [{ - path: "registry/new-york/charts/chart-radar-grid-fill.tsx", - type: "registry:block", - target: "" - }], - categories: ["charts","charts-radar"], - component: React.lazy(() => import("@/registry/new-york/charts/chart-radar-grid-fill.tsx")), - source: "__registry__/new-york/charts/chart-radar-grid-fill.tsx", - meta: undefined, - }, - "chart-radar-grid-none": { - name: "chart-radar-grid-none", - description: "", - type: "registry:block", - registryDependencies: ["card","chart"], - files: [{ - path: "registry/new-york/charts/chart-radar-grid-none.tsx", - type: "registry:block", - target: "" - }], - categories: ["charts","charts-radar"], - component: React.lazy(() => import("@/registry/new-york/charts/chart-radar-grid-none.tsx")), - source: "__registry__/new-york/charts/chart-radar-grid-none.tsx", - meta: undefined, - }, - "chart-radar-icons": { - name: "chart-radar-icons", - description: "", - type: "registry:block", - registryDependencies: ["card","chart"], - files: [{ - path: "registry/new-york/charts/chart-radar-icons.tsx", - type: "registry:block", - target: "" - }], - categories: ["charts","charts-radar"], - component: React.lazy(() => import("@/registry/new-york/charts/chart-radar-icons.tsx")), - source: "__registry__/new-york/charts/chart-radar-icons.tsx", - meta: undefined, - }, - "chart-radar-label-custom": { - name: "chart-radar-label-custom", - description: "", - type: "registry:block", - registryDependencies: ["card","chart"], - files: [{ - path: "registry/new-york/charts/chart-radar-label-custom.tsx", - type: "registry:block", - target: "" - }], - categories: ["charts","charts-radar"], - component: React.lazy(() => import("@/registry/new-york/charts/chart-radar-label-custom.tsx")), - source: "__registry__/new-york/charts/chart-radar-label-custom.tsx", - meta: undefined, - }, - "chart-radar-legend": { - name: "chart-radar-legend", - description: "", - type: "registry:block", - registryDependencies: ["card","chart"], - files: [{ - path: "registry/new-york/charts/chart-radar-legend.tsx", - type: "registry:block", - target: "" - }], - categories: ["charts","charts-radar"], - component: React.lazy(() => import("@/registry/new-york/charts/chart-radar-legend.tsx")), - source: "__registry__/new-york/charts/chart-radar-legend.tsx", - meta: undefined, - }, - "chart-radar-lines-only": { - name: "chart-radar-lines-only", - description: "", - type: "registry:block", - registryDependencies: ["card","chart"], - files: [{ - path: "registry/new-york/charts/chart-radar-lines-only.tsx", - type: "registry:block", - target: "" - }], - categories: ["charts","charts-radar"], - component: React.lazy(() => import("@/registry/new-york/charts/chart-radar-lines-only.tsx")), - source: "__registry__/new-york/charts/chart-radar-lines-only.tsx", - meta: undefined, - }, - "chart-radar-multiple": { - name: "chart-radar-multiple", - description: "", - type: "registry:block", - registryDependencies: ["card","chart"], - files: [{ - path: "registry/new-york/charts/chart-radar-multiple.tsx", - type: "registry:block", - target: "" - }], - categories: ["charts","charts-radar"], - component: React.lazy(() => import("@/registry/new-york/charts/chart-radar-multiple.tsx")), - source: "__registry__/new-york/charts/chart-radar-multiple.tsx", - meta: undefined, - }, - "chart-radar-radius": { - name: "chart-radar-radius", - description: "", - type: "registry:block", - registryDependencies: ["card","chart"], - files: [{ - path: "registry/new-york/charts/chart-radar-radius.tsx", - type: "registry:block", - target: "" - }], - categories: ["charts","charts-radar"], - component: React.lazy(() => import("@/registry/new-york/charts/chart-radar-radius.tsx")), - source: "__registry__/new-york/charts/chart-radar-radius.tsx", - meta: undefined, - }, - "chart-radial-grid": { - name: "chart-radial-grid", - description: "", - type: "registry:block", - registryDependencies: ["card","chart"], - files: [{ - path: "registry/new-york/charts/chart-radial-grid.tsx", - type: "registry:block", - target: "" - }], - categories: ["charts","charts-radial"], - component: React.lazy(() => import("@/registry/new-york/charts/chart-radial-grid.tsx")), - source: "__registry__/new-york/charts/chart-radial-grid.tsx", - meta: undefined, - }, - "chart-radial-label": { - name: "chart-radial-label", - description: "", - type: "registry:block", - registryDependencies: ["card","chart"], - files: [{ - path: "registry/new-york/charts/chart-radial-label.tsx", - type: "registry:block", - target: "" - }], - categories: ["charts","charts-radial"], - component: React.lazy(() => import("@/registry/new-york/charts/chart-radial-label.tsx")), - source: "__registry__/new-york/charts/chart-radial-label.tsx", - meta: undefined, - }, - "chart-radial-shape": { - name: "chart-radial-shape", - description: "", - type: "registry:block", - registryDependencies: ["card","chart"], - files: [{ - path: "registry/new-york/charts/chart-radial-shape.tsx", - type: "registry:block", - target: "" - }], - categories: ["charts","charts-radial"], - component: React.lazy(() => import("@/registry/new-york/charts/chart-radial-shape.tsx")), - source: "__registry__/new-york/charts/chart-radial-shape.tsx", - meta: undefined, - }, - "chart-radial-simple": { - name: "chart-radial-simple", - description: "", - type: "registry:block", - registryDependencies: ["card","chart"], - files: [{ - path: "registry/new-york/charts/chart-radial-simple.tsx", - type: "registry:block", - target: "" - }], - categories: ["charts","charts-radial"], - component: React.lazy(() => import("@/registry/new-york/charts/chart-radial-simple.tsx")), - source: "__registry__/new-york/charts/chart-radial-simple.tsx", - meta: undefined, - }, - "chart-radial-stacked": { - name: "chart-radial-stacked", - description: "", - type: "registry:block", - registryDependencies: ["card","chart"], - files: [{ - path: "registry/new-york/charts/chart-radial-stacked.tsx", - type: "registry:block", - target: "" - }], - categories: ["charts","charts-radial"], - component: React.lazy(() => import("@/registry/new-york/charts/chart-radial-stacked.tsx")), - source: "__registry__/new-york/charts/chart-radial-stacked.tsx", - meta: undefined, - }, - "chart-radial-text": { - name: "chart-radial-text", - description: "", - type: "registry:block", - registryDependencies: ["card","chart"], - files: [{ - path: "registry/new-york/charts/chart-radial-text.tsx", - type: "registry:block", - target: "" - }], - categories: ["charts","charts-radial"], - component: React.lazy(() => import("@/registry/new-york/charts/chart-radial-text.tsx")), - source: "__registry__/new-york/charts/chart-radial-text.tsx", - meta: undefined, - }, - "chart-tooltip-default": { - name: "chart-tooltip-default", - description: "", - type: "registry:block", - registryDependencies: ["card","chart"], - files: [{ - path: "registry/new-york/charts/chart-tooltip-default.tsx", - type: "registry:block", - target: "" - }], - categories: ["charts","charts-tooltip"], - component: React.lazy(() => import("@/registry/new-york/charts/chart-tooltip-default.tsx")), - source: "__registry__/new-york/charts/chart-tooltip-default.tsx", - meta: undefined, - }, - "chart-tooltip-indicator-line": { - name: "chart-tooltip-indicator-line", - description: "", - type: "registry:block", - registryDependencies: ["card","chart"], - files: [{ - path: "registry/new-york/charts/chart-tooltip-indicator-line.tsx", - type: "registry:block", - target: "" - }], - categories: ["charts","charts-tooltip"], - component: React.lazy(() => import("@/registry/new-york/charts/chart-tooltip-indicator-line.tsx")), - source: "__registry__/new-york/charts/chart-tooltip-indicator-line.tsx", - meta: undefined, - }, - "chart-tooltip-indicator-none": { - name: "chart-tooltip-indicator-none", - description: "", - type: "registry:block", - registryDependencies: ["card","chart"], - files: [{ - path: "registry/new-york/charts/chart-tooltip-indicator-none.tsx", - type: "registry:block", - target: "" - }], - categories: ["charts","charts-tooltip"], - component: React.lazy(() => import("@/registry/new-york/charts/chart-tooltip-indicator-none.tsx")), - source: "__registry__/new-york/charts/chart-tooltip-indicator-none.tsx", - meta: undefined, - }, - "chart-tooltip-label-none": { - name: "chart-tooltip-label-none", - description: "", - type: "registry:block", - registryDependencies: ["card","chart"], - files: [{ - path: "registry/new-york/charts/chart-tooltip-label-none.tsx", - type: "registry:block", - target: "" - }], - categories: ["charts","charts-tooltip"], - component: React.lazy(() => import("@/registry/new-york/charts/chart-tooltip-label-none.tsx")), - source: "__registry__/new-york/charts/chart-tooltip-label-none.tsx", - meta: undefined, - }, - "chart-tooltip-label-custom": { - name: "chart-tooltip-label-custom", - description: "", - type: "registry:block", - registryDependencies: ["card","chart"], - files: [{ - path: "registry/new-york/charts/chart-tooltip-label-custom.tsx", - type: "registry:block", - target: "" - }], - categories: ["charts","charts-tooltip"], - component: React.lazy(() => import("@/registry/new-york/charts/chart-tooltip-label-custom.tsx")), - source: "__registry__/new-york/charts/chart-tooltip-label-custom.tsx", - meta: undefined, - }, - "chart-tooltip-label-formatter": { - name: "chart-tooltip-label-formatter", - description: "", - type: "registry:block", - registryDependencies: ["card","chart"], - files: [{ - path: "registry/new-york/charts/chart-tooltip-label-formatter.tsx", - type: "registry:block", - target: "" - }], - categories: ["charts","charts-tooltip"], - component: React.lazy(() => import("@/registry/new-york/charts/chart-tooltip-label-formatter.tsx")), - source: "__registry__/new-york/charts/chart-tooltip-label-formatter.tsx", - meta: undefined, - }, - "chart-tooltip-formatter": { - name: "chart-tooltip-formatter", - description: "", - type: "registry:block", - registryDependencies: ["card","chart"], - files: [{ - path: "registry/new-york/charts/chart-tooltip-formatter.tsx", - type: "registry:block", - target: "" - }], - categories: ["charts","charts-tooltip"], - component: React.lazy(() => import("@/registry/new-york/charts/chart-tooltip-formatter.tsx")), - source: "__registry__/new-york/charts/chart-tooltip-formatter.tsx", - meta: undefined, - }, - "chart-tooltip-icons": { - name: "chart-tooltip-icons", - description: "", - type: "registry:block", - registryDependencies: ["card","chart"], - files: [{ - path: "registry/new-york/charts/chart-tooltip-icons.tsx", - type: "registry:block", - target: "" - }], - categories: ["charts","charts-tooltip"], - component: React.lazy(() => import("@/registry/new-york/charts/chart-tooltip-icons.tsx")), - source: "__registry__/new-york/charts/chart-tooltip-icons.tsx", - meta: undefined, - }, - "chart-tooltip-advanced": { - name: "chart-tooltip-advanced", - description: "", - type: "registry:block", - registryDependencies: ["card","chart"], - files: [{ - path: "registry/new-york/charts/chart-tooltip-advanced.tsx", - type: "registry:block", - target: "" - }], - categories: ["charts","charts-tooltip"], - component: React.lazy(() => import("@/registry/new-york/charts/chart-tooltip-advanced.tsx")), - source: "__registry__/new-york/charts/chart-tooltip-advanced.tsx", - meta: undefined, - }, - "utils": { - name: "utils", - description: "", - type: "registry:lib", - registryDependencies: undefined, - files: [{ - path: "registry/new-york/lib/utils.ts", - type: "registry:lib", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/new-york/lib/utils.ts")), - source: "", - meta: undefined, - }, - "use-mobile": { - name: "use-mobile", - description: "", - type: "registry:hook", - registryDependencies: undefined, - files: [{ - path: "registry/new-york/hooks/use-mobile.tsx", - type: "registry:hook", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/new-york/hooks/use-mobile.tsx")), - source: "", - meta: undefined, - }, - "use-toast": { - name: "use-toast", - description: "", - type: "registry:hook", - registryDependencies: undefined, - files: [{ - path: "registry/new-york/hooks/use-toast.ts", - type: "registry:hook", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/new-york/hooks/use-toast.ts")), - source: "", - meta: undefined, - }, - "sink": { - name: "sink", - description: "", - type: "registry:internal", - registryDependencies: ["accordion","alert","alert-dialog","aspect-ratio","avatar","badge","breadcrumb","button","calendar","card","carousel","chart","checkbox","collapsible","command","context-menu","dialog","drawer","dropdown-menu","hover-card","input","input-otp","label","menubar","navigation-menu","pagination","popover","progress","radio-group","resizable","scroll-area","select","separator","sheet","sidebar","skeleton","slider","sonner","switch","table","tabs","textarea","toast","toggle","toggle-group","tooltip"], - files: [{ - path: "registry/new-york/internal/sink/page.tsx", - type: "registry:page", - target: "app/sink/page.tsx" - },{ - path: "registry/new-york/internal/sink/components/app-sidebar.tsx", - type: "registry:component", - target: "" - },{ - path: "registry/new-york/internal/sink/components/component-wrapper.tsx", - type: "registry:component", - target: "" - },{ - path: "registry/new-york/internal/sink/components/nav-main.tsx", - type: "registry:component", - target: "" - },{ - path: "registry/new-york/internal/sink/components/nav-projects.tsx", - type: "registry:component", - target: "" - },{ - path: "registry/new-york/internal/sink/components/nav-user.tsx", - type: "registry:component", - target: "" - },{ - path: "registry/new-york/internal/sink/components/team-switcher.tsx", - type: "registry:component", - target: "" - },{ - path: "registry/new-york/internal/sink/components/accordion-demo.tsx", - type: "registry:component", - target: "" - },{ - path: "registry/new-york/internal/sink/components/alert-demo.tsx", - type: "registry:component", - target: "" - },{ - path: "registry/new-york/internal/sink/components/alert-dialog-demo.tsx", - type: "registry:component", - target: "" - },{ - path: "registry/new-york/internal/sink/components/aspect-ratio-demo.tsx", - type: "registry:component", - target: "" - },{ - path: "registry/new-york/internal/sink/components/avatar-demo.tsx", - type: "registry:component", - target: "" - },{ - path: "registry/new-york/internal/sink/components/badge-demo.tsx", - type: "registry:component", - target: "" - },{ - path: "registry/new-york/internal/sink/components/breadcrumb-demo.tsx", - type: "registry:component", - target: "" - },{ - path: "registry/new-york/internal/sink/components/button-demo.tsx", - type: "registry:component", - target: "" - },{ - path: "registry/new-york/internal/sink/components/calendar-demo.tsx", - type: "registry:component", - target: "" - },{ - path: "registry/new-york/internal/sink/components/card-demo.tsx", - type: "registry:component", - target: "" - },{ - path: "registry/new-york/internal/sink/components/carousel-demo.tsx", - type: "registry:component", - target: "" - },{ - path: "registry/new-york/internal/sink/components/checkbox-demo.tsx", - type: "registry:component", - target: "" - },{ - path: "registry/new-york/internal/sink/components/collapsible-demo.tsx", - type: "registry:component", - target: "" - },{ - path: "registry/new-york/internal/sink/components/combobox-demo.tsx", - type: "registry:component", - target: "" - },{ - path: "registry/new-york/internal/sink/components/command-demo.tsx", - type: "registry:component", - target: "" - },{ - path: "registry/new-york/internal/sink/components/context-menu-demo.tsx", - type: "registry:component", - target: "" - },{ - path: "registry/new-york/internal/sink/components/date-picker-demo.tsx", - type: "registry:component", - target: "" - },{ - path: "registry/new-york/internal/sink/components/dialog-demo.tsx", - type: "registry:component", - target: "" - },{ - path: "registry/new-york/internal/sink/components/drawer-demo.tsx", - type: "registry:component", - target: "" - },{ - path: "registry/new-york/internal/sink/components/dropdown-menu-demo.tsx", - type: "registry:component", - target: "" - },{ - path: "registry/new-york/internal/sink/components/hover-card-demo.tsx", - type: "registry:component", - target: "" - },{ - path: "registry/new-york/internal/sink/components/input-demo.tsx", - type: "registry:component", - target: "" - },{ - path: "registry/new-york/internal/sink/components/input-otp-demo.tsx", - type: "registry:component", - target: "" - },{ - path: "registry/new-york/internal/sink/components/label-demo.tsx", - type: "registry:component", - target: "" - },{ - path: "registry/new-york/internal/sink/components/menubar-demo.tsx", - type: "registry:component", - target: "" - },{ - path: "registry/new-york/internal/sink/components/navigation-menu-demo.tsx", - type: "registry:component", - target: "" - },{ - path: "registry/new-york/internal/sink/components/pagination-demo.tsx", - type: "registry:component", - target: "" - },{ - path: "registry/new-york/internal/sink/components/popover-demo.tsx", - type: "registry:component", - target: "" - },{ - path: "registry/new-york/internal/sink/components/progress-demo.tsx", - type: "registry:component", - target: "" - },{ - path: "registry/new-york/internal/sink/components/radio-group-demo.tsx", - type: "registry:component", - target: "" - },{ - path: "registry/new-york/internal/sink/components/resizable-handle.tsx", - type: "registry:component", - target: "" - },{ - path: "registry/new-york/internal/sink/components/scroll-area-demo.tsx", - type: "registry:component", - target: "" - },{ - path: "registry/new-york/internal/sink/components/select-demo.tsx", - type: "registry:component", - target: "" - },{ - path: "registry/new-york/internal/sink/components/separator-demo.tsx", - type: "registry:component", - target: "" - },{ - path: "registry/new-york/internal/sink/components/sheet-demo.tsx", - type: "registry:component", - target: "" - },{ - path: "registry/new-york/internal/sink/components/skeleton-demo.tsx", - type: "registry:component", - target: "" - },{ - path: "registry/new-york/internal/sink/components/slider-demo.tsx", - type: "registry:component", - target: "" - },{ - path: "registry/new-york/internal/sink/components/sonner-demo.tsx", - type: "registry:component", - target: "" - },{ - path: "registry/new-york/internal/sink/components/switch-demo.tsx", - type: "registry:component", - target: "" - },{ - path: "registry/new-york/internal/sink/components/table-demo.tsx", - type: "registry:component", - target: "" - },{ - path: "registry/new-york/internal/sink/components/tabs-demo.tsx", - type: "registry:component", - target: "" - },{ - path: "registry/new-york/internal/sink/components/textarea-demo.tsx", - type: "registry:component", - target: "" - },{ - path: "registry/new-york/internal/sink/components/toast-demo.tsx", - type: "registry:component", - target: "" - },{ - path: "registry/new-york/internal/sink/components/toggle-demo.tsx", - type: "registry:component", - target: "" - },{ - path: "registry/new-york/internal/sink/components/toggle-group-demo.tsx", - type: "registry:component", - target: "" - },{ - path: "registry/new-york/internal/sink/components/tooltip-demo.tsx", - type: "registry:component", - target: "" - },{ - path: "registry/new-york/internal/sink/components/badge-destructive.tsx", - type: "registry:component", - target: "" - },{ - path: "registry/new-york/internal/sink/components/badge-outline.tsx", - type: "registry:component", - target: "" - },{ - path: "registry/new-york/internal/sink/components/badge-secondary.tsx", - type: "registry:component", - target: "" - },{ - path: "registry/new-york/internal/sink/components/button-destructive.tsx", - type: "registry:component", - target: "" - },{ - path: "registry/new-york/internal/sink/components/button-ghost.tsx", - type: "registry:component", - target: "" - },{ - path: "registry/new-york/internal/sink/components/button-link.tsx", - type: "registry:component", - target: "" - },{ - path: "registry/new-york/internal/sink/components/button-loading.tsx", - type: "registry:component", - target: "" - },{ - path: "registry/new-york/internal/sink/components/button-outline.tsx", - type: "registry:component", - target: "" - },{ - path: "registry/new-york/internal/sink/components/button-secondary.tsx", - type: "registry:component", - target: "" - },{ - path: "registry/new-york/internal/sink/components/button-with-icon.tsx", - type: "registry:component", - target: "" - },{ - path: "registry/new-york/internal/sink/components/toggle-disabled.tsx", - type: "registry:component", - target: "" - },{ - path: "registry/new-york/internal/sink/components/toggle-outline.tsx", - type: "registry:component", - target: "" - },{ - path: "registry/new-york/internal/sink/components/toggle-with-text.tsx", - type: "registry:component", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/new-york/internal/sink/page.tsx")), - source: "", - meta: undefined, - }, - "sidebar-demo": { - name: "sidebar-demo", - description: "", - type: "registry:internal", - registryDependencies: undefined, - files: [{ - path: "registry/new-york/internal/sidebar-demo.tsx", - type: "registry:component", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/new-york/internal/sidebar-demo.tsx")), - source: "", - meta: undefined, - }, - "sidebar-header": { - name: "sidebar-header", - description: "", - type: "registry:internal", - registryDependencies: undefined, - files: [{ - path: "registry/new-york/internal/sidebar-header.tsx", - type: "registry:component", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/new-york/internal/sidebar-header.tsx")), - source: "", - meta: undefined, - }, - "sidebar-footer": { - name: "sidebar-footer", - description: "", - type: "registry:internal", - registryDependencies: undefined, - files: [{ - path: "registry/new-york/internal/sidebar-footer.tsx", - type: "registry:component", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/new-york/internal/sidebar-footer.tsx")), - source: "", - meta: undefined, - }, - "sidebar-group": { - name: "sidebar-group", - description: "", - type: "registry:internal", - registryDependencies: undefined, - files: [{ - path: "registry/new-york/internal/sidebar-group.tsx", - type: "registry:component", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/new-york/internal/sidebar-group.tsx")), - source: "", - meta: undefined, - }, - "sidebar-group-collapsible": { - name: "sidebar-group-collapsible", - description: "", - type: "registry:internal", - registryDependencies: undefined, - files: [{ - path: "registry/new-york/internal/sidebar-group-collapsible.tsx", - type: "registry:component", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/new-york/internal/sidebar-group-collapsible.tsx")), - source: "", - meta: undefined, - }, - "sidebar-group-action": { - name: "sidebar-group-action", - description: "", - type: "registry:internal", - registryDependencies: undefined, - files: [{ - path: "registry/new-york/internal/sidebar-group-action.tsx", - type: "registry:component", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/new-york/internal/sidebar-group-action.tsx")), - source: "", - meta: undefined, - }, - "sidebar-menu": { - name: "sidebar-menu", - description: "", - type: "registry:internal", - registryDependencies: undefined, - files: [{ - path: "registry/new-york/internal/sidebar-menu.tsx", - type: "registry:component", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/new-york/internal/sidebar-menu.tsx")), - source: "", - meta: undefined, - }, - "sidebar-menu-action": { - name: "sidebar-menu-action", - description: "", - type: "registry:internal", - registryDependencies: undefined, - files: [{ - path: "registry/new-york/internal/sidebar-menu-action.tsx", - type: "registry:component", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/new-york/internal/sidebar-menu-action.tsx")), - source: "", - meta: undefined, - }, - "sidebar-menu-sub": { - name: "sidebar-menu-sub", - description: "", - type: "registry:internal", - registryDependencies: undefined, - files: [{ - path: "registry/new-york/internal/sidebar-menu-sub.tsx", - type: "registry:component", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/new-york/internal/sidebar-menu-sub.tsx")), - source: "", - meta: undefined, - }, - "sidebar-menu-collapsible": { - name: "sidebar-menu-collapsible", - description: "", - type: "registry:internal", - registryDependencies: undefined, - files: [{ - path: "registry/new-york/internal/sidebar-menu-collapsible.tsx", - type: "registry:component", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/new-york/internal/sidebar-menu-collapsible.tsx")), - source: "", - meta: undefined, - }, - "sidebar-menu-badge": { - name: "sidebar-menu-badge", - description: "", - type: "registry:internal", - registryDependencies: undefined, - files: [{ - path: "registry/new-york/internal/sidebar-menu-badge.tsx", - type: "registry:component", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/new-york/internal/sidebar-menu-badge.tsx")), - source: "", - meta: undefined, - }, - "sidebar-rsc": { - name: "sidebar-rsc", - description: "", - type: "registry:internal", - registryDependencies: undefined, - files: [{ - path: "registry/new-york/internal/sidebar-rsc.tsx", - type: "registry:component", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/new-york/internal/sidebar-rsc.tsx")), - source: "", - meta: undefined, - }, - "sidebar-controlled": { - name: "sidebar-controlled", - description: "", - type: "registry:internal", - registryDependencies: undefined, - files: [{ - path: "registry/new-york/internal/sidebar-controlled.tsx", - type: "registry:component", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/new-york/internal/sidebar-controlled.tsx")), - source: "", - meta: undefined, - }, - "v0-sidebar-01": { - name: "v0-sidebar-01", - description: "", - type: "registry:internal", - registryDependencies: ["sidebar","breadcrumb","separator","label","dropdown-menu"], - files: [{ - path: "registry/new-york/internal/sidebar-01.tsx", - type: "registry:component", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/new-york/internal/sidebar-01.tsx")), - source: "", - meta: undefined, - }, - "v0-sidebar-02": { - name: "v0-sidebar-02", - description: "", - type: "registry:internal", - registryDependencies: ["sidebar","breadcrumb","separator","label","dropdown-menu"], - files: [{ - path: "registry/new-york/internal/sidebar-02.tsx", - type: "registry:internal", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/new-york/internal/sidebar-02.tsx")), - source: "", - meta: undefined, - }, - "v0-sidebar-03": { - name: "v0-sidebar-03", - description: "", - type: "registry:internal", - registryDependencies: ["sidebar","breadcrumb"], - files: [{ - path: "registry/new-york/internal/sidebar-03.tsx", - type: "registry:internal", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/new-york/internal/sidebar-03.tsx")), - source: "", - meta: undefined, - }, - "v0-sidebar-04": { - name: "v0-sidebar-04", - description: "", - type: "registry:internal", - registryDependencies: ["sidebar","breadcrumb","separator"], - files: [{ - path: "registry/new-york/internal/sidebar-04.tsx", - type: "registry:internal", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/new-york/internal/sidebar-04.tsx")), - source: "", - meta: undefined, - }, - "v0-sidebar-05": { - name: "v0-sidebar-05", - description: "", - type: "registry:internal", - registryDependencies: ["sidebar","breadcrumb","separator","label","collapsible"], - files: [{ - path: "registry/new-york/internal/sidebar-05.tsx", - type: "registry:internal", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/new-york/internal/sidebar-05.tsx")), - source: "", - meta: undefined, - }, - "v0-sidebar-06": { - name: "v0-sidebar-06", - description: "", - type: "registry:internal", - registryDependencies: ["sidebar","breadcrumb","separator","card","dropdown-menu"], - files: [{ - path: "registry/new-york/internal/sidebar-06.tsx", - type: "registry:internal", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/new-york/internal/sidebar-06.tsx")), - source: "", - meta: undefined, - }, - "v0-sidebar-07": { - name: "v0-sidebar-07", - description: "", - type: "registry:internal", - registryDependencies: ["sidebar","breadcrumb","separator","collapsible","dropdown-menu","avatar"], - files: [{ - path: "registry/new-york/internal/sidebar-07.tsx", - type: "registry:internal", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/new-york/internal/sidebar-07.tsx")), - source: "", - meta: undefined, - }, - "v0-sidebar-08": { - name: "v0-sidebar-08", - description: "", - type: "registry:internal", - registryDependencies: ["sidebar","breadcrumb","separator","collapsible","dropdown-menu","avatar"], - files: [{ - path: "registry/new-york/internal/sidebar-08.tsx", - type: "registry:internal", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/new-york/internal/sidebar-08.tsx")), - source: "", - meta: undefined, - }, - "v0-sidebar-09": { - name: "v0-sidebar-09", - description: "", - type: "registry:internal", - registryDependencies: ["sidebar","breadcrumb","separator","collapsible","dropdown-menu","avatar","switch"], - files: [{ - path: "registry/new-york/internal/sidebar-09.tsx", - type: "registry:internal", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/new-york/internal/sidebar-09.tsx")), - source: "", - meta: undefined, - }, - "v0-sidebar-10": { - name: "v0-sidebar-10", - description: "", - type: "registry:internal", - registryDependencies: ["sidebar","breadcrumb","separator","popover","collapsible","dropdown-menu"], - files: [{ - path: "registry/new-york/internal/sidebar-10.tsx", - type: "registry:internal", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/new-york/internal/sidebar-10.tsx")), - source: "", - meta: undefined, - }, - "v0-sidebar-11": { - name: "v0-sidebar-11", - description: "", - type: "registry:internal", - registryDependencies: ["sidebar","breadcrumb","separator","collapsible"], - files: [{ - path: "registry/new-york/internal/sidebar-11.tsx", - type: "registry:internal", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/new-york/internal/sidebar-11.tsx")), - source: "", - meta: undefined, - }, - "v0-sidebar-12": { - name: "v0-sidebar-12", - description: "", - type: "registry:internal", - registryDependencies: ["sidebar","breadcrumb","separator","collapsible","calendar","dropdown-menu","avatar"], - files: [{ - path: "registry/new-york/internal/sidebar-12.tsx", - type: "registry:internal", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/new-york/internal/sidebar-12.tsx")), - source: "", - meta: undefined, - }, - "v0-sidebar-13": { - name: "v0-sidebar-13", - description: "", - type: "registry:internal", - registryDependencies: ["sidebar","breadcrumb","button","dialog"], - files: [{ - path: "registry/new-york/internal/sidebar-13.tsx", - type: "registry:internal", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/new-york/internal/sidebar-13.tsx")), - source: "", - meta: undefined, - }, - "v0-sidebar-14": { - name: "v0-sidebar-14", - description: "", - type: "registry:internal", - registryDependencies: ["sidebar","breadcrumb"], - files: [{ - path: "registry/new-york/internal/sidebar-14.tsx", - type: "registry:internal", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/new-york/internal/sidebar-14.tsx")), - source: "", - meta: undefined, - }, - "v0-sidebar-15": { - name: "v0-sidebar-15", - description: "", - type: "registry:internal", - registryDependencies: ["sidebar","breadcrumb","separator","popover","collapsible","dropdown-menu","calendar","avatar"], - files: [{ - path: "registry/new-york/internal/sidebar-15.tsx", - type: "registry:internal", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/new-york/internal/sidebar-15.tsx")), - source: "", - meta: undefined, - }, - "v0-login-01": { - name: "v0-login-01", - description: "", - type: "registry:internal", - registryDependencies: ["button","card","input","label"], - files: [{ - path: "registry/new-york/internal/login-01.tsx", - type: "registry:internal", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/new-york/internal/login-01.tsx")), - source: "", - meta: undefined, - }, - "accordion-demo": { - name: "accordion-demo", - description: "", - type: "registry:example", - registryDependencies: ["accordion"], - files: [{ - path: "registry/new-york/examples/accordion-demo.tsx", - type: "registry:example", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/new-york/examples/accordion-demo.tsx")), - source: "", - meta: undefined, - }, - "alert-demo": { - name: "alert-demo", - description: "", - type: "registry:example", - registryDependencies: ["alert"], - files: [{ - path: "registry/new-york/examples/alert-demo.tsx", - type: "registry:example", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/new-york/examples/alert-demo.tsx")), - source: "", - meta: undefined, - }, - "alert-destructive": { - name: "alert-destructive", - description: "", - type: "registry:example", - registryDependencies: ["alert"], - files: [{ - path: "registry/new-york/examples/alert-destructive.tsx", - type: "registry:example", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/new-york/examples/alert-destructive.tsx")), - source: "", - meta: undefined, - }, - "alert-dialog-demo": { - name: "alert-dialog-demo", - description: "", - type: "registry:example", - registryDependencies: ["alert-dialog","button"], - files: [{ - path: "registry/new-york/examples/alert-dialog-demo.tsx", - type: "registry:example", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/new-york/examples/alert-dialog-demo.tsx")), - source: "", - meta: undefined, - }, - "aspect-ratio-demo": { - name: "aspect-ratio-demo", - description: "", - type: "registry:example", - registryDependencies: ["aspect-ratio"], - files: [{ - path: "registry/new-york/examples/aspect-ratio-demo.tsx", - type: "registry:example", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/new-york/examples/aspect-ratio-demo.tsx")), - source: "", - meta: undefined, - }, - "avatar-demo": { - name: "avatar-demo", - description: "", - type: "registry:example", - registryDependencies: ["avatar"], - files: [{ - path: "registry/new-york/examples/avatar-demo.tsx", - type: "registry:example", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/new-york/examples/avatar-demo.tsx")), - source: "", - meta: undefined, - }, - "badge-demo": { - name: "badge-demo", - description: "", - type: "registry:example", - registryDependencies: ["badge"], - files: [{ - path: "registry/new-york/examples/badge-demo.tsx", - type: "registry:example", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/new-york/examples/badge-demo.tsx")), - source: "", - meta: undefined, - }, - "badge-destructive": { - name: "badge-destructive", - description: "", - type: "registry:example", - registryDependencies: ["badge"], - files: [{ - path: "registry/new-york/examples/badge-destructive.tsx", - type: "registry:example", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/new-york/examples/badge-destructive.tsx")), - source: "", - meta: undefined, - }, - "badge-outline": { - name: "badge-outline", - description: "", - type: "registry:example", - registryDependencies: ["badge"], - files: [{ - path: "registry/new-york/examples/badge-outline.tsx", - type: "registry:example", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/new-york/examples/badge-outline.tsx")), - source: "", - meta: undefined, - }, - "badge-secondary": { - name: "badge-secondary", - description: "", - type: "registry:example", - registryDependencies: ["badge"], - files: [{ - path: "registry/new-york/examples/badge-secondary.tsx", - type: "registry:example", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/new-york/examples/badge-secondary.tsx")), - source: "", - meta: undefined, - }, - "breadcrumb-demo": { - name: "breadcrumb-demo", - description: "", - type: "registry:example", - registryDependencies: ["breadcrumb"], - files: [{ - path: "registry/new-york/examples/breadcrumb-demo.tsx", - type: "registry:example", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/new-york/examples/breadcrumb-demo.tsx")), - source: "", - meta: undefined, - }, - "breadcrumb-separator": { - name: "breadcrumb-separator", - description: "", - type: "registry:example", - registryDependencies: ["breadcrumb"], - files: [{ - path: "registry/new-york/examples/breadcrumb-separator.tsx", - type: "registry:example", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/new-york/examples/breadcrumb-separator.tsx")), - source: "", - meta: undefined, - }, - "breadcrumb-dropdown": { - name: "breadcrumb-dropdown", - description: "", - type: "registry:example", - registryDependencies: ["breadcrumb"], - files: [{ - path: "registry/new-york/examples/breadcrumb-dropdown.tsx", - type: "registry:example", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/new-york/examples/breadcrumb-dropdown.tsx")), - source: "", - meta: undefined, - }, - "breadcrumb-ellipsis": { - name: "breadcrumb-ellipsis", - description: "", - type: "registry:example", - registryDependencies: ["breadcrumb"], - files: [{ - path: "registry/new-york/examples/breadcrumb-ellipsis.tsx", - type: "registry:example", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/new-york/examples/breadcrumb-ellipsis.tsx")), - source: "", - meta: undefined, - }, - "breadcrumb-link": { - name: "breadcrumb-link", - description: "", - type: "registry:example", - registryDependencies: ["breadcrumb"], - files: [{ - path: "registry/new-york/examples/breadcrumb-link.tsx", - type: "registry:example", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/new-york/examples/breadcrumb-link.tsx")), - source: "", - meta: undefined, - }, - "breadcrumb-responsive": { - name: "breadcrumb-responsive", - description: "", - type: "registry:example", - registryDependencies: ["breadcrumb"], - files: [{ - path: "registry/new-york/examples/breadcrumb-responsive.tsx", - type: "registry:example", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/new-york/examples/breadcrumb-responsive.tsx")), - source: "", - meta: undefined, - }, - "button-demo": { - name: "button-demo", - description: "", - type: "registry:example", - registryDependencies: ["button"], - files: [{ - path: "registry/new-york/examples/button-demo.tsx", - type: "registry:example", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/new-york/examples/button-demo.tsx")), - source: "", - meta: undefined, - }, - "button-secondary": { - name: "button-secondary", - description: "", - type: "registry:example", - registryDependencies: ["button"], - files: [{ - path: "registry/new-york/examples/button-secondary.tsx", - type: "registry:example", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/new-york/examples/button-secondary.tsx")), - source: "", - meta: undefined, - }, - "button-destructive": { - name: "button-destructive", - description: "", - type: "registry:example", - registryDependencies: ["button"], - files: [{ - path: "registry/new-york/examples/button-destructive.tsx", - type: "registry:example", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/new-york/examples/button-destructive.tsx")), - source: "", - meta: undefined, - }, - "button-outline": { - name: "button-outline", - description: "", - type: "registry:example", - registryDependencies: ["button"], - files: [{ - path: "registry/new-york/examples/button-outline.tsx", - type: "registry:example", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/new-york/examples/button-outline.tsx")), - source: "", - meta: undefined, - }, - "button-ghost": { - name: "button-ghost", - description: "", - type: "registry:example", - registryDependencies: ["button"], - files: [{ - path: "registry/new-york/examples/button-ghost.tsx", - type: "registry:example", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/new-york/examples/button-ghost.tsx")), - source: "", - meta: undefined, - }, - "button-link": { - name: "button-link", - description: "", - type: "registry:example", - registryDependencies: ["button"], - files: [{ - path: "registry/new-york/examples/button-link.tsx", - type: "registry:example", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/new-york/examples/button-link.tsx")), - source: "", - meta: undefined, - }, - "button-with-icon": { - name: "button-with-icon", - description: "", - type: "registry:example", - registryDependencies: ["button"], - files: [{ - path: "registry/new-york/examples/button-with-icon.tsx", - type: "registry:example", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/new-york/examples/button-with-icon.tsx")), - source: "", - meta: undefined, - }, - "button-loading": { - name: "button-loading", - description: "", - type: "registry:example", - registryDependencies: ["button"], - files: [{ - path: "registry/new-york/examples/button-loading.tsx", - type: "registry:example", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/new-york/examples/button-loading.tsx")), - source: "", - meta: undefined, - }, - "button-icon": { - name: "button-icon", - description: "", - type: "registry:example", - registryDependencies: ["button"], - files: [{ - path: "registry/new-york/examples/button-icon.tsx", - type: "registry:example", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/new-york/examples/button-icon.tsx")), - source: "", - meta: undefined, - }, - "button-as-child": { - name: "button-as-child", - description: "", - type: "registry:example", - registryDependencies: ["button"], - files: [{ - path: "registry/new-york/examples/button-as-child.tsx", - type: "registry:example", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/new-york/examples/button-as-child.tsx")), - source: "", - meta: undefined, - }, - "calendar-demo": { - name: "calendar-demo", - description: "", - type: "registry:example", - registryDependencies: ["calendar"], - files: [{ - path: "registry/new-york/examples/calendar-demo.tsx", - type: "registry:example", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/new-york/examples/calendar-demo.tsx")), - source: "", - meta: undefined, - }, - "calendar-form": { - name: "calendar-form", - description: "", - type: "registry:example", - registryDependencies: ["calendar","form","popover"], - files: [{ - path: "registry/new-york/examples/calendar-form.tsx", - type: "registry:example", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/new-york/examples/calendar-form.tsx")), - source: "", - meta: undefined, - }, - "card-demo": { - name: "card-demo", - description: "", - type: "registry:example", - registryDependencies: ["card","button","switch"], - files: [{ - path: "registry/new-york/examples/card-demo.tsx", - type: "registry:example", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/new-york/examples/card-demo.tsx")), - source: "", - meta: undefined, - }, - "card-with-form": { - name: "card-with-form", - description: "", - type: "registry:example", - registryDependencies: ["button","card","input","label","select"], - files: [{ - path: "registry/new-york/examples/card-with-form.tsx", - type: "registry:example", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/new-york/examples/card-with-form.tsx")), - source: "", - meta: undefined, - }, - "carousel-demo": { - name: "carousel-demo", - description: "", - type: "registry:example", - registryDependencies: ["carousel"], - files: [{ - path: "registry/new-york/examples/carousel-demo.tsx", - type: "registry:example", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/new-york/examples/carousel-demo.tsx")), - source: "", - meta: undefined, - }, - "carousel-size": { - name: "carousel-size", - description: "", - type: "registry:example", - registryDependencies: ["carousel"], - files: [{ - path: "registry/new-york/examples/carousel-size.tsx", - type: "registry:example", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/new-york/examples/carousel-size.tsx")), - source: "", - meta: undefined, - }, - "carousel-spacing": { - name: "carousel-spacing", - description: "", - type: "registry:example", - registryDependencies: ["carousel"], - files: [{ - path: "registry/new-york/examples/carousel-spacing.tsx", - type: "registry:example", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/new-york/examples/carousel-spacing.tsx")), - source: "", - meta: undefined, - }, - "carousel-orientation": { - name: "carousel-orientation", - description: "", - type: "registry:example", - registryDependencies: ["carousel"], - files: [{ - path: "registry/new-york/examples/carousel-orientation.tsx", - type: "registry:example", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/new-york/examples/carousel-orientation.tsx")), - source: "", - meta: undefined, - }, - "carousel-api": { - name: "carousel-api", - description: "", - type: "registry:example", - registryDependencies: ["carousel"], - files: [{ - path: "registry/new-york/examples/carousel-api.tsx", - type: "registry:example", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/new-york/examples/carousel-api.tsx")), - source: "", - meta: undefined, - }, - "carousel-plugin": { - name: "carousel-plugin", - description: "", - type: "registry:example", - registryDependencies: ["carousel"], - files: [{ - path: "registry/new-york/examples/carousel-plugin.tsx", - type: "registry:example", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/new-york/examples/carousel-plugin.tsx")), - source: "", - meta: undefined, - }, - "checkbox-demo": { - name: "checkbox-demo", - description: "", - type: "registry:example", - registryDependencies: ["checkbox"], - files: [{ - path: "registry/new-york/examples/checkbox-demo.tsx", - type: "registry:example", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/new-york/examples/checkbox-demo.tsx")), - source: "", - meta: undefined, - }, - "checkbox-disabled": { - name: "checkbox-disabled", - description: "", - type: "registry:example", - registryDependencies: ["checkbox"], - files: [{ - path: "registry/new-york/examples/checkbox-disabled.tsx", - type: "registry:example", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/new-york/examples/checkbox-disabled.tsx")), - source: "", - meta: undefined, - }, - "checkbox-form-multiple": { - name: "checkbox-form-multiple", - description: "", - type: "registry:example", - registryDependencies: ["checkbox","form"], - files: [{ - path: "registry/new-york/examples/checkbox-form-multiple.tsx", - type: "registry:example", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/new-york/examples/checkbox-form-multiple.tsx")), - source: "", - meta: undefined, - }, - "checkbox-form-single": { - name: "checkbox-form-single", - description: "", - type: "registry:example", - registryDependencies: ["checkbox","form"], - files: [{ - path: "registry/new-york/examples/checkbox-form-single.tsx", - type: "registry:example", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/new-york/examples/checkbox-form-single.tsx")), - source: "", - meta: undefined, - }, - "checkbox-with-text": { - name: "checkbox-with-text", - description: "", - type: "registry:example", - registryDependencies: ["checkbox"], - files: [{ - path: "registry/new-york/examples/checkbox-with-text.tsx", - type: "registry:example", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/new-york/examples/checkbox-with-text.tsx")), - source: "", - meta: undefined, - }, - "collapsible-demo": { - name: "collapsible-demo", - description: "", - type: "registry:example", - registryDependencies: ["collapsible"], - files: [{ - path: "registry/new-york/examples/collapsible-demo.tsx", - type: "registry:example", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/new-york/examples/collapsible-demo.tsx")), - source: "", - meta: undefined, - }, - "combobox-demo": { - name: "combobox-demo", - description: "", - type: "registry:example", - registryDependencies: ["command"], - files: [{ - path: "registry/new-york/examples/combobox-demo.tsx", - type: "registry:example", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/new-york/examples/combobox-demo.tsx")), - source: "", - meta: undefined, - }, - "combobox-dropdown-menu": { - name: "combobox-dropdown-menu", - description: "", - type: "registry:example", - registryDependencies: ["command","dropdown-menu","button"], - files: [{ - path: "registry/new-york/examples/combobox-dropdown-menu.tsx", - type: "registry:example", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/new-york/examples/combobox-dropdown-menu.tsx")), - source: "", - meta: undefined, - }, - "combobox-form": { - name: "combobox-form", - description: "", - type: "registry:example", - registryDependencies: ["command","form"], - files: [{ - path: "registry/new-york/examples/combobox-form.tsx", - type: "registry:example", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/new-york/examples/combobox-form.tsx")), - source: "", - meta: undefined, - }, - "combobox-popover": { - name: "combobox-popover", - description: "", - type: "registry:example", - registryDependencies: ["combobox","popover"], - files: [{ - path: "registry/new-york/examples/combobox-popover.tsx", - type: "registry:example", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/new-york/examples/combobox-popover.tsx")), - source: "", - meta: undefined, - }, - "combobox-responsive": { - name: "combobox-responsive", - description: "", - type: "registry:example", - registryDependencies: ["combobox","popover","drawer"], - files: [{ - path: "registry/new-york/examples/combobox-responsive.tsx", - type: "registry:example", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/new-york/examples/combobox-responsive.tsx")), - source: "", - meta: undefined, - }, - "command-demo": { - name: "command-demo", - description: "", - type: "registry:example", - registryDependencies: ["command"], - files: [{ - path: "registry/new-york/examples/command-demo.tsx", - type: "registry:example", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/new-york/examples/command-demo.tsx")), - source: "", - meta: undefined, - }, - "command-dialog": { - name: "command-dialog", - description: "", - type: "registry:example", - registryDependencies: ["command","dialog"], - files: [{ - path: "registry/new-york/examples/command-dialog.tsx", - type: "registry:example", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/new-york/examples/command-dialog.tsx")), - source: "", - meta: undefined, - }, - "context-menu-demo": { - name: "context-menu-demo", - description: "", - type: "registry:example", - registryDependencies: ["context-menu"], - files: [{ - path: "registry/new-york/examples/context-menu-demo.tsx", - type: "registry:example", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/new-york/examples/context-menu-demo.tsx")), - source: "", - meta: undefined, - }, - "data-table-demo": { - name: "data-table-demo", - description: "", - type: "registry:example", - registryDependencies: ["data-table"], - files: [{ - path: "registry/new-york/examples/data-table-demo.tsx", - type: "registry:example", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/new-york/examples/data-table-demo.tsx")), - source: "", - meta: undefined, - }, - "date-picker-demo": { - name: "date-picker-demo", - description: "", - type: "registry:example", - registryDependencies: ["button","calendar","popover"], - files: [{ - path: "registry/new-york/examples/date-picker-demo.tsx", - type: "registry:example", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/new-york/examples/date-picker-demo.tsx")), - source: "", - meta: undefined, - }, - "date-picker-form": { - name: "date-picker-form", - description: "", - type: "registry:example", - registryDependencies: ["button","calendar","form","popover"], - files: [{ - path: "registry/new-york/examples/date-picker-form.tsx", - type: "registry:example", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/new-york/examples/date-picker-form.tsx")), - source: "", - meta: undefined, - }, - "date-picker-with-presets": { - name: "date-picker-with-presets", - description: "", - type: "registry:example", - registryDependencies: ["button","calendar","popover","select"], - files: [{ - path: "registry/new-york/examples/date-picker-with-presets.tsx", - type: "registry:example", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/new-york/examples/date-picker-with-presets.tsx")), - source: "", - meta: undefined, - }, - "date-picker-with-range": { - name: "date-picker-with-range", - description: "", - type: "registry:example", - registryDependencies: ["button","calendar","popover"], - files: [{ - path: "registry/new-york/examples/date-picker-with-range.tsx", - type: "registry:example", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/new-york/examples/date-picker-with-range.tsx")), - source: "", - meta: undefined, - }, - "dialog-demo": { - name: "dialog-demo", - description: "", - type: "registry:example", - registryDependencies: ["dialog"], - files: [{ - path: "registry/new-york/examples/dialog-demo.tsx", - type: "registry:example", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/new-york/examples/dialog-demo.tsx")), - source: "", - meta: undefined, - }, - "dialog-close-button": { - name: "dialog-close-button", - description: "", - type: "registry:example", - registryDependencies: ["dialog","button"], - files: [{ - path: "registry/new-york/examples/dialog-close-button.tsx", - type: "registry:example", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/new-york/examples/dialog-close-button.tsx")), - source: "", - meta: undefined, - }, - "drawer-demo": { - name: "drawer-demo", - description: "", - type: "registry:example", - registryDependencies: ["drawer"], - files: [{ - path: "registry/new-york/examples/drawer-demo.tsx", - type: "registry:example", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/new-york/examples/drawer-demo.tsx")), - source: "", - meta: undefined, - }, - "drawer-dialog": { - name: "drawer-dialog", - description: "", - type: "registry:example", - registryDependencies: ["drawer","dialog"], - files: [{ - path: "registry/new-york/examples/drawer-dialog.tsx", - type: "registry:example", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/new-york/examples/drawer-dialog.tsx")), - source: "", - meta: undefined, - }, - "dropdown-menu-demo": { - name: "dropdown-menu-demo", - description: "", - type: "registry:example", - registryDependencies: ["dropdown-menu"], - files: [{ - path: "registry/new-york/examples/dropdown-menu-demo.tsx", - type: "registry:example", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/new-york/examples/dropdown-menu-demo.tsx")), - source: "", - meta: undefined, - }, - "dropdown-menu-checkboxes": { - name: "dropdown-menu-checkboxes", - description: "", - type: "registry:example", - registryDependencies: ["dropdown-menu","checkbox"], - files: [{ - path: "registry/new-york/examples/dropdown-menu-checkboxes.tsx", - type: "registry:example", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/new-york/examples/dropdown-menu-checkboxes.tsx")), - source: "", - meta: undefined, - }, - "dropdown-menu-radio-group": { - name: "dropdown-menu-radio-group", - description: "", - type: "registry:example", - registryDependencies: ["dropdown-menu","radio-group"], - files: [{ - path: "registry/new-york/examples/dropdown-menu-radio-group.tsx", - type: "registry:example", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/new-york/examples/dropdown-menu-radio-group.tsx")), - source: "", - meta: undefined, - }, - "hover-card-demo": { - name: "hover-card-demo", - description: "", - type: "registry:example", - registryDependencies: ["hover-card"], - files: [{ - path: "registry/new-york/examples/hover-card-demo.tsx", - type: "registry:example", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/new-york/examples/hover-card-demo.tsx")), - source: "", - meta: undefined, - }, - "input-demo": { - name: "input-demo", - description: "", - type: "registry:example", - registryDependencies: ["input"], - files: [{ - path: "registry/new-york/examples/input-demo.tsx", - type: "registry:example", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/new-york/examples/input-demo.tsx")), - source: "", - meta: undefined, - }, - "input-disabled": { - name: "input-disabled", - description: "", - type: "registry:example", - registryDependencies: ["input"], - files: [{ - path: "registry/new-york/examples/input-disabled.tsx", - type: "registry:example", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/new-york/examples/input-disabled.tsx")), - source: "", - meta: undefined, - }, - "input-file": { - name: "input-file", - description: "", - type: "registry:example", - registryDependencies: ["input"], - files: [{ - path: "registry/new-york/examples/input-file.tsx", - type: "registry:example", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/new-york/examples/input-file.tsx")), - source: "", - meta: undefined, - }, - "input-form": { - name: "input-form", - description: "", - type: "registry:example", - registryDependencies: ["input","button","form"], - files: [{ - path: "registry/new-york/examples/input-form.tsx", - type: "registry:example", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/new-york/examples/input-form.tsx")), - source: "", - meta: undefined, - }, - "input-with-button": { - name: "input-with-button", - description: "", - type: "registry:example", - registryDependencies: ["input","button"], - files: [{ - path: "registry/new-york/examples/input-with-button.tsx", - type: "registry:example", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/new-york/examples/input-with-button.tsx")), - source: "", - meta: undefined, - }, - "input-with-label": { - name: "input-with-label", - description: "", - type: "registry:example", - registryDependencies: ["input","button","label"], - files: [{ - path: "registry/new-york/examples/input-with-label.tsx", - type: "registry:example", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/new-york/examples/input-with-label.tsx")), - source: "", - meta: undefined, - }, - "input-with-text": { - name: "input-with-text", - description: "", - type: "registry:example", - registryDependencies: ["input","button","label"], - files: [{ - path: "registry/new-york/examples/input-with-text.tsx", - type: "registry:example", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/new-york/examples/input-with-text.tsx")), - source: "", - meta: undefined, - }, - "input-otp-demo": { - name: "input-otp-demo", - description: "", - type: "registry:example", - registryDependencies: ["input-otp"], - files: [{ - path: "registry/new-york/examples/input-otp-demo.tsx", - type: "registry:example", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/new-york/examples/input-otp-demo.tsx")), - source: "", - meta: undefined, - }, - "input-otp-pattern": { - name: "input-otp-pattern", - description: "", - type: "registry:example", - registryDependencies: ["input-otp"], - files: [{ - path: "registry/new-york/examples/input-otp-pattern.tsx", - type: "registry:example", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/new-york/examples/input-otp-pattern.tsx")), - source: "", - meta: undefined, - }, - "input-otp-separator": { - name: "input-otp-separator", - description: "", - type: "registry:example", - registryDependencies: ["input-otp"], - files: [{ - path: "registry/new-york/examples/input-otp-separator.tsx", - type: "registry:example", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/new-york/examples/input-otp-separator.tsx")), - source: "", - meta: undefined, - }, - "input-otp-controlled": { - name: "input-otp-controlled", - description: "", - type: "registry:example", - registryDependencies: ["input-otp"], - files: [{ - path: "registry/new-york/examples/input-otp-controlled.tsx", - type: "registry:example", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/new-york/examples/input-otp-controlled.tsx")), - source: "", - meta: undefined, - }, - "input-otp-form": { - name: "input-otp-form", - description: "", - type: "registry:example", - registryDependencies: ["input-otp","form"], - files: [{ - path: "registry/new-york/examples/input-otp-form.tsx", - type: "registry:example", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/new-york/examples/input-otp-form.tsx")), - source: "", - meta: undefined, - }, - "label-demo": { - name: "label-demo", - description: "", - type: "registry:example", - registryDependencies: ["label"], - files: [{ - path: "registry/new-york/examples/label-demo.tsx", - type: "registry:example", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/new-york/examples/label-demo.tsx")), - source: "", - meta: undefined, - }, - "menubar-demo": { - name: "menubar-demo", - description: "", - type: "registry:example", - registryDependencies: ["menubar"], - files: [{ - path: "registry/new-york/examples/menubar-demo.tsx", - type: "registry:example", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/new-york/examples/menubar-demo.tsx")), - source: "", - meta: undefined, - }, - "navigation-menu-demo": { - name: "navigation-menu-demo", - description: "", - type: "registry:example", - registryDependencies: ["navigation-menu"], - files: [{ - path: "registry/new-york/examples/navigation-menu-demo.tsx", - type: "registry:example", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/new-york/examples/navigation-menu-demo.tsx")), - source: "", - meta: undefined, - }, - "pagination-demo": { - name: "pagination-demo", - description: "", - type: "registry:example", - registryDependencies: ["pagination"], - files: [{ - path: "registry/new-york/examples/pagination-demo.tsx", - type: "registry:example", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/new-york/examples/pagination-demo.tsx")), - source: "", - meta: undefined, - }, - "popover-demo": { - name: "popover-demo", - description: "", - type: "registry:example", - registryDependencies: ["popover"], - files: [{ - path: "registry/new-york/examples/popover-demo.tsx", - type: "registry:example", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/new-york/examples/popover-demo.tsx")), - source: "", - meta: undefined, - }, - "progress-demo": { - name: "progress-demo", - description: "", - type: "registry:example", - registryDependencies: ["progress"], - files: [{ - path: "registry/new-york/examples/progress-demo.tsx", - type: "registry:example", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/new-york/examples/progress-demo.tsx")), - source: "", - meta: undefined, - }, - "radio-group-demo": { - name: "radio-group-demo", - description: "", - type: "registry:example", - registryDependencies: ["radio-group"], - files: [{ - path: "registry/new-york/examples/radio-group-demo.tsx", - type: "registry:example", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/new-york/examples/radio-group-demo.tsx")), - source: "", - meta: undefined, - }, - "radio-group-form": { - name: "radio-group-form", - description: "", - type: "registry:example", - registryDependencies: ["radio-group","form"], - files: [{ - path: "registry/new-york/examples/radio-group-form.tsx", - type: "registry:example", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/new-york/examples/radio-group-form.tsx")), - source: "", - meta: undefined, - }, - "resizable-demo": { - name: "resizable-demo", - description: "", - type: "registry:example", - registryDependencies: ["resizable"], - files: [{ - path: "registry/new-york/examples/resizable-demo.tsx", - type: "registry:example", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/new-york/examples/resizable-demo.tsx")), - source: "", - meta: undefined, - }, - "resizable-demo-with-handle": { - name: "resizable-demo-with-handle", - description: "", - type: "registry:example", - registryDependencies: ["resizable"], - files: [{ - path: "registry/new-york/examples/resizable-demo-with-handle.tsx", - type: "registry:example", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/new-york/examples/resizable-demo-with-handle.tsx")), - source: "", - meta: undefined, - }, - "resizable-vertical": { - name: "resizable-vertical", - description: "", - type: "registry:example", - registryDependencies: ["resizable"], - files: [{ - path: "registry/new-york/examples/resizable-vertical.tsx", - type: "registry:example", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/new-york/examples/resizable-vertical.tsx")), - source: "", - meta: undefined, - }, - "resizable-handle": { - name: "resizable-handle", - description: "", - type: "registry:example", - registryDependencies: ["resizable"], - files: [{ - path: "registry/new-york/examples/resizable-handle.tsx", - type: "registry:example", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/new-york/examples/resizable-handle.tsx")), - source: "", - meta: undefined, - }, - "scroll-area-demo": { - name: "scroll-area-demo", - description: "", - type: "registry:example", - registryDependencies: ["scroll-area"], - files: [{ - path: "registry/new-york/examples/scroll-area-demo.tsx", - type: "registry:example", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/new-york/examples/scroll-area-demo.tsx")), - source: "", - meta: undefined, - }, - "scroll-area-horizontal-demo": { - name: "scroll-area-horizontal-demo", - description: "", - type: "registry:example", - registryDependencies: ["scroll-area"], - files: [{ - path: "registry/new-york/examples/scroll-area-horizontal-demo.tsx", - type: "registry:example", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/new-york/examples/scroll-area-horizontal-demo.tsx")), - source: "", - meta: undefined, - }, - "select-demo": { - name: "select-demo", - description: "", - type: "registry:example", - registryDependencies: ["select"], - files: [{ - path: "registry/new-york/examples/select-demo.tsx", - type: "registry:example", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/new-york/examples/select-demo.tsx")), - source: "", - meta: undefined, - }, - "select-scrollable": { - name: "select-scrollable", - description: "", - type: "registry:example", - registryDependencies: ["select"], - files: [{ - path: "registry/new-york/examples/select-scrollable.tsx", - type: "registry:example", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/new-york/examples/select-scrollable.tsx")), - source: "", - meta: undefined, - }, - "select-form": { - name: "select-form", - description: "", - type: "registry:example", - registryDependencies: ["select"], - files: [{ - path: "registry/new-york/examples/select-form.tsx", - type: "registry:example", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/new-york/examples/select-form.tsx")), - source: "", - meta: undefined, - }, - "separator-demo": { - name: "separator-demo", - description: "", - type: "registry:example", - registryDependencies: ["separator"], - files: [{ - path: "registry/new-york/examples/separator-demo.tsx", - type: "registry:example", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/new-york/examples/separator-demo.tsx")), - source: "", - meta: undefined, - }, - "sheet-demo": { - name: "sheet-demo", - description: "", - type: "registry:example", - registryDependencies: ["sheet"], - files: [{ - path: "registry/new-york/examples/sheet-demo.tsx", - type: "registry:example", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/new-york/examples/sheet-demo.tsx")), - source: "", - meta: undefined, - }, - "sheet-side": { - name: "sheet-side", - description: "", - type: "registry:example", - registryDependencies: ["sheet"], - files: [{ - path: "registry/new-york/examples/sheet-side.tsx", - type: "registry:example", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/new-york/examples/sheet-side.tsx")), - source: "", - meta: undefined, - }, - "skeleton-demo": { - name: "skeleton-demo", - description: "", - type: "registry:example", - registryDependencies: ["skeleton"], - files: [{ - path: "registry/new-york/examples/skeleton-demo.tsx", - type: "registry:example", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/new-york/examples/skeleton-demo.tsx")), - source: "", - meta: undefined, - }, - "skeleton-card": { - name: "skeleton-card", - description: "", - type: "registry:example", - registryDependencies: ["skeleton"], - files: [{ - path: "registry/new-york/examples/skeleton-card.tsx", - type: "registry:example", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/new-york/examples/skeleton-card.tsx")), - source: "", - meta: undefined, - }, - "slider-demo": { - name: "slider-demo", - description: "", - type: "registry:example", - registryDependencies: ["slider"], - files: [{ - path: "registry/new-york/examples/slider-demo.tsx", - type: "registry:example", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/new-york/examples/slider-demo.tsx")), - source: "", - meta: undefined, - }, - "sonner-demo": { - name: "sonner-demo", - description: "", - type: "registry:example", - registryDependencies: ["sonner"], - files: [{ - path: "registry/new-york/examples/sonner-demo.tsx", - type: "registry:example", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/new-york/examples/sonner-demo.tsx")), - source: "", - meta: undefined, - }, - "switch-demo": { - name: "switch-demo", - description: "", - type: "registry:example", - registryDependencies: ["switch"], - files: [{ - path: "registry/new-york/examples/switch-demo.tsx", - type: "registry:example", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/new-york/examples/switch-demo.tsx")), - source: "", - meta: undefined, - }, - "switch-form": { - name: "switch-form", - description: "", - type: "registry:example", - registryDependencies: ["switch","form"], - files: [{ - path: "registry/new-york/examples/switch-form.tsx", - type: "registry:example", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/new-york/examples/switch-form.tsx")), - source: "", - meta: undefined, - }, - "table-demo": { - name: "table-demo", - description: "", - type: "registry:example", - registryDependencies: ["table"], - files: [{ - path: "registry/new-york/examples/table-demo.tsx", - type: "registry:example", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/new-york/examples/table-demo.tsx")), - source: "", - meta: undefined, - }, - "tabs-demo": { - name: "tabs-demo", - description: "", - type: "registry:example", - registryDependencies: ["tabs"], - files: [{ - path: "registry/new-york/examples/tabs-demo.tsx", - type: "registry:example", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/new-york/examples/tabs-demo.tsx")), - source: "", - meta: undefined, - }, - "textarea-demo": { - name: "textarea-demo", - description: "", - type: "registry:example", - registryDependencies: ["textarea"], - files: [{ - path: "registry/new-york/examples/textarea-demo.tsx", - type: "registry:example", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/new-york/examples/textarea-demo.tsx")), - source: "", - meta: undefined, - }, - "textarea-disabled": { - name: "textarea-disabled", - description: "", - type: "registry:example", - registryDependencies: ["textarea"], - files: [{ - path: "registry/new-york/examples/textarea-disabled.tsx", - type: "registry:example", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/new-york/examples/textarea-disabled.tsx")), - source: "", - meta: undefined, - }, - "textarea-form": { - name: "textarea-form", - description: "", - type: "registry:example", - registryDependencies: ["textarea","form"], - files: [{ - path: "registry/new-york/examples/textarea-form.tsx", - type: "registry:example", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/new-york/examples/textarea-form.tsx")), - source: "", - meta: undefined, - }, - "textarea-with-button": { - name: "textarea-with-button", - description: "", - type: "registry:example", - registryDependencies: ["textarea","button"], - files: [{ - path: "registry/new-york/examples/textarea-with-button.tsx", - type: "registry:example", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/new-york/examples/textarea-with-button.tsx")), - source: "", - meta: undefined, - }, - "textarea-with-label": { - name: "textarea-with-label", - description: "", - type: "registry:example", - registryDependencies: ["textarea","label"], - files: [{ - path: "registry/new-york/examples/textarea-with-label.tsx", - type: "registry:example", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/new-york/examples/textarea-with-label.tsx")), - source: "", - meta: undefined, - }, - "textarea-with-text": { - name: "textarea-with-text", - description: "", - type: "registry:example", - registryDependencies: ["textarea","label"], - files: [{ - path: "registry/new-york/examples/textarea-with-text.tsx", - type: "registry:example", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/new-york/examples/textarea-with-text.tsx")), - source: "", - meta: undefined, - }, - "toast-demo": { - name: "toast-demo", - description: "", - type: "registry:example", - registryDependencies: ["toast"], - files: [{ - path: "registry/new-york/examples/toast-demo.tsx", - type: "registry:example", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/new-york/examples/toast-demo.tsx")), - source: "", - meta: undefined, - }, - "toast-destructive": { - name: "toast-destructive", - description: "", - type: "registry:example", - registryDependencies: ["toast"], - files: [{ - path: "registry/new-york/examples/toast-destructive.tsx", - type: "registry:example", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/new-york/examples/toast-destructive.tsx")), - source: "", - meta: undefined, - }, - "toast-simple": { - name: "toast-simple", - description: "", - type: "registry:example", - registryDependencies: ["toast"], - files: [{ - path: "registry/new-york/examples/toast-simple.tsx", - type: "registry:example", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/new-york/examples/toast-simple.tsx")), - source: "", - meta: undefined, - }, - "toast-with-action": { - name: "toast-with-action", - description: "", - type: "registry:example", - registryDependencies: ["toast"], - files: [{ - path: "registry/new-york/examples/toast-with-action.tsx", - type: "registry:example", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/new-york/examples/toast-with-action.tsx")), - source: "", - meta: undefined, - }, - "toast-with-title": { - name: "toast-with-title", - description: "", - type: "registry:example", - registryDependencies: ["toast"], - files: [{ - path: "registry/new-york/examples/toast-with-title.tsx", - type: "registry:example", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/new-york/examples/toast-with-title.tsx")), - source: "", - meta: undefined, - }, - "toggle-group-demo": { - name: "toggle-group-demo", - description: "", - type: "registry:example", - registryDependencies: ["toggle-group"], - files: [{ - path: "registry/new-york/examples/toggle-group-demo.tsx", - type: "registry:example", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/new-york/examples/toggle-group-demo.tsx")), - source: "", - meta: undefined, - }, - "toggle-group-disabled": { - name: "toggle-group-disabled", - description: "", - type: "registry:example", - registryDependencies: ["toggle-group"], - files: [{ - path: "registry/new-york/examples/toggle-group-disabled.tsx", - type: "registry:example", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/new-york/examples/toggle-group-disabled.tsx")), - source: "", - meta: undefined, - }, - "toggle-group-lg": { - name: "toggle-group-lg", - description: "", - type: "registry:example", - registryDependencies: ["toggle-group"], - files: [{ - path: "registry/new-york/examples/toggle-group-lg.tsx", - type: "registry:example", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/new-york/examples/toggle-group-lg.tsx")), - source: "", - meta: undefined, - }, - "toggle-group-outline": { - name: "toggle-group-outline", - description: "", - type: "registry:example", - registryDependencies: ["toggle-group"], - files: [{ - path: "registry/new-york/examples/toggle-group-outline.tsx", - type: "registry:example", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/new-york/examples/toggle-group-outline.tsx")), - source: "", - meta: undefined, - }, - "toggle-group-sm": { - name: "toggle-group-sm", - description: "", - type: "registry:example", - registryDependencies: ["toggle-group"], - files: [{ - path: "registry/new-york/examples/toggle-group-sm.tsx", - type: "registry:example", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/new-york/examples/toggle-group-sm.tsx")), - source: "", - meta: undefined, - }, - "toggle-group-single": { - name: "toggle-group-single", - description: "", - type: "registry:example", - registryDependencies: ["toggle-group"], - files: [{ - path: "registry/new-york/examples/toggle-group-single.tsx", - type: "registry:example", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/new-york/examples/toggle-group-single.tsx")), - source: "", - meta: undefined, - }, - "toggle-demo": { - name: "toggle-demo", - description: "", - type: "registry:example", - registryDependencies: ["toggle"], - files: [{ - path: "registry/new-york/examples/toggle-demo.tsx", - type: "registry:example", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/new-york/examples/toggle-demo.tsx")), - source: "", - meta: undefined, - }, - "toggle-disabled": { - name: "toggle-disabled", - description: "", - type: "registry:example", - registryDependencies: ["toggle"], - files: [{ - path: "registry/new-york/examples/toggle-disabled.tsx", - type: "registry:example", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/new-york/examples/toggle-disabled.tsx")), - source: "", - meta: undefined, - }, - "toggle-lg": { - name: "toggle-lg", - description: "", - type: "registry:example", - registryDependencies: ["toggle"], - files: [{ - path: "registry/new-york/examples/toggle-lg.tsx", - type: "registry:example", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/new-york/examples/toggle-lg.tsx")), - source: "", - meta: undefined, - }, - "toggle-outline": { - name: "toggle-outline", - description: "", - type: "registry:example", - registryDependencies: ["toggle"], - files: [{ - path: "registry/new-york/examples/toggle-outline.tsx", - type: "registry:example", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/new-york/examples/toggle-outline.tsx")), - source: "", - meta: undefined, - }, - "toggle-sm": { - name: "toggle-sm", - description: "", - type: "registry:example", - registryDependencies: ["toggle"], - files: [{ - path: "registry/new-york/examples/toggle-sm.tsx", - type: "registry:example", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/new-york/examples/toggle-sm.tsx")), - source: "", - meta: undefined, - }, - "toggle-with-text": { - name: "toggle-with-text", - description: "", - type: "registry:example", - registryDependencies: ["toggle"], - files: [{ - path: "registry/new-york/examples/toggle-with-text.tsx", - type: "registry:example", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/new-york/examples/toggle-with-text.tsx")), - source: "", - meta: undefined, - }, - "tooltip-demo": { - name: "tooltip-demo", - description: "", - type: "registry:example", - registryDependencies: ["tooltip"], - files: [{ - path: "registry/new-york/examples/tooltip-demo.tsx", - type: "registry:example", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/new-york/examples/tooltip-demo.tsx")), - source: "", - meta: undefined, - }, - "typography-blockquote": { - name: "typography-blockquote", - description: "", - type: "registry:example", - registryDependencies: undefined, - files: [{ - path: "registry/new-york/examples/typography-blockquote.tsx", - type: "registry:example", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/new-york/examples/typography-blockquote.tsx")), - source: "", - meta: undefined, - }, - "typography-demo": { - name: "typography-demo", - description: "", - type: "registry:example", - registryDependencies: undefined, - files: [{ - path: "registry/new-york/examples/typography-demo.tsx", - type: "registry:example", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/new-york/examples/typography-demo.tsx")), - source: "", - meta: undefined, - }, - "typography-h1": { - name: "typography-h1", - description: "", - type: "registry:example", - registryDependencies: undefined, - files: [{ - path: "registry/new-york/examples/typography-h1.tsx", - type: "registry:example", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/new-york/examples/typography-h1.tsx")), - source: "", - meta: undefined, - }, - "typography-h2": { - name: "typography-h2", - description: "", - type: "registry:example", - registryDependencies: undefined, - files: [{ - path: "registry/new-york/examples/typography-h2.tsx", - type: "registry:example", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/new-york/examples/typography-h2.tsx")), - source: "", - meta: undefined, - }, - "typography-h3": { - name: "typography-h3", - description: "", - type: "registry:example", - registryDependencies: undefined, - files: [{ - path: "registry/new-york/examples/typography-h3.tsx", - type: "registry:example", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/new-york/examples/typography-h3.tsx")), - source: "", - meta: undefined, - }, - "typography-h4": { - name: "typography-h4", - description: "", - type: "registry:example", - registryDependencies: undefined, - files: [{ - path: "registry/new-york/examples/typography-h4.tsx", - type: "registry:example", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/new-york/examples/typography-h4.tsx")), - source: "", - meta: undefined, - }, - "typography-inline-code": { - name: "typography-inline-code", - description: "", - type: "registry:example", - registryDependencies: undefined, - files: [{ - path: "registry/new-york/examples/typography-inline-code.tsx", - type: "registry:example", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/new-york/examples/typography-inline-code.tsx")), - source: "", - meta: undefined, - }, - "typography-large": { - name: "typography-large", - description: "", - type: "registry:example", - registryDependencies: undefined, - files: [{ - path: "registry/new-york/examples/typography-large.tsx", - type: "registry:example", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/new-york/examples/typography-large.tsx")), - source: "", - meta: undefined, - }, - "typography-lead": { - name: "typography-lead", - description: "", - type: "registry:example", - registryDependencies: undefined, - files: [{ - path: "registry/new-york/examples/typography-lead.tsx", - type: "registry:example", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/new-york/examples/typography-lead.tsx")), - source: "", - meta: undefined, - }, - "typography-list": { - name: "typography-list", - description: "", - type: "registry:example", - registryDependencies: undefined, - files: [{ - path: "registry/new-york/examples/typography-list.tsx", - type: "registry:example", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/new-york/examples/typography-list.tsx")), - source: "", - meta: undefined, - }, - "typography-muted": { - name: "typography-muted", - description: "", - type: "registry:example", - registryDependencies: undefined, - files: [{ - path: "registry/new-york/examples/typography-muted.tsx", - type: "registry:example", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/new-york/examples/typography-muted.tsx")), - source: "", - meta: undefined, - }, - "typography-p": { - name: "typography-p", - description: "", - type: "registry:example", - registryDependencies: undefined, - files: [{ - path: "registry/new-york/examples/typography-p.tsx", - type: "registry:example", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/new-york/examples/typography-p.tsx")), - source: "", - meta: undefined, - }, - "typography-small": { - name: "typography-small", - description: "", - type: "registry:example", - registryDependencies: undefined, - files: [{ - path: "registry/new-york/examples/typography-small.tsx", - type: "registry:example", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/new-york/examples/typography-small.tsx")), - source: "", - meta: undefined, - }, - "typography-table": { - name: "typography-table", - description: "", - type: "registry:example", - registryDependencies: undefined, - files: [{ - path: "registry/new-york/examples/typography-table.tsx", - type: "registry:example", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/new-york/examples/typography-table.tsx")), - source: "", - meta: undefined, - }, - "mode-toggle": { - name: "mode-toggle", - description: "", - type: "registry:example", - registryDependencies: undefined, - files: [{ - path: "registry/new-york/examples/mode-toggle.tsx", - type: "registry:example", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/new-york/examples/mode-toggle.tsx")), - source: "", - meta: undefined, - }, - "chart-bar-demo": { - name: "chart-bar-demo", - description: "", - type: "registry:example", - registryDependencies: undefined, - files: [{ - path: "registry/new-york/examples/chart-bar-demo.tsx", - type: "registry:example", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/new-york/examples/chart-bar-demo.tsx")), - source: "", - meta: undefined, - }, - "chart-bar-demo-grid": { - name: "chart-bar-demo-grid", - description: "", - type: "registry:example", - registryDependencies: undefined, - files: [{ - path: "registry/new-york/examples/chart-bar-demo-grid.tsx", - type: "registry:example", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/new-york/examples/chart-bar-demo-grid.tsx")), - source: "", - meta: undefined, - }, - "chart-bar-demo-axis": { - name: "chart-bar-demo-axis", - description: "", - type: "registry:example", - registryDependencies: undefined, - files: [{ - path: "registry/new-york/examples/chart-bar-demo-axis.tsx", - type: "registry:example", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/new-york/examples/chart-bar-demo-axis.tsx")), - source: "", - meta: undefined, - }, - "chart-bar-demo-tooltip": { - name: "chart-bar-demo-tooltip", - description: "", - type: "registry:example", - registryDependencies: undefined, - files: [{ - path: "registry/new-york/examples/chart-bar-demo-tooltip.tsx", - type: "registry:example", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/new-york/examples/chart-bar-demo-tooltip.tsx")), - source: "", - meta: undefined, - }, - "chart-bar-demo-legend": { - name: "chart-bar-demo-legend", - description: "", - type: "registry:example", - registryDependencies: undefined, - files: [{ - path: "registry/new-york/examples/chart-bar-demo-legend.tsx", - type: "registry:example", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/new-york/examples/chart-bar-demo-legend.tsx")), - source: "", - meta: undefined, - }, - "chart-tooltip-demo": { - name: "chart-tooltip-demo", - description: "", - type: "registry:example", - registryDependencies: undefined, - files: [{ - path: "registry/new-york/examples/chart-tooltip-demo.tsx", - type: "registry:example", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/new-york/examples/chart-tooltip-demo.tsx")), - source: "", - meta: undefined, - }, - }, "default": { - "index": { - name: "index", - description: "", - type: "registry:style", - registryDependencies: ["utils"], - files: [], - categories: undefined, - component: React.lazy(() => import("@/registry/default/style/index")), - source: "", - meta: undefined, - }, - "style": { - name: "style", - description: "", - type: "registry:style", - registryDependencies: ["utils"], - files: [], - categories: undefined, - component: React.lazy(() => import("@/registry/default/style/style")), - source: "", - meta: undefined, - }, - "accordion": { - name: "accordion", - description: "", - type: "registry:ui", - registryDependencies: undefined, - files: [{ - path: "registry/default/ui/accordion.tsx", - type: "registry:ui", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/default/ui/accordion.tsx")), - source: "", - meta: undefined, - }, - "alert": { - name: "alert", - description: "", - type: "registry:ui", - registryDependencies: undefined, - files: [{ - path: "registry/default/ui/alert.tsx", - type: "registry:ui", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/default/ui/alert.tsx")), - source: "", - meta: undefined, - }, - "alert-dialog": { - name: "alert-dialog", - description: "", - type: "registry:ui", - registryDependencies: ["button"], - files: [{ - path: "registry/default/ui/alert-dialog.tsx", - type: "registry:ui", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/default/ui/alert-dialog.tsx")), - source: "", - meta: undefined, - }, - "aspect-ratio": { - name: "aspect-ratio", - description: "", - type: "registry:ui", - registryDependencies: undefined, - files: [{ - path: "registry/default/ui/aspect-ratio.tsx", - type: "registry:ui", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/default/ui/aspect-ratio.tsx")), - source: "", - meta: undefined, - }, - "avatar": { - name: "avatar", - description: "", - type: "registry:ui", - registryDependencies: undefined, - files: [{ - path: "registry/default/ui/avatar.tsx", - type: "registry:ui", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/default/ui/avatar.tsx")), - source: "", - meta: undefined, - }, - "badge": { - name: "badge", - description: "", - type: "registry:ui", - registryDependencies: undefined, - files: [{ - path: "registry/default/ui/badge.tsx", - type: "registry:ui", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/default/ui/badge.tsx")), - source: "", - meta: undefined, - }, - "breadcrumb": { - name: "breadcrumb", - description: "", - type: "registry:ui", - registryDependencies: undefined, - files: [{ - path: "registry/default/ui/breadcrumb.tsx", - type: "registry:ui", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/default/ui/breadcrumb.tsx")), - source: "", - meta: undefined, - }, - "button": { - name: "button", - description: "", - type: "registry:ui", - registryDependencies: undefined, - files: [{ - path: "registry/default/ui/button.tsx", - type: "registry:ui", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/default/ui/button.tsx")), - source: "", - meta: undefined, - }, - "button-group": { - name: "button-group", - description: "", - type: "registry:ui", - registryDependencies: ["button","separator"], - files: [{ - path: "registry/default/ui/button-group.tsx", - type: "registry:ui", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/default/ui/button-group.tsx")), - source: "", - meta: undefined, - }, - "calendar": { - name: "calendar", - description: "", - type: "registry:ui", - registryDependencies: ["button"], - files: [{ - path: "registry/default/ui/calendar.tsx", - type: "registry:ui", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/default/ui/calendar.tsx")), - source: "", - meta: undefined, - }, - "card": { - name: "card", - description: "", - type: "registry:ui", - registryDependencies: undefined, - files: [{ - path: "registry/default/ui/card.tsx", - type: "registry:ui", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/default/ui/card.tsx")), - source: "", - meta: undefined, - }, - "carousel": { - name: "carousel", - description: "", - type: "registry:ui", - registryDependencies: ["button"], - files: [{ - path: "registry/default/ui/carousel.tsx", - type: "registry:ui", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/default/ui/carousel.tsx")), - source: "", - meta: undefined, - }, - "chart": { - name: "chart", - description: "", - type: "registry:ui", - registryDependencies: ["card"], - files: [{ - path: "registry/default/ui/chart.tsx", - type: "registry:ui", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/default/ui/chart.tsx")), - source: "", - meta: undefined, - }, - "checkbox": { - name: "checkbox", - description: "", - type: "registry:ui", - registryDependencies: undefined, - files: [{ - path: "registry/default/ui/checkbox.tsx", - type: "registry:ui", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/default/ui/checkbox.tsx")), - source: "", - meta: undefined, - }, - "collapsible": { - name: "collapsible", - description: "", - type: "registry:ui", - registryDependencies: undefined, - files: [{ - path: "registry/default/ui/collapsible.tsx", - type: "registry:ui", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/default/ui/collapsible.tsx")), - source: "", - meta: undefined, - }, - "command": { - name: "command", - description: "", - type: "registry:ui", - registryDependencies: ["dialog"], - files: [{ - path: "registry/default/ui/command.tsx", - type: "registry:ui", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/default/ui/command.tsx")), - source: "", - meta: undefined, - }, - "context-menu": { - name: "context-menu", - description: "", - type: "registry:ui", - registryDependencies: undefined, - files: [{ - path: "registry/default/ui/context-menu.tsx", - type: "registry:ui", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/default/ui/context-menu.tsx")), - source: "", - meta: undefined, - }, - "dialog": { - name: "dialog", - description: "", - type: "registry:ui", - registryDependencies: undefined, - files: [{ - path: "registry/default/ui/dialog.tsx", - type: "registry:ui", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/default/ui/dialog.tsx")), - source: "", - meta: undefined, - }, - "drawer": { - name: "drawer", - description: "", - type: "registry:ui", - registryDependencies: undefined, - files: [{ - path: "registry/default/ui/drawer.tsx", - type: "registry:ui", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/default/ui/drawer.tsx")), - source: "", - meta: undefined, - }, - "dropdown-menu": { - name: "dropdown-menu", - description: "", - type: "registry:ui", - registryDependencies: undefined, - files: [{ - path: "registry/default/ui/dropdown-menu.tsx", - type: "registry:ui", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/default/ui/dropdown-menu.tsx")), - source: "", - meta: undefined, - }, - "empty": { - name: "empty", - description: "", - type: "registry:ui", - registryDependencies: undefined, - files: [{ - path: "registry/default/ui/empty.tsx", - type: "registry:ui", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/default/ui/empty.tsx")), - source: "", - meta: undefined, - }, - "field": { - name: "field", - description: "", - type: "registry:ui", - registryDependencies: ["label","separator"], - files: [{ - path: "registry/default/ui/field.tsx", - type: "registry:ui", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/default/ui/field.tsx")), - source: "", - meta: undefined, - }, - "form": { - name: "form", - description: "", - type: "registry:ui", - registryDependencies: ["button","label"], - files: [{ - path: "registry/default/ui/form.tsx", - type: "registry:ui", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/default/ui/form.tsx")), - source: "", - meta: undefined, - }, - "hover-card": { - name: "hover-card", - description: "", - type: "registry:ui", - registryDependencies: undefined, - files: [{ - path: "registry/default/ui/hover-card.tsx", - type: "registry:ui", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/default/ui/hover-card.tsx")), - source: "", - meta: undefined, - }, - "input": { - name: "input", - description: "", - type: "registry:ui", - registryDependencies: undefined, - files: [{ - path: "registry/default/ui/input.tsx", - type: "registry:ui", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/default/ui/input.tsx")), - source: "", - meta: undefined, - }, - "input-group": { - name: "input-group", - description: "", - type: "registry:ui", - registryDependencies: ["button","input","textarea"], - files: [{ - path: "registry/default/ui/input-group.tsx", - type: "registry:ui", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/default/ui/input-group.tsx")), - source: "", - meta: undefined, - }, - "input-otp": { - name: "input-otp", - description: "", - type: "registry:ui", - registryDependencies: undefined, - files: [{ - path: "registry/default/ui/input-otp.tsx", - type: "registry:ui", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/default/ui/input-otp.tsx")), - source: "", - meta: undefined, - }, - "item": { - name: "item", - description: "", - type: "registry:ui", - registryDependencies: ["separator"], - files: [{ - path: "registry/default/ui/item.tsx", - type: "registry:ui", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/default/ui/item.tsx")), - source: "", - meta: undefined, - }, - "kbd": { - name: "kbd", - description: "", - type: "registry:ui", - registryDependencies: undefined, - files: [{ - path: "registry/default/ui/kbd.tsx", - type: "registry:ui", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/default/ui/kbd.tsx")), - source: "", - meta: undefined, - }, - "label": { - name: "label", - description: "", - type: "registry:ui", - registryDependencies: undefined, - files: [{ - path: "registry/default/ui/label.tsx", - type: "registry:ui", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/default/ui/label.tsx")), - source: "", - meta: undefined, - }, - "menubar": { - name: "menubar", - description: "", - type: "registry:ui", - registryDependencies: undefined, - files: [{ - path: "registry/default/ui/menubar.tsx", - type: "registry:ui", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/default/ui/menubar.tsx")), - source: "", - meta: undefined, - }, - "navigation-menu": { - name: "navigation-menu", - description: "", - type: "registry:ui", - registryDependencies: undefined, - files: [{ - path: "registry/default/ui/navigation-menu.tsx", - type: "registry:ui", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/default/ui/navigation-menu.tsx")), - source: "", - meta: undefined, - }, - "pagination": { - name: "pagination", - description: "", - type: "registry:ui", - registryDependencies: ["button"], - files: [{ - path: "registry/default/ui/pagination.tsx", - type: "registry:ui", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/default/ui/pagination.tsx")), - source: "", - meta: undefined, - }, - "popover": { - name: "popover", - description: "", - type: "registry:ui", - registryDependencies: undefined, - files: [{ - path: "registry/default/ui/popover.tsx", - type: "registry:ui", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/default/ui/popover.tsx")), - source: "", - meta: undefined, - }, - "progress": { - name: "progress", - description: "", - type: "registry:ui", - registryDependencies: undefined, - files: [{ - path: "registry/default/ui/progress.tsx", - type: "registry:ui", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/default/ui/progress.tsx")), - source: "", - meta: undefined, - }, - "radio-group": { - name: "radio-group", - description: "", - type: "registry:ui", - registryDependencies: undefined, - files: [{ - path: "registry/default/ui/radio-group.tsx", - type: "registry:ui", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/default/ui/radio-group.tsx")), - source: "", - meta: undefined, - }, - "resizable": { - name: "resizable", - description: "", - type: "registry:ui", - registryDependencies: undefined, - files: [{ - path: "registry/default/ui/resizable.tsx", - type: "registry:ui", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/default/ui/resizable.tsx")), - source: "", - meta: undefined, - }, - "scroll-area": { - name: "scroll-area", - description: "", - type: "registry:ui", - registryDependencies: undefined, - files: [{ - path: "registry/default/ui/scroll-area.tsx", - type: "registry:ui", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/default/ui/scroll-area.tsx")), - source: "", - meta: undefined, - }, - "select": { - name: "select", - description: "", - type: "registry:ui", - registryDependencies: undefined, - files: [{ - path: "registry/default/ui/select.tsx", - type: "registry:ui", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/default/ui/select.tsx")), - source: "", - meta: undefined, - }, - "separator": { - name: "separator", - description: "", - type: "registry:ui", - registryDependencies: undefined, - files: [{ - path: "registry/default/ui/separator.tsx", - type: "registry:ui", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/default/ui/separator.tsx")), - source: "", - meta: undefined, - }, - "sheet": { - name: "sheet", - description: "", - type: "registry:ui", - registryDependencies: undefined, - files: [{ - path: "registry/default/ui/sheet.tsx", - type: "registry:ui", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/default/ui/sheet.tsx")), - source: "", - meta: undefined, - }, - "sidebar": { - name: "sidebar", - description: "", - type: "registry:ui", - registryDependencies: ["button","separator","sheet","tooltip","input","use-mobile","skeleton"], - files: [{ - path: "registry/default/ui/sidebar.tsx", - type: "registry:ui", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/default/ui/sidebar.tsx")), - source: "", - meta: undefined, - }, - "skeleton": { - name: "skeleton", - description: "", - type: "registry:ui", - registryDependencies: undefined, - files: [{ - path: "registry/default/ui/skeleton.tsx", - type: "registry:ui", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/default/ui/skeleton.tsx")), - source: "", - meta: undefined, - }, - "slider": { - name: "slider", - description: "", - type: "registry:ui", - registryDependencies: undefined, - files: [{ - path: "registry/default/ui/slider.tsx", - type: "registry:ui", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/default/ui/slider.tsx")), - source: "", - meta: undefined, - }, - "sonner": { - name: "sonner", - description: "", - type: "registry:ui", - registryDependencies: undefined, - files: [{ - path: "registry/default/ui/sonner.tsx", - type: "registry:ui", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/default/ui/sonner.tsx")), - source: "", - meta: undefined, - }, - "spinner": { - name: "spinner", - description: "", - type: "registry:ui", - registryDependencies: undefined, - files: [{ - path: "registry/default/ui/spinner.tsx", - type: "registry:ui", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/default/ui/spinner.tsx")), - source: "", - meta: undefined, - }, - "switch": { - name: "switch", - description: "", - type: "registry:ui", - registryDependencies: undefined, - files: [{ - path: "registry/default/ui/switch.tsx", - type: "registry:ui", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/default/ui/switch.tsx")), - source: "", - meta: undefined, - }, - "table": { - name: "table", - description: "", - type: "registry:ui", - registryDependencies: undefined, - files: [{ - path: "registry/default/ui/table.tsx", - type: "registry:ui", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/default/ui/table.tsx")), - source: "", - meta: undefined, - }, - "tabs": { - name: "tabs", - description: "", - type: "registry:ui", - registryDependencies: undefined, - files: [{ - path: "registry/default/ui/tabs.tsx", - type: "registry:ui", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/default/ui/tabs.tsx")), - source: "", - meta: undefined, - }, - "textarea": { - name: "textarea", - description: "", - type: "registry:ui", - registryDependencies: undefined, - files: [{ - path: "registry/default/ui/textarea.tsx", - type: "registry:ui", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/default/ui/textarea.tsx")), - source: "", - meta: undefined, - }, - "toast": { - name: "toast", - description: "", - type: "registry:ui", - registryDependencies: undefined, - files: [{ - path: "registry/default/ui/toast.tsx", - type: "registry:ui", - target: "" - },{ - path: "registry/default/hooks/use-toast.ts", - type: "registry:hook", - target: "" - },{ - path: "registry/default/ui/toaster.tsx", - type: "registry:ui", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/default/ui/toast.tsx")), - source: "", - meta: undefined, - }, - "toggle": { - name: "toggle", - description: "", - type: "registry:ui", - registryDependencies: undefined, - files: [{ - path: "registry/default/ui/toggle.tsx", - type: "registry:ui", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/default/ui/toggle.tsx")), - source: "", - meta: undefined, - }, - "toggle-group": { - name: "toggle-group", - description: "", - type: "registry:ui", - registryDependencies: ["toggle"], - files: [{ - path: "registry/default/ui/toggle-group.tsx", - type: "registry:ui", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/default/ui/toggle-group.tsx")), - source: "", - meta: undefined, - }, - "tooltip": { - name: "tooltip", - description: "", - type: "registry:ui", - registryDependencies: undefined, - files: [{ - path: "registry/default/ui/tooltip.tsx", - type: "registry:ui", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/default/ui/tooltip.tsx")), - source: "", - meta: undefined, - }, - "dashboard-01": { - name: "dashboard-01", - description: "A dashboard with sidebar, charts and data table.", - type: "registry:block", - registryDependencies: ["sidebar","breadcrumb","separator","label","chart","card","select","tabs","table","toggle-group","badge","button","checkbox","dropdown-menu","drawer","input","avatar","sheet","sonner"], - files: [{ - path: "registry/default/blocks/dashboard-01/page.tsx", - type: "registry:page", - target: "app/dashboard/page.tsx" - },{ - path: "registry/default/blocks/dashboard-01/data.json", - type: "registry:file", - target: "app/dashboard/data.json" - },{ - path: "registry/default/blocks/dashboard-01/components/app-sidebar.tsx", - type: "registry:component", - target: "" - },{ - path: "registry/default/blocks/dashboard-01/components/chart-area-interactive.tsx", - type: "registry:component", - target: "" - },{ - path: "registry/default/blocks/dashboard-01/components/data-table.tsx", - type: "registry:component", - target: "" - },{ - path: "registry/default/blocks/dashboard-01/components/nav-documents.tsx", - type: "registry:component", - target: "" - },{ - path: "registry/default/blocks/dashboard-01/components/nav-main.tsx", - type: "registry:component", - target: "" - },{ - path: "registry/default/blocks/dashboard-01/components/nav-secondary.tsx", - type: "registry:component", - target: "" - },{ - path: "registry/default/blocks/dashboard-01/components/nav-user.tsx", - type: "registry:component", - target: "" - },{ - path: "registry/default/blocks/dashboard-01/components/section-cards.tsx", - type: "registry:component", - target: "" - },{ - path: "registry/default/blocks/dashboard-01/components/site-header.tsx", - type: "registry:component", - target: "" - }], - categories: ["dashboard"], - component: React.lazy(() => import("@/registry/default/blocks/dashboard-01/page.tsx")), - source: "__registry__/default/blocks/dashboard-01/page.tsx", - meta: undefined, - }, - "sidebar-01": { - name: "sidebar-01", - description: "A simple sidebar with navigation grouped by section.", - type: "registry:block", - registryDependencies: ["sidebar","breadcrumb","separator","label","dropdown-menu"], - files: [{ - path: "registry/default/blocks/sidebar-01/page.tsx", - type: "registry:page", - target: "app/dashboard/page.tsx" - },{ - path: "registry/default/blocks/sidebar-01/components/app-sidebar.tsx", - type: "registry:component", - target: "" - },{ - path: "registry/default/blocks/sidebar-01/components/search-form.tsx", - type: "registry:component", - target: "" - },{ - path: "registry/default/blocks/sidebar-01/components/version-switcher.tsx", - type: "registry:component", - target: "" - }], - categories: ["sidebar","dashboard"], - component: React.lazy(() => import("@/registry/default/blocks/sidebar-01/page.tsx")), - source: "__registry__/default/blocks/sidebar-01/page.tsx", - meta: undefined, - }, - "sidebar-02": { - name: "sidebar-02", - description: "A sidebar with collapsible sections.", - type: "registry:block", - registryDependencies: ["sidebar","breadcrumb","separator","label","dropdown-menu"], - files: [{ - path: "registry/default/blocks/sidebar-02/page.tsx", - type: "registry:page", - target: "app/dashboard/page.tsx" - },{ - path: "registry/default/blocks/sidebar-02/components/app-sidebar.tsx", - type: "registry:component", - target: "" - },{ - path: "registry/default/blocks/sidebar-02/components/search-form.tsx", - type: "registry:component", - target: "" - },{ - path: "registry/default/blocks/sidebar-02/components/version-switcher.tsx", - type: "registry:component", - target: "" - }], - categories: ["sidebar","dashboard"], - component: React.lazy(() => import("@/registry/default/blocks/sidebar-02/page.tsx")), - source: "__registry__/default/blocks/sidebar-02/page.tsx", - meta: undefined, - }, - "sidebar-03": { - name: "sidebar-03", - description: "A sidebar with submenus.", - type: "registry:block", - registryDependencies: ["sidebar","breadcrumb"], - files: [{ - path: "registry/default/blocks/sidebar-03/page.tsx", - type: "registry:page", - target: "app/dashboard/page.tsx" - },{ - path: "registry/default/blocks/sidebar-03/components/app-sidebar.tsx", - type: "registry:component", - target: "" - }], - categories: ["sidebar","dashboard"], - component: React.lazy(() => import("@/registry/default/blocks/sidebar-03/page.tsx")), - source: "__registry__/default/blocks/sidebar-03/page.tsx", - meta: undefined, - }, - "sidebar-04": { - name: "sidebar-04", - description: "A floating sidebar with submenus.", - type: "registry:block", - registryDependencies: ["sidebar","breadcrumb","separator"], - files: [{ - path: "registry/default/blocks/sidebar-04/page.tsx", - type: "registry:page", - target: "app/dashboard/page.tsx" - },{ - path: "registry/default/blocks/sidebar-04/components/app-sidebar.tsx", - type: "registry:component", - target: "" - }], - categories: ["sidebar","dashboard"], - component: React.lazy(() => import("@/registry/default/blocks/sidebar-04/page.tsx")), - source: "__registry__/default/blocks/sidebar-04/page.tsx", - meta: undefined, - }, - "sidebar-05": { - name: "sidebar-05", - description: "A sidebar with collapsible submenus.", - type: "registry:block", - registryDependencies: ["sidebar","breadcrumb","separator","label","collapsible"], - files: [{ - path: "registry/default/blocks/sidebar-05/page.tsx", - type: "registry:page", - target: "app/dashboard/page.tsx" - },{ - path: "registry/default/blocks/sidebar-05/components/app-sidebar.tsx", - type: "registry:component", - target: "" - },{ - path: "registry/default/blocks/sidebar-05/components/search-form.tsx", - type: "registry:component", - target: "" - }], - categories: ["sidebar","dashboard"], - component: React.lazy(() => import("@/registry/default/blocks/sidebar-05/page.tsx")), - source: "__registry__/default/blocks/sidebar-05/page.tsx", - meta: undefined, - }, - "sidebar-06": { - name: "sidebar-06", - description: "A sidebar with submenus as dropdowns.", - type: "registry:block", - registryDependencies: ["sidebar","breadcrumb","separator","card","dropdown-menu"], - files: [{ - path: "registry/default/blocks/sidebar-06/page.tsx", - type: "registry:page", - target: "app/dashboard/page.tsx" - },{ - path: "registry/default/blocks/sidebar-06/components/app-sidebar.tsx", - type: "registry:component", - target: "" - },{ - path: "registry/default/blocks/sidebar-06/components/nav-main.tsx", - type: "registry:component", - target: "" - },{ - path: "registry/default/blocks/sidebar-06/components/sidebar-opt-in-form.tsx", - type: "registry:component", - target: "" - }], - categories: ["sidebar","dashboard"], - component: React.lazy(() => import("@/registry/default/blocks/sidebar-06/page.tsx")), - source: "__registry__/default/blocks/sidebar-06/page.tsx", - meta: undefined, - }, - "sidebar-07": { - name: "sidebar-07", - description: "A sidebar that collapses to icons.", - type: "registry:block", - registryDependencies: ["sidebar","breadcrumb","separator","collapsible","dropdown-menu","avatar"], - files: [{ - path: "registry/default/blocks/sidebar-07/page.tsx", - type: "registry:page", - target: "app/dashboard/page.tsx" - },{ - path: "registry/default/blocks/sidebar-07/components/app-sidebar.tsx", - type: "registry:component", - target: "" - },{ - path: "registry/default/blocks/sidebar-07/components/nav-main.tsx", - type: "registry:component", - target: "" - },{ - path: "registry/default/blocks/sidebar-07/components/nav-projects.tsx", - type: "registry:component", - target: "" - },{ - path: "registry/default/blocks/sidebar-07/components/nav-user.tsx", - type: "registry:component", - target: "" - },{ - path: "registry/default/blocks/sidebar-07/components/team-switcher.tsx", - type: "registry:component", - target: "" - }], - categories: ["sidebar","dashboard"], - component: React.lazy(() => import("@/registry/default/blocks/sidebar-07/page.tsx")), - source: "__registry__/default/blocks/sidebar-07/page.tsx", - meta: undefined, - }, - "sidebar-08": { - name: "sidebar-08", - description: "An inset sidebar with secondary navigation.", - type: "registry:block", - registryDependencies: ["sidebar","breadcrumb","separator","collapsible","dropdown-menu","avatar"], - files: [{ - path: "registry/default/blocks/sidebar-08/page.tsx", - type: "registry:page", - target: "app/dashboard/page.tsx" - },{ - path: "registry/default/blocks/sidebar-08/components/app-sidebar.tsx", - type: "registry:component", - target: "" - },{ - path: "registry/default/blocks/sidebar-08/components/nav-main.tsx", - type: "registry:component", - target: "" - },{ - path: "registry/default/blocks/sidebar-08/components/nav-projects.tsx", - type: "registry:component", - target: "" - },{ - path: "registry/default/blocks/sidebar-08/components/nav-secondary.tsx", - type: "registry:component", - target: "" - },{ - path: "registry/default/blocks/sidebar-08/components/nav-user.tsx", - type: "registry:component", - target: "" - }], - categories: ["sidebar","dashboard"], - component: React.lazy(() => import("@/registry/default/blocks/sidebar-08/page.tsx")), - source: "__registry__/default/blocks/sidebar-08/page.tsx", - meta: undefined, - }, - "sidebar-09": { - name: "sidebar-09", - description: "Collapsible nested sidebars.", - type: "registry:block", - registryDependencies: ["sidebar","breadcrumb","separator","collapsible","dropdown-menu","avatar","switch","label"], - files: [{ - path: "registry/default/blocks/sidebar-09/page.tsx", - type: "registry:page", - target: "app/dashboard/page.tsx" - },{ - path: "registry/default/blocks/sidebar-09/components/app-sidebar.tsx", - type: "registry:component", - target: "" - },{ - path: "registry/default/blocks/sidebar-09/components/nav-user.tsx", - type: "registry:component", - target: "" - }], - categories: ["sidebar","dashboard"], - component: React.lazy(() => import("@/registry/default/blocks/sidebar-09/page.tsx")), - source: "__registry__/default/blocks/sidebar-09/page.tsx", - meta: undefined, - }, - "sidebar-10": { - name: "sidebar-10", - description: "A sidebar in a popover.", - type: "registry:block", - registryDependencies: ["sidebar","breadcrumb","separator","popover","collapsible","dropdown-menu"], - files: [{ - path: "registry/default/blocks/sidebar-10/page.tsx", - type: "registry:page", - target: "app/dashboard/page.tsx" - },{ - path: "registry/default/blocks/sidebar-10/components/app-sidebar.tsx", - type: "registry:component", - target: "" - },{ - path: "registry/default/blocks/sidebar-10/components/nav-actions.tsx", - type: "registry:component", - target: "" - },{ - path: "registry/default/blocks/sidebar-10/components/nav-favorites.tsx", - type: "registry:component", - target: "" - },{ - path: "registry/default/blocks/sidebar-10/components/nav-main.tsx", - type: "registry:component", - target: "" - },{ - path: "registry/default/blocks/sidebar-10/components/nav-secondary.tsx", - type: "registry:component", - target: "" - },{ - path: "registry/default/blocks/sidebar-10/components/nav-workspaces.tsx", - type: "registry:component", - target: "" - },{ - path: "registry/default/blocks/sidebar-10/components/team-switcher.tsx", - type: "registry:component", - target: "" - }], - categories: ["sidebar","dashboard"], - component: React.lazy(() => import("@/registry/default/blocks/sidebar-10/page.tsx")), - source: "__registry__/default/blocks/sidebar-10/page.tsx", - meta: undefined, - }, - "sidebar-11": { - name: "sidebar-11", - description: "A sidebar with a collapsible file tree.", - type: "registry:block", - registryDependencies: ["sidebar","breadcrumb","separator","collapsible"], - files: [{ - path: "registry/default/blocks/sidebar-11/page.tsx", - type: "registry:page", - target: "app/dashboard/page.tsx" - },{ - path: "registry/default/blocks/sidebar-11/components/app-sidebar.tsx", - type: "registry:component", - target: "" - }], - categories: ["sidebar","dashboard"], - component: React.lazy(() => import("@/registry/default/blocks/sidebar-11/page.tsx")), - source: "__registry__/default/blocks/sidebar-11/page.tsx", - meta: undefined, - }, - "sidebar-12": { - name: "sidebar-12", - description: "A sidebar with a calendar.", - type: "registry:block", - registryDependencies: ["sidebar","breadcrumb","separator","collapsible","calendar","dropdown-menu","avatar"], - files: [{ - path: "registry/default/blocks/sidebar-12/page.tsx", - type: "registry:page", - target: "app/dashboard/page.tsx" - },{ - path: "registry/default/blocks/sidebar-12/components/app-sidebar.tsx", - type: "registry:component", - target: "" - },{ - path: "registry/default/blocks/sidebar-12/components/calendars.tsx", - type: "registry:component", - target: "" - },{ - path: "registry/default/blocks/sidebar-12/components/date-picker.tsx", - type: "registry:component", - target: "" - },{ - path: "registry/default/blocks/sidebar-12/components/nav-user.tsx", - type: "registry:component", - target: "" - }], - categories: ["sidebar","dashboard"], - component: React.lazy(() => import("@/registry/default/blocks/sidebar-12/page.tsx")), - source: "__registry__/default/blocks/sidebar-12/page.tsx", - meta: undefined, - }, - "sidebar-13": { - name: "sidebar-13", - description: "A sidebar in a dialog.", - type: "registry:block", - registryDependencies: ["sidebar","breadcrumb","button","dialog"], - files: [{ - path: "registry/default/blocks/sidebar-13/page.tsx", - type: "registry:page", - target: "app/dashboard/page.tsx" - },{ - path: "registry/default/blocks/sidebar-13/components/settings-dialog.tsx", - type: "registry:component", - target: "" - }], - categories: ["sidebar","dashboard"], - component: React.lazy(() => import("@/registry/default/blocks/sidebar-13/page.tsx")), - source: "__registry__/default/blocks/sidebar-13/page.tsx", - meta: undefined, - }, - "sidebar-14": { - name: "sidebar-14", - description: "A sidebar on the right.", - type: "registry:block", - registryDependencies: ["sidebar","breadcrumb"], - files: [{ - path: "registry/default/blocks/sidebar-14/page.tsx", - type: "registry:page", - target: "app/dashboard/page.tsx" - },{ - path: "registry/default/blocks/sidebar-14/components/app-sidebar.tsx", - type: "registry:component", - target: "" - }], - categories: ["sidebar","dashboard"], - component: React.lazy(() => import("@/registry/default/blocks/sidebar-14/page.tsx")), - source: "__registry__/default/blocks/sidebar-14/page.tsx", - meta: undefined, - }, - "sidebar-15": { - name: "sidebar-15", - description: "A left and right sidebar.", - type: "registry:block", - registryDependencies: ["sidebar","breadcrumb","separator","popover","collapsible","dropdown-menu","calendar","avatar"], - files: [{ - path: "registry/default/blocks/sidebar-15/page.tsx", - type: "registry:page", - target: "app/dashboard/page.tsx" - },{ - path: "registry/default/blocks/sidebar-15/components/calendars.tsx", - type: "registry:component", - target: "" - },{ - path: "registry/default/blocks/sidebar-15/components/date-picker.tsx", - type: "registry:component", - target: "" - },{ - path: "registry/default/blocks/sidebar-15/components/nav-favorites.tsx", - type: "registry:component", - target: "" - },{ - path: "registry/default/blocks/sidebar-15/components/nav-main.tsx", - type: "registry:component", - target: "" - },{ - path: "registry/default/blocks/sidebar-15/components/nav-secondary.tsx", - type: "registry:component", - target: "" - },{ - path: "registry/default/blocks/sidebar-15/components/nav-user.tsx", - type: "registry:component", - target: "" - },{ - path: "registry/default/blocks/sidebar-15/components/nav-workspaces.tsx", - type: "registry:component", - target: "" - },{ - path: "registry/default/blocks/sidebar-15/components/sidebar-left.tsx", - type: "registry:component", - target: "" - },{ - path: "registry/default/blocks/sidebar-15/components/sidebar-right.tsx", - type: "registry:component", - target: "" - },{ - path: "registry/default/blocks/sidebar-15/components/team-switcher.tsx", - type: "registry:component", - target: "" - }], - categories: ["sidebar","dashboard"], - component: React.lazy(() => import("@/registry/default/blocks/sidebar-15/page.tsx")), - source: "__registry__/default/blocks/sidebar-15/page.tsx", - meta: undefined, - }, - "sidebar-16": { - name: "sidebar-16", - description: "A sidebar with a sticky site header.", - type: "registry:block", - registryDependencies: ["sidebar","breadcrumb","separator","collapsible","dropdown-menu","avatar","button","label"], - files: [{ - path: "registry/default/blocks/sidebar-16/page.tsx", - type: "registry:page", - target: "app/dashboard/page.tsx" - },{ - path: "registry/default/blocks/sidebar-16/components/app-sidebar.tsx", - type: "registry:component", - target: "" - },{ - path: "registry/default/blocks/sidebar-16/components/nav-main.tsx", - type: "registry:component", - target: "" - },{ - path: "registry/default/blocks/sidebar-16/components/nav-projects.tsx", - type: "registry:component", - target: "" - },{ - path: "registry/default/blocks/sidebar-16/components/nav-secondary.tsx", - type: "registry:component", - target: "" - },{ - path: "registry/default/blocks/sidebar-16/components/nav-user.tsx", - type: "registry:component", - target: "" - },{ - path: "registry/default/blocks/sidebar-16/components/search-form.tsx", - type: "registry:component", - target: "" - },{ - path: "registry/default/blocks/sidebar-16/components/site-header.tsx", - type: "registry:component", - target: "" - }], - categories: ["sidebar","dashboard"], - component: React.lazy(() => import("@/registry/default/blocks/sidebar-16/page.tsx")), - source: "__registry__/default/blocks/sidebar-16/page.tsx", - meta: undefined, - }, - "login-01": { - name: "login-01", - description: "A simple login form.", - type: "registry:block", - registryDependencies: ["button","card","input","label"], - files: [{ - path: "registry/default/blocks/login-01/page.tsx", - type: "registry:page", - target: "app/login/page.tsx" - },{ - path: "registry/default/blocks/login-01/components/login-form.tsx", - type: "registry:component", - target: "" - }], - categories: ["authentication","login"], - component: React.lazy(() => import("@/registry/default/blocks/login-01/page.tsx")), - source: "__registry__/default/blocks/login-01/page.tsx", - meta: undefined, - }, - "login-02": { - name: "login-02", - description: "A two column login page with a cover image.", - type: "registry:block", - registryDependencies: ["button","card","input","label"], - files: [{ - path: "registry/default/blocks/login-02/page.tsx", - type: "registry:page", - target: "app/login/page.tsx" - },{ - path: "registry/default/blocks/login-02/components/login-form.tsx", - type: "registry:component", - target: "" - }], - categories: ["authentication","login"], - component: React.lazy(() => import("@/registry/default/blocks/login-02/page.tsx")), - source: "__registry__/default/blocks/login-02/page.tsx", - meta: undefined, - }, - "login-03": { - name: "login-03", - description: "A login page with a muted background color.", - type: "registry:block", - registryDependencies: ["button","card","input","label"], - files: [{ - path: "registry/default/blocks/login-03/page.tsx", - type: "registry:page", - target: "app/login/page.tsx" - },{ - path: "registry/default/blocks/login-03/components/login-form.tsx", - type: "registry:component", - target: "" - }], - categories: ["authentication","login"], - component: React.lazy(() => import("@/registry/default/blocks/login-03/page.tsx")), - source: "__registry__/default/blocks/login-03/page.tsx", - meta: undefined, - }, - "login-04": { - name: "login-04", - description: "A login page with form and image.", - type: "registry:block", - registryDependencies: ["button","card","input","label"], - files: [{ - path: "registry/default/blocks/login-04/page.tsx", - type: "registry:page", - target: "app/login/page.tsx" - },{ - path: "registry/default/blocks/login-04/components/login-form.tsx", - type: "registry:component", - target: "" - }], - categories: ["authentication","login"], - component: React.lazy(() => import("@/registry/default/blocks/login-04/page.tsx")), - source: "__registry__/default/blocks/login-04/page.tsx", - meta: undefined, - }, - "login-05": { - name: "login-05", - description: "A simple email-only login page.", - type: "registry:block", - registryDependencies: ["button","card","input","label"], - files: [{ - path: "registry/default/blocks/login-05/page.tsx", - type: "registry:page", - target: "app/login/page.tsx" - },{ - path: "registry/default/blocks/login-05/components/login-form.tsx", - type: "registry:component", - target: "" - }], - categories: ["authentication","login"], - component: React.lazy(() => import("@/registry/default/blocks/login-05/page.tsx")), - source: "__registry__/default/blocks/login-05/page.tsx", - meta: undefined, - }, - "calendar-01": { - name: "calendar-01", - description: "A simple calendar.", - type: "registry:block", - registryDependencies: ["calendar"], - files: [{ - path: "registry/default/blocks/calendar-01.tsx", - type: "registry:component", - target: "" - }], - categories: ["calendar","date"], - component: React.lazy(() => import("@/registry/default/blocks/calendar-01.tsx")), - source: "__registry__/default/blocks/calendar-01.tsx", - meta: {"iframeHeight":"600px","container":"w-full bg-surface min-h-svh flex px-4 py-12 items-start md:py-20 justify-center min-w-0","mobile":"component"}, - }, - "calendar-02": { - name: "calendar-02", - description: "Multiple months with single selection.", - type: "registry:block", - registryDependencies: ["calendar"], - files: [{ - path: "registry/default/blocks/calendar-02.tsx", - type: "registry:component", - target: "" - }], - categories: ["calendar","date"], - component: React.lazy(() => import("@/registry/default/blocks/calendar-02.tsx")), - source: "__registry__/default/blocks/calendar-02.tsx", - meta: {"iframeHeight":"600px","container":"w-full bg-surface min-h-svh flex px-4 py-12 items-start md:py-20 justify-center min-w-0","mobile":"component"}, - }, - "calendar-03": { - name: "calendar-03", - description: "Multiple months with multiple selection.", - type: "registry:block", - registryDependencies: ["calendar"], - files: [{ - path: "registry/default/blocks/calendar-03.tsx", - type: "registry:component", - target: "" - }], - categories: ["calendar","date"], - component: React.lazy(() => import("@/registry/default/blocks/calendar-03.tsx")), - source: "__registry__/default/blocks/calendar-03.tsx", - meta: {"iframeHeight":"600px","container":"w-full bg-surface min-h-svh flex px-4 py-12 items-start md:py-20 justify-center min-w-0","mobile":"component"}, - }, - "calendar-04": { - name: "calendar-04", - description: "Single month with range selection", - type: "registry:block", - registryDependencies: ["calendar"], - files: [{ - path: "registry/default/blocks/calendar-04.tsx", - type: "registry:component", - target: "" - }], - categories: ["calendar","date"], - component: React.lazy(() => import("@/registry/default/blocks/calendar-04.tsx")), - source: "__registry__/default/blocks/calendar-04.tsx", - meta: {"iframeHeight":"600px","container":"w-full bg-surface min-h-svh flex px-4 py-12 items-start md:py-20 justify-center min-w-0 xl:pt-28","mobile":"component"}, - }, - "calendar-05": { - name: "calendar-05", - description: "Multiple months with range selection", - type: "registry:block", - registryDependencies: ["calendar"], - files: [{ - path: "registry/default/blocks/calendar-05.tsx", - type: "registry:component", - target: "" - }], - categories: ["calendar","date"], - component: React.lazy(() => import("@/registry/default/blocks/calendar-05.tsx")), - source: "__registry__/default/blocks/calendar-05.tsx", - meta: {"iframeHeight":"600px","container":"w-full bg-surface min-h-svh flex px-6 py-12 items-start md:pt-20 justify-center min-w-0 xl:py-24","mobile":"component"}, - }, - "calendar-06": { - name: "calendar-06", - description: "Range selection with minimum days", - type: "registry:block", - registryDependencies: ["calendar"], - files: [{ - path: "registry/default/blocks/calendar-06.tsx", - type: "registry:component", - target: "" - }], - categories: ["calendar","date"], - component: React.lazy(() => import("@/registry/default/blocks/calendar-06.tsx")), - source: "__registry__/default/blocks/calendar-06.tsx", - meta: {"iframeHeight":"600px","container":"w-full bg-surface min-h-svh flex px-6 py-12 items-start md:pt-20 justify-center min-w-0 xl:py-24","mobile":"component"}, - }, - "calendar-07": { - name: "calendar-07", - description: "Range selection with minimum and maximum days", - type: "registry:block", - registryDependencies: ["calendar"], - files: [{ - path: "registry/default/blocks/calendar-07.tsx", - type: "registry:component", - target: "" - }], - categories: ["calendar","date"], - component: React.lazy(() => import("@/registry/default/blocks/calendar-07.tsx")), - source: "__registry__/default/blocks/calendar-07.tsx", - meta: {"iframeHeight":"600px","container":"w-full bg-surface min-h-svh flex px-6 py-12 items-start md:pt-20 justify-center min-w-0 xl:py-24","mobile":"component"}, - }, - "calendar-08": { - name: "calendar-08", - description: "Calendar with disabled days", - type: "registry:block", - registryDependencies: ["calendar"], - files: [{ - path: "registry/default/blocks/calendar-08.tsx", - type: "registry:component", - target: "" - }], - categories: ["calendar","date"], - component: React.lazy(() => import("@/registry/default/blocks/calendar-08.tsx")), - source: "__registry__/default/blocks/calendar-08.tsx", - meta: {"iframeHeight":"600px","container":"w-full bg-surface min-h-svh flex px-6 py-12 items-start md:pt-20 justify-center min-w-0 xl:py-24","mobile":"component"}, - }, - "calendar-09": { - name: "calendar-09", - description: "Calendar with disabled weekends", - type: "registry:block", - registryDependencies: ["calendar"], - files: [{ - path: "registry/default/blocks/calendar-09.tsx", - type: "registry:component", - target: "" - }], - categories: ["calendar","date"], - component: React.lazy(() => import("@/registry/default/blocks/calendar-09.tsx")), - source: "__registry__/default/blocks/calendar-09.tsx", - meta: {"iframeHeight":"600px","container":"w-full bg-surface min-h-svh flex px-6 py-12 items-start md:pt-20 justify-center min-w-0 xl:py-24","mobile":"component"}, - }, - "calendar-10": { - name: "calendar-10", - description: "Today button", - type: "registry:block", - registryDependencies: ["calendar","card","button"], - files: [{ - path: "registry/default/blocks/calendar-10.tsx", - type: "registry:component", - target: "" - }], - categories: ["calendar","date"], - component: React.lazy(() => import("@/registry/default/blocks/calendar-10.tsx")), - source: "__registry__/default/blocks/calendar-10.tsx", - meta: {"iframeHeight":"600px","container":"w-full bg-surface min-h-svh flex px-6 py-12 items-start md:pt-20 justify-center min-w-0 xl:py-24","mobile":"component"}, - }, - "calendar-11": { - name: "calendar-11", - description: "Start and end of month", - type: "registry:block", - registryDependencies: ["calendar"], - files: [{ - path: "registry/default/blocks/calendar-11.tsx", - type: "registry:component", - target: "" - }], - categories: ["calendar","date"], - component: React.lazy(() => import("@/registry/default/blocks/calendar-11.tsx")), - source: "__registry__/default/blocks/calendar-11.tsx", - meta: {"iframeHeight":"600px","container":"w-full bg-surface min-h-svh flex px-6 py-12 items-start md:pt-20 justify-center min-w-0 xl:py-24","mobile":"component"}, - }, - "calendar-12": { - name: "calendar-12", - description: "Localized calendar", - type: "registry:block", - registryDependencies: ["calendar","card","select"], - files: [{ - path: "registry/default/blocks/calendar-12.tsx", - type: "registry:component", - target: "" - }], - categories: ["calendar","date"], - component: React.lazy(() => import("@/registry/default/blocks/calendar-12.tsx")), - source: "__registry__/default/blocks/calendar-12.tsx", - meta: {"iframeHeight":"600px","container":"w-full bg-surface min-h-svh flex px-6 py-12 items-start md:pt-20 justify-center min-w-0 xl:py-24","mobile":"component"}, - }, - "calendar-13": { - name: "calendar-13", - description: "With Month and Year Dropdown", - type: "registry:block", - registryDependencies: ["calendar","label","select"], - files: [{ - path: "registry/default/blocks/calendar-13.tsx", - type: "registry:component", - target: "" - }], - categories: ["calendar","date"], - component: React.lazy(() => import("@/registry/default/blocks/calendar-13.tsx")), - source: "__registry__/default/blocks/calendar-13.tsx", - meta: {"iframeHeight":"600px","container":"w-full bg-surface min-h-svh flex px-6 py-12 items-start md:pt-20 justify-center min-w-0 xl:py-24","mobile":"component"}, - }, - "calendar-14": { - name: "calendar-14", - description: "With Booked/Unavailable Days", - type: "registry:block", - registryDependencies: ["calendar"], - files: [{ - path: "registry/default/blocks/calendar-14.tsx", - type: "registry:component", - target: "" - }], - categories: ["calendar","date"], - component: React.lazy(() => import("@/registry/default/blocks/calendar-14.tsx")), - source: "__registry__/default/blocks/calendar-14.tsx", - meta: {"iframeHeight":"600px","container":"w-full bg-surface min-h-svh flex px-6 py-12 items-start md:pt-20 justify-center min-w-0 xl:py-24","mobile":"component"}, - }, - "calendar-15": { - name: "calendar-15", - description: "With Week Numbers", - type: "registry:block", - registryDependencies: ["calendar"], - files: [{ - path: "registry/default/blocks/calendar-15.tsx", - type: "registry:component", - target: "" - }], - categories: ["calendar","date"], - component: React.lazy(() => import("@/registry/default/blocks/calendar-15.tsx")), - source: "__registry__/default/blocks/calendar-15.tsx", - meta: {"iframeHeight":"600px","container":"w-full bg-surface min-h-svh flex px-6 py-12 items-start md:pt-20 justify-center min-w-0 xl:py-24","mobile":"component"}, - }, - "calendar-16": { - name: "calendar-16", - description: "With time picker", - type: "registry:block", - registryDependencies: ["calendar","card","input","label"], - files: [{ - path: "registry/default/blocks/calendar-16.tsx", - type: "registry:component", - target: "" - }], - categories: ["calendar","date"], - component: React.lazy(() => import("@/registry/default/blocks/calendar-16.tsx")), - source: "__registry__/default/blocks/calendar-16.tsx", - meta: {"iframeHeight":"600px","container":"w-full bg-surface min-h-svh flex px-6 py-12 items-start justify-center min-w-0","mobile":"component"}, - }, - "calendar-17": { - name: "calendar-17", - description: "With time picker inline", - type: "registry:block", - registryDependencies: ["calendar","card","input","label"], - files: [{ - path: "registry/default/blocks/calendar-17.tsx", - type: "registry:component", - target: "" - }], - categories: ["calendar","date"], - component: React.lazy(() => import("@/registry/default/blocks/calendar-17.tsx")), - source: "__registry__/default/blocks/calendar-17.tsx", - meta: {"iframeHeight":"600px","container":"w-full bg-surface min-h-svh flex px-6 py-12 items-start md:pt-20 justify-center min-w-0 xl:py-24","mobile":"component"}, - }, - "calendar-18": { - name: "calendar-18", - description: "Variable size", - type: "registry:block", - registryDependencies: ["calendar"], - files: [{ - path: "registry/default/blocks/calendar-18.tsx", - type: "registry:component", - target: "" - }], - categories: ["calendar","date"], - component: React.lazy(() => import("@/registry/default/blocks/calendar-18.tsx")), - source: "__registry__/default/blocks/calendar-18.tsx", - meta: {"iframeHeight":"600px","container":"w-full bg-surface min-h-svh flex px-6 py-12 items-start md:pt-20 justify-center min-w-0 xl:py-24","mobile":"component"}, - }, - "calendar-19": { - name: "calendar-19", - description: "With presets", - type: "registry:block", - registryDependencies: ["calendar","card","input","label"], - files: [{ - path: "registry/default/blocks/calendar-19.tsx", - type: "registry:component", - target: "" - }], - categories: ["calendar","date"], - component: React.lazy(() => import("@/registry/default/blocks/calendar-19.tsx")), - source: "__registry__/default/blocks/calendar-19.tsx", - meta: {"iframeHeight":"600px","container":"w-full bg-surface min-h-svh flex px-6 py-12 items-start justify-center min-w-0","mobile":"component"}, - }, - "calendar-20": { - name: "calendar-20", - description: "With time presets", - type: "registry:block", - registryDependencies: ["calendar","card","button"], - files: [{ - path: "registry/default/blocks/calendar-20.tsx", - type: "registry:component", - target: "" - }], - categories: ["calendar","date"], - component: React.lazy(() => import("@/registry/default/blocks/calendar-20.tsx")), - source: "__registry__/default/blocks/calendar-20.tsx", - meta: {"iframeHeight":"600px","container":"w-full bg-surface min-h-svh flex px-6 py-12 items-start justify-center min-w-0","mobile":"component"}, - }, - "calendar-21": { - name: "calendar-21", - description: "Custom days and formatters", - type: "registry:block", - registryDependencies: ["calendar"], - files: [{ - path: "registry/default/blocks/calendar-21.tsx", - type: "registry:component", - target: "" - }], - categories: ["calendar","date"], - component: React.lazy(() => import("@/registry/default/blocks/calendar-21.tsx")), - source: "__registry__/default/blocks/calendar-21.tsx", - meta: {"iframeHeight":"600px","container":"w-full bg-surface min-h-svh flex px-6 py-12 items-start justify-center min-w-0","mobile":"component"}, - }, - "calendar-22": { - name: "calendar-22", - description: "Date picker", - type: "registry:block", - registryDependencies: ["calendar","popover","button","label"], - files: [{ - path: "registry/default/blocks/calendar-22.tsx", - type: "registry:component", - target: "" - }], - categories: ["calendar","date"], - component: React.lazy(() => import("@/registry/default/blocks/calendar-22.tsx")), - source: "__registry__/default/blocks/calendar-22.tsx", - meta: {"iframeHeight":"600px","container":"w-full bg-surface min-h-svh flex px-6 py-12 items-start md:pt-20 justify-center min-w-0 xl:py-24","mobile":"component"}, - }, - "calendar-23": { - name: "calendar-23", - description: "Date range picker", - type: "registry:block", - registryDependencies: ["calendar","popover","button","label"], - files: [{ - path: "registry/default/blocks/calendar-23.tsx", - type: "registry:component", - target: "" - }], - categories: ["calendar","date"], - component: React.lazy(() => import("@/registry/default/blocks/calendar-23.tsx")), - source: "__registry__/default/blocks/calendar-23.tsx", - meta: {"iframeHeight":"600px","container":"w-full bg-surface min-h-svh flex px-6 py-12 items-start md:pt-20 justify-center min-w-0 xl:py-24","mobile":"component"}, - }, - "calendar-24": { - name: "calendar-24", - description: "Date and Time picker", - type: "registry:block", - registryDependencies: ["calendar","popover","button","label"], - files: [{ - path: "registry/default/blocks/calendar-24.tsx", - type: "registry:component", - target: "" - }], - categories: ["calendar","date"], - component: React.lazy(() => import("@/registry/default/blocks/calendar-24.tsx")), - source: "__registry__/default/blocks/calendar-24.tsx", - meta: {"iframeHeight":"600px","container":"w-full bg-surface min-h-svh flex px-6 py-12 items-start md:pt-20 justify-center min-w-0 xl:py-24","mobile":"component"}, - }, - "calendar-25": { - name: "calendar-25", - description: "Date and Time range picker", - type: "registry:block", - registryDependencies: ["calendar","popover","button","label"], - files: [{ - path: "registry/default/blocks/calendar-25.tsx", - type: "registry:component", - target: "" - }], - categories: ["calendar","date"], - component: React.lazy(() => import("@/registry/default/blocks/calendar-25.tsx")), - source: "__registry__/default/blocks/calendar-25.tsx", - meta: {"iframeHeight":"600px","container":"w-full bg-surface min-h-svh flex px-6 py-12 items-start md:pt-20 justify-center min-w-0 xl:py-24","mobile":"component"}, - }, - "calendar-26": { - name: "calendar-26", - description: "Date range picker with time", - type: "registry:block", - registryDependencies: ["calendar","popover","button","input","label"], - files: [{ - path: "registry/default/blocks/calendar-26.tsx", - type: "registry:component", - target: "" - }], - categories: ["calendar","date"], - component: React.lazy(() => import("@/registry/default/blocks/calendar-26.tsx")), - source: "__registry__/default/blocks/calendar-26.tsx", - meta: {"iframeHeight":"600px","container":"w-full bg-surface min-h-svh flex px-6 py-12 items-start md:pt-20 justify-center min-w-0 xl:py-24","mobile":"component"}, - }, - "calendar-27": { - name: "calendar-27", - description: "Chart filter", - type: "registry:block", - registryDependencies: ["calendar","chart","card","popover","button"], - files: [{ - path: "registry/default/blocks/calendar-27.tsx", - type: "registry:component", - target: "" - }], - categories: ["calendar","date"], - component: React.lazy(() => import("@/registry/default/blocks/calendar-27.tsx")), - source: "__registry__/default/blocks/calendar-27.tsx", - meta: {"iframeHeight":"600px","container":"w-full bg-surface min-h-svh flex px-6 py-12 items-start justify-center min-w-0","mobile":"component"}, - }, - "calendar-28": { - name: "calendar-28", - description: "Input with date picker", - type: "registry:block", - registryDependencies: ["calendar","input","label","popover","button"], - files: [{ - path: "registry/default/blocks/calendar-28.tsx", - type: "registry:component", - target: "" - }], - categories: ["calendar","date"], - component: React.lazy(() => import("@/registry/default/blocks/calendar-28.tsx")), - source: "__registry__/default/blocks/calendar-28.tsx", - meta: {"iframeHeight":"600px","container":"w-full bg-surface min-h-svh flex px-6 py-12 items-start md:pt-20 justify-center min-w-0 xl:py-24","mobile":"component"}, - }, - "calendar-29": { - name: "calendar-29", - description: "Natural language date picker", - type: "registry:block", - registryDependencies: ["calendar","input","label","popover","button"], - files: [{ - path: "registry/default/blocks/calendar-29.tsx", - type: "registry:component", - target: "" - }], - categories: ["calendar","date"], - component: React.lazy(() => import("@/registry/default/blocks/calendar-29.tsx")), - source: "__registry__/default/blocks/calendar-29.tsx", - meta: {"iframeHeight":"600px","container":"w-full bg-surface min-h-svh flex px-6 py-12 items-start md:pt-20 justify-center min-w-0 xl:py-24","mobile":"component"}, - }, - "calendar-30": { - name: "calendar-30", - description: "With little-date", - type: "registry:block", - registryDependencies: ["calendar","input","label","popover","button"], - files: [{ - path: "registry/default/blocks/calendar-30.tsx", - type: "registry:component", - target: "" - }], - categories: ["calendar","date"], - component: React.lazy(() => import("@/registry/default/blocks/calendar-30.tsx")), - source: "__registry__/default/blocks/calendar-30.tsx", - meta: {"iframeHeight":"600px","container":"w-full bg-surface min-h-svh flex px-6 py-12 items-start md:pt-20 justify-center min-w-0 xl:py-24","mobile":"component"}, - }, - "calendar-31": { - name: "calendar-31", - description: "With event slots", - type: "registry:block", - registryDependencies: ["calendar","card","button"], - files: [{ - path: "registry/default/blocks/calendar-31.tsx", - type: "registry:component", - target: "" - }], - categories: ["calendar","date"], - component: React.lazy(() => import("@/registry/default/blocks/calendar-31.tsx")), - source: "__registry__/default/blocks/calendar-31.tsx", - meta: {"iframeHeight":"700px","container":"w-full bg-surface min-h-svh flex px-6 py-12 items-start md:pt-20 justify-center min-w-0","mobile":"component"}, - }, - "calendar-32": { - name: "calendar-32", - description: "Date picker in a drawer", - type: "registry:block", - registryDependencies: ["calendar","button","drawer"], - files: [{ - path: "registry/default/blocks/calendar-32.tsx", - type: "registry:component", - target: "" - }], - categories: ["calendar","date"], - component: React.lazy(() => import("@/registry/default/blocks/calendar-32.tsx")), - source: "__registry__/default/blocks/calendar-32.tsx", - meta: {"iframeHeight":"600px","container":"w-full bg-surface min-h-svh flex px-6 py-12 items-start md:pt-20 justify-center min-w-0 xl:py-24","mobile":"component"}, - }, - "chart-area-axes": { - name: "chart-area-axes", - description: "", - type: "registry:block", - registryDependencies: ["card","chart"], - files: [{ - path: "registry/default/charts/chart-area-axes.tsx", - type: "registry:block", - target: "" - }], - categories: ["charts","charts-area"], - component: React.lazy(() => import("@/registry/default/charts/chart-area-axes.tsx")), - source: "__registry__/default/charts/chart-area-axes.tsx", - meta: undefined, - }, - "chart-area-default": { - name: "chart-area-default", - description: "", - type: "registry:block", - registryDependencies: ["card","chart"], - files: [{ - path: "registry/default/charts/chart-area-default.tsx", - type: "registry:block", - target: "" - }], - categories: ["charts","charts-area"], - component: React.lazy(() => import("@/registry/default/charts/chart-area-default.tsx")), - source: "__registry__/default/charts/chart-area-default.tsx", - meta: undefined, - }, - "chart-area-gradient": { - name: "chart-area-gradient", - description: "", - type: "registry:block", - registryDependencies: ["card","chart"], - files: [{ - path: "registry/default/charts/chart-area-gradient.tsx", - type: "registry:block", - target: "" - }], - categories: ["charts","charts-area"], - component: React.lazy(() => import("@/registry/default/charts/chart-area-gradient.tsx")), - source: "__registry__/default/charts/chart-area-gradient.tsx", - meta: undefined, - }, - "chart-area-icons": { - name: "chart-area-icons", - description: "", - type: "registry:block", - registryDependencies: ["card","chart"], - files: [{ - path: "registry/default/charts/chart-area-icons.tsx", - type: "registry:block", - target: "" - }], - categories: ["charts","charts-area"], - component: React.lazy(() => import("@/registry/default/charts/chart-area-icons.tsx")), - source: "__registry__/default/charts/chart-area-icons.tsx", - meta: undefined, - }, - "chart-area-interactive": { - name: "chart-area-interactive", - description: "", - type: "registry:block", - registryDependencies: ["card","chart","select"], - files: [{ - path: "registry/default/charts/chart-area-interactive.tsx", - type: "registry:component", - target: "" - }], - categories: ["charts","charts-area"], - component: React.lazy(() => import("@/registry/default/charts/chart-area-interactive.tsx")), - source: "__registry__/default/charts/chart-area-interactive.tsx", - meta: undefined, - }, - "chart-area-legend": { - name: "chart-area-legend", - description: "", - type: "registry:block", - registryDependencies: ["card","chart"], - files: [{ - path: "registry/default/charts/chart-area-legend.tsx", - type: "registry:block", - target: "" - }], - categories: ["charts","charts-area"], - component: React.lazy(() => import("@/registry/default/charts/chart-area-legend.tsx")), - source: "__registry__/default/charts/chart-area-legend.tsx", - meta: undefined, - }, - "chart-area-linear": { - name: "chart-area-linear", - description: "", - type: "registry:block", - registryDependencies: ["card","chart"], - files: [{ - path: "registry/default/charts/chart-area-linear.tsx", - type: "registry:block", - target: "" - }], - categories: ["charts","charts-area"], - component: React.lazy(() => import("@/registry/default/charts/chart-area-linear.tsx")), - source: "__registry__/default/charts/chart-area-linear.tsx", - meta: undefined, - }, - "chart-area-stacked-expand": { - name: "chart-area-stacked-expand", - description: "", - type: "registry:block", - registryDependencies: ["card","chart"], - files: [{ - path: "registry/default/charts/chart-area-stacked-expand.tsx", - type: "registry:block", - target: "" - }], - categories: ["charts","charts-area"], - component: React.lazy(() => import("@/registry/default/charts/chart-area-stacked-expand.tsx")), - source: "__registry__/default/charts/chart-area-stacked-expand.tsx", - meta: undefined, - }, - "chart-area-stacked": { - name: "chart-area-stacked", - description: "", - type: "registry:block", - registryDependencies: ["card","chart"], - files: [{ - path: "registry/default/charts/chart-area-stacked.tsx", - type: "registry:block", - target: "" - }], - categories: ["charts","charts-area"], - component: React.lazy(() => import("@/registry/default/charts/chart-area-stacked.tsx")), - source: "__registry__/default/charts/chart-area-stacked.tsx", - meta: undefined, - }, - "chart-area-step": { - name: "chart-area-step", - description: "", - type: "registry:block", - registryDependencies: ["card","chart"], - files: [{ - path: "registry/default/charts/chart-area-step.tsx", - type: "registry:block", - target: "" - }], - categories: ["charts","charts-area"], - component: React.lazy(() => import("@/registry/default/charts/chart-area-step.tsx")), - source: "__registry__/default/charts/chart-area-step.tsx", - meta: undefined, - }, - "chart-bar-active": { - name: "chart-bar-active", - description: "", - type: "registry:block", - registryDependencies: ["card","chart"], - files: [{ - path: "registry/default/charts/chart-bar-active.tsx", - type: "registry:block", - target: "" - }], - categories: ["charts","charts-bar"], - component: React.lazy(() => import("@/registry/default/charts/chart-bar-active.tsx")), - source: "__registry__/default/charts/chart-bar-active.tsx", - meta: undefined, - }, - "chart-bar-default": { - name: "chart-bar-default", - description: "", - type: "registry:block", - registryDependencies: ["card","chart"], - files: [{ - path: "registry/default/charts/chart-bar-default.tsx", - type: "registry:block", - target: "" - }], - categories: ["charts","charts-bar"], - component: React.lazy(() => import("@/registry/default/charts/chart-bar-default.tsx")), - source: "__registry__/default/charts/chart-bar-default.tsx", - meta: undefined, - }, - "chart-bar-horizontal": { - name: "chart-bar-horizontal", - description: "", - type: "registry:block", - registryDependencies: ["card","chart"], - files: [{ - path: "registry/default/charts/chart-bar-horizontal.tsx", - type: "registry:block", - target: "" - }], - categories: ["charts","charts-bar"], - component: React.lazy(() => import("@/registry/default/charts/chart-bar-horizontal.tsx")), - source: "__registry__/default/charts/chart-bar-horizontal.tsx", - meta: undefined, - }, - "chart-bar-interactive": { - name: "chart-bar-interactive", - description: "", - type: "registry:block", - registryDependencies: ["card","chart"], - files: [{ - path: "registry/default/charts/chart-bar-interactive.tsx", - type: "registry:block", - target: "" - }], - categories: ["charts","charts-bar"], - component: React.lazy(() => import("@/registry/default/charts/chart-bar-interactive.tsx")), - source: "__registry__/default/charts/chart-bar-interactive.tsx", - meta: undefined, - }, - "chart-bar-label-custom": { - name: "chart-bar-label-custom", - description: "", - type: "registry:block", - registryDependencies: ["card","chart"], - files: [{ - path: "registry/default/charts/chart-bar-label-custom.tsx", - type: "registry:block", - target: "" - }], - categories: ["charts","charts-bar"], - component: React.lazy(() => import("@/registry/default/charts/chart-bar-label-custom.tsx")), - source: "__registry__/default/charts/chart-bar-label-custom.tsx", - meta: undefined, - }, - "chart-bar-label": { - name: "chart-bar-label", - description: "", - type: "registry:block", - registryDependencies: ["card","chart"], - files: [{ - path: "registry/default/charts/chart-bar-label.tsx", - type: "registry:block", - target: "" - }], - categories: ["charts","charts-bar"], - component: React.lazy(() => import("@/registry/default/charts/chart-bar-label.tsx")), - source: "__registry__/default/charts/chart-bar-label.tsx", - meta: undefined, - }, - "chart-bar-mixed": { - name: "chart-bar-mixed", - description: "", - type: "registry:block", - registryDependencies: ["card","chart"], - files: [{ - path: "registry/default/charts/chart-bar-mixed.tsx", - type: "registry:block", - target: "" - }], - categories: ["charts","charts-bar"], - component: React.lazy(() => import("@/registry/default/charts/chart-bar-mixed.tsx")), - source: "__registry__/default/charts/chart-bar-mixed.tsx", - meta: undefined, - }, - "chart-bar-multiple": { - name: "chart-bar-multiple", - description: "", - type: "registry:block", - registryDependencies: ["card","chart"], - files: [{ - path: "registry/default/charts/chart-bar-multiple.tsx", - type: "registry:block", - target: "" - }], - categories: ["charts","charts-bar"], - component: React.lazy(() => import("@/registry/default/charts/chart-bar-multiple.tsx")), - source: "__registry__/default/charts/chart-bar-multiple.tsx", - meta: undefined, - }, - "chart-bar-negative": { - name: "chart-bar-negative", - description: "", - type: "registry:block", - registryDependencies: ["card","chart"], - files: [{ - path: "registry/default/charts/chart-bar-negative.tsx", - type: "registry:block", - target: "" - }], - categories: ["charts","charts-bar"], - component: React.lazy(() => import("@/registry/default/charts/chart-bar-negative.tsx")), - source: "__registry__/default/charts/chart-bar-negative.tsx", - meta: undefined, - }, - "chart-bar-stacked": { - name: "chart-bar-stacked", - description: "", - type: "registry:block", - registryDependencies: ["card","chart"], - files: [{ - path: "registry/default/charts/chart-bar-stacked.tsx", - type: "registry:block", - target: "" - }], - categories: ["charts","charts-bar"], - component: React.lazy(() => import("@/registry/default/charts/chart-bar-stacked.tsx")), - source: "__registry__/default/charts/chart-bar-stacked.tsx", - meta: undefined, - }, - "chart-line-default": { - name: "chart-line-default", - description: "", - type: "registry:block", - registryDependencies: ["card","chart"], - files: [{ - path: "registry/default/charts/chart-line-default.tsx", - type: "registry:block", - target: "" - }], - categories: ["charts","charts-line"], - component: React.lazy(() => import("@/registry/default/charts/chart-line-default.tsx")), - source: "__registry__/default/charts/chart-line-default.tsx", - meta: undefined, - }, - "chart-line-dots-colors": { - name: "chart-line-dots-colors", - description: "", - type: "registry:block", - registryDependencies: ["card","chart"], - files: [{ - path: "registry/default/charts/chart-line-dots-colors.tsx", - type: "registry:block", - target: "" - }], - categories: ["charts","charts-line"], - component: React.lazy(() => import("@/registry/default/charts/chart-line-dots-colors.tsx")), - source: "__registry__/default/charts/chart-line-dots-colors.tsx", - meta: undefined, - }, - "chart-line-dots-custom": { - name: "chart-line-dots-custom", - description: "", - type: "registry:block", - registryDependencies: ["card","chart"], - files: [{ - path: "registry/default/charts/chart-line-dots-custom.tsx", - type: "registry:block", - target: "" - }], - categories: ["charts","charts-line"], - component: React.lazy(() => import("@/registry/default/charts/chart-line-dots-custom.tsx")), - source: "__registry__/default/charts/chart-line-dots-custom.tsx", - meta: undefined, - }, - "chart-line-dots": { - name: "chart-line-dots", - description: "", - type: "registry:block", - registryDependencies: ["card","chart"], - files: [{ - path: "registry/default/charts/chart-line-dots.tsx", - type: "registry:block", - target: "" - }], - categories: ["charts","charts-line"], - component: React.lazy(() => import("@/registry/default/charts/chart-line-dots.tsx")), - source: "__registry__/default/charts/chart-line-dots.tsx", - meta: undefined, - }, - "chart-line-interactive": { - name: "chart-line-interactive", - description: "", - type: "registry:block", - registryDependencies: ["card","chart"], - files: [{ - path: "registry/default/charts/chart-line-interactive.tsx", - type: "registry:block", - target: "" - }], - categories: ["charts","charts-line"], - component: React.lazy(() => import("@/registry/default/charts/chart-line-interactive.tsx")), - source: "__registry__/default/charts/chart-line-interactive.tsx", - meta: undefined, - }, - "chart-line-label-custom": { - name: "chart-line-label-custom", - description: "", - type: "registry:block", - registryDependencies: ["card","chart"], - files: [{ - path: "registry/default/charts/chart-line-label-custom.tsx", - type: "registry:block", - target: "" - }], - categories: ["charts","charts-line"], - component: React.lazy(() => import("@/registry/default/charts/chart-line-label-custom.tsx")), - source: "__registry__/default/charts/chart-line-label-custom.tsx", - meta: undefined, - }, - "chart-line-label": { - name: "chart-line-label", - description: "", - type: "registry:block", - registryDependencies: ["card","chart"], - files: [{ - path: "registry/default/charts/chart-line-label.tsx", - type: "registry:block", - target: "" - }], - categories: ["charts","charts-line"], - component: React.lazy(() => import("@/registry/default/charts/chart-line-label.tsx")), - source: "__registry__/default/charts/chart-line-label.tsx", - meta: undefined, - }, - "chart-line-linear": { - name: "chart-line-linear", - description: "", - type: "registry:block", - registryDependencies: ["card","chart"], - files: [{ - path: "registry/default/charts/chart-line-linear.tsx", - type: "registry:block", - target: "" - }], - categories: ["charts","charts-line"], - component: React.lazy(() => import("@/registry/default/charts/chart-line-linear.tsx")), - source: "__registry__/default/charts/chart-line-linear.tsx", - meta: undefined, - }, - "chart-line-multiple": { - name: "chart-line-multiple", - description: "", - type: "registry:block", - registryDependencies: ["card","chart"], - files: [{ - path: "registry/default/charts/chart-line-multiple.tsx", - type: "registry:block", - target: "" - }], - categories: ["charts","charts-line"], - component: React.lazy(() => import("@/registry/default/charts/chart-line-multiple.tsx")), - source: "__registry__/default/charts/chart-line-multiple.tsx", - meta: undefined, - }, - "chart-line-step": { - name: "chart-line-step", - description: "", - type: "registry:block", - registryDependencies: ["card","chart"], - files: [{ - path: "registry/default/charts/chart-line-step.tsx", - type: "registry:block", - target: "" - }], - categories: ["charts","charts-line"], - component: React.lazy(() => import("@/registry/default/charts/chart-line-step.tsx")), - source: "__registry__/default/charts/chart-line-step.tsx", - meta: undefined, - }, - "chart-pie-donut-active": { - name: "chart-pie-donut-active", - description: "", - type: "registry:block", - registryDependencies: ["card","chart"], - files: [{ - path: "registry/default/charts/chart-pie-donut-active.tsx", - type: "registry:block", - target: "" - }], - categories: ["charts","charts-pie"], - component: React.lazy(() => import("@/registry/default/charts/chart-pie-donut-active.tsx")), - source: "__registry__/default/charts/chart-pie-donut-active.tsx", - meta: undefined, - }, - "chart-pie-donut-text": { - name: "chart-pie-donut-text", - description: "", - type: "registry:block", - registryDependencies: ["card","chart"], - files: [{ - path: "registry/default/charts/chart-pie-donut-text.tsx", - type: "registry:block", - target: "" - }], - categories: ["charts","charts-pie"], - component: React.lazy(() => import("@/registry/default/charts/chart-pie-donut-text.tsx")), - source: "__registry__/default/charts/chart-pie-donut-text.tsx", - meta: undefined, - }, - "chart-pie-donut": { - name: "chart-pie-donut", - description: "", - type: "registry:block", - registryDependencies: ["card","chart"], - files: [{ - path: "registry/default/charts/chart-pie-donut.tsx", - type: "registry:block", - target: "" - }], - categories: ["charts","charts-pie"], - component: React.lazy(() => import("@/registry/default/charts/chart-pie-donut.tsx")), - source: "__registry__/default/charts/chart-pie-donut.tsx", - meta: undefined, - }, - "chart-pie-interactive": { - name: "chart-pie-interactive", - description: "", - type: "registry:block", - registryDependencies: ["card","chart"], - files: [{ - path: "registry/default/charts/chart-pie-interactive.tsx", - type: "registry:block", - target: "" - }], - categories: ["charts","charts-pie"], - component: React.lazy(() => import("@/registry/default/charts/chart-pie-interactive.tsx")), - source: "__registry__/default/charts/chart-pie-interactive.tsx", - meta: undefined, - }, - "chart-pie-label-custom": { - name: "chart-pie-label-custom", - description: "", - type: "registry:block", - registryDependencies: ["card","chart"], - files: [{ - path: "registry/default/charts/chart-pie-label-custom.tsx", - type: "registry:block", - target: "" - }], - categories: ["charts","charts-pie"], - component: React.lazy(() => import("@/registry/default/charts/chart-pie-label-custom.tsx")), - source: "__registry__/default/charts/chart-pie-label-custom.tsx", - meta: undefined, - }, - "chart-pie-label-list": { - name: "chart-pie-label-list", - description: "", - type: "registry:block", - registryDependencies: ["card","chart"], - files: [{ - path: "registry/default/charts/chart-pie-label-list.tsx", - type: "registry:block", - target: "" - }], - categories: ["charts","charts-pie"], - component: React.lazy(() => import("@/registry/default/charts/chart-pie-label-list.tsx")), - source: "__registry__/default/charts/chart-pie-label-list.tsx", - meta: undefined, - }, - "chart-pie-label": { - name: "chart-pie-label", - description: "", - type: "registry:block", - registryDependencies: ["card","chart"], - files: [{ - path: "registry/default/charts/chart-pie-label.tsx", - type: "registry:block", - target: "" - }], - categories: ["charts","charts-pie"], - component: React.lazy(() => import("@/registry/default/charts/chart-pie-label.tsx")), - source: "__registry__/default/charts/chart-pie-label.tsx", - meta: undefined, - }, - "chart-pie-legend": { - name: "chart-pie-legend", - description: "", - type: "registry:block", - registryDependencies: ["card","chart"], - files: [{ - path: "registry/default/charts/chart-pie-legend.tsx", - type: "registry:block", - target: "" - }], - categories: ["charts","charts-pie"], - component: React.lazy(() => import("@/registry/default/charts/chart-pie-legend.tsx")), - source: "__registry__/default/charts/chart-pie-legend.tsx", - meta: undefined, - }, - "chart-pie-separator-none": { - name: "chart-pie-separator-none", - description: "", - type: "registry:block", - registryDependencies: ["card","chart"], - files: [{ - path: "registry/default/charts/chart-pie-separator-none.tsx", - type: "registry:block", - target: "" - }], - categories: ["charts","charts-pie"], - component: React.lazy(() => import("@/registry/default/charts/chart-pie-separator-none.tsx")), - source: "__registry__/default/charts/chart-pie-separator-none.tsx", - meta: undefined, - }, - "chart-pie-simple": { - name: "chart-pie-simple", - description: "", - type: "registry:block", - registryDependencies: ["card","chart"], - files: [{ - path: "registry/default/charts/chart-pie-simple.tsx", - type: "registry:block", - target: "" - }], - categories: ["charts","charts-pie"], - component: React.lazy(() => import("@/registry/default/charts/chart-pie-simple.tsx")), - source: "__registry__/default/charts/chart-pie-simple.tsx", - meta: undefined, - }, - "chart-pie-stacked": { - name: "chart-pie-stacked", - description: "", - type: "registry:block", - registryDependencies: ["card","chart"], - files: [{ - path: "registry/default/charts/chart-pie-stacked.tsx", - type: "registry:block", - target: "" - }], - categories: ["charts","charts-pie"], - component: React.lazy(() => import("@/registry/default/charts/chart-pie-stacked.tsx")), - source: "__registry__/default/charts/chart-pie-stacked.tsx", - meta: undefined, - }, - "chart-radar-default": { - name: "chart-radar-default", - description: "", - type: "registry:block", - registryDependencies: ["card","chart"], - files: [{ - path: "registry/default/charts/chart-radar-default.tsx", - type: "registry:block", - target: "" - }], - categories: ["charts","charts-radar"], - component: React.lazy(() => import("@/registry/default/charts/chart-radar-default.tsx")), - source: "__registry__/default/charts/chart-radar-default.tsx", - meta: undefined, - }, - "chart-radar-dots": { - name: "chart-radar-dots", - description: "", - type: "registry:block", - registryDependencies: ["card","chart"], - files: [{ - path: "registry/default/charts/chart-radar-dots.tsx", - type: "registry:block", - target: "" - }], - categories: ["charts","charts-radar"], - component: React.lazy(() => import("@/registry/default/charts/chart-radar-dots.tsx")), - source: "__registry__/default/charts/chart-radar-dots.tsx", - meta: undefined, - }, - "chart-radar-grid-circle-fill": { - name: "chart-radar-grid-circle-fill", - description: "", - type: "registry:block", - registryDependencies: ["card","chart"], - files: [{ - path: "registry/default/charts/chart-radar-grid-circle-fill.tsx", - type: "registry:block", - target: "" - }], - categories: ["charts","charts-radar"], - component: React.lazy(() => import("@/registry/default/charts/chart-radar-grid-circle-fill.tsx")), - source: "__registry__/default/charts/chart-radar-grid-circle-fill.tsx", - meta: undefined, - }, - "chart-radar-grid-circle-no-lines": { - name: "chart-radar-grid-circle-no-lines", - description: "", - type: "registry:block", - registryDependencies: ["card","chart"], - files: [{ - path: "registry/default/charts/chart-radar-grid-circle-no-lines.tsx", - type: "registry:block", - target: "" - }], - categories: ["charts","charts-radar"], - component: React.lazy(() => import("@/registry/default/charts/chart-radar-grid-circle-no-lines.tsx")), - source: "__registry__/default/charts/chart-radar-grid-circle-no-lines.tsx", - meta: undefined, - }, - "chart-radar-grid-circle": { - name: "chart-radar-grid-circle", - description: "", - type: "registry:block", - registryDependencies: ["card","chart"], - files: [{ - path: "registry/default/charts/chart-radar-grid-circle.tsx", - type: "registry:block", - target: "" - }], - categories: ["charts","charts-radar"], - component: React.lazy(() => import("@/registry/default/charts/chart-radar-grid-circle.tsx")), - source: "__registry__/default/charts/chart-radar-grid-circle.tsx", - meta: undefined, - }, - "chart-radar-grid-custom": { - name: "chart-radar-grid-custom", - description: "", - type: "registry:block", - registryDependencies: ["card","chart"], - files: [{ - path: "registry/default/charts/chart-radar-grid-custom.tsx", - type: "registry:block", - target: "" - }], - categories: ["charts","charts-radar"], - component: React.lazy(() => import("@/registry/default/charts/chart-radar-grid-custom.tsx")), - source: "__registry__/default/charts/chart-radar-grid-custom.tsx", - meta: undefined, - }, - "chart-radar-grid-fill": { - name: "chart-radar-grid-fill", - description: "", - type: "registry:block", - registryDependencies: ["card","chart"], - files: [{ - path: "registry/default/charts/chart-radar-grid-fill.tsx", - type: "registry:block", - target: "" - }], - categories: ["charts","charts-radar"], - component: React.lazy(() => import("@/registry/default/charts/chart-radar-grid-fill.tsx")), - source: "__registry__/default/charts/chart-radar-grid-fill.tsx", - meta: undefined, - }, - "chart-radar-grid-none": { - name: "chart-radar-grid-none", - description: "", - type: "registry:block", - registryDependencies: ["card","chart"], - files: [{ - path: "registry/default/charts/chart-radar-grid-none.tsx", - type: "registry:block", - target: "" - }], - categories: ["charts","charts-radar"], - component: React.lazy(() => import("@/registry/default/charts/chart-radar-grid-none.tsx")), - source: "__registry__/default/charts/chart-radar-grid-none.tsx", - meta: undefined, - }, - "chart-radar-icons": { - name: "chart-radar-icons", - description: "", - type: "registry:block", - registryDependencies: ["card","chart"], - files: [{ - path: "registry/default/charts/chart-radar-icons.tsx", - type: "registry:block", - target: "" - }], - categories: ["charts","charts-radar"], - component: React.lazy(() => import("@/registry/default/charts/chart-radar-icons.tsx")), - source: "__registry__/default/charts/chart-radar-icons.tsx", - meta: undefined, - }, - "chart-radar-label-custom": { - name: "chart-radar-label-custom", - description: "", - type: "registry:block", - registryDependencies: ["card","chart"], - files: [{ - path: "registry/default/charts/chart-radar-label-custom.tsx", - type: "registry:block", - target: "" - }], - categories: ["charts","charts-radar"], - component: React.lazy(() => import("@/registry/default/charts/chart-radar-label-custom.tsx")), - source: "__registry__/default/charts/chart-radar-label-custom.tsx", - meta: undefined, - }, - "chart-radar-legend": { - name: "chart-radar-legend", - description: "", - type: "registry:block", - registryDependencies: ["card","chart"], - files: [{ - path: "registry/default/charts/chart-radar-legend.tsx", - type: "registry:block", - target: "" - }], - categories: ["charts","charts-radar"], - component: React.lazy(() => import("@/registry/default/charts/chart-radar-legend.tsx")), - source: "__registry__/default/charts/chart-radar-legend.tsx", - meta: undefined, - }, - "chart-radar-lines-only": { - name: "chart-radar-lines-only", - description: "", - type: "registry:block", - registryDependencies: ["card","chart"], - files: [{ - path: "registry/default/charts/chart-radar-lines-only.tsx", - type: "registry:block", - target: "" - }], - categories: ["charts","charts-radar"], - component: React.lazy(() => import("@/registry/default/charts/chart-radar-lines-only.tsx")), - source: "__registry__/default/charts/chart-radar-lines-only.tsx", - meta: undefined, - }, - "chart-radar-multiple": { - name: "chart-radar-multiple", - description: "", - type: "registry:block", - registryDependencies: ["card","chart"], - files: [{ - path: "registry/default/charts/chart-radar-multiple.tsx", - type: "registry:block", - target: "" - }], - categories: ["charts","charts-radar"], - component: React.lazy(() => import("@/registry/default/charts/chart-radar-multiple.tsx")), - source: "__registry__/default/charts/chart-radar-multiple.tsx", - meta: undefined, - }, - "chart-radar-radius": { - name: "chart-radar-radius", - description: "", - type: "registry:block", - registryDependencies: ["card","chart"], - files: [{ - path: "registry/default/charts/chart-radar-radius.tsx", - type: "registry:block", - target: "" - }], - categories: ["charts","charts-radar"], - component: React.lazy(() => import("@/registry/default/charts/chart-radar-radius.tsx")), - source: "__registry__/default/charts/chart-radar-radius.tsx", - meta: undefined, - }, - "chart-radial-grid": { - name: "chart-radial-grid", - description: "", - type: "registry:block", - registryDependencies: ["card","chart"], - files: [{ - path: "registry/default/charts/chart-radial-grid.tsx", - type: "registry:block", - target: "" - }], - categories: ["charts","charts-radial"], - component: React.lazy(() => import("@/registry/default/charts/chart-radial-grid.tsx")), - source: "__registry__/default/charts/chart-radial-grid.tsx", - meta: undefined, - }, - "chart-radial-label": { - name: "chart-radial-label", - description: "", - type: "registry:block", - registryDependencies: ["card","chart"], - files: [{ - path: "registry/default/charts/chart-radial-label.tsx", - type: "registry:block", - target: "" - }], - categories: ["charts","charts-radial"], - component: React.lazy(() => import("@/registry/default/charts/chart-radial-label.tsx")), - source: "__registry__/default/charts/chart-radial-label.tsx", - meta: undefined, - }, - "chart-radial-shape": { - name: "chart-radial-shape", - description: "", - type: "registry:block", - registryDependencies: ["card","chart"], - files: [{ - path: "registry/default/charts/chart-radial-shape.tsx", - type: "registry:block", - target: "" - }], - categories: ["charts","charts-radial"], - component: React.lazy(() => import("@/registry/default/charts/chart-radial-shape.tsx")), - source: "__registry__/default/charts/chart-radial-shape.tsx", - meta: undefined, - }, - "chart-radial-simple": { - name: "chart-radial-simple", - description: "", - type: "registry:block", - registryDependencies: ["card","chart"], - files: [{ - path: "registry/default/charts/chart-radial-simple.tsx", - type: "registry:block", - target: "" - }], - categories: ["charts","charts-radial"], - component: React.lazy(() => import("@/registry/default/charts/chart-radial-simple.tsx")), - source: "__registry__/default/charts/chart-radial-simple.tsx", - meta: undefined, - }, - "chart-radial-stacked": { - name: "chart-radial-stacked", - description: "", - type: "registry:block", - registryDependencies: ["card","chart"], - files: [{ - path: "registry/default/charts/chart-radial-stacked.tsx", - type: "registry:block", - target: "" - }], - categories: ["charts","charts-radial"], - component: React.lazy(() => import("@/registry/default/charts/chart-radial-stacked.tsx")), - source: "__registry__/default/charts/chart-radial-stacked.tsx", - meta: undefined, - }, - "chart-radial-text": { - name: "chart-radial-text", - description: "", - type: "registry:block", - registryDependencies: ["card","chart"], - files: [{ - path: "registry/default/charts/chart-radial-text.tsx", - type: "registry:block", - target: "" - }], - categories: ["charts","charts-radial"], - component: React.lazy(() => import("@/registry/default/charts/chart-radial-text.tsx")), - source: "__registry__/default/charts/chart-radial-text.tsx", - meta: undefined, - }, - "chart-tooltip-default": { - name: "chart-tooltip-default", - description: "", - type: "registry:block", - registryDependencies: ["card","chart"], - files: [{ - path: "registry/default/charts/chart-tooltip-default.tsx", - type: "registry:block", - target: "" - }], - categories: ["charts","charts-tooltip"], - component: React.lazy(() => import("@/registry/default/charts/chart-tooltip-default.tsx")), - source: "__registry__/default/charts/chart-tooltip-default.tsx", - meta: undefined, - }, - "chart-tooltip-indicator-line": { - name: "chart-tooltip-indicator-line", - description: "", - type: "registry:block", - registryDependencies: ["card","chart"], - files: [{ - path: "registry/default/charts/chart-tooltip-indicator-line.tsx", - type: "registry:block", - target: "" - }], - categories: ["charts","charts-tooltip"], - component: React.lazy(() => import("@/registry/default/charts/chart-tooltip-indicator-line.tsx")), - source: "__registry__/default/charts/chart-tooltip-indicator-line.tsx", - meta: undefined, - }, - "chart-tooltip-indicator-none": { - name: "chart-tooltip-indicator-none", - description: "", - type: "registry:block", - registryDependencies: ["card","chart"], - files: [{ - path: "registry/default/charts/chart-tooltip-indicator-none.tsx", - type: "registry:block", - target: "" - }], - categories: ["charts","charts-tooltip"], - component: React.lazy(() => import("@/registry/default/charts/chart-tooltip-indicator-none.tsx")), - source: "__registry__/default/charts/chart-tooltip-indicator-none.tsx", - meta: undefined, - }, - "chart-tooltip-label-none": { - name: "chart-tooltip-label-none", - description: "", - type: "registry:block", - registryDependencies: ["card","chart"], - files: [{ - path: "registry/default/charts/chart-tooltip-label-none.tsx", - type: "registry:block", - target: "" - }], - categories: ["charts","charts-tooltip"], - component: React.lazy(() => import("@/registry/default/charts/chart-tooltip-label-none.tsx")), - source: "__registry__/default/charts/chart-tooltip-label-none.tsx", - meta: undefined, - }, - "chart-tooltip-label-custom": { - name: "chart-tooltip-label-custom", - description: "", - type: "registry:block", - registryDependencies: ["card","chart"], - files: [{ - path: "registry/default/charts/chart-tooltip-label-custom.tsx", - type: "registry:block", - target: "" - }], - categories: ["charts","charts-tooltip"], - component: React.lazy(() => import("@/registry/default/charts/chart-tooltip-label-custom.tsx")), - source: "__registry__/default/charts/chart-tooltip-label-custom.tsx", - meta: undefined, - }, - "chart-tooltip-label-formatter": { - name: "chart-tooltip-label-formatter", - description: "", - type: "registry:block", - registryDependencies: ["card","chart"], - files: [{ - path: "registry/default/charts/chart-tooltip-label-formatter.tsx", - type: "registry:block", - target: "" - }], - categories: ["charts","charts-tooltip"], - component: React.lazy(() => import("@/registry/default/charts/chart-tooltip-label-formatter.tsx")), - source: "__registry__/default/charts/chart-tooltip-label-formatter.tsx", - meta: undefined, - }, - "chart-tooltip-formatter": { - name: "chart-tooltip-formatter", - description: "", - type: "registry:block", - registryDependencies: ["card","chart"], - files: [{ - path: "registry/default/charts/chart-tooltip-formatter.tsx", - type: "registry:block", - target: "" - }], - categories: ["charts","charts-tooltip"], - component: React.lazy(() => import("@/registry/default/charts/chart-tooltip-formatter.tsx")), - source: "__registry__/default/charts/chart-tooltip-formatter.tsx", - meta: undefined, - }, - "chart-tooltip-icons": { - name: "chart-tooltip-icons", - description: "", - type: "registry:block", - registryDependencies: ["card","chart"], - files: [{ - path: "registry/default/charts/chart-tooltip-icons.tsx", - type: "registry:block", - target: "" - }], - categories: ["charts","charts-tooltip"], - component: React.lazy(() => import("@/registry/default/charts/chart-tooltip-icons.tsx")), - source: "__registry__/default/charts/chart-tooltip-icons.tsx", - meta: undefined, - }, - "chart-tooltip-advanced": { - name: "chart-tooltip-advanced", - description: "", - type: "registry:block", - registryDependencies: ["card","chart"], - files: [{ - path: "registry/default/charts/chart-tooltip-advanced.tsx", - type: "registry:block", - target: "" - }], - categories: ["charts","charts-tooltip"], - component: React.lazy(() => import("@/registry/default/charts/chart-tooltip-advanced.tsx")), - source: "__registry__/default/charts/chart-tooltip-advanced.tsx", - meta: undefined, - }, - "utils": { - name: "utils", - description: "", - type: "registry:lib", - registryDependencies: undefined, - files: [{ - path: "registry/default/lib/utils.ts", - type: "registry:lib", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/default/lib/utils.ts")), - source: "", - meta: undefined, - }, - "use-mobile": { - name: "use-mobile", - description: "", - type: "registry:hook", - registryDependencies: undefined, - files: [{ - path: "registry/default/hooks/use-mobile.tsx", - type: "registry:hook", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/default/hooks/use-mobile.tsx")), - source: "", - meta: undefined, - }, - "use-toast": { - name: "use-toast", - description: "", - type: "registry:hook", - registryDependencies: undefined, - files: [{ - path: "registry/default/hooks/use-toast.ts", - type: "registry:hook", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/default/hooks/use-toast.ts")), - source: "", - meta: undefined, - }, - "sink": { - name: "sink", - description: "", - type: "registry:internal", - registryDependencies: ["accordion","alert","alert-dialog","aspect-ratio","avatar","badge","breadcrumb","button","calendar","card","carousel","chart","checkbox","collapsible","command","context-menu","dialog","drawer","dropdown-menu","hover-card","input","input-otp","label","menubar","navigation-menu","pagination","popover","progress","radio-group","resizable","scroll-area","select","separator","sheet","sidebar","skeleton","slider","sonner","switch","table","tabs","textarea","toast","toggle","toggle-group","tooltip"], - files: [{ - path: "registry/default/internal/sink/page.tsx", - type: "registry:page", - target: "app/sink/page.tsx" - },{ - path: "registry/default/internal/sink/components/app-sidebar.tsx", - type: "registry:component", - target: "" - },{ - path: "registry/default/internal/sink/components/component-wrapper.tsx", - type: "registry:component", - target: "" - },{ - path: "registry/default/internal/sink/components/nav-main.tsx", - type: "registry:component", - target: "" - },{ - path: "registry/default/internal/sink/components/nav-projects.tsx", - type: "registry:component", - target: "" - },{ - path: "registry/default/internal/sink/components/nav-user.tsx", - type: "registry:component", - target: "" - },{ - path: "registry/default/internal/sink/components/team-switcher.tsx", - type: "registry:component", - target: "" - },{ - path: "registry/default/internal/sink/components/accordion-demo.tsx", - type: "registry:component", - target: "" - },{ - path: "registry/default/internal/sink/components/alert-demo.tsx", - type: "registry:component", - target: "" - },{ - path: "registry/default/internal/sink/components/alert-dialog-demo.tsx", - type: "registry:component", - target: "" - },{ - path: "registry/default/internal/sink/components/aspect-ratio-demo.tsx", - type: "registry:component", - target: "" - },{ - path: "registry/default/internal/sink/components/avatar-demo.tsx", - type: "registry:component", - target: "" - },{ - path: "registry/default/internal/sink/components/badge-demo.tsx", - type: "registry:component", - target: "" - },{ - path: "registry/default/internal/sink/components/breadcrumb-demo.tsx", - type: "registry:component", - target: "" - },{ - path: "registry/default/internal/sink/components/button-demo.tsx", - type: "registry:component", - target: "" - },{ - path: "registry/default/internal/sink/components/calendar-demo.tsx", - type: "registry:component", - target: "" - },{ - path: "registry/default/internal/sink/components/card-demo.tsx", - type: "registry:component", - target: "" - },{ - path: "registry/default/internal/sink/components/carousel-demo.tsx", - type: "registry:component", - target: "" - },{ - path: "registry/default/internal/sink/components/checkbox-demo.tsx", - type: "registry:component", - target: "" - },{ - path: "registry/default/internal/sink/components/collapsible-demo.tsx", - type: "registry:component", - target: "" - },{ - path: "registry/default/internal/sink/components/combobox-demo.tsx", - type: "registry:component", - target: "" - },{ - path: "registry/default/internal/sink/components/command-demo.tsx", - type: "registry:component", - target: "" - },{ - path: "registry/default/internal/sink/components/context-menu-demo.tsx", - type: "registry:component", - target: "" - },{ - path: "registry/default/internal/sink/components/date-picker-demo.tsx", - type: "registry:component", - target: "" - },{ - path: "registry/default/internal/sink/components/dialog-demo.tsx", - type: "registry:component", - target: "" - },{ - path: "registry/default/internal/sink/components/drawer-demo.tsx", - type: "registry:component", - target: "" - },{ - path: "registry/default/internal/sink/components/dropdown-menu-demo.tsx", - type: "registry:component", - target: "" - },{ - path: "registry/default/internal/sink/components/hover-card-demo.tsx", - type: "registry:component", - target: "" - },{ - path: "registry/default/internal/sink/components/input-demo.tsx", - type: "registry:component", - target: "" - },{ - path: "registry/default/internal/sink/components/input-otp-demo.tsx", - type: "registry:component", - target: "" - },{ - path: "registry/default/internal/sink/components/label-demo.tsx", - type: "registry:component", - target: "" - },{ - path: "registry/default/internal/sink/components/menubar-demo.tsx", - type: "registry:component", - target: "" - },{ - path: "registry/default/internal/sink/components/navigation-menu-demo.tsx", - type: "registry:component", - target: "" - },{ - path: "registry/default/internal/sink/components/pagination-demo.tsx", - type: "registry:component", - target: "" - },{ - path: "registry/default/internal/sink/components/popover-demo.tsx", - type: "registry:component", - target: "" - },{ - path: "registry/default/internal/sink/components/progress-demo.tsx", - type: "registry:component", - target: "" - },{ - path: "registry/default/internal/sink/components/radio-group-demo.tsx", - type: "registry:component", - target: "" - },{ - path: "registry/default/internal/sink/components/resizable-handle.tsx", - type: "registry:component", - target: "" - },{ - path: "registry/default/internal/sink/components/scroll-area-demo.tsx", - type: "registry:component", - target: "" - },{ - path: "registry/default/internal/sink/components/select-demo.tsx", - type: "registry:component", - target: "" - },{ - path: "registry/default/internal/sink/components/separator-demo.tsx", - type: "registry:component", - target: "" - },{ - path: "registry/default/internal/sink/components/sheet-demo.tsx", - type: "registry:component", - target: "" - },{ - path: "registry/default/internal/sink/components/skeleton-demo.tsx", - type: "registry:component", - target: "" - },{ - path: "registry/default/internal/sink/components/slider-demo.tsx", - type: "registry:component", - target: "" - },{ - path: "registry/default/internal/sink/components/sonner-demo.tsx", - type: "registry:component", - target: "" - },{ - path: "registry/default/internal/sink/components/switch-demo.tsx", - type: "registry:component", - target: "" - },{ - path: "registry/default/internal/sink/components/table-demo.tsx", - type: "registry:component", - target: "" - },{ - path: "registry/default/internal/sink/components/tabs-demo.tsx", - type: "registry:component", - target: "" - },{ - path: "registry/default/internal/sink/components/textarea-demo.tsx", - type: "registry:component", - target: "" - },{ - path: "registry/default/internal/sink/components/toast-demo.tsx", - type: "registry:component", - target: "" - },{ - path: "registry/default/internal/sink/components/toggle-demo.tsx", - type: "registry:component", - target: "" - },{ - path: "registry/default/internal/sink/components/toggle-group-demo.tsx", - type: "registry:component", - target: "" - },{ - path: "registry/default/internal/sink/components/tooltip-demo.tsx", - type: "registry:component", - target: "" - },{ - path: "registry/default/internal/sink/components/badge-destructive.tsx", - type: "registry:component", - target: "" - },{ - path: "registry/default/internal/sink/components/badge-outline.tsx", - type: "registry:component", - target: "" - },{ - path: "registry/default/internal/sink/components/badge-secondary.tsx", - type: "registry:component", - target: "" - },{ - path: "registry/default/internal/sink/components/button-destructive.tsx", - type: "registry:component", - target: "" - },{ - path: "registry/default/internal/sink/components/button-ghost.tsx", - type: "registry:component", - target: "" - },{ - path: "registry/default/internal/sink/components/button-link.tsx", - type: "registry:component", - target: "" - },{ - path: "registry/default/internal/sink/components/button-loading.tsx", - type: "registry:component", - target: "" - },{ - path: "registry/default/internal/sink/components/button-outline.tsx", - type: "registry:component", - target: "" - },{ - path: "registry/default/internal/sink/components/button-secondary.tsx", - type: "registry:component", - target: "" - },{ - path: "registry/default/internal/sink/components/button-with-icon.tsx", - type: "registry:component", - target: "" - },{ - path: "registry/default/internal/sink/components/toggle-disabled.tsx", - type: "registry:component", - target: "" - },{ - path: "registry/default/internal/sink/components/toggle-outline.tsx", - type: "registry:component", - target: "" - },{ - path: "registry/default/internal/sink/components/toggle-with-text.tsx", - type: "registry:component", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/default/internal/sink/page.tsx")), - source: "", - meta: undefined, - }, - "sidebar-demo": { - name: "sidebar-demo", - description: "", - type: "registry:internal", - registryDependencies: undefined, - files: [{ - path: "registry/default/internal/sidebar-demo.tsx", - type: "registry:component", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/default/internal/sidebar-demo.tsx")), - source: "", - meta: undefined, - }, - "sidebar-header": { - name: "sidebar-header", - description: "", - type: "registry:internal", - registryDependencies: undefined, - files: [{ - path: "registry/default/internal/sidebar-header.tsx", - type: "registry:component", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/default/internal/sidebar-header.tsx")), - source: "", - meta: undefined, - }, - "sidebar-footer": { - name: "sidebar-footer", - description: "", - type: "registry:internal", - registryDependencies: undefined, - files: [{ - path: "registry/default/internal/sidebar-footer.tsx", - type: "registry:component", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/default/internal/sidebar-footer.tsx")), - source: "", - meta: undefined, - }, - "sidebar-group": { - name: "sidebar-group", - description: "", - type: "registry:internal", - registryDependencies: undefined, - files: [{ - path: "registry/default/internal/sidebar-group.tsx", - type: "registry:component", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/default/internal/sidebar-group.tsx")), - source: "", - meta: undefined, - }, - "sidebar-group-collapsible": { - name: "sidebar-group-collapsible", - description: "", - type: "registry:internal", - registryDependencies: undefined, - files: [{ - path: "registry/default/internal/sidebar-group-collapsible.tsx", - type: "registry:component", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/default/internal/sidebar-group-collapsible.tsx")), - source: "", - meta: undefined, - }, - "sidebar-group-action": { - name: "sidebar-group-action", - description: "", - type: "registry:internal", - registryDependencies: undefined, - files: [{ - path: "registry/default/internal/sidebar-group-action.tsx", - type: "registry:component", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/default/internal/sidebar-group-action.tsx")), - source: "", - meta: undefined, - }, - "sidebar-menu": { - name: "sidebar-menu", - description: "", - type: "registry:internal", - registryDependencies: undefined, - files: [{ - path: "registry/default/internal/sidebar-menu.tsx", - type: "registry:component", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/default/internal/sidebar-menu.tsx")), - source: "", - meta: undefined, - }, - "sidebar-menu-action": { - name: "sidebar-menu-action", - description: "", - type: "registry:internal", - registryDependencies: undefined, - files: [{ - path: "registry/default/internal/sidebar-menu-action.tsx", - type: "registry:component", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/default/internal/sidebar-menu-action.tsx")), - source: "", - meta: undefined, - }, - "sidebar-menu-sub": { - name: "sidebar-menu-sub", - description: "", - type: "registry:internal", - registryDependencies: undefined, - files: [{ - path: "registry/default/internal/sidebar-menu-sub.tsx", - type: "registry:component", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/default/internal/sidebar-menu-sub.tsx")), - source: "", - meta: undefined, - }, - "sidebar-menu-collapsible": { - name: "sidebar-menu-collapsible", - description: "", - type: "registry:internal", - registryDependencies: undefined, - files: [{ - path: "registry/default/internal/sidebar-menu-collapsible.tsx", - type: "registry:component", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/default/internal/sidebar-menu-collapsible.tsx")), - source: "", - meta: undefined, - }, - "sidebar-menu-badge": { - name: "sidebar-menu-badge", - description: "", - type: "registry:internal", - registryDependencies: undefined, - files: [{ - path: "registry/default/internal/sidebar-menu-badge.tsx", - type: "registry:component", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/default/internal/sidebar-menu-badge.tsx")), - source: "", - meta: undefined, - }, - "sidebar-rsc": { - name: "sidebar-rsc", - description: "", - type: "registry:internal", - registryDependencies: undefined, - files: [{ - path: "registry/default/internal/sidebar-rsc.tsx", - type: "registry:component", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/default/internal/sidebar-rsc.tsx")), - source: "", - meta: undefined, - }, - "sidebar-controlled": { - name: "sidebar-controlled", - description: "", - type: "registry:internal", - registryDependencies: undefined, - files: [{ - path: "registry/default/internal/sidebar-controlled.tsx", - type: "registry:component", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/default/internal/sidebar-controlled.tsx")), - source: "", - meta: undefined, - }, - "v0-sidebar-01": { - name: "v0-sidebar-01", - description: "", - type: "registry:internal", - registryDependencies: ["sidebar","breadcrumb","separator","label","dropdown-menu"], - files: [{ - path: "registry/default/internal/sidebar-01.tsx", - type: "registry:component", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/default/internal/sidebar-01.tsx")), - source: "", - meta: undefined, - }, - "v0-sidebar-02": { - name: "v0-sidebar-02", - description: "", - type: "registry:internal", - registryDependencies: ["sidebar","breadcrumb","separator","label","dropdown-menu"], - files: [{ - path: "registry/default/internal/sidebar-02.tsx", - type: "registry:internal", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/default/internal/sidebar-02.tsx")), - source: "", - meta: undefined, - }, - "v0-sidebar-03": { - name: "v0-sidebar-03", - description: "", - type: "registry:internal", - registryDependencies: ["sidebar","breadcrumb"], - files: [{ - path: "registry/default/internal/sidebar-03.tsx", - type: "registry:internal", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/default/internal/sidebar-03.tsx")), - source: "", - meta: undefined, - }, - "v0-sidebar-04": { - name: "v0-sidebar-04", - description: "", - type: "registry:internal", - registryDependencies: ["sidebar","breadcrumb","separator"], - files: [{ - path: "registry/default/internal/sidebar-04.tsx", - type: "registry:internal", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/default/internal/sidebar-04.tsx")), - source: "", - meta: undefined, - }, - "v0-sidebar-05": { - name: "v0-sidebar-05", - description: "", - type: "registry:internal", - registryDependencies: ["sidebar","breadcrumb","separator","label","collapsible"], - files: [{ - path: "registry/default/internal/sidebar-05.tsx", - type: "registry:internal", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/default/internal/sidebar-05.tsx")), - source: "", - meta: undefined, - }, - "v0-sidebar-06": { - name: "v0-sidebar-06", - description: "", - type: "registry:internal", - registryDependencies: ["sidebar","breadcrumb","separator","card","dropdown-menu"], - files: [{ - path: "registry/default/internal/sidebar-06.tsx", - type: "registry:internal", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/default/internal/sidebar-06.tsx")), - source: "", - meta: undefined, - }, - "v0-sidebar-07": { - name: "v0-sidebar-07", - description: "", - type: "registry:internal", - registryDependencies: ["sidebar","breadcrumb","separator","collapsible","dropdown-menu","avatar"], - files: [{ - path: "registry/default/internal/sidebar-07.tsx", - type: "registry:internal", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/default/internal/sidebar-07.tsx")), - source: "", - meta: undefined, - }, - "v0-sidebar-08": { - name: "v0-sidebar-08", - description: "", - type: "registry:internal", - registryDependencies: ["sidebar","breadcrumb","separator","collapsible","dropdown-menu","avatar"], - files: [{ - path: "registry/default/internal/sidebar-08.tsx", - type: "registry:internal", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/default/internal/sidebar-08.tsx")), - source: "", - meta: undefined, - }, - "v0-sidebar-09": { - name: "v0-sidebar-09", - description: "", - type: "registry:internal", - registryDependencies: ["sidebar","breadcrumb","separator","collapsible","dropdown-menu","avatar","switch"], - files: [{ - path: "registry/default/internal/sidebar-09.tsx", - type: "registry:internal", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/default/internal/sidebar-09.tsx")), - source: "", - meta: undefined, - }, - "v0-sidebar-10": { - name: "v0-sidebar-10", - description: "", - type: "registry:internal", - registryDependencies: ["sidebar","breadcrumb","separator","popover","collapsible","dropdown-menu"], - files: [{ - path: "registry/default/internal/sidebar-10.tsx", - type: "registry:internal", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/default/internal/sidebar-10.tsx")), - source: "", - meta: undefined, - }, - "v0-sidebar-11": { - name: "v0-sidebar-11", - description: "", - type: "registry:internal", - registryDependencies: ["sidebar","breadcrumb","separator","collapsible"], - files: [{ - path: "registry/default/internal/sidebar-11.tsx", - type: "registry:internal", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/default/internal/sidebar-11.tsx")), - source: "", - meta: undefined, - }, - "v0-sidebar-12": { - name: "v0-sidebar-12", - description: "", - type: "registry:internal", - registryDependencies: ["sidebar","breadcrumb","separator","collapsible","calendar","dropdown-menu","avatar"], - files: [{ - path: "registry/default/internal/sidebar-12.tsx", - type: "registry:internal", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/default/internal/sidebar-12.tsx")), - source: "", - meta: undefined, - }, - "v0-sidebar-13": { - name: "v0-sidebar-13", - description: "", - type: "registry:internal", - registryDependencies: ["sidebar","breadcrumb","button","dialog"], - files: [{ - path: "registry/default/internal/sidebar-13.tsx", - type: "registry:internal", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/default/internal/sidebar-13.tsx")), - source: "", - meta: undefined, - }, - "v0-sidebar-14": { - name: "v0-sidebar-14", - description: "", - type: "registry:internal", - registryDependencies: ["sidebar","breadcrumb"], - files: [{ - path: "registry/default/internal/sidebar-14.tsx", - type: "registry:internal", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/default/internal/sidebar-14.tsx")), - source: "", - meta: undefined, - }, - "v0-sidebar-15": { - name: "v0-sidebar-15", - description: "", - type: "registry:internal", - registryDependencies: ["sidebar","breadcrumb","separator","popover","collapsible","dropdown-menu","calendar","avatar"], - files: [{ - path: "registry/default/internal/sidebar-15.tsx", - type: "registry:internal", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/default/internal/sidebar-15.tsx")), - source: "", - meta: undefined, - }, - "v0-login-01": { - name: "v0-login-01", - description: "", - type: "registry:internal", - registryDependencies: ["button","card","input","label"], - files: [{ - path: "registry/default/internal/login-01.tsx", - type: "registry:internal", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/default/internal/login-01.tsx")), - source: "", - meta: undefined, - }, - "accordion-demo": { - name: "accordion-demo", - description: "", - type: "registry:example", - registryDependencies: ["accordion"], - files: [{ - path: "registry/default/examples/accordion-demo.tsx", - type: "registry:example", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/default/examples/accordion-demo.tsx")), - source: "", - meta: undefined, - }, - "alert-demo": { - name: "alert-demo", - description: "", - type: "registry:example", - registryDependencies: ["alert"], - files: [{ - path: "registry/default/examples/alert-demo.tsx", - type: "registry:example", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/default/examples/alert-demo.tsx")), - source: "", - meta: undefined, - }, - "alert-destructive": { - name: "alert-destructive", - description: "", - type: "registry:example", - registryDependencies: ["alert"], - files: [{ - path: "registry/default/examples/alert-destructive.tsx", - type: "registry:example", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/default/examples/alert-destructive.tsx")), - source: "", - meta: undefined, - }, - "alert-dialog-demo": { - name: "alert-dialog-demo", - description: "", - type: "registry:example", - registryDependencies: ["alert-dialog","button"], - files: [{ - path: "registry/default/examples/alert-dialog-demo.tsx", - type: "registry:example", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/default/examples/alert-dialog-demo.tsx")), - source: "", - meta: undefined, - }, - "aspect-ratio-demo": { - name: "aspect-ratio-demo", - description: "", - type: "registry:example", - registryDependencies: ["aspect-ratio"], - files: [{ - path: "registry/default/examples/aspect-ratio-demo.tsx", - type: "registry:example", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/default/examples/aspect-ratio-demo.tsx")), - source: "", - meta: undefined, - }, - "avatar-demo": { - name: "avatar-demo", - description: "", - type: "registry:example", - registryDependencies: ["avatar"], - files: [{ - path: "registry/default/examples/avatar-demo.tsx", - type: "registry:example", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/default/examples/avatar-demo.tsx")), - source: "", - meta: undefined, - }, - "badge-demo": { - name: "badge-demo", - description: "", - type: "registry:example", - registryDependencies: ["badge"], - files: [{ - path: "registry/default/examples/badge-demo.tsx", - type: "registry:example", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/default/examples/badge-demo.tsx")), - source: "", - meta: undefined, - }, - "badge-destructive": { - name: "badge-destructive", - description: "", - type: "registry:example", - registryDependencies: ["badge"], - files: [{ - path: "registry/default/examples/badge-destructive.tsx", - type: "registry:example", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/default/examples/badge-destructive.tsx")), - source: "", - meta: undefined, - }, - "badge-outline": { - name: "badge-outline", - description: "", - type: "registry:example", - registryDependencies: ["badge"], - files: [{ - path: "registry/default/examples/badge-outline.tsx", - type: "registry:example", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/default/examples/badge-outline.tsx")), - source: "", - meta: undefined, - }, - "badge-secondary": { - name: "badge-secondary", - description: "", - type: "registry:example", - registryDependencies: ["badge"], - files: [{ - path: "registry/default/examples/badge-secondary.tsx", - type: "registry:example", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/default/examples/badge-secondary.tsx")), - source: "", - meta: undefined, - }, - "breadcrumb-demo": { - name: "breadcrumb-demo", - description: "", - type: "registry:example", - registryDependencies: ["breadcrumb"], - files: [{ - path: "registry/default/examples/breadcrumb-demo.tsx", - type: "registry:example", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/default/examples/breadcrumb-demo.tsx")), - source: "", - meta: undefined, - }, - "breadcrumb-separator": { - name: "breadcrumb-separator", - description: "", - type: "registry:example", - registryDependencies: ["breadcrumb"], - files: [{ - path: "registry/default/examples/breadcrumb-separator.tsx", - type: "registry:example", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/default/examples/breadcrumb-separator.tsx")), - source: "", - meta: undefined, - }, - "breadcrumb-dropdown": { - name: "breadcrumb-dropdown", - description: "", - type: "registry:example", - registryDependencies: ["breadcrumb"], - files: [{ - path: "registry/default/examples/breadcrumb-dropdown.tsx", - type: "registry:example", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/default/examples/breadcrumb-dropdown.tsx")), - source: "", - meta: undefined, - }, - "breadcrumb-ellipsis": { - name: "breadcrumb-ellipsis", - description: "", - type: "registry:example", - registryDependencies: ["breadcrumb"], - files: [{ - path: "registry/default/examples/breadcrumb-ellipsis.tsx", - type: "registry:example", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/default/examples/breadcrumb-ellipsis.tsx")), - source: "", - meta: undefined, - }, - "breadcrumb-link": { - name: "breadcrumb-link", - description: "", - type: "registry:example", - registryDependencies: ["breadcrumb"], - files: [{ - path: "registry/default/examples/breadcrumb-link.tsx", - type: "registry:example", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/default/examples/breadcrumb-link.tsx")), - source: "", - meta: undefined, - }, - "breadcrumb-responsive": { - name: "breadcrumb-responsive", - description: "", - type: "registry:example", - registryDependencies: ["breadcrumb"], - files: [{ - path: "registry/default/examples/breadcrumb-responsive.tsx", - type: "registry:example", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/default/examples/breadcrumb-responsive.tsx")), - source: "", - meta: undefined, - }, - "button-demo": { - name: "button-demo", - description: "", - type: "registry:example", - registryDependencies: ["button"], - files: [{ - path: "registry/default/examples/button-demo.tsx", - type: "registry:example", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/default/examples/button-demo.tsx")), - source: "", - meta: undefined, - }, - "button-secondary": { - name: "button-secondary", - description: "", - type: "registry:example", - registryDependencies: ["button"], - files: [{ - path: "registry/default/examples/button-secondary.tsx", - type: "registry:example", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/default/examples/button-secondary.tsx")), - source: "", - meta: undefined, - }, - "button-destructive": { - name: "button-destructive", - description: "", - type: "registry:example", - registryDependencies: ["button"], - files: [{ - path: "registry/default/examples/button-destructive.tsx", - type: "registry:example", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/default/examples/button-destructive.tsx")), - source: "", - meta: undefined, - }, - "button-outline": { - name: "button-outline", - description: "", - type: "registry:example", - registryDependencies: ["button"], - files: [{ - path: "registry/default/examples/button-outline.tsx", - type: "registry:example", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/default/examples/button-outline.tsx")), - source: "", - meta: undefined, - }, - "button-ghost": { - name: "button-ghost", - description: "", - type: "registry:example", - registryDependencies: ["button"], - files: [{ - path: "registry/default/examples/button-ghost.tsx", - type: "registry:example", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/default/examples/button-ghost.tsx")), - source: "", - meta: undefined, - }, - "button-link": { - name: "button-link", - description: "", - type: "registry:example", - registryDependencies: ["button"], - files: [{ - path: "registry/default/examples/button-link.tsx", - type: "registry:example", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/default/examples/button-link.tsx")), - source: "", - meta: undefined, - }, - "button-with-icon": { - name: "button-with-icon", - description: "", - type: "registry:example", - registryDependencies: ["button"], - files: [{ - path: "registry/default/examples/button-with-icon.tsx", - type: "registry:example", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/default/examples/button-with-icon.tsx")), - source: "", - meta: undefined, - }, - "button-loading": { - name: "button-loading", - description: "", - type: "registry:example", - registryDependencies: ["button"], - files: [{ - path: "registry/default/examples/button-loading.tsx", - type: "registry:example", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/default/examples/button-loading.tsx")), - source: "", - meta: undefined, - }, - "button-icon": { - name: "button-icon", - description: "", - type: "registry:example", - registryDependencies: ["button"], - files: [{ - path: "registry/default/examples/button-icon.tsx", - type: "registry:example", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/default/examples/button-icon.tsx")), - source: "", - meta: undefined, - }, - "button-as-child": { - name: "button-as-child", - description: "", - type: "registry:example", - registryDependencies: ["button"], - files: [{ - path: "registry/default/examples/button-as-child.tsx", - type: "registry:example", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/default/examples/button-as-child.tsx")), - source: "", - meta: undefined, - }, - "calendar-demo": { - name: "calendar-demo", - description: "", - type: "registry:example", - registryDependencies: ["calendar"], - files: [{ - path: "registry/default/examples/calendar-demo.tsx", - type: "registry:example", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/default/examples/calendar-demo.tsx")), - source: "", - meta: undefined, - }, - "calendar-form": { - name: "calendar-form", - description: "", - type: "registry:example", - registryDependencies: ["calendar","form","popover"], - files: [{ - path: "registry/default/examples/calendar-form.tsx", - type: "registry:example", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/default/examples/calendar-form.tsx")), - source: "", - meta: undefined, - }, - "card-demo": { - name: "card-demo", - description: "", - type: "registry:example", - registryDependencies: ["card","button","switch"], - files: [{ - path: "registry/default/examples/card-demo.tsx", - type: "registry:example", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/default/examples/card-demo.tsx")), - source: "", - meta: undefined, - }, - "card-with-form": { - name: "card-with-form", - description: "", - type: "registry:example", - registryDependencies: ["button","card","input","label","select"], - files: [{ - path: "registry/default/examples/card-with-form.tsx", - type: "registry:example", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/default/examples/card-with-form.tsx")), - source: "", - meta: undefined, - }, - "carousel-demo": { - name: "carousel-demo", - description: "", - type: "registry:example", - registryDependencies: ["carousel"], - files: [{ - path: "registry/default/examples/carousel-demo.tsx", - type: "registry:example", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/default/examples/carousel-demo.tsx")), - source: "", - meta: undefined, - }, - "carousel-size": { - name: "carousel-size", - description: "", - type: "registry:example", - registryDependencies: ["carousel"], - files: [{ - path: "registry/default/examples/carousel-size.tsx", - type: "registry:example", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/default/examples/carousel-size.tsx")), - source: "", - meta: undefined, - }, - "carousel-spacing": { - name: "carousel-spacing", - description: "", - type: "registry:example", - registryDependencies: ["carousel"], - files: [{ - path: "registry/default/examples/carousel-spacing.tsx", - type: "registry:example", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/default/examples/carousel-spacing.tsx")), - source: "", - meta: undefined, - }, - "carousel-orientation": { - name: "carousel-orientation", - description: "", - type: "registry:example", - registryDependencies: ["carousel"], - files: [{ - path: "registry/default/examples/carousel-orientation.tsx", - type: "registry:example", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/default/examples/carousel-orientation.tsx")), - source: "", - meta: undefined, - }, - "carousel-api": { - name: "carousel-api", - description: "", - type: "registry:example", - registryDependencies: ["carousel"], - files: [{ - path: "registry/default/examples/carousel-api.tsx", - type: "registry:example", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/default/examples/carousel-api.tsx")), - source: "", - meta: undefined, - }, - "carousel-plugin": { - name: "carousel-plugin", - description: "", - type: "registry:example", - registryDependencies: ["carousel"], - files: [{ - path: "registry/default/examples/carousel-plugin.tsx", - type: "registry:example", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/default/examples/carousel-plugin.tsx")), - source: "", - meta: undefined, - }, - "checkbox-demo": { - name: "checkbox-demo", - description: "", - type: "registry:example", - registryDependencies: ["checkbox"], - files: [{ - path: "registry/default/examples/checkbox-demo.tsx", - type: "registry:example", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/default/examples/checkbox-demo.tsx")), - source: "", - meta: undefined, - }, - "checkbox-disabled": { - name: "checkbox-disabled", - description: "", - type: "registry:example", - registryDependencies: ["checkbox"], - files: [{ - path: "registry/default/examples/checkbox-disabled.tsx", - type: "registry:example", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/default/examples/checkbox-disabled.tsx")), - source: "", - meta: undefined, - }, - "checkbox-form-multiple": { - name: "checkbox-form-multiple", - description: "", - type: "registry:example", - registryDependencies: ["checkbox","form"], - files: [{ - path: "registry/default/examples/checkbox-form-multiple.tsx", - type: "registry:example", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/default/examples/checkbox-form-multiple.tsx")), - source: "", - meta: undefined, - }, - "checkbox-form-single": { - name: "checkbox-form-single", - description: "", - type: "registry:example", - registryDependencies: ["checkbox","form"], - files: [{ - path: "registry/default/examples/checkbox-form-single.tsx", - type: "registry:example", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/default/examples/checkbox-form-single.tsx")), - source: "", - meta: undefined, - }, - "checkbox-with-text": { - name: "checkbox-with-text", - description: "", - type: "registry:example", - registryDependencies: ["checkbox"], - files: [{ - path: "registry/default/examples/checkbox-with-text.tsx", - type: "registry:example", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/default/examples/checkbox-with-text.tsx")), - source: "", - meta: undefined, - }, - "collapsible-demo": { - name: "collapsible-demo", - description: "", - type: "registry:example", - registryDependencies: ["collapsible"], - files: [{ - path: "registry/default/examples/collapsible-demo.tsx", - type: "registry:example", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/default/examples/collapsible-demo.tsx")), - source: "", - meta: undefined, - }, - "combobox-demo": { - name: "combobox-demo", - description: "", - type: "registry:example", - registryDependencies: ["command"], - files: [{ - path: "registry/default/examples/combobox-demo.tsx", - type: "registry:example", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/default/examples/combobox-demo.tsx")), - source: "", - meta: undefined, - }, - "combobox-dropdown-menu": { - name: "combobox-dropdown-menu", - description: "", - type: "registry:example", - registryDependencies: ["command","dropdown-menu","button"], - files: [{ - path: "registry/default/examples/combobox-dropdown-menu.tsx", - type: "registry:example", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/default/examples/combobox-dropdown-menu.tsx")), - source: "", - meta: undefined, - }, - "combobox-form": { - name: "combobox-form", - description: "", - type: "registry:example", - registryDependencies: ["command","form"], - files: [{ - path: "registry/default/examples/combobox-form.tsx", - type: "registry:example", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/default/examples/combobox-form.tsx")), - source: "", - meta: undefined, - }, - "combobox-popover": { - name: "combobox-popover", - description: "", - type: "registry:example", - registryDependencies: ["combobox","popover"], - files: [{ - path: "registry/default/examples/combobox-popover.tsx", - type: "registry:example", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/default/examples/combobox-popover.tsx")), - source: "", - meta: undefined, - }, - "combobox-responsive": { - name: "combobox-responsive", - description: "", - type: "registry:example", - registryDependencies: ["combobox","popover","drawer"], - files: [{ - path: "registry/default/examples/combobox-responsive.tsx", - type: "registry:example", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/default/examples/combobox-responsive.tsx")), - source: "", - meta: undefined, - }, - "command-demo": { - name: "command-demo", - description: "", - type: "registry:example", - registryDependencies: ["command"], - files: [{ - path: "registry/default/examples/command-demo.tsx", - type: "registry:example", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/default/examples/command-demo.tsx")), - source: "", - meta: undefined, - }, - "command-dialog": { - name: "command-dialog", - description: "", - type: "registry:example", - registryDependencies: ["command","dialog"], - files: [{ - path: "registry/default/examples/command-dialog.tsx", - type: "registry:example", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/default/examples/command-dialog.tsx")), - source: "", - meta: undefined, - }, - "context-menu-demo": { - name: "context-menu-demo", - description: "", - type: "registry:example", - registryDependencies: ["context-menu"], - files: [{ - path: "registry/default/examples/context-menu-demo.tsx", - type: "registry:example", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/default/examples/context-menu-demo.tsx")), - source: "", - meta: undefined, - }, - "data-table-demo": { - name: "data-table-demo", - description: "", - type: "registry:example", - registryDependencies: ["data-table"], - files: [{ - path: "registry/default/examples/data-table-demo.tsx", - type: "registry:example", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/default/examples/data-table-demo.tsx")), - source: "", - meta: undefined, - }, - "date-picker-demo": { - name: "date-picker-demo", - description: "", - type: "registry:example", - registryDependencies: ["button","calendar","popover"], - files: [{ - path: "registry/default/examples/date-picker-demo.tsx", - type: "registry:example", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/default/examples/date-picker-demo.tsx")), - source: "", - meta: undefined, - }, - "date-picker-form": { - name: "date-picker-form", - description: "", - type: "registry:example", - registryDependencies: ["button","calendar","form","popover"], - files: [{ - path: "registry/default/examples/date-picker-form.tsx", - type: "registry:example", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/default/examples/date-picker-form.tsx")), - source: "", - meta: undefined, - }, - "date-picker-with-presets": { - name: "date-picker-with-presets", - description: "", - type: "registry:example", - registryDependencies: ["button","calendar","popover","select"], - files: [{ - path: "registry/default/examples/date-picker-with-presets.tsx", - type: "registry:example", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/default/examples/date-picker-with-presets.tsx")), - source: "", - meta: undefined, - }, - "date-picker-with-range": { - name: "date-picker-with-range", - description: "", - type: "registry:example", - registryDependencies: ["button","calendar","popover"], - files: [{ - path: "registry/default/examples/date-picker-with-range.tsx", - type: "registry:example", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/default/examples/date-picker-with-range.tsx")), - source: "", - meta: undefined, - }, - "dialog-demo": { - name: "dialog-demo", - description: "", - type: "registry:example", - registryDependencies: ["dialog"], - files: [{ - path: "registry/default/examples/dialog-demo.tsx", - type: "registry:example", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/default/examples/dialog-demo.tsx")), - source: "", - meta: undefined, - }, - "dialog-close-button": { - name: "dialog-close-button", - description: "", - type: "registry:example", - registryDependencies: ["dialog","button"], - files: [{ - path: "registry/default/examples/dialog-close-button.tsx", - type: "registry:example", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/default/examples/dialog-close-button.tsx")), - source: "", - meta: undefined, - }, - "drawer-demo": { - name: "drawer-demo", - description: "", - type: "registry:example", - registryDependencies: ["drawer"], - files: [{ - path: "registry/default/examples/drawer-demo.tsx", - type: "registry:example", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/default/examples/drawer-demo.tsx")), - source: "", - meta: undefined, - }, - "drawer-dialog": { - name: "drawer-dialog", - description: "", - type: "registry:example", - registryDependencies: ["drawer","dialog"], - files: [{ - path: "registry/default/examples/drawer-dialog.tsx", - type: "registry:example", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/default/examples/drawer-dialog.tsx")), - source: "", - meta: undefined, - }, - "dropdown-menu-demo": { - name: "dropdown-menu-demo", - description: "", - type: "registry:example", - registryDependencies: ["dropdown-menu"], - files: [{ - path: "registry/default/examples/dropdown-menu-demo.tsx", - type: "registry:example", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/default/examples/dropdown-menu-demo.tsx")), - source: "", - meta: undefined, - }, - "dropdown-menu-checkboxes": { - name: "dropdown-menu-checkboxes", - description: "", - type: "registry:example", - registryDependencies: ["dropdown-menu","checkbox"], - files: [{ - path: "registry/default/examples/dropdown-menu-checkboxes.tsx", - type: "registry:example", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/default/examples/dropdown-menu-checkboxes.tsx")), - source: "", - meta: undefined, - }, - "dropdown-menu-radio-group": { - name: "dropdown-menu-radio-group", - description: "", - type: "registry:example", - registryDependencies: ["dropdown-menu","radio-group"], - files: [{ - path: "registry/default/examples/dropdown-menu-radio-group.tsx", - type: "registry:example", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/default/examples/dropdown-menu-radio-group.tsx")), - source: "", - meta: undefined, - }, - "hover-card-demo": { - name: "hover-card-demo", - description: "", - type: "registry:example", - registryDependencies: ["hover-card"], - files: [{ - path: "registry/default/examples/hover-card-demo.tsx", - type: "registry:example", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/default/examples/hover-card-demo.tsx")), - source: "", - meta: undefined, - }, - "input-demo": { - name: "input-demo", - description: "", - type: "registry:example", - registryDependencies: ["input"], - files: [{ - path: "registry/default/examples/input-demo.tsx", - type: "registry:example", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/default/examples/input-demo.tsx")), - source: "", - meta: undefined, - }, - "input-disabled": { - name: "input-disabled", - description: "", - type: "registry:example", - registryDependencies: ["input"], - files: [{ - path: "registry/default/examples/input-disabled.tsx", - type: "registry:example", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/default/examples/input-disabled.tsx")), - source: "", - meta: undefined, - }, - "input-file": { - name: "input-file", - description: "", - type: "registry:example", - registryDependencies: ["input"], - files: [{ - path: "registry/default/examples/input-file.tsx", - type: "registry:example", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/default/examples/input-file.tsx")), - source: "", - meta: undefined, - }, - "input-form": { - name: "input-form", - description: "", - type: "registry:example", - registryDependencies: ["input","button","form"], - files: [{ - path: "registry/default/examples/input-form.tsx", - type: "registry:example", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/default/examples/input-form.tsx")), - source: "", - meta: undefined, - }, - "input-with-button": { - name: "input-with-button", - description: "", - type: "registry:example", - registryDependencies: ["input","button"], - files: [{ - path: "registry/default/examples/input-with-button.tsx", - type: "registry:example", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/default/examples/input-with-button.tsx")), - source: "", - meta: undefined, - }, - "input-with-label": { - name: "input-with-label", - description: "", - type: "registry:example", - registryDependencies: ["input","button","label"], - files: [{ - path: "registry/default/examples/input-with-label.tsx", - type: "registry:example", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/default/examples/input-with-label.tsx")), - source: "", - meta: undefined, - }, - "input-with-text": { - name: "input-with-text", - description: "", - type: "registry:example", - registryDependencies: ["input","button","label"], - files: [{ - path: "registry/default/examples/input-with-text.tsx", - type: "registry:example", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/default/examples/input-with-text.tsx")), - source: "", - meta: undefined, - }, - "input-otp-demo": { - name: "input-otp-demo", - description: "", - type: "registry:example", - registryDependencies: ["input-otp"], - files: [{ - path: "registry/default/examples/input-otp-demo.tsx", - type: "registry:example", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/default/examples/input-otp-demo.tsx")), - source: "", - meta: undefined, - }, - "input-otp-pattern": { - name: "input-otp-pattern", - description: "", - type: "registry:example", - registryDependencies: ["input-otp"], - files: [{ - path: "registry/default/examples/input-otp-pattern.tsx", - type: "registry:example", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/default/examples/input-otp-pattern.tsx")), - source: "", - meta: undefined, - }, - "input-otp-separator": { - name: "input-otp-separator", - description: "", - type: "registry:example", - registryDependencies: ["input-otp"], - files: [{ - path: "registry/default/examples/input-otp-separator.tsx", - type: "registry:example", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/default/examples/input-otp-separator.tsx")), - source: "", - meta: undefined, - }, - "input-otp-controlled": { - name: "input-otp-controlled", - description: "", - type: "registry:example", - registryDependencies: ["input-otp"], - files: [{ - path: "registry/default/examples/input-otp-controlled.tsx", - type: "registry:example", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/default/examples/input-otp-controlled.tsx")), - source: "", - meta: undefined, - }, - "input-otp-form": { - name: "input-otp-form", - description: "", - type: "registry:example", - registryDependencies: ["input-otp","form"], - files: [{ - path: "registry/default/examples/input-otp-form.tsx", - type: "registry:example", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/default/examples/input-otp-form.tsx")), - source: "", - meta: undefined, - }, - "label-demo": { - name: "label-demo", - description: "", - type: "registry:example", - registryDependencies: ["label"], - files: [{ - path: "registry/default/examples/label-demo.tsx", - type: "registry:example", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/default/examples/label-demo.tsx")), - source: "", - meta: undefined, - }, - "menubar-demo": { - name: "menubar-demo", - description: "", - type: "registry:example", - registryDependencies: ["menubar"], - files: [{ - path: "registry/default/examples/menubar-demo.tsx", - type: "registry:example", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/default/examples/menubar-demo.tsx")), - source: "", - meta: undefined, - }, - "navigation-menu-demo": { - name: "navigation-menu-demo", - description: "", - type: "registry:example", - registryDependencies: ["navigation-menu"], - files: [{ - path: "registry/default/examples/navigation-menu-demo.tsx", - type: "registry:example", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/default/examples/navigation-menu-demo.tsx")), - source: "", - meta: undefined, - }, - "pagination-demo": { - name: "pagination-demo", - description: "", - type: "registry:example", - registryDependencies: ["pagination"], - files: [{ - path: "registry/default/examples/pagination-demo.tsx", - type: "registry:example", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/default/examples/pagination-demo.tsx")), - source: "", - meta: undefined, - }, - "popover-demo": { - name: "popover-demo", - description: "", - type: "registry:example", - registryDependencies: ["popover"], - files: [{ - path: "registry/default/examples/popover-demo.tsx", - type: "registry:example", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/default/examples/popover-demo.tsx")), - source: "", - meta: undefined, - }, - "progress-demo": { - name: "progress-demo", - description: "", - type: "registry:example", - registryDependencies: ["progress"], - files: [{ - path: "registry/default/examples/progress-demo.tsx", - type: "registry:example", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/default/examples/progress-demo.tsx")), - source: "", - meta: undefined, - }, - "radio-group-demo": { - name: "radio-group-demo", - description: "", - type: "registry:example", - registryDependencies: ["radio-group"], - files: [{ - path: "registry/default/examples/radio-group-demo.tsx", - type: "registry:example", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/default/examples/radio-group-demo.tsx")), - source: "", - meta: undefined, - }, - "radio-group-form": { - name: "radio-group-form", - description: "", - type: "registry:example", - registryDependencies: ["radio-group","form"], - files: [{ - path: "registry/default/examples/radio-group-form.tsx", - type: "registry:example", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/default/examples/radio-group-form.tsx")), - source: "", - meta: undefined, - }, - "resizable-demo": { - name: "resizable-demo", - description: "", - type: "registry:example", - registryDependencies: ["resizable"], - files: [{ - path: "registry/default/examples/resizable-demo.tsx", - type: "registry:example", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/default/examples/resizable-demo.tsx")), - source: "", - meta: undefined, - }, - "resizable-demo-with-handle": { - name: "resizable-demo-with-handle", - description: "", - type: "registry:example", - registryDependencies: ["resizable"], - files: [{ - path: "registry/default/examples/resizable-demo-with-handle.tsx", - type: "registry:example", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/default/examples/resizable-demo-with-handle.tsx")), - source: "", - meta: undefined, - }, - "resizable-vertical": { - name: "resizable-vertical", - description: "", - type: "registry:example", - registryDependencies: ["resizable"], - files: [{ - path: "registry/default/examples/resizable-vertical.tsx", - type: "registry:example", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/default/examples/resizable-vertical.tsx")), - source: "", - meta: undefined, - }, - "resizable-handle": { - name: "resizable-handle", - description: "", - type: "registry:example", - registryDependencies: ["resizable"], - files: [{ - path: "registry/default/examples/resizable-handle.tsx", - type: "registry:example", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/default/examples/resizable-handle.tsx")), - source: "", - meta: undefined, - }, - "scroll-area-demo": { - name: "scroll-area-demo", - description: "", - type: "registry:example", - registryDependencies: ["scroll-area"], - files: [{ - path: "registry/default/examples/scroll-area-demo.tsx", - type: "registry:example", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/default/examples/scroll-area-demo.tsx")), - source: "", - meta: undefined, - }, - "scroll-area-horizontal-demo": { - name: "scroll-area-horizontal-demo", - description: "", - type: "registry:example", - registryDependencies: ["scroll-area"], - files: [{ - path: "registry/default/examples/scroll-area-horizontal-demo.tsx", - type: "registry:example", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/default/examples/scroll-area-horizontal-demo.tsx")), - source: "", - meta: undefined, - }, - "select-demo": { - name: "select-demo", - description: "", - type: "registry:example", - registryDependencies: ["select"], - files: [{ - path: "registry/default/examples/select-demo.tsx", - type: "registry:example", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/default/examples/select-demo.tsx")), - source: "", - meta: undefined, - }, - "select-scrollable": { - name: "select-scrollable", - description: "", - type: "registry:example", - registryDependencies: ["select"], - files: [{ - path: "registry/default/examples/select-scrollable.tsx", - type: "registry:example", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/default/examples/select-scrollable.tsx")), - source: "", - meta: undefined, - }, - "select-form": { - name: "select-form", - description: "", - type: "registry:example", - registryDependencies: ["select"], - files: [{ - path: "registry/default/examples/select-form.tsx", - type: "registry:example", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/default/examples/select-form.tsx")), - source: "", - meta: undefined, - }, - "separator-demo": { - name: "separator-demo", - description: "", - type: "registry:example", - registryDependencies: ["separator"], - files: [{ - path: "registry/default/examples/separator-demo.tsx", - type: "registry:example", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/default/examples/separator-demo.tsx")), - source: "", - meta: undefined, - }, - "sheet-demo": { - name: "sheet-demo", - description: "", - type: "registry:example", - registryDependencies: ["sheet"], - files: [{ - path: "registry/default/examples/sheet-demo.tsx", - type: "registry:example", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/default/examples/sheet-demo.tsx")), - source: "", - meta: undefined, - }, - "sheet-side": { - name: "sheet-side", - description: "", - type: "registry:example", - registryDependencies: ["sheet"], - files: [{ - path: "registry/default/examples/sheet-side.tsx", - type: "registry:example", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/default/examples/sheet-side.tsx")), - source: "", - meta: undefined, - }, - "skeleton-demo": { - name: "skeleton-demo", - description: "", - type: "registry:example", - registryDependencies: ["skeleton"], - files: [{ - path: "registry/default/examples/skeleton-demo.tsx", - type: "registry:example", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/default/examples/skeleton-demo.tsx")), - source: "", - meta: undefined, - }, - "skeleton-card": { - name: "skeleton-card", - description: "", - type: "registry:example", - registryDependencies: ["skeleton"], - files: [{ - path: "registry/default/examples/skeleton-card.tsx", - type: "registry:example", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/default/examples/skeleton-card.tsx")), - source: "", - meta: undefined, - }, - "slider-demo": { - name: "slider-demo", - description: "", - type: "registry:example", - registryDependencies: ["slider"], - files: [{ - path: "registry/default/examples/slider-demo.tsx", - type: "registry:example", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/default/examples/slider-demo.tsx")), - source: "", - meta: undefined, - }, - "sonner-demo": { - name: "sonner-demo", - description: "", - type: "registry:example", - registryDependencies: ["sonner"], - files: [{ - path: "registry/default/examples/sonner-demo.tsx", - type: "registry:example", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/default/examples/sonner-demo.tsx")), - source: "", - meta: undefined, - }, - "switch-demo": { - name: "switch-demo", - description: "", - type: "registry:example", - registryDependencies: ["switch"], - files: [{ - path: "registry/default/examples/switch-demo.tsx", - type: "registry:example", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/default/examples/switch-demo.tsx")), - source: "", - meta: undefined, - }, - "switch-form": { - name: "switch-form", - description: "", - type: "registry:example", - registryDependencies: ["switch","form"], - files: [{ - path: "registry/default/examples/switch-form.tsx", - type: "registry:example", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/default/examples/switch-form.tsx")), - source: "", - meta: undefined, - }, - "table-demo": { - name: "table-demo", - description: "", - type: "registry:example", - registryDependencies: ["table"], - files: [{ - path: "registry/default/examples/table-demo.tsx", - type: "registry:example", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/default/examples/table-demo.tsx")), - source: "", - meta: undefined, - }, - "tabs-demo": { - name: "tabs-demo", - description: "", - type: "registry:example", - registryDependencies: ["tabs"], - files: [{ - path: "registry/default/examples/tabs-demo.tsx", - type: "registry:example", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/default/examples/tabs-demo.tsx")), - source: "", - meta: undefined, - }, - "textarea-demo": { - name: "textarea-demo", - description: "", - type: "registry:example", - registryDependencies: ["textarea"], - files: [{ - path: "registry/default/examples/textarea-demo.tsx", - type: "registry:example", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/default/examples/textarea-demo.tsx")), - source: "", - meta: undefined, - }, - "textarea-disabled": { - name: "textarea-disabled", - description: "", - type: "registry:example", - registryDependencies: ["textarea"], - files: [{ - path: "registry/default/examples/textarea-disabled.tsx", - type: "registry:example", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/default/examples/textarea-disabled.tsx")), - source: "", - meta: undefined, - }, - "textarea-form": { - name: "textarea-form", - description: "", - type: "registry:example", - registryDependencies: ["textarea","form"], - files: [{ - path: "registry/default/examples/textarea-form.tsx", - type: "registry:example", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/default/examples/textarea-form.tsx")), - source: "", - meta: undefined, - }, - "textarea-with-button": { - name: "textarea-with-button", - description: "", - type: "registry:example", - registryDependencies: ["textarea","button"], - files: [{ - path: "registry/default/examples/textarea-with-button.tsx", - type: "registry:example", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/default/examples/textarea-with-button.tsx")), - source: "", - meta: undefined, - }, - "textarea-with-label": { - name: "textarea-with-label", - description: "", - type: "registry:example", - registryDependencies: ["textarea","label"], - files: [{ - path: "registry/default/examples/textarea-with-label.tsx", - type: "registry:example", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/default/examples/textarea-with-label.tsx")), - source: "", - meta: undefined, - }, - "textarea-with-text": { - name: "textarea-with-text", - description: "", - type: "registry:example", - registryDependencies: ["textarea","label"], - files: [{ - path: "registry/default/examples/textarea-with-text.tsx", - type: "registry:example", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/default/examples/textarea-with-text.tsx")), - source: "", - meta: undefined, - }, - "toast-demo": { - name: "toast-demo", - description: "", - type: "registry:example", - registryDependencies: ["toast"], - files: [{ - path: "registry/default/examples/toast-demo.tsx", - type: "registry:example", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/default/examples/toast-demo.tsx")), - source: "", - meta: undefined, - }, - "toast-destructive": { - name: "toast-destructive", - description: "", - type: "registry:example", - registryDependencies: ["toast"], - files: [{ - path: "registry/default/examples/toast-destructive.tsx", - type: "registry:example", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/default/examples/toast-destructive.tsx")), - source: "", - meta: undefined, - }, - "toast-simple": { - name: "toast-simple", - description: "", - type: "registry:example", - registryDependencies: ["toast"], - files: [{ - path: "registry/default/examples/toast-simple.tsx", - type: "registry:example", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/default/examples/toast-simple.tsx")), - source: "", - meta: undefined, - }, - "toast-with-action": { - name: "toast-with-action", - description: "", - type: "registry:example", - registryDependencies: ["toast"], - files: [{ - path: "registry/default/examples/toast-with-action.tsx", - type: "registry:example", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/default/examples/toast-with-action.tsx")), - source: "", - meta: undefined, - }, - "toast-with-title": { - name: "toast-with-title", - description: "", - type: "registry:example", - registryDependencies: ["toast"], - files: [{ - path: "registry/default/examples/toast-with-title.tsx", - type: "registry:example", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/default/examples/toast-with-title.tsx")), - source: "", - meta: undefined, - }, - "toggle-group-demo": { - name: "toggle-group-demo", - description: "", - type: "registry:example", - registryDependencies: ["toggle-group"], - files: [{ - path: "registry/default/examples/toggle-group-demo.tsx", - type: "registry:example", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/default/examples/toggle-group-demo.tsx")), - source: "", - meta: undefined, - }, - "toggle-group-disabled": { - name: "toggle-group-disabled", - description: "", - type: "registry:example", - registryDependencies: ["toggle-group"], - files: [{ - path: "registry/default/examples/toggle-group-disabled.tsx", - type: "registry:example", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/default/examples/toggle-group-disabled.tsx")), - source: "", - meta: undefined, - }, - "toggle-group-lg": { - name: "toggle-group-lg", - description: "", - type: "registry:example", - registryDependencies: ["toggle-group"], - files: [{ - path: "registry/default/examples/toggle-group-lg.tsx", - type: "registry:example", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/default/examples/toggle-group-lg.tsx")), - source: "", - meta: undefined, - }, - "toggle-group-outline": { - name: "toggle-group-outline", - description: "", - type: "registry:example", - registryDependencies: ["toggle-group"], - files: [{ - path: "registry/default/examples/toggle-group-outline.tsx", - type: "registry:example", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/default/examples/toggle-group-outline.tsx")), - source: "", - meta: undefined, - }, - "toggle-group-sm": { - name: "toggle-group-sm", - description: "", - type: "registry:example", - registryDependencies: ["toggle-group"], - files: [{ - path: "registry/default/examples/toggle-group-sm.tsx", - type: "registry:example", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/default/examples/toggle-group-sm.tsx")), - source: "", - meta: undefined, - }, - "toggle-group-single": { - name: "toggle-group-single", - description: "", - type: "registry:example", - registryDependencies: ["toggle-group"], - files: [{ - path: "registry/default/examples/toggle-group-single.tsx", - type: "registry:example", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/default/examples/toggle-group-single.tsx")), - source: "", - meta: undefined, - }, - "toggle-demo": { - name: "toggle-demo", - description: "", - type: "registry:example", - registryDependencies: ["toggle"], - files: [{ - path: "registry/default/examples/toggle-demo.tsx", - type: "registry:example", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/default/examples/toggle-demo.tsx")), - source: "", - meta: undefined, - }, - "toggle-disabled": { - name: "toggle-disabled", - description: "", - type: "registry:example", - registryDependencies: ["toggle"], - files: [{ - path: "registry/default/examples/toggle-disabled.tsx", - type: "registry:example", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/default/examples/toggle-disabled.tsx")), - source: "", - meta: undefined, - }, - "toggle-lg": { - name: "toggle-lg", - description: "", - type: "registry:example", - registryDependencies: ["toggle"], - files: [{ - path: "registry/default/examples/toggle-lg.tsx", - type: "registry:example", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/default/examples/toggle-lg.tsx")), - source: "", - meta: undefined, - }, - "toggle-outline": { - name: "toggle-outline", - description: "", - type: "registry:example", - registryDependencies: ["toggle"], - files: [{ - path: "registry/default/examples/toggle-outline.tsx", - type: "registry:example", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/default/examples/toggle-outline.tsx")), - source: "", - meta: undefined, - }, - "toggle-sm": { - name: "toggle-sm", - description: "", - type: "registry:example", - registryDependencies: ["toggle"], - files: [{ - path: "registry/default/examples/toggle-sm.tsx", - type: "registry:example", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/default/examples/toggle-sm.tsx")), - source: "", - meta: undefined, - }, - "toggle-with-text": { - name: "toggle-with-text", - description: "", - type: "registry:example", - registryDependencies: ["toggle"], - files: [{ - path: "registry/default/examples/toggle-with-text.tsx", - type: "registry:example", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/default/examples/toggle-with-text.tsx")), - source: "", - meta: undefined, - }, - "tooltip-demo": { - name: "tooltip-demo", - description: "", - type: "registry:example", - registryDependencies: ["tooltip"], - files: [{ - path: "registry/default/examples/tooltip-demo.tsx", - type: "registry:example", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/default/examples/tooltip-demo.tsx")), - source: "", - meta: undefined, - }, - "typography-blockquote": { - name: "typography-blockquote", - description: "", - type: "registry:example", - registryDependencies: undefined, - files: [{ - path: "registry/default/examples/typography-blockquote.tsx", - type: "registry:example", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/default/examples/typography-blockquote.tsx")), - source: "", - meta: undefined, - }, - "typography-demo": { - name: "typography-demo", - description: "", - type: "registry:example", - registryDependencies: undefined, - files: [{ - path: "registry/default/examples/typography-demo.tsx", - type: "registry:example", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/default/examples/typography-demo.tsx")), - source: "", - meta: undefined, - }, - "typography-h1": { - name: "typography-h1", - description: "", - type: "registry:example", - registryDependencies: undefined, - files: [{ - path: "registry/default/examples/typography-h1.tsx", - type: "registry:example", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/default/examples/typography-h1.tsx")), - source: "", - meta: undefined, - }, - "typography-h2": { - name: "typography-h2", - description: "", - type: "registry:example", - registryDependencies: undefined, - files: [{ - path: "registry/default/examples/typography-h2.tsx", - type: "registry:example", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/default/examples/typography-h2.tsx")), - source: "", - meta: undefined, - }, - "typography-h3": { - name: "typography-h3", - description: "", - type: "registry:example", - registryDependencies: undefined, - files: [{ - path: "registry/default/examples/typography-h3.tsx", - type: "registry:example", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/default/examples/typography-h3.tsx")), - source: "", - meta: undefined, - }, - "typography-h4": { - name: "typography-h4", - description: "", - type: "registry:example", - registryDependencies: undefined, - files: [{ - path: "registry/default/examples/typography-h4.tsx", - type: "registry:example", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/default/examples/typography-h4.tsx")), - source: "", - meta: undefined, - }, - "typography-inline-code": { - name: "typography-inline-code", - description: "", - type: "registry:example", - registryDependencies: undefined, - files: [{ - path: "registry/default/examples/typography-inline-code.tsx", - type: "registry:example", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/default/examples/typography-inline-code.tsx")), - source: "", - meta: undefined, - }, - "typography-large": { - name: "typography-large", - description: "", - type: "registry:example", - registryDependencies: undefined, - files: [{ - path: "registry/default/examples/typography-large.tsx", - type: "registry:example", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/default/examples/typography-large.tsx")), - source: "", - meta: undefined, - }, - "typography-lead": { - name: "typography-lead", - description: "", - type: "registry:example", - registryDependencies: undefined, - files: [{ - path: "registry/default/examples/typography-lead.tsx", - type: "registry:example", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/default/examples/typography-lead.tsx")), - source: "", - meta: undefined, - }, - "typography-list": { - name: "typography-list", - description: "", - type: "registry:example", - registryDependencies: undefined, - files: [{ - path: "registry/default/examples/typography-list.tsx", - type: "registry:example", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/default/examples/typography-list.tsx")), - source: "", - meta: undefined, - }, - "typography-muted": { - name: "typography-muted", - description: "", - type: "registry:example", - registryDependencies: undefined, - files: [{ - path: "registry/default/examples/typography-muted.tsx", - type: "registry:example", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/default/examples/typography-muted.tsx")), - source: "", - meta: undefined, - }, - "typography-p": { - name: "typography-p", - description: "", - type: "registry:example", - registryDependencies: undefined, - files: [{ - path: "registry/default/examples/typography-p.tsx", - type: "registry:example", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/default/examples/typography-p.tsx")), - source: "", - meta: undefined, - }, - "typography-small": { - name: "typography-small", - description: "", - type: "registry:example", - registryDependencies: undefined, - files: [{ - path: "registry/default/examples/typography-small.tsx", - type: "registry:example", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/default/examples/typography-small.tsx")), - source: "", - meta: undefined, - }, - "typography-table": { - name: "typography-table", - description: "", - type: "registry:example", - registryDependencies: undefined, - files: [{ - path: "registry/default/examples/typography-table.tsx", - type: "registry:example", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/default/examples/typography-table.tsx")), - source: "", - meta: undefined, - }, - "mode-toggle": { - name: "mode-toggle", - description: "", - type: "registry:example", - registryDependencies: undefined, - files: [{ - path: "registry/default/examples/mode-toggle.tsx", - type: "registry:example", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/default/examples/mode-toggle.tsx")), - source: "", - meta: undefined, - }, - "chart-bar-demo": { - name: "chart-bar-demo", - description: "", - type: "registry:example", - registryDependencies: undefined, - files: [{ - path: "registry/default/examples/chart-bar-demo.tsx", - type: "registry:example", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/default/examples/chart-bar-demo.tsx")), - source: "", - meta: undefined, - }, - "chart-bar-demo-grid": { - name: "chart-bar-demo-grid", - description: "", - type: "registry:example", - registryDependencies: undefined, - files: [{ - path: "registry/default/examples/chart-bar-demo-grid.tsx", - type: "registry:example", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/default/examples/chart-bar-demo-grid.tsx")), - source: "", - meta: undefined, - }, - "chart-bar-demo-axis": { - name: "chart-bar-demo-axis", - description: "", - type: "registry:example", - registryDependencies: undefined, - files: [{ - path: "registry/default/examples/chart-bar-demo-axis.tsx", - type: "registry:example", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/default/examples/chart-bar-demo-axis.tsx")), - source: "", - meta: undefined, - }, - "chart-bar-demo-tooltip": { - name: "chart-bar-demo-tooltip", - description: "", - type: "registry:example", - registryDependencies: undefined, - files: [{ - path: "registry/default/examples/chart-bar-demo-tooltip.tsx", - type: "registry:example", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/default/examples/chart-bar-demo-tooltip.tsx")), - source: "", - meta: undefined, - }, - "chart-bar-demo-legend": { - name: "chart-bar-demo-legend", - description: "", - type: "registry:example", - registryDependencies: undefined, - files: [{ - path: "registry/default/examples/chart-bar-demo-legend.tsx", - type: "registry:example", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/default/examples/chart-bar-demo-legend.tsx")), - source: "", - meta: undefined, - }, - "chart-tooltip-demo": { - name: "chart-tooltip-demo", - description: "", - type: "registry:example", - registryDependencies: undefined, - files: [{ - path: "registry/default/examples/chart-tooltip-demo.tsx", - type: "registry:example", - target: "" - }], - categories: undefined, - component: React.lazy(() => import("@/registry/default/examples/chart-tooltip-demo.tsx")), - source: "", - meta: undefined, - }, - }, -} diff --git a/deprecated/www/__registry__/new-york/block/sidebar-16/page.tsx b/deprecated/www/__registry__/new-york/block/sidebar-16/page.tsx deleted file mode 100644 index d639e07c2e..0000000000 --- a/deprecated/www/__registry__/new-york/block/sidebar-16/page.tsx +++ /dev/null @@ -1,134 +0,0 @@ -"use client" - -import * as React from "react" -import { Command, Sidebar } from "lucide-react" - -import { AppSidebar } from "@/registry/new-york/block/sidebar-16/components/app-sidebar" -import { - Breadcrumb, - BreadcrumbItem, - BreadcrumbLink, - BreadcrumbList, - BreadcrumbPage, - BreadcrumbSeparator, -} from "@/registry/new-york/ui/breadcrumb" -import { Button } from "@/registry/new-york/ui/button" -import { Separator } from "@/registry/new-york/ui/separator" -import { - SidebarInset, - SidebarProvider, - SidebarTrigger, -} from "@/registry/new-york/ui/sidebar" - -export const iframeHeight = "800px" - -export const description = "An inset sidebar with site header navigation." - -const HEADER_HEIGHT = "4rem" - -export default function Page() { - const [open, setOpen] = React.useState(true) - - return ( -
-
- -
- - - - -
-
-
- - -
- - - - - Building Your Application - - - - - Data Fetching - - - -
-
-
-
-
-
-
-
-
-
- - -
- ) -} diff --git a/deprecated/www/__registry__/new-york/blocks/app-01/page.tsx b/deprecated/www/__registry__/new-york/blocks/app-01/page.tsx deleted file mode 100644 index cd86b7dc4f..0000000000 --- a/deprecated/www/__registry__/new-york/blocks/app-01/page.tsx +++ /dev/null @@ -1,27 +0,0 @@ -import { AddTaskForm } from "@/registry/new-york/blocks/app-01/components/add-task-form" -import { TasksList } from "@/registry/new-york/blocks/app-01/components/tasks-list" -import { - Card, - CardContent, - CardFooter, - CardHeader, - CardTitle, -} from "@/registry/new-york/ui/card" - -export default function AppPage() { - return ( -
- - - Add Task - - - - - - - - -
- ) -} diff --git a/deprecated/www/__registry__/new-york/blocks/button-01/page.tsx b/deprecated/www/__registry__/new-york/blocks/button-01/page.tsx deleted file mode 100644 index da382c533c..0000000000 --- a/deprecated/www/__registry__/new-york/blocks/button-01/page.tsx +++ /dev/null @@ -1,9 +0,0 @@ -import { AmazingButton } from "@/registry/new-york/blocks/button-01/components/amazing-button" - -export default function Page() { - return ( -
- -
- ) -} diff --git a/deprecated/www/__registry__/new-york/blocks/calendar-01.tsx b/deprecated/www/__registry__/new-york/blocks/calendar-01.tsx deleted file mode 100644 index 6ec892f267..0000000000 --- a/deprecated/www/__registry__/new-york/blocks/calendar-01.tsx +++ /dev/null @@ -1,21 +0,0 @@ -"use client" - -import * as React from "react" - -import { Calendar } from "@/registry/new-york/ui/calendar" - -export default function Calendar01() { - const [date, setDate] = React.useState( - new Date(2025, 5, 12) - ) - - return ( - - ) -} diff --git a/deprecated/www/__registry__/new-york/blocks/calendar-02.tsx b/deprecated/www/__registry__/new-york/blocks/calendar-02.tsx deleted file mode 100644 index ec4099fc80..0000000000 --- a/deprecated/www/__registry__/new-york/blocks/calendar-02.tsx +++ /dev/null @@ -1,22 +0,0 @@ -"use client" - -import * as React from "react" - -import { Calendar } from "@/registry/new-york/ui/calendar" - -export default function Calendar02() { - const [date, setDate] = React.useState( - new Date(2025, 5, 12) - ) - - return ( - - ) -} diff --git a/deprecated/www/__registry__/new-york/blocks/calendar-03.tsx b/deprecated/www/__registry__/new-york/blocks/calendar-03.tsx deleted file mode 100644 index fa06eb391f..0000000000 --- a/deprecated/www/__registry__/new-york/blocks/calendar-03.tsx +++ /dev/null @@ -1,25 +0,0 @@ -"use client" - -import * as React from "react" - -import { Calendar } from "@/registry/new-york/ui/calendar" - -export default function Calendar03() { - const [dates, setDates] = React.useState([ - new Date(2025, 5, 12), - new Date(2025, 6, 24), - ]) - - return ( - - ) -} diff --git a/deprecated/www/__registry__/new-york/blocks/calendar-04.tsx b/deprecated/www/__registry__/new-york/blocks/calendar-04.tsx deleted file mode 100644 index d3f823baf8..0000000000 --- a/deprecated/www/__registry__/new-york/blocks/calendar-04.tsx +++ /dev/null @@ -1,23 +0,0 @@ -"use client" - -import * as React from "react" -import { type DateRange } from "react-day-picker" - -import { Calendar } from "@/registry/new-york/ui/calendar" - -export default function Calendar04() { - const [dateRange, setDateRange] = React.useState({ - from: new Date(2025, 5, 9), - to: new Date(2025, 5, 26), - }) - - return ( - - ) -} diff --git a/deprecated/www/__registry__/new-york/blocks/calendar-05.tsx b/deprecated/www/__registry__/new-york/blocks/calendar-05.tsx deleted file mode 100644 index ec01627f23..0000000000 --- a/deprecated/www/__registry__/new-york/blocks/calendar-05.tsx +++ /dev/null @@ -1,24 +0,0 @@ -"use client" - -import * as React from "react" -import { type DateRange } from "react-day-picker" - -import { Calendar } from "@/registry/new-york/ui/calendar" - -export default function Calendar05() { - const [dateRange, setDateRange] = React.useState({ - from: new Date(2025, 5, 12), - to: new Date(2025, 6, 15), - }) - - return ( - - ) -} diff --git a/deprecated/www/__registry__/new-york/blocks/calendar-06.tsx b/deprecated/www/__registry__/new-york/blocks/calendar-06.tsx deleted file mode 100644 index 9d8cc09c9d..0000000000 --- a/deprecated/www/__registry__/new-york/blocks/calendar-06.tsx +++ /dev/null @@ -1,30 +0,0 @@ -"use client" - -import * as React from "react" -import { type DateRange } from "react-day-picker" - -import { Calendar } from "@/registry/new-york/ui/calendar" - -export default function Calendar06() { - const [dateRange, setDateRange] = React.useState({ - from: new Date(2025, 5, 12), - to: new Date(2025, 5, 26), - }) - - return ( -
- -
- A minimum of 5 days is required -
-
- ) -} diff --git a/deprecated/www/__registry__/new-york/blocks/calendar-07.tsx b/deprecated/www/__registry__/new-york/blocks/calendar-07.tsx deleted file mode 100644 index 26651effb9..0000000000 --- a/deprecated/www/__registry__/new-york/blocks/calendar-07.tsx +++ /dev/null @@ -1,31 +0,0 @@ -"use client" - -import * as React from "react" -import { type DateRange } from "react-day-picker" - -import { Calendar } from "@/registry/new-york/ui/calendar" - -export default function Calendar07() { - const [dateRange, setDateRange] = React.useState({ - from: new Date(2025, 5, 18), - to: new Date(2025, 6, 7), - }) - - return ( -
- -
- Your stay must be between 2 and 20 nights -
-
- ) -} diff --git a/deprecated/www/__registry__/new-york/blocks/calendar-08.tsx b/deprecated/www/__registry__/new-york/blocks/calendar-08.tsx deleted file mode 100644 index 094f975b2d..0000000000 --- a/deprecated/www/__registry__/new-york/blocks/calendar-08.tsx +++ /dev/null @@ -1,24 +0,0 @@ -"use client" - -import * as React from "react" - -import { Calendar } from "@/registry/new-york/ui/calendar" - -export default function Calendar08() { - const [date, setDate] = React.useState( - new Date(2025, 5, 12) - ) - - return ( - - ) -} diff --git a/deprecated/www/__registry__/new-york/blocks/calendar-09.tsx b/deprecated/www/__registry__/new-york/blocks/calendar-09.tsx deleted file mode 100644 index f46cb5b13e..0000000000 --- a/deprecated/www/__registry__/new-york/blocks/calendar-09.tsx +++ /dev/null @@ -1,26 +0,0 @@ -"use client" - -import * as React from "react" -import { type DateRange } from "react-day-picker" - -import { Calendar } from "@/registry/new-york/ui/calendar" - -export default function Calendar09() { - const [dateRange, setDateRange] = React.useState({ - from: new Date(2025, 5, 17), - to: new Date(2025, 5, 20), - }) - - return ( - - ) -} diff --git a/deprecated/www/__registry__/new-york/blocks/calendar-10.tsx b/deprecated/www/__registry__/new-york/blocks/calendar-10.tsx deleted file mode 100644 index 05e48d5300..0000000000 --- a/deprecated/www/__registry__/new-york/blocks/calendar-10.tsx +++ /dev/null @@ -1,50 +0,0 @@ -"use client" - -import * as React from "react" - -import { Button } from "@/registry/new-york/ui/button" -import { Calendar } from "@/registry/new-york/ui/calendar" -import { - Card, - CardContent, - CardDescription, - CardHeader, - CardTitle, -} from "@/registry/new-york/ui/card" - -export default function Calendar10() { - const [date, setDate] = React.useState( - new Date(2025, 5, 12) - ) - const [month, setMonth] = React.useState(new Date()) - - return ( - - - Appointment - Find a date - - - - - - - ) -} diff --git a/deprecated/www/__registry__/new-york/blocks/calendar-11.tsx b/deprecated/www/__registry__/new-york/blocks/calendar-11.tsx deleted file mode 100644 index 10a58ba3cd..0000000000 --- a/deprecated/www/__registry__/new-york/blocks/calendar-11.tsx +++ /dev/null @@ -1,31 +0,0 @@ -"use client" - -import * as React from "react" -import { type DateRange } from "react-day-picker" - -import { Calendar } from "@/registry/new-york/ui/calendar" - -export default function Calendar11() { - const [dateRange, setDateRange] = React.useState({ - from: new Date(2025, 5, 17), - to: new Date(2025, 5, 20), - }) - - return ( -
- -
- We are open in June and July only. -
-
- ) -} diff --git a/deprecated/www/__registry__/new-york/blocks/calendar-12.tsx b/deprecated/www/__registry__/new-york/blocks/calendar-12.tsx deleted file mode 100644 index 89e8b422e1..0000000000 --- a/deprecated/www/__registry__/new-york/blocks/calendar-12.tsx +++ /dev/null @@ -1,78 +0,0 @@ -"use client" - -import * as React from "react" -import { type DateRange } from "react-day-picker" -import { enUS, es } from "react-day-picker/locale" - -import { Calendar } from "@/registry/new-york/ui/calendar" -import { - Card, - CardContent, - CardDescription, - CardHeader, - CardTitle, -} from "@/registry/new-york/ui/card" -import { - Select, - SelectContent, - SelectItem, - SelectTrigger, - SelectValue, -} from "@/registry/new-york/ui/select" - -const localizedStrings = { - en: { - title: "Book an appointment", - description: "Select the dates for your appointment", - }, - es: { - title: "Reserva una cita", - description: "Selecciona las fechas para tu cita", - }, -} as const - -export default function Calendar12() { - const [locale, setLocale] = - React.useState("es") - const [dateRange, setDateRange] = React.useState({ - from: new Date(2025, 8, 9), - to: new Date(2025, 8, 17), - }) - - return ( - - - {localizedStrings[locale].title} - - {localizedStrings[locale].description} - - - - - - - - ) -} diff --git a/deprecated/www/__registry__/new-york/blocks/calendar-13.tsx b/deprecated/www/__registry__/new-york/blocks/calendar-13.tsx deleted file mode 100644 index fbe5c58f77..0000000000 --- a/deprecated/www/__registry__/new-york/blocks/calendar-13.tsx +++ /dev/null @@ -1,58 +0,0 @@ -"use client" - -import * as React from "react" - -import { Calendar } from "@/registry/new-york/ui/calendar" -import { Label } from "@/registry/new-york/ui/label" -import { - Select, - SelectContent, - SelectItem, - SelectTrigger, - SelectValue, -} from "@/registry/new-york/ui/select" - -export default function Calendar13() { - const [dropdown, setDropdown] = - React.useState["captionLayout"]>( - "dropdown" - ) - const [date, setDate] = React.useState( - new Date(2025, 5, 12) - ) - - return ( -
- -
- - -
-
- ) -} diff --git a/deprecated/www/__registry__/new-york/blocks/calendar-14.tsx b/deprecated/www/__registry__/new-york/blocks/calendar-14.tsx deleted file mode 100644 index 41be778b9f..0000000000 --- a/deprecated/www/__registry__/new-york/blocks/calendar-14.tsx +++ /dev/null @@ -1,32 +0,0 @@ -"use client" - -import * as React from "react" - -import { Calendar } from "@/registry/new-york/ui/calendar" - -export default function Calendar14() { - const [date, setDate] = React.useState( - new Date(2025, 5, 12) - ) - const bookedDates = Array.from( - { length: 12 }, - (_, i) => new Date(2025, 5, 15 + i) - ) - - return ( - button]:line-through opacity-100", - }} - className="rounded-lg border shadow-sm" - /> - ) -} diff --git a/deprecated/www/__registry__/new-york/blocks/calendar-15.tsx b/deprecated/www/__registry__/new-york/blocks/calendar-15.tsx deleted file mode 100644 index 8031bd2ced..0000000000 --- a/deprecated/www/__registry__/new-york/blocks/calendar-15.tsx +++ /dev/null @@ -1,22 +0,0 @@ -"use client" - -import * as React from "react" - -import { Calendar } from "@/registry/new-york/ui/calendar" - -export default function Calendar15() { - const [date, setDate] = React.useState( - new Date(2025, 5, 12) - ) - - return ( - - ) -} diff --git a/deprecated/www/__registry__/new-york/blocks/calendar-16.tsx b/deprecated/www/__registry__/new-york/blocks/calendar-16.tsx deleted file mode 100644 index 638ec8ff21..0000000000 --- a/deprecated/www/__registry__/new-york/blocks/calendar-16.tsx +++ /dev/null @@ -1,56 +0,0 @@ -"use client" - -import * as React from "react" -import { Clock2Icon } from "lucide-react" - -import { Calendar } from "@/registry/new-york/ui/calendar" -import { Card, CardContent, CardFooter } from "@/registry/new-york/ui/card" -import { Input } from "@/registry/new-york/ui/input" -import { Label } from "@/registry/new-york/ui/label" - -export default function Calendar16() { - const [date, setDate] = React.useState( - new Date(2025, 5, 12) - ) - - return ( - - - - - -
- -
- - -
-
-
- -
- - -
-
-
-
- ) -} diff --git a/deprecated/www/__registry__/new-york/blocks/calendar-17.tsx b/deprecated/www/__registry__/new-york/blocks/calendar-17.tsx deleted file mode 100644 index 5ac8cbc4f0..0000000000 --- a/deprecated/www/__registry__/new-york/blocks/calendar-17.tsx +++ /dev/null @@ -1,54 +0,0 @@ -"use client" - -import * as React from "react" - -import { Calendar } from "@/registry/new-york/ui/calendar" -import { Card, CardContent, CardFooter } from "@/registry/new-york/ui/card" -import { Input } from "@/registry/new-york/ui/input" -import { Label } from "@/registry/new-york/ui/label" - -export default function Calendar17() { - const [date, setDate] = React.useState( - new Date(2025, 5, 12) - ) - - return ( - - - - - -
- - -
- - -
- - -
-
-
- ) -} diff --git a/deprecated/www/__registry__/new-york/blocks/calendar-18.tsx b/deprecated/www/__registry__/new-york/blocks/calendar-18.tsx deleted file mode 100644 index d647923405..0000000000 --- a/deprecated/www/__registry__/new-york/blocks/calendar-18.tsx +++ /dev/null @@ -1,21 +0,0 @@ -"use client" - -import * as React from "react" - -import { Calendar } from "@/registry/new-york/ui/calendar" - -export default function Calendar18() { - const [date, setDate] = React.useState( - new Date(2025, 5, 12) - ) - - return ( - - ) -} diff --git a/deprecated/www/__registry__/new-york/blocks/calendar-19.tsx b/deprecated/www/__registry__/new-york/blocks/calendar-19.tsx deleted file mode 100644 index 54a62dd7e9..0000000000 --- a/deprecated/www/__registry__/new-york/blocks/calendar-19.tsx +++ /dev/null @@ -1,50 +0,0 @@ -"use client" - -import * as React from "react" -import { addDays } from "date-fns" - -import { Button } from "@/registry/new-york/ui/button" -import { Calendar } from "@/registry/new-york/ui/calendar" -import { Card, CardContent, CardFooter } from "@/registry/new-york/ui/card" - -export default function Calendar19() { - const [date, setDate] = React.useState( - new Date(2025, 5, 12) - ) - - return ( - - - - - - {[ - { label: "Today", value: 0 }, - { label: "Tomorrow", value: 1 }, - { label: "In 3 days", value: 3 }, - { label: "In a week", value: 7 }, - { label: "In 2 weeks", value: 14 }, - ].map((preset) => ( - - ))} - - - ) -} diff --git a/deprecated/www/__registry__/new-york/blocks/calendar-20.tsx b/deprecated/www/__registry__/new-york/blocks/calendar-20.tsx deleted file mode 100644 index 2a2bb3f5eb..0000000000 --- a/deprecated/www/__registry__/new-york/blocks/calendar-20.tsx +++ /dev/null @@ -1,97 +0,0 @@ -"use client" - -import * as React from "react" - -import { Button } from "@/registry/new-york/ui/button" -import { Calendar } from "@/registry/new-york/ui/calendar" -import { Card, CardContent, CardFooter } from "@/registry/new-york/ui/card" - -export default function Calendar20() { - const [date, setDate] = React.useState( - new Date(2025, 5, 12) - ) - const [selectedTime, setSelectedTime] = React.useState("10:00") - const timeSlots = Array.from({ length: 37 }, (_, i) => { - const totalMinutes = i * 15 - const hour = Math.floor(totalMinutes / 60) + 9 - const minute = totalMinutes % 60 - return `${hour.toString().padStart(2, "0")}:${minute - .toString() - .padStart(2, "0")}` - }) - - const bookedDates = Array.from( - { length: 3 }, - (_, i) => new Date(2025, 5, 17 + i) - ) - - return ( - - -
- button]:line-through opacity-100", - }} - className="bg-transparent p-0 [--cell-size:2.5rem] md:[--cell-size:3rem]" - formatters={{ - formatWeekdayName: (date) => { - return date.toLocaleString("en-US", { weekday: "short" }) - }, - }} - /> -
-
-
- {timeSlots.map((time) => ( - - ))} -
-
-
- -
- {date && selectedTime ? ( - <> - Your meeting is booked for{" "} - - {" "} - {date?.toLocaleDateString("en-US", { - weekday: "long", - day: "numeric", - month: "long", - })}{" "} - - at {selectedTime}. - - ) : ( - <>Select a date and time for your meeting. - )} -
- -
-
- ) -} diff --git a/deprecated/www/__registry__/new-york/blocks/calendar-21.tsx b/deprecated/www/__registry__/new-york/blocks/calendar-21.tsx deleted file mode 100644 index 9016b91b8c..0000000000 --- a/deprecated/www/__registry__/new-york/blocks/calendar-21.tsx +++ /dev/null @@ -1,42 +0,0 @@ -"use client" - -import * as React from "react" -import { DateRange } from "react-day-picker" - -import { Calendar, CalendarDayButton } from "@/registry/new-york/ui/calendar" - -export default function Calendar21() { - const [range, setRange] = React.useState({ - from: new Date(2025, 5, 12), - to: new Date(2025, 5, 17), - }) - - return ( - { - return date.toLocaleString("default", { month: "long" }) - }, - }} - components={{ - DayButton: ({ children, modifiers, day, ...props }) => { - const isWeekend = day.date.getDay() === 0 || day.date.getDay() === 6 - - return ( - - {children} - {!modifiers.outside && {isWeekend ? "$220" : "$100"}} - - ) - }, - }} - /> - ) -} diff --git a/deprecated/www/__registry__/new-york/blocks/calendar-22.tsx b/deprecated/www/__registry__/new-york/blocks/calendar-22.tsx deleted file mode 100644 index fbba5c925a..0000000000 --- a/deprecated/www/__registry__/new-york/blocks/calendar-22.tsx +++ /dev/null @@ -1,49 +0,0 @@ -"use client" - -import * as React from "react" -import { ChevronDownIcon } from "lucide-react" - -import { Button } from "@/registry/new-york/ui/button" -import { Calendar } from "@/registry/new-york/ui/calendar" -import { Label } from "@/registry/new-york/ui/label" -import { - Popover, - PopoverContent, - PopoverTrigger, -} from "@/registry/new-york/ui/popover" - -export default function Calendar22() { - const [open, setOpen] = React.useState(false) - const [date, setDate] = React.useState(undefined) - - return ( -
- - - - - - - { - setDate(date) - setOpen(false) - }} - /> - - -
- ) -} diff --git a/deprecated/www/__registry__/new-york/blocks/calendar-23.tsx b/deprecated/www/__registry__/new-york/blocks/calendar-23.tsx deleted file mode 100644 index 2702cd90fd..0000000000 --- a/deprecated/www/__registry__/new-york/blocks/calendar-23.tsx +++ /dev/null @@ -1,50 +0,0 @@ -"use client" - -import * as React from "react" -import { ChevronDownIcon } from "lucide-react" -import { type DateRange } from "react-day-picker" - -import { Button } from "@/registry/new-york/ui/button" -import { Calendar } from "@/registry/new-york/ui/calendar" -import { Label } from "@/registry/new-york/ui/label" -import { - Popover, - PopoverContent, - PopoverTrigger, -} from "@/registry/new-york/ui/popover" - -export default function Calendar23() { - const [range, setRange] = React.useState(undefined) - - return ( -
- - - - - - - { - setRange(range) - }} - /> - - -
- ) -} diff --git a/deprecated/www/__registry__/new-york/blocks/calendar-24.tsx b/deprecated/www/__registry__/new-york/blocks/calendar-24.tsx deleted file mode 100644 index 02640d5936..0000000000 --- a/deprecated/www/__registry__/new-york/blocks/calendar-24.tsx +++ /dev/null @@ -1,64 +0,0 @@ -"use client" - -import * as React from "react" -import { ChevronDownIcon } from "lucide-react" - -import { Button } from "@/registry/new-york/ui/button" -import { Calendar } from "@/registry/new-york/ui/calendar" -import { Input } from "@/registry/new-york/ui/input" -import { Label } from "@/registry/new-york/ui/label" -import { - Popover, - PopoverContent, - PopoverTrigger, -} from "@/registry/new-york/ui/popover" - -export default function Calendar24() { - const [open, setOpen] = React.useState(false) - const [date, setDate] = React.useState(undefined) - - return ( -
-
- - - - - - - { - setDate(date) - setOpen(false) - }} - /> - - -
-
- - -
-
- ) -} diff --git a/deprecated/www/__registry__/new-york/blocks/calendar-25.tsx b/deprecated/www/__registry__/new-york/blocks/calendar-25.tsx deleted file mode 100644 index 5ed864df3e..0000000000 --- a/deprecated/www/__registry__/new-york/blocks/calendar-25.tsx +++ /dev/null @@ -1,78 +0,0 @@ -"use client" - -import * as React from "react" -import { ChevronDownIcon } from "lucide-react" - -import { Button } from "@/registry/new-york/ui/button" -import { Calendar } from "@/registry/new-york/ui/calendar" -import { Input } from "@/registry/new-york/ui/input" -import { Label } from "@/registry/new-york/ui/label" -import { - Popover, - PopoverContent, - PopoverTrigger, -} from "@/registry/new-york/ui/popover" - -export default function Calendar25() { - const [open, setOpen] = React.useState(false) - const [date, setDate] = React.useState(undefined) - - return ( -
-
- - - - - - - { - setDate(date) - setOpen(false) - }} - /> - - -
-
-
- - -
-
- - -
-
-
- ) -} diff --git a/deprecated/www/__registry__/new-york/blocks/calendar-26.tsx b/deprecated/www/__registry__/new-york/blocks/calendar-26.tsx deleted file mode 100644 index 166cd46498..0000000000 --- a/deprecated/www/__registry__/new-york/blocks/calendar-26.tsx +++ /dev/null @@ -1,133 +0,0 @@ -"use client" - -import * as React from "react" -import { ChevronDownIcon } from "lucide-react" - -import { Button } from "@/registry/new-york/ui/button" -import { Calendar } from "@/registry/new-york/ui/calendar" -import { Input } from "@/registry/new-york/ui/input" -import { Label } from "@/registry/new-york/ui/label" -import { - Popover, - PopoverContent, - PopoverTrigger, -} from "@/registry/new-york/ui/popover" - -export default function Calendar26() { - const [openFrom, setOpenFrom] = React.useState(false) - const [openTo, setOpenTo] = React.useState(false) - const [dateFrom, setDateFrom] = React.useState( - new Date("2025-06-01") - ) - const [dateTo, setDateTo] = React.useState( - new Date("2025-06-03") - ) - - return ( -
-
-
- - - - - - - { - setDateFrom(date) - setOpenFrom(false) - }} - /> - - -
-
- - -
-
-
-
- - - - - - - { - setDateTo(date) - setOpenTo(false) - }} - disabled={dateFrom && { before: dateFrom }} - /> - - -
-
- - -
-
-
- ) -} diff --git a/deprecated/www/__registry__/new-york/blocks/calendar-27.tsx b/deprecated/www/__registry__/new-york/blocks/calendar-27.tsx deleted file mode 100644 index 89c65876e2..0000000000 --- a/deprecated/www/__registry__/new-york/blocks/calendar-27.tsx +++ /dev/null @@ -1,177 +0,0 @@ -"use client" - -import * as React from "react" -import { CalendarIcon } from "lucide-react" -import { DateRange } from "react-day-picker" -import { Bar, BarChart, CartesianGrid, XAxis } from "recharts" - -import { Button } from "@/registry/new-york/ui/button" -import { Calendar } from "@/registry/new-york/ui/calendar" -import { - Card, - CardContent, - CardDescription, - CardFooter, - CardHeader, - CardTitle, -} from "@/registry/new-york/ui/card" -import { - ChartConfig, - ChartContainer, - ChartTooltip, - ChartTooltipContent, -} from "@/registry/new-york/ui/chart" -import { - Popover, - PopoverContent, - PopoverTrigger, -} from "@/registry/new-york/ui/popover" - -const chartData = [ - { date: "2025-06-01", visitors: 178 }, - { date: "2025-06-02", visitors: 470 }, - { date: "2025-06-03", visitors: 103 }, - { date: "2025-06-04", visitors: 439 }, - { date: "2025-06-05", visitors: 88 }, - { date: "2025-06-06", visitors: 294 }, - { date: "2025-06-07", visitors: 323 }, - { date: "2025-06-08", visitors: 385 }, - { date: "2025-06-09", visitors: 438 }, - { date: "2025-06-10", visitors: 155 }, - { date: "2025-06-11", visitors: 92 }, - { date: "2025-06-12", visitors: 492 }, - { date: "2025-06-13", visitors: 81 }, - { date: "2025-06-14", visitors: 426 }, - { date: "2025-06-15", visitors: 307 }, - { date: "2025-06-16", visitors: 371 }, - { date: "2025-06-17", visitors: 475 }, - { date: "2025-06-18", visitors: 107 }, - { date: "2025-06-19", visitors: 341 }, - { date: "2025-06-20", visitors: 408 }, - { date: "2025-06-21", visitors: 169 }, - { date: "2025-06-22", visitors: 317 }, - { date: "2025-06-23", visitors: 480 }, - { date: "2025-06-24", visitors: 132 }, - { date: "2025-06-25", visitors: 141 }, - { date: "2025-06-26", visitors: 434 }, - { date: "2025-06-27", visitors: 448 }, - { date: "2025-06-28", visitors: 149 }, - { date: "2025-06-29", visitors: 103 }, - { date: "2025-06-30", visitors: 446 }, -] - -const total = chartData.reduce((acc, curr) => acc + curr.visitors, 0) - -const chartConfig = { - visitors: { - label: "Visitors", - color: "hsl(var(--primary))", - }, -} satisfies ChartConfig - -export default function Calendar27() { - const [range, setRange] = React.useState({ - from: new Date(2025, 5, 5), - to: new Date(2025, 5, 20), - }) - const filteredData = React.useMemo(() => { - if (!range?.from && !range?.to) { - return chartData - } - - return chartData.filter((item) => { - const date = new Date(item.date) - return date >= range.from! && date <= range.to! - }) - }, [range]) - - return ( - - - Web Analytics - - Showing total visitors for this month. - - - - - - - - - - - - - - - { - const date = new Date(value) - return date.toLocaleDateString("en-US", { - day: "numeric", - }) - }} - /> - { - return new Date(value).toLocaleDateString("en-US", { - month: "short", - day: "numeric", - year: "numeric", - }) - }} - /> - } - /> - - - - - -
- You had{" "} - {total.toLocaleString()}{" "} - visitors for the month of June. -
-
-
- ) -} diff --git a/deprecated/www/__registry__/new-york/blocks/calendar-28.tsx b/deprecated/www/__registry__/new-york/blocks/calendar-28.tsx deleted file mode 100644 index 40b63bc2e7..0000000000 --- a/deprecated/www/__registry__/new-york/blocks/calendar-28.tsx +++ /dev/null @@ -1,104 +0,0 @@ -"use client" - -import * as React from "react" -import { CalendarIcon } from "lucide-react" - -import { Button } from "@/registry/new-york/ui/button" -import { Calendar } from "@/registry/new-york/ui/calendar" -import { Input } from "@/registry/new-york/ui/input" -import { Label } from "@/registry/new-york/ui/label" -import { - Popover, - PopoverContent, - PopoverTrigger, -} from "@/registry/new-york/ui/popover" - -function formatDate(date: Date | undefined) { - if (!date) { - return "" - } - - return date.toLocaleDateString("en-US", { - day: "2-digit", - month: "long", - year: "numeric", - }) -} - -function isValidDate(date: Date | undefined) { - if (!date) { - return false - } - return !isNaN(date.getTime()) -} - -export default function Calendar28() { - const [open, setOpen] = React.useState(false) - const [date, setDate] = React.useState( - new Date("2025-06-01") - ) - const [month, setMonth] = React.useState(date) - const [value, setValue] = React.useState(formatDate(date)) - - return ( -
- -
- { - const date = new Date(e.target.value) - setValue(e.target.value) - if (isValidDate(date)) { - setDate(date) - setMonth(date) - } - }} - onKeyDown={(e) => { - if (e.key === "ArrowDown") { - e.preventDefault() - setOpen(true) - } - }} - /> - - - - - - { - setDate(date) - setValue(formatDate(date)) - setOpen(false) - }} - /> - - -
-
- ) -} diff --git a/deprecated/www/__registry__/new-york/blocks/calendar-29.tsx b/deprecated/www/__registry__/new-york/blocks/calendar-29.tsx deleted file mode 100644 index a08ffa1b1d..0000000000 --- a/deprecated/www/__registry__/new-york/blocks/calendar-29.tsx +++ /dev/null @@ -1,96 +0,0 @@ -"use client" - -import * as React from "react" -import { parseDate } from "chrono-node" -import { CalendarIcon } from "lucide-react" - -import { Button } from "@/registry/new-york/ui/button" -import { Calendar } from "@/registry/new-york/ui/calendar" -import { Input } from "@/registry/new-york/ui/input" -import { Label } from "@/registry/new-york/ui/label" -import { - Popover, - PopoverContent, - PopoverTrigger, -} from "@/registry/new-york/ui/popover" - -function formatDate(date: Date | undefined) { - if (!date) { - return "" - } - - return date.toLocaleDateString("en-US", { - day: "2-digit", - month: "long", - year: "numeric", - }) -} - -export default function Calendar29() { - const [open, setOpen] = React.useState(false) - const [value, setValue] = React.useState("In 2 days") - const [date, setDate] = React.useState( - parseDate(value) || undefined - ) - const [month, setMonth] = React.useState(date) - - return ( -
- -
- { - setValue(e.target.value) - const date = parseDate(e.target.value) - if (date) { - setDate(date) - setMonth(date) - } - }} - onKeyDown={(e) => { - if (e.key === "ArrowDown") { - e.preventDefault() - setOpen(true) - } - }} - /> - - - - - - { - setDate(date) - setValue(formatDate(date)) - setOpen(false) - }} - /> - - -
-
- Your post will be published on{" "} - {formatDate(date)}. -
-
- ) -} diff --git a/deprecated/www/__registry__/new-york/blocks/calendar-30.tsx b/deprecated/www/__registry__/new-york/blocks/calendar-30.tsx deleted file mode 100644 index 05b5a9ae9f..0000000000 --- a/deprecated/www/__registry__/new-york/blocks/calendar-30.tsx +++ /dev/null @@ -1,56 +0,0 @@ -"use client" - -import * as React from "react" -import { formatDateRange } from "little-date" -import { ChevronDownIcon } from "lucide-react" -import { type DateRange } from "react-day-picker" - -import { Button } from "@/registry/new-york/ui/button" -import { Calendar } from "@/registry/new-york/ui/calendar" -import { Label } from "@/registry/new-york/ui/label" -import { - Popover, - PopoverContent, - PopoverTrigger, -} from "@/registry/new-york/ui/popover" - -export default function Calendar30() { - const [range, setRange] = React.useState({ - from: new Date(2025, 5, 4), - to: new Date(2025, 5, 10), - }) - - return ( -
- - - - - - - { - setRange(range) - }} - /> - - -
- ) -} diff --git a/deprecated/www/__registry__/new-york/blocks/calendar-31.tsx b/deprecated/www/__registry__/new-york/blocks/calendar-31.tsx deleted file mode 100644 index c4d3844f9e..0000000000 --- a/deprecated/www/__registry__/new-york/blocks/calendar-31.tsx +++ /dev/null @@ -1,80 +0,0 @@ -"use client" - -import * as React from "react" -import { formatDateRange } from "little-date" -import { PlusIcon } from "lucide-react" - -import { Button } from "@/registry/new-york/ui/button" -import { Calendar } from "@/registry/new-york/ui/calendar" -import { Card, CardContent, CardFooter } from "@/registry/new-york/ui/card" - -const events = [ - { - title: "Team Sync Meeting", - from: "2025-06-12T09:00:00", - to: "2025-06-12T10:00:00", - }, - { - title: "Design Review", - from: "2025-06-12T11:30:00", - to: "2025-06-12T12:30:00", - }, - { - title: "Client Presentation", - from: "2025-06-12T14:00:00", - to: "2025-06-12T15:00:00", - }, -] - -export default function Calendar31() { - const [date, setDate] = React.useState( - new Date(2025, 5, 12) - ) - - return ( - - - - - -
-
- {date?.toLocaleDateString("en-US", { - day: "numeric", - month: "long", - year: "numeric", - })} -
- -
-
- {events.map((event) => ( -
-
{event.title}
-
- {formatDateRange(new Date(event.from), new Date(event.to))} -
-
- ))} -
-
-
- ) -} diff --git a/deprecated/www/__registry__/new-york/blocks/calendar-32.tsx b/deprecated/www/__registry__/new-york/blocks/calendar-32.tsx deleted file mode 100644 index 21c8f5e160..0000000000 --- a/deprecated/www/__registry__/new-york/blocks/calendar-32.tsx +++ /dev/null @@ -1,60 +0,0 @@ -"use client" - -import * as React from "react" -import { CalendarPlusIcon } from "lucide-react" - -import { Button } from "@/registry/new-york/ui/button" -import { Calendar } from "@/registry/new-york/ui/calendar" -import { - Drawer, - DrawerContent, - DrawerDescription, - DrawerHeader, - DrawerTitle, - DrawerTrigger, -} from "@/registry/new-york/ui/drawer" -import { Label } from "@/registry/new-york/ui/label" - -export default function Calendar32() { - const [open, setOpen] = React.useState(false) - const [date, setDate] = React.useState(undefined) - - return ( -
- - - - - - - - Select date - Set your date of birth - - { - setDate(date) - setOpen(false) - }} - className="mx-auto [--cell-size:clamp(0px,calc(100vw/7.5),52px)]" - /> - - -
- This example works best on mobile. -
-
- ) -} diff --git a/deprecated/www/__registry__/new-york/blocks/chart-area-axes.tsx b/deprecated/www/__registry__/new-york/blocks/chart-area-axes.tsx deleted file mode 100644 index 8efb8a382d..0000000000 --- a/deprecated/www/__registry__/new-york/blocks/chart-area-axes.tsx +++ /dev/null @@ -1,110 +0,0 @@ -"use client" - -import { TrendingUp } from "lucide-react" -import { Area, AreaChart, CartesianGrid, XAxis, YAxis } from "recharts" - -import { - Card, - CardContent, - CardDescription, - CardFooter, - CardHeader, - CardTitle, -} from "@/registry/new-york/ui/card" -import { - ChartConfig, - ChartContainer, - ChartTooltip, - ChartTooltipContent, -} from "@/registry/new-york/ui/chart" - -export const description = "An area chart with axes" - -const chartData = [ - { month: "January", desktop: 186, mobile: 80 }, - { month: "February", desktop: 305, mobile: 200 }, - { month: "March", desktop: 237, mobile: 120 }, - { month: "April", desktop: 73, mobile: 190 }, - { month: "May", desktop: 209, mobile: 130 }, - { month: "June", desktop: 214, mobile: 140 }, -] - -const chartConfig = { - desktop: { - label: "Desktop", - color: "hsl(var(--chart-1))", - }, - mobile: { - label: "Mobile", - color: "hsl(var(--chart-2))", - }, -} satisfies ChartConfig - -export default function Component() { - return ( - - - Area Chart - Axes - - Showing total visitors for the last 6 months - - - - - - - value.slice(0, 3)} - /> - - } /> - - - - - - -
-
-
- Trending up by 5.2% this month -
-
- January - June 2024 -
-
-
-
-
- ) -} diff --git a/deprecated/www/__registry__/new-york/blocks/chart-area-default.tsx b/deprecated/www/__registry__/new-york/blocks/chart-area-default.tsx deleted file mode 100644 index 95e9ca5a73..0000000000 --- a/deprecated/www/__registry__/new-york/blocks/chart-area-default.tsx +++ /dev/null @@ -1,94 +0,0 @@ -"use client" - -import { TrendingUp } from "lucide-react" -import { Area, AreaChart, CartesianGrid, XAxis } from "recharts" - -import { - Card, - CardContent, - CardDescription, - CardFooter, - CardHeader, - CardTitle, -} from "@/registry/new-york/ui/card" -import { - ChartConfig, - ChartContainer, - ChartTooltip, - ChartTooltipContent, -} from "@/registry/new-york/ui/chart" - -export const description = "A simple area chart" - -const chartData = [ - { month: "January", desktop: 186 }, - { month: "February", desktop: 305 }, - { month: "March", desktop: 237 }, - { month: "April", desktop: 73 }, - { month: "May", desktop: 209 }, - { month: "June", desktop: 214 }, -] - -const chartConfig = { - desktop: { - label: "Desktop", - color: "hsl(var(--chart-1))", - }, -} satisfies ChartConfig - -export default function Component() { - return ( - - - Area Chart - - Showing total visitors for the last 6 months - - - - - - - value.slice(0, 3)} - /> - } - /> - - - - - -
-
-
- Trending up by 5.2% this month -
-
- January - June 2024 -
-
-
-
-
- ) -} diff --git a/deprecated/www/__registry__/new-york/blocks/chart-area-gradient.tsx b/deprecated/www/__registry__/new-york/blocks/chart-area-gradient.tsx deleted file mode 100644 index de6eada513..0000000000 --- a/deprecated/www/__registry__/new-york/blocks/chart-area-gradient.tsx +++ /dev/null @@ -1,130 +0,0 @@ -"use client" - -import { TrendingUp } from "lucide-react" -import { Area, AreaChart, CartesianGrid, XAxis } from "recharts" - -import { - Card, - CardContent, - CardDescription, - CardFooter, - CardHeader, - CardTitle, -} from "@/registry/new-york/ui/card" -import { - ChartConfig, - ChartContainer, - ChartTooltip, - ChartTooltipContent, -} from "@/registry/new-york/ui/chart" - -export const description = "An area chart with gradient fill" - -const chartData = [ - { month: "January", desktop: 186, mobile: 80 }, - { month: "February", desktop: 305, mobile: 200 }, - { month: "March", desktop: 237, mobile: 120 }, - { month: "April", desktop: 73, mobile: 190 }, - { month: "May", desktop: 209, mobile: 130 }, - { month: "June", desktop: 214, mobile: 140 }, -] - -const chartConfig = { - desktop: { - label: "Desktop", - color: "hsl(var(--chart-1))", - }, - mobile: { - label: "Mobile", - color: "hsl(var(--chart-2))", - }, -} satisfies ChartConfig - -export default function Component() { - return ( - - - Area Chart - Gradient - - Showing total visitors for the last 6 months - - - - - - - value.slice(0, 3)} - /> - } /> - - - - - - - - - - - - - - - - -
-
-
- Trending up by 5.2% this month -
-
- January - June 2024 -
-
-
-
-
- ) -} diff --git a/deprecated/www/__registry__/new-york/blocks/chart-area-icons.tsx b/deprecated/www/__registry__/new-york/blocks/chart-area-icons.tsx deleted file mode 100644 index 5d136dfd07..0000000000 --- a/deprecated/www/__registry__/new-york/blocks/chart-area-icons.tsx +++ /dev/null @@ -1,112 +0,0 @@ -"use client" - -import { TrendingDown, TrendingUp } from "lucide-react" -import { Area, AreaChart, CartesianGrid, XAxis } from "recharts" - -import { - Card, - CardContent, - CardDescription, - CardFooter, - CardHeader, - CardTitle, -} from "@/registry/new-york/ui/card" -import { - ChartConfig, - ChartContainer, - ChartLegend, - ChartLegendContent, - ChartTooltip, - ChartTooltipContent, -} from "@/registry/new-york/ui/chart" - -export const description = "An area chart with icons" - -const chartData = [ - { month: "January", desktop: 186, mobile: 80 }, - { month: "February", desktop: 305, mobile: 200 }, - { month: "March", desktop: 237, mobile: 120 }, - { month: "April", desktop: 73, mobile: 190 }, - { month: "May", desktop: 209, mobile: 130 }, - { month: "June", desktop: 214, mobile: 140 }, -] - -const chartConfig = { - desktop: { - label: "Desktop", - color: "hsl(var(--chart-1))", - icon: TrendingDown, - }, - mobile: { - label: "Mobile", - color: "hsl(var(--chart-2))", - icon: TrendingUp, - }, -} satisfies ChartConfig - -export default function Component() { - return ( - - - Area Chart - Icons - - Showing total visitors for the last 6 months - - - - - - - value.slice(0, 3)} - /> - } - /> - - - } /> - - - - -
-
-
- Trending up by 5.2% this month -
-
- January - June 2024 -
-
-
-
-
- ) -} diff --git a/deprecated/www/__registry__/new-york/blocks/chart-area-interactive.tsx b/deprecated/www/__registry__/new-york/blocks/chart-area-interactive.tsx deleted file mode 100644 index cd8e7e6b28..0000000000 --- a/deprecated/www/__registry__/new-york/blocks/chart-area-interactive.tsx +++ /dev/null @@ -1,266 +0,0 @@ -"use client" - -import * as React from "react" -import { Area, AreaChart, CartesianGrid, XAxis } from "recharts" - -import { - Card, - CardContent, - CardDescription, - CardHeader, - CardTitle, -} from "@/registry/new-york/ui/card" -import { - ChartConfig, - ChartContainer, - ChartLegend, - ChartLegendContent, - ChartTooltip, - ChartTooltipContent, -} from "@/registry/new-york/ui/chart" -import { - Select, - SelectContent, - SelectItem, - SelectTrigger, - SelectValue, -} from "@/registry/new-york/ui/select" - -export const description = "An interactive area chart" - -const chartData = [ - { date: "2024-04-01", desktop: 222, mobile: 150 }, - { date: "2024-04-02", desktop: 97, mobile: 180 }, - { date: "2024-04-03", desktop: 167, mobile: 120 }, - { date: "2024-04-04", desktop: 242, mobile: 260 }, - { date: "2024-04-05", desktop: 373, mobile: 290 }, - { date: "2024-04-06", desktop: 301, mobile: 340 }, - { date: "2024-04-07", desktop: 245, mobile: 180 }, - { date: "2024-04-08", desktop: 409, mobile: 320 }, - { date: "2024-04-09", desktop: 59, mobile: 110 }, - { date: "2024-04-10", desktop: 261, mobile: 190 }, - { date: "2024-04-11", desktop: 327, mobile: 350 }, - { date: "2024-04-12", desktop: 292, mobile: 210 }, - { date: "2024-04-13", desktop: 342, mobile: 380 }, - { date: "2024-04-14", desktop: 137, mobile: 220 }, - { date: "2024-04-15", desktop: 120, mobile: 170 }, - { date: "2024-04-16", desktop: 138, mobile: 190 }, - { date: "2024-04-17", desktop: 446, mobile: 360 }, - { date: "2024-04-18", desktop: 364, mobile: 410 }, - { date: "2024-04-19", desktop: 243, mobile: 180 }, - { date: "2024-04-20", desktop: 89, mobile: 150 }, - { date: "2024-04-21", desktop: 137, mobile: 200 }, - { date: "2024-04-22", desktop: 224, mobile: 170 }, - { date: "2024-04-23", desktop: 138, mobile: 230 }, - { date: "2024-04-24", desktop: 387, mobile: 290 }, - { date: "2024-04-25", desktop: 215, mobile: 250 }, - { date: "2024-04-26", desktop: 75, mobile: 130 }, - { date: "2024-04-27", desktop: 383, mobile: 420 }, - { date: "2024-04-28", desktop: 122, mobile: 180 }, - { date: "2024-04-29", desktop: 315, mobile: 240 }, - { date: "2024-04-30", desktop: 454, mobile: 380 }, - { date: "2024-05-01", desktop: 165, mobile: 220 }, - { date: "2024-05-02", desktop: 293, mobile: 310 }, - { date: "2024-05-03", desktop: 247, mobile: 190 }, - { date: "2024-05-04", desktop: 385, mobile: 420 }, - { date: "2024-05-05", desktop: 481, mobile: 390 }, - { date: "2024-05-06", desktop: 498, mobile: 520 }, - { date: "2024-05-07", desktop: 388, mobile: 300 }, - { date: "2024-05-08", desktop: 149, mobile: 210 }, - { date: "2024-05-09", desktop: 227, mobile: 180 }, - { date: "2024-05-10", desktop: 293, mobile: 330 }, - { date: "2024-05-11", desktop: 335, mobile: 270 }, - { date: "2024-05-12", desktop: 197, mobile: 240 }, - { date: "2024-05-13", desktop: 197, mobile: 160 }, - { date: "2024-05-14", desktop: 448, mobile: 490 }, - { date: "2024-05-15", desktop: 473, mobile: 380 }, - { date: "2024-05-16", desktop: 338, mobile: 400 }, - { date: "2024-05-17", desktop: 499, mobile: 420 }, - { date: "2024-05-18", desktop: 315, mobile: 350 }, - { date: "2024-05-19", desktop: 235, mobile: 180 }, - { date: "2024-05-20", desktop: 177, mobile: 230 }, - { date: "2024-05-21", desktop: 82, mobile: 140 }, - { date: "2024-05-22", desktop: 81, mobile: 120 }, - { date: "2024-05-23", desktop: 252, mobile: 290 }, - { date: "2024-05-24", desktop: 294, mobile: 220 }, - { date: "2024-05-25", desktop: 201, mobile: 250 }, - { date: "2024-05-26", desktop: 213, mobile: 170 }, - { date: "2024-05-27", desktop: 420, mobile: 460 }, - { date: "2024-05-28", desktop: 233, mobile: 190 }, - { date: "2024-05-29", desktop: 78, mobile: 130 }, - { date: "2024-05-30", desktop: 340, mobile: 280 }, - { date: "2024-05-31", desktop: 178, mobile: 230 }, - { date: "2024-06-01", desktop: 178, mobile: 200 }, - { date: "2024-06-02", desktop: 470, mobile: 410 }, - { date: "2024-06-03", desktop: 103, mobile: 160 }, - { date: "2024-06-04", desktop: 439, mobile: 380 }, - { date: "2024-06-05", desktop: 88, mobile: 140 }, - { date: "2024-06-06", desktop: 294, mobile: 250 }, - { date: "2024-06-07", desktop: 323, mobile: 370 }, - { date: "2024-06-08", desktop: 385, mobile: 320 }, - { date: "2024-06-09", desktop: 438, mobile: 480 }, - { date: "2024-06-10", desktop: 155, mobile: 200 }, - { date: "2024-06-11", desktop: 92, mobile: 150 }, - { date: "2024-06-12", desktop: 492, mobile: 420 }, - { date: "2024-06-13", desktop: 81, mobile: 130 }, - { date: "2024-06-14", desktop: 426, mobile: 380 }, - { date: "2024-06-15", desktop: 307, mobile: 350 }, - { date: "2024-06-16", desktop: 371, mobile: 310 }, - { date: "2024-06-17", desktop: 475, mobile: 520 }, - { date: "2024-06-18", desktop: 107, mobile: 170 }, - { date: "2024-06-19", desktop: 341, mobile: 290 }, - { date: "2024-06-20", desktop: 408, mobile: 450 }, - { date: "2024-06-21", desktop: 169, mobile: 210 }, - { date: "2024-06-22", desktop: 317, mobile: 270 }, - { date: "2024-06-23", desktop: 480, mobile: 530 }, - { date: "2024-06-24", desktop: 132, mobile: 180 }, - { date: "2024-06-25", desktop: 141, mobile: 190 }, - { date: "2024-06-26", desktop: 434, mobile: 380 }, - { date: "2024-06-27", desktop: 448, mobile: 490 }, - { date: "2024-06-28", desktop: 149, mobile: 200 }, - { date: "2024-06-29", desktop: 103, mobile: 160 }, - { date: "2024-06-30", desktop: 446, mobile: 400 }, -] - -const chartConfig = { - visitors: { - label: "Visitors", - }, - desktop: { - label: "Desktop", - color: "hsl(var(--chart-1))", - }, - mobile: { - label: "Mobile", - color: "hsl(var(--chart-2))", - }, -} satisfies ChartConfig - -export default function Component() { - const [timeRange, setTimeRange] = React.useState("90d") - - const filteredData = chartData.filter((item) => { - const date = new Date(item.date) - const referenceDate = new Date("2024-06-30") - let daysToSubtract = 90 - if (timeRange === "30d") { - daysToSubtract = 30 - } else if (timeRange === "7d") { - daysToSubtract = 7 - } - const startDate = new Date(referenceDate) - startDate.setDate(startDate.getDate() - daysToSubtract) - return date >= startDate - }) - - return ( - - -
- Area Chart - Interactive - - Showing total visitors for the last 3 months - -
- -
- - - - - - - - - - - - - - - { - const date = new Date(value) - return date.toLocaleDateString("en-US", { - month: "short", - day: "numeric", - }) - }} - /> - { - return new Date(value).toLocaleDateString("en-US", { - month: "short", - day: "numeric", - }) - }} - indicator="dot" - /> - } - /> - - - } /> - - - -
- ) -} diff --git a/deprecated/www/__registry__/new-york/blocks/chart-area-legend.tsx b/deprecated/www/__registry__/new-york/blocks/chart-area-legend.tsx deleted file mode 100644 index 13ba0ba54a..0000000000 --- a/deprecated/www/__registry__/new-york/blocks/chart-area-legend.tsx +++ /dev/null @@ -1,110 +0,0 @@ -"use client" - -import { TrendingUp } from "lucide-react" -import { Area, AreaChart, CartesianGrid, XAxis } from "recharts" - -import { - Card, - CardContent, - CardDescription, - CardFooter, - CardHeader, - CardTitle, -} from "@/registry/new-york/ui/card" -import { - ChartConfig, - ChartContainer, - ChartLegend, - ChartLegendContent, - ChartTooltip, - ChartTooltipContent, -} from "@/registry/new-york/ui/chart" - -export const description = "An area chart with a legend" - -const chartData = [ - { month: "January", desktop: 186, mobile: 80 }, - { month: "February", desktop: 305, mobile: 200 }, - { month: "March", desktop: 237, mobile: 120 }, - { month: "April", desktop: 73, mobile: 190 }, - { month: "May", desktop: 209, mobile: 130 }, - { month: "June", desktop: 214, mobile: 140 }, -] - -const chartConfig = { - desktop: { - label: "Desktop", - color: "hsl(var(--chart-1))", - }, - mobile: { - label: "Mobile", - color: "hsl(var(--chart-2))", - }, -} satisfies ChartConfig - -export default function Component() { - return ( - - - Area Chart - Legend - - Showing total visitors for the last 6 months - - - - - - - value.slice(0, 3)} - /> - } - /> - - - } /> - - - - -
-
-
- Trending up by 5.2% this month -
-
- January - June 2024 -
-
-
-
-
- ) -} diff --git a/deprecated/www/__registry__/new-york/blocks/chart-area-linear.tsx b/deprecated/www/__registry__/new-york/blocks/chart-area-linear.tsx deleted file mode 100644 index 2b88f333fd..0000000000 --- a/deprecated/www/__registry__/new-york/blocks/chart-area-linear.tsx +++ /dev/null @@ -1,94 +0,0 @@ -"use client" - -import { TrendingUp } from "lucide-react" -import { Area, AreaChart, CartesianGrid, XAxis } from "recharts" - -import { - Card, - CardContent, - CardDescription, - CardFooter, - CardHeader, - CardTitle, -} from "@/registry/new-york/ui/card" -import { - ChartConfig, - ChartContainer, - ChartTooltip, - ChartTooltipContent, -} from "@/registry/new-york/ui/chart" - -export const description = "A linear area chart" - -const chartData = [ - { month: "January", desktop: 186 }, - { month: "February", desktop: 305 }, - { month: "March", desktop: 237 }, - { month: "April", desktop: 73 }, - { month: "May", desktop: 209 }, - { month: "June", desktop: 214 }, -] - -const chartConfig = { - desktop: { - label: "Desktop", - color: "hsl(var(--chart-1))", - }, -} satisfies ChartConfig - -export default function Component() { - return ( - - - Area Chart - Linear - - Showing total visitors for the last 6 months - - - - - - - value.slice(0, 3)} - /> - } - /> - - - - - -
-
-
- Trending up by 5.2% this month -
-
- January - June 2024 -
-
-
-
-
- ) -} diff --git a/deprecated/www/__registry__/new-york/blocks/chart-area-stacked-expand.tsx b/deprecated/www/__registry__/new-york/blocks/chart-area-stacked-expand.tsx deleted file mode 100644 index f7662c0f71..0000000000 --- a/deprecated/www/__registry__/new-york/blocks/chart-area-stacked-expand.tsx +++ /dev/null @@ -1,121 +0,0 @@ -"use client" - -import { TrendingUp } from "lucide-react" -import { Area, AreaChart, CartesianGrid, XAxis } from "recharts" - -import { - Card, - CardContent, - CardDescription, - CardFooter, - CardHeader, - CardTitle, -} from "@/registry/new-york/ui/card" -import { - ChartConfig, - ChartContainer, - ChartTooltip, - ChartTooltipContent, -} from "@/registry/new-york/ui/chart" - -export const description = "A stacked area chart with expand stacking" - -const chartData = [ - { month: "January", desktop: 186, mobile: 80, other: 45 }, - { month: "February", desktop: 305, mobile: 200, other: 100 }, - { month: "March", desktop: 237, mobile: 120, other: 150 }, - { month: "April", desktop: 73, mobile: 190, other: 50 }, - { month: "May", desktop: 209, mobile: 130, other: 100 }, - { month: "June", desktop: 214, mobile: 140, other: 160 }, -] - -const chartConfig = { - desktop: { - label: "Desktop", - color: "hsl(var(--chart-1))", - }, - mobile: { - label: "Mobile", - color: "hsl(var(--chart-2))", - }, - other: { - label: "Other", - color: "hsl(var(--chart-3))", - }, -} satisfies ChartConfig - -export default function Component() { - return ( - - - Area Chart - Stacked Expanded - - Showing total visitors for the last 6months - - - - - - - value.slice(0, 3)} - /> - } - /> - - - - - - - -
-
-
- Trending up by 5.2% this month -
-
- January - June 2024 -
-
-
-
-
- ) -} diff --git a/deprecated/www/__registry__/new-york/blocks/chart-area-stacked.tsx b/deprecated/www/__registry__/new-york/blocks/chart-area-stacked.tsx deleted file mode 100644 index d0c1b6eee8..0000000000 --- a/deprecated/www/__registry__/new-york/blocks/chart-area-stacked.tsx +++ /dev/null @@ -1,107 +0,0 @@ -"use client" - -import { TrendingUp } from "lucide-react" -import { Area, AreaChart, CartesianGrid, XAxis } from "recharts" - -import { - Card, - CardContent, - CardDescription, - CardFooter, - CardHeader, - CardTitle, -} from "@/registry/new-york/ui/card" -import { - ChartConfig, - ChartContainer, - ChartTooltip, - ChartTooltipContent, -} from "@/registry/new-york/ui/chart" - -export const description = "A stacked area chart" - -const chartData = [ - { month: "January", desktop: 186, mobile: 80 }, - { month: "February", desktop: 305, mobile: 200 }, - { month: "March", desktop: 237, mobile: 120 }, - { month: "April", desktop: 73, mobile: 190 }, - { month: "May", desktop: 209, mobile: 130 }, - { month: "June", desktop: 214, mobile: 140 }, -] - -const chartConfig = { - desktop: { - label: "Desktop", - color: "hsl(var(--chart-1))", - }, - mobile: { - label: "Mobile", - color: "hsl(var(--chart-2))", - }, -} satisfies ChartConfig - -export default function Component() { - return ( - - - Area Chart - Stacked - - Showing total visitors for the last 6 months - - - - - - - value.slice(0, 3)} - /> - } - /> - - - - - - -
-
-
- Trending up by 5.2% this month -
-
- January - June 2024 -
-
-
-
-
- ) -} diff --git a/deprecated/www/__registry__/new-york/blocks/chart-area-step.tsx b/deprecated/www/__registry__/new-york/blocks/chart-area-step.tsx deleted file mode 100644 index be43a89d3c..0000000000 --- a/deprecated/www/__registry__/new-york/blocks/chart-area-step.tsx +++ /dev/null @@ -1,95 +0,0 @@ -"use client" - -import { Activity, TrendingUp } from "lucide-react" -import { Area, AreaChart, CartesianGrid, XAxis } from "recharts" - -import { - Card, - CardContent, - CardDescription, - CardFooter, - CardHeader, - CardTitle, -} from "@/registry/new-york/ui/card" -import { - ChartConfig, - ChartContainer, - ChartTooltip, - ChartTooltipContent, -} from "@/registry/new-york/ui/chart" - -export const description = "A step area chart" - -const chartData = [ - { month: "January", desktop: 186 }, - { month: "February", desktop: 305 }, - { month: "March", desktop: 237 }, - { month: "April", desktop: 73 }, - { month: "May", desktop: 209 }, - { month: "June", desktop: 214 }, -] - -const chartConfig = { - desktop: { - label: "Desktop", - color: "hsl(var(--chart-1))", - icon: Activity, - }, -} satisfies ChartConfig - -export default function Component() { - return ( - - - Area Chart - Step - - Showing total visitors for the last 6 months - - - - - - - value.slice(0, 3)} - /> - } - /> - - - - - -
-
-
- Trending up by 5.2% this month -
-
- January - June 2024 -
-
-
-
-
- ) -} diff --git a/deprecated/www/__registry__/new-york/blocks/chart-bar-active.tsx b/deprecated/www/__registry__/new-york/blocks/chart-bar-active.tsx deleted file mode 100644 index b913609d92..0000000000 --- a/deprecated/www/__registry__/new-york/blocks/chart-bar-active.tsx +++ /dev/null @@ -1,111 +0,0 @@ -"use client" - -import { TrendingUp } from "lucide-react" -import { Bar, BarChart, CartesianGrid, Rectangle, XAxis } from "recharts" - -import { - Card, - CardContent, - CardDescription, - CardFooter, - CardHeader, - CardTitle, -} from "@/registry/new-york/ui/card" -import { - ChartConfig, - ChartContainer, - ChartTooltip, - ChartTooltipContent, -} from "@/registry/new-york/ui/chart" - -export const description = "A bar chart with an active bar" - -const chartData = [ - { browser: "chrome", visitors: 187, fill: "var(--color-chrome)" }, - { browser: "safari", visitors: 200, fill: "var(--color-safari)" }, - { browser: "firefox", visitors: 275, fill: "var(--color-firefox)" }, - { browser: "edge", visitors: 173, fill: "var(--color-edge)" }, - { browser: "other", visitors: 90, fill: "var(--color-other)" }, -] - -const chartConfig = { - visitors: { - label: "Visitors", - }, - chrome: { - label: "Chrome", - color: "hsl(var(--chart-1))", - }, - safari: { - label: "Safari", - color: "hsl(var(--chart-2))", - }, - firefox: { - label: "Firefox", - color: "hsl(var(--chart-3))", - }, - edge: { - label: "Edge", - color: "hsl(var(--chart-4))", - }, - other: { - label: "Other", - color: "hsl(var(--chart-5))", - }, -} satisfies ChartConfig - -export default function Component() { - return ( - - - Bar Chart - Active - January - June 2024 - - - - - - - chartConfig[value as keyof typeof chartConfig]?.label - } - /> - } - /> - { - return ( - - ) - }} - /> - - - - -
- Trending up by 5.2% this month -
-
- Showing total visitors for the last 6 months -
-
-
- ) -} diff --git a/deprecated/www/__registry__/new-york/blocks/chart-bar-default.tsx b/deprecated/www/__registry__/new-york/blocks/chart-bar-default.tsx deleted file mode 100644 index 5aec111e67..0000000000 --- a/deprecated/www/__registry__/new-york/blocks/chart-bar-default.tsx +++ /dev/null @@ -1,75 +0,0 @@ -"use client" - -import { TrendingUp } from "lucide-react" -import { Bar, BarChart, CartesianGrid, XAxis } from "recharts" - -import { - Card, - CardContent, - CardDescription, - CardFooter, - CardHeader, - CardTitle, -} from "@/registry/new-york/ui/card" -import { - ChartConfig, - ChartContainer, - ChartTooltip, - ChartTooltipContent, -} from "@/registry/new-york/ui/chart" - -export const description = "A bar chart" - -const chartData = [ - { month: "January", desktop: 186 }, - { month: "February", desktop: 305 }, - { month: "March", desktop: 237 }, - { month: "April", desktop: 73 }, - { month: "May", desktop: 209 }, - { month: "June", desktop: 214 }, -] - -const chartConfig = { - desktop: { - label: "Desktop", - color: "hsl(var(--chart-1))", - }, -} satisfies ChartConfig - -export default function Component() { - return ( - - - Bar Chart - January - June 2024 - - - - - - value.slice(0, 3)} - /> - } - /> - - - - - -
- Trending up by 5.2% this month -
-
- Showing total visitors for the last 6 months -
-
-
- ) -} diff --git a/deprecated/www/__registry__/new-york/blocks/chart-bar-horizontal.tsx b/deprecated/www/__registry__/new-york/blocks/chart-bar-horizontal.tsx deleted file mode 100644 index b8b1014517..0000000000 --- a/deprecated/www/__registry__/new-york/blocks/chart-bar-horizontal.tsx +++ /dev/null @@ -1,83 +0,0 @@ -"use client" - -import { TrendingUp } from "lucide-react" -import { Bar, BarChart, XAxis, YAxis } from "recharts" - -import { - Card, - CardContent, - CardDescription, - CardFooter, - CardHeader, - CardTitle, -} from "@/registry/new-york/ui/card" -import { - ChartConfig, - ChartContainer, - ChartTooltip, - ChartTooltipContent, -} from "@/registry/new-york/ui/chart" - -export const description = "A horizontal bar chart" - -const chartData = [ - { month: "January", desktop: 186 }, - { month: "February", desktop: 305 }, - { month: "March", desktop: 237 }, - { month: "April", desktop: 73 }, - { month: "May", desktop: 209 }, - { month: "June", desktop: 214 }, -] - -const chartConfig = { - desktop: { - label: "Desktop", - color: "hsl(var(--chart-1))", - }, -} satisfies ChartConfig - -export default function Component() { - return ( - - - Bar Chart - Horizontal - January - June 2024 - - - - - - value.slice(0, 3)} - /> - } - /> - - - - - -
- Trending up by 5.2% this month -
-
- Showing total visitors for the last 6 months -
-
-
- ) -} diff --git a/deprecated/www/__registry__/new-york/blocks/chart-bar-interactive.tsx b/deprecated/www/__registry__/new-york/blocks/chart-bar-interactive.tsx deleted file mode 100644 index f988ef5e11..0000000000 --- a/deprecated/www/__registry__/new-york/blocks/chart-bar-interactive.tsx +++ /dev/null @@ -1,221 +0,0 @@ -"use client" - -import * as React from "react" -import { Bar, BarChart, CartesianGrid, XAxis } from "recharts" - -import { - Card, - CardContent, - CardDescription, - CardHeader, - CardTitle, -} from "@/registry/new-york/ui/card" -import { - ChartConfig, - ChartContainer, - ChartTooltip, - ChartTooltipContent, -} from "@/registry/new-york/ui/chart" - -export const description = "An interactive bar chart" - -const chartData = [ - { date: "2024-04-01", desktop: 222, mobile: 150 }, - { date: "2024-04-02", desktop: 97, mobile: 180 }, - { date: "2024-04-03", desktop: 167, mobile: 120 }, - { date: "2024-04-04", desktop: 242, mobile: 260 }, - { date: "2024-04-05", desktop: 373, mobile: 290 }, - { date: "2024-04-06", desktop: 301, mobile: 340 }, - { date: "2024-04-07", desktop: 245, mobile: 180 }, - { date: "2024-04-08", desktop: 409, mobile: 320 }, - { date: "2024-04-09", desktop: 59, mobile: 110 }, - { date: "2024-04-10", desktop: 261, mobile: 190 }, - { date: "2024-04-11", desktop: 327, mobile: 350 }, - { date: "2024-04-12", desktop: 292, mobile: 210 }, - { date: "2024-04-13", desktop: 342, mobile: 380 }, - { date: "2024-04-14", desktop: 137, mobile: 220 }, - { date: "2024-04-15", desktop: 120, mobile: 170 }, - { date: "2024-04-16", desktop: 138, mobile: 190 }, - { date: "2024-04-17", desktop: 446, mobile: 360 }, - { date: "2024-04-18", desktop: 364, mobile: 410 }, - { date: "2024-04-19", desktop: 243, mobile: 180 }, - { date: "2024-04-20", desktop: 89, mobile: 150 }, - { date: "2024-04-21", desktop: 137, mobile: 200 }, - { date: "2024-04-22", desktop: 224, mobile: 170 }, - { date: "2024-04-23", desktop: 138, mobile: 230 }, - { date: "2024-04-24", desktop: 387, mobile: 290 }, - { date: "2024-04-25", desktop: 215, mobile: 250 }, - { date: "2024-04-26", desktop: 75, mobile: 130 }, - { date: "2024-04-27", desktop: 383, mobile: 420 }, - { date: "2024-04-28", desktop: 122, mobile: 180 }, - { date: "2024-04-29", desktop: 315, mobile: 240 }, - { date: "2024-04-30", desktop: 454, mobile: 380 }, - { date: "2024-05-01", desktop: 165, mobile: 220 }, - { date: "2024-05-02", desktop: 293, mobile: 310 }, - { date: "2024-05-03", desktop: 247, mobile: 190 }, - { date: "2024-05-04", desktop: 385, mobile: 420 }, - { date: "2024-05-05", desktop: 481, mobile: 390 }, - { date: "2024-05-06", desktop: 498, mobile: 520 }, - { date: "2024-05-07", desktop: 388, mobile: 300 }, - { date: "2024-05-08", desktop: 149, mobile: 210 }, - { date: "2024-05-09", desktop: 227, mobile: 180 }, - { date: "2024-05-10", desktop: 293, mobile: 330 }, - { date: "2024-05-11", desktop: 335, mobile: 270 }, - { date: "2024-05-12", desktop: 197, mobile: 240 }, - { date: "2024-05-13", desktop: 197, mobile: 160 }, - { date: "2024-05-14", desktop: 448, mobile: 490 }, - { date: "2024-05-15", desktop: 473, mobile: 380 }, - { date: "2024-05-16", desktop: 338, mobile: 400 }, - { date: "2024-05-17", desktop: 499, mobile: 420 }, - { date: "2024-05-18", desktop: 315, mobile: 350 }, - { date: "2024-05-19", desktop: 235, mobile: 180 }, - { date: "2024-05-20", desktop: 177, mobile: 230 }, - { date: "2024-05-21", desktop: 82, mobile: 140 }, - { date: "2024-05-22", desktop: 81, mobile: 120 }, - { date: "2024-05-23", desktop: 252, mobile: 290 }, - { date: "2024-05-24", desktop: 294, mobile: 220 }, - { date: "2024-05-25", desktop: 201, mobile: 250 }, - { date: "2024-05-26", desktop: 213, mobile: 170 }, - { date: "2024-05-27", desktop: 420, mobile: 460 }, - { date: "2024-05-28", desktop: 233, mobile: 190 }, - { date: "2024-05-29", desktop: 78, mobile: 130 }, - { date: "2024-05-30", desktop: 340, mobile: 280 }, - { date: "2024-05-31", desktop: 178, mobile: 230 }, - { date: "2024-06-01", desktop: 178, mobile: 200 }, - { date: "2024-06-02", desktop: 470, mobile: 410 }, - { date: "2024-06-03", desktop: 103, mobile: 160 }, - { date: "2024-06-04", desktop: 439, mobile: 380 }, - { date: "2024-06-05", desktop: 88, mobile: 140 }, - { date: "2024-06-06", desktop: 294, mobile: 250 }, - { date: "2024-06-07", desktop: 323, mobile: 370 }, - { date: "2024-06-08", desktop: 385, mobile: 320 }, - { date: "2024-06-09", desktop: 438, mobile: 480 }, - { date: "2024-06-10", desktop: 155, mobile: 200 }, - { date: "2024-06-11", desktop: 92, mobile: 150 }, - { date: "2024-06-12", desktop: 492, mobile: 420 }, - { date: "2024-06-13", desktop: 81, mobile: 130 }, - { date: "2024-06-14", desktop: 426, mobile: 380 }, - { date: "2024-06-15", desktop: 307, mobile: 350 }, - { date: "2024-06-16", desktop: 371, mobile: 310 }, - { date: "2024-06-17", desktop: 475, mobile: 520 }, - { date: "2024-06-18", desktop: 107, mobile: 170 }, - { date: "2024-06-19", desktop: 341, mobile: 290 }, - { date: "2024-06-20", desktop: 408, mobile: 450 }, - { date: "2024-06-21", desktop: 169, mobile: 210 }, - { date: "2024-06-22", desktop: 317, mobile: 270 }, - { date: "2024-06-23", desktop: 480, mobile: 530 }, - { date: "2024-06-24", desktop: 132, mobile: 180 }, - { date: "2024-06-25", desktop: 141, mobile: 190 }, - { date: "2024-06-26", desktop: 434, mobile: 380 }, - { date: "2024-06-27", desktop: 448, mobile: 490 }, - { date: "2024-06-28", desktop: 149, mobile: 200 }, - { date: "2024-06-29", desktop: 103, mobile: 160 }, - { date: "2024-06-30", desktop: 446, mobile: 400 }, -] - -const chartConfig = { - views: { - label: "Page Views", - }, - desktop: { - label: "Desktop", - color: "hsl(var(--chart-1))", - }, - mobile: { - label: "Mobile", - color: "hsl(var(--chart-2))", - }, -} satisfies ChartConfig - -export default function Component() { - const [activeChart, setActiveChart] = - React.useState("desktop") - - const total = React.useMemo( - () => ({ - desktop: chartData.reduce((acc, curr) => acc + curr.desktop, 0), - mobile: chartData.reduce((acc, curr) => acc + curr.mobile, 0), - }), - [] - ) - - return ( - - -
- Bar Chart - Interactive - - Showing total visitors for the last 3 months - -
-
- {["desktop", "mobile"].map((key) => { - const chart = key as keyof typeof chartConfig - return ( - - ) - })} -
-
- - - - - { - const date = new Date(value) - return date.toLocaleDateString("en-US", { - month: "short", - day: "numeric", - }) - }} - /> - { - return new Date(value).toLocaleDateString("en-US", { - month: "short", - day: "numeric", - year: "numeric", - }) - }} - /> - } - /> - - - - -
- ) -} diff --git a/deprecated/www/__registry__/new-york/blocks/chart-bar-label-custom.tsx b/deprecated/www/__registry__/new-york/blocks/chart-bar-label-custom.tsx deleted file mode 100644 index bba630a900..0000000000 --- a/deprecated/www/__registry__/new-york/blocks/chart-bar-label-custom.tsx +++ /dev/null @@ -1,112 +0,0 @@ -"use client" - -import { TrendingUp } from "lucide-react" -import { Bar, BarChart, CartesianGrid, LabelList, XAxis, YAxis } from "recharts" - -import { - Card, - CardContent, - CardDescription, - CardFooter, - CardHeader, - CardTitle, -} from "@/registry/new-york/ui/card" -import { - ChartConfig, - ChartContainer, - ChartTooltip, - ChartTooltipContent, -} from "@/registry/new-york/ui/chart" - -export const description = "A bar chart with a custom label" - -const chartData = [ - { month: "January", desktop: 186, mobile: 80 }, - { month: "February", desktop: 305, mobile: 200 }, - { month: "March", desktop: 237, mobile: 120 }, - { month: "April", desktop: 73, mobile: 190 }, - { month: "May", desktop: 209, mobile: 130 }, - { month: "June", desktop: 214, mobile: 140 }, -] - -const chartConfig = { - desktop: { - label: "Desktop", - color: "hsl(var(--chart-1))", - }, - mobile: { - label: "Mobile", - color: "hsl(var(--chart-2))", - }, - label: { - color: "hsl(var(--background))", - }, -} satisfies ChartConfig - -export default function Component() { - return ( - - - Bar Chart - Custom Label - January - June 2024 - - - - - - value.slice(0, 3)} - hide - /> - - } - /> - - - - - - - - -
- Trending up by 5.2% this month -
-
- Showing total visitors for the last 6 months -
-
-
- ) -} diff --git a/deprecated/www/__registry__/new-york/blocks/chart-bar-label.tsx b/deprecated/www/__registry__/new-york/blocks/chart-bar-label.tsx deleted file mode 100644 index 1a06e05e00..0000000000 --- a/deprecated/www/__registry__/new-york/blocks/chart-bar-label.tsx +++ /dev/null @@ -1,88 +0,0 @@ -"use client" - -import { TrendingUp } from "lucide-react" -import { Bar, BarChart, CartesianGrid, LabelList, XAxis } from "recharts" - -import { - Card, - CardContent, - CardDescription, - CardFooter, - CardHeader, - CardTitle, -} from "@/registry/new-york/ui/card" -import { - ChartConfig, - ChartContainer, - ChartTooltip, - ChartTooltipContent, -} from "@/registry/new-york/ui/chart" - -export const description = "A bar chart with a label" - -const chartData = [ - { month: "January", desktop: 186 }, - { month: "February", desktop: 305 }, - { month: "March", desktop: 237 }, - { month: "April", desktop: 73 }, - { month: "May", desktop: 209 }, - { month: "June", desktop: 214 }, -] - -const chartConfig = { - desktop: { - label: "Desktop", - color: "hsl(var(--chart-1))", - }, -} satisfies ChartConfig - -export default function Component() { - return ( - - - Bar Chart - Label - January - June 2024 - - - - - - value.slice(0, 3)} - /> - } - /> - - - - - - - -
- Trending up by 5.2% this month -
-
- Showing total visitors for the last 6 months -
-
-
- ) -} diff --git a/deprecated/www/__registry__/new-york/blocks/chart-bar-mixed.tsx b/deprecated/www/__registry__/new-york/blocks/chart-bar-mixed.tsx deleted file mode 100644 index f839877833..0000000000 --- a/deprecated/www/__registry__/new-york/blocks/chart-bar-mixed.tsx +++ /dev/null @@ -1,103 +0,0 @@ -"use client" - -import { TrendingUp } from "lucide-react" -import { Bar, BarChart, XAxis, YAxis } from "recharts" - -import { - Card, - CardContent, - CardDescription, - CardFooter, - CardHeader, - CardTitle, -} from "@/registry/new-york/ui/card" -import { - ChartConfig, - ChartContainer, - ChartTooltip, - ChartTooltipContent, -} from "@/registry/new-york/ui/chart" - -export const description = "A mixed bar chart" - -const chartData = [ - { browser: "chrome", visitors: 275, fill: "var(--color-chrome)" }, - { browser: "safari", visitors: 200, fill: "var(--color-safari)" }, - { browser: "firefox", visitors: 187, fill: "var(--color-firefox)" }, - { browser: "edge", visitors: 173, fill: "var(--color-edge)" }, - { browser: "other", visitors: 90, fill: "var(--color-other)" }, -] - -const chartConfig = { - visitors: { - label: "Visitors", - }, - chrome: { - label: "Chrome", - color: "hsl(var(--chart-1))", - }, - safari: { - label: "Safari", - color: "hsl(var(--chart-2))", - }, - firefox: { - label: "Firefox", - color: "hsl(var(--chart-3))", - }, - edge: { - label: "Edge", - color: "hsl(var(--chart-4))", - }, - other: { - label: "Other", - color: "hsl(var(--chart-5))", - }, -} satisfies ChartConfig - -export default function Component() { - return ( - - - Bar Chart - Mixed - January - June 2024 - - - - - - chartConfig[value as keyof typeof chartConfig]?.label - } - /> - - } - /> - - - - - -
- Trending up by 5.2% this month -
-
- Showing total visitors for the last 6 months -
-
-
- ) -} diff --git a/deprecated/www/__registry__/new-york/blocks/chart-bar-multiple.tsx b/deprecated/www/__registry__/new-york/blocks/chart-bar-multiple.tsx deleted file mode 100644 index b570638ce6..0000000000 --- a/deprecated/www/__registry__/new-york/blocks/chart-bar-multiple.tsx +++ /dev/null @@ -1,80 +0,0 @@ -"use client" - -import { TrendingUp } from "lucide-react" -import { Bar, BarChart, CartesianGrid, XAxis } from "recharts" - -import { - Card, - CardContent, - CardDescription, - CardFooter, - CardHeader, - CardTitle, -} from "@/registry/new-york/ui/card" -import { - ChartConfig, - ChartContainer, - ChartTooltip, - ChartTooltipContent, -} from "@/registry/new-york/ui/chart" - -export const description = "A multiple bar chart" - -const chartData = [ - { month: "January", desktop: 186, mobile: 80 }, - { month: "February", desktop: 305, mobile: 200 }, - { month: "March", desktop: 237, mobile: 120 }, - { month: "April", desktop: 73, mobile: 190 }, - { month: "May", desktop: 209, mobile: 130 }, - { month: "June", desktop: 214, mobile: 140 }, -] - -const chartConfig = { - desktop: { - label: "Desktop", - color: "hsl(var(--chart-1))", - }, - mobile: { - label: "Mobile", - color: "hsl(var(--chart-2))", - }, -} satisfies ChartConfig - -export default function Component() { - return ( - - - Bar Chart - Multiple - January - June 2024 - - - - - - value.slice(0, 3)} - /> - } - /> - - - - - - -
- Trending up by 5.2% this month -
-
- Showing total visitors for the last 6 months -
-
-
- ) -} diff --git a/deprecated/www/__registry__/new-york/blocks/chart-bar-negative.tsx b/deprecated/www/__registry__/new-york/blocks/chart-bar-negative.tsx deleted file mode 100644 index c735fc6fff..0000000000 --- a/deprecated/www/__registry__/new-york/blocks/chart-bar-negative.tsx +++ /dev/null @@ -1,79 +0,0 @@ -"use client" - -import { TrendingUp } from "lucide-react" -import { Bar, BarChart, CartesianGrid, Cell, LabelList } from "recharts" - -import { - Card, - CardContent, - CardDescription, - CardFooter, - CardHeader, - CardTitle, -} from "@/registry/new-york/ui/card" -import { - ChartConfig, - ChartContainer, - ChartTooltip, - ChartTooltipContent, -} from "@/registry/new-york/ui/chart" - -export const description = "A bar chart with negative values" - -const chartData = [ - { month: "January", visitors: 186 }, - { month: "February", visitors: 205 }, - { month: "March", visitors: -207 }, - { month: "April", visitors: 173 }, - { month: "May", visitors: -209 }, - { month: "June", visitors: 214 }, -] - -const chartConfig = { - visitors: { - label: "Visitors", - }, -} satisfies ChartConfig - -export default function Component() { - return ( - - - Bar Chart - Negative - January - June 2024 - - - - - - } - /> - - - {chartData.map((item) => ( - 0 - ? "hsl(var(--chart-1))" - : "hsl(var(--chart-2))" - } - /> - ))} - - - - - -
- Trending up by 5.2% this month -
-
- Showing total visitors for the last 6 months -
-
-
- ) -} diff --git a/deprecated/www/__registry__/new-york/blocks/chart-bar-stacked.tsx b/deprecated/www/__registry__/new-york/blocks/chart-bar-stacked.tsx deleted file mode 100644 index ddfa81e47e..0000000000 --- a/deprecated/www/__registry__/new-york/blocks/chart-bar-stacked.tsx +++ /dev/null @@ -1,90 +0,0 @@ -"use client" - -import { TrendingUp } from "lucide-react" -import { Bar, BarChart, CartesianGrid, XAxis } from "recharts" - -import { - Card, - CardContent, - CardDescription, - CardFooter, - CardHeader, - CardTitle, -} from "@/registry/new-york/ui/card" -import { - ChartConfig, - ChartContainer, - ChartLegend, - ChartLegendContent, - ChartTooltip, - ChartTooltipContent, -} from "@/registry/new-york/ui/chart" - -export const description = "A stacked bar chart with a legend" - -const chartData = [ - { month: "January", desktop: 186, mobile: 80 }, - { month: "February", desktop: 305, mobile: 200 }, - { month: "March", desktop: 237, mobile: 120 }, - { month: "April", desktop: 73, mobile: 190 }, - { month: "May", desktop: 209, mobile: 130 }, - { month: "June", desktop: 214, mobile: 140 }, -] - -const chartConfig = { - desktop: { - label: "Desktop", - color: "hsl(var(--chart-1))", - }, - mobile: { - label: "Mobile", - color: "hsl(var(--chart-2))", - }, -} satisfies ChartConfig - -export default function Component() { - return ( - - - Bar Chart - Stacked + Legend - January - June 2024 - - - - - - value.slice(0, 3)} - /> - } /> - } /> - - - - - - -
- Trending up by 5.2% this month -
-
- Showing total visitors for the last 6 months -
-
-
- ) -} diff --git a/deprecated/www/__registry__/new-york/blocks/chart-line-default.tsx b/deprecated/www/__registry__/new-york/blocks/chart-line-default.tsx deleted file mode 100644 index ccc36bc5b6..0000000000 --- a/deprecated/www/__registry__/new-york/blocks/chart-line-default.tsx +++ /dev/null @@ -1,88 +0,0 @@ -"use client" - -import { TrendingUp } from "lucide-react" -import { CartesianGrid, Line, LineChart, XAxis } from "recharts" - -import { - Card, - CardContent, - CardDescription, - CardFooter, - CardHeader, - CardTitle, -} from "@/registry/new-york/ui/card" -import { - ChartConfig, - ChartContainer, - ChartTooltip, - ChartTooltipContent, -} from "@/registry/new-york/ui/chart" - -export const description = "A line chart" - -const chartData = [ - { month: "January", desktop: 186 }, - { month: "February", desktop: 305 }, - { month: "March", desktop: 237 }, - { month: "April", desktop: 73 }, - { month: "May", desktop: 209 }, - { month: "June", desktop: 214 }, -] - -const chartConfig = { - desktop: { - label: "Desktop", - color: "hsl(var(--chart-1))", - }, -} satisfies ChartConfig - -export default function Component() { - return ( - - - Line Chart - January - June 2024 - - - - - - value.slice(0, 3)} - /> - } - /> - - - - - -
- Trending up by 5.2% this month -
-
- Showing total visitors for the last 6 months -
-
-
- ) -} diff --git a/deprecated/www/__registry__/new-york/blocks/chart-line-dots-colors.tsx b/deprecated/www/__registry__/new-york/blocks/chart-line-dots-colors.tsx deleted file mode 100644 index 5176281cc2..0000000000 --- a/deprecated/www/__registry__/new-york/blocks/chart-line-dots-colors.tsx +++ /dev/null @@ -1,118 +0,0 @@ -"use client" - -import { TrendingUp } from "lucide-react" -import { CartesianGrid, Dot, Line, LineChart } from "recharts" - -import { - Card, - CardContent, - CardDescription, - CardFooter, - CardHeader, - CardTitle, -} from "@/registry/new-york/ui/card" -import { - ChartConfig, - ChartContainer, - ChartTooltip, - ChartTooltipContent, -} from "@/registry/new-york/ui/chart" - -export const description = "A line chart with dots and colors" - -const chartData = [ - { browser: "chrome", visitors: 275, fill: "var(--color-chrome)" }, - { browser: "safari", visitors: 200, fill: "var(--color-safari)" }, - { browser: "firefox", visitors: 187, fill: "var(--color-firefox)" }, - { browser: "edge", visitors: 173, fill: "var(--color-edge)" }, - { browser: "other", visitors: 90, fill: "var(--color-other)" }, -] - -const chartConfig = { - visitors: { - label: "Visitors", - color: "hsl(var(--chart-2))", - }, - chrome: { - label: "Chrome", - color: "hsl(var(--chart-1))", - }, - safari: { - label: "Safari", - color: "hsl(var(--chart-2))", - }, - firefox: { - label: "Firefox", - color: "hsl(var(--chart-3))", - }, - edge: { - label: "Edge", - color: "hsl(var(--chart-4))", - }, - other: { - label: "Other", - color: "hsl(var(--chart-5))", - }, -} satisfies ChartConfig - -export default function Component() { - return ( - - - Line Chart - Dots Colors - January - June 2024 - - - - - - - } - /> - { - return ( - - ) - }} - /> - - - - -
- Trending up by 5.2% this month -
-
- Showing total visitors for the last 6 months -
-
-
- ) -} diff --git a/deprecated/www/__registry__/new-york/blocks/chart-line-dots-custom.tsx b/deprecated/www/__registry__/new-york/blocks/chart-line-dots-custom.tsx deleted file mode 100644 index 9b7e86ca36..0000000000 --- a/deprecated/www/__registry__/new-york/blocks/chart-line-dots-custom.tsx +++ /dev/null @@ -1,105 +0,0 @@ -"use client" - -import { GitCommitVertical, TrendingUp } from "lucide-react" -import { CartesianGrid, Line, LineChart, XAxis } from "recharts" - -import { - Card, - CardContent, - CardDescription, - CardFooter, - CardHeader, - CardTitle, -} from "@/registry/new-york/ui/card" -import { - ChartConfig, - ChartContainer, - ChartTooltip, - ChartTooltipContent, -} from "@/registry/new-york/ui/chart" - -export const description = "A line chart with custom dots" - -const chartData = [ - { month: "January", desktop: 186, mobile: 80 }, - { month: "February", desktop: 305, mobile: 200 }, - { month: "March", desktop: 237, mobile: 120 }, - { month: "April", desktop: 73, mobile: 190 }, - { month: "May", desktop: 209, mobile: 130 }, - { month: "June", desktop: 214, mobile: 140 }, -] - -const chartConfig = { - desktop: { - label: "Desktop", - color: "hsl(var(--chart-1))", - }, - mobile: { - label: "Mobile", - color: "hsl(var(--chart-2))", - }, -} satisfies ChartConfig - -export default function Component() { - return ( - - - Line Chart - Custom Dots - January - June 2024 - - - - - - value.slice(0, 3)} - /> - } - /> - { - const r = 24 - return ( - - ) - }} - /> - - - - -
- Trending up by 5.2% this month -
-
- Showing total visitors for the last 6 months -
-
-
- ) -} diff --git a/deprecated/www/__registry__/new-york/blocks/chart-line-dots.tsx b/deprecated/www/__registry__/new-york/blocks/chart-line-dots.tsx deleted file mode 100644 index 54fb10ed80..0000000000 --- a/deprecated/www/__registry__/new-york/blocks/chart-line-dots.tsx +++ /dev/null @@ -1,97 +0,0 @@ -"use client" - -import { TrendingUp } from "lucide-react" -import { CartesianGrid, Line, LineChart, XAxis } from "recharts" - -import { - Card, - CardContent, - CardDescription, - CardFooter, - CardHeader, - CardTitle, -} from "@/registry/new-york/ui/card" -import { - ChartConfig, - ChartContainer, - ChartTooltip, - ChartTooltipContent, -} from "@/registry/new-york/ui/chart" - -export const description = "A line chart with dots" - -const chartData = [ - { month: "January", desktop: 186, mobile: 80 }, - { month: "February", desktop: 305, mobile: 200 }, - { month: "March", desktop: 237, mobile: 120 }, - { month: "April", desktop: 73, mobile: 190 }, - { month: "May", desktop: 209, mobile: 130 }, - { month: "June", desktop: 214, mobile: 140 }, -] - -const chartConfig = { - desktop: { - label: "Desktop", - color: "hsl(var(--chart-1))", - }, - mobile: { - label: "Mobile", - color: "hsl(var(--chart-2))", - }, -} satisfies ChartConfig - -export default function Component() { - return ( - - - Line Chart - Dots - January - June 2024 - - - - - - value.slice(0, 3)} - /> - } - /> - - - - - -
- Trending up by 5.2% this month -
-
- Showing total visitors for the last 6 months -
-
-
- ) -} diff --git a/deprecated/www/__registry__/new-york/blocks/chart-line-interactive.tsx b/deprecated/www/__registry__/new-york/blocks/chart-line-interactive.tsx deleted file mode 100644 index 4432eb89c2..0000000000 --- a/deprecated/www/__registry__/new-york/blocks/chart-line-interactive.tsx +++ /dev/null @@ -1,227 +0,0 @@ -"use client" - -import * as React from "react" -import { CartesianGrid, Line, LineChart, XAxis } from "recharts" - -import { - Card, - CardContent, - CardDescription, - CardHeader, - CardTitle, -} from "@/registry/new-york/ui/card" -import { - ChartConfig, - ChartContainer, - ChartTooltip, - ChartTooltipContent, -} from "@/registry/new-york/ui/chart" - -export const description = "An interactive line chart" - -const chartData = [ - { date: "2024-04-01", desktop: 222, mobile: 150 }, - { date: "2024-04-02", desktop: 97, mobile: 180 }, - { date: "2024-04-03", desktop: 167, mobile: 120 }, - { date: "2024-04-04", desktop: 242, mobile: 260 }, - { date: "2024-04-05", desktop: 373, mobile: 290 }, - { date: "2024-04-06", desktop: 301, mobile: 340 }, - { date: "2024-04-07", desktop: 245, mobile: 180 }, - { date: "2024-04-08", desktop: 409, mobile: 320 }, - { date: "2024-04-09", desktop: 59, mobile: 110 }, - { date: "2024-04-10", desktop: 261, mobile: 190 }, - { date: "2024-04-11", desktop: 327, mobile: 350 }, - { date: "2024-04-12", desktop: 292, mobile: 210 }, - { date: "2024-04-13", desktop: 342, mobile: 380 }, - { date: "2024-04-14", desktop: 137, mobile: 220 }, - { date: "2024-04-15", desktop: 120, mobile: 170 }, - { date: "2024-04-16", desktop: 138, mobile: 190 }, - { date: "2024-04-17", desktop: 446, mobile: 360 }, - { date: "2024-04-18", desktop: 364, mobile: 410 }, - { date: "2024-04-19", desktop: 243, mobile: 180 }, - { date: "2024-04-20", desktop: 89, mobile: 150 }, - { date: "2024-04-21", desktop: 137, mobile: 200 }, - { date: "2024-04-22", desktop: 224, mobile: 170 }, - { date: "2024-04-23", desktop: 138, mobile: 230 }, - { date: "2024-04-24", desktop: 387, mobile: 290 }, - { date: "2024-04-25", desktop: 215, mobile: 250 }, - { date: "2024-04-26", desktop: 75, mobile: 130 }, - { date: "2024-04-27", desktop: 383, mobile: 420 }, - { date: "2024-04-28", desktop: 122, mobile: 180 }, - { date: "2024-04-29", desktop: 315, mobile: 240 }, - { date: "2024-04-30", desktop: 454, mobile: 380 }, - { date: "2024-05-01", desktop: 165, mobile: 220 }, - { date: "2024-05-02", desktop: 293, mobile: 310 }, - { date: "2024-05-03", desktop: 247, mobile: 190 }, - { date: "2024-05-04", desktop: 385, mobile: 420 }, - { date: "2024-05-05", desktop: 481, mobile: 390 }, - { date: "2024-05-06", desktop: 498, mobile: 520 }, - { date: "2024-05-07", desktop: 388, mobile: 300 }, - { date: "2024-05-08", desktop: 149, mobile: 210 }, - { date: "2024-05-09", desktop: 227, mobile: 180 }, - { date: "2024-05-10", desktop: 293, mobile: 330 }, - { date: "2024-05-11", desktop: 335, mobile: 270 }, - { date: "2024-05-12", desktop: 197, mobile: 240 }, - { date: "2024-05-13", desktop: 197, mobile: 160 }, - { date: "2024-05-14", desktop: 448, mobile: 490 }, - { date: "2024-05-15", desktop: 473, mobile: 380 }, - { date: "2024-05-16", desktop: 338, mobile: 400 }, - { date: "2024-05-17", desktop: 499, mobile: 420 }, - { date: "2024-05-18", desktop: 315, mobile: 350 }, - { date: "2024-05-19", desktop: 235, mobile: 180 }, - { date: "2024-05-20", desktop: 177, mobile: 230 }, - { date: "2024-05-21", desktop: 82, mobile: 140 }, - { date: "2024-05-22", desktop: 81, mobile: 120 }, - { date: "2024-05-23", desktop: 252, mobile: 290 }, - { date: "2024-05-24", desktop: 294, mobile: 220 }, - { date: "2024-05-25", desktop: 201, mobile: 250 }, - { date: "2024-05-26", desktop: 213, mobile: 170 }, - { date: "2024-05-27", desktop: 420, mobile: 460 }, - { date: "2024-05-28", desktop: 233, mobile: 190 }, - { date: "2024-05-29", desktop: 78, mobile: 130 }, - { date: "2024-05-30", desktop: 340, mobile: 280 }, - { date: "2024-05-31", desktop: 178, mobile: 230 }, - { date: "2024-06-01", desktop: 178, mobile: 200 }, - { date: "2024-06-02", desktop: 470, mobile: 410 }, - { date: "2024-06-03", desktop: 103, mobile: 160 }, - { date: "2024-06-04", desktop: 439, mobile: 380 }, - { date: "2024-06-05", desktop: 88, mobile: 140 }, - { date: "2024-06-06", desktop: 294, mobile: 250 }, - { date: "2024-06-07", desktop: 323, mobile: 370 }, - { date: "2024-06-08", desktop: 385, mobile: 320 }, - { date: "2024-06-09", desktop: 438, mobile: 480 }, - { date: "2024-06-10", desktop: 155, mobile: 200 }, - { date: "2024-06-11", desktop: 92, mobile: 150 }, - { date: "2024-06-12", desktop: 492, mobile: 420 }, - { date: "2024-06-13", desktop: 81, mobile: 130 }, - { date: "2024-06-14", desktop: 426, mobile: 380 }, - { date: "2024-06-15", desktop: 307, mobile: 350 }, - { date: "2024-06-16", desktop: 371, mobile: 310 }, - { date: "2024-06-17", desktop: 475, mobile: 520 }, - { date: "2024-06-18", desktop: 107, mobile: 170 }, - { date: "2024-06-19", desktop: 341, mobile: 290 }, - { date: "2024-06-20", desktop: 408, mobile: 450 }, - { date: "2024-06-21", desktop: 169, mobile: 210 }, - { date: "2024-06-22", desktop: 317, mobile: 270 }, - { date: "2024-06-23", desktop: 480, mobile: 530 }, - { date: "2024-06-24", desktop: 132, mobile: 180 }, - { date: "2024-06-25", desktop: 141, mobile: 190 }, - { date: "2024-06-26", desktop: 434, mobile: 380 }, - { date: "2024-06-27", desktop: 448, mobile: 490 }, - { date: "2024-06-28", desktop: 149, mobile: 200 }, - { date: "2024-06-29", desktop: 103, mobile: 160 }, - { date: "2024-06-30", desktop: 446, mobile: 400 }, -] - -const chartConfig = { - views: { - label: "Page Views", - }, - desktop: { - label: "Desktop", - color: "hsl(var(--chart-1))", - }, - mobile: { - label: "Mobile", - color: "hsl(var(--chart-2))", - }, -} satisfies ChartConfig - -export default function Component() { - const [activeChart, setActiveChart] = - React.useState("desktop") - - const total = React.useMemo( - () => ({ - desktop: chartData.reduce((acc, curr) => acc + curr.desktop, 0), - mobile: chartData.reduce((acc, curr) => acc + curr.mobile, 0), - }), - [] - ) - - return ( - - -
- Line Chart - Interactive - - Showing total visitors for the last 3 months - -
-
- {["desktop", "mobile"].map((key) => { - const chart = key as keyof typeof chartConfig - return ( - - ) - })} -
-
- - - - - { - const date = new Date(value) - return date.toLocaleDateString("en-US", { - month: "short", - day: "numeric", - }) - }} - /> - { - return new Date(value).toLocaleDateString("en-US", { - month: "short", - day: "numeric", - year: "numeric", - }) - }} - /> - } - /> - - - - -
- ) -} diff --git a/deprecated/www/__registry__/new-york/blocks/chart-line-label-custom.tsx b/deprecated/www/__registry__/new-york/blocks/chart-line-label-custom.tsx deleted file mode 100644 index f7972946fc..0000000000 --- a/deprecated/www/__registry__/new-york/blocks/chart-line-label-custom.tsx +++ /dev/null @@ -1,123 +0,0 @@ -"use client" - -import { TrendingUp } from "lucide-react" -import { CartesianGrid, LabelList, Line, LineChart } from "recharts" - -import { - Card, - CardContent, - CardDescription, - CardFooter, - CardHeader, - CardTitle, -} from "@/registry/new-york/ui/card" -import { - ChartConfig, - ChartContainer, - ChartTooltip, - ChartTooltipContent, -} from "@/registry/new-york/ui/chart" - -export const description = "A line chart with a custom label" - -const chartData = [ - { browser: "chrome", visitors: 275, fill: "var(--color-chrome)" }, - { browser: "safari", visitors: 200, fill: "var(--color-safari)" }, - { browser: "firefox", visitors: 187, fill: "var(--color-firefox)" }, - { browser: "edge", visitors: 173, fill: "var(--color-edge)" }, - { browser: "other", visitors: 90, fill: "var(--color-other)" }, -] - -const chartConfig = { - visitors: { - label: "Visitors", - color: "hsl(var(--chart-2))", - }, - chrome: { - label: "Chrome", - color: "hsl(var(--chart-1))", - }, - safari: { - label: "Safari", - color: "hsl(var(--chart-2))", - }, - firefox: { - label: "Firefox", - color: "hsl(var(--chart-3))", - }, - edge: { - label: "Edge", - color: "hsl(var(--chart-4))", - }, - other: { - label: "Other", - color: "hsl(var(--chart-5))", - }, -} satisfies ChartConfig - -export default function Component() { - return ( - - - Line Chart - Custom Label - January - June 2024 - - - - - - - } - /> - - - chartConfig[value]?.label - } - /> - - - - - -
- Trending up by 5.2% this month -
-
- Showing total visitors for the last 6 months -
-
-
- ) -} diff --git a/deprecated/www/__registry__/new-york/blocks/chart-line-label.tsx b/deprecated/www/__registry__/new-york/blocks/chart-line-label.tsx deleted file mode 100644 index c6b832d6a6..0000000000 --- a/deprecated/www/__registry__/new-york/blocks/chart-line-label.tsx +++ /dev/null @@ -1,105 +0,0 @@ -"use client" - -import { TrendingUp } from "lucide-react" -import { CartesianGrid, LabelList, Line, LineChart, XAxis } from "recharts" - -import { - Card, - CardContent, - CardDescription, - CardFooter, - CardHeader, - CardTitle, -} from "@/registry/new-york/ui/card" -import { - ChartConfig, - ChartContainer, - ChartTooltip, - ChartTooltipContent, -} from "@/registry/new-york/ui/chart" - -export const description = "A line chart with a label" - -const chartData = [ - { month: "January", desktop: 186, mobile: 80 }, - { month: "February", desktop: 305, mobile: 200 }, - { month: "March", desktop: 237, mobile: 120 }, - { month: "April", desktop: 73, mobile: 190 }, - { month: "May", desktop: 209, mobile: 130 }, - { month: "June", desktop: 214, mobile: 140 }, -] - -const chartConfig = { - desktop: { - label: "Desktop", - color: "hsl(var(--chart-1))", - }, - mobile: { - label: "Mobile", - color: "hsl(var(--chart-2))", - }, -} satisfies ChartConfig - -export default function Component() { - return ( - - - Line Chart - Label - January - June 2024 - - - - - - value.slice(0, 3)} - /> - } - /> - - - - - - - -
- Trending up by 5.2% this month -
-
- Showing total visitors for the last 6 months -
-
-
- ) -} diff --git a/deprecated/www/__registry__/new-york/blocks/chart-line-linear.tsx b/deprecated/www/__registry__/new-york/blocks/chart-line-linear.tsx deleted file mode 100644 index 7225a5f79c..0000000000 --- a/deprecated/www/__registry__/new-york/blocks/chart-line-linear.tsx +++ /dev/null @@ -1,88 +0,0 @@ -"use client" - -import { TrendingUp } from "lucide-react" -import { CartesianGrid, Line, LineChart, XAxis } from "recharts" - -import { - Card, - CardContent, - CardDescription, - CardFooter, - CardHeader, - CardTitle, -} from "@/registry/new-york/ui/card" -import { - ChartConfig, - ChartContainer, - ChartTooltip, - ChartTooltipContent, -} from "@/registry/new-york/ui/chart" - -export const description = "A linear line chart" - -const chartData = [ - { month: "January", desktop: 186 }, - { month: "February", desktop: 305 }, - { month: "March", desktop: 237 }, - { month: "April", desktop: 73 }, - { month: "May", desktop: 209 }, - { month: "June", desktop: 214 }, -] - -const chartConfig = { - desktop: { - label: "Desktop", - color: "hsl(var(--chart-1))", - }, -} satisfies ChartConfig - -export default function Component() { - return ( - - - Line Chart - Linear - January - June 2024 - - - - - - value.slice(0, 3)} - /> - } - /> - - - - - -
- Trending up by 5.2% this month -
-
- Showing total visitors for the last 6 months -
-
-
- ) -} diff --git a/deprecated/www/__registry__/new-york/blocks/chart-line-multiple.tsx b/deprecated/www/__registry__/new-york/blocks/chart-line-multiple.tsx deleted file mode 100644 index f972819f5b..0000000000 --- a/deprecated/www/__registry__/new-york/blocks/chart-line-multiple.tsx +++ /dev/null @@ -1,100 +0,0 @@ -"use client" - -import { TrendingUp } from "lucide-react" -import { CartesianGrid, Line, LineChart, XAxis } from "recharts" - -import { - Card, - CardContent, - CardDescription, - CardFooter, - CardHeader, - CardTitle, -} from "@/registry/new-york/ui/card" -import { - ChartConfig, - ChartContainer, - ChartTooltip, - ChartTooltipContent, -} from "@/registry/new-york/ui/chart" - -export const description = "A multiple line chart" - -const chartData = [ - { month: "January", desktop: 186, mobile: 80 }, - { month: "February", desktop: 305, mobile: 200 }, - { month: "March", desktop: 237, mobile: 120 }, - { month: "April", desktop: 73, mobile: 190 }, - { month: "May", desktop: 209, mobile: 130 }, - { month: "June", desktop: 214, mobile: 140 }, -] - -const chartConfig = { - desktop: { - label: "Desktop", - color: "hsl(var(--chart-1))", - }, - mobile: { - label: "Mobile", - color: "hsl(var(--chart-2))", - }, -} satisfies ChartConfig - -export default function Component() { - return ( - - - Line Chart - Multiple - January - June 2024 - - - - - - value.slice(0, 3)} - /> - } /> - - - - - - -
-
-
- Trending up by 5.2% this month -
-
- Showing total visitors for the last 6 months -
-
-
-
-
- ) -} diff --git a/deprecated/www/__registry__/new-york/blocks/chart-line-step.tsx b/deprecated/www/__registry__/new-york/blocks/chart-line-step.tsx deleted file mode 100644 index 4531051867..0000000000 --- a/deprecated/www/__registry__/new-york/blocks/chart-line-step.tsx +++ /dev/null @@ -1,88 +0,0 @@ -"use client" - -import { TrendingUp } from "lucide-react" -import { CartesianGrid, Line, LineChart, XAxis } from "recharts" - -import { - Card, - CardContent, - CardDescription, - CardFooter, - CardHeader, - CardTitle, -} from "@/registry/new-york/ui/card" -import { - ChartConfig, - ChartContainer, - ChartTooltip, - ChartTooltipContent, -} from "@/registry/new-york/ui/chart" - -export const description = "A line chart with step" - -const chartData = [ - { month: "January", desktop: 186 }, - { month: "February", desktop: 305 }, - { month: "March", desktop: 237 }, - { month: "April", desktop: 73 }, - { month: "May", desktop: 209 }, - { month: "June", desktop: 214 }, -] - -const chartConfig = { - desktop: { - label: "Desktop", - color: "hsl(var(--chart-1))", - }, -} satisfies ChartConfig - -export default function Component() { - return ( - - - Line Chart - Step - January - June 2024 - - - - - - value.slice(0, 3)} - /> - } - /> - - - - - -
- Trending up by 5.2% this month -
-
- Showing total visitors for the last 6 months -
-
-
- ) -} diff --git a/deprecated/www/__registry__/new-york/blocks/chart-pie-donut-active.tsx b/deprecated/www/__registry__/new-york/blocks/chart-pie-donut-active.tsx deleted file mode 100644 index 7d7a82eca8..0000000000 --- a/deprecated/www/__registry__/new-york/blocks/chart-pie-donut-active.tsx +++ /dev/null @@ -1,102 +0,0 @@ -"use client" - -import { TrendingUp } from "lucide-react" -import { Label, Pie, PieChart, Sector } from "recharts" -import { PieSectorDataItem } from "recharts/types/polar/Pie" - -import { - Card, - CardContent, - CardDescription, - CardFooter, - CardHeader, - CardTitle, -} from "@/registry/new-york/ui/card" -import { - ChartConfig, - ChartContainer, - ChartTooltip, - ChartTooltipContent, -} from "@/registry/new-york/ui/chart" - -export const description = "A donut chart with an active sector" - -const chartData = [ - { browser: "chrome", visitors: 275, fill: "var(--color-chrome)" }, - { browser: "safari", visitors: 200, fill: "var(--color-safari)" }, - { browser: "firefox", visitors: 187, fill: "var(--color-firefox)" }, - { browser: "edge", visitors: 173, fill: "var(--color-edge)" }, - { browser: "other", visitors: 90, fill: "var(--color-other)" }, -] - -const chartConfig = { - visitors: { - label: "Visitors", - }, - chrome: { - label: "Chrome", - color: "hsl(var(--chart-1))", - }, - safari: { - label: "Safari", - color: "hsl(var(--chart-2))", - }, - firefox: { - label: "Firefox", - color: "hsl(var(--chart-3))", - }, - edge: { - label: "Edge", - color: "hsl(var(--chart-4))", - }, - other: { - label: "Other", - color: "hsl(var(--chart-5))", - }, -} satisfies ChartConfig - -export default function Component() { - return ( - - - Pie Chart - Donut Active - January - June 2024 - - - - - } - /> - ( - - )} - /> - - - - -
- Trending up by 5.2% this month -
-
- Showing total visitors for the last 6 months -
-
-
- ) -} diff --git a/deprecated/www/__registry__/new-york/blocks/chart-pie-donut-text.tsx b/deprecated/www/__registry__/new-york/blocks/chart-pie-donut-text.tsx deleted file mode 100644 index 1fb6bc74d1..0000000000 --- a/deprecated/www/__registry__/new-york/blocks/chart-pie-donut-text.tsx +++ /dev/null @@ -1,129 +0,0 @@ -"use client" - -import * as React from "react" -import { TrendingUp } from "lucide-react" -import { Label, Pie, PieChart } from "recharts" - -import { - Card, - CardContent, - CardDescription, - CardFooter, - CardHeader, - CardTitle, -} from "@/registry/new-york/ui/card" -import { - ChartConfig, - ChartContainer, - ChartTooltip, - ChartTooltipContent, -} from "@/registry/new-york/ui/chart" - -export const description = "A donut chart with text" - -const chartData = [ - { browser: "chrome", visitors: 275, fill: "var(--color-chrome)" }, - { browser: "safari", visitors: 200, fill: "var(--color-safari)" }, - { browser: "firefox", visitors: 287, fill: "var(--color-firefox)" }, - { browser: "edge", visitors: 173, fill: "var(--color-edge)" }, - { browser: "other", visitors: 190, fill: "var(--color-other)" }, -] - -const chartConfig = { - visitors: { - label: "Visitors", - }, - chrome: { - label: "Chrome", - color: "hsl(var(--chart-1))", - }, - safari: { - label: "Safari", - color: "hsl(var(--chart-2))", - }, - firefox: { - label: "Firefox", - color: "hsl(var(--chart-3))", - }, - edge: { - label: "Edge", - color: "hsl(var(--chart-4))", - }, - other: { - label: "Other", - color: "hsl(var(--chart-5))", - }, -} satisfies ChartConfig - -export default function Component() { - const totalVisitors = React.useMemo(() => { - return chartData.reduce((acc, curr) => acc + curr.visitors, 0) - }, []) - - return ( - - - Pie Chart - Donut with Text - January - June 2024 - - - - - } - /> - - - - - - -
- Trending up by 5.2% this month -
-
- Showing total visitors for the last 6 months -
-
-
- ) -} diff --git a/deprecated/www/__registry__/new-york/blocks/chart-pie-donut.tsx b/deprecated/www/__registry__/new-york/blocks/chart-pie-donut.tsx deleted file mode 100644 index 42965dac6a..0000000000 --- a/deprecated/www/__registry__/new-york/blocks/chart-pie-donut.tsx +++ /dev/null @@ -1,93 +0,0 @@ -"use client" - -import { TrendingUp } from "lucide-react" -import { Pie, PieChart } from "recharts" - -import { - Card, - CardContent, - CardDescription, - CardFooter, - CardHeader, - CardTitle, -} from "@/registry/new-york/ui/card" -import { - ChartConfig, - ChartContainer, - ChartTooltip, - ChartTooltipContent, -} from "@/registry/new-york/ui/chart" - -export const description = "A donut chart" - -const chartData = [ - { browser: "chrome", visitors: 275, fill: "var(--color-chrome)" }, - { browser: "safari", visitors: 200, fill: "var(--color-safari)" }, - { browser: "firefox", visitors: 187, fill: "var(--color-firefox)" }, - { browser: "edge", visitors: 173, fill: "var(--color-edge)" }, - { browser: "other", visitors: 90, fill: "var(--color-other)" }, -] - -const chartConfig = { - visitors: { - label: "Visitors", - }, - chrome: { - label: "Chrome", - color: "hsl(var(--chart-1))", - }, - safari: { - label: "Safari", - color: "hsl(var(--chart-2))", - }, - firefox: { - label: "Firefox", - color: "hsl(var(--chart-3))", - }, - edge: { - label: "Edge", - color: "hsl(var(--chart-4))", - }, - other: { - label: "Other", - color: "hsl(var(--chart-5))", - }, -} satisfies ChartConfig - -export default function Component() { - return ( - - - Pie Chart - Donut - January - June 2024 - - - - - } - /> - - - - - -
- Trending up by 5.2% this month -
-
- Showing total visitors for the last 6 months -
-
-
- ) -} diff --git a/deprecated/www/__registry__/new-york/blocks/chart-pie-interactive.tsx b/deprecated/www/__registry__/new-york/blocks/chart-pie-interactive.tsx deleted file mode 100644 index 8da797d079..0000000000 --- a/deprecated/www/__registry__/new-york/blocks/chart-pie-interactive.tsx +++ /dev/null @@ -1,192 +0,0 @@ -"use client" - -import * as React from "react" -import { Label, Pie, PieChart, Sector } from "recharts" -import { PieSectorDataItem } from "recharts/types/polar/Pie" - -import { - Card, - CardContent, - CardDescription, - CardHeader, - CardTitle, -} from "@/registry/new-york/ui/card" -import { - ChartConfig, - ChartContainer, - ChartStyle, - ChartTooltip, - ChartTooltipContent, -} from "@/registry/new-york/ui/chart" -import { - Select, - SelectContent, - SelectItem, - SelectTrigger, - SelectValue, -} from "@/registry/new-york/ui/select" - -export const description = "An interactive pie chart" - -const desktopData = [ - { month: "january", desktop: 186, fill: "var(--color-january)" }, - { month: "february", desktop: 305, fill: "var(--color-february)" }, - { month: "march", desktop: 237, fill: "var(--color-march)" }, - { month: "april", desktop: 173, fill: "var(--color-april)" }, - { month: "may", desktop: 209, fill: "var(--color-may)" }, -] - -const chartConfig = { - visitors: { - label: "Visitors", - }, - desktop: { - label: "Desktop", - }, - mobile: { - label: "Mobile", - }, - january: { - label: "January", - color: "hsl(var(--chart-1))", - }, - february: { - label: "February", - color: "hsl(var(--chart-2))", - }, - march: { - label: "March", - color: "hsl(var(--chart-3))", - }, - april: { - label: "April", - color: "hsl(var(--chart-4))", - }, - may: { - label: "May", - color: "hsl(var(--chart-5))", - }, -} satisfies ChartConfig - -export default function Component() { - const id = "pie-interactive" - const [activeMonth, setActiveMonth] = React.useState(desktopData[0].month) - - const activeIndex = React.useMemo( - () => desktopData.findIndex((item) => item.month === activeMonth), - [activeMonth] - ) - const months = React.useMemo(() => desktopData.map((item) => item.month), []) - - return ( - - - -
- Pie Chart - Interactive - January - June 2024 -
- -
- - - - } - /> - ( - - - - - )} - > - - - - -
- ) -} diff --git a/deprecated/www/__registry__/new-york/blocks/chart-pie-label-custom.tsx b/deprecated/www/__registry__/new-york/blocks/chart-pie-label-custom.tsx deleted file mode 100644 index ff956ebf9d..0000000000 --- a/deprecated/www/__registry__/new-york/blocks/chart-pie-label-custom.tsx +++ /dev/null @@ -1,107 +0,0 @@ -"use client" - -import { TrendingUp } from "lucide-react" -import { Pie, PieChart } from "recharts" - -import { - Card, - CardContent, - CardDescription, - CardFooter, - CardHeader, - CardTitle, -} from "@/registry/new-york/ui/card" -import { - ChartConfig, - ChartContainer, - ChartTooltip, - ChartTooltipContent, -} from "@/registry/new-york/ui/chart" - -export const description = "A pie chart with a custom label" - -const chartData = [ - { browser: "chrome", visitors: 275, fill: "var(--color-chrome)" }, - { browser: "safari", visitors: 200, fill: "var(--color-safari)" }, - { browser: "firefox", visitors: 187, fill: "var(--color-firefox)" }, - { browser: "edge", visitors: 173, fill: "var(--color-edge)" }, - { browser: "other", visitors: 90, fill: "var(--color-other)" }, -] - -const chartConfig = { - visitors: { - label: "Visitors", - }, - chrome: { - label: "Chrome", - color: "hsl(var(--chart-1))", - }, - safari: { - label: "Safari", - color: "hsl(var(--chart-2))", - }, - firefox: { - label: "Firefox", - color: "hsl(var(--chart-3))", - }, - edge: { - label: "Edge", - color: "hsl(var(--chart-4))", - }, - other: { - label: "Other", - color: "hsl(var(--chart-5))", - }, -} satisfies ChartConfig - -export default function Component() { - return ( - - - Pie Chart - Custom Label - January - June 2024 - - - - - } - /> - { - return ( - - {payload.visitors} - - ) - }} - nameKey="browser" - /> - - - - -
- Trending up by 5.2% this month -
-
- Showing total visitors for the last 6 months -
-
-
- ) -} diff --git a/deprecated/www/__registry__/new-york/blocks/chart-pie-label-list.tsx b/deprecated/www/__registry__/new-york/blocks/chart-pie-label-list.tsx deleted file mode 100644 index 0bc77dfde0..0000000000 --- a/deprecated/www/__registry__/new-york/blocks/chart-pie-label-list.tsx +++ /dev/null @@ -1,97 +0,0 @@ -"use client" - -import { TrendingUp } from "lucide-react" -import { LabelList, Pie, PieChart } from "recharts" - -import { - Card, - CardContent, - CardDescription, - CardFooter, - CardHeader, - CardTitle, -} from "@/registry/new-york/ui/card" -import { - ChartConfig, - ChartContainer, - ChartTooltip, - ChartTooltipContent, -} from "@/registry/new-york/ui/chart" - -export const description = "A pie chart with a label list" - -const chartData = [ - { browser: "chrome", visitors: 275, fill: "var(--color-chrome)" }, - { browser: "safari", visitors: 200, fill: "var(--color-safari)" }, - { browser: "firefox", visitors: 187, fill: "var(--color-firefox)" }, - { browser: "edge", visitors: 173, fill: "var(--color-edge)" }, - { browser: "other", visitors: 90, fill: "var(--color-other)" }, -] - -const chartConfig = { - visitors: { - label: "Visitors", - }, - chrome: { - label: "Chrome", - color: "hsl(var(--chart-1))", - }, - safari: { - label: "Safari", - color: "hsl(var(--chart-2))", - }, - firefox: { - label: "Firefox", - color: "hsl(var(--chart-3))", - }, - edge: { - label: "Edge", - color: "hsl(var(--chart-4))", - }, - other: { - label: "Other", - color: "hsl(var(--chart-5))", - }, -} satisfies ChartConfig - -export default function Component() { - return ( - - - Pie Chart - Label List - January - June 2024 - - - - - } - /> - - - chartConfig[value]?.label - } - /> - - - - - -
- Trending up by 5.2% this month -
-
- Showing total visitors for the last 6 months -
-
-
- ) -} diff --git a/deprecated/www/__registry__/new-york/blocks/chart-pie-label.tsx b/deprecated/www/__registry__/new-york/blocks/chart-pie-label.tsx deleted file mode 100644 index e4a13c9397..0000000000 --- a/deprecated/www/__registry__/new-york/blocks/chart-pie-label.tsx +++ /dev/null @@ -1,85 +0,0 @@ -"use client" - -import { TrendingUp } from "lucide-react" -import { Pie, PieChart } from "recharts" - -import { - Card, - CardContent, - CardDescription, - CardFooter, - CardHeader, - CardTitle, -} from "@/registry/new-york/ui/card" -import { - ChartConfig, - ChartContainer, - ChartTooltip, - ChartTooltipContent, -} from "@/registry/new-york/ui/chart" - -export const description = "A pie chart with a label" - -const chartData = [ - { browser: "chrome", visitors: 275, fill: "var(--color-chrome)" }, - { browser: "safari", visitors: 200, fill: "var(--color-safari)" }, - { browser: "firefox", visitors: 187, fill: "var(--color-firefox)" }, - { browser: "edge", visitors: 173, fill: "var(--color-edge)" }, - { browser: "other", visitors: 90, fill: "var(--color-other)" }, -] - -const chartConfig = { - visitors: { - label: "Visitors", - }, - chrome: { - label: "Chrome", - color: "hsl(var(--chart-1))", - }, - safari: { - label: "Safari", - color: "hsl(var(--chart-2))", - }, - firefox: { - label: "Firefox", - color: "hsl(var(--chart-3))", - }, - edge: { - label: "Edge", - color: "hsl(var(--chart-4))", - }, - other: { - label: "Other", - color: "hsl(var(--chart-5))", - }, -} satisfies ChartConfig - -export default function Component() { - return ( - - - Pie Chart - Label - January - June 2024 - - - - - } /> - - - - - -
- Trending up by 5.2% this month -
-
- Showing total visitors for the last 6 months -
-
-
- ) -} diff --git a/deprecated/www/__registry__/new-york/blocks/chart-pie-legend.tsx b/deprecated/www/__registry__/new-york/blocks/chart-pie-legend.tsx deleted file mode 100644 index d75f89eacf..0000000000 --- a/deprecated/www/__registry__/new-york/blocks/chart-pie-legend.tsx +++ /dev/null @@ -1,78 +0,0 @@ -"use client" - -import { Pie, PieChart } from "recharts" - -import { - Card, - CardContent, - CardDescription, - CardHeader, - CardTitle, -} from "@/registry/new-york/ui/card" -import { - ChartConfig, - ChartContainer, - ChartLegend, - ChartLegendContent, -} from "@/registry/new-york/ui/chart" - -export const description = "A pie chart with a legend" - -const chartData = [ - { browser: "chrome", visitors: 275, fill: "var(--color-chrome)" }, - { browser: "safari", visitors: 200, fill: "var(--color-safari)" }, - { browser: "firefox", visitors: 187, fill: "var(--color-firefox)" }, - { browser: "edge", visitors: 173, fill: "var(--color-edge)" }, - { browser: "other", visitors: 90, fill: "var(--color-other)" }, -] - -const chartConfig = { - visitors: { - label: "Visitors", - }, - chrome: { - label: "Chrome", - color: "hsl(var(--chart-1))", - }, - safari: { - label: "Safari", - color: "hsl(var(--chart-2))", - }, - firefox: { - label: "Firefox", - color: "hsl(var(--chart-3))", - }, - edge: { - label: "Edge", - color: "hsl(var(--chart-4))", - }, - other: { - label: "Other", - color: "hsl(var(--chart-5))", - }, -} satisfies ChartConfig - -export default function Component() { - return ( - - - Pie Chart - Legend - January - June 2024 - - - - - - } - className="-translate-y-2 flex-wrap gap-2 [&>*]:basis-1/4 [&>*]:justify-center" - /> - - - - - ) -} diff --git a/deprecated/www/__registry__/new-york/blocks/chart-pie-separator-none.tsx b/deprecated/www/__registry__/new-york/blocks/chart-pie-separator-none.tsx deleted file mode 100644 index cf191f1615..0000000000 --- a/deprecated/www/__registry__/new-york/blocks/chart-pie-separator-none.tsx +++ /dev/null @@ -1,93 +0,0 @@ -"use client" - -import { TrendingUp } from "lucide-react" -import { Pie, PieChart } from "recharts" - -import { - Card, - CardContent, - CardDescription, - CardFooter, - CardHeader, - CardTitle, -} from "@/registry/new-york/ui/card" -import { - ChartConfig, - ChartContainer, - ChartTooltip, - ChartTooltipContent, -} from "@/registry/new-york/ui/chart" - -export const description = "A pie chart with no separator" - -const chartData = [ - { browser: "chrome", visitors: 275, fill: "var(--color-chrome)" }, - { browser: "safari", visitors: 200, fill: "var(--color-safari)" }, - { browser: "firefox", visitors: 187, fill: "var(--color-firefox)" }, - { browser: "edge", visitors: 173, fill: "var(--color-edge)" }, - { browser: "other", visitors: 90, fill: "var(--color-other)" }, -] - -const chartConfig = { - visitors: { - label: "Visitors", - }, - chrome: { - label: "Chrome", - color: "hsl(var(--chart-1))", - }, - safari: { - label: "Safari", - color: "hsl(var(--chart-2))", - }, - firefox: { - label: "Firefox", - color: "hsl(var(--chart-3))", - }, - edge: { - label: "Edge", - color: "hsl(var(--chart-4))", - }, - other: { - label: "Other", - color: "hsl(var(--chart-5))", - }, -} satisfies ChartConfig - -export default function Component() { - return ( - - - Pie Chart - Separator None - January - June 2024 - - - - - } - /> - - - - - -
- Trending up by 5.2% this month -
-
- Showing total visitors for the last 6 months -
-
-
- ) -} diff --git a/deprecated/www/__registry__/new-york/blocks/chart-pie-simple.tsx b/deprecated/www/__registry__/new-york/blocks/chart-pie-simple.tsx deleted file mode 100644 index c529f52bb1..0000000000 --- a/deprecated/www/__registry__/new-york/blocks/chart-pie-simple.tsx +++ /dev/null @@ -1,88 +0,0 @@ -"use client" - -import { TrendingUp } from "lucide-react" -import { Pie, PieChart } from "recharts" - -import { - Card, - CardContent, - CardDescription, - CardFooter, - CardHeader, - CardTitle, -} from "@/registry/new-york/ui/card" -import { - ChartConfig, - ChartContainer, - ChartTooltip, - ChartTooltipContent, -} from "@/registry/new-york/ui/chart" - -export const description = "A simple pie chart" - -const chartData = [ - { browser: "chrome", visitors: 275, fill: "var(--color-chrome)" }, - { browser: "safari", visitors: 200, fill: "var(--color-safari)" }, - { browser: "firefox", visitors: 187, fill: "var(--color-firefox)" }, - { browser: "edge", visitors: 173, fill: "var(--color-edge)" }, - { browser: "other", visitors: 90, fill: "var(--color-other)" }, -] - -const chartConfig = { - visitors: { - label: "Visitors", - }, - chrome: { - label: "Chrome", - color: "hsl(var(--chart-1))", - }, - safari: { - label: "Safari", - color: "hsl(var(--chart-2))", - }, - firefox: { - label: "Firefox", - color: "hsl(var(--chart-3))", - }, - edge: { - label: "Edge", - color: "hsl(var(--chart-4))", - }, - other: { - label: "Other", - color: "hsl(var(--chart-5))", - }, -} satisfies ChartConfig - -export default function Component() { - return ( - - - Pie Chart - January - June 2024 - - - - - } - /> - - - - - -
- Trending up by 5.2% this month -
-
- Showing total visitors for the last 6 months -
-
-
- ) -} diff --git a/deprecated/www/__registry__/new-york/blocks/chart-pie-stacked.tsx b/deprecated/www/__registry__/new-york/blocks/chart-pie-stacked.tsx deleted file mode 100644 index b4be18a47d..0000000000 --- a/deprecated/www/__registry__/new-york/blocks/chart-pie-stacked.tsx +++ /dev/null @@ -1,119 +0,0 @@ -"use client" - -import * as React from "react" -import { TrendingUp } from "lucide-react" -import { Label, Pie, PieChart } from "recharts" - -import { - Card, - CardContent, - CardDescription, - CardFooter, - CardHeader, - CardTitle, -} from "@/registry/new-york/ui/card" -import { - ChartConfig, - ChartContainer, - ChartTooltip, - ChartTooltipContent, -} from "@/registry/new-york/ui/chart" - -export const description = "A pie chart with stacked sections" - -const desktopData = [ - { month: "january", desktop: 186, fill: "var(--color-january)" }, - { month: "february", desktop: 305, fill: "var(--color-february)" }, - { month: "march", desktop: 237, fill: "var(--color-march)" }, - { month: "april", desktop: 173, fill: "var(--color-april)" }, - { month: "may", desktop: 209, fill: "var(--color-may)" }, -] - -const mobileData = [ - { month: "january", mobile: 80, fill: "var(--color-january)" }, - { month: "february", mobile: 200, fill: "var(--color-february)" }, - { month: "march", mobile: 120, fill: "var(--color-march)" }, - { month: "april", mobile: 190, fill: "var(--color-april)" }, - { month: "may", mobile: 130, fill: "var(--color-may)" }, -] - -const chartConfig = { - visitors: { - label: "Visitors", - }, - desktop: { - label: "Desktop", - }, - mobile: { - label: "Mobile", - }, - january: { - label: "January", - color: "hsl(var(--chart-1))", - }, - february: { - label: "February", - color: "hsl(var(--chart-2))", - }, - march: { - label: "March", - color: "hsl(var(--chart-3))", - }, - april: { - label: "April", - color: "hsl(var(--chart-4))", - }, - may: { - label: "May", - color: "hsl(var(--chart-5))", - }, -} satisfies ChartConfig - -export default function Component() { - return ( - - - Pie Chart - Stacked - January - June 2024 - - - - - { - return chartConfig[ - payload?.[0].dataKey as keyof typeof chartConfig - ].label - }} - /> - } - /> - - - - - - -
- Trending up by 5.2% this month -
-
- Showing total visitors for the last 6 months -
-
-
- ) -} diff --git a/deprecated/www/__registry__/new-york/blocks/chart-radar-default.tsx b/deprecated/www/__registry__/new-york/blocks/chart-radar-default.tsx deleted file mode 100644 index 7d258514cd..0000000000 --- a/deprecated/www/__registry__/new-york/blocks/chart-radar-default.tsx +++ /dev/null @@ -1,75 +0,0 @@ -"use client" - -import { TrendingUp } from "lucide-react" -import { PolarAngleAxis, PolarGrid, Radar, RadarChart } from "recharts" - -import { - Card, - CardContent, - CardDescription, - CardFooter, - CardHeader, - CardTitle, -} from "@/registry/new-york/ui/card" -import { - ChartConfig, - ChartContainer, - ChartTooltip, - ChartTooltipContent, -} from "@/registry/new-york/ui/chart" - -export const description = "A radar chart" - -const chartData = [ - { month: "January", desktop: 186 }, - { month: "February", desktop: 305 }, - { month: "March", desktop: 237 }, - { month: "April", desktop: 273 }, - { month: "May", desktop: 209 }, - { month: "June", desktop: 214 }, -] - -const chartConfig = { - desktop: { - label: "Desktop", - color: "hsl(var(--chart-1))", - }, -} satisfies ChartConfig - -export default function Component() { - return ( - - - Radar Chart - - Showing total visitors for the last 6 months - - - - - - } /> - - - - - - - -
- Trending up by 5.2% this month -
-
- January - June 2024 -
-
-
- ) -} diff --git a/deprecated/www/__registry__/new-york/blocks/chart-radar-dots.tsx b/deprecated/www/__registry__/new-york/blocks/chart-radar-dots.tsx deleted file mode 100644 index 385734eae7..0000000000 --- a/deprecated/www/__registry__/new-york/blocks/chart-radar-dots.tsx +++ /dev/null @@ -1,79 +0,0 @@ -"use client" - -import { TrendingUp } from "lucide-react" -import { PolarAngleAxis, PolarGrid, Radar, RadarChart } from "recharts" - -import { - Card, - CardContent, - CardDescription, - CardFooter, - CardHeader, - CardTitle, -} from "@/registry/new-york/ui/card" -import { - ChartConfig, - ChartContainer, - ChartTooltip, - ChartTooltipContent, -} from "@/registry/new-york/ui/chart" - -export const description = "A radar chart with dots" - -const chartData = [ - { month: "January", desktop: 186 }, - { month: "February", desktop: 305 }, - { month: "March", desktop: 237 }, - { month: "April", desktop: 273 }, - { month: "May", desktop: 209 }, - { month: "June", desktop: 214 }, -] - -const chartConfig = { - desktop: { - label: "Desktop", - color: "hsl(var(--chart-1))", - }, -} satisfies ChartConfig - -export default function Component() { - return ( - - - Radar Chart - Dots - - Showing total visitors for the last 6 months - - - - - - } /> - - - - - - - -
- Trending up by 5.2% this month -
-
- January - June 2024 -
-
-
- ) -} diff --git a/deprecated/www/__registry__/new-york/blocks/chart-radar-grid-circle-fill.tsx b/deprecated/www/__registry__/new-york/blocks/chart-radar-grid-circle-fill.tsx deleted file mode 100644 index f3c62bbe86..0000000000 --- a/deprecated/www/__registry__/new-york/blocks/chart-radar-grid-circle-fill.tsx +++ /dev/null @@ -1,78 +0,0 @@ -"use client" - -import { TrendingUp } from "lucide-react" -import { PolarAngleAxis, PolarGrid, Radar, RadarChart } from "recharts" - -import { - Card, - CardContent, - CardDescription, - CardFooter, - CardHeader, - CardTitle, -} from "@/registry/new-york/ui/card" -import { - ChartConfig, - ChartContainer, - ChartTooltip, - ChartTooltipContent, -} from "@/registry/new-york/ui/chart" - -export const description = "A radar chart with a grid and circle fill" - -const chartData = [ - { month: "January", desktop: 186 }, - { month: "February", desktop: 285 }, - { month: "March", desktop: 237 }, - { month: "April", desktop: 203 }, - { month: "May", desktop: 209 }, - { month: "June", desktop: 264 }, -] - -const chartConfig = { - desktop: { - label: "Desktop", - color: "hsl(var(--chart-1))", - }, -} satisfies ChartConfig - -export default function Component() { - return ( - - - Radar Chart - Grid Circle Filled - - Showing total visitors for the last 6 months - - - - - - } /> - - - - - - - -
- Trending up by 5.2% this month -
-
- January - June 2024 -
-
-
- ) -} diff --git a/deprecated/www/__registry__/new-york/blocks/chart-radar-grid-circle-no-lines.tsx b/deprecated/www/__registry__/new-york/blocks/chart-radar-grid-circle-no-lines.tsx deleted file mode 100644 index 5164314998..0000000000 --- a/deprecated/www/__registry__/new-york/blocks/chart-radar-grid-circle-no-lines.tsx +++ /dev/null @@ -1,82 +0,0 @@ -"use client" - -import { TrendingUp } from "lucide-react" -import { PolarAngleAxis, PolarGrid, Radar, RadarChart } from "recharts" - -import { - Card, - CardContent, - CardDescription, - CardFooter, - CardHeader, - CardTitle, -} from "@/registry/new-york/ui/card" -import { - ChartConfig, - ChartContainer, - ChartTooltip, - ChartTooltipContent, -} from "@/registry/new-york/ui/chart" - -export const description = "A radar chart with a grid and circle fill" - -const chartData = [ - { month: "January", desktop: 186 }, - { month: "February", desktop: 305 }, - { month: "March", desktop: 237 }, - { month: "April", desktop: 203 }, - { month: "May", desktop: 209 }, - { month: "June", desktop: 214 }, -] - -const chartConfig = { - desktop: { - label: "Desktop", - color: "hsl(var(--chart-1))", - }, -} satisfies ChartConfig - -export default function Component() { - return ( - - - Radar Chart - Grid Circle - No lines - - Showing total visitors for the last 6 months - - - - - - } - /> - - - - - - - -
- Trending up by 5.2% this month -
-
- January - June 2024 -
-
-
- ) -} diff --git a/deprecated/www/__registry__/new-york/blocks/chart-radar-grid-circle.tsx b/deprecated/www/__registry__/new-york/blocks/chart-radar-grid-circle.tsx deleted file mode 100644 index 0cfb63f0e1..0000000000 --- a/deprecated/www/__registry__/new-york/blocks/chart-radar-grid-circle.tsx +++ /dev/null @@ -1,82 +0,0 @@ -"use client" - -import { TrendingUp } from "lucide-react" -import { PolarAngleAxis, PolarGrid, Radar, RadarChart } from "recharts" - -import { - Card, - CardContent, - CardDescription, - CardFooter, - CardHeader, - CardTitle, -} from "@/registry/new-york/ui/card" -import { - ChartConfig, - ChartContainer, - ChartTooltip, - ChartTooltipContent, -} from "@/registry/new-york/ui/chart" - -export const description = "A radar chart with a grid and circle" - -const chartData = [ - { month: "January", desktop: 186 }, - { month: "February", desktop: 305 }, - { month: "March", desktop: 237 }, - { month: "April", desktop: 273 }, - { month: "May", desktop: 209 }, - { month: "June", desktop: 214 }, -] - -const chartConfig = { - desktop: { - label: "Desktop", - color: "hsl(var(--chart-1))", - }, -} satisfies ChartConfig - -export default function Component() { - return ( - - - Radar Chart - Grid Circle - - Showing total visitors for the last 6 months - - - - - - } - /> - - - - - - - -
- Trending up by 5.2% this month -
-
- January - June 2024 -
-
-
- ) -} diff --git a/deprecated/www/__registry__/new-york/blocks/chart-radar-grid-custom.tsx b/deprecated/www/__registry__/new-york/blocks/chart-radar-grid-custom.tsx deleted file mode 100644 index c48dfcd641..0000000000 --- a/deprecated/www/__registry__/new-york/blocks/chart-radar-grid-custom.tsx +++ /dev/null @@ -1,78 +0,0 @@ -"use client" - -import { TrendingUp } from "lucide-react" -import { PolarAngleAxis, PolarGrid, Radar, RadarChart } from "recharts" - -import { - Card, - CardContent, - CardDescription, - CardFooter, - CardHeader, - CardTitle, -} from "@/registry/new-york/ui/card" -import { - ChartConfig, - ChartContainer, - ChartTooltip, - ChartTooltipContent, -} from "@/registry/new-york/ui/chart" - -export const description = "A radar chart with a custom grid" - -const chartData = [ - { month: "January", desktop: 186 }, - { month: "February", desktop: 305 }, - { month: "March", desktop: 237 }, - { month: "April", desktop: 273 }, - { month: "May", desktop: 209 }, - { month: "June", desktop: 214 }, -] - -const chartConfig = { - desktop: { - label: "Desktop", - color: "hsl(var(--chart-1))", - }, -} satisfies ChartConfig - -export default function Component() { - return ( - - - Radar Chart - Grid Custom - - Showing total visitors for the last 6 months - - - - - - } - /> - - - - - - - -
- Trending up by 5.2% this month -
-
- January - June 2024 -
-
-
- ) -} diff --git a/deprecated/www/__registry__/new-york/blocks/chart-radar-grid-fill.tsx b/deprecated/www/__registry__/new-york/blocks/chart-radar-grid-fill.tsx deleted file mode 100644 index 69e2a9e06f..0000000000 --- a/deprecated/www/__registry__/new-york/blocks/chart-radar-grid-fill.tsx +++ /dev/null @@ -1,78 +0,0 @@ -"use client" - -import { TrendingUp } from "lucide-react" -import { PolarAngleAxis, PolarGrid, Radar, RadarChart } from "recharts" - -import { - Card, - CardContent, - CardDescription, - CardFooter, - CardHeader, - CardTitle, -} from "@/registry/new-york/ui/card" -import { - ChartConfig, - ChartContainer, - ChartTooltip, - ChartTooltipContent, -} from "@/registry/new-york/ui/chart" - -export const description = "A radar chart with a grid filled" - -const chartData = [ - { month: "January", desktop: 186 }, - { month: "February", desktop: 285 }, - { month: "March", desktop: 237 }, - { month: "April", desktop: 203 }, - { month: "May", desktop: 209 }, - { month: "June", desktop: 264 }, -] - -const chartConfig = { - desktop: { - label: "Desktop", - color: "hsl(var(--chart-1))", - }, -} satisfies ChartConfig - -export default function Component() { - return ( - - - Radar Chart - Grid Filled - - Showing total visitors for the last 6 months - - - - - - } - /> - - - - - - - -
- Trending up by 5.2% this month -
-
- January - June 2024 -
-
-
- ) -} diff --git a/deprecated/www/__registry__/new-york/blocks/chart-radar-grid-none.tsx b/deprecated/www/__registry__/new-york/blocks/chart-radar-grid-none.tsx deleted file mode 100644 index bdd774945a..0000000000 --- a/deprecated/www/__registry__/new-york/blocks/chart-radar-grid-none.tsx +++ /dev/null @@ -1,81 +0,0 @@ -"use client" - -import { TrendingUp } from "lucide-react" -import { PolarAngleAxis, Radar, RadarChart } from "recharts" - -import { - Card, - CardContent, - CardDescription, - CardFooter, - CardHeader, - CardTitle, -} from "@/registry/new-york/ui/card" -import { - ChartConfig, - ChartContainer, - ChartTooltip, - ChartTooltipContent, -} from "@/registry/new-york/ui/chart" - -export const description = "A radar chart with no grid" - -const chartData = [ - { month: "January", desktop: 186 }, - { month: "February", desktop: 305 }, - { month: "March", desktop: 237 }, - { month: "April", desktop: 273 }, - { month: "May", desktop: 209 }, - { month: "June", desktop: 214 }, -] - -const chartConfig = { - desktop: { - label: "Desktop", - color: "hsl(var(--chart-1))", - }, -} satisfies ChartConfig - -export default function Component() { - return ( - - - Radar Chart - Grid None - - Showing total visitors for the last 6 months - - - - - - } - /> - - - - - - -
- Trending up by 5.2% this month -
-
- January - June 2024 -
-
-
- ) -} diff --git a/deprecated/www/__registry__/new-york/blocks/chart-radar-icons.tsx b/deprecated/www/__registry__/new-york/blocks/chart-radar-icons.tsx deleted file mode 100644 index d6e5b9ad9b..0000000000 --- a/deprecated/www/__registry__/new-york/blocks/chart-radar-icons.tsx +++ /dev/null @@ -1,94 +0,0 @@ -"use client" - -import { ArrowDownFromLine, ArrowUpFromLine, TrendingUp } from "lucide-react" -import { PolarAngleAxis, PolarGrid, Radar, RadarChart } from "recharts" - -import { - Card, - CardContent, - CardDescription, - CardFooter, - CardHeader, - CardTitle, -} from "@/registry/new-york/ui/card" -import { - ChartConfig, - ChartContainer, - ChartLegend, - ChartLegendContent, - ChartTooltip, - ChartTooltipContent, -} from "@/registry/new-york/ui/chart" - -export const description = "A radar chart with icons" - -const chartData = [ - { month: "January", desktop: 186, mobile: 80 }, - { month: "February", desktop: 305, mobile: 200 }, - { month: "March", desktop: 237, mobile: 120 }, - { month: "April", desktop: 73, mobile: 190 }, - { month: "May", desktop: 209, mobile: 130 }, - { month: "June", desktop: 214, mobile: 140 }, -] - -const chartConfig = { - desktop: { - label: "Desktop", - color: "hsl(var(--chart-1))", - icon: ArrowDownFromLine, - }, - mobile: { - label: "Mobile", - color: "hsl(var(--chart-2))", - icon: ArrowUpFromLine, - }, -} satisfies ChartConfig - -export default function Component() { - return ( - - - Radar Chart - Icons - - Showing total visitors for the last 6 months - - - - - - } - /> - - - - - } /> - - - - -
- Trending up by 5.2% this month -
-
- January - June 2024 -
-
-
- ) -} diff --git a/deprecated/www/__registry__/new-york/blocks/chart-radar-label-custom.tsx b/deprecated/www/__registry__/new-york/blocks/chart-radar-label-custom.tsx deleted file mode 100644 index 7d693b2eda..0000000000 --- a/deprecated/www/__registry__/new-york/blocks/chart-radar-label-custom.tsx +++ /dev/null @@ -1,120 +0,0 @@ -"use client" - -import { TrendingUp } from "lucide-react" -import { PolarAngleAxis, PolarGrid, Radar, RadarChart } from "recharts" - -import { - Card, - CardContent, - CardDescription, - CardFooter, - CardHeader, - CardTitle, -} from "@/registry/new-york/ui/card" -import { - ChartConfig, - ChartContainer, - ChartTooltip, - ChartTooltipContent, -} from "@/registry/new-york/ui/chart" - -export const description = "A radar chart with a custom label" - -const chartData = [ - { month: "January", desktop: 186, mobile: 80 }, - { month: "February", desktop: 305, mobile: 200 }, - { month: "March", desktop: 237, mobile: 120 }, - { month: "April", desktop: 73, mobile: 190 }, - { month: "May", desktop: 209, mobile: 130 }, - { month: "June", desktop: 214, mobile: 140 }, -] - -const chartConfig = { - desktop: { - label: "Desktop", - color: "hsl(var(--chart-1))", - }, - mobile: { - label: "Mobile", - color: "hsl(var(--chart-2))", - }, -} satisfies ChartConfig - -export default function Component() { - return ( - - - Radar Chart - Custom Label - - Showing total visitors for the last 6 months - - - - - - } - /> - { - const data = chartData[index] - - return ( - - {data.desktop} - / - {data.mobile} - - {data.month} - - - ) - }} - /> - - - - - - - - -
- Trending up by 5.2% this month -
-
- January - June 2024 -
-
-
- ) -} diff --git a/deprecated/www/__registry__/new-york/blocks/chart-radar-legend.tsx b/deprecated/www/__registry__/new-york/blocks/chart-radar-legend.tsx deleted file mode 100644 index 4000465449..0000000000 --- a/deprecated/www/__registry__/new-york/blocks/chart-radar-legend.tsx +++ /dev/null @@ -1,92 +0,0 @@ -"use client" - -import { TrendingUp } from "lucide-react" -import { PolarAngleAxis, PolarGrid, Radar, RadarChart } from "recharts" - -import { - Card, - CardContent, - CardDescription, - CardFooter, - CardHeader, - CardTitle, -} from "@/registry/new-york/ui/card" -import { - ChartConfig, - ChartContainer, - ChartLegend, - ChartLegendContent, - ChartTooltip, - ChartTooltipContent, -} from "@/registry/new-york/ui/chart" - -export const description = "A radar chart with a legend" - -const chartData = [ - { month: "January", desktop: 186, mobile: 80 }, - { month: "February", desktop: 305, mobile: 200 }, - { month: "March", desktop: 237, mobile: 120 }, - { month: "April", desktop: 73, mobile: 190 }, - { month: "May", desktop: 209, mobile: 130 }, - { month: "June", desktop: 214, mobile: 140 }, -] - -const chartConfig = { - desktop: { - label: "Desktop", - color: "hsl(var(--chart-1))", - }, - mobile: { - label: "Mobile", - color: "hsl(var(--chart-2))", - }, -} satisfies ChartConfig - -export default function Component() { - return ( - - - Radar Chart - Legend - - Showing total visitors for the last 6 months - - - - - - } - /> - - - - - } /> - - - - -
- Trending up by 5.2% this month -
-
- January - June 2024 -
-
-
- ) -} diff --git a/deprecated/www/__registry__/new-york/blocks/chart-radar-lines-only.tsx b/deprecated/www/__registry__/new-york/blocks/chart-radar-lines-only.tsx deleted file mode 100644 index abaf967363..0000000000 --- a/deprecated/www/__registry__/new-york/blocks/chart-radar-lines-only.tsx +++ /dev/null @@ -1,91 +0,0 @@ -"use client" - -import { TrendingUp } from "lucide-react" -import { PolarAngleAxis, PolarGrid, Radar, RadarChart } from "recharts" - -import { - Card, - CardContent, - CardDescription, - CardFooter, - CardHeader, - CardTitle, -} from "@/registry/new-york/ui/card" -import { - ChartConfig, - ChartContainer, - ChartTooltip, - ChartTooltipContent, -} from "@/registry/new-york/ui/chart" - -export const description = "A radar chart with lines only" - -const chartData = [ - { month: "January", desktop: 186, mobile: 160 }, - { month: "February", desktop: 185, mobile: 170 }, - { month: "March", desktop: 207, mobile: 180 }, - { month: "April", desktop: 173, mobile: 160 }, - { month: "May", desktop: 160, mobile: 190 }, - { month: "June", desktop: 174, mobile: 204 }, -] - -const chartConfig = { - desktop: { - label: "Desktop", - color: "hsl(var(--chart-1))", - }, - mobile: { - label: "Mobile", - color: "hsl(var(--chart-2))", - }, -} satisfies ChartConfig - -export default function Component() { - return ( - - - Radar Chart - Lines Only - - Showing total visitors for the last 6 months - - - - - - } - /> - - - - - - - - -
- Trending up by 5.2% this month -
-
- January - June 2024 -
-
-
- ) -} diff --git a/deprecated/www/__registry__/new-york/blocks/chart-radar-multiple.tsx b/deprecated/www/__registry__/new-york/blocks/chart-radar-multiple.tsx deleted file mode 100644 index d8786f8b4a..0000000000 --- a/deprecated/www/__registry__/new-york/blocks/chart-radar-multiple.tsx +++ /dev/null @@ -1,83 +0,0 @@ -"use client" - -import { TrendingUp } from "lucide-react" -import { PolarAngleAxis, PolarGrid, Radar, RadarChart } from "recharts" - -import { - Card, - CardContent, - CardDescription, - CardFooter, - CardHeader, - CardTitle, -} from "@/registry/new-york/ui/card" -import { - ChartConfig, - ChartContainer, - ChartTooltip, - ChartTooltipContent, -} from "@/registry/new-york/ui/chart" - -export const description = "A radar chart with multiple data" - -const chartData = [ - { month: "January", desktop: 186, mobile: 80 }, - { month: "February", desktop: 305, mobile: 200 }, - { month: "March", desktop: 237, mobile: 120 }, - { month: "April", desktop: 73, mobile: 190 }, - { month: "May", desktop: 209, mobile: 130 }, - { month: "June", desktop: 214, mobile: 140 }, -] - -const chartConfig = { - desktop: { - label: "Desktop", - color: "hsl(var(--chart-1))", - }, - mobile: { - label: "Mobile", - color: "hsl(var(--chart-2))", - }, -} satisfies ChartConfig - -export default function Component() { - return ( - - - Radar Chart - Multiple - - Showing total visitors for the last 6 months - - - - - - } - /> - - - - - - - - -
- Trending up by 5.2% this month -
-
- January - June 2024 -
-
-
- ) -} diff --git a/deprecated/www/__registry__/new-york/blocks/chart-radar-radius.tsx b/deprecated/www/__registry__/new-york/blocks/chart-radar-radius.tsx deleted file mode 100644 index aa82f8f024..0000000000 --- a/deprecated/www/__registry__/new-york/blocks/chart-radar-radius.tsx +++ /dev/null @@ -1,96 +0,0 @@ -"use client" - -import { TrendingUp } from "lucide-react" -import { - PolarAngleAxis, - PolarGrid, - PolarRadiusAxis, - Radar, - RadarChart, -} from "recharts" - -import { - Card, - CardContent, - CardDescription, - CardFooter, - CardHeader, - CardTitle, -} from "@/registry/new-york/ui/card" -import { - ChartConfig, - ChartContainer, - ChartTooltip, - ChartTooltipContent, -} from "@/registry/new-york/ui/chart" - -export const description = "A radar chart with a radius axis" - -const chartData = [ - { month: "January", desktop: 186, mobile: 80 }, - { month: "February", desktop: 305, mobile: 200 }, - { month: "March", desktop: 237, mobile: 120 }, - { month: "April", desktop: 73, mobile: 190 }, - { month: "May", desktop: 209, mobile: 130 }, - { month: "June", desktop: 214, mobile: 140 }, -] - -const chartConfig = { - desktop: { - label: "Desktop", - color: "hsl(var(--chart-1))", - }, - mobile: { - label: "Mobile", - color: "hsl(var(--chart-2))", - }, -} satisfies ChartConfig - -export default function Component() { - return ( - - - Radar Chart - Radius Axis - - Showing total visitors for the last 6 months - - - - - - - } - /> - - - - - - - - -
- Trending up by 5.2% this month -
-
- January - June 2024 -
-
-
- ) -} diff --git a/deprecated/www/__registry__/new-york/blocks/chart-radial-grid.tsx b/deprecated/www/__registry__/new-york/blocks/chart-radial-grid.tsx deleted file mode 100644 index 69a1a3a603..0000000000 --- a/deprecated/www/__registry__/new-york/blocks/chart-radial-grid.tsx +++ /dev/null @@ -1,89 +0,0 @@ -"use client" - -import { TrendingUp } from "lucide-react" -import { PolarGrid, RadialBar, RadialBarChart } from "recharts" - -import { - Card, - CardContent, - CardDescription, - CardFooter, - CardHeader, - CardTitle, -} from "@/registry/new-york/ui/card" -import { - ChartConfig, - ChartContainer, - ChartTooltip, - ChartTooltipContent, -} from "@/registry/new-york/ui/chart" - -export const description = "A radial chart with a grid" - -const chartData = [ - { browser: "chrome", visitors: 275, fill: "var(--color-chrome)" }, - { browser: "safari", visitors: 200, fill: "var(--color-safari)" }, - { browser: "firefox", visitors: 187, fill: "var(--color-firefox)" }, - { browser: "edge", visitors: 173, fill: "var(--color-edge)" }, - { browser: "other", visitors: 90, fill: "var(--color-other)" }, -] - -const chartConfig = { - visitors: { - label: "Visitors", - }, - chrome: { - label: "Chrome", - color: "hsl(var(--chart-1))", - }, - safari: { - label: "Safari", - color: "hsl(var(--chart-2))", - }, - firefox: { - label: "Firefox", - color: "hsl(var(--chart-3))", - }, - edge: { - label: "Edge", - color: "hsl(var(--chart-4))", - }, - other: { - label: "Other", - color: "hsl(var(--chart-5))", - }, -} satisfies ChartConfig - -export default function Component() { - return ( - - - Radial Chart - Grid - January - June 2024 - - - - - } - /> - - - - - - -
- Trending up by 5.2% this month -
-
- Showing total visitors for the last 6 months -
-
-
- ) -} diff --git a/deprecated/www/__registry__/new-york/blocks/chart-radial-label.tsx b/deprecated/www/__registry__/new-york/blocks/chart-radial-label.tsx deleted file mode 100644 index 25c1bc41bf..0000000000 --- a/deprecated/www/__registry__/new-york/blocks/chart-radial-label.tsx +++ /dev/null @@ -1,101 +0,0 @@ -"use client" - -import { TrendingUp } from "lucide-react" -import { LabelList, RadialBar, RadialBarChart } from "recharts" - -import { - Card, - CardContent, - CardDescription, - CardFooter, - CardHeader, - CardTitle, -} from "@/registry/new-york/ui/card" -import { - ChartConfig, - ChartContainer, - ChartTooltip, - ChartTooltipContent, -} from "@/registry/new-york/ui/chart" - -export const description = "A radial chart with a label" - -const chartData = [ - { browser: "chrome", visitors: 275, fill: "var(--color-chrome)" }, - { browser: "safari", visitors: 200, fill: "var(--color-safari)" }, - { browser: "firefox", visitors: 187, fill: "var(--color-firefox)" }, - { browser: "edge", visitors: 173, fill: "var(--color-edge)" }, - { browser: "other", visitors: 90, fill: "var(--color-other)" }, -] - -const chartConfig = { - visitors: { - label: "Visitors", - }, - chrome: { - label: "Chrome", - color: "hsl(var(--chart-1))", - }, - safari: { - label: "Safari", - color: "hsl(var(--chart-2))", - }, - firefox: { - label: "Firefox", - color: "hsl(var(--chart-3))", - }, - edge: { - label: "Edge", - color: "hsl(var(--chart-4))", - }, - other: { - label: "Other", - color: "hsl(var(--chart-5))", - }, -} satisfies ChartConfig - -export default function Component() { - return ( - - - Radial Chart - Label - January - June 2024 - - - - - } - /> - - - - - - - -
- Trending up by 5.2% this month -
-
- Showing total visitors for the last 6 months -
-
-
- ) -} diff --git a/deprecated/www/__registry__/new-york/blocks/chart-radial-shape.tsx b/deprecated/www/__registry__/new-york/blocks/chart-radial-shape.tsx deleted file mode 100644 index 592e225c4a..0000000000 --- a/deprecated/www/__registry__/new-york/blocks/chart-radial-shape.tsx +++ /dev/null @@ -1,108 +0,0 @@ -"use client" - -import { TrendingUp } from "lucide-react" -import { - Label, - PolarGrid, - PolarRadiusAxis, - RadialBar, - RadialBarChart, -} from "recharts" - -import { - Card, - CardContent, - CardDescription, - CardFooter, - CardHeader, - CardTitle, -} from "@/registry/new-york/ui/card" -import { ChartConfig, ChartContainer } from "@/registry/new-york/ui/chart" - -export const description = "A radial chart with a custom shape" - -const chartData = [ - { browser: "safari", visitors: 1260, fill: "var(--color-safari)" }, -] - -const chartConfig = { - visitors: { - label: "Visitors", - }, - safari: { - label: "Safari", - color: "hsl(var(--chart-2))", - }, -} satisfies ChartConfig - -export default function Component() { - return ( - - - Radial Chart - Shape - January - June 2024 - - - - - - - - - - - - -
- Trending up by 5.2% this month -
-
- Showing total visitors for the last 6 months -
-
-
- ) -} diff --git a/deprecated/www/__registry__/new-york/blocks/chart-radial-simple.tsx b/deprecated/www/__registry__/new-york/blocks/chart-radial-simple.tsx deleted file mode 100644 index 4033acb323..0000000000 --- a/deprecated/www/__registry__/new-york/blocks/chart-radial-simple.tsx +++ /dev/null @@ -1,88 +0,0 @@ -"use client" - -import { TrendingUp } from "lucide-react" -import { RadialBar, RadialBarChart } from "recharts" - -import { - Card, - CardContent, - CardDescription, - CardFooter, - CardHeader, - CardTitle, -} from "@/registry/new-york/ui/card" -import { - ChartConfig, - ChartContainer, - ChartTooltip, - ChartTooltipContent, -} from "@/registry/new-york/ui/chart" - -export const description = "A radial chart" - -const chartData = [ - { browser: "chrome", visitors: 275, fill: "var(--color-chrome)" }, - { browser: "safari", visitors: 200, fill: "var(--color-safari)" }, - { browser: "firefox", visitors: 187, fill: "var(--color-firefox)" }, - { browser: "edge", visitors: 173, fill: "var(--color-edge)" }, - { browser: "other", visitors: 90, fill: "var(--color-other)" }, -] - -const chartConfig = { - visitors: { - label: "Visitors", - }, - chrome: { - label: "Chrome", - color: "hsl(var(--chart-1))", - }, - safari: { - label: "Safari", - color: "hsl(var(--chart-2))", - }, - firefox: { - label: "Firefox", - color: "hsl(var(--chart-3))", - }, - edge: { - label: "Edge", - color: "hsl(var(--chart-4))", - }, - other: { - label: "Other", - color: "hsl(var(--chart-5))", - }, -} satisfies ChartConfig - -export default function Component() { - return ( - - - Radial Chart - January - June 2024 - - - - - } - /> - - - - - -
- Trending up by 5.2% this month -
-
- Showing total visitors for the last 6 months -
-
-
- ) -} diff --git a/deprecated/www/__registry__/new-york/blocks/chart-radial-stacked.tsx b/deprecated/www/__registry__/new-york/blocks/chart-radial-stacked.tsx deleted file mode 100644 index 38d35670e5..0000000000 --- a/deprecated/www/__registry__/new-york/blocks/chart-radial-stacked.tsx +++ /dev/null @@ -1,113 +0,0 @@ -"use client" - -import { TrendingUp } from "lucide-react" -import { Label, PolarRadiusAxis, RadialBar, RadialBarChart } from "recharts" - -import { - Card, - CardContent, - CardDescription, - CardFooter, - CardHeader, - CardTitle, -} from "@/registry/new-york/ui/card" -import { - ChartConfig, - ChartContainer, - ChartTooltip, - ChartTooltipContent, -} from "@/registry/new-york/ui/chart" - -export const description = "A radial chart with stacked sections" - -const chartData = [{ month: "january", desktop: 1260, mobile: 570 }] - -const chartConfig = { - desktop: { - label: "Desktop", - color: "hsl(var(--chart-1))", - }, - mobile: { - label: "Mobile", - color: "hsl(var(--chart-2))", - }, -} satisfies ChartConfig - -export default function Component() { - const totalVisitors = chartData[0].desktop + chartData[0].mobile - - return ( - - - Radial Chart - Stacked - January - June 2024 - - - - - } - /> - - - - - - - - -
- Trending up by 5.2% this month -
-
- Showing total visitors for the last 6 months -
-
-
- ) -} diff --git a/deprecated/www/__registry__/new-york/blocks/chart-radial-text.tsx b/deprecated/www/__registry__/new-york/blocks/chart-radial-text.tsx deleted file mode 100644 index b88623e6e2..0000000000 --- a/deprecated/www/__registry__/new-york/blocks/chart-radial-text.tsx +++ /dev/null @@ -1,109 +0,0 @@ -"use client" - -import { TrendingUp } from "lucide-react" -import { - Label, - PolarGrid, - PolarRadiusAxis, - RadialBar, - RadialBarChart, -} from "recharts" - -import { - Card, - CardContent, - CardDescription, - CardFooter, - CardHeader, - CardTitle, -} from "@/registry/new-york/ui/card" -import { ChartConfig, ChartContainer } from "@/registry/new-york/ui/chart" - -export const description = "A radial chart with text" - -const chartData = [ - { browser: "safari", visitors: 200, fill: "var(--color-safari)" }, -] - -const chartConfig = { - visitors: { - label: "Visitors", - }, - safari: { - label: "Safari", - color: "hsl(var(--chart-2))", - }, -} satisfies ChartConfig - -export default function Component() { - return ( - - - Radial Chart - Text - January - June 2024 - - - - - - - - - - - - -
- Trending up by 5.2% this month -
-
- Showing total visitors for the last 6 months -
-
-
- ) -} diff --git a/deprecated/www/__registry__/new-york/blocks/chart-tooltip-advanced.tsx b/deprecated/www/__registry__/new-york/blocks/chart-tooltip-advanced.tsx deleted file mode 100644 index bbc9f115dd..0000000000 --- a/deprecated/www/__registry__/new-york/blocks/chart-tooltip-advanced.tsx +++ /dev/null @@ -1,123 +0,0 @@ -"use client" - -import { Bar, BarChart, XAxis } from "recharts" - -import { - Card, - CardContent, - CardDescription, - CardHeader, - CardTitle, -} from "@/registry/new-york/ui/card" -import { - ChartConfig, - ChartContainer, - ChartTooltip, - ChartTooltipContent, -} from "@/registry/new-york/ui/chart" - -export const description = "A stacked bar chart with a legend" - -const chartData = [ - { date: "2024-07-15", running: 450, swimming: 300 }, - { date: "2024-07-16", running: 380, swimming: 420 }, - { date: "2024-07-17", running: 520, swimming: 120 }, - { date: "2024-07-18", running: 140, swimming: 550 }, - { date: "2024-07-19", running: 600, swimming: 350 }, - { date: "2024-07-20", running: 480, swimming: 400 }, -] - -const chartConfig = { - running: { - label: "Running", - color: "hsl(var(--chart-1))", - }, - swimming: { - label: "Swimming", - color: "hsl(var(--chart-2))", - }, -} satisfies ChartConfig - -export default function Component() { - return ( - - - Tooltip - Advanced - - Tooltip with custom formatter and total. - - - - - - { - return new Date(value).toLocaleDateString("en-US", { - weekday: "short", - }) - }} - /> - - - ( - <> -
- {chartConfig[name as keyof typeof chartConfig]?.label || - name} -
- {value} - - kcal - -
- {/* Add this after the last item */} - {index === 1 && ( -
- Total -
- {item.payload.running + item.payload.swimming} - - kcal - -
-
- )} - - )} - /> - } - cursor={false} - defaultIndex={1} - /> - - - - - ) -} diff --git a/deprecated/www/__registry__/new-york/blocks/chart-tooltip-default.tsx b/deprecated/www/__registry__/new-york/blocks/chart-tooltip-default.tsx deleted file mode 100644 index 759b4555be..0000000000 --- a/deprecated/www/__registry__/new-york/blocks/chart-tooltip-default.tsx +++ /dev/null @@ -1,89 +0,0 @@ -"use client" - -import { Bar, BarChart, XAxis } from "recharts" - -import { - Card, - CardContent, - CardDescription, - CardHeader, - CardTitle, -} from "@/registry/new-york/ui/card" -import { - ChartConfig, - ChartContainer, - ChartTooltip, - ChartTooltipContent, -} from "@/registry/new-york/ui/chart" - -export const description = "A stacked bar chart with a legend" -export const iframeHeight = "600px" -export const containerClassName = - "[&>div]:w-full [&>div]:max-w-md flex items-center justify-center min-h-svh" - -const chartData = [ - { date: "2024-07-15", running: 450, swimming: 300 }, - { date: "2024-07-16", running: 380, swimming: 420 }, - { date: "2024-07-17", running: 520, swimming: 120 }, - { date: "2024-07-18", running: 140, swimming: 550 }, - { date: "2024-07-19", running: 600, swimming: 350 }, - { date: "2024-07-20", running: 480, swimming: 400 }, -] - -const chartConfig = { - running: { - label: "Running", - color: "hsl(var(--chart-1))", - }, - swimming: { - label: "Swimming", - color: "hsl(var(--chart-2))", - }, -} satisfies ChartConfig - -export default function Component() { - return ( - - - Tooltip - Default - - Default tooltip with ChartTooltipContent. - - - - - - { - return new Date(value).toLocaleDateString("en-US", { - weekday: "short", - }) - }} - /> - - - } - cursor={false} - defaultIndex={1} - /> - - - - - ) -} diff --git a/deprecated/www/__registry__/new-york/blocks/chart-tooltip-formatter.tsx b/deprecated/www/__registry__/new-york/blocks/chart-tooltip-formatter.tsx deleted file mode 100644 index e67f266f27..0000000000 --- a/deprecated/www/__registry__/new-york/blocks/chart-tooltip-formatter.tsx +++ /dev/null @@ -1,100 +0,0 @@ -"use client" - -import { Bar, BarChart, XAxis } from "recharts" - -import { - Card, - CardContent, - CardDescription, - CardHeader, - CardTitle, -} from "@/registry/new-york/ui/card" -import { - ChartConfig, - ChartContainer, - ChartTooltip, - ChartTooltipContent, -} from "@/registry/new-york/ui/chart" - -export const description = "A stacked bar chart with a legend" - -const chartData = [ - { date: "2024-07-15", running: 450, swimming: 300 }, - { date: "2024-07-16", running: 380, swimming: 420 }, - { date: "2024-07-17", running: 520, swimming: 120 }, - { date: "2024-07-18", running: 140, swimming: 550 }, - { date: "2024-07-19", running: 600, swimming: 350 }, - { date: "2024-07-20", running: 480, swimming: 400 }, -] - -const chartConfig = { - running: { - label: "Running", - color: "hsl(var(--chart-1))", - }, - swimming: { - label: "Swimming", - color: "hsl(var(--chart-2))", - }, -} satisfies ChartConfig - -export default function Component() { - return ( - - - Tooltip - Formatter - Tooltip with custom formatter . - - - - - { - return new Date(value).toLocaleDateString("en-US", { - weekday: "short", - }) - }} - /> - - - ( -
- {chartConfig[name as keyof typeof chartConfig]?.label || - name} -
- {value} - - kcal - -
-
- )} - /> - } - cursor={false} - defaultIndex={1} - /> -
-
-
-
- ) -} diff --git a/deprecated/www/__registry__/new-york/blocks/chart-tooltip-icons.tsx b/deprecated/www/__registry__/new-york/blocks/chart-tooltip-icons.tsx deleted file mode 100644 index f2bf071923..0000000000 --- a/deprecated/www/__registry__/new-york/blocks/chart-tooltip-icons.tsx +++ /dev/null @@ -1,87 +0,0 @@ -"use client" - -import { Footprints, Waves } from "lucide-react" -import { Bar, BarChart, XAxis } from "recharts" - -import { - Card, - CardContent, - CardDescription, - CardHeader, - CardTitle, -} from "@/registry/new-york/ui/card" -import { - ChartConfig, - ChartContainer, - ChartTooltip, - ChartTooltipContent, -} from "@/registry/new-york/ui/chart" - -export const description = "A stacked bar chart with a legend" - -const chartData = [ - { date: "2024-07-15", running: 450, swimming: 300 }, - { date: "2024-07-16", running: 380, swimming: 420 }, - { date: "2024-07-17", running: 520, swimming: 120 }, - { date: "2024-07-18", running: 140, swimming: 550 }, - { date: "2024-07-19", running: 600, swimming: 350 }, - { date: "2024-07-20", running: 480, swimming: 400 }, -] - -const chartConfig = { - running: { - label: "Running", - color: "hsl(var(--chart-1))", - icon: Footprints, - }, - swimming: { - label: "Swimming", - color: "hsl(var(--chart-2))", - icon: Waves, - }, -} satisfies ChartConfig - -export default function Component() { - return ( - - - Tooltip - Icons - Tooltip with icons. - - - - - { - return new Date(value).toLocaleDateString("en-US", { - weekday: "short", - }) - }} - /> - - - } - cursor={false} - defaultIndex={1} - /> - - - - - ) -} diff --git a/deprecated/www/__registry__/new-york/blocks/chart-tooltip-indicator-line.tsx b/deprecated/www/__registry__/new-york/blocks/chart-tooltip-indicator-line.tsx deleted file mode 100644 index 19c3f85889..0000000000 --- a/deprecated/www/__registry__/new-york/blocks/chart-tooltip-indicator-line.tsx +++ /dev/null @@ -1,87 +0,0 @@ -"use client" - -import { Bar, BarChart, XAxis } from "recharts" - -import { - Card, - CardContent, - CardDescription, - CardHeader, - CardTitle, -} from "@/registry/new-york/ui/card" -import { - ChartConfig, - ChartContainer, - ChartTooltip, - ChartTooltipContent, -} from "@/registry/new-york/ui/chart" - -export const description = "A stacked bar chart with a legend" -export const iframeHeight = "600px" -export const containerClassName = - "[&>div]:w-full [&>div]:max-w-md flex items-center justify-center min-h-svh" - -const chartData = [ - { date: "2024-07-15", running: 450, swimming: 300 }, - { date: "2024-07-16", running: 380, swimming: 420 }, - { date: "2024-07-17", running: 520, swimming: 120 }, - { date: "2024-07-18", running: 140, swimming: 550 }, - { date: "2024-07-19", running: 600, swimming: 350 }, - { date: "2024-07-20", running: 480, swimming: 400 }, -] - -const chartConfig = { - running: { - label: "Running", - color: "hsl(var(--chart-1))", - }, - swimming: { - label: "Swimming", - color: "hsl(var(--chart-2))", - }, -} satisfies ChartConfig - -export default function Component() { - return ( - - - Tooltip - Line Indicator - Tooltip with line indicator. - - - - - { - return new Date(value).toLocaleDateString("en-US", { - weekday: "short", - }) - }} - /> - - - } - cursor={false} - defaultIndex={1} - /> - - - - - ) -} diff --git a/deprecated/www/__registry__/new-york/blocks/chart-tooltip-indicator-none.tsx b/deprecated/www/__registry__/new-york/blocks/chart-tooltip-indicator-none.tsx deleted file mode 100644 index 29c898a861..0000000000 --- a/deprecated/www/__registry__/new-york/blocks/chart-tooltip-indicator-none.tsx +++ /dev/null @@ -1,84 +0,0 @@ -"use client" - -import { Bar, BarChart, XAxis } from "recharts" - -import { - Card, - CardContent, - CardDescription, - CardHeader, - CardTitle, -} from "@/registry/new-york/ui/card" -import { - ChartConfig, - ChartContainer, - ChartTooltip, - ChartTooltipContent, -} from "@/registry/new-york/ui/chart" - -export const description = "A stacked bar chart with a legend" - -const chartData = [ - { date: "2024-07-15", running: 450, swimming: 300 }, - { date: "2024-07-16", running: 380, swimming: 420 }, - { date: "2024-07-17", running: 520, swimming: 120 }, - { date: "2024-07-18", running: 140, swimming: 550 }, - { date: "2024-07-19", running: 600, swimming: 350 }, - { date: "2024-07-20", running: 480, swimming: 400 }, -] - -const chartConfig = { - running: { - label: "Running", - color: "hsl(var(--chart-1))", - }, - swimming: { - label: "Swimming", - color: "hsl(var(--chart-2))", - }, -} satisfies ChartConfig - -export default function Component() { - return ( - - - Tooltip - No Indicator - Tooltip with no indicator. - - - - - { - return new Date(value).toLocaleDateString("en-US", { - weekday: "short", - }) - }} - /> - - - } - cursor={false} - defaultIndex={1} - /> - - - - - ) -} diff --git a/deprecated/www/__registry__/new-york/blocks/chart-tooltip-label-custom.tsx b/deprecated/www/__registry__/new-york/blocks/chart-tooltip-label-custom.tsx deleted file mode 100644 index f632510879..0000000000 --- a/deprecated/www/__registry__/new-york/blocks/chart-tooltip-label-custom.tsx +++ /dev/null @@ -1,91 +0,0 @@ -"use client" - -import { Bar, BarChart, XAxis } from "recharts" - -import { - Card, - CardContent, - CardDescription, - CardHeader, - CardTitle, -} from "@/registry/new-york/ui/card" -import { - ChartConfig, - ChartContainer, - ChartTooltip, - ChartTooltipContent, -} from "@/registry/new-york/ui/chart" - -export const description = "A stacked bar chart with a legend" - -const chartData = [ - { date: "2024-07-15", running: 450, swimming: 300 }, - { date: "2024-07-16", running: 380, swimming: 420 }, - { date: "2024-07-17", running: 520, swimming: 120 }, - { date: "2024-07-18", running: 140, swimming: 550 }, - { date: "2024-07-19", running: 600, swimming: 350 }, - { date: "2024-07-20", running: 480, swimming: 400 }, -] - -const chartConfig = { - activities: { - label: "Activities", - }, - running: { - label: "Running", - color: "hsl(var(--chart-1))", - }, - swimming: { - label: "Swimming", - color: "hsl(var(--chart-2))", - }, -} satisfies ChartConfig - -export default function Component() { - return ( - - - Tooltip - Custom label - - Tooltip with custom label from chartConfig. - - - - - - { - return new Date(value).toLocaleDateString("en-US", { - weekday: "short", - }) - }} - /> - - - - } - cursor={false} - defaultIndex={1} - /> - - - - - ) -} diff --git a/deprecated/www/__registry__/new-york/blocks/chart-tooltip-label-formatter.tsx b/deprecated/www/__registry__/new-york/blocks/chart-tooltip-label-formatter.tsx deleted file mode 100644 index 220a445b0c..0000000000 --- a/deprecated/www/__registry__/new-york/blocks/chart-tooltip-label-formatter.tsx +++ /dev/null @@ -1,94 +0,0 @@ -"use client" - -import { Bar, BarChart, XAxis } from "recharts" - -import { - Card, - CardContent, - CardDescription, - CardHeader, - CardTitle, -} from "@/registry/new-york/ui/card" -import { - ChartConfig, - ChartContainer, - ChartTooltip, - ChartTooltipContent, -} from "@/registry/new-york/ui/chart" - -export const description = "A stacked bar chart with a legend" - -const chartData = [ - { date: "2024-07-15", running: 450, swimming: 300 }, - { date: "2024-07-16", running: 380, swimming: 420 }, - { date: "2024-07-17", running: 520, swimming: 120 }, - { date: "2024-07-18", running: 140, swimming: 550 }, - { date: "2024-07-19", running: 600, swimming: 350 }, - { date: "2024-07-20", running: 480, swimming: 400 }, -] - -const chartConfig = { - running: { - label: "Running", - color: "hsl(var(--chart-1))", - }, - swimming: { - label: "Swimming", - color: "hsl(var(--chart-2))", - }, -} satisfies ChartConfig - -export default function Component() { - return ( - - - Tooltip - Label Formatter - Tooltip with label formatter. - - - - - { - return new Date(value).toLocaleDateString("en-US", { - weekday: "short", - }) - }} - /> - - - { - return new Date(value).toLocaleDateString("en-US", { - day: "numeric", - month: "long", - year: "numeric", - }) - }} - /> - } - cursor={false} - defaultIndex={1} - /> - - - - - ) -} diff --git a/deprecated/www/__registry__/new-york/blocks/chart-tooltip-label-none.tsx b/deprecated/www/__registry__/new-york/blocks/chart-tooltip-label-none.tsx deleted file mode 100644 index a655168dff..0000000000 --- a/deprecated/www/__registry__/new-york/blocks/chart-tooltip-label-none.tsx +++ /dev/null @@ -1,84 +0,0 @@ -"use client" - -import { Bar, BarChart, XAxis } from "recharts" - -import { - Card, - CardContent, - CardDescription, - CardHeader, - CardTitle, -} from "@/registry/new-york/ui/card" -import { - ChartConfig, - ChartContainer, - ChartTooltip, - ChartTooltipContent, -} from "@/registry/new-york/ui/chart" - -export const description = "A stacked bar chart with a legend" - -const chartData = [ - { date: "2024-07-15", running: 450, swimming: 300 }, - { date: "2024-07-16", running: 380, swimming: 420 }, - { date: "2024-07-17", running: 520, swimming: 120 }, - { date: "2024-07-18", running: 140, swimming: 550 }, - { date: "2024-07-19", running: 600, swimming: 350 }, - { date: "2024-07-20", running: 480, swimming: 400 }, -] - -const chartConfig = { - running: { - label: "Running", - color: "hsl(var(--chart-1))", - }, - swimming: { - label: "Swimming", - color: "hsl(var(--chart-2))", - }, -} satisfies ChartConfig - -export default function Component() { - return ( - - - Tooltip - No Label - Tooltip with no label. - - - - - { - return new Date(value).toLocaleDateString("en-US", { - weekday: "short", - }) - }} - /> - - - } - cursor={false} - defaultIndex={1} - /> - - - - - ) -} diff --git a/deprecated/www/__registry__/new-york/blocks/dashboard-01/page.tsx b/deprecated/www/__registry__/new-york/blocks/dashboard-01/page.tsx deleted file mode 100644 index e5602a4af1..0000000000 --- a/deprecated/www/__registry__/new-york/blocks/dashboard-01/page.tsx +++ /dev/null @@ -1,30 +0,0 @@ -import { AppSidebar } from "@/registry/new-york/blocks/dashboard-01/components/app-sidebar" -import { ChartAreaInteractive } from "@/registry/new-york/blocks/dashboard-01/components/chart-area-interactive" -import { DataTable } from "@/registry/new-york/blocks/dashboard-01/components/data-table" -import { SectionCards } from "@/registry/new-york/blocks/dashboard-01/components/section-cards" -import { SiteHeader } from "@/registry/new-york/blocks/dashboard-01/components/site-header" -import { SidebarInset, SidebarProvider } from "@/registry/new-york/ui/sidebar" - -import data from "./data.json" - -export default function Page() { - return ( - - - - -
-
-
- -
- -
- -
-
-
-
-
- ) -} diff --git a/deprecated/www/__registry__/new-york/blocks/login-01/page.tsx b/deprecated/www/__registry__/new-york/blocks/login-01/page.tsx deleted file mode 100644 index 20fe9846ce..0000000000 --- a/deprecated/www/__registry__/new-york/blocks/login-01/page.tsx +++ /dev/null @@ -1,11 +0,0 @@ -import { LoginForm } from "@/registry/new-york/blocks/login-01/components/login-form" - -export default function Page() { - return ( -
-
- -
-
- ) -} diff --git a/deprecated/www/__registry__/new-york/blocks/login-02/page.tsx b/deprecated/www/__registry__/new-york/blocks/login-02/page.tsx deleted file mode 100644 index 7353a4d4fa..0000000000 --- a/deprecated/www/__registry__/new-york/blocks/login-02/page.tsx +++ /dev/null @@ -1,32 +0,0 @@ -import { GalleryVerticalEnd } from "lucide-react" - -import { LoginForm } from "@/registry/new-york/blocks/login-02/components/login-form" - -export default function LoginPage() { - return ( -
-
- -
-
- -
-
-
-
- Image -
-
- ) -} diff --git a/deprecated/www/__registry__/new-york/blocks/login-03/page.tsx b/deprecated/www/__registry__/new-york/blocks/login-03/page.tsx deleted file mode 100644 index a4ced5031b..0000000000 --- a/deprecated/www/__registry__/new-york/blocks/login-03/page.tsx +++ /dev/null @@ -1,19 +0,0 @@ -import { GalleryVerticalEnd } from "lucide-react" - -import { LoginForm } from "@/registry/new-york/blocks/login-03/components/login-form" - -export default function LoginPage() { - return ( - - ) -} diff --git a/deprecated/www/__registry__/new-york/blocks/login-04/page.tsx b/deprecated/www/__registry__/new-york/blocks/login-04/page.tsx deleted file mode 100644 index e2188012ae..0000000000 --- a/deprecated/www/__registry__/new-york/blocks/login-04/page.tsx +++ /dev/null @@ -1,11 +0,0 @@ -import { LoginForm } from "@/registry/new-york/blocks/login-04/components/login-form" - -export default function LoginPage() { - return ( -
-
- -
-
- ) -} diff --git a/deprecated/www/__registry__/new-york/blocks/login-05/page.tsx b/deprecated/www/__registry__/new-york/blocks/login-05/page.tsx deleted file mode 100644 index 3d03c04805..0000000000 --- a/deprecated/www/__registry__/new-york/blocks/login-05/page.tsx +++ /dev/null @@ -1,11 +0,0 @@ -import { LoginForm } from "@/registry/new-york/blocks/login-05/components/login-form" - -export default function LoginPage() { - return ( -
-
- -
-
- ) -} diff --git a/deprecated/www/__registry__/new-york/blocks/sidebar-01/page.tsx b/deprecated/www/__registry__/new-york/blocks/sidebar-01/page.tsx deleted file mode 100644 index a13e7b06fe..0000000000 --- a/deprecated/www/__registry__/new-york/blocks/sidebar-01/page.tsx +++ /dev/null @@ -1,50 +0,0 @@ -import { AppSidebar } from "@/registry/new-york/blocks/sidebar-01/components/app-sidebar" -import { - Breadcrumb, - BreadcrumbItem, - BreadcrumbLink, - BreadcrumbList, - BreadcrumbPage, - BreadcrumbSeparator, -} from "@/registry/new-york/ui/breadcrumb" -import { Separator } from "@/registry/new-york/ui/separator" -import { - SidebarInset, - SidebarProvider, - SidebarTrigger, -} from "@/registry/new-york/ui/sidebar" - -export default function Page() { - return ( - - - -
- - - - - - - Building Your Application - - - - - Data Fetching - - - -
-
-
-
-
-
-
-
-
- - - ) -} diff --git a/deprecated/www/__registry__/new-york/blocks/sidebar-02/page.tsx b/deprecated/www/__registry__/new-york/blocks/sidebar-02/page.tsx deleted file mode 100644 index 140cf70f88..0000000000 --- a/deprecated/www/__registry__/new-york/blocks/sidebar-02/page.tsx +++ /dev/null @@ -1,50 +0,0 @@ -import { AppSidebar } from "@/registry/new-york/blocks/sidebar-02/components/app-sidebar" -import { - Breadcrumb, - BreadcrumbItem, - BreadcrumbLink, - BreadcrumbList, - BreadcrumbPage, - BreadcrumbSeparator, -} from "@/registry/new-york/ui/breadcrumb" -import { Separator } from "@/registry/new-york/ui/separator" -import { - SidebarInset, - SidebarProvider, - SidebarTrigger, -} from "@/registry/new-york/ui/sidebar" - -export default function Page() { - return ( - - - -
- - - - - - - Building Your Application - - - - - Data Fetching - - - -
-
- {Array.from({ length: 24 }).map((_, index) => ( -
- ))} -
- - - ) -} diff --git a/deprecated/www/__registry__/new-york/blocks/sidebar-03/page.tsx b/deprecated/www/__registry__/new-york/blocks/sidebar-03/page.tsx deleted file mode 100644 index 768d4775bb..0000000000 --- a/deprecated/www/__registry__/new-york/blocks/sidebar-03/page.tsx +++ /dev/null @@ -1,52 +0,0 @@ -import { AppSidebar } from "@/registry/new-york/blocks/sidebar-03/components/app-sidebar" -import { - Breadcrumb, - BreadcrumbItem, - BreadcrumbLink, - BreadcrumbList, - BreadcrumbPage, - BreadcrumbSeparator, -} from "@/registry/new-york/ui/breadcrumb" -import { Separator } from "@/registry/new-york/ui/separator" -import { - SidebarInset, - SidebarProvider, - SidebarTrigger, -} from "@/registry/new-york/ui/sidebar" - -export default function Page() { - return ( - - - -
-
- - - - - - - Building Your Application - - - - - Data Fetching - - - -
-
-
-
-
-
-
-
-
-
- - - ) -} diff --git a/deprecated/www/__registry__/new-york/blocks/sidebar-04/page.tsx b/deprecated/www/__registry__/new-york/blocks/sidebar-04/page.tsx deleted file mode 100644 index fd5d6c8f00..0000000000 --- a/deprecated/www/__registry__/new-york/blocks/sidebar-04/page.tsx +++ /dev/null @@ -1,56 +0,0 @@ -import { AppSidebar } from "@/registry/new-york/blocks/sidebar-04/components/app-sidebar" -import { - Breadcrumb, - BreadcrumbItem, - BreadcrumbLink, - BreadcrumbList, - BreadcrumbPage, - BreadcrumbSeparator, -} from "@/registry/new-york/ui/breadcrumb" -import { Separator } from "@/registry/new-york/ui/separator" -import { - SidebarInset, - SidebarProvider, - SidebarTrigger, -} from "@/registry/new-york/ui/sidebar" - -export default function Page() { - return ( - - - -
- - - - - - - Building Your Application - - - - - Data Fetching - - - -
-
-
-
-
-
-
-
-
- - - ) -} diff --git a/deprecated/www/__registry__/new-york/blocks/sidebar-05/page.tsx b/deprecated/www/__registry__/new-york/blocks/sidebar-05/page.tsx deleted file mode 100644 index 9d630900db..0000000000 --- a/deprecated/www/__registry__/new-york/blocks/sidebar-05/page.tsx +++ /dev/null @@ -1,50 +0,0 @@ -import { AppSidebar } from "@/registry/new-york/blocks/sidebar-05/components/app-sidebar" -import { - Breadcrumb, - BreadcrumbItem, - BreadcrumbLink, - BreadcrumbList, - BreadcrumbPage, - BreadcrumbSeparator, -} from "@/registry/new-york/ui/breadcrumb" -import { Separator } from "@/registry/new-york/ui/separator" -import { - SidebarInset, - SidebarProvider, - SidebarTrigger, -} from "@/registry/new-york/ui/sidebar" - -export default function Page() { - return ( - - - -
- - - - - - - Building Your Application - - - - - Data Fetching - - - -
-
-
-
-
-
-
-
-
- - - ) -} diff --git a/deprecated/www/__registry__/new-york/blocks/sidebar-06/page.tsx b/deprecated/www/__registry__/new-york/blocks/sidebar-06/page.tsx deleted file mode 100644 index ac30ac9fe1..0000000000 --- a/deprecated/www/__registry__/new-york/blocks/sidebar-06/page.tsx +++ /dev/null @@ -1,50 +0,0 @@ -import { AppSidebar } from "@/registry/new-york/blocks/sidebar-06/components/app-sidebar" -import { - Breadcrumb, - BreadcrumbItem, - BreadcrumbLink, - BreadcrumbList, - BreadcrumbPage, - BreadcrumbSeparator, -} from "@/registry/new-york/ui/breadcrumb" -import { Separator } from "@/registry/new-york/ui/separator" -import { - SidebarInset, - SidebarProvider, - SidebarTrigger, -} from "@/registry/new-york/ui/sidebar" - -export default function Page() { - return ( - - - -
- - - - - - - Building Your Application - - - - - Data Fetching - - - -
-
-
-
-
-
-
-
-
- - - ) -} diff --git a/deprecated/www/__registry__/new-york/blocks/sidebar-07/page.tsx b/deprecated/www/__registry__/new-york/blocks/sidebar-07/page.tsx deleted file mode 100644 index 8f9ab72554..0000000000 --- a/deprecated/www/__registry__/new-york/blocks/sidebar-07/page.tsx +++ /dev/null @@ -1,52 +0,0 @@ -import { AppSidebar } from "@/registry/new-york/blocks/sidebar-07/components/app-sidebar" -import { - Breadcrumb, - BreadcrumbItem, - BreadcrumbLink, - BreadcrumbList, - BreadcrumbPage, - BreadcrumbSeparator, -} from "@/registry/new-york/ui/breadcrumb" -import { Separator } from "@/registry/new-york/ui/separator" -import { - SidebarInset, - SidebarProvider, - SidebarTrigger, -} from "@/registry/new-york/ui/sidebar" - -export default function Page() { - return ( - - - -
-
- - - - - - - Building Your Application - - - - - Data Fetching - - - -
-
-
-
-
-
-
-
-
-
- - - ) -} diff --git a/deprecated/www/__registry__/new-york/blocks/sidebar-08/page.tsx b/deprecated/www/__registry__/new-york/blocks/sidebar-08/page.tsx deleted file mode 100644 index 6df3df5d46..0000000000 --- a/deprecated/www/__registry__/new-york/blocks/sidebar-08/page.tsx +++ /dev/null @@ -1,52 +0,0 @@ -import { AppSidebar } from "@/registry/new-york/blocks/sidebar-08/components/app-sidebar" -import { - Breadcrumb, - BreadcrumbItem, - BreadcrumbLink, - BreadcrumbList, - BreadcrumbPage, - BreadcrumbSeparator, -} from "@/registry/new-york/ui/breadcrumb" -import { Separator } from "@/registry/new-york/ui/separator" -import { - SidebarInset, - SidebarProvider, - SidebarTrigger, -} from "@/registry/new-york/ui/sidebar" - -export default function Page() { - return ( - - - -
-
- - - - - - - Building Your Application - - - - - Data Fetching - - - -
-
-
-
-
-
-
-
-
-
- - - ) -} diff --git a/deprecated/www/__registry__/new-york/blocks/sidebar-09/page.tsx b/deprecated/www/__registry__/new-york/blocks/sidebar-09/page.tsx deleted file mode 100644 index 8c5b59468d..0000000000 --- a/deprecated/www/__registry__/new-york/blocks/sidebar-09/page.tsx +++ /dev/null @@ -1,54 +0,0 @@ -import { AppSidebar } from "@/registry/new-york/blocks/sidebar-09/components/app-sidebar" -import { - Breadcrumb, - BreadcrumbItem, - BreadcrumbLink, - BreadcrumbList, - BreadcrumbPage, - BreadcrumbSeparator, -} from "@/registry/new-york/ui/breadcrumb" -import { Separator } from "@/registry/new-york/ui/separator" -import { - SidebarInset, - SidebarProvider, - SidebarTrigger, -} from "@/registry/new-york/ui/sidebar" - -export default function Page() { - return ( - - - -
- - - - - - All Inboxes - - - - Inbox - - - -
-
- {Array.from({ length: 24 }).map((_, index) => ( -
- ))} -
- - - ) -} diff --git a/deprecated/www/__registry__/new-york/blocks/sidebar-10/page.tsx b/deprecated/www/__registry__/new-york/blocks/sidebar-10/page.tsx deleted file mode 100644 index d12f80239a..0000000000 --- a/deprecated/www/__registry__/new-york/blocks/sidebar-10/page.tsx +++ /dev/null @@ -1,46 +0,0 @@ -import { AppSidebar } from "@/registry/new-york/blocks/sidebar-10/components/app-sidebar" -import { NavActions } from "@/registry/new-york/blocks/sidebar-10/components/nav-actions" -import { - Breadcrumb, - BreadcrumbItem, - BreadcrumbList, - BreadcrumbPage, -} from "@/registry/new-york/ui/breadcrumb" -import { Separator } from "@/registry/new-york/ui/separator" -import { - SidebarInset, - SidebarProvider, - SidebarTrigger, -} from "@/registry/new-york/ui/sidebar" - -export default function Page() { - return ( - - - -
-
- - - - - - - Project Management & Task Tracking - - - - -
-
- -
-
-
-
-
-
- - - ) -} diff --git a/deprecated/www/__registry__/new-york/blocks/sidebar-11/page.tsx b/deprecated/www/__registry__/new-york/blocks/sidebar-11/page.tsx deleted file mode 100644 index 939d72c682..0000000000 --- a/deprecated/www/__registry__/new-york/blocks/sidebar-11/page.tsx +++ /dev/null @@ -1,52 +0,0 @@ -import { AppSidebar } from "@/registry/new-york/blocks/sidebar-11/components/app-sidebar" -import { - Breadcrumb, - BreadcrumbItem, - BreadcrumbLink, - BreadcrumbList, - BreadcrumbPage, - BreadcrumbSeparator, -} from "@/registry/new-york/ui/breadcrumb" -import { Separator } from "@/registry/new-york/ui/separator" -import { - SidebarInset, - SidebarProvider, - SidebarTrigger, -} from "@/registry/new-york/ui/sidebar" - -export default function Page() { - return ( - - - -
- - - - - - components - - - - ui - - - - button.tsx - - - -
-
-
-
-
-
-
-
-
- - - ) -} diff --git a/deprecated/www/__registry__/new-york/blocks/sidebar-12/page.tsx b/deprecated/www/__registry__/new-york/blocks/sidebar-12/page.tsx deleted file mode 100644 index ccf68cbe1f..0000000000 --- a/deprecated/www/__registry__/new-york/blocks/sidebar-12/page.tsx +++ /dev/null @@ -1,41 +0,0 @@ -import { AppSidebar } from "@/registry/new-york/blocks/sidebar-12/components/app-sidebar" -import { - Breadcrumb, - BreadcrumbItem, - BreadcrumbList, - BreadcrumbPage, -} from "@/registry/new-york/ui/breadcrumb" -import { Separator } from "@/registry/new-york/ui/separator" -import { - SidebarInset, - SidebarProvider, - SidebarTrigger, -} from "@/registry/new-york/ui/sidebar" - -export default function Page() { - return ( - - - -
- - - - - - October 2024 - - - -
-
-
- {Array.from({ length: 20 }).map((_, i) => ( -
- ))} -
-
- - - ) -} diff --git a/deprecated/www/__registry__/new-york/blocks/sidebar-13/page.tsx b/deprecated/www/__registry__/new-york/blocks/sidebar-13/page.tsx deleted file mode 100644 index a323b1c5d1..0000000000 --- a/deprecated/www/__registry__/new-york/blocks/sidebar-13/page.tsx +++ /dev/null @@ -1,9 +0,0 @@ -import { SettingsDialog } from "@/registry/new-york/blocks/sidebar-13/components/settings-dialog" - -export default function Page() { - return ( -
- -
- ) -} diff --git a/deprecated/www/__registry__/new-york/blocks/sidebar-14/page.tsx b/deprecated/www/__registry__/new-york/blocks/sidebar-14/page.tsx deleted file mode 100644 index 7d6c0b37c7..0000000000 --- a/deprecated/www/__registry__/new-york/blocks/sidebar-14/page.tsx +++ /dev/null @@ -1,48 +0,0 @@ -import { AppSidebar } from "@/registry/new-york/blocks/sidebar-14/components/app-sidebar" -import { - Breadcrumb, - BreadcrumbItem, - BreadcrumbLink, - BreadcrumbList, - BreadcrumbPage, - BreadcrumbSeparator, -} from "@/registry/new-york/ui/breadcrumb" -import { - SidebarInset, - SidebarProvider, - SidebarTrigger, -} from "@/registry/new-york/ui/sidebar" - -export default function Page() { - return ( - - -
- - - - - Building Your Application - - - - - Data Fetching - - - - -
-
-
-
-
-
-
-
-
- - - - ) -} diff --git a/deprecated/www/__registry__/new-york/blocks/sidebar-15/page.tsx b/deprecated/www/__registry__/new-york/blocks/sidebar-15/page.tsx deleted file mode 100644 index acfcc0a4c1..0000000000 --- a/deprecated/www/__registry__/new-york/blocks/sidebar-15/page.tsx +++ /dev/null @@ -1,44 +0,0 @@ -import { SidebarLeft } from "@/registry/new-york/blocks/sidebar-15/components/sidebar-left" -import { SidebarRight } from "@/registry/new-york/blocks/sidebar-15/components/sidebar-right" -import { - Breadcrumb, - BreadcrumbItem, - BreadcrumbList, - BreadcrumbPage, -} from "@/registry/new-york/ui/breadcrumb" -import { Separator } from "@/registry/new-york/ui/separator" -import { - SidebarInset, - SidebarProvider, - SidebarTrigger, -} from "@/registry/new-york/ui/sidebar" - -export default function Page() { - return ( - - - -
-
- - - - - - - Project Management & Task Tracking - - - - -
-
-
-
-
-
- - - - ) -} diff --git a/deprecated/www/__registry__/new-york/blocks/sidebar-16/page.tsx b/deprecated/www/__registry__/new-york/blocks/sidebar-16/page.tsx deleted file mode 100644 index 85d4f3b69b..0000000000 --- a/deprecated/www/__registry__/new-york/blocks/sidebar-16/page.tsx +++ /dev/null @@ -1,30 +0,0 @@ -import { AppSidebar } from "@/registry/new-york/blocks/sidebar-16/components/app-sidebar" -import { SiteHeader } from "@/registry/new-york/blocks/sidebar-16/components/site-header" -import { SidebarInset, SidebarProvider } from "@/registry/new-york/ui/sidebar" - -export const iframeHeight = "800px" - -export const description = "A sidebar with a header and a search form." - -export default function Page() { - return ( -
- - -
- - -
-
-
-
-
-
-
-
- -
- -
- ) -} diff --git a/deprecated/www/__registry__/new-york/charts/chart-area-axes.tsx b/deprecated/www/__registry__/new-york/charts/chart-area-axes.tsx deleted file mode 100644 index 8efb8a382d..0000000000 --- a/deprecated/www/__registry__/new-york/charts/chart-area-axes.tsx +++ /dev/null @@ -1,110 +0,0 @@ -"use client" - -import { TrendingUp } from "lucide-react" -import { Area, AreaChart, CartesianGrid, XAxis, YAxis } from "recharts" - -import { - Card, - CardContent, - CardDescription, - CardFooter, - CardHeader, - CardTitle, -} from "@/registry/new-york/ui/card" -import { - ChartConfig, - ChartContainer, - ChartTooltip, - ChartTooltipContent, -} from "@/registry/new-york/ui/chart" - -export const description = "An area chart with axes" - -const chartData = [ - { month: "January", desktop: 186, mobile: 80 }, - { month: "February", desktop: 305, mobile: 200 }, - { month: "March", desktop: 237, mobile: 120 }, - { month: "April", desktop: 73, mobile: 190 }, - { month: "May", desktop: 209, mobile: 130 }, - { month: "June", desktop: 214, mobile: 140 }, -] - -const chartConfig = { - desktop: { - label: "Desktop", - color: "hsl(var(--chart-1))", - }, - mobile: { - label: "Mobile", - color: "hsl(var(--chart-2))", - }, -} satisfies ChartConfig - -export default function Component() { - return ( - - - Area Chart - Axes - - Showing total visitors for the last 6 months - - - - - - - value.slice(0, 3)} - /> - - } /> - - - - - - -
-
-
- Trending up by 5.2% this month -
-
- January - June 2024 -
-
-
-
-
- ) -} diff --git a/deprecated/www/__registry__/new-york/charts/chart-area-default.tsx b/deprecated/www/__registry__/new-york/charts/chart-area-default.tsx deleted file mode 100644 index 95e9ca5a73..0000000000 --- a/deprecated/www/__registry__/new-york/charts/chart-area-default.tsx +++ /dev/null @@ -1,94 +0,0 @@ -"use client" - -import { TrendingUp } from "lucide-react" -import { Area, AreaChart, CartesianGrid, XAxis } from "recharts" - -import { - Card, - CardContent, - CardDescription, - CardFooter, - CardHeader, - CardTitle, -} from "@/registry/new-york/ui/card" -import { - ChartConfig, - ChartContainer, - ChartTooltip, - ChartTooltipContent, -} from "@/registry/new-york/ui/chart" - -export const description = "A simple area chart" - -const chartData = [ - { month: "January", desktop: 186 }, - { month: "February", desktop: 305 }, - { month: "March", desktop: 237 }, - { month: "April", desktop: 73 }, - { month: "May", desktop: 209 }, - { month: "June", desktop: 214 }, -] - -const chartConfig = { - desktop: { - label: "Desktop", - color: "hsl(var(--chart-1))", - }, -} satisfies ChartConfig - -export default function Component() { - return ( - - - Area Chart - - Showing total visitors for the last 6 months - - - - - - - value.slice(0, 3)} - /> - } - /> - - - - - -
-
-
- Trending up by 5.2% this month -
-
- January - June 2024 -
-
-
-
-
- ) -} diff --git a/deprecated/www/__registry__/new-york/charts/chart-area-gradient.tsx b/deprecated/www/__registry__/new-york/charts/chart-area-gradient.tsx deleted file mode 100644 index de6eada513..0000000000 --- a/deprecated/www/__registry__/new-york/charts/chart-area-gradient.tsx +++ /dev/null @@ -1,130 +0,0 @@ -"use client" - -import { TrendingUp } from "lucide-react" -import { Area, AreaChart, CartesianGrid, XAxis } from "recharts" - -import { - Card, - CardContent, - CardDescription, - CardFooter, - CardHeader, - CardTitle, -} from "@/registry/new-york/ui/card" -import { - ChartConfig, - ChartContainer, - ChartTooltip, - ChartTooltipContent, -} from "@/registry/new-york/ui/chart" - -export const description = "An area chart with gradient fill" - -const chartData = [ - { month: "January", desktop: 186, mobile: 80 }, - { month: "February", desktop: 305, mobile: 200 }, - { month: "March", desktop: 237, mobile: 120 }, - { month: "April", desktop: 73, mobile: 190 }, - { month: "May", desktop: 209, mobile: 130 }, - { month: "June", desktop: 214, mobile: 140 }, -] - -const chartConfig = { - desktop: { - label: "Desktop", - color: "hsl(var(--chart-1))", - }, - mobile: { - label: "Mobile", - color: "hsl(var(--chart-2))", - }, -} satisfies ChartConfig - -export default function Component() { - return ( - - - Area Chart - Gradient - - Showing total visitors for the last 6 months - - - - - - - value.slice(0, 3)} - /> - } /> - - - - - - - - - - - - - - - - -
-
-
- Trending up by 5.2% this month -
-
- January - June 2024 -
-
-
-
-
- ) -} diff --git a/deprecated/www/__registry__/new-york/charts/chart-area-icons.tsx b/deprecated/www/__registry__/new-york/charts/chart-area-icons.tsx deleted file mode 100644 index 5d136dfd07..0000000000 --- a/deprecated/www/__registry__/new-york/charts/chart-area-icons.tsx +++ /dev/null @@ -1,112 +0,0 @@ -"use client" - -import { TrendingDown, TrendingUp } from "lucide-react" -import { Area, AreaChart, CartesianGrid, XAxis } from "recharts" - -import { - Card, - CardContent, - CardDescription, - CardFooter, - CardHeader, - CardTitle, -} from "@/registry/new-york/ui/card" -import { - ChartConfig, - ChartContainer, - ChartLegend, - ChartLegendContent, - ChartTooltip, - ChartTooltipContent, -} from "@/registry/new-york/ui/chart" - -export const description = "An area chart with icons" - -const chartData = [ - { month: "January", desktop: 186, mobile: 80 }, - { month: "February", desktop: 305, mobile: 200 }, - { month: "March", desktop: 237, mobile: 120 }, - { month: "April", desktop: 73, mobile: 190 }, - { month: "May", desktop: 209, mobile: 130 }, - { month: "June", desktop: 214, mobile: 140 }, -] - -const chartConfig = { - desktop: { - label: "Desktop", - color: "hsl(var(--chart-1))", - icon: TrendingDown, - }, - mobile: { - label: "Mobile", - color: "hsl(var(--chart-2))", - icon: TrendingUp, - }, -} satisfies ChartConfig - -export default function Component() { - return ( - - - Area Chart - Icons - - Showing total visitors for the last 6 months - - - - - - - value.slice(0, 3)} - /> - } - /> - - - } /> - - - - -
-
-
- Trending up by 5.2% this month -
-
- January - June 2024 -
-
-
-
-
- ) -} diff --git a/deprecated/www/__registry__/new-york/charts/chart-area-interactive.tsx b/deprecated/www/__registry__/new-york/charts/chart-area-interactive.tsx deleted file mode 100644 index cd8e7e6b28..0000000000 --- a/deprecated/www/__registry__/new-york/charts/chart-area-interactive.tsx +++ /dev/null @@ -1,266 +0,0 @@ -"use client" - -import * as React from "react" -import { Area, AreaChart, CartesianGrid, XAxis } from "recharts" - -import { - Card, - CardContent, - CardDescription, - CardHeader, - CardTitle, -} from "@/registry/new-york/ui/card" -import { - ChartConfig, - ChartContainer, - ChartLegend, - ChartLegendContent, - ChartTooltip, - ChartTooltipContent, -} from "@/registry/new-york/ui/chart" -import { - Select, - SelectContent, - SelectItem, - SelectTrigger, - SelectValue, -} from "@/registry/new-york/ui/select" - -export const description = "An interactive area chart" - -const chartData = [ - { date: "2024-04-01", desktop: 222, mobile: 150 }, - { date: "2024-04-02", desktop: 97, mobile: 180 }, - { date: "2024-04-03", desktop: 167, mobile: 120 }, - { date: "2024-04-04", desktop: 242, mobile: 260 }, - { date: "2024-04-05", desktop: 373, mobile: 290 }, - { date: "2024-04-06", desktop: 301, mobile: 340 }, - { date: "2024-04-07", desktop: 245, mobile: 180 }, - { date: "2024-04-08", desktop: 409, mobile: 320 }, - { date: "2024-04-09", desktop: 59, mobile: 110 }, - { date: "2024-04-10", desktop: 261, mobile: 190 }, - { date: "2024-04-11", desktop: 327, mobile: 350 }, - { date: "2024-04-12", desktop: 292, mobile: 210 }, - { date: "2024-04-13", desktop: 342, mobile: 380 }, - { date: "2024-04-14", desktop: 137, mobile: 220 }, - { date: "2024-04-15", desktop: 120, mobile: 170 }, - { date: "2024-04-16", desktop: 138, mobile: 190 }, - { date: "2024-04-17", desktop: 446, mobile: 360 }, - { date: "2024-04-18", desktop: 364, mobile: 410 }, - { date: "2024-04-19", desktop: 243, mobile: 180 }, - { date: "2024-04-20", desktop: 89, mobile: 150 }, - { date: "2024-04-21", desktop: 137, mobile: 200 }, - { date: "2024-04-22", desktop: 224, mobile: 170 }, - { date: "2024-04-23", desktop: 138, mobile: 230 }, - { date: "2024-04-24", desktop: 387, mobile: 290 }, - { date: "2024-04-25", desktop: 215, mobile: 250 }, - { date: "2024-04-26", desktop: 75, mobile: 130 }, - { date: "2024-04-27", desktop: 383, mobile: 420 }, - { date: "2024-04-28", desktop: 122, mobile: 180 }, - { date: "2024-04-29", desktop: 315, mobile: 240 }, - { date: "2024-04-30", desktop: 454, mobile: 380 }, - { date: "2024-05-01", desktop: 165, mobile: 220 }, - { date: "2024-05-02", desktop: 293, mobile: 310 }, - { date: "2024-05-03", desktop: 247, mobile: 190 }, - { date: "2024-05-04", desktop: 385, mobile: 420 }, - { date: "2024-05-05", desktop: 481, mobile: 390 }, - { date: "2024-05-06", desktop: 498, mobile: 520 }, - { date: "2024-05-07", desktop: 388, mobile: 300 }, - { date: "2024-05-08", desktop: 149, mobile: 210 }, - { date: "2024-05-09", desktop: 227, mobile: 180 }, - { date: "2024-05-10", desktop: 293, mobile: 330 }, - { date: "2024-05-11", desktop: 335, mobile: 270 }, - { date: "2024-05-12", desktop: 197, mobile: 240 }, - { date: "2024-05-13", desktop: 197, mobile: 160 }, - { date: "2024-05-14", desktop: 448, mobile: 490 }, - { date: "2024-05-15", desktop: 473, mobile: 380 }, - { date: "2024-05-16", desktop: 338, mobile: 400 }, - { date: "2024-05-17", desktop: 499, mobile: 420 }, - { date: "2024-05-18", desktop: 315, mobile: 350 }, - { date: "2024-05-19", desktop: 235, mobile: 180 }, - { date: "2024-05-20", desktop: 177, mobile: 230 }, - { date: "2024-05-21", desktop: 82, mobile: 140 }, - { date: "2024-05-22", desktop: 81, mobile: 120 }, - { date: "2024-05-23", desktop: 252, mobile: 290 }, - { date: "2024-05-24", desktop: 294, mobile: 220 }, - { date: "2024-05-25", desktop: 201, mobile: 250 }, - { date: "2024-05-26", desktop: 213, mobile: 170 }, - { date: "2024-05-27", desktop: 420, mobile: 460 }, - { date: "2024-05-28", desktop: 233, mobile: 190 }, - { date: "2024-05-29", desktop: 78, mobile: 130 }, - { date: "2024-05-30", desktop: 340, mobile: 280 }, - { date: "2024-05-31", desktop: 178, mobile: 230 }, - { date: "2024-06-01", desktop: 178, mobile: 200 }, - { date: "2024-06-02", desktop: 470, mobile: 410 }, - { date: "2024-06-03", desktop: 103, mobile: 160 }, - { date: "2024-06-04", desktop: 439, mobile: 380 }, - { date: "2024-06-05", desktop: 88, mobile: 140 }, - { date: "2024-06-06", desktop: 294, mobile: 250 }, - { date: "2024-06-07", desktop: 323, mobile: 370 }, - { date: "2024-06-08", desktop: 385, mobile: 320 }, - { date: "2024-06-09", desktop: 438, mobile: 480 }, - { date: "2024-06-10", desktop: 155, mobile: 200 }, - { date: "2024-06-11", desktop: 92, mobile: 150 }, - { date: "2024-06-12", desktop: 492, mobile: 420 }, - { date: "2024-06-13", desktop: 81, mobile: 130 }, - { date: "2024-06-14", desktop: 426, mobile: 380 }, - { date: "2024-06-15", desktop: 307, mobile: 350 }, - { date: "2024-06-16", desktop: 371, mobile: 310 }, - { date: "2024-06-17", desktop: 475, mobile: 520 }, - { date: "2024-06-18", desktop: 107, mobile: 170 }, - { date: "2024-06-19", desktop: 341, mobile: 290 }, - { date: "2024-06-20", desktop: 408, mobile: 450 }, - { date: "2024-06-21", desktop: 169, mobile: 210 }, - { date: "2024-06-22", desktop: 317, mobile: 270 }, - { date: "2024-06-23", desktop: 480, mobile: 530 }, - { date: "2024-06-24", desktop: 132, mobile: 180 }, - { date: "2024-06-25", desktop: 141, mobile: 190 }, - { date: "2024-06-26", desktop: 434, mobile: 380 }, - { date: "2024-06-27", desktop: 448, mobile: 490 }, - { date: "2024-06-28", desktop: 149, mobile: 200 }, - { date: "2024-06-29", desktop: 103, mobile: 160 }, - { date: "2024-06-30", desktop: 446, mobile: 400 }, -] - -const chartConfig = { - visitors: { - label: "Visitors", - }, - desktop: { - label: "Desktop", - color: "hsl(var(--chart-1))", - }, - mobile: { - label: "Mobile", - color: "hsl(var(--chart-2))", - }, -} satisfies ChartConfig - -export default function Component() { - const [timeRange, setTimeRange] = React.useState("90d") - - const filteredData = chartData.filter((item) => { - const date = new Date(item.date) - const referenceDate = new Date("2024-06-30") - let daysToSubtract = 90 - if (timeRange === "30d") { - daysToSubtract = 30 - } else if (timeRange === "7d") { - daysToSubtract = 7 - } - const startDate = new Date(referenceDate) - startDate.setDate(startDate.getDate() - daysToSubtract) - return date >= startDate - }) - - return ( - - -
- Area Chart - Interactive - - Showing total visitors for the last 3 months - -
- -
- - - - - - - - - - - - - - - { - const date = new Date(value) - return date.toLocaleDateString("en-US", { - month: "short", - day: "numeric", - }) - }} - /> - { - return new Date(value).toLocaleDateString("en-US", { - month: "short", - day: "numeric", - }) - }} - indicator="dot" - /> - } - /> - - - } /> - - - -
- ) -} diff --git a/deprecated/www/__registry__/new-york/charts/chart-area-legend.tsx b/deprecated/www/__registry__/new-york/charts/chart-area-legend.tsx deleted file mode 100644 index 13ba0ba54a..0000000000 --- a/deprecated/www/__registry__/new-york/charts/chart-area-legend.tsx +++ /dev/null @@ -1,110 +0,0 @@ -"use client" - -import { TrendingUp } from "lucide-react" -import { Area, AreaChart, CartesianGrid, XAxis } from "recharts" - -import { - Card, - CardContent, - CardDescription, - CardFooter, - CardHeader, - CardTitle, -} from "@/registry/new-york/ui/card" -import { - ChartConfig, - ChartContainer, - ChartLegend, - ChartLegendContent, - ChartTooltip, - ChartTooltipContent, -} from "@/registry/new-york/ui/chart" - -export const description = "An area chart with a legend" - -const chartData = [ - { month: "January", desktop: 186, mobile: 80 }, - { month: "February", desktop: 305, mobile: 200 }, - { month: "March", desktop: 237, mobile: 120 }, - { month: "April", desktop: 73, mobile: 190 }, - { month: "May", desktop: 209, mobile: 130 }, - { month: "June", desktop: 214, mobile: 140 }, -] - -const chartConfig = { - desktop: { - label: "Desktop", - color: "hsl(var(--chart-1))", - }, - mobile: { - label: "Mobile", - color: "hsl(var(--chart-2))", - }, -} satisfies ChartConfig - -export default function Component() { - return ( - - - Area Chart - Legend - - Showing total visitors for the last 6 months - - - - - - - value.slice(0, 3)} - /> - } - /> - - - } /> - - - - -
-
-
- Trending up by 5.2% this month -
-
- January - June 2024 -
-
-
-
-
- ) -} diff --git a/deprecated/www/__registry__/new-york/charts/chart-area-linear.tsx b/deprecated/www/__registry__/new-york/charts/chart-area-linear.tsx deleted file mode 100644 index 2b88f333fd..0000000000 --- a/deprecated/www/__registry__/new-york/charts/chart-area-linear.tsx +++ /dev/null @@ -1,94 +0,0 @@ -"use client" - -import { TrendingUp } from "lucide-react" -import { Area, AreaChart, CartesianGrid, XAxis } from "recharts" - -import { - Card, - CardContent, - CardDescription, - CardFooter, - CardHeader, - CardTitle, -} from "@/registry/new-york/ui/card" -import { - ChartConfig, - ChartContainer, - ChartTooltip, - ChartTooltipContent, -} from "@/registry/new-york/ui/chart" - -export const description = "A linear area chart" - -const chartData = [ - { month: "January", desktop: 186 }, - { month: "February", desktop: 305 }, - { month: "March", desktop: 237 }, - { month: "April", desktop: 73 }, - { month: "May", desktop: 209 }, - { month: "June", desktop: 214 }, -] - -const chartConfig = { - desktop: { - label: "Desktop", - color: "hsl(var(--chart-1))", - }, -} satisfies ChartConfig - -export default function Component() { - return ( - - - Area Chart - Linear - - Showing total visitors for the last 6 months - - - - - - - value.slice(0, 3)} - /> - } - /> - - - - - -
-
-
- Trending up by 5.2% this month -
-
- January - June 2024 -
-
-
-
-
- ) -} diff --git a/deprecated/www/__registry__/new-york/charts/chart-area-stacked-expand.tsx b/deprecated/www/__registry__/new-york/charts/chart-area-stacked-expand.tsx deleted file mode 100644 index f7662c0f71..0000000000 --- a/deprecated/www/__registry__/new-york/charts/chart-area-stacked-expand.tsx +++ /dev/null @@ -1,121 +0,0 @@ -"use client" - -import { TrendingUp } from "lucide-react" -import { Area, AreaChart, CartesianGrid, XAxis } from "recharts" - -import { - Card, - CardContent, - CardDescription, - CardFooter, - CardHeader, - CardTitle, -} from "@/registry/new-york/ui/card" -import { - ChartConfig, - ChartContainer, - ChartTooltip, - ChartTooltipContent, -} from "@/registry/new-york/ui/chart" - -export const description = "A stacked area chart with expand stacking" - -const chartData = [ - { month: "January", desktop: 186, mobile: 80, other: 45 }, - { month: "February", desktop: 305, mobile: 200, other: 100 }, - { month: "March", desktop: 237, mobile: 120, other: 150 }, - { month: "April", desktop: 73, mobile: 190, other: 50 }, - { month: "May", desktop: 209, mobile: 130, other: 100 }, - { month: "June", desktop: 214, mobile: 140, other: 160 }, -] - -const chartConfig = { - desktop: { - label: "Desktop", - color: "hsl(var(--chart-1))", - }, - mobile: { - label: "Mobile", - color: "hsl(var(--chart-2))", - }, - other: { - label: "Other", - color: "hsl(var(--chart-3))", - }, -} satisfies ChartConfig - -export default function Component() { - return ( - - - Area Chart - Stacked Expanded - - Showing total visitors for the last 6months - - - - - - - value.slice(0, 3)} - /> - } - /> - - - - - - - -
-
-
- Trending up by 5.2% this month -
-
- January - June 2024 -
-
-
-
-
- ) -} diff --git a/deprecated/www/__registry__/new-york/charts/chart-area-stacked.tsx b/deprecated/www/__registry__/new-york/charts/chart-area-stacked.tsx deleted file mode 100644 index d0c1b6eee8..0000000000 --- a/deprecated/www/__registry__/new-york/charts/chart-area-stacked.tsx +++ /dev/null @@ -1,107 +0,0 @@ -"use client" - -import { TrendingUp } from "lucide-react" -import { Area, AreaChart, CartesianGrid, XAxis } from "recharts" - -import { - Card, - CardContent, - CardDescription, - CardFooter, - CardHeader, - CardTitle, -} from "@/registry/new-york/ui/card" -import { - ChartConfig, - ChartContainer, - ChartTooltip, - ChartTooltipContent, -} from "@/registry/new-york/ui/chart" - -export const description = "A stacked area chart" - -const chartData = [ - { month: "January", desktop: 186, mobile: 80 }, - { month: "February", desktop: 305, mobile: 200 }, - { month: "March", desktop: 237, mobile: 120 }, - { month: "April", desktop: 73, mobile: 190 }, - { month: "May", desktop: 209, mobile: 130 }, - { month: "June", desktop: 214, mobile: 140 }, -] - -const chartConfig = { - desktop: { - label: "Desktop", - color: "hsl(var(--chart-1))", - }, - mobile: { - label: "Mobile", - color: "hsl(var(--chart-2))", - }, -} satisfies ChartConfig - -export default function Component() { - return ( - - - Area Chart - Stacked - - Showing total visitors for the last 6 months - - - - - - - value.slice(0, 3)} - /> - } - /> - - - - - - -
-
-
- Trending up by 5.2% this month -
-
- January - June 2024 -
-
-
-
-
- ) -} diff --git a/deprecated/www/__registry__/new-york/charts/chart-area-step.tsx b/deprecated/www/__registry__/new-york/charts/chart-area-step.tsx deleted file mode 100644 index be43a89d3c..0000000000 --- a/deprecated/www/__registry__/new-york/charts/chart-area-step.tsx +++ /dev/null @@ -1,95 +0,0 @@ -"use client" - -import { Activity, TrendingUp } from "lucide-react" -import { Area, AreaChart, CartesianGrid, XAxis } from "recharts" - -import { - Card, - CardContent, - CardDescription, - CardFooter, - CardHeader, - CardTitle, -} from "@/registry/new-york/ui/card" -import { - ChartConfig, - ChartContainer, - ChartTooltip, - ChartTooltipContent, -} from "@/registry/new-york/ui/chart" - -export const description = "A step area chart" - -const chartData = [ - { month: "January", desktop: 186 }, - { month: "February", desktop: 305 }, - { month: "March", desktop: 237 }, - { month: "April", desktop: 73 }, - { month: "May", desktop: 209 }, - { month: "June", desktop: 214 }, -] - -const chartConfig = { - desktop: { - label: "Desktop", - color: "hsl(var(--chart-1))", - icon: Activity, - }, -} satisfies ChartConfig - -export default function Component() { - return ( - - - Area Chart - Step - - Showing total visitors for the last 6 months - - - - - - - value.slice(0, 3)} - /> - } - /> - - - - - -
-
-
- Trending up by 5.2% this month -
-
- January - June 2024 -
-
-
-
-
- ) -} diff --git a/deprecated/www/__registry__/new-york/charts/chart-bar-active.tsx b/deprecated/www/__registry__/new-york/charts/chart-bar-active.tsx deleted file mode 100644 index b913609d92..0000000000 --- a/deprecated/www/__registry__/new-york/charts/chart-bar-active.tsx +++ /dev/null @@ -1,111 +0,0 @@ -"use client" - -import { TrendingUp } from "lucide-react" -import { Bar, BarChart, CartesianGrid, Rectangle, XAxis } from "recharts" - -import { - Card, - CardContent, - CardDescription, - CardFooter, - CardHeader, - CardTitle, -} from "@/registry/new-york/ui/card" -import { - ChartConfig, - ChartContainer, - ChartTooltip, - ChartTooltipContent, -} from "@/registry/new-york/ui/chart" - -export const description = "A bar chart with an active bar" - -const chartData = [ - { browser: "chrome", visitors: 187, fill: "var(--color-chrome)" }, - { browser: "safari", visitors: 200, fill: "var(--color-safari)" }, - { browser: "firefox", visitors: 275, fill: "var(--color-firefox)" }, - { browser: "edge", visitors: 173, fill: "var(--color-edge)" }, - { browser: "other", visitors: 90, fill: "var(--color-other)" }, -] - -const chartConfig = { - visitors: { - label: "Visitors", - }, - chrome: { - label: "Chrome", - color: "hsl(var(--chart-1))", - }, - safari: { - label: "Safari", - color: "hsl(var(--chart-2))", - }, - firefox: { - label: "Firefox", - color: "hsl(var(--chart-3))", - }, - edge: { - label: "Edge", - color: "hsl(var(--chart-4))", - }, - other: { - label: "Other", - color: "hsl(var(--chart-5))", - }, -} satisfies ChartConfig - -export default function Component() { - return ( - - - Bar Chart - Active - January - June 2024 - - - - - - - chartConfig[value as keyof typeof chartConfig]?.label - } - /> - } - /> - { - return ( - - ) - }} - /> - - - - -
- Trending up by 5.2% this month -
-
- Showing total visitors for the last 6 months -
-
-
- ) -} diff --git a/deprecated/www/__registry__/new-york/charts/chart-bar-default.tsx b/deprecated/www/__registry__/new-york/charts/chart-bar-default.tsx deleted file mode 100644 index 5aec111e67..0000000000 --- a/deprecated/www/__registry__/new-york/charts/chart-bar-default.tsx +++ /dev/null @@ -1,75 +0,0 @@ -"use client" - -import { TrendingUp } from "lucide-react" -import { Bar, BarChart, CartesianGrid, XAxis } from "recharts" - -import { - Card, - CardContent, - CardDescription, - CardFooter, - CardHeader, - CardTitle, -} from "@/registry/new-york/ui/card" -import { - ChartConfig, - ChartContainer, - ChartTooltip, - ChartTooltipContent, -} from "@/registry/new-york/ui/chart" - -export const description = "A bar chart" - -const chartData = [ - { month: "January", desktop: 186 }, - { month: "February", desktop: 305 }, - { month: "March", desktop: 237 }, - { month: "April", desktop: 73 }, - { month: "May", desktop: 209 }, - { month: "June", desktop: 214 }, -] - -const chartConfig = { - desktop: { - label: "Desktop", - color: "hsl(var(--chart-1))", - }, -} satisfies ChartConfig - -export default function Component() { - return ( - - - Bar Chart - January - June 2024 - - - - - - value.slice(0, 3)} - /> - } - /> - - - - - -
- Trending up by 5.2% this month -
-
- Showing total visitors for the last 6 months -
-
-
- ) -} diff --git a/deprecated/www/__registry__/new-york/charts/chart-bar-horizontal.tsx b/deprecated/www/__registry__/new-york/charts/chart-bar-horizontal.tsx deleted file mode 100644 index b8b1014517..0000000000 --- a/deprecated/www/__registry__/new-york/charts/chart-bar-horizontal.tsx +++ /dev/null @@ -1,83 +0,0 @@ -"use client" - -import { TrendingUp } from "lucide-react" -import { Bar, BarChart, XAxis, YAxis } from "recharts" - -import { - Card, - CardContent, - CardDescription, - CardFooter, - CardHeader, - CardTitle, -} from "@/registry/new-york/ui/card" -import { - ChartConfig, - ChartContainer, - ChartTooltip, - ChartTooltipContent, -} from "@/registry/new-york/ui/chart" - -export const description = "A horizontal bar chart" - -const chartData = [ - { month: "January", desktop: 186 }, - { month: "February", desktop: 305 }, - { month: "March", desktop: 237 }, - { month: "April", desktop: 73 }, - { month: "May", desktop: 209 }, - { month: "June", desktop: 214 }, -] - -const chartConfig = { - desktop: { - label: "Desktop", - color: "hsl(var(--chart-1))", - }, -} satisfies ChartConfig - -export default function Component() { - return ( - - - Bar Chart - Horizontal - January - June 2024 - - - - - - value.slice(0, 3)} - /> - } - /> - - - - - -
- Trending up by 5.2% this month -
-
- Showing total visitors for the last 6 months -
-
-
- ) -} diff --git a/deprecated/www/__registry__/new-york/charts/chart-bar-interactive.tsx b/deprecated/www/__registry__/new-york/charts/chart-bar-interactive.tsx deleted file mode 100644 index f988ef5e11..0000000000 --- a/deprecated/www/__registry__/new-york/charts/chart-bar-interactive.tsx +++ /dev/null @@ -1,221 +0,0 @@ -"use client" - -import * as React from "react" -import { Bar, BarChart, CartesianGrid, XAxis } from "recharts" - -import { - Card, - CardContent, - CardDescription, - CardHeader, - CardTitle, -} from "@/registry/new-york/ui/card" -import { - ChartConfig, - ChartContainer, - ChartTooltip, - ChartTooltipContent, -} from "@/registry/new-york/ui/chart" - -export const description = "An interactive bar chart" - -const chartData = [ - { date: "2024-04-01", desktop: 222, mobile: 150 }, - { date: "2024-04-02", desktop: 97, mobile: 180 }, - { date: "2024-04-03", desktop: 167, mobile: 120 }, - { date: "2024-04-04", desktop: 242, mobile: 260 }, - { date: "2024-04-05", desktop: 373, mobile: 290 }, - { date: "2024-04-06", desktop: 301, mobile: 340 }, - { date: "2024-04-07", desktop: 245, mobile: 180 }, - { date: "2024-04-08", desktop: 409, mobile: 320 }, - { date: "2024-04-09", desktop: 59, mobile: 110 }, - { date: "2024-04-10", desktop: 261, mobile: 190 }, - { date: "2024-04-11", desktop: 327, mobile: 350 }, - { date: "2024-04-12", desktop: 292, mobile: 210 }, - { date: "2024-04-13", desktop: 342, mobile: 380 }, - { date: "2024-04-14", desktop: 137, mobile: 220 }, - { date: "2024-04-15", desktop: 120, mobile: 170 }, - { date: "2024-04-16", desktop: 138, mobile: 190 }, - { date: "2024-04-17", desktop: 446, mobile: 360 }, - { date: "2024-04-18", desktop: 364, mobile: 410 }, - { date: "2024-04-19", desktop: 243, mobile: 180 }, - { date: "2024-04-20", desktop: 89, mobile: 150 }, - { date: "2024-04-21", desktop: 137, mobile: 200 }, - { date: "2024-04-22", desktop: 224, mobile: 170 }, - { date: "2024-04-23", desktop: 138, mobile: 230 }, - { date: "2024-04-24", desktop: 387, mobile: 290 }, - { date: "2024-04-25", desktop: 215, mobile: 250 }, - { date: "2024-04-26", desktop: 75, mobile: 130 }, - { date: "2024-04-27", desktop: 383, mobile: 420 }, - { date: "2024-04-28", desktop: 122, mobile: 180 }, - { date: "2024-04-29", desktop: 315, mobile: 240 }, - { date: "2024-04-30", desktop: 454, mobile: 380 }, - { date: "2024-05-01", desktop: 165, mobile: 220 }, - { date: "2024-05-02", desktop: 293, mobile: 310 }, - { date: "2024-05-03", desktop: 247, mobile: 190 }, - { date: "2024-05-04", desktop: 385, mobile: 420 }, - { date: "2024-05-05", desktop: 481, mobile: 390 }, - { date: "2024-05-06", desktop: 498, mobile: 520 }, - { date: "2024-05-07", desktop: 388, mobile: 300 }, - { date: "2024-05-08", desktop: 149, mobile: 210 }, - { date: "2024-05-09", desktop: 227, mobile: 180 }, - { date: "2024-05-10", desktop: 293, mobile: 330 }, - { date: "2024-05-11", desktop: 335, mobile: 270 }, - { date: "2024-05-12", desktop: 197, mobile: 240 }, - { date: "2024-05-13", desktop: 197, mobile: 160 }, - { date: "2024-05-14", desktop: 448, mobile: 490 }, - { date: "2024-05-15", desktop: 473, mobile: 380 }, - { date: "2024-05-16", desktop: 338, mobile: 400 }, - { date: "2024-05-17", desktop: 499, mobile: 420 }, - { date: "2024-05-18", desktop: 315, mobile: 350 }, - { date: "2024-05-19", desktop: 235, mobile: 180 }, - { date: "2024-05-20", desktop: 177, mobile: 230 }, - { date: "2024-05-21", desktop: 82, mobile: 140 }, - { date: "2024-05-22", desktop: 81, mobile: 120 }, - { date: "2024-05-23", desktop: 252, mobile: 290 }, - { date: "2024-05-24", desktop: 294, mobile: 220 }, - { date: "2024-05-25", desktop: 201, mobile: 250 }, - { date: "2024-05-26", desktop: 213, mobile: 170 }, - { date: "2024-05-27", desktop: 420, mobile: 460 }, - { date: "2024-05-28", desktop: 233, mobile: 190 }, - { date: "2024-05-29", desktop: 78, mobile: 130 }, - { date: "2024-05-30", desktop: 340, mobile: 280 }, - { date: "2024-05-31", desktop: 178, mobile: 230 }, - { date: "2024-06-01", desktop: 178, mobile: 200 }, - { date: "2024-06-02", desktop: 470, mobile: 410 }, - { date: "2024-06-03", desktop: 103, mobile: 160 }, - { date: "2024-06-04", desktop: 439, mobile: 380 }, - { date: "2024-06-05", desktop: 88, mobile: 140 }, - { date: "2024-06-06", desktop: 294, mobile: 250 }, - { date: "2024-06-07", desktop: 323, mobile: 370 }, - { date: "2024-06-08", desktop: 385, mobile: 320 }, - { date: "2024-06-09", desktop: 438, mobile: 480 }, - { date: "2024-06-10", desktop: 155, mobile: 200 }, - { date: "2024-06-11", desktop: 92, mobile: 150 }, - { date: "2024-06-12", desktop: 492, mobile: 420 }, - { date: "2024-06-13", desktop: 81, mobile: 130 }, - { date: "2024-06-14", desktop: 426, mobile: 380 }, - { date: "2024-06-15", desktop: 307, mobile: 350 }, - { date: "2024-06-16", desktop: 371, mobile: 310 }, - { date: "2024-06-17", desktop: 475, mobile: 520 }, - { date: "2024-06-18", desktop: 107, mobile: 170 }, - { date: "2024-06-19", desktop: 341, mobile: 290 }, - { date: "2024-06-20", desktop: 408, mobile: 450 }, - { date: "2024-06-21", desktop: 169, mobile: 210 }, - { date: "2024-06-22", desktop: 317, mobile: 270 }, - { date: "2024-06-23", desktop: 480, mobile: 530 }, - { date: "2024-06-24", desktop: 132, mobile: 180 }, - { date: "2024-06-25", desktop: 141, mobile: 190 }, - { date: "2024-06-26", desktop: 434, mobile: 380 }, - { date: "2024-06-27", desktop: 448, mobile: 490 }, - { date: "2024-06-28", desktop: 149, mobile: 200 }, - { date: "2024-06-29", desktop: 103, mobile: 160 }, - { date: "2024-06-30", desktop: 446, mobile: 400 }, -] - -const chartConfig = { - views: { - label: "Page Views", - }, - desktop: { - label: "Desktop", - color: "hsl(var(--chart-1))", - }, - mobile: { - label: "Mobile", - color: "hsl(var(--chart-2))", - }, -} satisfies ChartConfig - -export default function Component() { - const [activeChart, setActiveChart] = - React.useState("desktop") - - const total = React.useMemo( - () => ({ - desktop: chartData.reduce((acc, curr) => acc + curr.desktop, 0), - mobile: chartData.reduce((acc, curr) => acc + curr.mobile, 0), - }), - [] - ) - - return ( - - -
- Bar Chart - Interactive - - Showing total visitors for the last 3 months - -
-
- {["desktop", "mobile"].map((key) => { - const chart = key as keyof typeof chartConfig - return ( - - ) - })} -
-
- - - - - { - const date = new Date(value) - return date.toLocaleDateString("en-US", { - month: "short", - day: "numeric", - }) - }} - /> - { - return new Date(value).toLocaleDateString("en-US", { - month: "short", - day: "numeric", - year: "numeric", - }) - }} - /> - } - /> - - - - -
- ) -} diff --git a/deprecated/www/__registry__/new-york/charts/chart-bar-label-custom.tsx b/deprecated/www/__registry__/new-york/charts/chart-bar-label-custom.tsx deleted file mode 100644 index bba630a900..0000000000 --- a/deprecated/www/__registry__/new-york/charts/chart-bar-label-custom.tsx +++ /dev/null @@ -1,112 +0,0 @@ -"use client" - -import { TrendingUp } from "lucide-react" -import { Bar, BarChart, CartesianGrid, LabelList, XAxis, YAxis } from "recharts" - -import { - Card, - CardContent, - CardDescription, - CardFooter, - CardHeader, - CardTitle, -} from "@/registry/new-york/ui/card" -import { - ChartConfig, - ChartContainer, - ChartTooltip, - ChartTooltipContent, -} from "@/registry/new-york/ui/chart" - -export const description = "A bar chart with a custom label" - -const chartData = [ - { month: "January", desktop: 186, mobile: 80 }, - { month: "February", desktop: 305, mobile: 200 }, - { month: "March", desktop: 237, mobile: 120 }, - { month: "April", desktop: 73, mobile: 190 }, - { month: "May", desktop: 209, mobile: 130 }, - { month: "June", desktop: 214, mobile: 140 }, -] - -const chartConfig = { - desktop: { - label: "Desktop", - color: "hsl(var(--chart-1))", - }, - mobile: { - label: "Mobile", - color: "hsl(var(--chart-2))", - }, - label: { - color: "hsl(var(--background))", - }, -} satisfies ChartConfig - -export default function Component() { - return ( - - - Bar Chart - Custom Label - January - June 2024 - - - - - - value.slice(0, 3)} - hide - /> - - } - /> - - - - - - - - -
- Trending up by 5.2% this month -
-
- Showing total visitors for the last 6 months -
-
-
- ) -} diff --git a/deprecated/www/__registry__/new-york/charts/chart-bar-label.tsx b/deprecated/www/__registry__/new-york/charts/chart-bar-label.tsx deleted file mode 100644 index 1a06e05e00..0000000000 --- a/deprecated/www/__registry__/new-york/charts/chart-bar-label.tsx +++ /dev/null @@ -1,88 +0,0 @@ -"use client" - -import { TrendingUp } from "lucide-react" -import { Bar, BarChart, CartesianGrid, LabelList, XAxis } from "recharts" - -import { - Card, - CardContent, - CardDescription, - CardFooter, - CardHeader, - CardTitle, -} from "@/registry/new-york/ui/card" -import { - ChartConfig, - ChartContainer, - ChartTooltip, - ChartTooltipContent, -} from "@/registry/new-york/ui/chart" - -export const description = "A bar chart with a label" - -const chartData = [ - { month: "January", desktop: 186 }, - { month: "February", desktop: 305 }, - { month: "March", desktop: 237 }, - { month: "April", desktop: 73 }, - { month: "May", desktop: 209 }, - { month: "June", desktop: 214 }, -] - -const chartConfig = { - desktop: { - label: "Desktop", - color: "hsl(var(--chart-1))", - }, -} satisfies ChartConfig - -export default function Component() { - return ( - - - Bar Chart - Label - January - June 2024 - - - - - - value.slice(0, 3)} - /> - } - /> - - - - - - - -
- Trending up by 5.2% this month -
-
- Showing total visitors for the last 6 months -
-
-
- ) -} diff --git a/deprecated/www/__registry__/new-york/charts/chart-bar-mixed.tsx b/deprecated/www/__registry__/new-york/charts/chart-bar-mixed.tsx deleted file mode 100644 index f839877833..0000000000 --- a/deprecated/www/__registry__/new-york/charts/chart-bar-mixed.tsx +++ /dev/null @@ -1,103 +0,0 @@ -"use client" - -import { TrendingUp } from "lucide-react" -import { Bar, BarChart, XAxis, YAxis } from "recharts" - -import { - Card, - CardContent, - CardDescription, - CardFooter, - CardHeader, - CardTitle, -} from "@/registry/new-york/ui/card" -import { - ChartConfig, - ChartContainer, - ChartTooltip, - ChartTooltipContent, -} from "@/registry/new-york/ui/chart" - -export const description = "A mixed bar chart" - -const chartData = [ - { browser: "chrome", visitors: 275, fill: "var(--color-chrome)" }, - { browser: "safari", visitors: 200, fill: "var(--color-safari)" }, - { browser: "firefox", visitors: 187, fill: "var(--color-firefox)" }, - { browser: "edge", visitors: 173, fill: "var(--color-edge)" }, - { browser: "other", visitors: 90, fill: "var(--color-other)" }, -] - -const chartConfig = { - visitors: { - label: "Visitors", - }, - chrome: { - label: "Chrome", - color: "hsl(var(--chart-1))", - }, - safari: { - label: "Safari", - color: "hsl(var(--chart-2))", - }, - firefox: { - label: "Firefox", - color: "hsl(var(--chart-3))", - }, - edge: { - label: "Edge", - color: "hsl(var(--chart-4))", - }, - other: { - label: "Other", - color: "hsl(var(--chart-5))", - }, -} satisfies ChartConfig - -export default function Component() { - return ( - - - Bar Chart - Mixed - January - June 2024 - - - - - - chartConfig[value as keyof typeof chartConfig]?.label - } - /> - - } - /> - - - - - -
- Trending up by 5.2% this month -
-
- Showing total visitors for the last 6 months -
-
-
- ) -} diff --git a/deprecated/www/__registry__/new-york/charts/chart-bar-multiple.tsx b/deprecated/www/__registry__/new-york/charts/chart-bar-multiple.tsx deleted file mode 100644 index b570638ce6..0000000000 --- a/deprecated/www/__registry__/new-york/charts/chart-bar-multiple.tsx +++ /dev/null @@ -1,80 +0,0 @@ -"use client" - -import { TrendingUp } from "lucide-react" -import { Bar, BarChart, CartesianGrid, XAxis } from "recharts" - -import { - Card, - CardContent, - CardDescription, - CardFooter, - CardHeader, - CardTitle, -} from "@/registry/new-york/ui/card" -import { - ChartConfig, - ChartContainer, - ChartTooltip, - ChartTooltipContent, -} from "@/registry/new-york/ui/chart" - -export const description = "A multiple bar chart" - -const chartData = [ - { month: "January", desktop: 186, mobile: 80 }, - { month: "February", desktop: 305, mobile: 200 }, - { month: "March", desktop: 237, mobile: 120 }, - { month: "April", desktop: 73, mobile: 190 }, - { month: "May", desktop: 209, mobile: 130 }, - { month: "June", desktop: 214, mobile: 140 }, -] - -const chartConfig = { - desktop: { - label: "Desktop", - color: "hsl(var(--chart-1))", - }, - mobile: { - label: "Mobile", - color: "hsl(var(--chart-2))", - }, -} satisfies ChartConfig - -export default function Component() { - return ( - - - Bar Chart - Multiple - January - June 2024 - - - - - - value.slice(0, 3)} - /> - } - /> - - - - - - -
- Trending up by 5.2% this month -
-
- Showing total visitors for the last 6 months -
-
-
- ) -} diff --git a/deprecated/www/__registry__/new-york/charts/chart-bar-negative.tsx b/deprecated/www/__registry__/new-york/charts/chart-bar-negative.tsx deleted file mode 100644 index c735fc6fff..0000000000 --- a/deprecated/www/__registry__/new-york/charts/chart-bar-negative.tsx +++ /dev/null @@ -1,79 +0,0 @@ -"use client" - -import { TrendingUp } from "lucide-react" -import { Bar, BarChart, CartesianGrid, Cell, LabelList } from "recharts" - -import { - Card, - CardContent, - CardDescription, - CardFooter, - CardHeader, - CardTitle, -} from "@/registry/new-york/ui/card" -import { - ChartConfig, - ChartContainer, - ChartTooltip, - ChartTooltipContent, -} from "@/registry/new-york/ui/chart" - -export const description = "A bar chart with negative values" - -const chartData = [ - { month: "January", visitors: 186 }, - { month: "February", visitors: 205 }, - { month: "March", visitors: -207 }, - { month: "April", visitors: 173 }, - { month: "May", visitors: -209 }, - { month: "June", visitors: 214 }, -] - -const chartConfig = { - visitors: { - label: "Visitors", - }, -} satisfies ChartConfig - -export default function Component() { - return ( - - - Bar Chart - Negative - January - June 2024 - - - - - - } - /> - - - {chartData.map((item) => ( - 0 - ? "hsl(var(--chart-1))" - : "hsl(var(--chart-2))" - } - /> - ))} - - - - - -
- Trending up by 5.2% this month -
-
- Showing total visitors for the last 6 months -
-
-
- ) -} diff --git a/deprecated/www/__registry__/new-york/charts/chart-bar-stacked.tsx b/deprecated/www/__registry__/new-york/charts/chart-bar-stacked.tsx deleted file mode 100644 index ddfa81e47e..0000000000 --- a/deprecated/www/__registry__/new-york/charts/chart-bar-stacked.tsx +++ /dev/null @@ -1,90 +0,0 @@ -"use client" - -import { TrendingUp } from "lucide-react" -import { Bar, BarChart, CartesianGrid, XAxis } from "recharts" - -import { - Card, - CardContent, - CardDescription, - CardFooter, - CardHeader, - CardTitle, -} from "@/registry/new-york/ui/card" -import { - ChartConfig, - ChartContainer, - ChartLegend, - ChartLegendContent, - ChartTooltip, - ChartTooltipContent, -} from "@/registry/new-york/ui/chart" - -export const description = "A stacked bar chart with a legend" - -const chartData = [ - { month: "January", desktop: 186, mobile: 80 }, - { month: "February", desktop: 305, mobile: 200 }, - { month: "March", desktop: 237, mobile: 120 }, - { month: "April", desktop: 73, mobile: 190 }, - { month: "May", desktop: 209, mobile: 130 }, - { month: "June", desktop: 214, mobile: 140 }, -] - -const chartConfig = { - desktop: { - label: "Desktop", - color: "hsl(var(--chart-1))", - }, - mobile: { - label: "Mobile", - color: "hsl(var(--chart-2))", - }, -} satisfies ChartConfig - -export default function Component() { - return ( - - - Bar Chart - Stacked + Legend - January - June 2024 - - - - - - value.slice(0, 3)} - /> - } /> - } /> - - - - - - -
- Trending up by 5.2% this month -
-
- Showing total visitors for the last 6 months -
-
-
- ) -} diff --git a/deprecated/www/__registry__/new-york/charts/chart-line-default.tsx b/deprecated/www/__registry__/new-york/charts/chart-line-default.tsx deleted file mode 100644 index ccc36bc5b6..0000000000 --- a/deprecated/www/__registry__/new-york/charts/chart-line-default.tsx +++ /dev/null @@ -1,88 +0,0 @@ -"use client" - -import { TrendingUp } from "lucide-react" -import { CartesianGrid, Line, LineChart, XAxis } from "recharts" - -import { - Card, - CardContent, - CardDescription, - CardFooter, - CardHeader, - CardTitle, -} from "@/registry/new-york/ui/card" -import { - ChartConfig, - ChartContainer, - ChartTooltip, - ChartTooltipContent, -} from "@/registry/new-york/ui/chart" - -export const description = "A line chart" - -const chartData = [ - { month: "January", desktop: 186 }, - { month: "February", desktop: 305 }, - { month: "March", desktop: 237 }, - { month: "April", desktop: 73 }, - { month: "May", desktop: 209 }, - { month: "June", desktop: 214 }, -] - -const chartConfig = { - desktop: { - label: "Desktop", - color: "hsl(var(--chart-1))", - }, -} satisfies ChartConfig - -export default function Component() { - return ( - - - Line Chart - January - June 2024 - - - - - - value.slice(0, 3)} - /> - } - /> - - - - - -
- Trending up by 5.2% this month -
-
- Showing total visitors for the last 6 months -
-
-
- ) -} diff --git a/deprecated/www/__registry__/new-york/charts/chart-line-dots-colors.tsx b/deprecated/www/__registry__/new-york/charts/chart-line-dots-colors.tsx deleted file mode 100644 index 5176281cc2..0000000000 --- a/deprecated/www/__registry__/new-york/charts/chart-line-dots-colors.tsx +++ /dev/null @@ -1,118 +0,0 @@ -"use client" - -import { TrendingUp } from "lucide-react" -import { CartesianGrid, Dot, Line, LineChart } from "recharts" - -import { - Card, - CardContent, - CardDescription, - CardFooter, - CardHeader, - CardTitle, -} from "@/registry/new-york/ui/card" -import { - ChartConfig, - ChartContainer, - ChartTooltip, - ChartTooltipContent, -} from "@/registry/new-york/ui/chart" - -export const description = "A line chart with dots and colors" - -const chartData = [ - { browser: "chrome", visitors: 275, fill: "var(--color-chrome)" }, - { browser: "safari", visitors: 200, fill: "var(--color-safari)" }, - { browser: "firefox", visitors: 187, fill: "var(--color-firefox)" }, - { browser: "edge", visitors: 173, fill: "var(--color-edge)" }, - { browser: "other", visitors: 90, fill: "var(--color-other)" }, -] - -const chartConfig = { - visitors: { - label: "Visitors", - color: "hsl(var(--chart-2))", - }, - chrome: { - label: "Chrome", - color: "hsl(var(--chart-1))", - }, - safari: { - label: "Safari", - color: "hsl(var(--chart-2))", - }, - firefox: { - label: "Firefox", - color: "hsl(var(--chart-3))", - }, - edge: { - label: "Edge", - color: "hsl(var(--chart-4))", - }, - other: { - label: "Other", - color: "hsl(var(--chart-5))", - }, -} satisfies ChartConfig - -export default function Component() { - return ( - - - Line Chart - Dots Colors - January - June 2024 - - - - - - - } - /> - { - return ( - - ) - }} - /> - - - - -
- Trending up by 5.2% this month -
-
- Showing total visitors for the last 6 months -
-
-
- ) -} diff --git a/deprecated/www/__registry__/new-york/charts/chart-line-dots-custom.tsx b/deprecated/www/__registry__/new-york/charts/chart-line-dots-custom.tsx deleted file mode 100644 index 9b7e86ca36..0000000000 --- a/deprecated/www/__registry__/new-york/charts/chart-line-dots-custom.tsx +++ /dev/null @@ -1,105 +0,0 @@ -"use client" - -import { GitCommitVertical, TrendingUp } from "lucide-react" -import { CartesianGrid, Line, LineChart, XAxis } from "recharts" - -import { - Card, - CardContent, - CardDescription, - CardFooter, - CardHeader, - CardTitle, -} from "@/registry/new-york/ui/card" -import { - ChartConfig, - ChartContainer, - ChartTooltip, - ChartTooltipContent, -} from "@/registry/new-york/ui/chart" - -export const description = "A line chart with custom dots" - -const chartData = [ - { month: "January", desktop: 186, mobile: 80 }, - { month: "February", desktop: 305, mobile: 200 }, - { month: "March", desktop: 237, mobile: 120 }, - { month: "April", desktop: 73, mobile: 190 }, - { month: "May", desktop: 209, mobile: 130 }, - { month: "June", desktop: 214, mobile: 140 }, -] - -const chartConfig = { - desktop: { - label: "Desktop", - color: "hsl(var(--chart-1))", - }, - mobile: { - label: "Mobile", - color: "hsl(var(--chart-2))", - }, -} satisfies ChartConfig - -export default function Component() { - return ( - - - Line Chart - Custom Dots - January - June 2024 - - - - - - value.slice(0, 3)} - /> - } - /> - { - const r = 24 - return ( - - ) - }} - /> - - - - -
- Trending up by 5.2% this month -
-
- Showing total visitors for the last 6 months -
-
-
- ) -} diff --git a/deprecated/www/__registry__/new-york/charts/chart-line-dots.tsx b/deprecated/www/__registry__/new-york/charts/chart-line-dots.tsx deleted file mode 100644 index 54fb10ed80..0000000000 --- a/deprecated/www/__registry__/new-york/charts/chart-line-dots.tsx +++ /dev/null @@ -1,97 +0,0 @@ -"use client" - -import { TrendingUp } from "lucide-react" -import { CartesianGrid, Line, LineChart, XAxis } from "recharts" - -import { - Card, - CardContent, - CardDescription, - CardFooter, - CardHeader, - CardTitle, -} from "@/registry/new-york/ui/card" -import { - ChartConfig, - ChartContainer, - ChartTooltip, - ChartTooltipContent, -} from "@/registry/new-york/ui/chart" - -export const description = "A line chart with dots" - -const chartData = [ - { month: "January", desktop: 186, mobile: 80 }, - { month: "February", desktop: 305, mobile: 200 }, - { month: "March", desktop: 237, mobile: 120 }, - { month: "April", desktop: 73, mobile: 190 }, - { month: "May", desktop: 209, mobile: 130 }, - { month: "June", desktop: 214, mobile: 140 }, -] - -const chartConfig = { - desktop: { - label: "Desktop", - color: "hsl(var(--chart-1))", - }, - mobile: { - label: "Mobile", - color: "hsl(var(--chart-2))", - }, -} satisfies ChartConfig - -export default function Component() { - return ( - - - Line Chart - Dots - January - June 2024 - - - - - - value.slice(0, 3)} - /> - } - /> - - - - - -
- Trending up by 5.2% this month -
-
- Showing total visitors for the last 6 months -
-
-
- ) -} diff --git a/deprecated/www/__registry__/new-york/charts/chart-line-interactive.tsx b/deprecated/www/__registry__/new-york/charts/chart-line-interactive.tsx deleted file mode 100644 index 4432eb89c2..0000000000 --- a/deprecated/www/__registry__/new-york/charts/chart-line-interactive.tsx +++ /dev/null @@ -1,227 +0,0 @@ -"use client" - -import * as React from "react" -import { CartesianGrid, Line, LineChart, XAxis } from "recharts" - -import { - Card, - CardContent, - CardDescription, - CardHeader, - CardTitle, -} from "@/registry/new-york/ui/card" -import { - ChartConfig, - ChartContainer, - ChartTooltip, - ChartTooltipContent, -} from "@/registry/new-york/ui/chart" - -export const description = "An interactive line chart" - -const chartData = [ - { date: "2024-04-01", desktop: 222, mobile: 150 }, - { date: "2024-04-02", desktop: 97, mobile: 180 }, - { date: "2024-04-03", desktop: 167, mobile: 120 }, - { date: "2024-04-04", desktop: 242, mobile: 260 }, - { date: "2024-04-05", desktop: 373, mobile: 290 }, - { date: "2024-04-06", desktop: 301, mobile: 340 }, - { date: "2024-04-07", desktop: 245, mobile: 180 }, - { date: "2024-04-08", desktop: 409, mobile: 320 }, - { date: "2024-04-09", desktop: 59, mobile: 110 }, - { date: "2024-04-10", desktop: 261, mobile: 190 }, - { date: "2024-04-11", desktop: 327, mobile: 350 }, - { date: "2024-04-12", desktop: 292, mobile: 210 }, - { date: "2024-04-13", desktop: 342, mobile: 380 }, - { date: "2024-04-14", desktop: 137, mobile: 220 }, - { date: "2024-04-15", desktop: 120, mobile: 170 }, - { date: "2024-04-16", desktop: 138, mobile: 190 }, - { date: "2024-04-17", desktop: 446, mobile: 360 }, - { date: "2024-04-18", desktop: 364, mobile: 410 }, - { date: "2024-04-19", desktop: 243, mobile: 180 }, - { date: "2024-04-20", desktop: 89, mobile: 150 }, - { date: "2024-04-21", desktop: 137, mobile: 200 }, - { date: "2024-04-22", desktop: 224, mobile: 170 }, - { date: "2024-04-23", desktop: 138, mobile: 230 }, - { date: "2024-04-24", desktop: 387, mobile: 290 }, - { date: "2024-04-25", desktop: 215, mobile: 250 }, - { date: "2024-04-26", desktop: 75, mobile: 130 }, - { date: "2024-04-27", desktop: 383, mobile: 420 }, - { date: "2024-04-28", desktop: 122, mobile: 180 }, - { date: "2024-04-29", desktop: 315, mobile: 240 }, - { date: "2024-04-30", desktop: 454, mobile: 380 }, - { date: "2024-05-01", desktop: 165, mobile: 220 }, - { date: "2024-05-02", desktop: 293, mobile: 310 }, - { date: "2024-05-03", desktop: 247, mobile: 190 }, - { date: "2024-05-04", desktop: 385, mobile: 420 }, - { date: "2024-05-05", desktop: 481, mobile: 390 }, - { date: "2024-05-06", desktop: 498, mobile: 520 }, - { date: "2024-05-07", desktop: 388, mobile: 300 }, - { date: "2024-05-08", desktop: 149, mobile: 210 }, - { date: "2024-05-09", desktop: 227, mobile: 180 }, - { date: "2024-05-10", desktop: 293, mobile: 330 }, - { date: "2024-05-11", desktop: 335, mobile: 270 }, - { date: "2024-05-12", desktop: 197, mobile: 240 }, - { date: "2024-05-13", desktop: 197, mobile: 160 }, - { date: "2024-05-14", desktop: 448, mobile: 490 }, - { date: "2024-05-15", desktop: 473, mobile: 380 }, - { date: "2024-05-16", desktop: 338, mobile: 400 }, - { date: "2024-05-17", desktop: 499, mobile: 420 }, - { date: "2024-05-18", desktop: 315, mobile: 350 }, - { date: "2024-05-19", desktop: 235, mobile: 180 }, - { date: "2024-05-20", desktop: 177, mobile: 230 }, - { date: "2024-05-21", desktop: 82, mobile: 140 }, - { date: "2024-05-22", desktop: 81, mobile: 120 }, - { date: "2024-05-23", desktop: 252, mobile: 290 }, - { date: "2024-05-24", desktop: 294, mobile: 220 }, - { date: "2024-05-25", desktop: 201, mobile: 250 }, - { date: "2024-05-26", desktop: 213, mobile: 170 }, - { date: "2024-05-27", desktop: 420, mobile: 460 }, - { date: "2024-05-28", desktop: 233, mobile: 190 }, - { date: "2024-05-29", desktop: 78, mobile: 130 }, - { date: "2024-05-30", desktop: 340, mobile: 280 }, - { date: "2024-05-31", desktop: 178, mobile: 230 }, - { date: "2024-06-01", desktop: 178, mobile: 200 }, - { date: "2024-06-02", desktop: 470, mobile: 410 }, - { date: "2024-06-03", desktop: 103, mobile: 160 }, - { date: "2024-06-04", desktop: 439, mobile: 380 }, - { date: "2024-06-05", desktop: 88, mobile: 140 }, - { date: "2024-06-06", desktop: 294, mobile: 250 }, - { date: "2024-06-07", desktop: 323, mobile: 370 }, - { date: "2024-06-08", desktop: 385, mobile: 320 }, - { date: "2024-06-09", desktop: 438, mobile: 480 }, - { date: "2024-06-10", desktop: 155, mobile: 200 }, - { date: "2024-06-11", desktop: 92, mobile: 150 }, - { date: "2024-06-12", desktop: 492, mobile: 420 }, - { date: "2024-06-13", desktop: 81, mobile: 130 }, - { date: "2024-06-14", desktop: 426, mobile: 380 }, - { date: "2024-06-15", desktop: 307, mobile: 350 }, - { date: "2024-06-16", desktop: 371, mobile: 310 }, - { date: "2024-06-17", desktop: 475, mobile: 520 }, - { date: "2024-06-18", desktop: 107, mobile: 170 }, - { date: "2024-06-19", desktop: 341, mobile: 290 }, - { date: "2024-06-20", desktop: 408, mobile: 450 }, - { date: "2024-06-21", desktop: 169, mobile: 210 }, - { date: "2024-06-22", desktop: 317, mobile: 270 }, - { date: "2024-06-23", desktop: 480, mobile: 530 }, - { date: "2024-06-24", desktop: 132, mobile: 180 }, - { date: "2024-06-25", desktop: 141, mobile: 190 }, - { date: "2024-06-26", desktop: 434, mobile: 380 }, - { date: "2024-06-27", desktop: 448, mobile: 490 }, - { date: "2024-06-28", desktop: 149, mobile: 200 }, - { date: "2024-06-29", desktop: 103, mobile: 160 }, - { date: "2024-06-30", desktop: 446, mobile: 400 }, -] - -const chartConfig = { - views: { - label: "Page Views", - }, - desktop: { - label: "Desktop", - color: "hsl(var(--chart-1))", - }, - mobile: { - label: "Mobile", - color: "hsl(var(--chart-2))", - }, -} satisfies ChartConfig - -export default function Component() { - const [activeChart, setActiveChart] = - React.useState("desktop") - - const total = React.useMemo( - () => ({ - desktop: chartData.reduce((acc, curr) => acc + curr.desktop, 0), - mobile: chartData.reduce((acc, curr) => acc + curr.mobile, 0), - }), - [] - ) - - return ( - - -
- Line Chart - Interactive - - Showing total visitors for the last 3 months - -
-
- {["desktop", "mobile"].map((key) => { - const chart = key as keyof typeof chartConfig - return ( - - ) - })} -
-
- - - - - { - const date = new Date(value) - return date.toLocaleDateString("en-US", { - month: "short", - day: "numeric", - }) - }} - /> - { - return new Date(value).toLocaleDateString("en-US", { - month: "short", - day: "numeric", - year: "numeric", - }) - }} - /> - } - /> - - - - -
- ) -} diff --git a/deprecated/www/__registry__/new-york/charts/chart-line-label-custom.tsx b/deprecated/www/__registry__/new-york/charts/chart-line-label-custom.tsx deleted file mode 100644 index f7972946fc..0000000000 --- a/deprecated/www/__registry__/new-york/charts/chart-line-label-custom.tsx +++ /dev/null @@ -1,123 +0,0 @@ -"use client" - -import { TrendingUp } from "lucide-react" -import { CartesianGrid, LabelList, Line, LineChart } from "recharts" - -import { - Card, - CardContent, - CardDescription, - CardFooter, - CardHeader, - CardTitle, -} from "@/registry/new-york/ui/card" -import { - ChartConfig, - ChartContainer, - ChartTooltip, - ChartTooltipContent, -} from "@/registry/new-york/ui/chart" - -export const description = "A line chart with a custom label" - -const chartData = [ - { browser: "chrome", visitors: 275, fill: "var(--color-chrome)" }, - { browser: "safari", visitors: 200, fill: "var(--color-safari)" }, - { browser: "firefox", visitors: 187, fill: "var(--color-firefox)" }, - { browser: "edge", visitors: 173, fill: "var(--color-edge)" }, - { browser: "other", visitors: 90, fill: "var(--color-other)" }, -] - -const chartConfig = { - visitors: { - label: "Visitors", - color: "hsl(var(--chart-2))", - }, - chrome: { - label: "Chrome", - color: "hsl(var(--chart-1))", - }, - safari: { - label: "Safari", - color: "hsl(var(--chart-2))", - }, - firefox: { - label: "Firefox", - color: "hsl(var(--chart-3))", - }, - edge: { - label: "Edge", - color: "hsl(var(--chart-4))", - }, - other: { - label: "Other", - color: "hsl(var(--chart-5))", - }, -} satisfies ChartConfig - -export default function Component() { - return ( - - - Line Chart - Custom Label - January - June 2024 - - - - - - - } - /> - - - chartConfig[value]?.label - } - /> - - - - - -
- Trending up by 5.2% this month -
-
- Showing total visitors for the last 6 months -
-
-
- ) -} diff --git a/deprecated/www/__registry__/new-york/charts/chart-line-label.tsx b/deprecated/www/__registry__/new-york/charts/chart-line-label.tsx deleted file mode 100644 index c6b832d6a6..0000000000 --- a/deprecated/www/__registry__/new-york/charts/chart-line-label.tsx +++ /dev/null @@ -1,105 +0,0 @@ -"use client" - -import { TrendingUp } from "lucide-react" -import { CartesianGrid, LabelList, Line, LineChart, XAxis } from "recharts" - -import { - Card, - CardContent, - CardDescription, - CardFooter, - CardHeader, - CardTitle, -} from "@/registry/new-york/ui/card" -import { - ChartConfig, - ChartContainer, - ChartTooltip, - ChartTooltipContent, -} from "@/registry/new-york/ui/chart" - -export const description = "A line chart with a label" - -const chartData = [ - { month: "January", desktop: 186, mobile: 80 }, - { month: "February", desktop: 305, mobile: 200 }, - { month: "March", desktop: 237, mobile: 120 }, - { month: "April", desktop: 73, mobile: 190 }, - { month: "May", desktop: 209, mobile: 130 }, - { month: "June", desktop: 214, mobile: 140 }, -] - -const chartConfig = { - desktop: { - label: "Desktop", - color: "hsl(var(--chart-1))", - }, - mobile: { - label: "Mobile", - color: "hsl(var(--chart-2))", - }, -} satisfies ChartConfig - -export default function Component() { - return ( - - - Line Chart - Label - January - June 2024 - - - - - - value.slice(0, 3)} - /> - } - /> - - - - - - - -
- Trending up by 5.2% this month -
-
- Showing total visitors for the last 6 months -
-
-
- ) -} diff --git a/deprecated/www/__registry__/new-york/charts/chart-line-linear.tsx b/deprecated/www/__registry__/new-york/charts/chart-line-linear.tsx deleted file mode 100644 index 7225a5f79c..0000000000 --- a/deprecated/www/__registry__/new-york/charts/chart-line-linear.tsx +++ /dev/null @@ -1,88 +0,0 @@ -"use client" - -import { TrendingUp } from "lucide-react" -import { CartesianGrid, Line, LineChart, XAxis } from "recharts" - -import { - Card, - CardContent, - CardDescription, - CardFooter, - CardHeader, - CardTitle, -} from "@/registry/new-york/ui/card" -import { - ChartConfig, - ChartContainer, - ChartTooltip, - ChartTooltipContent, -} from "@/registry/new-york/ui/chart" - -export const description = "A linear line chart" - -const chartData = [ - { month: "January", desktop: 186 }, - { month: "February", desktop: 305 }, - { month: "March", desktop: 237 }, - { month: "April", desktop: 73 }, - { month: "May", desktop: 209 }, - { month: "June", desktop: 214 }, -] - -const chartConfig = { - desktop: { - label: "Desktop", - color: "hsl(var(--chart-1))", - }, -} satisfies ChartConfig - -export default function Component() { - return ( - - - Line Chart - Linear - January - June 2024 - - - - - - value.slice(0, 3)} - /> - } - /> - - - - - -
- Trending up by 5.2% this month -
-
- Showing total visitors for the last 6 months -
-
-
- ) -} diff --git a/deprecated/www/__registry__/new-york/charts/chart-line-multiple.tsx b/deprecated/www/__registry__/new-york/charts/chart-line-multiple.tsx deleted file mode 100644 index f972819f5b..0000000000 --- a/deprecated/www/__registry__/new-york/charts/chart-line-multiple.tsx +++ /dev/null @@ -1,100 +0,0 @@ -"use client" - -import { TrendingUp } from "lucide-react" -import { CartesianGrid, Line, LineChart, XAxis } from "recharts" - -import { - Card, - CardContent, - CardDescription, - CardFooter, - CardHeader, - CardTitle, -} from "@/registry/new-york/ui/card" -import { - ChartConfig, - ChartContainer, - ChartTooltip, - ChartTooltipContent, -} from "@/registry/new-york/ui/chart" - -export const description = "A multiple line chart" - -const chartData = [ - { month: "January", desktop: 186, mobile: 80 }, - { month: "February", desktop: 305, mobile: 200 }, - { month: "March", desktop: 237, mobile: 120 }, - { month: "April", desktop: 73, mobile: 190 }, - { month: "May", desktop: 209, mobile: 130 }, - { month: "June", desktop: 214, mobile: 140 }, -] - -const chartConfig = { - desktop: { - label: "Desktop", - color: "hsl(var(--chart-1))", - }, - mobile: { - label: "Mobile", - color: "hsl(var(--chart-2))", - }, -} satisfies ChartConfig - -export default function Component() { - return ( - - - Line Chart - Multiple - January - June 2024 - - - - - - value.slice(0, 3)} - /> - } /> - - - - - - -
-
-
- Trending up by 5.2% this month -
-
- Showing total visitors for the last 6 months -
-
-
-
-
- ) -} diff --git a/deprecated/www/__registry__/new-york/charts/chart-line-step.tsx b/deprecated/www/__registry__/new-york/charts/chart-line-step.tsx deleted file mode 100644 index 4531051867..0000000000 --- a/deprecated/www/__registry__/new-york/charts/chart-line-step.tsx +++ /dev/null @@ -1,88 +0,0 @@ -"use client" - -import { TrendingUp } from "lucide-react" -import { CartesianGrid, Line, LineChart, XAxis } from "recharts" - -import { - Card, - CardContent, - CardDescription, - CardFooter, - CardHeader, - CardTitle, -} from "@/registry/new-york/ui/card" -import { - ChartConfig, - ChartContainer, - ChartTooltip, - ChartTooltipContent, -} from "@/registry/new-york/ui/chart" - -export const description = "A line chart with step" - -const chartData = [ - { month: "January", desktop: 186 }, - { month: "February", desktop: 305 }, - { month: "March", desktop: 237 }, - { month: "April", desktop: 73 }, - { month: "May", desktop: 209 }, - { month: "June", desktop: 214 }, -] - -const chartConfig = { - desktop: { - label: "Desktop", - color: "hsl(var(--chart-1))", - }, -} satisfies ChartConfig - -export default function Component() { - return ( - - - Line Chart - Step - January - June 2024 - - - - - - value.slice(0, 3)} - /> - } - /> - - - - - -
- Trending up by 5.2% this month -
-
- Showing total visitors for the last 6 months -
-
-
- ) -} diff --git a/deprecated/www/__registry__/new-york/charts/chart-pie-donut-active.tsx b/deprecated/www/__registry__/new-york/charts/chart-pie-donut-active.tsx deleted file mode 100644 index 7d7a82eca8..0000000000 --- a/deprecated/www/__registry__/new-york/charts/chart-pie-donut-active.tsx +++ /dev/null @@ -1,102 +0,0 @@ -"use client" - -import { TrendingUp } from "lucide-react" -import { Label, Pie, PieChart, Sector } from "recharts" -import { PieSectorDataItem } from "recharts/types/polar/Pie" - -import { - Card, - CardContent, - CardDescription, - CardFooter, - CardHeader, - CardTitle, -} from "@/registry/new-york/ui/card" -import { - ChartConfig, - ChartContainer, - ChartTooltip, - ChartTooltipContent, -} from "@/registry/new-york/ui/chart" - -export const description = "A donut chart with an active sector" - -const chartData = [ - { browser: "chrome", visitors: 275, fill: "var(--color-chrome)" }, - { browser: "safari", visitors: 200, fill: "var(--color-safari)" }, - { browser: "firefox", visitors: 187, fill: "var(--color-firefox)" }, - { browser: "edge", visitors: 173, fill: "var(--color-edge)" }, - { browser: "other", visitors: 90, fill: "var(--color-other)" }, -] - -const chartConfig = { - visitors: { - label: "Visitors", - }, - chrome: { - label: "Chrome", - color: "hsl(var(--chart-1))", - }, - safari: { - label: "Safari", - color: "hsl(var(--chart-2))", - }, - firefox: { - label: "Firefox", - color: "hsl(var(--chart-3))", - }, - edge: { - label: "Edge", - color: "hsl(var(--chart-4))", - }, - other: { - label: "Other", - color: "hsl(var(--chart-5))", - }, -} satisfies ChartConfig - -export default function Component() { - return ( - - - Pie Chart - Donut Active - January - June 2024 - - - - - } - /> - ( - - )} - /> - - - - -
- Trending up by 5.2% this month -
-
- Showing total visitors for the last 6 months -
-
-
- ) -} diff --git a/deprecated/www/__registry__/new-york/charts/chart-pie-donut-text.tsx b/deprecated/www/__registry__/new-york/charts/chart-pie-donut-text.tsx deleted file mode 100644 index 1fb6bc74d1..0000000000 --- a/deprecated/www/__registry__/new-york/charts/chart-pie-donut-text.tsx +++ /dev/null @@ -1,129 +0,0 @@ -"use client" - -import * as React from "react" -import { TrendingUp } from "lucide-react" -import { Label, Pie, PieChart } from "recharts" - -import { - Card, - CardContent, - CardDescription, - CardFooter, - CardHeader, - CardTitle, -} from "@/registry/new-york/ui/card" -import { - ChartConfig, - ChartContainer, - ChartTooltip, - ChartTooltipContent, -} from "@/registry/new-york/ui/chart" - -export const description = "A donut chart with text" - -const chartData = [ - { browser: "chrome", visitors: 275, fill: "var(--color-chrome)" }, - { browser: "safari", visitors: 200, fill: "var(--color-safari)" }, - { browser: "firefox", visitors: 287, fill: "var(--color-firefox)" }, - { browser: "edge", visitors: 173, fill: "var(--color-edge)" }, - { browser: "other", visitors: 190, fill: "var(--color-other)" }, -] - -const chartConfig = { - visitors: { - label: "Visitors", - }, - chrome: { - label: "Chrome", - color: "hsl(var(--chart-1))", - }, - safari: { - label: "Safari", - color: "hsl(var(--chart-2))", - }, - firefox: { - label: "Firefox", - color: "hsl(var(--chart-3))", - }, - edge: { - label: "Edge", - color: "hsl(var(--chart-4))", - }, - other: { - label: "Other", - color: "hsl(var(--chart-5))", - }, -} satisfies ChartConfig - -export default function Component() { - const totalVisitors = React.useMemo(() => { - return chartData.reduce((acc, curr) => acc + curr.visitors, 0) - }, []) - - return ( - - - Pie Chart - Donut with Text - January - June 2024 - - - - - } - /> - - - - - - -
- Trending up by 5.2% this month -
-
- Showing total visitors for the last 6 months -
-
-
- ) -} diff --git a/deprecated/www/__registry__/new-york/charts/chart-pie-donut.tsx b/deprecated/www/__registry__/new-york/charts/chart-pie-donut.tsx deleted file mode 100644 index 42965dac6a..0000000000 --- a/deprecated/www/__registry__/new-york/charts/chart-pie-donut.tsx +++ /dev/null @@ -1,93 +0,0 @@ -"use client" - -import { TrendingUp } from "lucide-react" -import { Pie, PieChart } from "recharts" - -import { - Card, - CardContent, - CardDescription, - CardFooter, - CardHeader, - CardTitle, -} from "@/registry/new-york/ui/card" -import { - ChartConfig, - ChartContainer, - ChartTooltip, - ChartTooltipContent, -} from "@/registry/new-york/ui/chart" - -export const description = "A donut chart" - -const chartData = [ - { browser: "chrome", visitors: 275, fill: "var(--color-chrome)" }, - { browser: "safari", visitors: 200, fill: "var(--color-safari)" }, - { browser: "firefox", visitors: 187, fill: "var(--color-firefox)" }, - { browser: "edge", visitors: 173, fill: "var(--color-edge)" }, - { browser: "other", visitors: 90, fill: "var(--color-other)" }, -] - -const chartConfig = { - visitors: { - label: "Visitors", - }, - chrome: { - label: "Chrome", - color: "hsl(var(--chart-1))", - }, - safari: { - label: "Safari", - color: "hsl(var(--chart-2))", - }, - firefox: { - label: "Firefox", - color: "hsl(var(--chart-3))", - }, - edge: { - label: "Edge", - color: "hsl(var(--chart-4))", - }, - other: { - label: "Other", - color: "hsl(var(--chart-5))", - }, -} satisfies ChartConfig - -export default function Component() { - return ( - - - Pie Chart - Donut - January - June 2024 - - - - - } - /> - - - - - -
- Trending up by 5.2% this month -
-
- Showing total visitors for the last 6 months -
-
-
- ) -} diff --git a/deprecated/www/__registry__/new-york/charts/chart-pie-interactive.tsx b/deprecated/www/__registry__/new-york/charts/chart-pie-interactive.tsx deleted file mode 100644 index 8da797d079..0000000000 --- a/deprecated/www/__registry__/new-york/charts/chart-pie-interactive.tsx +++ /dev/null @@ -1,192 +0,0 @@ -"use client" - -import * as React from "react" -import { Label, Pie, PieChart, Sector } from "recharts" -import { PieSectorDataItem } from "recharts/types/polar/Pie" - -import { - Card, - CardContent, - CardDescription, - CardHeader, - CardTitle, -} from "@/registry/new-york/ui/card" -import { - ChartConfig, - ChartContainer, - ChartStyle, - ChartTooltip, - ChartTooltipContent, -} from "@/registry/new-york/ui/chart" -import { - Select, - SelectContent, - SelectItem, - SelectTrigger, - SelectValue, -} from "@/registry/new-york/ui/select" - -export const description = "An interactive pie chart" - -const desktopData = [ - { month: "january", desktop: 186, fill: "var(--color-january)" }, - { month: "february", desktop: 305, fill: "var(--color-february)" }, - { month: "march", desktop: 237, fill: "var(--color-march)" }, - { month: "april", desktop: 173, fill: "var(--color-april)" }, - { month: "may", desktop: 209, fill: "var(--color-may)" }, -] - -const chartConfig = { - visitors: { - label: "Visitors", - }, - desktop: { - label: "Desktop", - }, - mobile: { - label: "Mobile", - }, - january: { - label: "January", - color: "hsl(var(--chart-1))", - }, - february: { - label: "February", - color: "hsl(var(--chart-2))", - }, - march: { - label: "March", - color: "hsl(var(--chart-3))", - }, - april: { - label: "April", - color: "hsl(var(--chart-4))", - }, - may: { - label: "May", - color: "hsl(var(--chart-5))", - }, -} satisfies ChartConfig - -export default function Component() { - const id = "pie-interactive" - const [activeMonth, setActiveMonth] = React.useState(desktopData[0].month) - - const activeIndex = React.useMemo( - () => desktopData.findIndex((item) => item.month === activeMonth), - [activeMonth] - ) - const months = React.useMemo(() => desktopData.map((item) => item.month), []) - - return ( - - - -
- Pie Chart - Interactive - January - June 2024 -
- -
- - - - } - /> - ( - - - - - )} - > - - - - -
- ) -} diff --git a/deprecated/www/__registry__/new-york/charts/chart-pie-label-custom.tsx b/deprecated/www/__registry__/new-york/charts/chart-pie-label-custom.tsx deleted file mode 100644 index ff956ebf9d..0000000000 --- a/deprecated/www/__registry__/new-york/charts/chart-pie-label-custom.tsx +++ /dev/null @@ -1,107 +0,0 @@ -"use client" - -import { TrendingUp } from "lucide-react" -import { Pie, PieChart } from "recharts" - -import { - Card, - CardContent, - CardDescription, - CardFooter, - CardHeader, - CardTitle, -} from "@/registry/new-york/ui/card" -import { - ChartConfig, - ChartContainer, - ChartTooltip, - ChartTooltipContent, -} from "@/registry/new-york/ui/chart" - -export const description = "A pie chart with a custom label" - -const chartData = [ - { browser: "chrome", visitors: 275, fill: "var(--color-chrome)" }, - { browser: "safari", visitors: 200, fill: "var(--color-safari)" }, - { browser: "firefox", visitors: 187, fill: "var(--color-firefox)" }, - { browser: "edge", visitors: 173, fill: "var(--color-edge)" }, - { browser: "other", visitors: 90, fill: "var(--color-other)" }, -] - -const chartConfig = { - visitors: { - label: "Visitors", - }, - chrome: { - label: "Chrome", - color: "hsl(var(--chart-1))", - }, - safari: { - label: "Safari", - color: "hsl(var(--chart-2))", - }, - firefox: { - label: "Firefox", - color: "hsl(var(--chart-3))", - }, - edge: { - label: "Edge", - color: "hsl(var(--chart-4))", - }, - other: { - label: "Other", - color: "hsl(var(--chart-5))", - }, -} satisfies ChartConfig - -export default function Component() { - return ( - - - Pie Chart - Custom Label - January - June 2024 - - - - - } - /> - { - return ( - - {payload.visitors} - - ) - }} - nameKey="browser" - /> - - - - -
- Trending up by 5.2% this month -
-
- Showing total visitors for the last 6 months -
-
-
- ) -} diff --git a/deprecated/www/__registry__/new-york/charts/chart-pie-label-list.tsx b/deprecated/www/__registry__/new-york/charts/chart-pie-label-list.tsx deleted file mode 100644 index 0bc77dfde0..0000000000 --- a/deprecated/www/__registry__/new-york/charts/chart-pie-label-list.tsx +++ /dev/null @@ -1,97 +0,0 @@ -"use client" - -import { TrendingUp } from "lucide-react" -import { LabelList, Pie, PieChart } from "recharts" - -import { - Card, - CardContent, - CardDescription, - CardFooter, - CardHeader, - CardTitle, -} from "@/registry/new-york/ui/card" -import { - ChartConfig, - ChartContainer, - ChartTooltip, - ChartTooltipContent, -} from "@/registry/new-york/ui/chart" - -export const description = "A pie chart with a label list" - -const chartData = [ - { browser: "chrome", visitors: 275, fill: "var(--color-chrome)" }, - { browser: "safari", visitors: 200, fill: "var(--color-safari)" }, - { browser: "firefox", visitors: 187, fill: "var(--color-firefox)" }, - { browser: "edge", visitors: 173, fill: "var(--color-edge)" }, - { browser: "other", visitors: 90, fill: "var(--color-other)" }, -] - -const chartConfig = { - visitors: { - label: "Visitors", - }, - chrome: { - label: "Chrome", - color: "hsl(var(--chart-1))", - }, - safari: { - label: "Safari", - color: "hsl(var(--chart-2))", - }, - firefox: { - label: "Firefox", - color: "hsl(var(--chart-3))", - }, - edge: { - label: "Edge", - color: "hsl(var(--chart-4))", - }, - other: { - label: "Other", - color: "hsl(var(--chart-5))", - }, -} satisfies ChartConfig - -export default function Component() { - return ( - - - Pie Chart - Label List - January - June 2024 - - - - - } - /> - - - chartConfig[value]?.label - } - /> - - - - - -
- Trending up by 5.2% this month -
-
- Showing total visitors for the last 6 months -
-
-
- ) -} diff --git a/deprecated/www/__registry__/new-york/charts/chart-pie-label.tsx b/deprecated/www/__registry__/new-york/charts/chart-pie-label.tsx deleted file mode 100644 index e4a13c9397..0000000000 --- a/deprecated/www/__registry__/new-york/charts/chart-pie-label.tsx +++ /dev/null @@ -1,85 +0,0 @@ -"use client" - -import { TrendingUp } from "lucide-react" -import { Pie, PieChart } from "recharts" - -import { - Card, - CardContent, - CardDescription, - CardFooter, - CardHeader, - CardTitle, -} from "@/registry/new-york/ui/card" -import { - ChartConfig, - ChartContainer, - ChartTooltip, - ChartTooltipContent, -} from "@/registry/new-york/ui/chart" - -export const description = "A pie chart with a label" - -const chartData = [ - { browser: "chrome", visitors: 275, fill: "var(--color-chrome)" }, - { browser: "safari", visitors: 200, fill: "var(--color-safari)" }, - { browser: "firefox", visitors: 187, fill: "var(--color-firefox)" }, - { browser: "edge", visitors: 173, fill: "var(--color-edge)" }, - { browser: "other", visitors: 90, fill: "var(--color-other)" }, -] - -const chartConfig = { - visitors: { - label: "Visitors", - }, - chrome: { - label: "Chrome", - color: "hsl(var(--chart-1))", - }, - safari: { - label: "Safari", - color: "hsl(var(--chart-2))", - }, - firefox: { - label: "Firefox", - color: "hsl(var(--chart-3))", - }, - edge: { - label: "Edge", - color: "hsl(var(--chart-4))", - }, - other: { - label: "Other", - color: "hsl(var(--chart-5))", - }, -} satisfies ChartConfig - -export default function Component() { - return ( - - - Pie Chart - Label - January - June 2024 - - - - - } /> - - - - - -
- Trending up by 5.2% this month -
-
- Showing total visitors for the last 6 months -
-
-
- ) -} diff --git a/deprecated/www/__registry__/new-york/charts/chart-pie-legend.tsx b/deprecated/www/__registry__/new-york/charts/chart-pie-legend.tsx deleted file mode 100644 index d75f89eacf..0000000000 --- a/deprecated/www/__registry__/new-york/charts/chart-pie-legend.tsx +++ /dev/null @@ -1,78 +0,0 @@ -"use client" - -import { Pie, PieChart } from "recharts" - -import { - Card, - CardContent, - CardDescription, - CardHeader, - CardTitle, -} from "@/registry/new-york/ui/card" -import { - ChartConfig, - ChartContainer, - ChartLegend, - ChartLegendContent, -} from "@/registry/new-york/ui/chart" - -export const description = "A pie chart with a legend" - -const chartData = [ - { browser: "chrome", visitors: 275, fill: "var(--color-chrome)" }, - { browser: "safari", visitors: 200, fill: "var(--color-safari)" }, - { browser: "firefox", visitors: 187, fill: "var(--color-firefox)" }, - { browser: "edge", visitors: 173, fill: "var(--color-edge)" }, - { browser: "other", visitors: 90, fill: "var(--color-other)" }, -] - -const chartConfig = { - visitors: { - label: "Visitors", - }, - chrome: { - label: "Chrome", - color: "hsl(var(--chart-1))", - }, - safari: { - label: "Safari", - color: "hsl(var(--chart-2))", - }, - firefox: { - label: "Firefox", - color: "hsl(var(--chart-3))", - }, - edge: { - label: "Edge", - color: "hsl(var(--chart-4))", - }, - other: { - label: "Other", - color: "hsl(var(--chart-5))", - }, -} satisfies ChartConfig - -export default function Component() { - return ( - - - Pie Chart - Legend - January - June 2024 - - - - - - } - className="-translate-y-2 flex-wrap gap-2 [&>*]:basis-1/4 [&>*]:justify-center" - /> - - - - - ) -} diff --git a/deprecated/www/__registry__/new-york/charts/chart-pie-separator-none.tsx b/deprecated/www/__registry__/new-york/charts/chart-pie-separator-none.tsx deleted file mode 100644 index cf191f1615..0000000000 --- a/deprecated/www/__registry__/new-york/charts/chart-pie-separator-none.tsx +++ /dev/null @@ -1,93 +0,0 @@ -"use client" - -import { TrendingUp } from "lucide-react" -import { Pie, PieChart } from "recharts" - -import { - Card, - CardContent, - CardDescription, - CardFooter, - CardHeader, - CardTitle, -} from "@/registry/new-york/ui/card" -import { - ChartConfig, - ChartContainer, - ChartTooltip, - ChartTooltipContent, -} from "@/registry/new-york/ui/chart" - -export const description = "A pie chart with no separator" - -const chartData = [ - { browser: "chrome", visitors: 275, fill: "var(--color-chrome)" }, - { browser: "safari", visitors: 200, fill: "var(--color-safari)" }, - { browser: "firefox", visitors: 187, fill: "var(--color-firefox)" }, - { browser: "edge", visitors: 173, fill: "var(--color-edge)" }, - { browser: "other", visitors: 90, fill: "var(--color-other)" }, -] - -const chartConfig = { - visitors: { - label: "Visitors", - }, - chrome: { - label: "Chrome", - color: "hsl(var(--chart-1))", - }, - safari: { - label: "Safari", - color: "hsl(var(--chart-2))", - }, - firefox: { - label: "Firefox", - color: "hsl(var(--chart-3))", - }, - edge: { - label: "Edge", - color: "hsl(var(--chart-4))", - }, - other: { - label: "Other", - color: "hsl(var(--chart-5))", - }, -} satisfies ChartConfig - -export default function Component() { - return ( - - - Pie Chart - Separator None - January - June 2024 - - - - - } - /> - - - - - -
- Trending up by 5.2% this month -
-
- Showing total visitors for the last 6 months -
-
-
- ) -} diff --git a/deprecated/www/__registry__/new-york/charts/chart-pie-simple.tsx b/deprecated/www/__registry__/new-york/charts/chart-pie-simple.tsx deleted file mode 100644 index c529f52bb1..0000000000 --- a/deprecated/www/__registry__/new-york/charts/chart-pie-simple.tsx +++ /dev/null @@ -1,88 +0,0 @@ -"use client" - -import { TrendingUp } from "lucide-react" -import { Pie, PieChart } from "recharts" - -import { - Card, - CardContent, - CardDescription, - CardFooter, - CardHeader, - CardTitle, -} from "@/registry/new-york/ui/card" -import { - ChartConfig, - ChartContainer, - ChartTooltip, - ChartTooltipContent, -} from "@/registry/new-york/ui/chart" - -export const description = "A simple pie chart" - -const chartData = [ - { browser: "chrome", visitors: 275, fill: "var(--color-chrome)" }, - { browser: "safari", visitors: 200, fill: "var(--color-safari)" }, - { browser: "firefox", visitors: 187, fill: "var(--color-firefox)" }, - { browser: "edge", visitors: 173, fill: "var(--color-edge)" }, - { browser: "other", visitors: 90, fill: "var(--color-other)" }, -] - -const chartConfig = { - visitors: { - label: "Visitors", - }, - chrome: { - label: "Chrome", - color: "hsl(var(--chart-1))", - }, - safari: { - label: "Safari", - color: "hsl(var(--chart-2))", - }, - firefox: { - label: "Firefox", - color: "hsl(var(--chart-3))", - }, - edge: { - label: "Edge", - color: "hsl(var(--chart-4))", - }, - other: { - label: "Other", - color: "hsl(var(--chart-5))", - }, -} satisfies ChartConfig - -export default function Component() { - return ( - - - Pie Chart - January - June 2024 - - - - - } - /> - - - - - -
- Trending up by 5.2% this month -
-
- Showing total visitors for the last 6 months -
-
-
- ) -} diff --git a/deprecated/www/__registry__/new-york/charts/chart-pie-stacked.tsx b/deprecated/www/__registry__/new-york/charts/chart-pie-stacked.tsx deleted file mode 100644 index b4be18a47d..0000000000 --- a/deprecated/www/__registry__/new-york/charts/chart-pie-stacked.tsx +++ /dev/null @@ -1,119 +0,0 @@ -"use client" - -import * as React from "react" -import { TrendingUp } from "lucide-react" -import { Label, Pie, PieChart } from "recharts" - -import { - Card, - CardContent, - CardDescription, - CardFooter, - CardHeader, - CardTitle, -} from "@/registry/new-york/ui/card" -import { - ChartConfig, - ChartContainer, - ChartTooltip, - ChartTooltipContent, -} from "@/registry/new-york/ui/chart" - -export const description = "A pie chart with stacked sections" - -const desktopData = [ - { month: "january", desktop: 186, fill: "var(--color-january)" }, - { month: "february", desktop: 305, fill: "var(--color-february)" }, - { month: "march", desktop: 237, fill: "var(--color-march)" }, - { month: "april", desktop: 173, fill: "var(--color-april)" }, - { month: "may", desktop: 209, fill: "var(--color-may)" }, -] - -const mobileData = [ - { month: "january", mobile: 80, fill: "var(--color-january)" }, - { month: "february", mobile: 200, fill: "var(--color-february)" }, - { month: "march", mobile: 120, fill: "var(--color-march)" }, - { month: "april", mobile: 190, fill: "var(--color-april)" }, - { month: "may", mobile: 130, fill: "var(--color-may)" }, -] - -const chartConfig = { - visitors: { - label: "Visitors", - }, - desktop: { - label: "Desktop", - }, - mobile: { - label: "Mobile", - }, - january: { - label: "January", - color: "hsl(var(--chart-1))", - }, - february: { - label: "February", - color: "hsl(var(--chart-2))", - }, - march: { - label: "March", - color: "hsl(var(--chart-3))", - }, - april: { - label: "April", - color: "hsl(var(--chart-4))", - }, - may: { - label: "May", - color: "hsl(var(--chart-5))", - }, -} satisfies ChartConfig - -export default function Component() { - return ( - - - Pie Chart - Stacked - January - June 2024 - - - - - { - return chartConfig[ - payload?.[0].dataKey as keyof typeof chartConfig - ].label - }} - /> - } - /> - - - - - - -
- Trending up by 5.2% this month -
-
- Showing total visitors for the last 6 months -
-
-
- ) -} diff --git a/deprecated/www/__registry__/new-york/charts/chart-radar-default.tsx b/deprecated/www/__registry__/new-york/charts/chart-radar-default.tsx deleted file mode 100644 index 7d258514cd..0000000000 --- a/deprecated/www/__registry__/new-york/charts/chart-radar-default.tsx +++ /dev/null @@ -1,75 +0,0 @@ -"use client" - -import { TrendingUp } from "lucide-react" -import { PolarAngleAxis, PolarGrid, Radar, RadarChart } from "recharts" - -import { - Card, - CardContent, - CardDescription, - CardFooter, - CardHeader, - CardTitle, -} from "@/registry/new-york/ui/card" -import { - ChartConfig, - ChartContainer, - ChartTooltip, - ChartTooltipContent, -} from "@/registry/new-york/ui/chart" - -export const description = "A radar chart" - -const chartData = [ - { month: "January", desktop: 186 }, - { month: "February", desktop: 305 }, - { month: "March", desktop: 237 }, - { month: "April", desktop: 273 }, - { month: "May", desktop: 209 }, - { month: "June", desktop: 214 }, -] - -const chartConfig = { - desktop: { - label: "Desktop", - color: "hsl(var(--chart-1))", - }, -} satisfies ChartConfig - -export default function Component() { - return ( - - - Radar Chart - - Showing total visitors for the last 6 months - - - - - - } /> - - - - - - - -
- Trending up by 5.2% this month -
-
- January - June 2024 -
-
-
- ) -} diff --git a/deprecated/www/__registry__/new-york/charts/chart-radar-dots.tsx b/deprecated/www/__registry__/new-york/charts/chart-radar-dots.tsx deleted file mode 100644 index 385734eae7..0000000000 --- a/deprecated/www/__registry__/new-york/charts/chart-radar-dots.tsx +++ /dev/null @@ -1,79 +0,0 @@ -"use client" - -import { TrendingUp } from "lucide-react" -import { PolarAngleAxis, PolarGrid, Radar, RadarChart } from "recharts" - -import { - Card, - CardContent, - CardDescription, - CardFooter, - CardHeader, - CardTitle, -} from "@/registry/new-york/ui/card" -import { - ChartConfig, - ChartContainer, - ChartTooltip, - ChartTooltipContent, -} from "@/registry/new-york/ui/chart" - -export const description = "A radar chart with dots" - -const chartData = [ - { month: "January", desktop: 186 }, - { month: "February", desktop: 305 }, - { month: "March", desktop: 237 }, - { month: "April", desktop: 273 }, - { month: "May", desktop: 209 }, - { month: "June", desktop: 214 }, -] - -const chartConfig = { - desktop: { - label: "Desktop", - color: "hsl(var(--chart-1))", - }, -} satisfies ChartConfig - -export default function Component() { - return ( - - - Radar Chart - Dots - - Showing total visitors for the last 6 months - - - - - - } /> - - - - - - - -
- Trending up by 5.2% this month -
-
- January - June 2024 -
-
-
- ) -} diff --git a/deprecated/www/__registry__/new-york/charts/chart-radar-grid-circle-fill.tsx b/deprecated/www/__registry__/new-york/charts/chart-radar-grid-circle-fill.tsx deleted file mode 100644 index f3c62bbe86..0000000000 --- a/deprecated/www/__registry__/new-york/charts/chart-radar-grid-circle-fill.tsx +++ /dev/null @@ -1,78 +0,0 @@ -"use client" - -import { TrendingUp } from "lucide-react" -import { PolarAngleAxis, PolarGrid, Radar, RadarChart } from "recharts" - -import { - Card, - CardContent, - CardDescription, - CardFooter, - CardHeader, - CardTitle, -} from "@/registry/new-york/ui/card" -import { - ChartConfig, - ChartContainer, - ChartTooltip, - ChartTooltipContent, -} from "@/registry/new-york/ui/chart" - -export const description = "A radar chart with a grid and circle fill" - -const chartData = [ - { month: "January", desktop: 186 }, - { month: "February", desktop: 285 }, - { month: "March", desktop: 237 }, - { month: "April", desktop: 203 }, - { month: "May", desktop: 209 }, - { month: "June", desktop: 264 }, -] - -const chartConfig = { - desktop: { - label: "Desktop", - color: "hsl(var(--chart-1))", - }, -} satisfies ChartConfig - -export default function Component() { - return ( - - - Radar Chart - Grid Circle Filled - - Showing total visitors for the last 6 months - - - - - - } /> - - - - - - - -
- Trending up by 5.2% this month -
-
- January - June 2024 -
-
-
- ) -} diff --git a/deprecated/www/__registry__/new-york/charts/chart-radar-grid-circle-no-lines.tsx b/deprecated/www/__registry__/new-york/charts/chart-radar-grid-circle-no-lines.tsx deleted file mode 100644 index 5164314998..0000000000 --- a/deprecated/www/__registry__/new-york/charts/chart-radar-grid-circle-no-lines.tsx +++ /dev/null @@ -1,82 +0,0 @@ -"use client" - -import { TrendingUp } from "lucide-react" -import { PolarAngleAxis, PolarGrid, Radar, RadarChart } from "recharts" - -import { - Card, - CardContent, - CardDescription, - CardFooter, - CardHeader, - CardTitle, -} from "@/registry/new-york/ui/card" -import { - ChartConfig, - ChartContainer, - ChartTooltip, - ChartTooltipContent, -} from "@/registry/new-york/ui/chart" - -export const description = "A radar chart with a grid and circle fill" - -const chartData = [ - { month: "January", desktop: 186 }, - { month: "February", desktop: 305 }, - { month: "March", desktop: 237 }, - { month: "April", desktop: 203 }, - { month: "May", desktop: 209 }, - { month: "June", desktop: 214 }, -] - -const chartConfig = { - desktop: { - label: "Desktop", - color: "hsl(var(--chart-1))", - }, -} satisfies ChartConfig - -export default function Component() { - return ( - - - Radar Chart - Grid Circle - No lines - - Showing total visitors for the last 6 months - - - - - - } - /> - - - - - - - -
- Trending up by 5.2% this month -
-
- January - June 2024 -
-
-
- ) -} diff --git a/deprecated/www/__registry__/new-york/charts/chart-radar-grid-circle.tsx b/deprecated/www/__registry__/new-york/charts/chart-radar-grid-circle.tsx deleted file mode 100644 index 0cfb63f0e1..0000000000 --- a/deprecated/www/__registry__/new-york/charts/chart-radar-grid-circle.tsx +++ /dev/null @@ -1,82 +0,0 @@ -"use client" - -import { TrendingUp } from "lucide-react" -import { PolarAngleAxis, PolarGrid, Radar, RadarChart } from "recharts" - -import { - Card, - CardContent, - CardDescription, - CardFooter, - CardHeader, - CardTitle, -} from "@/registry/new-york/ui/card" -import { - ChartConfig, - ChartContainer, - ChartTooltip, - ChartTooltipContent, -} from "@/registry/new-york/ui/chart" - -export const description = "A radar chart with a grid and circle" - -const chartData = [ - { month: "January", desktop: 186 }, - { month: "February", desktop: 305 }, - { month: "March", desktop: 237 }, - { month: "April", desktop: 273 }, - { month: "May", desktop: 209 }, - { month: "June", desktop: 214 }, -] - -const chartConfig = { - desktop: { - label: "Desktop", - color: "hsl(var(--chart-1))", - }, -} satisfies ChartConfig - -export default function Component() { - return ( - - - Radar Chart - Grid Circle - - Showing total visitors for the last 6 months - - - - - - } - /> - - - - - - - -
- Trending up by 5.2% this month -
-
- January - June 2024 -
-
-
- ) -} diff --git a/deprecated/www/__registry__/new-york/charts/chart-radar-grid-custom.tsx b/deprecated/www/__registry__/new-york/charts/chart-radar-grid-custom.tsx deleted file mode 100644 index c48dfcd641..0000000000 --- a/deprecated/www/__registry__/new-york/charts/chart-radar-grid-custom.tsx +++ /dev/null @@ -1,78 +0,0 @@ -"use client" - -import { TrendingUp } from "lucide-react" -import { PolarAngleAxis, PolarGrid, Radar, RadarChart } from "recharts" - -import { - Card, - CardContent, - CardDescription, - CardFooter, - CardHeader, - CardTitle, -} from "@/registry/new-york/ui/card" -import { - ChartConfig, - ChartContainer, - ChartTooltip, - ChartTooltipContent, -} from "@/registry/new-york/ui/chart" - -export const description = "A radar chart with a custom grid" - -const chartData = [ - { month: "January", desktop: 186 }, - { month: "February", desktop: 305 }, - { month: "March", desktop: 237 }, - { month: "April", desktop: 273 }, - { month: "May", desktop: 209 }, - { month: "June", desktop: 214 }, -] - -const chartConfig = { - desktop: { - label: "Desktop", - color: "hsl(var(--chart-1))", - }, -} satisfies ChartConfig - -export default function Component() { - return ( - - - Radar Chart - Grid Custom - - Showing total visitors for the last 6 months - - - - - - } - /> - - - - - - - -
- Trending up by 5.2% this month -
-
- January - June 2024 -
-
-
- ) -} diff --git a/deprecated/www/__registry__/new-york/charts/chart-radar-grid-fill.tsx b/deprecated/www/__registry__/new-york/charts/chart-radar-grid-fill.tsx deleted file mode 100644 index 69e2a9e06f..0000000000 --- a/deprecated/www/__registry__/new-york/charts/chart-radar-grid-fill.tsx +++ /dev/null @@ -1,78 +0,0 @@ -"use client" - -import { TrendingUp } from "lucide-react" -import { PolarAngleAxis, PolarGrid, Radar, RadarChart } from "recharts" - -import { - Card, - CardContent, - CardDescription, - CardFooter, - CardHeader, - CardTitle, -} from "@/registry/new-york/ui/card" -import { - ChartConfig, - ChartContainer, - ChartTooltip, - ChartTooltipContent, -} from "@/registry/new-york/ui/chart" - -export const description = "A radar chart with a grid filled" - -const chartData = [ - { month: "January", desktop: 186 }, - { month: "February", desktop: 285 }, - { month: "March", desktop: 237 }, - { month: "April", desktop: 203 }, - { month: "May", desktop: 209 }, - { month: "June", desktop: 264 }, -] - -const chartConfig = { - desktop: { - label: "Desktop", - color: "hsl(var(--chart-1))", - }, -} satisfies ChartConfig - -export default function Component() { - return ( - - - Radar Chart - Grid Filled - - Showing total visitors for the last 6 months - - - - - - } - /> - - - - - - - -
- Trending up by 5.2% this month -
-
- January - June 2024 -
-
-
- ) -} diff --git a/deprecated/www/__registry__/new-york/charts/chart-radar-grid-none.tsx b/deprecated/www/__registry__/new-york/charts/chart-radar-grid-none.tsx deleted file mode 100644 index bdd774945a..0000000000 --- a/deprecated/www/__registry__/new-york/charts/chart-radar-grid-none.tsx +++ /dev/null @@ -1,81 +0,0 @@ -"use client" - -import { TrendingUp } from "lucide-react" -import { PolarAngleAxis, Radar, RadarChart } from "recharts" - -import { - Card, - CardContent, - CardDescription, - CardFooter, - CardHeader, - CardTitle, -} from "@/registry/new-york/ui/card" -import { - ChartConfig, - ChartContainer, - ChartTooltip, - ChartTooltipContent, -} from "@/registry/new-york/ui/chart" - -export const description = "A radar chart with no grid" - -const chartData = [ - { month: "January", desktop: 186 }, - { month: "February", desktop: 305 }, - { month: "March", desktop: 237 }, - { month: "April", desktop: 273 }, - { month: "May", desktop: 209 }, - { month: "June", desktop: 214 }, -] - -const chartConfig = { - desktop: { - label: "Desktop", - color: "hsl(var(--chart-1))", - }, -} satisfies ChartConfig - -export default function Component() { - return ( - - - Radar Chart - Grid None - - Showing total visitors for the last 6 months - - - - - - } - /> - - - - - - -
- Trending up by 5.2% this month -
-
- January - June 2024 -
-
-
- ) -} diff --git a/deprecated/www/__registry__/new-york/charts/chart-radar-icons.tsx b/deprecated/www/__registry__/new-york/charts/chart-radar-icons.tsx deleted file mode 100644 index d6e5b9ad9b..0000000000 --- a/deprecated/www/__registry__/new-york/charts/chart-radar-icons.tsx +++ /dev/null @@ -1,94 +0,0 @@ -"use client" - -import { ArrowDownFromLine, ArrowUpFromLine, TrendingUp } from "lucide-react" -import { PolarAngleAxis, PolarGrid, Radar, RadarChart } from "recharts" - -import { - Card, - CardContent, - CardDescription, - CardFooter, - CardHeader, - CardTitle, -} from "@/registry/new-york/ui/card" -import { - ChartConfig, - ChartContainer, - ChartLegend, - ChartLegendContent, - ChartTooltip, - ChartTooltipContent, -} from "@/registry/new-york/ui/chart" - -export const description = "A radar chart with icons" - -const chartData = [ - { month: "January", desktop: 186, mobile: 80 }, - { month: "February", desktop: 305, mobile: 200 }, - { month: "March", desktop: 237, mobile: 120 }, - { month: "April", desktop: 73, mobile: 190 }, - { month: "May", desktop: 209, mobile: 130 }, - { month: "June", desktop: 214, mobile: 140 }, -] - -const chartConfig = { - desktop: { - label: "Desktop", - color: "hsl(var(--chart-1))", - icon: ArrowDownFromLine, - }, - mobile: { - label: "Mobile", - color: "hsl(var(--chart-2))", - icon: ArrowUpFromLine, - }, -} satisfies ChartConfig - -export default function Component() { - return ( - - - Radar Chart - Icons - - Showing total visitors for the last 6 months - - - - - - } - /> - - - - - } /> - - - - -
- Trending up by 5.2% this month -
-
- January - June 2024 -
-
-
- ) -} diff --git a/deprecated/www/__registry__/new-york/charts/chart-radar-label-custom.tsx b/deprecated/www/__registry__/new-york/charts/chart-radar-label-custom.tsx deleted file mode 100644 index 7d693b2eda..0000000000 --- a/deprecated/www/__registry__/new-york/charts/chart-radar-label-custom.tsx +++ /dev/null @@ -1,120 +0,0 @@ -"use client" - -import { TrendingUp } from "lucide-react" -import { PolarAngleAxis, PolarGrid, Radar, RadarChart } from "recharts" - -import { - Card, - CardContent, - CardDescription, - CardFooter, - CardHeader, - CardTitle, -} from "@/registry/new-york/ui/card" -import { - ChartConfig, - ChartContainer, - ChartTooltip, - ChartTooltipContent, -} from "@/registry/new-york/ui/chart" - -export const description = "A radar chart with a custom label" - -const chartData = [ - { month: "January", desktop: 186, mobile: 80 }, - { month: "February", desktop: 305, mobile: 200 }, - { month: "March", desktop: 237, mobile: 120 }, - { month: "April", desktop: 73, mobile: 190 }, - { month: "May", desktop: 209, mobile: 130 }, - { month: "June", desktop: 214, mobile: 140 }, -] - -const chartConfig = { - desktop: { - label: "Desktop", - color: "hsl(var(--chart-1))", - }, - mobile: { - label: "Mobile", - color: "hsl(var(--chart-2))", - }, -} satisfies ChartConfig - -export default function Component() { - return ( - - - Radar Chart - Custom Label - - Showing total visitors for the last 6 months - - - - - - } - /> - { - const data = chartData[index] - - return ( - - {data.desktop} - / - {data.mobile} - - {data.month} - - - ) - }} - /> - - - - - - - - -
- Trending up by 5.2% this month -
-
- January - June 2024 -
-
-
- ) -} diff --git a/deprecated/www/__registry__/new-york/charts/chart-radar-legend.tsx b/deprecated/www/__registry__/new-york/charts/chart-radar-legend.tsx deleted file mode 100644 index 4000465449..0000000000 --- a/deprecated/www/__registry__/new-york/charts/chart-radar-legend.tsx +++ /dev/null @@ -1,92 +0,0 @@ -"use client" - -import { TrendingUp } from "lucide-react" -import { PolarAngleAxis, PolarGrid, Radar, RadarChart } from "recharts" - -import { - Card, - CardContent, - CardDescription, - CardFooter, - CardHeader, - CardTitle, -} from "@/registry/new-york/ui/card" -import { - ChartConfig, - ChartContainer, - ChartLegend, - ChartLegendContent, - ChartTooltip, - ChartTooltipContent, -} from "@/registry/new-york/ui/chart" - -export const description = "A radar chart with a legend" - -const chartData = [ - { month: "January", desktop: 186, mobile: 80 }, - { month: "February", desktop: 305, mobile: 200 }, - { month: "March", desktop: 237, mobile: 120 }, - { month: "April", desktop: 73, mobile: 190 }, - { month: "May", desktop: 209, mobile: 130 }, - { month: "June", desktop: 214, mobile: 140 }, -] - -const chartConfig = { - desktop: { - label: "Desktop", - color: "hsl(var(--chart-1))", - }, - mobile: { - label: "Mobile", - color: "hsl(var(--chart-2))", - }, -} satisfies ChartConfig - -export default function Component() { - return ( - - - Radar Chart - Legend - - Showing total visitors for the last 6 months - - - - - - } - /> - - - - - } /> - - - - -
- Trending up by 5.2% this month -
-
- January - June 2024 -
-
-
- ) -} diff --git a/deprecated/www/__registry__/new-york/charts/chart-radar-lines-only.tsx b/deprecated/www/__registry__/new-york/charts/chart-radar-lines-only.tsx deleted file mode 100644 index abaf967363..0000000000 --- a/deprecated/www/__registry__/new-york/charts/chart-radar-lines-only.tsx +++ /dev/null @@ -1,91 +0,0 @@ -"use client" - -import { TrendingUp } from "lucide-react" -import { PolarAngleAxis, PolarGrid, Radar, RadarChart } from "recharts" - -import { - Card, - CardContent, - CardDescription, - CardFooter, - CardHeader, - CardTitle, -} from "@/registry/new-york/ui/card" -import { - ChartConfig, - ChartContainer, - ChartTooltip, - ChartTooltipContent, -} from "@/registry/new-york/ui/chart" - -export const description = "A radar chart with lines only" - -const chartData = [ - { month: "January", desktop: 186, mobile: 160 }, - { month: "February", desktop: 185, mobile: 170 }, - { month: "March", desktop: 207, mobile: 180 }, - { month: "April", desktop: 173, mobile: 160 }, - { month: "May", desktop: 160, mobile: 190 }, - { month: "June", desktop: 174, mobile: 204 }, -] - -const chartConfig = { - desktop: { - label: "Desktop", - color: "hsl(var(--chart-1))", - }, - mobile: { - label: "Mobile", - color: "hsl(var(--chart-2))", - }, -} satisfies ChartConfig - -export default function Component() { - return ( - - - Radar Chart - Lines Only - - Showing total visitors for the last 6 months - - - - - - } - /> - - - - - - - - -
- Trending up by 5.2% this month -
-
- January - June 2024 -
-
-
- ) -} diff --git a/deprecated/www/__registry__/new-york/charts/chart-radar-multiple.tsx b/deprecated/www/__registry__/new-york/charts/chart-radar-multiple.tsx deleted file mode 100644 index d8786f8b4a..0000000000 --- a/deprecated/www/__registry__/new-york/charts/chart-radar-multiple.tsx +++ /dev/null @@ -1,83 +0,0 @@ -"use client" - -import { TrendingUp } from "lucide-react" -import { PolarAngleAxis, PolarGrid, Radar, RadarChart } from "recharts" - -import { - Card, - CardContent, - CardDescription, - CardFooter, - CardHeader, - CardTitle, -} from "@/registry/new-york/ui/card" -import { - ChartConfig, - ChartContainer, - ChartTooltip, - ChartTooltipContent, -} from "@/registry/new-york/ui/chart" - -export const description = "A radar chart with multiple data" - -const chartData = [ - { month: "January", desktop: 186, mobile: 80 }, - { month: "February", desktop: 305, mobile: 200 }, - { month: "March", desktop: 237, mobile: 120 }, - { month: "April", desktop: 73, mobile: 190 }, - { month: "May", desktop: 209, mobile: 130 }, - { month: "June", desktop: 214, mobile: 140 }, -] - -const chartConfig = { - desktop: { - label: "Desktop", - color: "hsl(var(--chart-1))", - }, - mobile: { - label: "Mobile", - color: "hsl(var(--chart-2))", - }, -} satisfies ChartConfig - -export default function Component() { - return ( - - - Radar Chart - Multiple - - Showing total visitors for the last 6 months - - - - - - } - /> - - - - - - - - -
- Trending up by 5.2% this month -
-
- January - June 2024 -
-
-
- ) -} diff --git a/deprecated/www/__registry__/new-york/charts/chart-radar-radius.tsx b/deprecated/www/__registry__/new-york/charts/chart-radar-radius.tsx deleted file mode 100644 index aa82f8f024..0000000000 --- a/deprecated/www/__registry__/new-york/charts/chart-radar-radius.tsx +++ /dev/null @@ -1,96 +0,0 @@ -"use client" - -import { TrendingUp } from "lucide-react" -import { - PolarAngleAxis, - PolarGrid, - PolarRadiusAxis, - Radar, - RadarChart, -} from "recharts" - -import { - Card, - CardContent, - CardDescription, - CardFooter, - CardHeader, - CardTitle, -} from "@/registry/new-york/ui/card" -import { - ChartConfig, - ChartContainer, - ChartTooltip, - ChartTooltipContent, -} from "@/registry/new-york/ui/chart" - -export const description = "A radar chart with a radius axis" - -const chartData = [ - { month: "January", desktop: 186, mobile: 80 }, - { month: "February", desktop: 305, mobile: 200 }, - { month: "March", desktop: 237, mobile: 120 }, - { month: "April", desktop: 73, mobile: 190 }, - { month: "May", desktop: 209, mobile: 130 }, - { month: "June", desktop: 214, mobile: 140 }, -] - -const chartConfig = { - desktop: { - label: "Desktop", - color: "hsl(var(--chart-1))", - }, - mobile: { - label: "Mobile", - color: "hsl(var(--chart-2))", - }, -} satisfies ChartConfig - -export default function Component() { - return ( - - - Radar Chart - Radius Axis - - Showing total visitors for the last 6 months - - - - - - - } - /> - - - - - - - - -
- Trending up by 5.2% this month -
-
- January - June 2024 -
-
-
- ) -} diff --git a/deprecated/www/__registry__/new-york/charts/chart-radial-grid.tsx b/deprecated/www/__registry__/new-york/charts/chart-radial-grid.tsx deleted file mode 100644 index 69a1a3a603..0000000000 --- a/deprecated/www/__registry__/new-york/charts/chart-radial-grid.tsx +++ /dev/null @@ -1,89 +0,0 @@ -"use client" - -import { TrendingUp } from "lucide-react" -import { PolarGrid, RadialBar, RadialBarChart } from "recharts" - -import { - Card, - CardContent, - CardDescription, - CardFooter, - CardHeader, - CardTitle, -} from "@/registry/new-york/ui/card" -import { - ChartConfig, - ChartContainer, - ChartTooltip, - ChartTooltipContent, -} from "@/registry/new-york/ui/chart" - -export const description = "A radial chart with a grid" - -const chartData = [ - { browser: "chrome", visitors: 275, fill: "var(--color-chrome)" }, - { browser: "safari", visitors: 200, fill: "var(--color-safari)" }, - { browser: "firefox", visitors: 187, fill: "var(--color-firefox)" }, - { browser: "edge", visitors: 173, fill: "var(--color-edge)" }, - { browser: "other", visitors: 90, fill: "var(--color-other)" }, -] - -const chartConfig = { - visitors: { - label: "Visitors", - }, - chrome: { - label: "Chrome", - color: "hsl(var(--chart-1))", - }, - safari: { - label: "Safari", - color: "hsl(var(--chart-2))", - }, - firefox: { - label: "Firefox", - color: "hsl(var(--chart-3))", - }, - edge: { - label: "Edge", - color: "hsl(var(--chart-4))", - }, - other: { - label: "Other", - color: "hsl(var(--chart-5))", - }, -} satisfies ChartConfig - -export default function Component() { - return ( - - - Radial Chart - Grid - January - June 2024 - - - - - } - /> - - - - - - -
- Trending up by 5.2% this month -
-
- Showing total visitors for the last 6 months -
-
-
- ) -} diff --git a/deprecated/www/__registry__/new-york/charts/chart-radial-label.tsx b/deprecated/www/__registry__/new-york/charts/chart-radial-label.tsx deleted file mode 100644 index 25c1bc41bf..0000000000 --- a/deprecated/www/__registry__/new-york/charts/chart-radial-label.tsx +++ /dev/null @@ -1,101 +0,0 @@ -"use client" - -import { TrendingUp } from "lucide-react" -import { LabelList, RadialBar, RadialBarChart } from "recharts" - -import { - Card, - CardContent, - CardDescription, - CardFooter, - CardHeader, - CardTitle, -} from "@/registry/new-york/ui/card" -import { - ChartConfig, - ChartContainer, - ChartTooltip, - ChartTooltipContent, -} from "@/registry/new-york/ui/chart" - -export const description = "A radial chart with a label" - -const chartData = [ - { browser: "chrome", visitors: 275, fill: "var(--color-chrome)" }, - { browser: "safari", visitors: 200, fill: "var(--color-safari)" }, - { browser: "firefox", visitors: 187, fill: "var(--color-firefox)" }, - { browser: "edge", visitors: 173, fill: "var(--color-edge)" }, - { browser: "other", visitors: 90, fill: "var(--color-other)" }, -] - -const chartConfig = { - visitors: { - label: "Visitors", - }, - chrome: { - label: "Chrome", - color: "hsl(var(--chart-1))", - }, - safari: { - label: "Safari", - color: "hsl(var(--chart-2))", - }, - firefox: { - label: "Firefox", - color: "hsl(var(--chart-3))", - }, - edge: { - label: "Edge", - color: "hsl(var(--chart-4))", - }, - other: { - label: "Other", - color: "hsl(var(--chart-5))", - }, -} satisfies ChartConfig - -export default function Component() { - return ( - - - Radial Chart - Label - January - June 2024 - - - - - } - /> - - - - - - - -
- Trending up by 5.2% this month -
-
- Showing total visitors for the last 6 months -
-
-
- ) -} diff --git a/deprecated/www/__registry__/new-york/charts/chart-radial-shape.tsx b/deprecated/www/__registry__/new-york/charts/chart-radial-shape.tsx deleted file mode 100644 index 592e225c4a..0000000000 --- a/deprecated/www/__registry__/new-york/charts/chart-radial-shape.tsx +++ /dev/null @@ -1,108 +0,0 @@ -"use client" - -import { TrendingUp } from "lucide-react" -import { - Label, - PolarGrid, - PolarRadiusAxis, - RadialBar, - RadialBarChart, -} from "recharts" - -import { - Card, - CardContent, - CardDescription, - CardFooter, - CardHeader, - CardTitle, -} from "@/registry/new-york/ui/card" -import { ChartConfig, ChartContainer } from "@/registry/new-york/ui/chart" - -export const description = "A radial chart with a custom shape" - -const chartData = [ - { browser: "safari", visitors: 1260, fill: "var(--color-safari)" }, -] - -const chartConfig = { - visitors: { - label: "Visitors", - }, - safari: { - label: "Safari", - color: "hsl(var(--chart-2))", - }, -} satisfies ChartConfig - -export default function Component() { - return ( - - - Radial Chart - Shape - January - June 2024 - - - - - - - - - - - - -
- Trending up by 5.2% this month -
-
- Showing total visitors for the last 6 months -
-
-
- ) -} diff --git a/deprecated/www/__registry__/new-york/charts/chart-radial-simple.tsx b/deprecated/www/__registry__/new-york/charts/chart-radial-simple.tsx deleted file mode 100644 index 4033acb323..0000000000 --- a/deprecated/www/__registry__/new-york/charts/chart-radial-simple.tsx +++ /dev/null @@ -1,88 +0,0 @@ -"use client" - -import { TrendingUp } from "lucide-react" -import { RadialBar, RadialBarChart } from "recharts" - -import { - Card, - CardContent, - CardDescription, - CardFooter, - CardHeader, - CardTitle, -} from "@/registry/new-york/ui/card" -import { - ChartConfig, - ChartContainer, - ChartTooltip, - ChartTooltipContent, -} from "@/registry/new-york/ui/chart" - -export const description = "A radial chart" - -const chartData = [ - { browser: "chrome", visitors: 275, fill: "var(--color-chrome)" }, - { browser: "safari", visitors: 200, fill: "var(--color-safari)" }, - { browser: "firefox", visitors: 187, fill: "var(--color-firefox)" }, - { browser: "edge", visitors: 173, fill: "var(--color-edge)" }, - { browser: "other", visitors: 90, fill: "var(--color-other)" }, -] - -const chartConfig = { - visitors: { - label: "Visitors", - }, - chrome: { - label: "Chrome", - color: "hsl(var(--chart-1))", - }, - safari: { - label: "Safari", - color: "hsl(var(--chart-2))", - }, - firefox: { - label: "Firefox", - color: "hsl(var(--chart-3))", - }, - edge: { - label: "Edge", - color: "hsl(var(--chart-4))", - }, - other: { - label: "Other", - color: "hsl(var(--chart-5))", - }, -} satisfies ChartConfig - -export default function Component() { - return ( - - - Radial Chart - January - June 2024 - - - - - } - /> - - - - - -
- Trending up by 5.2% this month -
-
- Showing total visitors for the last 6 months -
-
-
- ) -} diff --git a/deprecated/www/__registry__/new-york/charts/chart-radial-stacked.tsx b/deprecated/www/__registry__/new-york/charts/chart-radial-stacked.tsx deleted file mode 100644 index 38d35670e5..0000000000 --- a/deprecated/www/__registry__/new-york/charts/chart-radial-stacked.tsx +++ /dev/null @@ -1,113 +0,0 @@ -"use client" - -import { TrendingUp } from "lucide-react" -import { Label, PolarRadiusAxis, RadialBar, RadialBarChart } from "recharts" - -import { - Card, - CardContent, - CardDescription, - CardFooter, - CardHeader, - CardTitle, -} from "@/registry/new-york/ui/card" -import { - ChartConfig, - ChartContainer, - ChartTooltip, - ChartTooltipContent, -} from "@/registry/new-york/ui/chart" - -export const description = "A radial chart with stacked sections" - -const chartData = [{ month: "january", desktop: 1260, mobile: 570 }] - -const chartConfig = { - desktop: { - label: "Desktop", - color: "hsl(var(--chart-1))", - }, - mobile: { - label: "Mobile", - color: "hsl(var(--chart-2))", - }, -} satisfies ChartConfig - -export default function Component() { - const totalVisitors = chartData[0].desktop + chartData[0].mobile - - return ( - - - Radial Chart - Stacked - January - June 2024 - - - - - } - /> - - - - - - - - -
- Trending up by 5.2% this month -
-
- Showing total visitors for the last 6 months -
-
-
- ) -} diff --git a/deprecated/www/__registry__/new-york/charts/chart-radial-text.tsx b/deprecated/www/__registry__/new-york/charts/chart-radial-text.tsx deleted file mode 100644 index b88623e6e2..0000000000 --- a/deprecated/www/__registry__/new-york/charts/chart-radial-text.tsx +++ /dev/null @@ -1,109 +0,0 @@ -"use client" - -import { TrendingUp } from "lucide-react" -import { - Label, - PolarGrid, - PolarRadiusAxis, - RadialBar, - RadialBarChart, -} from "recharts" - -import { - Card, - CardContent, - CardDescription, - CardFooter, - CardHeader, - CardTitle, -} from "@/registry/new-york/ui/card" -import { ChartConfig, ChartContainer } from "@/registry/new-york/ui/chart" - -export const description = "A radial chart with text" - -const chartData = [ - { browser: "safari", visitors: 200, fill: "var(--color-safari)" }, -] - -const chartConfig = { - visitors: { - label: "Visitors", - }, - safari: { - label: "Safari", - color: "hsl(var(--chart-2))", - }, -} satisfies ChartConfig - -export default function Component() { - return ( - - - Radial Chart - Text - January - June 2024 - - - - - - - - - - - - -
- Trending up by 5.2% this month -
-
- Showing total visitors for the last 6 months -
-
-
- ) -} diff --git a/deprecated/www/__registry__/new-york/charts/chart-tooltip-advanced.tsx b/deprecated/www/__registry__/new-york/charts/chart-tooltip-advanced.tsx deleted file mode 100644 index bbc9f115dd..0000000000 --- a/deprecated/www/__registry__/new-york/charts/chart-tooltip-advanced.tsx +++ /dev/null @@ -1,123 +0,0 @@ -"use client" - -import { Bar, BarChart, XAxis } from "recharts" - -import { - Card, - CardContent, - CardDescription, - CardHeader, - CardTitle, -} from "@/registry/new-york/ui/card" -import { - ChartConfig, - ChartContainer, - ChartTooltip, - ChartTooltipContent, -} from "@/registry/new-york/ui/chart" - -export const description = "A stacked bar chart with a legend" - -const chartData = [ - { date: "2024-07-15", running: 450, swimming: 300 }, - { date: "2024-07-16", running: 380, swimming: 420 }, - { date: "2024-07-17", running: 520, swimming: 120 }, - { date: "2024-07-18", running: 140, swimming: 550 }, - { date: "2024-07-19", running: 600, swimming: 350 }, - { date: "2024-07-20", running: 480, swimming: 400 }, -] - -const chartConfig = { - running: { - label: "Running", - color: "hsl(var(--chart-1))", - }, - swimming: { - label: "Swimming", - color: "hsl(var(--chart-2))", - }, -} satisfies ChartConfig - -export default function Component() { - return ( - - - Tooltip - Advanced - - Tooltip with custom formatter and total. - - - - - - { - return new Date(value).toLocaleDateString("en-US", { - weekday: "short", - }) - }} - /> - - - ( - <> -
- {chartConfig[name as keyof typeof chartConfig]?.label || - name} -
- {value} - - kcal - -
- {/* Add this after the last item */} - {index === 1 && ( -
- Total -
- {item.payload.running + item.payload.swimming} - - kcal - -
-
- )} - - )} - /> - } - cursor={false} - defaultIndex={1} - /> - - - - - ) -} diff --git a/deprecated/www/__registry__/new-york/charts/chart-tooltip-default.tsx b/deprecated/www/__registry__/new-york/charts/chart-tooltip-default.tsx deleted file mode 100644 index 759b4555be..0000000000 --- a/deprecated/www/__registry__/new-york/charts/chart-tooltip-default.tsx +++ /dev/null @@ -1,89 +0,0 @@ -"use client" - -import { Bar, BarChart, XAxis } from "recharts" - -import { - Card, - CardContent, - CardDescription, - CardHeader, - CardTitle, -} from "@/registry/new-york/ui/card" -import { - ChartConfig, - ChartContainer, - ChartTooltip, - ChartTooltipContent, -} from "@/registry/new-york/ui/chart" - -export const description = "A stacked bar chart with a legend" -export const iframeHeight = "600px" -export const containerClassName = - "[&>div]:w-full [&>div]:max-w-md flex items-center justify-center min-h-svh" - -const chartData = [ - { date: "2024-07-15", running: 450, swimming: 300 }, - { date: "2024-07-16", running: 380, swimming: 420 }, - { date: "2024-07-17", running: 520, swimming: 120 }, - { date: "2024-07-18", running: 140, swimming: 550 }, - { date: "2024-07-19", running: 600, swimming: 350 }, - { date: "2024-07-20", running: 480, swimming: 400 }, -] - -const chartConfig = { - running: { - label: "Running", - color: "hsl(var(--chart-1))", - }, - swimming: { - label: "Swimming", - color: "hsl(var(--chart-2))", - }, -} satisfies ChartConfig - -export default function Component() { - return ( - - - Tooltip - Default - - Default tooltip with ChartTooltipContent. - - - - - - { - return new Date(value).toLocaleDateString("en-US", { - weekday: "short", - }) - }} - /> - - - } - cursor={false} - defaultIndex={1} - /> - - - - - ) -} diff --git a/deprecated/www/__registry__/new-york/charts/chart-tooltip-formatter.tsx b/deprecated/www/__registry__/new-york/charts/chart-tooltip-formatter.tsx deleted file mode 100644 index e67f266f27..0000000000 --- a/deprecated/www/__registry__/new-york/charts/chart-tooltip-formatter.tsx +++ /dev/null @@ -1,100 +0,0 @@ -"use client" - -import { Bar, BarChart, XAxis } from "recharts" - -import { - Card, - CardContent, - CardDescription, - CardHeader, - CardTitle, -} from "@/registry/new-york/ui/card" -import { - ChartConfig, - ChartContainer, - ChartTooltip, - ChartTooltipContent, -} from "@/registry/new-york/ui/chart" - -export const description = "A stacked bar chart with a legend" - -const chartData = [ - { date: "2024-07-15", running: 450, swimming: 300 }, - { date: "2024-07-16", running: 380, swimming: 420 }, - { date: "2024-07-17", running: 520, swimming: 120 }, - { date: "2024-07-18", running: 140, swimming: 550 }, - { date: "2024-07-19", running: 600, swimming: 350 }, - { date: "2024-07-20", running: 480, swimming: 400 }, -] - -const chartConfig = { - running: { - label: "Running", - color: "hsl(var(--chart-1))", - }, - swimming: { - label: "Swimming", - color: "hsl(var(--chart-2))", - }, -} satisfies ChartConfig - -export default function Component() { - return ( - - - Tooltip - Formatter - Tooltip with custom formatter . - - - - - { - return new Date(value).toLocaleDateString("en-US", { - weekday: "short", - }) - }} - /> - - - ( -
- {chartConfig[name as keyof typeof chartConfig]?.label || - name} -
- {value} - - kcal - -
-
- )} - /> - } - cursor={false} - defaultIndex={1} - /> -
-
-
-
- ) -} diff --git a/deprecated/www/__registry__/new-york/charts/chart-tooltip-icons.tsx b/deprecated/www/__registry__/new-york/charts/chart-tooltip-icons.tsx deleted file mode 100644 index f2bf071923..0000000000 --- a/deprecated/www/__registry__/new-york/charts/chart-tooltip-icons.tsx +++ /dev/null @@ -1,87 +0,0 @@ -"use client" - -import { Footprints, Waves } from "lucide-react" -import { Bar, BarChart, XAxis } from "recharts" - -import { - Card, - CardContent, - CardDescription, - CardHeader, - CardTitle, -} from "@/registry/new-york/ui/card" -import { - ChartConfig, - ChartContainer, - ChartTooltip, - ChartTooltipContent, -} from "@/registry/new-york/ui/chart" - -export const description = "A stacked bar chart with a legend" - -const chartData = [ - { date: "2024-07-15", running: 450, swimming: 300 }, - { date: "2024-07-16", running: 380, swimming: 420 }, - { date: "2024-07-17", running: 520, swimming: 120 }, - { date: "2024-07-18", running: 140, swimming: 550 }, - { date: "2024-07-19", running: 600, swimming: 350 }, - { date: "2024-07-20", running: 480, swimming: 400 }, -] - -const chartConfig = { - running: { - label: "Running", - color: "hsl(var(--chart-1))", - icon: Footprints, - }, - swimming: { - label: "Swimming", - color: "hsl(var(--chart-2))", - icon: Waves, - }, -} satisfies ChartConfig - -export default function Component() { - return ( - - - Tooltip - Icons - Tooltip with icons. - - - - - { - return new Date(value).toLocaleDateString("en-US", { - weekday: "short", - }) - }} - /> - - - } - cursor={false} - defaultIndex={1} - /> - - - - - ) -} diff --git a/deprecated/www/__registry__/new-york/charts/chart-tooltip-indicator-line.tsx b/deprecated/www/__registry__/new-york/charts/chart-tooltip-indicator-line.tsx deleted file mode 100644 index 19c3f85889..0000000000 --- a/deprecated/www/__registry__/new-york/charts/chart-tooltip-indicator-line.tsx +++ /dev/null @@ -1,87 +0,0 @@ -"use client" - -import { Bar, BarChart, XAxis } from "recharts" - -import { - Card, - CardContent, - CardDescription, - CardHeader, - CardTitle, -} from "@/registry/new-york/ui/card" -import { - ChartConfig, - ChartContainer, - ChartTooltip, - ChartTooltipContent, -} from "@/registry/new-york/ui/chart" - -export const description = "A stacked bar chart with a legend" -export const iframeHeight = "600px" -export const containerClassName = - "[&>div]:w-full [&>div]:max-w-md flex items-center justify-center min-h-svh" - -const chartData = [ - { date: "2024-07-15", running: 450, swimming: 300 }, - { date: "2024-07-16", running: 380, swimming: 420 }, - { date: "2024-07-17", running: 520, swimming: 120 }, - { date: "2024-07-18", running: 140, swimming: 550 }, - { date: "2024-07-19", running: 600, swimming: 350 }, - { date: "2024-07-20", running: 480, swimming: 400 }, -] - -const chartConfig = { - running: { - label: "Running", - color: "hsl(var(--chart-1))", - }, - swimming: { - label: "Swimming", - color: "hsl(var(--chart-2))", - }, -} satisfies ChartConfig - -export default function Component() { - return ( - - - Tooltip - Line Indicator - Tooltip with line indicator. - - - - - { - return new Date(value).toLocaleDateString("en-US", { - weekday: "short", - }) - }} - /> - - - } - cursor={false} - defaultIndex={1} - /> - - - - - ) -} diff --git a/deprecated/www/__registry__/new-york/charts/chart-tooltip-indicator-none.tsx b/deprecated/www/__registry__/new-york/charts/chart-tooltip-indicator-none.tsx deleted file mode 100644 index 29c898a861..0000000000 --- a/deprecated/www/__registry__/new-york/charts/chart-tooltip-indicator-none.tsx +++ /dev/null @@ -1,84 +0,0 @@ -"use client" - -import { Bar, BarChart, XAxis } from "recharts" - -import { - Card, - CardContent, - CardDescription, - CardHeader, - CardTitle, -} from "@/registry/new-york/ui/card" -import { - ChartConfig, - ChartContainer, - ChartTooltip, - ChartTooltipContent, -} from "@/registry/new-york/ui/chart" - -export const description = "A stacked bar chart with a legend" - -const chartData = [ - { date: "2024-07-15", running: 450, swimming: 300 }, - { date: "2024-07-16", running: 380, swimming: 420 }, - { date: "2024-07-17", running: 520, swimming: 120 }, - { date: "2024-07-18", running: 140, swimming: 550 }, - { date: "2024-07-19", running: 600, swimming: 350 }, - { date: "2024-07-20", running: 480, swimming: 400 }, -] - -const chartConfig = { - running: { - label: "Running", - color: "hsl(var(--chart-1))", - }, - swimming: { - label: "Swimming", - color: "hsl(var(--chart-2))", - }, -} satisfies ChartConfig - -export default function Component() { - return ( - - - Tooltip - No Indicator - Tooltip with no indicator. - - - - - { - return new Date(value).toLocaleDateString("en-US", { - weekday: "short", - }) - }} - /> - - - } - cursor={false} - defaultIndex={1} - /> - - - - - ) -} diff --git a/deprecated/www/__registry__/new-york/charts/chart-tooltip-label-custom.tsx b/deprecated/www/__registry__/new-york/charts/chart-tooltip-label-custom.tsx deleted file mode 100644 index f632510879..0000000000 --- a/deprecated/www/__registry__/new-york/charts/chart-tooltip-label-custom.tsx +++ /dev/null @@ -1,91 +0,0 @@ -"use client" - -import { Bar, BarChart, XAxis } from "recharts" - -import { - Card, - CardContent, - CardDescription, - CardHeader, - CardTitle, -} from "@/registry/new-york/ui/card" -import { - ChartConfig, - ChartContainer, - ChartTooltip, - ChartTooltipContent, -} from "@/registry/new-york/ui/chart" - -export const description = "A stacked bar chart with a legend" - -const chartData = [ - { date: "2024-07-15", running: 450, swimming: 300 }, - { date: "2024-07-16", running: 380, swimming: 420 }, - { date: "2024-07-17", running: 520, swimming: 120 }, - { date: "2024-07-18", running: 140, swimming: 550 }, - { date: "2024-07-19", running: 600, swimming: 350 }, - { date: "2024-07-20", running: 480, swimming: 400 }, -] - -const chartConfig = { - activities: { - label: "Activities", - }, - running: { - label: "Running", - color: "hsl(var(--chart-1))", - }, - swimming: { - label: "Swimming", - color: "hsl(var(--chart-2))", - }, -} satisfies ChartConfig - -export default function Component() { - return ( - - - Tooltip - Custom label - - Tooltip with custom label from chartConfig. - - - - - - { - return new Date(value).toLocaleDateString("en-US", { - weekday: "short", - }) - }} - /> - - - - } - cursor={false} - defaultIndex={1} - /> - - - - - ) -} diff --git a/deprecated/www/__registry__/new-york/charts/chart-tooltip-label-formatter.tsx b/deprecated/www/__registry__/new-york/charts/chart-tooltip-label-formatter.tsx deleted file mode 100644 index 220a445b0c..0000000000 --- a/deprecated/www/__registry__/new-york/charts/chart-tooltip-label-formatter.tsx +++ /dev/null @@ -1,94 +0,0 @@ -"use client" - -import { Bar, BarChart, XAxis } from "recharts" - -import { - Card, - CardContent, - CardDescription, - CardHeader, - CardTitle, -} from "@/registry/new-york/ui/card" -import { - ChartConfig, - ChartContainer, - ChartTooltip, - ChartTooltipContent, -} from "@/registry/new-york/ui/chart" - -export const description = "A stacked bar chart with a legend" - -const chartData = [ - { date: "2024-07-15", running: 450, swimming: 300 }, - { date: "2024-07-16", running: 380, swimming: 420 }, - { date: "2024-07-17", running: 520, swimming: 120 }, - { date: "2024-07-18", running: 140, swimming: 550 }, - { date: "2024-07-19", running: 600, swimming: 350 }, - { date: "2024-07-20", running: 480, swimming: 400 }, -] - -const chartConfig = { - running: { - label: "Running", - color: "hsl(var(--chart-1))", - }, - swimming: { - label: "Swimming", - color: "hsl(var(--chart-2))", - }, -} satisfies ChartConfig - -export default function Component() { - return ( - - - Tooltip - Label Formatter - Tooltip with label formatter. - - - - - { - return new Date(value).toLocaleDateString("en-US", { - weekday: "short", - }) - }} - /> - - - { - return new Date(value).toLocaleDateString("en-US", { - day: "numeric", - month: "long", - year: "numeric", - }) - }} - /> - } - cursor={false} - defaultIndex={1} - /> - - - - - ) -} diff --git a/deprecated/www/__registry__/new-york/charts/chart-tooltip-label-none.tsx b/deprecated/www/__registry__/new-york/charts/chart-tooltip-label-none.tsx deleted file mode 100644 index a655168dff..0000000000 --- a/deprecated/www/__registry__/new-york/charts/chart-tooltip-label-none.tsx +++ /dev/null @@ -1,84 +0,0 @@ -"use client" - -import { Bar, BarChart, XAxis } from "recharts" - -import { - Card, - CardContent, - CardDescription, - CardHeader, - CardTitle, -} from "@/registry/new-york/ui/card" -import { - ChartConfig, - ChartContainer, - ChartTooltip, - ChartTooltipContent, -} from "@/registry/new-york/ui/chart" - -export const description = "A stacked bar chart with a legend" - -const chartData = [ - { date: "2024-07-15", running: 450, swimming: 300 }, - { date: "2024-07-16", running: 380, swimming: 420 }, - { date: "2024-07-17", running: 520, swimming: 120 }, - { date: "2024-07-18", running: 140, swimming: 550 }, - { date: "2024-07-19", running: 600, swimming: 350 }, - { date: "2024-07-20", running: 480, swimming: 400 }, -] - -const chartConfig = { - running: { - label: "Running", - color: "hsl(var(--chart-1))", - }, - swimming: { - label: "Swimming", - color: "hsl(var(--chart-2))", - }, -} satisfies ChartConfig - -export default function Component() { - return ( - - - Tooltip - No Label - Tooltip with no label. - - - - - { - return new Date(value).toLocaleDateString("en-US", { - weekday: "short", - }) - }} - /> - - - } - cursor={false} - defaultIndex={1} - /> - - - - - ) -} diff --git a/deprecated/www/actions/edit-in-v0.ts b/deprecated/www/actions/edit-in-v0.ts deleted file mode 100644 index 125dacc563..0000000000 --- a/deprecated/www/actions/edit-in-v0.ts +++ /dev/null @@ -1,205 +0,0 @@ -"use server" - -import { track } from "@vercel/analytics/server" -import { capitalCase } from "change-case" - -import { getRegistryItem } from "@/lib/registry" -import { Style } from "@/registry/registry-styles" - -const TAILWIND_CONFIG_BLOCKS = ["dashboard-01"] - -export async function editInV0({ - name, - style, - url, -}: { - name: string - style?: Style["name"] - url: string -}) { - style = style ?? "new-york" - try { - const registryItem = await getRegistryItem(name, style) - - if (!registryItem) { - return { error: "Something went wrong. Please try again later." } - } - - await track("edit_in_v0", { - name, - title: registryItem.name, - description: registryItem.description ?? registryItem.name, - style, - url, - }) - - // Remove v0 prefix from the name - registryItem.name = registryItem.name.replace(/^v0-/, "") - - const projectName = capitalCase(name.replace(/\d+/g, "")) - registryItem.description = registryItem.description || projectName - - // Replace `@/registry/new-york/` in files. - registryItem.files = registryItem.files?.map((file) => { - if (file.content?.includes("@/registry/new-york/ui")) { - file.content = file.content?.replaceAll( - "@/registry/new-york/ui", - "@/components/ui" - ) - } - return file - }) - - if (TAILWIND_CONFIG_BLOCKS.includes(name)) { - registryItem.files?.push({ - path: "tailwind.config.js", - type: "registry:file", - target: "tailwind.config.js", - content: TAILWIND_CONFIG, - }) - } - - const payload = { - version: 2, - payload: registryItem, - source: { - title: "shadcn/ui", - url, - }, - meta: { - project: projectName, - file: `${name}.tsx`, - }, - } - - const response = await fetch(`${process.env.V0_URL}/chat/api/open-in-v0`, { - method: "POST", - body: JSON.stringify(payload), - headers: { - "x-v0-edit-secret": process.env.V0_EDIT_SECRET!, - "x-vercel-protection-bypass": - process.env.DEPLOYMENT_PROTECTION_BYPASS || "not-set", - "Content-Type": "application/json", - }, - }) - - if (!response.ok) { - if (response.status === 403) { - throw new Error("Unauthorized") - } - - console.error(response.statusText) - - throw new Error("Something went wrong. Please try again later.") - } - - const result = await response.json() - - return { - ...result, - url: `${process.env.V0_URL}/chat/api/open-in-v0/${result.id}`, - } - } catch (error) { - console.error(error) - if (error instanceof Error) { - return { error: error.message } - } - } -} - -const TAILWIND_CONFIG = `const { fontFamily } = require("tailwindcss/defaultTheme") - -/** @type {import('tailwindcss').Config} */ -module.exports = { - darkMode: ["class"], - content: ["app/**/*.{ts,tsx}", "components/**/*.{ts,tsx}"], - theme: { - extend: { - fontFamily: { - sans: ["var(--font-geist-sans)", ...fontFamily.sans], - mono: ["var(--font-geist-mono)", ...fontFamily.mono], - }, - colors: { - border: "hsl(var(--border))", - input: "hsl(var(--input))", - ring: "hsl(var(--ring))", - background: "hsl(var(--background))", - foreground: "hsl(var(--foreground))", - primary: { - DEFAULT: "hsl(var(--primary))", - foreground: "hsl(var(--primary-foreground))", - }, - secondary: { - DEFAULT: "hsl(var(--secondary))", - foreground: "hsl(var(--secondary-foreground))", - }, - destructive: { - DEFAULT: "hsl(var(--destructive) / )", - foreground: "hsl(var(--destructive-foreground) / )", - }, - muted: { - DEFAULT: "hsl(var(--muted))", - foreground: "hsl(var(--muted-foreground))", - }, - accent: { - DEFAULT: "hsl(var(--accent))", - foreground: "hsl(var(--accent-foreground))", - }, - popover: { - DEFAULT: "hsl(var(--popover))", - foreground: "hsl(var(--popover-foreground))", - }, - card: { - DEFAULT: "hsl(var(--card))", - foreground: "hsl(var(--card-foreground))", - }, - chart: { - '1': 'hsl(var(--chart-1))', - '2': 'hsl(var(--chart-2))', - '3': 'hsl(var(--chart-3))', - '4': 'hsl(var(--chart-4))', - '5': 'hsl(var(--chart-5))' - }, - sidebar: { - DEFAULT: "hsl(var(--sidebar-background))", - foreground: "hsl(var(--sidebar-foreground))", - primary: "hsl(var(--sidebar-primary))", - "primary-foreground": "hsl(var(--sidebar-primary-foreground))", - accent: "hsl(var(--sidebar-accent))", - "accent-foreground": "hsl(var(--sidebar-accent-foreground))", - border: "hsl(var(--sidebar-border))", - ring: "hsl(var(--sidebar-ring))", - }, - }, - borderRadius: { - xl: "calc(var(--radius) + 4px)", - lg: "var(--radius)", - md: "calc(var(--radius) - 2px)", - sm: "calc(var(--radius) - 4px)", - }, - keyframes: { - "accordion-down": { - from: { height: "0" }, - to: { height: "var(--radix-accordion-content-height)" }, - }, - "accordion-up": { - from: { height: "var(--radix-accordion-content-height)" }, - to: { height: "0" }, - }, - "caret-blink": { - "0%,70%,100%": { opacity: "1" }, - "20%,50%": { opacity: "0" }, - }, - }, - animation: { - "accordion-down": "accordion-down 0.2s ease-out", - "accordion-up": "accordion-up 0.2s ease-out", - "caret-blink": "caret-blink 1.25s ease-out infinite", - }, - }, - }, - plugins: [ - require("tailwindcss-animate"), - require("@tailwindcss/container-queries"), - ], -}` diff --git a/deprecated/www/app/(app)/blocks/[...categories]/page.tsx b/deprecated/www/app/(app)/blocks/[...categories]/page.tsx deleted file mode 100644 index d02086924a..0000000000 --- a/deprecated/www/app/(app)/blocks/[...categories]/page.tsx +++ /dev/null @@ -1,31 +0,0 @@ -import { getAllBlockIds } from "@/lib/blocks" -import { BlockDisplay } from "@/components/block-display" -import { registryCategories } from "@/registry/registry-categories" - -export const dynamicParams = false - -export async function generateStaticParams() { - return registryCategories.map((category) => ({ - categories: [category.slug], - })) -} - -export default async function BlocksPage({ - params, -}: { - params: { categories?: string[] } -}) { - const blocks = await getAllBlockIds( - ["registry:block"], - params.categories ?? [] - ) - - return blocks.map((name) => ( -
- -
- )) -} diff --git a/deprecated/www/app/(app)/blocks/layout.tsx b/deprecated/www/app/(app)/blocks/layout.tsx deleted file mode 100644 index 2b52e49052..0000000000 --- a/deprecated/www/app/(app)/blocks/layout.tsx +++ /dev/null @@ -1,74 +0,0 @@ -import { Metadata } from "next" - -import { Announcement } from "@/components/announcement" -import { BlocksNav } from "@/components/blocks-nav" -import { - PageActions, - PageHeader, - PageHeaderDescription, - PageHeaderHeading, -} from "@/components/page-header" -import { Button } from "@/registry/new-york/ui/button" - -import "@/styles/mdx.css" -import Link from "next/link" - -const title = "Building Blocks for the Web" -const description = - "Clean, modern building blocks. Copy and paste into your apps. Works with all React frameworks. Open Source. Free forever." - -export const metadata: Metadata = { - title, - description, - openGraph: { - images: [ - { - url: `/og?title=${encodeURIComponent( - title - )}&description=${encodeURIComponent(description)}`, - }, - ], - }, - twitter: { - card: "summary_large_image", - images: [ - { - url: `/og?title=${encodeURIComponent( - title - )}&description=${encodeURIComponent(description)}`, - }, - ], - }, -} - -export default function BlocksLayout({ - children, -}: { - children: React.ReactNode -}) { - return ( - <> - - - {title} - {description} - - - - - -
-
-
- -
-
-
-
{children}
- - ) -} diff --git a/deprecated/www/app/(app)/blocks/page.tsx b/deprecated/www/app/(app)/blocks/page.tsx deleted file mode 100644 index 199985bf68..0000000000 --- a/deprecated/www/app/(app)/blocks/page.tsx +++ /dev/null @@ -1,34 +0,0 @@ -import Link from "next/link" - -import { BlockDisplay } from "@/components/block-display" -import { Button } from "@/registry/new-york/ui/button" - -const FEATURED_BLOCKS = [ - "dashboard-01", - "sidebar-07", - "sidebar-03", - "login-03", - "login-04", -] - -export default async function BlocksPage() { - return ( -
- {FEATURED_BLOCKS.map((block) => ( -
- -
- ))} -
-
- -
-
-
- ) -} diff --git a/deprecated/www/app/(app)/charts/charts.tsx b/deprecated/www/app/(app)/charts/charts.tsx deleted file mode 100644 index 694d62b0bc..0000000000 --- a/deprecated/www/app/(app)/charts/charts.tsx +++ /dev/null @@ -1,76 +0,0 @@ -export { default as ChartAreaDefault } from "@/registry/new-york/charts/chart-area-default" -export { default as ChartAreaLinear } from "@/registry/new-york/charts/chart-area-linear" -export { default as ChartAreaStep } from "@/registry/new-york/charts/chart-area-step" -export { default as ChartAreaLegend } from "@/registry/new-york/charts/chart-area-legend" -export { default as ChartAreaStacked } from "@/registry/new-york/charts/chart-area-stacked" -export { default as ChartAreaStackedExpand } from "@/registry/new-york/charts/chart-area-stacked-expand" -export { default as ChartAreaIcons } from "@/registry/new-york/charts/chart-area-icons" -export { default as ChartAreaGradient } from "@/registry/new-york/charts/chart-area-gradient" -export { default as ChartAreaAxes } from "@/registry/new-york/charts/chart-area-axes" -export { default as ChartAreaInteractive } from "@/registry/new-york/charts/chart-area-interactive" - -export { default as ChartBarDefault } from "@/registry/new-york/charts/chart-bar-default" -export { default as ChartBarHorizontal } from "@/registry/new-york/charts/chart-bar-horizontal" -export { default as ChartBarMultiple } from "@/registry/new-york/charts/chart-bar-multiple" -export { default as ChartBarStacked } from "@/registry/new-york/charts/chart-bar-stacked" -export { default as ChartBarLabel } from "@/registry/new-york/charts/chart-bar-label" -export { default as ChartBarLabelCustom } from "@/registry/new-york/charts/chart-bar-label-custom" -export { default as ChartBarMixed } from "@/registry/new-york/charts/chart-bar-mixed" -export { default as ChartBarActive } from "@/registry/new-york/charts/chart-bar-active" -export { default as ChartBarNegative } from "@/registry/new-york/charts/chart-bar-negative" -export { default as ChartBarInteractive } from "@/registry/new-york/charts/chart-bar-interactive" - -export { default as ChartLineDefault } from "@/registry/new-york/charts/chart-line-default" -export { default as ChartLineLinear } from "@/registry/new-york/charts/chart-line-linear" -export { default as ChartLineStep } from "@/registry/new-york/charts/chart-line-step" -export { default as ChartLineMultiple } from "@/registry/new-york/charts/chart-line-multiple" -export { default as ChartLineDots } from "@/registry/new-york/charts/chart-line-dots" -export { default as ChartLineDotsCustom } from "@/registry/new-york/charts/chart-line-dots-custom" -export { default as ChartLineDotsColors } from "@/registry/new-york/charts/chart-line-dots-colors" -export { default as ChartLineLabel } from "@/registry/new-york/charts/chart-line-label" -export { default as ChartLineLabelCustom } from "@/registry/new-york/charts/chart-line-label-custom" -export { default as ChartLineInteractive } from "@/registry/new-york/charts/chart-line-interactive" - -export { default as ChartPieSimple } from "@/registry/new-york/charts/chart-pie-simple" -export { default as ChartPieSeparatorNone } from "@/registry/new-york/charts/chart-pie-separator-none" -export { default as ChartPieLabel } from "@/registry/new-york/charts/chart-pie-label" -export { default as ChartPieLabelCustom } from "@/registry/new-york/charts/chart-pie-label-custom" -export { default as ChartPieLabelList } from "@/registry/new-york/charts/chart-pie-label-list" -export { default as ChartPieLegend } from "@/registry/new-york/charts/chart-pie-legend" -export { default as ChartPieDonut } from "@/registry/new-york/charts/chart-pie-donut" -export { default as ChartPieDonutActive } from "@/registry/new-york/charts/chart-pie-donut-active" -export { default as ChartPieDonutText } from "@/registry/new-york/charts/chart-pie-donut-text" -export { default as ChartPieStacked } from "@/registry/new-york/charts/chart-pie-stacked" -export { default as ChartPieInteractive } from "@/registry/new-york/charts/chart-pie-interactive" - -export { default as ChartRadarDefault } from "@/registry/new-york/charts/chart-radar-default" -export { default as ChartRadarDots } from "@/registry/new-york/charts/chart-radar-dots" -export { default as ChartRadarLinesOnly } from "@/registry/new-york/charts/chart-radar-lines-only" -export { default as ChartRadarLabelCustom } from "@/registry/new-york/charts/chart-radar-label-custom" -export { default as ChartRadarGridCustom } from "@/registry/new-york/charts/chart-radar-grid-custom" -export { default as ChartRadarGridNone } from "@/registry/new-york/charts/chart-radar-grid-none" -export { default as ChartRadarGridCircle } from "@/registry/new-york/charts/chart-radar-grid-circle" -export { default as ChartRadarGridCircleNoLines } from "@/registry/new-york/charts/chart-radar-grid-circle-no-lines" -export { default as ChartRadarGridCircleFill } from "@/registry/new-york/charts/chart-radar-grid-circle-fill" -export { default as ChartRadarGridFill } from "@/registry/new-york/charts/chart-radar-grid-fill" -export { default as ChartRadarMultiple } from "@/registry/new-york/charts/chart-radar-multiple" -export { default as ChartRadarLegend } from "@/registry/new-york/charts/chart-radar-legend" -export { default as ChartRadarIcons } from "@/registry/new-york/charts/chart-radar-icons" -export { default as ChartRadarRadius } from "@/registry/new-york/charts/chart-radar-radius" - -export { default as ChartRadialSimple } from "@/registry/new-york/charts/chart-radial-simple" -export { default as ChartRadialLabel } from "@/registry/new-york/charts/chart-radial-label" -export { default as ChartRadialGrid } from "@/registry/new-york/charts/chart-radial-grid" -export { default as ChartRadialText } from "@/registry/new-york/charts/chart-radial-text" -export { default as ChartRadialShape } from "@/registry/new-york/charts/chart-radial-shape" -export { default as ChartRadialStacked } from "@/registry/new-york/charts/chart-radial-stacked" - -export { default as ChartTooltipDefault } from "@/registry/new-york/charts/chart-tooltip-default" -export { default as ChartTooltipIndicatorLine } from "@/registry/new-york/charts/chart-tooltip-indicator-line" -export { default as ChartTooltipIndicatorNone } from "@/registry/new-york/charts/chart-tooltip-indicator-none" -export { default as ChartTooltipLabelCustom } from "@/registry/new-york/charts/chart-tooltip-label-custom" -export { default as ChartTooltipLabelFormatter } from "@/registry/new-york/charts/chart-tooltip-label-formatter" -export { default as ChartTooltipLabelNone } from "@/registry/new-york/charts/chart-tooltip-label-none" -export { default as ChartTooltipFormatter } from "@/registry/new-york/charts/chart-tooltip-formatter" -export { default as ChartTooltipIcons } from "@/registry/new-york/charts/chart-tooltip-icons" -export { default as ChartTooltipAdvanced } from "@/registry/new-york/charts/chart-tooltip-advanced" diff --git a/deprecated/www/app/(app)/charts/layout.tsx b/deprecated/www/app/(app)/charts/layout.tsx deleted file mode 100644 index 660367cde7..0000000000 --- a/deprecated/www/app/(app)/charts/layout.tsx +++ /dev/null @@ -1,78 +0,0 @@ -import { Metadata } from "next" -import Link from "next/link" - -import { Announcement } from "@/components/announcement" -import { ChartsNav } from "@/components/charts-nav" -import { - PageActions, - PageHeader, - PageHeaderDescription, - PageHeaderHeading, -} from "@/components/page-header" -import { Button } from "@/registry/new-york/ui/button" - -const title = "Beautiful Charts" -const description = - "Built using Recharts. Copy and paste into your apps. Open Source." - -export const metadata: Metadata = { - title, - description, - openGraph: { - images: [ - { - url: `/og?title=${encodeURIComponent( - title - )}&description=${encodeURIComponent(description)}`, - }, - ], - }, - twitter: { - card: "summary_large_image", - images: [ - { - url: `/og?title=${encodeURIComponent( - title - )}&description=${encodeURIComponent(description)}`, - }, - ], - }, -} - -export default function ChartsLayout({ - children, -}: { - children: React.ReactNode -}) { - return ( - <> - - - {title} - {description} - - - - - -
-
-
- -
-
-
-
-
-
- {children} -
-
-
- - ) -} diff --git a/deprecated/www/app/(app)/charts/page.tsx b/deprecated/www/app/(app)/charts/page.tsx deleted file mode 100644 index d1584b1532..0000000000 --- a/deprecated/www/app/(app)/charts/page.tsx +++ /dev/null @@ -1,298 +0,0 @@ -import { THEMES } from "@/lib/themes" -import { ChartDisplay } from "@/components/chart-display" -import { ThemesSwitcher } from "@/components/themes-selector" -import { ThemesStyle } from "@/components/themes-styles" -import { Separator } from "@/registry/new-york/ui/separator" -import * as Charts from "@/app/(app)/charts/charts" - -export default function ChartsPage() { - return ( -
- -
- -
-

Examples

-
- - - - - - - - - -
- -
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - -
-
- -
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - -
-
- -
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - -
-
- -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - - - - - - - - - - - - - - - - -
- -
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
-
-
-
- ) -} diff --git a/deprecated/www/app/(app)/colors/layout.tsx b/deprecated/www/app/(app)/colors/layout.tsx deleted file mode 100644 index 76e37df4ec..0000000000 --- a/deprecated/www/app/(app)/colors/layout.tsx +++ /dev/null @@ -1,69 +0,0 @@ -import { Metadata } from "next" -import Link from "next/link" - -import { Announcement } from "@/components/announcement" -import { - PageActions, - PageHeader, - PageHeaderDescription, - PageHeaderHeading, -} from "@/components/page-header" -import { Button } from "@/registry/new-york/ui/button" - -const title = "Color Library" -const description = "Tailwind CSS colors in HSL, RGB, HEX and OKLCH formats." - -export const metadata: Metadata = { - title, - description, - openGraph: { - images: [ - { - url: `/og?title=${encodeURIComponent( - title - )}&description=${encodeURIComponent(description)}`, - }, - ], - }, - twitter: { - card: "summary_large_image", - images: [ - { - url: `/og?title=${encodeURIComponent( - title - )}&description=${encodeURIComponent(description)}`, - }, - ], - }, -} - -export default function ColorsLayout({ - children, -}: { - children: React.ReactNode -}) { - return ( - <> - - - {title} - {description} - - - - - -
-
-
- {children} -
-
-
- - ) -} diff --git a/deprecated/www/app/(app)/colors/page.tsx b/deprecated/www/app/(app)/colors/page.tsx deleted file mode 100644 index 693a6fccaa..0000000000 --- a/deprecated/www/app/(app)/colors/page.tsx +++ /dev/null @@ -1,14 +0,0 @@ -import { getColors } from "@/lib/colors" -import { ColorPalette } from "@/components/color-palette" - -export default function ColorsPage() { - const colors = getColors() - - return ( -
- {colors.map((colorPalette) => ( - - ))} -
- ) -} diff --git a/deprecated/www/app/(app)/docs/[[...slug]]/page.tsx b/deprecated/www/app/(app)/docs/[[...slug]]/page.tsx deleted file mode 100644 index a724965a9d..0000000000 --- a/deprecated/www/app/(app)/docs/[[...slug]]/page.tsx +++ /dev/null @@ -1,154 +0,0 @@ -import { notFound } from "next/navigation" -import { allDocs } from "contentlayer/generated" - -import "@/styles/mdx.css" -import type { Metadata } from "next" -import Link from "next/link" -import { ChevronRight, ExternalLink } from "lucide-react" -import Balancer from "react-wrap-balancer" - -import { getTableOfContents } from "@/lib/toc" -import { absoluteUrl, cn } from "@/lib/utils" -import { Mdx } from "@/components/mdx-components" -import { OpenInV0Cta } from "@/components/open-in-v0-cta" -import { DocsPager } from "@/components/pager" -import { DashboardTableOfContents } from "@/components/toc" -import { badgeVariants } from "@/registry/new-york/ui/badge" - -interface DocPageProps { - params: { - slug: string[] - } -} - -async function getDocFromParams({ params }: DocPageProps) { - const slug = params.slug?.join("/") || "" - const doc = allDocs.find((doc) => doc.slugAsParams === slug) - - if (!doc) { - return null - } - - return doc -} - -export async function generateMetadata({ - params, -}: DocPageProps): Promise { - const doc = await getDocFromParams({ params }) - - if (!doc) { - return {} - } - - return { - title: doc.title, - description: doc.description, - openGraph: { - title: doc.title, - description: doc.description, - type: "article", - url: absoluteUrl(doc.slug), - images: [ - { - url: `/og?title=${encodeURIComponent( - doc.title - )}&description=${encodeURIComponent(doc.description)}`, - }, - ], - }, - twitter: { - card: "summary_large_image", - title: doc.title, - description: doc.description, - images: [ - { - url: `/og?title=${encodeURIComponent( - doc.title - )}&description=${encodeURIComponent(doc.description)}`, - }, - ], - creator: "@shadcn", - }, - } -} - -export async function generateStaticParams(): Promise< - DocPageProps["params"][] -> { - return allDocs.map((doc) => ({ - slug: doc.slugAsParams.split("/"), - })) -} - -export default async function DocPage({ params }: DocPageProps) { - const doc = await getDocFromParams({ params }) - - if (!doc) { - notFound() - } - - const toc = await getTableOfContents(doc.body.raw) - - return ( -
-
-
- - Docs - - -
{doc.title}
-
-
-

- {doc.title} -

- {doc.description && ( -

- {doc.description} -

- )} -
- {doc.links ? ( -
- {doc.links?.doc && ( - - Docs - - - )} - {doc.links?.api && ( - - API Reference - - - )} -
- ) : null} -
- -
- -
-
-
-
- {doc.toc && } - -
-
-
-
- ) -} diff --git a/deprecated/www/app/(app)/docs/layout.tsx b/deprecated/www/app/(app)/docs/layout.tsx deleted file mode 100644 index 148baa46ac..0000000000 --- a/deprecated/www/app/(app)/docs/layout.tsx +++ /dev/null @@ -1,21 +0,0 @@ -import { docsConfig } from "@/config/docs" -import { DocsNav } from "@/components/docs-nav" - -export default function DocsLayout({ - children, -}: { - children: React.ReactNode -}) { - return ( -
-
- - {children} -
-
- ) -} diff --git a/deprecated/www/app/(app)/examples/authentication/components/user-auth-form.tsx b/deprecated/www/app/(app)/examples/authentication/components/user-auth-form.tsx deleted file mode 100644 index 01571ae23d..0000000000 --- a/deprecated/www/app/(app)/examples/authentication/components/user-auth-form.tsx +++ /dev/null @@ -1,71 +0,0 @@ -"use client" - -import * as React from "react" - -import { cn } from "@/lib/utils" -import { Icons } from "@/components/icons" -import { Button } from "@/registry/new-york/ui/button" -import { Input } from "@/registry/new-york/ui/input" -import { Label } from "@/registry/new-york/ui/label" - -interface UserAuthFormProps extends React.HTMLAttributes {} - -export function UserAuthForm({ className, ...props }: UserAuthFormProps) { - const [isLoading, setIsLoading] = React.useState(false) - - async function onSubmit(event: React.SyntheticEvent) { - event.preventDefault() - setIsLoading(true) - - setTimeout(() => { - setIsLoading(false) - }, 3000) - } - - return ( -
-
-
-
- - -
- -
-
-
-
- -
-
- - Or continue with - -
-
- -
- ) -} diff --git a/deprecated/www/app/(app)/examples/authentication/page.tsx b/deprecated/www/app/(app)/examples/authentication/page.tsx deleted file mode 100644 index 5dfe156882..0000000000 --- a/deprecated/www/app/(app)/examples/authentication/page.tsx +++ /dev/null @@ -1,104 +0,0 @@ -import { Metadata } from "next" -import Image from "next/image" -import Link from "next/link" - -import { cn } from "@/lib/utils" -import { buttonVariants } from "@/registry/new-york/ui/button" -import { UserAuthForm } from "@/app/(app)/examples/authentication/components/user-auth-form" - -export const metadata: Metadata = { - title: "Authentication", - description: "Authentication forms built using the components.", -} - -export default function AuthenticationPage() { - return ( - <> -
- Authentication - Authentication -
-
- - Login - -
-
-
- - - - Acme Inc -
-
-
-

- “This library has saved me countless hours of work and - helped me deliver stunning designs to my clients faster than - ever before.” -

-
Sofia Davis
-
-
-
-
-
-
-

- Create an account -

-

- Enter your email below to create your account -

-
- -

- By clicking continue, you agree to our{" "} - - Terms of Service - {" "} - and{" "} - - Privacy Policy - - . -

-
-
-
- - ) -} diff --git a/deprecated/www/app/(app)/examples/cards/components/cookie-settings.tsx b/deprecated/www/app/(app)/examples/cards/components/cookie-settings.tsx deleted file mode 100644 index e23dd8ba5c..0000000000 --- a/deprecated/www/app/(app)/examples/cards/components/cookie-settings.tsx +++ /dev/null @@ -1,60 +0,0 @@ -"use client" - -import { Button } from "@/registry/new-york/ui/button" -import { - Card, - CardContent, - CardDescription, - CardFooter, - CardHeader, - CardTitle, -} from "@/registry/new-york/ui/card" -import { Label } from "@/registry/new-york/ui/label" -import { Switch } from "@/registry/new-york/ui/switch" - -export function DemoCookieSettings() { - return ( - - - Cookie Settings - Manage your cookie settings here. - - -
- - -
-
- - -
-
- - -
-
- - - -
- ) -} diff --git a/deprecated/www/app/(app)/examples/cards/components/create-account.tsx b/deprecated/www/app/(app)/examples/cards/components/create-account.tsx deleted file mode 100644 index 95c11c53fe..0000000000 --- a/deprecated/www/app/(app)/examples/cards/components/create-account.tsx +++ /dev/null @@ -1,60 +0,0 @@ -"use client" - -import { Icons } from "@/components/icons" -import { Button } from "@/registry/new-york/ui/button" -import { - Card, - CardContent, - CardDescription, - CardFooter, - CardHeader, - CardTitle, -} from "@/registry/new-york/ui/card" -import { Input } from "@/registry/new-york/ui/input" -import { Label } from "@/registry/new-york/ui/label" - -export function DemoCreateAccount() { - return ( - - - Create an account - - Enter your email below to create your account - - - -
- - -
-
-
- -
-
- - Or continue with - -
-
-
- - -
-
- - -
-
- - - -
- ) -} diff --git a/deprecated/www/app/(app)/examples/cards/components/date-picker.tsx b/deprecated/www/app/(app)/examples/cards/components/date-picker.tsx deleted file mode 100644 index d14594d13e..0000000000 --- a/deprecated/www/app/(app)/examples/cards/components/date-picker.tsx +++ /dev/null @@ -1,18 +0,0 @@ -import DatePickerWithRange from "@/registry/default/examples/date-picker-with-range" -import { Card, CardContent } from "@/registry/new-york/ui/card" -import { Label } from "@/registry/new-york/ui/label" - -export function DemoDatePicker() { - return ( - - -
- - -
-
-
- ) -} diff --git a/deprecated/www/app/(app)/examples/cards/components/github-card.tsx b/deprecated/www/app/(app)/examples/cards/components/github-card.tsx deleted file mode 100644 index 9e4c039da4..0000000000 --- a/deprecated/www/app/(app)/examples/cards/components/github-card.tsx +++ /dev/null @@ -1,81 +0,0 @@ -import { ChevronDown, Circle, Plus, Star } from "lucide-react" - -import { Button } from "@/registry/new-york/ui/button" -import { - Card, - CardContent, - CardDescription, - CardHeader, - CardTitle, -} from "@/registry/new-york/ui/card" -import { - DropdownMenu, - DropdownMenuCheckboxItem, - DropdownMenuContent, - DropdownMenuItem, - DropdownMenuLabel, - DropdownMenuSeparator, - DropdownMenuTrigger, -} from "@/registry/new-york/ui/dropdown-menu" -import { Separator } from "@/registry/new-york/ui/separator" - -export function DemoGithub() { - return ( - - -
- shadcn/ui - - Beautifully designed components that you can copy and paste into - your apps. Accessible. Customizable. Open Source. - -
-
- - - - - - - - Suggested Lists - - - Future Ideas - - My Stack - Inspiration - - - Create List - - - -
-
- -
-
- - TypeScript -
-
- - 20k -
-
Updated April 2023
-
-
-
- ) -} diff --git a/deprecated/www/app/(app)/examples/cards/components/notifications.tsx b/deprecated/www/app/(app)/examples/cards/components/notifications.tsx deleted file mode 100644 index 766e16584d..0000000000 --- a/deprecated/www/app/(app)/examples/cards/components/notifications.tsx +++ /dev/null @@ -1,51 +0,0 @@ -import { Bell, EyeOff, User } from "lucide-react" - -import { - Card, - CardContent, - CardDescription, - CardHeader, - CardTitle, -} from "@/registry/new-york/ui/card" - -export function DemoNotifications() { - return ( - - - Notifications - - Choose what you want to be notified about. - - - -
- -
-

Everything

-

- Email digest, mentions & all activity. -

-
-
-
- -
-

Available

-

- Only mentions and comments. -

-
-
-
- -
-

Ignoring

-

- Turn off all notifications. -

-
-
-
-
- ) -} diff --git a/deprecated/www/app/(app)/examples/cards/components/payment-method.tsx b/deprecated/www/app/(app)/examples/cards/components/payment-method.tsx deleted file mode 100644 index 0d7e2fffaa..0000000000 --- a/deprecated/www/app/(app)/examples/cards/components/payment-method.tsx +++ /dev/null @@ -1,137 +0,0 @@ -import { Icons } from "@/components/icons" -import { Button } from "@/registry/new-york/ui/button" -import { - Card, - CardContent, - CardDescription, - CardFooter, - CardHeader, - CardTitle, -} from "@/registry/new-york/ui/card" -import { Input } from "@/registry/new-york/ui/input" -import { Label } from "@/registry/new-york/ui/label" -import { RadioGroup, RadioGroupItem } from "@/registry/new-york/ui/radio-group" -import { - Select, - SelectContent, - SelectItem, - SelectTrigger, - SelectValue, -} from "@/registry/new-york/ui/select" - -export function DemoPaymentMethod() { - return ( - - - Payment Method - - Add a new payment method to your account. - - - - -
- - -
-
- - -
-
- - -
-
-
- - -
-
- - -
-
-
- - -
-
- - -
-
- - -
-
-
- - - -
- ) -} diff --git a/deprecated/www/app/(app)/examples/cards/components/report-an-issue.tsx b/deprecated/www/app/(app)/examples/cards/components/report-an-issue.tsx deleted file mode 100644 index 5358ac4eff..0000000000 --- a/deprecated/www/app/(app)/examples/cards/components/report-an-issue.tsx +++ /dev/null @@ -1,85 +0,0 @@ -"use client" - -import { Button } from "@/registry/new-york/ui/button" -import { - Card, - CardContent, - CardDescription, - CardFooter, - CardHeader, - CardTitle, -} from "@/registry/new-york/ui/card" -import { Input } from "@/registry/new-york/ui/input" -import { Label } from "@/registry/new-york/ui/label" -import { - Select, - SelectContent, - SelectItem, - SelectTrigger, - SelectValue, -} from "@/registry/new-york/ui/select" -import { Textarea } from "@/registry/new-york/ui/textarea" - -export function DemoReportAnIssue() { - return ( - - - Report an issue - - What area are you having problems with? - - - -
-
- - -
-
- - -
-
-
- - -
-
- -