UI Library for Design Engineers. Animated components and effects you can copy and paste into your apps. Free. Open Source.
fix: remove deprecated code
Dillion Verma39e1be4f6c56
diff --git a/registry/components/example/animated-lines-demo.tsx b/registry/components/example/animated-lines-demo.tsxdeleted file mode 100644index e3a283c4..00000000--- a/registry/components/example/animated-lines-demo.tsx+++ /dev/null@@ -1,9 +0,0 @@-import AnimatedLines from "@/components/magicui/animated-lines";--export default function AnimatedListDemo() {- return (- <div className="relative flex max-h-[500px] min-h-[500px] w-full flex-col overflow-hidden rounded-lg border bg-background p-6 shadow-lg">- <AnimatedLines />- </div>- );-}diff --git a/registry/components/magicui/animated-lines.tsx b/registry/components/magicui/animated-lines.tsxdeleted file mode 100644index c8bf2f36..00000000--- a/registry/components/magicui/animated-lines.tsx+++ /dev/null@@ -1,34 +0,0 @@-export default function AnimatedLines() {- return (- <svg- viewBox="0 0 1005 758"- fill="none"- xmlns="http://www.w3.org/2000/svg"- className="stroke-[5px] [mask-repeat:no-repeat] [mask-size:40px]"- >- <path- d="M0.000366211 3C382.5 3 313 362.999 1005 362.999"- stroke="white"- />-- <path d="M1004.78 383.5H0.000366211" stroke="white" />- <path- d="M1005 404.5C313 404.5 379.5 755.5 0.000366211 755.5"- stroke="white"- />-- <path- d="M0.000366211 3C382.5 3 313 362.999 1005 362.999"- className="animate-line stroke-blue-500 [mask-image:linear-gradient(to_right,transparent,black,transparent)]"- />- <path- d="M1004.78 383.5H0.000366211"- className="animate-line stroke-red-500 [mask-image:linear-gradient(to_right,transparent,black,transparent)]"- />- <path- d="M1005 404.5C313 404.5 379.5 755.5 0.000366211 755.5"- className="animate-line stroke-green-500 [mask-image:linear-gradient(to_right,transparent,black,transparent)]"- />- </svg>- );-}diff --git a/registry/index.tsx b/registry/index.tsxindex 1805daed..69bdf0c0 100644--- a/registry/index.tsx+++ b/registry/index.tsx@@ -13,16 +13,6 @@ const ui: Registry = {type: "components:magicui",files: ["registry/components/magicui/neon-gradient-card.tsx"],},- "linear-gradient": {- name: "linear-gradient",- type: "components:magicui",- files: ["registry/components/magicui/linear-gradient.tsx"],- },- "radial-gradient": {- name: "radial-gradient",- type: "components:magicui",- files: ["registry/components/magicui/radial-gradient.tsx"],- },meteors: {name: "meteors",type: "components:magicui",@@ -98,11 +88,6 @@ const ui: Registry = {type: "components:magicui",files: ["registry/components/magicui/animated-list.tsx"],},- "animated-lines": {- name: "animated-lines",- type: "components:magicui",- files: ["registry/components/magicui/animated-lines.tsx"],- },"animated-shiny-text": {name: "animated-shiny-text",type: "components:magicui",@@ -466,15 +451,6 @@ const example: Registry = {() => import("@/registry/components/example/animated-list-demo"),),},- "animated-lines-demo": {- name: "animated-lines-demo",- type: "components:example",- registryDependencies: ["animated-lines"],- files: ["registry/components/example/animated-lines-demo.tsx"],- component: React.lazy(- () => import("@/registry/components/example/animated-lines-demo"),- ),- },"animated-shiny-text-demo": {name: "animated-shiny-text-demo",type: "components:example",