Skip to content

Commit be26db4

Browse files
committed
changed card registry
1 parent 3e7a009 commit be26db4

File tree

2 files changed

+68
-4
lines changed

2 files changed

+68
-4
lines changed

components/retroui/Text.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import type { ElementType, HTMLAttributes } from "react";
2-
import { type VariantProps, cva } from "class-variance-authority";
1+
import { ElementType, HTMLAttributes } from "react";
2+
import { VariantProps, cva } from "class-variance-authority";
33
import { cn } from "@/lib/utils";
44

55
const textVariants = cva("font-head", {

registry.json

Lines changed: 66 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -155,8 +155,8 @@
155155
"type": "registry:component",
156156
"title": "Card",
157157
"description": "A customizable card component to visualize your content. 📝",
158-
"dependencies": [
159-
"https://retroui.dev/r/text.json"
158+
"registryDependencies": [
159+
"text"
160160
],
161161
"files": [
162162
{
@@ -486,6 +486,70 @@
486486
}
487487
]
488488
},
489+
{
490+
"name": "area-chart",
491+
"type": "registry:component",
492+
"title": "Area Chart",
493+
"description": "Beautiful area chart for data visualization with retro styling",
494+
"dependencies": [
495+
"recharts"
496+
],
497+
"files": [
498+
{
499+
"path": "components/retroui/charts/AreaChart.tsx",
500+
"target": "components/retroui/charts/AreaChart.tsx",
501+
"type": "registry:component"
502+
}
503+
]
504+
},
505+
{
506+
"name": "bar-chart",
507+
"type": "registry:component",
508+
"title": "Bar Chart",
509+
"description": "Beautiful bar chart for data visualization with retro styling",
510+
"dependencies": [
511+
"recharts"
512+
],
513+
"files": [
514+
{
515+
"path": "components/retroui/charts/BarChart.tsx",
516+
"target": "components/retroui/charts/BarChart.tsx",
517+
"type": "registry:component"
518+
}
519+
]
520+
},
521+
{
522+
"name": "line-chart",
523+
"type": "registry:component",
524+
"title": "Line Chart",
525+
"description": "Beautiful line chart for data visualization with retro styling",
526+
"dependencies": [
527+
"recharts"
528+
],
529+
"files": [
530+
{
531+
"path": "components/retroui/charts/LineChart.tsx",
532+
"target": "components/retroui/charts/LineChart.tsx",
533+
"type": "registry:component"
534+
}
535+
]
536+
},
537+
{
538+
"name": "pie-chart",
539+
"type": "registry:component",
540+
"title": "Pie Chart",
541+
"description": "Beautiful pie chart for data visualization with retro styling",
542+
"dependencies": [
543+
"recharts"
544+
],
545+
"files": [
546+
{
547+
"path": "components/retroui/charts/PieChart.tsx",
548+
"target": "components/retroui/charts/PieChart.tsx",
549+
"type": "registry:component"
550+
}
551+
]
552+
},
489553
{
490554
"name": "accordion-style-default",
491555
"title": "accordion-style-default",

0 commit comments

Comments
 (0)