Skip to content

UI Library for Design Engineers. Animated components and effects you can copy and paste into your apps. Free. Open Source.

✨ feat: add tweet card and more (#6)

Dillion Verma5518b91f3933
diff --git a/app/(auth)/login/page.tsx b/app/(auth)/login/page.tsx
index a67efb77..ba19e934 100644
--- a/app/(auth)/login/page.tsx
+++ b/app/(auth)/login/page.tsx
@@ -25,15 +25,13 @@ export default function LoginPage() {
Back
</>
</Link>
- <div className="mx-auto flex w-full flex-col justify-center space-y-6 sm:w-[350px]">
- <div className="flex flex-col space-y-2 text-center">
+ <div className="mx-auto flex w-full flex-col justify-center gap-6 sm:w-[350px]">
+ <div className="flex flex-col gap-2 text-center">
<Icons.logo className="mx-auto h-6 w-6" />
<h1 className="text-2xl font-semibold tracking-tight">
Welcome back
</h1>
- <p className="text-sm text-muted-foreground">
- Enter your email to sign in to your account
- </p>
+ <p className="text-sm text-muted-foreground">Login to your account</p>
</div>
<UserAuthForm />
<p className="px-8 text-center text-sm text-muted-foreground">
diff --git a/app/(docs)/components/[slug]/page.tsx b/app/(docs)/components/[slug]/page.tsx
index 471cf237..6ec7756b 100644
--- a/app/(docs)/components/[slug]/page.tsx
+++ b/app/(docs)/components/[slug]/page.tsx
@@ -4,11 +4,8 @@ import Twitter from "@/components/icons/twitter";
import { Mdx } from "@/components/mdx-components";
import { DashboardTableOfContents } from "@/components/toc";
import { ScrollArea } from "@/components/ui/scroll-area";
-import { getCurrentUser } from "@/lib/session";
-import { getUserPayments } from "@/lib/stripe-utils";
import { getTableOfContents } from "@/lib/toc";
import { absoluteUrl, cn, constructMetadata } from "@/lib/utils";
-import { Payment } from "@prisma/client";
import { allComponents } from "contentlayer/generated";
import { ChevronRight } from "lucide-react";
import type { Metadata } from "next";
@@ -80,13 +77,6 @@ interface Props {
}
export default async function Component({ params }: Props) {
- const user = await getCurrentUser();
- const { payments } = await getUserPayments(user?.id!);
-
- const paid = payments.some(
- (payment: Payment) => payment.status === "succeeded",
- );
-
const component = allComponents.find(
(component) => component.slugAsParams === params.slug,
);
@@ -98,17 +88,16 @@ export default async function Component({ params }: Props) {
return (
<main
- className={cn(
- "relative py-6 lg:gap-10 lg:py-8 xl:grid ",
- "xl:grid-cols-[1fr_300px]",
- )}
+ className={cn("relative py-6 lg:gap-10 lg:py-8 xl:grid ", {
+ "xl:grid-cols-[1fr_300px]": component.toc,
+ })}
>
<div className="mx-auto w-full">
{/* Breadcrumb */}
<div className="mb-4 flex items-center space-x-1 text-sm text-muted-foreground">
<Link
href="/components"
- className="transition-colors hover:text-foreground/80"
+ className="transition-colors hover:text-foreground/80"
>
<div className="overflow-hidden text-ellipsis whitespace-nowrap">
Components
diff --git a/app/(docs)/templates/page.tsx b/app/(docs)/templates/page.tsx
index 40be92fd..7fd55963 100644
--- a/app/(docs)/templates/page.tsx
+++ b/app/(docs)/templates/page.tsx
@@ -1,6 +1,14 @@
import { Component } from "@/.contentlayer/generated";
import { constructMetadata } from "@/lib/utils";
import FadeIn from "@/registry/components/magicui/fade-in";
+import HeroVideo, {
+ HeroVideoAction,
+} from "@/registry/components/magicui/hero-video";
+import {
+ MagicCard,
+ MagicContainer,
+} from "@/registry/components/magicui/magic-card";
+import ShimmerButton from "@/registry/components/magicui/shimmer-button";
import Link from "next/link";
export const metadata = constructMetadata({
@@ -24,6 +32,48 @@ export default async function TemplatePage() {
</div>
</div>
<hr className="my-8" />
+
+ <MagicContainer>
+ <MagicCard className="flex flex-col items-center justify-center p-4">
+ <h2>this is a test card</h2>
+ <ShimmerButton>
+ <svg
+ xmlns="http://www.w3.org/2000/svg"
+ viewBox="0 0 24 24"
+ fill="currentColor"
+ className="h-6 w-6 dark:text-white"
+ >
+ <path
+ fillRule="evenodd"
+ d="M4.5 5.653c0-1.426 1.529-2.33 2.779-1.643l11.54 6.348c1.295.712 1.295 2.573 0 3.285L7.28 19.991c-1.25.687-2.779-.217-2.779-1.643V5.653z"
+ clipRule="evenodd"
+ />
+ </svg>
+ </ShimmerButton>
+ </MagicCard>
+ </MagicContainer>
+ <HeroVideo
+ title="Magic UI Demo"
+ image="https://cdn.dribbble.com/userupload/4145843/file/original-c7a2c9a768450460259f232259d103d2.png?resize=1600x1200"
+ video="https://cdn.magicuikit.com/globe.mp4"
+ >
+ <HeroVideoAction>
+ <ShimmerButton>
+ <svg
+ xmlns="http://www.w3.org/2000/svg"
+ viewBox="0 0 24 24"
+ fill="currentColor"
+ className="h-6 w-6 dark:text-white"
+ >
+ <path
+ fillRule="evenodd"
+ d="M4.5 5.653c0-1.426 1.529-2.33 2.779-1.643l11.54 6.348c1.295.712 1.295 2.573 0 3.285L7.28 19.991c-1.25.687-2.779-.217-2.779-1.643V5.653z"
+ clipRule="evenodd"
+ />
+ </svg>
+ </ShimmerButton>
+ </HeroVideoAction>
+ </HeroVideo>
{posts?.length ? (
<div className="grid grid-cols-1 gap-4 md:grid-cols-2">
{posts.map((post, index) => (
diff --git a/app/(marketing)/page.tsx b/app/(marketing)/page.tsx
index dd1a0a25..78d07e56 100644
--- a/app/(marketing)/page.tsx
+++ b/app/(marketing)/page.tsx
@@ -6,6 +6,7 @@ export default async function Home() {
<>
<Hero />
<Testimonials />
+ {/* <FeatureSections /> */}
{/* <Faq /> */}
</>
);
diff --git a/app/(marketing)/pricing/page.tsx b/app/(marketing)/pricing/page.tsx
index 3148c9d5..1183792a 100644
--- a/app/(marketing)/pricing/page.tsx
+++ b/app/(marketing)/pricing/page.tsx
@@ -34,9 +34,9 @@ export default function Buy() {
</p>
</FadeIn>
</div>
- <MagicContainer className="mx-auto mt-16 w-full max-w-[400px]">
+ <MagicContainer className="mx-auto mt-16 grid w-full grid-cols-1 place-items-center gap-8">
{plans.map((item, idx) => (
- <PriceCard key={idx} item={item} />
+ <PriceCard key={idx} item={item} className="max-w-[400px]" />
))}
</MagicContainer>
</div>
diff --git a/app/(marketing)/not-found.tsx b/app/not-found.tsx
similarity index 100%
rename from app/(marketing)/not-found.tsx
rename to app/not-found.tsx
diff --git a/components.json b/components.json
index a6204046..dcb84ea0 100644
--- a/components.json
+++ b/components.json
@@ -5,7 +5,7 @@
"tailwind": {
"config": "tailwind.config.js",
"css": "app/globals.css",
- "baseColor": "slate",
+ "baseColor": "neutral",
"cssVariables": true
},
"aliases": {
diff --git a/components/component-source.tsx b/components/component-source.tsx
index d9f866c6..ba1d6b96 100644
--- a/components/component-source.tsx
+++ b/components/component-source.tsx
@@ -9,6 +9,14 @@ interface ComponentSourceProps extends React.HTMLAttributes<HTMLDivElement> {
src: string;
}
+const Preview = ({ className }: { className?: string }) => {
+ return (
+ <>
+ <PreOrder />
+ </>
+ );
+};
+
export function ComponentSource({
children,
className,
@@ -21,11 +29,11 @@ export function ComponentSource({
);
if (status === "loading") return null;
- if (status === "unauthenticated") return <PreOrder />;
+ if (status === "unauthenticated") return <Preview />;
if (isLoading) return null;
// TODO: Make this cleaner
- if (data?.user?.customer.payments.length === 0) return <PreOrder />;
+ if (data?.user?.customer.payments.length === 0) return <Preview />;
return (
<CodeBlockWrapper
diff --git a/components/component-wrapper.tsx b/components/component-wrapper.tsx
index fddab9dd..f5d896e6 100644
--- a/components/component-wrapper.tsx
+++ b/components/component-wrapper.tsx
@@ -8,7 +8,7 @@ const ComponentWrapper = ({ className, children }: ComponentWrapperProps) => {
return (
<div
className={cn(
- "not-prose max-w-screen relative flex flex-col items-center justify-center rounded-xl border bg-background p-8 md:p-20",
+ "not-prose max-w-screen relative flex flex-col items-center justify-center rounded-xl border bg-background p-8 md:p-16",
className,
)}
>
diff --git a/components/landing/feature-sections.tsx b/components/landing/feature-sections.tsx
new file mode 100644
index 00000000..336ac8f4
--- /dev/null
+++ b/components/landing/feature-sections.tsx
@@ -0,0 +1,97 @@
+"use client";
+
+import { Icons } from "@/components/icons";
+import { buttonVariants } from "@/components/ui/button";
+import { cn } from "@/lib/utils";
+import { List } from "lucide-react";
+import Link from "next/link";
+
+const features = [
+ {
+ id: "feature-openai",
+ header: "Analyze",
+ name: "Advanced OpenAI API Dashboard",
+ description:
+ "Just enter your OpenAI API key, and we fetch your data from the OpenAI API directly to create a dashboard. No need to install anything.",
+ // icon: Icons.openai,
+ video: "https://cdn.llm.report/openai-demo.mp4",
+ cta: "Get Started",
+ href: "/login",
+ reverse: false,
+ },
+ {
+ id: "feature-logs",
+ header: "Optimize",
+ name: "Log your prompts and completions",
+ description:
+ "Change 1 line in your code and start logging your API requests. Optimize your token usage and start saving money.",
+ icon: List,
+ video: "https://cdn.llm.report/logs-demo.mp4",
+ cta: "Get Started",
+ href: "/login",
+ reverse: true,
+ },
+ {
+ id: "feature-users",
+ header: "Minimize",
+ name: "Measure Cost Per User",
+ description:
+ "Analyze your cost per user and adjust your pricing to maximize revenue.",
+ icon: Icons.user,
+ video: "https://cdn.llm.report/users-demo.mp4",
+ cta: "Get Started",
+ href: "/login",
+ reverse: false,
+ },
+];
+
+const FeatureSections = () => {
+ return (
+ <>
+ {features.map((feature) => (
+ <section id={feature.id} key={feature.id} className="container mx-auto">
+ <div className="mx-auto px-6 py-6 sm:py-20">
+ <div className="mx-auto grid max-w-2xl grid-cols-1 gap-x-16 gap-y-16 sm:gap-y-20 lg:mx-0 lg:max-w-none lg:grid-cols-5">
+ <div
+ className={cn("m-auto lg:col-span-2", {
+ "lg:order-last": feature.reverse,
+ })}
+ >
+ <h2 className="text-base font-semibold leading-7 text-orange-600">
+ {feature.header}
+ </h2>
+ <p className="mt-2 text-3xl font-bold tracking-tight text-gray-900 dark:text-gray-100 sm:text-4xl">
+ {feature.name}
+ </p>
+ <p className="mt-6 text-lg leading-8 text-gray-600 dark:text-gray-400">
+ {feature.description}
+ </p>
+ <Link
+ className={cn(
+ buttonVariants({
+ variant: "default",
+ size: "lg",
+ }),
+ "mt-8",
+ )}
+ href={feature.href}
+ >
+ {feature.cta}
+ </Link>
+ </div>
+ <video
+ src={feature.video}
+ autoPlay
+ loop
+ muted
+ className="m-auto rounded-xl border shadow-2xl lg:col-span-3"
+ />
+ </div>
+ </div>
+ </section>
+ ))}
+ </>
+ );
+};
+
+export default FeatureSections;
diff --git a/components/preorder.tsx b/components/preorder.tsx
index 190913e5..d20126bb 100644
--- a/components/preorder.tsx
+++ b/components/preorder.tsx
@@ -20,7 +20,7 @@ export default function PreOrder() {
}
return (
- <MagicContainer className="not-prose w-full">
+ <MagicContainer className="not-prose mx-auto max-w-[400px]">
{plans.map((item, idx) => (
<PriceCard key={idx} item={item} />
))}
diff --git a/components/price-card.tsx b/components/price-card.tsx
index 0bdfcb92..f6c0775f 100644
--- a/components/price-card.tsx
+++ b/components/price-card.tsx
@@ -7,7 +7,6 @@ import DotPattern from "@/registry/components/magicui/dot-pattern";
import FadeIn from "@/registry/components/magicui/fade-in";
import { MagicCard } from "@/registry/components/magicui/magic-card";
import Meteors from "@/registry/components/magicui/meteors";
-import { ExternalLinkIcon } from "lucide-react";
import Link from "next/link";
const RegularButton = () => (
@@ -20,7 +19,6 @@ const RegularButton = () => (
)}
>
Get Lifetime Access
- <ExternalLinkIcon className="ml-2 h-4 w-4" />
</Link>
);
@@ -49,7 +47,7 @@ export const PriceCard = ({
<FadeIn delay={0.3} className={className}>
<MagicCard
spotlight={false}
- className="relative flex flex-col gap-8 overflow-hidden p-8"
+ className="relative flex flex-col gap-8 overflow-hidden bg-[radial-gradient(var(--mask-size)_circle_at_var(--mouse-x)_var(--mouse-y),#ffaa40_0,#9c40ff_50%,transparent_100%)] p-8"
>
<div className="z-10 flex flex-col space-y-4">
<span className="font-medium text-foreground">{item.name}</span>
@@ -68,31 +66,33 @@ export const PriceCard = ({
{!hasApplePay() && <RegularButton />}
{hasApplePay() && <ApplePayButton />}
</div>
- <ul className="z-10 space-y-3">
- <li className="pb-2 font-medium text-foreground">
- <p>Features</p>
- </li>
- {item.features.map((featureItem: any, idx: any) => (
- <li
- key={idx}
- className="flex items-center gap-5 text-sm text-foreground"
- >
- <svg
- xmlns="http://www.w3.org/2000/svg"
- className="h-5 w-5 text-foreground"
- viewBox="0 0 20 20"
- fill="currentColor"
- >
- <path
- fillRule="evenodd"
- d="M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z"
- clipRule="evenodd"
- ></path>
- </svg>
- {featureItem}
+ {item.features.length > 0 && (
+ <ul className="z-10 space-y-3">
+ <li className="pb-2 font-medium text-foreground">
+ <p>Features</p>
</li>
- ))}
- </ul>
+ {item.features.map((featureItem: any, idx: any) => (
+ <li
+ key={idx}
+ className="flex items-center gap-5 text-sm text-foreground"
+ >
+ <svg
+ xmlns="http://www.w3.org/2000/svg"
+ className="h-5 w-5 text-foreground"
+ viewBox="0 0 20 20"
+ fill="currentColor"
+ >
+ <path
+ fillRule="evenodd"
+ d="M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z"
+ clipRule="evenodd"
+ ></path>
+ </svg>
+ {featureItem}
+ </li>
+ ))}
+ </ul>
+ )}
<Meteors />
<DotPattern
diff --git a/components/user-auth-form.tsx b/components/user-auth-form.tsx
index bd74dfdd..57b56cb2 100644
--- a/components/user-auth-form.tsx
+++ b/components/user-auth-form.tsx
@@ -58,7 +58,7 @@ export function UserAuthForm({ className, ...props }: UserAuthFormProps) {
<div className={cn("grid gap-6", className)} {...props}>
<Form {...form}>
<form onSubmit={form.handleSubmit(onSubmit)}>
- <div className="grid gap-2">
+ <div className="grid gap-4">
<FormField
control={form.control}
name="email"
diff --git a/config/pricing.ts b/config/pricing.ts
index 2e15e805..d7780484 100644
--- a/config/pricing.ts
+++ b/config/pricing.ts
@@ -1,9 +1,9 @@
export const plans = [
{
- name: "Magic UI",
+ name: "Magic UI Personal",
desc: "Beautifully crafted React + Tailwind CSS + Framer Motion components and templates for your next web project.",
discountPrice: 59,
- price: 79,
+ price: 149,
isMostPop: false,
features: [
"100+ components (coming soon)",
@@ -13,4 +13,14 @@ export const plans = [
"Lifetime Updates",
],
},
+ // {
+ // name: "Magic UI Team",
+ // desc: "Get access for your entire team - up to 25 people to accommodate even the largest teams at your company.",
+ // discountPrice: 499,
+ // price: 2499,
+ // isMostPop: false,
+ // features: [
+ // // "Get access for your entire team — team licenses include access for up to 25 people to accommodate even the largest teams at your company.",
+ // ],
+ // },
];
diff --git a/content/components/hero-video.mdx b/content/components/hero-video.mdx
index 153d917c..69315712 100644
--- a/content/components/hero-video.mdx
+++ b/content/components/hero-video.mdx
@@ -1,9 +1,10 @@
---
title: Hero Video
-date: 2023-08-16
+date: 2023-08-30
summary: A react component that renders a video in a modal with a play button.
author: dillionverma
published: false
+toc: true
video: https://cdn.magicuikit.com/hero-video.mp4
---
@@ -39,6 +40,12 @@ components/magicui/hero-video.tsx
## Examples
+### Youtube
+
+For youtube videos, copy the embed iframe from youtube and pass as a child to the component.
+
+<ComponentPreview name="hero-video-youtube" />
+
## Props
### Hero Video
diff --git a/content/components/magic-card.mdx b/content/components/magic-card.mdx
index a45c27cb..6972b1d5 100644
--- a/content/components/magic-card.mdx
+++ b/content/components/magic-card.mdx
@@ -37,6 +37,12 @@ components/magicui/magic-card.tsx
</Steps>
+## Examples
+
+### Radial Gradient border
+
+<ComponentPreview name="magic-card-gradient" />
+
## Props
### MagicContainer
diff --git a/content/components/tweet-card.mdx b/content/components/tweet-card.mdx
index 08f6c6b8..8281bec6 100644
--- a/content/components/tweet-card.mdx
+++ b/content/components/tweet-card.mdx
@@ -1,9 +1,9 @@
---
title: Tweet Card
-date: 2023-07-29
+date: 2023-10-15
summary: A card that displays a tweet with the author's name, handle, and profile picture.
author: dillionverma
-published: false
+published: true
video: https://cdn.magicuikit.com/tweet-card.mp4
---
@@ -27,6 +27,51 @@ components/magicui/tweet-card.tsx
</Steps>
+## Usage
+
+To render on client side:
+
+```tsx
+"use client";
+import { TweetCard } from "components/magicui/tweet-card.tsx";
+
+function App() {
+ return <TweetCard id="1441032681968212480" />;
+}
+```
+
+To render on server side using RSC:
+
+```tsx
+import { ServerTweetCard } from "components/magicui/tweet-card.tsx";
+
+const id = "1441032681968212480";
+
+async function getTweets() {
+ try {
+ const tweet = await getTweet(id);
+ return { props: { tweet } };
+ } catch (error) {
+ return { notFound: true };
+ }
+}
+
+export default async function Testimonials() {
+ const { props } = await getTweets();
+ return <ServerTweetCard tweet={props.tweet} />;
+}
+```
+
## Props
-### Tweet Card
+### TweetCard
+
+| Prop | Type | Description |
+| ---- | ---- | ------------------------------- |
+| id | id | The id of the tweet to display. |
+
+### ServerTweetCard
+
+| Prop | Type | Description |
+| ----- | ------ | --------------------- |
+| tweet | object | The tweet to display. |
diff --git a/docker-compose.yml b/docker-compose.yml
new file mode 100644
index 00000000..5fa38ad7
--- /dev/null
+++ b/docker-compose.yml
@@ -0,0 +1,24 @@
+version: "3.7"
+
+# For local development, only database is running
+#
+# docker-compose up -d
+#
+
+services:
+ default_database:
+ restart: unless-stopped
+ image: postgres:latest
+ volumes:
+ - default_database_data:/var/lib/postgresql/data
+ environment:
+ - POSTGRES_DB=${DEFAULT_DATABASE_DB}
+ - POSTGRES_USER=${DEFAULT_DATABASE_USER}
+ - POSTGRES_PASSWORD=${DEFAULT_DATABASE_PASSWORD}
+ env_file:
+ - .env
+ ports:
+ - "${DEFAULT_DATABASE_PORT}:5432"
+
+volumes:
+ default_database_data:
diff --git a/package.json b/package.json
index d79cc261..09b21e77 100644
--- a/package.json
+++ b/package.json
@@ -3,10 +3,15 @@
"version": "0.1.0",
"private": true,
"scripts": {
- "dev": "next dev",
+ "dev": "next dev -p 3003",
"build": "next build",
"start": "next start",
"lint": "next lint",
+ "dx": "run-s db:up db:migrate dev",
+ "db:migrate": "npx prisma db push",
+ "db:seed": "npx prisma db seed",
+ "db:nuke": "docker compose down --volumes --remove-orphans || docker-compose down --volumes --remove-orphans",
+ "db:up": "docker compose up -d || docker-compose up -d",
"dev:email": "email dev -p 3004",
"dev:stripe": "stripe listen --forward-to localhost:3003/api/webhooks/stripe",
"dev:migrate": "dotenv -e .env.local -- npx prisma db push",
@@ -60,11 +65,11 @@
"date-fns": "^2.30.0",
"dotenv": "^16.3.1",
"eslint": "8.43.0",
- "eslint-config-next": "13.4.12",
+ "eslint-config-next": "13.4.19",
"framer-motion": "^10.12.16",
"gray-matter": "^4.0.3",
- "lucide-react": "^0.248.0",
- "next": "13.4.12",
+ "lucide-react": "^0.274.0",
+ "next": "13.4.19",
"next-auth": "^4.22.1",
"next-contentlayer": "^0.3.3",
"next-themes": "^0.2.1",
@@ -90,6 +95,7 @@
"@types/react": "18.2.12",
"@types/react-dom": "18.2.5",
"mdast-util-toc": "^6.1.1",
+ "npm-run-all": "^4.1.5",
"prettier": "^3.0.0",
"prettier-plugin-tailwindcss": "^0.4.1",
"prisma": "^4.16.1",
diff --git a/postcss.config.js b/postcss.config.js
index 12a703d9..04810b52 100644
--- a/postcss.config.js
+++ b/postcss.config.js
@@ -2,5 +2,6 @@ module.exports = {
plugins: {
tailwindcss: {},
autoprefixer: {},
+ ...(process.env.NODE_ENV === "production" ? { cssnano: {} } : {}),
},
};
diff --git a/registry/components/example/hero-video-demo.tsx b/registry/components/example/hero-video-demo.tsx
index 2a9e8f9c..2bf933b9 100644
--- a/registry/components/example/hero-video-demo.tsx
+++ b/registry/components/example/hero-video-demo.tsx
@@ -1,19 +1,52 @@
-import HeroVideo from "@/registry/components/magicui/hero-video";
+import { Button } from "@/components/ui/button";
+import HeroVideo, {
+ HeroVideoAction,
+} from "@/registry/components/magicui/hero-video";
import {
MagicCard,
MagicContainer,
} from "@/registry/components/magicui/magic-card";
+const PlayButton = () => (
+ <svg
+ xmlns="http://www.w3.org/2000/svg"
+ viewBox="0 0 24 24"
+ fill="currentColor"
+ className="dark:text-white"
+ >
+ <path
+ fillRule="evenodd"
+ d="M4.5 5.653c0-1.426 1.529-2.33 2.779-1.643l11.54 6.348c1.295.712 1.295 2.573 0 3.285L7.28 19.991c-1.25.687-2.779-.217-2.779-1.643V5.653z"
+ clipRule="evenodd"
+ />
+ </svg>
+);
+
export default function HeroVideoDemo() {
return (
- <div className="relative flex h-[600px] w-full flex-col items-center justify-center gap-4 overflow-hidden rounded-lg border bg-background p-10">
+ <div className="relative flex w-full flex-col items-center justify-center gap-8 overflow-hidden rounded-lg border bg-background p-10">
<span className="pointer-events-none whitespace-pre-wrap bg-gradient-to-b from-black to-gray-300/80 bg-clip-text text-center text-8xl font-semibold leading-none text-transparent dark:from-white dark:to-slate-900/10">
Hero Video
</span>
- <div className="pointer-events-none absolute inset-0 h-full bg-[radial-gradient(circle_at_50%_120%,rgba(120,119,198,0.3),rgba(255,255,255,0))]" />
+
<MagicContainer>
- <MagicCard className="[mask:linear-gradient(0deg,transparent_0%,#fff_100%)]">
- <HeroVideo image="https://media.discordapp.net/attachments/993733319386730541/1144082029076557947/newpreviewimage.png?width=2226&height=1228" />
+ <MagicCard className="min-h-[400px] [mask:linear-gradient(0deg,transparent_40%,#fff_100%)]">
+ <HeroVideo
+ title="Magic UI Demo"
+ image="https://cdn.dribbble.com/userupload/4145843/file/original-c7a2c9a768450460259f232259d103d2.png?resize=1600x1200"
+ >
+ <HeroVideoAction>
+ <Button className="h-20 w-20 rounded-full" variant="outline">
+ <PlayButton />
+ </Button>
+ </HeroVideoAction>
+ <video
+ autoPlay
+ className="rounded-xl dark:border"
+ playsInline
+ src="https://cdn.magicuikit.com/globe.mp4"
+ />
+ </HeroVideo>
</MagicCard>
</MagicContainer>
</div>
diff --git a/registry/components/example/hero-video-youtube.tsx b/registry/components/example/hero-video-youtube.tsx
new file mode 100644
index 00000000..3f06a70d
--- /dev/null
+++ b/registry/components/example/hero-video-youtube.tsx
@@ -0,0 +1,55 @@
+import { Button } from "@/components/ui/button";
+import HeroVideo, {
+ HeroVideoAction,
+} from "@/registry/components/magicui/hero-video";
+import {
+ MagicCard,
+ MagicContainer,
+} from "@/registry/components/magicui/magic-card";
+
+const PlayButton = () => (
+ <svg
+ xmlns="http://www.w3.org/2000/svg"
+ viewBox="0 0 24 24"
+ fill="currentColor"
+ className="dark:text-white"
+ >
+ <path
+ fillRule="evenodd"
+ d="M4.5 5.653c0-1.426 1.529-2.33 2.779-1.643l11.54 6.348c1.295.712 1.295 2.573 0 3.285L7.28 19.991c-1.25.687-2.779-.217-2.779-1.643V5.653z"
+ clipRule="evenodd"
+ />
+ </svg>
+);
+
+export default function HeroVideoDemo() {
+ return (
+ <div className="relative flex w-full flex-col items-center justify-center gap-8 overflow-hidden rounded-lg border bg-background p-10">
+ <span className="pointer-events-none whitespace-pre-wrap bg-gradient-to-b from-black to-gray-300/80 bg-clip-text text-center text-8xl font-semibold leading-none text-transparent dark:from-white dark:to-slate-900/10">
+ Never gonna give you up
+ </span>
+ {/* Magic Card */}
+ <MagicContainer className="relative">
+ <MagicCard className="min-h-[400px] [mask:linear-gradient(0deg,transparent_20%,#fff_100%)]">
+ <HeroVideo
+ title="Never gonna give you up"
+ image="https://variety.com/wp-content/uploads/2021/07/Rick-Astley-Never-Gonna-Give-You-Up.png?w=1024"
+ >
+ <HeroVideoAction>
+ <Button className="h-20 w-20 rounded-full" variant="outline">
+ <PlayButton />
+ </Button>
+ </HeroVideoAction>
+ <iframe
+ height="500"
+ className="h-[500px] rounded-xl border"
+ src="https://www.youtube.com/embed/dQw4w9WgXcQ?si=FmFbhzaToJQ9iXN4"
+ title="YouTube video player"
+ allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share"
+ />
+ </HeroVideo>
+ </MagicCard>
+ </MagicContainer>
+ </div>
+ );
+}
diff --git a/registry/components/example/magic-card-demo.tsx b/registry/components/example/magic-card-demo.tsx
index fbe53a83..5efcdcd0 100644
--- a/registry/components/example/magic-card-demo.tsx
+++ b/registry/components/example/magic-card-demo.tsx
@@ -3,7 +3,7 @@ import {
MagicContainer,
} from "@/registry/components/magicui/magic-card";
-export default function MagicCardWithGradient() {
+export default function MagicCardDemo() {
return (
<MagicContainer
className={
diff --git a/registry/components/example/magic-card-gradient.tsx b/registry/components/example/magic-card-gradient.tsx
new file mode 100644
index 00000000..23de4dc0
--- /dev/null
+++ b/registry/components/example/magic-card-gradient.tsx
@@ -0,0 +1,30 @@
+import {
+ MagicCard,
+ MagicContainer,
+} from "@/registry/components/magicui/magic-card";
+
+export default function MagicCardGradient() {
+ return (
+ <MagicContainer
+ className={
+ "flex h-[500px] w-full flex-col gap-4 lg:h-[250px] lg:flex-row"
+ }
+ >
+ <MagicCard
+ borderWidth={3}
+ className="flex w-full cursor-pointer flex-col items-center justify-center overflow-hidden bg-[radial-gradient(var(--mask-size)_circle_at_var(--mouse-x)_var(--mouse-y),#ffaa40_0,#9c40ff_50%,transparent_100%)] p-20 shadow-2xl"
+ >
+ <p className="z-10 whitespace-nowrap text-4xl font-medium text-gray-800 dark:text-gray-200">
+ Magic
+ </p>
+ <div className="pointer-events-none absolute inset-0 h-full bg-[radial-gradient(circle_at_50%_120%,rgba(120,119,198,0.3),rgba(255,255,255,0))]" />
+ </MagicCard>
+ <MagicCard className="flex w-full cursor-pointer flex-col items-center justify-center overflow-hidden bg-[radial-gradient(var(--mask-size)_circle_at_var(--mouse-x)_var(--mouse-y),#ffaa40_0,#9c40ff_50%,transparent_100%)] p-20 shadow-2xl">
+ <p className="z-10 whitespace-nowrap text-4xl font-medium text-gray-800 dark:text-gray-200">
+ Card
+ </p>
+ <div className="pointer-events-none absolute inset-0 h-full bg-[radial-gradient(circle_at_50%_120%,rgba(120,119,198,0.3),rgba(255,255,255,0))]" />
+ </MagicCard>
+ </MagicContainer>
+ );
+}
diff --git a/registry/components/example/marquee-demo.tsx b/registry/components/example/marquee-demo.tsx
index fca24156..55afe4e7 100644
--- a/registry/components/example/marquee-demo.tsx
+++ b/registry/components/example/marquee-demo.tsx
@@ -33,6 +33,9 @@ const reviews = [
img: "https://avatar.vercel.sh/jenny",
},
];
+const firstRow = reviews.slice(0, reviews.length / 2);
+const secondRow = reviews.slice(reviews.length / 2);
+
const ReviewCard = ({
img,
name,
@@ -71,18 +74,18 @@ const ReviewCard = ({
const MarqueeDemo = () => {
return (
<div className="relative flex h-full w-full flex-col items-center justify-center gap-4 overflow-hidden rounded-lg border bg-background py-20">
- <Marquee pauseOnHover className="[--duration:40s]">
- {reviews.map((review) => (
+ <Marquee pauseOnHover className="[--duration:20s]">
+ {firstRow.map((review) => (
<ReviewCard key={review.username} {...review} />
))}
</Marquee>
- <Marquee reverse pauseOnHover className="[--duration:40s]">
- {reviews.map((review) => (
+ <Marquee reverse pauseOnHover className="[--duration:20s]">
+ {secondRow.map((review) => (
<ReviewCard key={review.username} {...review} />
))}
</Marquee>
- <div className="pointer-events-none absolute inset-y-0 left-0 w-1/3 bg-gradient-to-r from-white dark:from-slate-950"></div>
- <div className="pointer-events-none absolute inset-y-0 right-0 w-1/3 bg-gradient-to-l from-white dark:from-slate-950"></div>
+ <div className="pointer-events-none absolute inset-y-0 left-0 w-1/3 bg-gradient-to-r from-white dark:from-background"></div>
+ <div className="pointer-events-none absolute inset-y-0 right-0 w-1/3 bg-gradient-to-l from-white dark:from-background"></div>
</div>
);
};
diff --git a/registry/components/magicui/hero-video.tsx b/registry/components/magicui/hero-video.tsx
index 534043fb..ba5ca699 100644
--- a/registry/components/magicui/hero-video.tsx
+++ b/registry/components/magicui/hero-video.tsx
@@ -1,16 +1,52 @@
+"use client";
+
import { cn } from "@/lib/utils";
-import ShimmerButton from "@/registry/components/magicui/shimmer-button";
import { Dialog, Transition } from "@headlessui/react";
import { X } from "lucide-react";
-import { Fragment, useState } from "react";
+import React, { Fragment, useContext, useState } from "react";
interface HeroVideoProps {
children?: React.ReactNode;
image?: string;
className?: string;
+ caption?: React.ReactNode;
+ video?: string;
+ title?: string;
+}
+
+interface HeroVideoContextType {
+ openModal?: () => void;
+ closeModal?: () => void;
}
-const HeroVideo = ({ children, image, className }: HeroVideoProps) => {
+const HeroVideoContext = React.createContext<HeroVideoContextType>({});
+
+export const HeroVideoAction = ({
+ children,
+}: {
+ children: React.ReactNode;
+}) => {
+ const context = useContext(HeroVideoContext);
+
+ if (!context) {
+ throw new Error("HeroVideoAction must be used within a HeroVideo");
+ }
+
+ const { openModal } = context;
+
+ // Create a clone of the child and inject the onClick event to it
+ const childWithOnClick = React.cloneElement(children, {
+ onClick: openModal,
+ });
+
+ return (
+ <div className="absolute left-1/2 top-1/2 z-50 -translate-x-1/2 -translate-y-1/2 transform">
+ {childWithOnClick}
+ </div>
+ );
+};
+
+const HeroVideo = ({ children, image, title = "Demo" }: HeroVideoProps) => {
let [isOpen, setIsOpen] = useState(false);
function closeModal() {
@@ -21,35 +57,33 @@ const HeroVideo = ({ children, image, className }: HeroVideoProps) => {
setIsOpen(true);
}
+ // Extracting children based on type
+ let actionChild: React.ReactElement | null = null;
+ let otherChildren: React.ReactElement[] = [];
+
+ React.Children.forEach(children, (child) => {
+ if (React.isValidElement(child)) {
+ if (child.type === HeroVideoAction) {
+ actionChild = child;
+ } else {
+ otherChildren.push(child);
+ }
+ }
+ });
+
return (
- <div
- className={cn(
- "absolute inset-[1px] flex overflow-hidden rounded-2xl",
- className,
- )}
- >
- <img
- className="pointer-events-none h-full w-full object-cover"
- src={image}
- />
- <div className="absolute left-1/2 top-1/2 -translate-x-1/2 -translate-y-1/2 transform">
- <ShimmerButton onClick={openModal}>
- <svg
- xmlns="http://www.w3.org/2000/svg"
- viewBox="0 0 24 24"
- fill="currentColor"
- className="h-6 w-6 dark:text-white"
- >
- <path
- fillRule="evenodd"
- d="M4.5 5.653c0-1.426 1.529-2.33 2.779-1.643l11.54 6.348c1.295.712 1.295 2.573 0 3.285L7.28 19.991c-1.25.687-2.779-.217-2.779-1.643V5.653z"
- clipRule="evenodd"
- />
- </svg>
-
- {/* <span className="dark:text-white">play</span> */}
- </ShimmerButton>
+ <HeroVideoContext.Provider value={{ openModal, closeModal }}>
+ <div
+ className={cn("absolute inset-[1px] flex overflow-hidden rounded-2xl")}
+ >
+ {actionChild}
+ <img
+ className="pointer-events-none h-full w-full object-cover"
+ src={image}
+ />
</div>
+
+ {/* Modal */}
<Transition appear show={isOpen} as={Fragment}>
<Dialog as="div" className="relative z-50" onClose={closeModal}>
{/* Backdrop */}
@@ -77,33 +111,25 @@ const HeroVideo = ({ children, image, className }: HeroVideoProps) => {
leaveFrom="opacity-100 scale-100"
leaveTo="opacity-0 scale-95"
>
- <Dialog.Panel className="flex w-full max-w-4xl transform flex-col gap-2 overflow-hidden rounded-2xl p-6 text-left align-middle shadow-xl transition-all">
+ <Dialog.Panel className="flex w-full max-w-4xl transform flex-col gap-2 overflow-hidden rounded-2xl p-6 text-left align-middle transition-all">
<div className="flex flex-row items-center justify-between">
- <Dialog.Title
- as="h3"
- className="text-lg font-medium leading-6 text-gray-100"
- >
- Magic UI Demo
- </Dialog.Title>
-
- <button onClick={closeModal}>
- <X className="h-6 w-6" />
- </button>
+ <h3 className="text-lg font-medium leading-6 text-gray-100">
+ {title}
+ </h3>
+ {closeModal && (
+ <button onClick={closeModal} aria-label="Close">
+ <X className="h-6 w-6 text-gray-100" />
+ </button>
+ )}
</div>
- <video
- autoPlay
- className="rounded-xl border"
- poster={image}
- playsInline
- src="https://cdn.magicuikit.com/globe.mp4"
- />
+ {otherChildren}
</Dialog.Panel>
</Transition.Child>
</div>
</div>
</Dialog>
</Transition>
- </div>
+ </HeroVideoContext.Provider>
);
};
diff --git a/registry/components/magicui/magic-card.tsx b/registry/components/magicui/magic-card.tsx
index 0ab8a9c1..d2e89db0 100644
--- a/registry/components/magicui/magic-card.tsx
+++ b/registry/components/magicui/magic-card.tsx
@@ -184,7 +184,7 @@ interface MagicCardProps {
[key: string]: any;
}
-const MagicCard = ({
+const MagicCard: React.FC<MagicCardProps> = ({
className,
children,
size = 600,
@@ -193,11 +193,16 @@ const MagicCard = ({
borderColor = "rgba(120,119,198,0.7)",
isolated = true,
...props
-}: MagicCardProps) => {
+}) => {
return (
<div
{...props}
- className={cn("relative h-full w-full rounded-2xl", className)}
+ className={cn(
+ "relative z-0 h-full w-full rounded-2xl p-6",
+ "bg-gray-300 dark:bg-gray-700",
+ "bg-[radial-gradient(var(--mask-size)_circle_at_var(--mouse-x)_var(--mouse-y),var(--border-color),transparent_100%)]",
+ className,
+ )}
style={
{
"--mask-size": `${size}px`,
@@ -206,18 +211,6 @@ const MagicCard = ({
} as CSSProperties
}
>
- {/* Border */}
- <div
- className={cn(
- "pointer-events-none absolute inset-0 h-full w-full rounded-2xl bg-gray-300 transition-opacity duration-500 dark:bg-gray-700",
- // "bg-[radial-gradient(var(--mask-size)_circle_at_var(--mouse-x)_var(--mouse-y),#ffaa40_0,#9c40ff_50%,transparent_100%)]",
- "bg-[radial-gradient(var(--mask-size)_circle_at_var(--mouse-x)_var(--mouse-y),var(--border-color),transparent_100%)]",
- )}
- />
-
- {/* Background */}
- <div className={"absolute inset-[1px] rounded-2xl bg-background"} />
-
{children}
{/* Spotlight */}
@@ -228,6 +221,13 @@ const MagicCard = ({
}
/>
)}
+
+ {/* Background */}
+ <div
+ className={
+ "absolute inset-[1px] -z-20 rounded-2xl bg-white dark:bg-background"
+ }
+ />
</div>
);
};
diff --git a/registry/components/magicui/shimmer-button.tsx b/registry/components/magicui/shimmer-button.tsx
index 1a371e5c..e04179a0 100644
--- a/registry/components/magicui/shimmer-button.tsx
+++ b/registry/components/magicui/shimmer-button.tsx
@@ -40,7 +40,7 @@ const ShimmerButton = React.forwardRef<HTMLButtonElement, ShimmerButtonProps>(
} as CSSProperties
}
className={cn(
- "group relative cursor-pointer overflow-hidden whitespace-nowrap px-6 py-4 [background:var(--bg)] [border-radius:var(--radius)] ",
+ "group relative z-0 cursor-pointer overflow-hidden whitespace-nowrap px-6 py-4 [background:var(--bg)] [border-radius:var(--radius)] ",
"transition-all duration-300 ease-in-out hover:scale-105 hover:shadow-[0_0_20px_10px_rgba(62,61,117,0.5)]",
className,
)}
@@ -48,7 +48,7 @@ const ShimmerButton = React.forwardRef<HTMLButtonElement, ShimmerButtonProps>(
{...props}
>
{/* spark container */}
- <div className="absolute inset-0 overflow-visible [container-type:size]">
+ <div className="absolute inset-0 -z-30 overflow-visible [container-type:size]">
{/* spark */}
<div className="absolute inset-0 h-[100cqh] animate-slide [aspect-ratio:1] [border-radius:0] [mask:none] ">
{/* spark before */}
@@ -56,13 +56,13 @@ const ShimmerButton = React.forwardRef<HTMLButtonElement, ShimmerButtonProps>(
</div>
</div>
- {/* backdrop */}
- <div className="absolute [background:var(--bg)] [border-radius:var(--radius)] [inset:var(--cut)]" />
{/* content */}
-
- <div className="pointer-events-none relative z-10 flex text-white dark:text-black">
+ <div className="pointer-events-none relative z-10 text-white dark:text-black">
{children}
</div>
+
+ {/* backdrop */}
+ <div className="absolute -z-20 [background:var(--bg)] [border-radius:var(--radius)] [inset:var(--cut)]" />
</button>
);
},
diff --git a/registry/components/magicui/tweet-card.tsx b/registry/components/magicui/tweet-card.tsx
index 6e329e9b..1e7ce8ee 100644
--- a/registry/components/magicui/tweet-card.tsx
+++ b/registry/components/magicui/tweet-card.tsx
@@ -1,6 +1,5 @@
"use client";
-import { Skeleton } from "@/components/ui/skeleton";
import { cn } from "@/lib/utils";
import {
enrichTweet,
@@ -52,6 +51,18 @@ export const truncate = (str: string | null, length: number) => {
return `${str.slice(0, length - 3)}...`;
};
+const Skeleton = ({
+ className,
+ ...props
+}: React.HTMLAttributes<HTMLDivElement>) => {
+ return (
+ <div
+ className={cn("animate-pulse rounded-md bg-primary/10", className)}
+ {...props}
+ />
+ );
+};
+
export const TweetSkeleton = () => (
<div className="flex h-full max-h-max w-full min-w-[18rem] flex-col gap-2 rounded-lg border p-4">
<div className="flex flex-row gap-2">
@@ -144,19 +155,43 @@ export const TweetBody = ({ tweet }: { tweet: EnrichedTweet }) => (
</div>
);
-type Props = {
- tweet: Tweet;
- components?: TwitterComponents;
- className?: string;
-};
+export const TweetMedia = ({ tweet }: { tweet: EnrichedTweet }) => (
+ <div className="flex flex-1 items-center justify-center">
+ {tweet.video && (
+ <video
+ poster={tweet.video.poster}
+ src={tweet.video.variants[0].src}
+ autoPlay
+ loop
+ muted
+ className="rounded-xl border shadow-sm"
+ />
+ )}
+ {tweet.photos && (
+ <div className="flex flex-row gap-2">
+ {tweet.photos.map((photo) => (
+ <img
+ key={photo.url}
+ src={photo.url}
+ className="rounded-xl border shadow-sm"
+ />
+ ))}
+ </div>
+ )}
+ </div>
+);
-export const MyTweet = ({
- tweet: t,
+export const MagicTweet = ({
+ tweet,
components,
className,
...props
-}: Props) => {
- const tweet = enrichTweet(t);
+}: {
+ tweet: Tweet;
+ components?: TwitterComponents;
+ className?: string;
+}) => {
+ const enrichedTweet = enrichTweet(tweet);
return (
<div
className={cn(
@@ -165,35 +200,16 @@ export const MyTweet = ({
)}
{...props}
>
- <TweetHeader tweet={tweet} />
- <TweetBody tweet={tweet} />
- <div className="flex flex-1 items-center justify-center">
- {tweet.video && (
- <video
- poster={tweet.video.poster}
- src={tweet.video.variants[0].src}
- autoPlay
- loop
- muted
- className="rounded-xl border shadow-sm"
- />
- )}
- {tweet.photos && (
- <div className="flex flex-row gap-2">
- {tweet.photos.map((photo) => (
- <img
- key={photo.url}
- src={photo.url}
- className="rounded-xl border shadow-sm"
- />
- ))}
- </div>
- )}
- </div>
+ <TweetHeader tweet={enrichedTweet} />
+ <TweetBody tweet={enrichedTweet} />
+ <TweetMedia tweet={enrichedTweet} />
</div>
);
};
+/**
+ * TweetCard (Client Side Only)
+ */
export const TweetCard = ({
id,
apiUrl,
@@ -210,9 +226,12 @@ export const TweetCard = ({
return <NotFound error={onError ? onError(error) : error} />;
}
- return <MyTweet tweet={data} components={components} {...props} />;
+ return <MagicTweet tweet={data} components={components} {...props} />;
};
+/**
+ * TweetCard (Server Side Only)
+ */
export const ServerTweetCard = ({
tweet,
...props
@@ -220,7 +239,7 @@ export const ServerTweetCard = ({
tweet: any;
[key: string]: any;
}) => {
- return <MyTweet tweet={tweet} {...props} />;
+ return <MagicTweet tweet={tweet} {...props} />;
};
export default TweetCard;
diff --git a/registry/index.tsx b/registry/index.tsx
index 8fb8472a..f72fffcf 100644
--- a/registry/index.tsx
+++ b/registry/index.tsx
@@ -68,6 +68,14 @@ const example: Registry = {
() => import("@/registry/components/example/magic-card-demo"),
),
},
+ "magic-card-gradient": {
+ name: "magic-card-gradient",
+ type: "components:example",
+ files: ["registry/components/example/magic-card-gradient.tsx"],
+ component: React.lazy(
+ () => import("@/registry/components/example/magic-card-gradient"),
+ ),
+ },
"linear-gradient-demo": {
name: "linear-gradient-demo",
type: "components:example",
@@ -181,6 +189,14 @@ const example: Registry = {
() => import("@/registry/components/example/hero-video-demo"),
),
},
+ "hero-video-youtube": {
+ name: "hero-video-youtube",
+ type: "components:example",
+ files: ["registry/components/example/hero-video-youtube.tsx"],
+ component: React.lazy(
+ () => import("@/registry/components/example/hero-video-youtube"),
+ ),
+ },
};
export const registry: Registry = {
diff --git a/styles/globals.css b/styles/globals.css
index cbeb9faa..c31c94c5 100644
--- a/styles/globals.css
+++ b/styles/globals.css
@@ -38,6 +38,7 @@
.dark {
--background: 233 100% 4%;
+ /* --background: 0 0% 0%; */
--foreground: 0 0% 98%;
--muted: 240 3.7% 15.9%;
diff --git a/yarn.lock b/yarn.lock
index f4210d35..50675313 100644
--- a/yarn.lock
+++ b/yarn.lock
@@ -652,62 +652,62 @@
resolved "https://registry.yarnpkg.com/@next-auth/prisma-adapter/-/prisma-adapter-1.0.7.tgz#86195e9cc5a23a9e71370c7e8745b630388143b1"
integrity sha512-Cdko4KfcmKjsyHFrWwZ//lfLUbcLqlyFqjd/nYE2m3aZ7tjMNUjpks47iw7NTCnXf+5UWz5Ypyt1dSs1EP5QJw==
- version "13.4.12"
- resolved "https://registry.yarnpkg.com/@next/env/-/env-13.4.12.tgz#0b88115ab817f178bf9dc0c5e7b367277595b58d"
- integrity sha512-RmHanbV21saP/6OEPBJ7yJMuys68cIf8OBBWd7+uj40LdpmswVAwe1uzeuFyUsd6SfeITWT3XnQfn6wULeKwDQ==
+ version "13.4.19"
+ resolved "https://registry.yarnpkg.com/@next/env/-/env-13.4.19.tgz#46905b4e6f62da825b040343cbc233144e9578d3"
+ integrity sha512-FsAT5x0jF2kkhNkKkukhsyYOrRqtSxrEhfliniIq0bwWbuXLgyt3Gv0Ml+b91XwjwArmuP7NxCiGd++GGKdNMQ==
- version "13.4.12"
- resolved "https://registry.yarnpkg.com/@next/eslint-plugin-next/-/eslint-plugin-next-13.4.12.tgz#e75c4fedd0324d4f8fa8be2eb446270a462d3092"
- integrity sha512-6rhK9CdxEgj/j1qvXIyLTWEaeFv7zOK8yJMulz3Owel0uek0U9MJCGzmKgYxM3aAUBo3gKeywCZKyQnJKto60A==
+ version "13.4.19"
+ resolved "https://registry.yarnpkg.com/@next/eslint-plugin-next/-/eslint-plugin-next-13.4.19.tgz#93d130c37b47fd120f6d111aee36a60611148df1"
+ integrity sha512-N/O+zGb6wZQdwu6atMZHbR7T9Np5SUFUjZqCbj0sXm+MwQO35M8TazVB4otm87GkXYs2l6OPwARd3/PUWhZBVQ==
dependencies:
glob "7.1.7"
- version "13.4.12"
- resolved "https://registry.yarnpkg.com/@next/swc-darwin-arm64/-/swc-darwin-arm64-13.4.12.tgz#326c830b111de8a1a51ac0cbc3bcb157c4c4f92c"
- integrity sha512-deUrbCXTMZ6ZhbOoloqecnUeNpUOupi8SE2tx4jPfNS9uyUR9zK4iXBvH65opVcA/9F5I/p8vDXSYbUlbmBjZg==
-
- version "13.4.12"
- resolved "https://registry.yarnpkg.com/@next/swc-darwin-x64/-/swc-darwin-x64-13.4.12.tgz#dd5c49fc092a8ffe4f30b7aa9bf6c5d2e40bbfa1"
- integrity sha512-WRvH7RxgRHlC1yb5oG0ZLx8F7uci9AivM5/HGGv9ZyG2Als8Ij64GC3d+mQ5sJhWjusyU6T6V1WKTUoTmOB0zQ==
-
- version "13.4.12"
- resolved "https://registry.yarnpkg.com/@next/swc-linux-arm64-gnu/-/swc-linux-arm64-gnu-13.4.12.tgz#816cbe9d26ce4670ea99d95b66041e483ed122d6"
- integrity sha512-YEKracAWuxp54tKiAvvq73PUs9lok57cc8meYRibTWe/VdPB2vLgkTVWFcw31YDuRXdEhdX0fWS6Q+ESBhnEig==
-
- version "13.4.12"
- resolved "https://registry.yarnpkg.com/@next/swc-linux-arm64-musl/-/swc-linux-arm64-musl-13.4.12.tgz#670c8aee221628f65e5b299ee84db746e6c778b0"
- integrity sha512-LhJR7/RAjdHJ2Isl2pgc/JaoxNk0KtBgkVpiDJPVExVWA1c6gzY57+3zWuxuyWzTG+fhLZo2Y80pLXgIJv7g3g==
-
- version "13.4.12"
- resolved "https://registry.yarnpkg.com/@next/swc-linux-x64-gnu/-/swc-linux-x64-gnu-13.4.12.tgz#54c64e689f007ae463698dddc1c6637491c99cb4"
- integrity sha512-1DWLL/B9nBNiQRng+1aqs3OaZcxC16Nf+mOnpcrZZSdyKHek3WQh6j/fkbukObgNGwmCoVevLUa/p3UFTTqgqg==
-
- version "13.4.12"
- resolved "https://registry.yarnpkg.com/@next/swc-linux-x64-musl/-/swc-linux-x64-musl-13.4.12.tgz#9cbddf4e542ef3d32284e0c36ce102facc015f8b"
- integrity sha512-kEAJmgYFhp0VL+eRWmUkVxLVunn7oL9Mdue/FS8yzRBVj7Z0AnIrHpTIeIUl1bbdQq1VaoOztnKicAjfkLTRCQ==
-
- version "13.4.12"
- resolved "https://registry.yarnpkg.com/@next/swc-win32-arm64-msvc/-/swc-win32-arm64-msvc-13.4.12.tgz#3467a4b25429ccf49fd416388c9d19c80a4f6465"
- integrity sha512-GMLuL/loR6yIIRTnPRY6UGbLL9MBdw2anxkOnANxvLvsml4F0HNIgvnU3Ej4BjbqMTNjD4hcPFdlEow4XHPdZA==
-
- version "13.4.12"
- resolved "https://registry.yarnpkg.com/@next/swc-win32-ia32-msvc/-/swc-win32-ia32-msvc-13.4.12.tgz#73494cd167191946833c680b28d6a42435d383a8"
- integrity sha512-PhgNqN2Vnkm7XaMdRmmX0ZSwZXQAtamBVSa9A/V1dfKQCV1rjIZeiy/dbBnVYGdj63ANfsOR/30XpxP71W0eww==
-
- version "13.4.12"
- resolved "https://registry.yarnpkg.com/@next/swc-win32-x64-msvc/-/swc-win32-x64-msvc-13.4.12.tgz#4a497edc4e8c5ee3c3eb27cf0eb39dfadff70874"
- integrity sha512-Z+56e/Ljt0bUs+T+jPjhFyxYBcdY2RIq9ELFU+qAMQMteHo7ymbV7CKmlcX59RI9C4YzN8PgMgLyAoi916b5HA==
+ version "13.4.19"
+ resolved "https://registry.yarnpkg.com/@next/swc-darwin-arm64/-/swc-darwin-arm64-13.4.19.tgz#77ad462b5ced4efdc26cb5a0053968d2c7dac1b6"
+ integrity sha512-vv1qrjXeGbuF2mOkhkdxMDtv9np7W4mcBtaDnHU+yJG+bBwa6rYsYSCI/9Xm5+TuF5SbZbrWO6G1NfTh1TMjvQ==
+
+ version "13.4.19"
+ resolved "https://registry.yarnpkg.com/@next/swc-darwin-x64/-/swc-darwin-x64-13.4.19.tgz#aebe38713a4ce536ee5f2a291673e14b715e633a"
+ integrity sha512-jyzO6wwYhx6F+7gD8ddZfuqO4TtpJdw3wyOduR4fxTUCm3aLw7YmHGYNjS0xRSYGAkLpBkH1E0RcelyId6lNsw==
+
+ version "13.4.19"
+ resolved "https://registry.yarnpkg.com/@next/swc-linux-arm64-gnu/-/swc-linux-arm64-gnu-13.4.19.tgz#ec54db65b587939c7b94f9a84800f003a380f5a6"
+ integrity sha512-vdlnIlaAEh6H+G6HrKZB9c2zJKnpPVKnA6LBwjwT2BTjxI7e0Hx30+FoWCgi50e+YO49p6oPOtesP9mXDRiiUg==
+
+ version "13.4.19"
+ resolved "https://registry.yarnpkg.com/@next/swc-linux-arm64-musl/-/swc-linux-arm64-musl-13.4.19.tgz#1f5e2c1ea6941e7d530d9f185d5d64be04279d86"
+ integrity sha512-aU0HkH2XPgxqrbNRBFb3si9Ahu/CpaR5RPmN2s9GiM9qJCiBBlZtRTiEca+DC+xRPyCThTtWYgxjWHgU7ZkyvA==
+
+ version "13.4.19"
+ resolved "https://registry.yarnpkg.com/@next/swc-linux-x64-gnu/-/swc-linux-x64-gnu-13.4.19.tgz#96b0882492a2f7ffcce747846d3680730f69f4d1"
+ integrity sha512-htwOEagMa/CXNykFFeAHHvMJeqZfNQEoQvHfsA4wgg5QqGNqD5soeCer4oGlCol6NGUxknrQO6VEustcv+Md+g==
+
+ version "13.4.19"
+ resolved "https://registry.yarnpkg.com/@next/swc-linux-x64-musl/-/swc-linux-x64-musl-13.4.19.tgz#f276b618afa321d2f7b17c81fc83f429fb0fd9d8"
+ integrity sha512-4Gj4vvtbK1JH8ApWTT214b3GwUh9EKKQjY41hH/t+u55Knxi/0wesMzwQRhppK6Ddalhu0TEttbiJ+wRcoEj5Q==
+
+ version "13.4.19"
+ resolved "https://registry.yarnpkg.com/@next/swc-win32-arm64-msvc/-/swc-win32-arm64-msvc-13.4.19.tgz#1599ae0d401da5ffca0947823dac577697cce577"
+ integrity sha512-bUfDevQK4NsIAHXs3/JNgnvEY+LRyneDN788W2NYiRIIzmILjba7LaQTfihuFawZDhRtkYCv3JDC3B4TwnmRJw==
+
+ version "13.4.19"
+ resolved "https://registry.yarnpkg.com/@next/swc-win32-ia32-msvc/-/swc-win32-ia32-msvc-13.4.19.tgz#55cdd7da90818f03e4da16d976f0cb22045d16fd"
+ integrity sha512-Y5kikILFAr81LYIFaw6j/NrOtmiM4Sf3GtOc0pn50ez2GCkr+oejYuKGcwAwq3jiTKuzF6OF4iT2INPoxRycEA==
+
+ version "13.4.19"
+ resolved "https://registry.yarnpkg.com/@next/swc-win32-x64-msvc/-/swc-win32-x64-msvc-13.4.19.tgz#648f79c4e09279212ac90d871646ae12d80cdfce"
+ integrity sha512-YzA78jBDXMYiINdPdJJwGgPNT3YqBNNGhsthsDoWHL9p24tEJn9ViQf/ZqTbwSpX/RrkPupLfuuTH2sf73JBAw==
"@nodelib/[email protected]":
version "2.1.5"
@@ -2031,49 +2031,50 @@
resolved "https://registry.yarnpkg.com/@types/unist/-/unist-2.0.6.tgz#250a7b16c3b91f672a24552ec64678eeb1d3a08d"
integrity sha512-PBjIUxZHOuj0R15/xuwJYjFi+KZdNFrehocChv4g5hu6aFroHue8m0lBP0POdK2nKzbw0cgV1mws8+V/JAcEkQ==
-"@typescript-eslint/parser@^5.42.0":
- version "5.60.1"
- resolved "https://registry.yarnpkg.com/@typescript-eslint/parser/-/parser-5.60.1.tgz#0f2f58209c0862a73e3d5a56099abfdfa21d0fd3"
- integrity sha512-pHWlc3alg2oSMGwsU/Is8hbm3XFbcrb6P5wIxcQW9NsYBfnrubl/GhVVD/Jm/t8HXhA2WncoIRfBtnCgRGV96Q==
+"@typescript-eslint/parser@^5.4.2 || ^6.0.0":
+ version "6.5.0"
+ resolved "https://registry.yarnpkg.com/@typescript-eslint/parser/-/parser-6.5.0.tgz#3d6ed231c5e307c5f5f4a0d86893ec01e92b8c77"
+ integrity sha512-LMAVtR5GN8nY0G0BadkG0XIe4AcNMeyEy3DyhKGAh9k4pLSMBO7rF29JvDBpZGCmp5Pgz5RLHP6eCpSYZJQDuQ==
dependencies:
- "@typescript-eslint/scope-manager" "5.60.1"
- "@typescript-eslint/types" "5.60.1"
- "@typescript-eslint/typescript-estree" "5.60.1"
+ "@typescript-eslint/scope-manager" "6.5.0"
+ "@typescript-eslint/types" "6.5.0"
+ "@typescript-eslint/typescript-estree" "6.5.0"
+ "@typescript-eslint/visitor-keys" "6.5.0"
debug "^4.3.4"
-"@typescript-eslint/[email protected]":
- version "5.60.1"
- resolved "https://registry.yarnpkg.com/@typescript-eslint/scope-manager/-/scope-manager-5.60.1.tgz#35abdb47f500c68c08f2f2b4f22c7c79472854bb"
- integrity sha512-Dn/LnN7fEoRD+KspEOV0xDMynEmR3iSHdgNsarlXNLGGtcUok8L4N71dxUgt3YvlO8si7E+BJ5Fe3wb5yUw7DQ==
+"@typescript-eslint/[email protected]":
+ version "6.5.0"
+ resolved "https://registry.yarnpkg.com/@typescript-eslint/scope-manager/-/scope-manager-6.5.0.tgz#f2cb20895aaad41b3ad27cc3a338ce8598f261c5"
+ integrity sha512-A8hZ7OlxURricpycp5kdPTH3XnjG85UpJS6Fn4VzeoH4T388gQJ/PGP4ole5NfKt4WDVhmLaQ/dBLNDC4Xl/Kw==
dependencies:
- "@typescript-eslint/types" "5.60.1"
- "@typescript-eslint/visitor-keys" "5.60.1"
+ "@typescript-eslint/types" "6.5.0"
+ "@typescript-eslint/visitor-keys" "6.5.0"
-"@typescript-eslint/[email protected]":
- version "5.60.1"
- resolved "https://registry.yarnpkg.com/@typescript-eslint/types/-/types-5.60.1.tgz#a17473910f6b8d388ea83c9d7051af89c4eb7561"
- integrity sha512-zDcDx5fccU8BA0IDZc71bAtYIcG9PowaOwaD8rjYbqwK7dpe/UMQl3inJ4UtUK42nOCT41jTSCwg76E62JpMcg==
+"@typescript-eslint/[email protected]":
+ version "6.5.0"
+ resolved "https://registry.yarnpkg.com/@typescript-eslint/types/-/types-6.5.0.tgz#f4e55cfd99ac5346ea772770bf212a3e689a8f04"
+ integrity sha512-eqLLOEF5/lU8jW3Bw+8auf4lZSbbljHR2saKnYqON12G/WsJrGeeDHWuQePoEf9ro22+JkbPfWQwKEC5WwLQ3w==
-"@typescript-eslint/[email protected]":
- version "5.60.1"
- resolved "https://registry.yarnpkg.com/@typescript-eslint/typescript-estree/-/typescript-estree-5.60.1.tgz#8c71824b7165b64d5ebd7aa42968899525959834"
- integrity sha512-hkX70J9+2M2ZT6fhti5Q2FoU9zb+GeZK2SLP1WZlvUDqdMbEKhexZODD1WodNRyO8eS+4nScvT0dts8IdaBzfw==
+"@typescript-eslint/[email protected]":
+ version "6.5.0"
+ resolved "https://registry.yarnpkg.com/@typescript-eslint/typescript-estree/-/typescript-estree-6.5.0.tgz#1cef6bc822585e9ef89d88834bc902d911d747ed"
+ integrity sha512-q0rGwSe9e5Kk/XzliB9h2LBc9tmXX25G0833r7kffbl5437FPWb2tbpIV9wAATebC/018pGa9fwPDuvGN+LxWQ==
dependencies:
- "@typescript-eslint/types" "5.60.1"
- "@typescript-eslint/visitor-keys" "5.60.1"
+ "@typescript-eslint/types" "6.5.0"
+ "@typescript-eslint/visitor-keys" "6.5.0"
debug "^4.3.4"
globby "^11.1.0"
is-glob "^4.0.3"
- semver "^7.3.7"
- tsutils "^3.21.0"
+ semver "^7.5.4"
+ ts-api-utils "^1.0.1"
-"@typescript-eslint/[email protected]":
- version "5.60.1"
- resolved "https://registry.yarnpkg.com/@typescript-eslint/visitor-keys/-/visitor-keys-5.60.1.tgz#19a877358bf96318ec35d90bfe6bd1445cce9434"
- integrity sha512-xEYIxKcultP6E/RMKqube11pGjXH1DCo60mQoWhVYyKfLkwbIVVjYxmOenNMxILx0TjCujPTjjnTIVzm09TXIw==
+"@typescript-eslint/[email protected]":
+ version "6.5.0"
+ resolved "https://registry.yarnpkg.com/@typescript-eslint/visitor-keys/-/visitor-keys-6.5.0.tgz#1a6f474a0170a447b76f0699ce6700110fd11436"
+ integrity sha512-yCB/2wkbv3hPsh02ZS8dFQnij9VVQXJMN/gbQsaaY+zxALkZnxa/wagvLEFsAWMPv7d7lxQmNsIzGU1w/T/WyA==
dependencies:
- "@typescript-eslint/types" "5.60.1"
- eslint-visitor-keys "^3.3.0"
+ "@typescript-eslint/types" "6.5.0"
+ eslint-visitor-keys "^3.4.1"
abbrev@^1.0.0:
version "1.1.1"
@@ -2481,7 +2482,7 @@ chainsaw@~0.1.0:
dependencies:
traverse ">=0.3.0 <0.4"
-chalk@^2.0.0:
+chalk@^2.0.0, chalk@^2.4.1:
version "2.4.2"
resolved "https://registry.yarnpkg.com/chalk/-/chalk-2.4.2.tgz#cd42541677a54333cf541a49108c1432b44c9424"
integrity sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==
@@ -2719,6 +2720,17 @@ create-require@^1.1.0:
resolved "https://registry.yarnpkg.com/create-require/-/create-require-1.1.1.tgz#c1d7e8f1e5f6cfc9ff65f9cd352d37348756c333"
integrity sha512-dcKFX3jn0MpIaXjisoRvexIJVEKzaq7z2rZKxf+MSr9TkdmHmsU4m2lcLojrj/FHl8mk5VxMmYA+ftRkP/3oKQ==
+cross-spawn@^6.0.5:
+ version "6.0.5"
+ resolved "https://registry.yarnpkg.com/cross-spawn/-/cross-spawn-6.0.5.tgz#4a5ec7c64dfae22c3a14124dbacdee846d80cbc4"
+ integrity sha512-eTVLrBSt7fjbDygz805pMnstIs2VTBNkRm0qxZd+M7A5XDdxVRWO5MxGBXZhjY4cqLYLdtrGqRf8mBPmzwSpWQ==
+ dependencies:
+ nice-try "^1.0.4"
+ path-key "^2.0.1"
+ semver "^5.5.0"
+ shebang-command "^1.2.0"
+ which "^1.2.9"
+
cross-spawn@^7.0.2, cross-spawn@^7.0.3:
version "7.0.3"
resolved "https://registry.yarnpkg.com/cross-spawn/-/cross-spawn-7.0.3.tgz#f73a85b9d5d41d045551c177e2882d4ac85728a6"
@@ -3134,20 +3146,20 @@ escape-string-regexp@^5.0.0:
resolved "https://registry.yarnpkg.com/escape-string-regexp/-/escape-string-regexp-5.0.0.tgz#4683126b500b61762f2dbebace1806e8be31b1c8"
integrity sha512-/veY75JbMK4j1yjvuUxuVsiS/hr/4iHs9FTT6cgTexxdE0Ly/glccBAkloH/DofkjRbZU3bnoj38mOmhkZ0lHw==
- version "13.4.12"
- resolved "https://registry.yarnpkg.com/eslint-config-next/-/eslint-config-next-13.4.12.tgz#a42ed2f590855a0481c8bbec49e26db56ad3793f"
- integrity sha512-ZF0r5vxKaVazyZH/37Au/XItiG7qUOBw+HaH3PeyXltIMwXorsn6bdrl0Nn9N5v5v9spc+6GM2ryjugbjF6X2g==
+ version "13.4.19"
+ resolved "https://registry.yarnpkg.com/eslint-config-next/-/eslint-config-next-13.4.19.tgz#f46be9d4bd9e52755f846338456132217081d7f8"
+ integrity sha512-WE8367sqMnjhWHvR5OivmfwENRQ1ixfNE9hZwQqNCsd+iM3KnuMc1V8Pt6ytgjxjf23D+xbesADv9x3xaKfT3g==
dependencies:
- "@next/eslint-plugin-next" "13.4.12"
+ "@next/eslint-plugin-next" "13.4.19"
"@rushstack/eslint-patch" "^1.1.3"
- "@typescript-eslint/parser" "^5.42.0"
+ "@typescript-eslint/parser" "^5.4.2 || ^6.0.0"
eslint-import-resolver-node "^0.3.6"
eslint-import-resolver-typescript "^3.5.2"
eslint-plugin-import "^2.26.0"
eslint-plugin-jsx-a11y "^6.5.1"
eslint-plugin-react "^7.31.7"
- eslint-plugin-react-hooks "5.0.0-canary-7118f5dd7-20230705"
+ eslint-plugin-react-hooks "^4.5.0 || 5.0.0-canary-7118f5dd7-20230705"
eslint-import-resolver-node@^0.3.6, eslint-import-resolver-node@^0.3.7:
version "0.3.7"
@@ -3222,10 +3234,10 @@ eslint-plugin-jsx-a11y@^6.5.1:
object.fromentries "^2.0.6"
semver "^6.3.0"
- version "5.0.0-canary-7118f5dd7-20230705"
- resolved "https://registry.yarnpkg.com/eslint-plugin-react-hooks/-/eslint-plugin-react-hooks-5.0.0-canary-7118f5dd7-20230705.tgz#4d55c50e186f1a2b0636433d2b0b2f592ddbccfd"
- integrity sha512-AZYbMo/NW9chdL7vk6HQzQhT+PvTAEVqWk9ziruUoW2kAOcN5qNyelv70e0F1VNQAbvutOC9oc+xfWycI9FxDw==
+"eslint-plugin-react-hooks@^4.5.0 || 5.0.0-canary-7118f5dd7-20230705":
+ version "4.6.0"
+ resolved "https://registry.yarnpkg.com/eslint-plugin-react-hooks/-/eslint-plugin-react-hooks-4.6.0.tgz#4c3e697ad95b77e93f8646aaa1630c1ba607edd3"
+ integrity sha512-oFc7Itz9Qxh2x4gNHStv3BqJq54ExXmfC+a1NjAta66IAN87Wu0R/QArgIS9qKzX3dXKPI9H5crl9QchNMY9+g==
eslint-plugin-react@^7.31.7:
version "7.32.2"
@@ -4493,6 +4505,11 @@ jsbi@^4.3.0:
resolved "https://registry.yarnpkg.com/jsbi/-/jsbi-4.3.0.tgz#b54ee074fb6fcbc00619559305c8f7e912b04741"
integrity sha512-SnZNcinB4RIcnEyZqFPdGPVgrg2AcnykiBy0sHVJQKHYeaLUvi3Exj+iaPpLnFVkDPZIV4U0yvgC9/R4uEAZ9g==
+json-parse-better-errors@^1.0.1:
+ version "1.0.2"
+ resolved "https://registry.yarnpkg.com/json-parse-better-errors/-/json-parse-better-errors-1.0.2.tgz#bb867cfb3450e69107c131d1c514bab3dc8bcaa9"
+ integrity sha512-mrqyZKfX5EhL7hvqcV6WG1yYjnjeuYDzDhhcAAUrq8Po85NBQBJP+ZDUT75qZQ98IkUoBqdkExkukOU7Ts2wrw==
+
json-parse-even-better-errors@^2.3.0:
version "2.3.1"
resolved "https://registry.yarnpkg.com/json-parse-even-better-errors/-/json-parse-even-better-errors-2.3.1.tgz#7c47805a94319928e05777405dc12e1f7a4ee02d"
@@ -4603,6 +4620,16 @@ listenercount@~1.0.1:
resolved "https://registry.yarnpkg.com/listenercount/-/listenercount-1.0.1.tgz#84c8a72ab59c4725321480c975e6508342e70937"
integrity sha512-3mk/Zag0+IJxeDrxSgaDPy4zZ3w05PRZeJNnlWhzFz5OkX49J4krc+A8X2d2M69vGMBEX0uyl8M+W+8gH+kBqQ==
+load-json-file@^4.0.0:
+ version "4.0.0"
+ resolved "https://registry.yarnpkg.com/load-json-file/-/load-json-file-4.0.0.tgz#2f5f45ab91e33216234fd53adab668eb4ec0993b"
+ integrity sha512-Kx8hMakjX03tiGTLAIdJ+lL0htKnXjEZN6hk/tozf/WOuYGdZBJrZ+rCJRbVCugsjB3jMLn9746NsQIf5VjBMw==
+ dependencies:
+ graceful-fs "^4.1.2"
+ parse-json "^4.0.0"
+ pify "^3.0.0"
+ strip-bom "^3.0.0"
+
locate-path@^5.0.0:
version "5.0.0"
resolved "https://registry.yarnpkg.com/locate-path/-/locate-path-5.0.0.tgz#1afba396afd676a6d42504d0a67a3a7eb9f62aa0"
@@ -4689,10 +4716,10 @@ lru-cache@^6.0.0:
dependencies:
yallist "^4.0.0"
-lucide-react@^0.248.0:
- version "0.248.0"
- resolved "https://registry.yarnpkg.com/lucide-react/-/lucide-react-0.248.0.tgz#1225af1d4fe39c084366b2b82cf275f6088ca235"
- integrity sha512-zMqVvwsvhLV6ooekfM8HEngR/lLGkIgOwZ4X140K+CDdAPwfp9LARnmJhMF32wlDganAIVEgN7saIv3pcCLUVw==
+lucide-react@^0.274.0:
+ version "0.274.0"
+ resolved "https://registry.yarnpkg.com/lucide-react/-/lucide-react-0.274.0.tgz#d3b54dcb972b12f1292061448d61d422ef2e269d"
+ integrity sha512-qiWcojRXEwDiSimMX1+arnxha+ROJzZjJaVvCC0rsG6a9pUPjZePXSq7em4ZKMp0NDm1hyzPNkM7UaWC3LU2AA==
make-error@^1.1.1:
version "1.3.6"
@@ -4942,6 +4969,11 @@ memfs@^3.5.1:
dependencies:
fs-monkey "^1.0.4"
+memorystream@^0.3.1:
+ version "0.3.1"
+ resolved "https://registry.yarnpkg.com/memorystream/-/memorystream-0.3.1.tgz#86d7090b30ce455d63fbae12dda51a47ddcaf9b2"
+ integrity sha512-S3UwM3yj5mtUSEfP41UZmt/0SCoVYUcU1rkXv+BQ5Ig8ndL4sPoJNBUJERafdPb5jjHJGuMgytgKvKIf58XNBw==
+
merge-stream@^2.0.0:
version "2.0.0"
resolved "https://registry.yarnpkg.com/merge-stream/-/merge-stream-2.0.0.tgz#52823629a14dd00c9770fb6ad47dc6310f2c1f60"
@@ -5447,12 +5479,12 @@ next-themes@^0.2.1:
resolved "https://registry.yarnpkg.com/next-themes/-/next-themes-0.2.1.tgz#0c9f128e847979daf6c67f70b38e6b6567856e45"
integrity sha512-B+AKNfYNIzh0vqQQKqQItTS8evEouKD7H5Hj3kmuPERwddR2TxvDSFZuTj6T7Jfn1oyeUyJMydPl1Bkxkh0W7A==
- version "13.4.12"
- resolved "https://registry.yarnpkg.com/next/-/next-13.4.12.tgz#809b21ea0aabbe88ced53252c88c4a5bd5af95df"
- integrity sha512-eHfnru9x6NRmTMcjQp6Nz0J4XH9OubmzOa7CkWL+AUrUxpibub3vWwttjduu9No16dug1kq04hiUUpo7J3m3Xw==
+ version "13.4.19"
+ resolved "https://registry.yarnpkg.com/next/-/next-13.4.19.tgz#2326e02aeedee2c693d4f37b90e4f0ed6882b35f"
+ integrity sha512-HuPSzzAbJ1T4BD8e0bs6B9C1kWQ6gv8ykZoRWs5AQoiIuqbGHHdQO7Ljuvg05Q0Z24E2ABozHe6FxDvI6HfyAw==
dependencies:
- "@next/env" "13.4.12"
+ "@next/env" "13.4.19"
"@swc/helpers" "0.5.1"
busboy "1.6.0"
caniuse-lite "^1.0.30001406"
@@ -5461,15 +5493,20 @@ [email protected]:
watchpack "2.4.0"
zod "3.21.4"
optionalDependencies:
- "@next/swc-darwin-arm64" "13.4.12"
- "@next/swc-darwin-x64" "13.4.12"
- "@next/swc-linux-arm64-gnu" "13.4.12"
- "@next/swc-linux-arm64-musl" "13.4.12"
- "@next/swc-linux-x64-gnu" "13.4.12"
- "@next/swc-linux-x64-musl" "13.4.12"
- "@next/swc-win32-arm64-msvc" "13.4.12"
- "@next/swc-win32-ia32-msvc" "13.4.12"
- "@next/swc-win32-x64-msvc" "13.4.12"
+ "@next/swc-darwin-arm64" "13.4.19"
+ "@next/swc-darwin-x64" "13.4.19"
+ "@next/swc-linux-arm64-gnu" "13.4.19"
+ "@next/swc-linux-arm64-musl" "13.4.19"
+ "@next/swc-linux-x64-gnu" "13.4.19"
+ "@next/swc-linux-x64-musl" "13.4.19"
+ "@next/swc-win32-arm64-msvc" "13.4.19"
+ "@next/swc-win32-ia32-msvc" "13.4.19"
+ "@next/swc-win32-x64-msvc" "13.4.19"
+
+nice-try@^1.0.4:
+ version "1.0.5"
+ resolved "https://registry.yarnpkg.com/nice-try/-/nice-try-1.0.5.tgz#a3378a7696ce7d223e88fc9b764bd7ef1089e366"
+ integrity sha512-1nh45deeb5olNY7eX82BkPO7SSxR5SSYJiPTrTdFUVYwAl8CKMA5N9PjTYkHiRjisVcxcQ1HXdLhx2qxxJzLNQ==
no-case@^3.0.4:
version "3.0.4"
@@ -5517,7 +5554,7 @@ nopt@^6.0.0:
dependencies:
abbrev "^1.0.0"
-normalize-package-data@^2.5.0:
+normalize-package-data@^2.3.2, normalize-package-data@^2.5.0:
version "2.5.0"
resolved "https://registry.yarnpkg.com/normalize-package-data/-/normalize-package-data-2.5.0.tgz#e66db1838b200c1dfc233225d12cb36520e234a8"
integrity sha512-/5CMN3T0R4XTj4DcGaexo+roZSdSFW/0AOOTROrjxzCG1wrWXEsGbRKevjlIL+ZDE4sZlJr5ED4YW0yqmkK+eA==
@@ -5537,6 +5574,21 @@ normalize-range@^0.1.2:
resolved "https://registry.yarnpkg.com/normalize-range/-/normalize-range-0.1.2.tgz#2d10c06bdfd312ea9777695a4d28439456b75942"
integrity sha512-bdok/XvKII3nUpklnV6P2hxtMNrCboOjAcyBuQnWEhO665FwrSNRxU+AqpsyvO6LgGYPspN+lu5CLtw4jPRKNA==
+npm-run-all@^4.1.5:
+ version "4.1.5"
+ resolved "https://registry.yarnpkg.com/npm-run-all/-/npm-run-all-4.1.5.tgz#04476202a15ee0e2e214080861bff12a51d98fba"
+ integrity sha512-Oo82gJDAVcaMdi3nuoKFavkIHBRVqQ1qvMb+9LHk/cF4P6B2m8aP04hGf7oL6wZ9BuGwX1onlLhpuoofSyoQDQ==
+ dependencies:
+ ansi-styles "^3.2.1"
+ chalk "^2.4.1"
+ cross-spawn "^6.0.5"
+ memorystream "^0.3.1"
+ minimatch "^3.0.4"
+ pidtree "^0.3.0"
+ read-pkg "^3.0.0"
+ shell-quote "^1.6.1"
+ string.prototype.padend "^3.0.0"
+
npm-run-path@^4.0.1:
version "4.0.1"
resolved "https://registry.yarnpkg.com/npm-run-path/-/npm-run-path-4.0.1.tgz#b7ecd1e5ed53da8e37a55e1c2269e0b97ed748ea"
@@ -5763,6 +5815,14 @@ parse-entities@^4.0.0:
is-decimal "^2.0.0"
is-hexadecimal "^2.0.0"
+parse-json@^4.0.0:
+ version "4.0.0"
+ resolved "https://registry.yarnpkg.com/parse-json/-/parse-json-4.0.0.tgz#be35f5425be1f7f6c747184f98a788cb99477ee0"
+ integrity sha512-aOIos8bujGN93/8Ox/jPLh7RwVnPEysynVFE+fQZyg6jKELEHwzgKdLRFHUgXJL6kylijVSBC4BvN9OmsB48Rw==
+ dependencies:
+ error-ex "^1.3.1"
+ json-parse-better-errors "^1.0.1"
+
parse-json@^5.0.0:
version "5.2.0"
resolved "https://registry.yarnpkg.com/parse-json/-/parse-json-5.2.0.tgz#c76fc66dee54231c962b22bcc8a72cf2f99753cd"
@@ -5809,6 +5869,11 @@ path-is-absolute@^1.0.0:
resolved "https://registry.yarnpkg.com/path-is-absolute/-/path-is-absolute-1.0.1.tgz#174b9268735534ffbc7ace6bf53a5a9e1b5c5f5f"
integrity sha512-AVbw3UJ2e9bq64vSaS9Am0fje1Pa8pbGqTTsmXfaIiMpnr5DlDhfJOuLj9Sf95ZPVDAUerDfEk88MPmPe7UCQg==
+path-key@^2.0.1:
+ version "2.0.1"
+ resolved "https://registry.yarnpkg.com/path-key/-/path-key-2.0.1.tgz#411cadb574c5a140d3a4b1910d40d80cc9f40b40"
+ integrity sha512-fEHGKCSmUSDPv4uoj8AlD+joPlq3peND+HRYyxFz4KPw4z926S/b8rIuFs2FYJg3BwsxJf6A9/3eIdLaYC+9Dw==
+
path-key@^3.0.0, path-key@^3.1.0:
version "3.1.1"
resolved "https://registry.yarnpkg.com/path-key/-/path-key-3.1.1.tgz#581f6ade658cbba65a0d3380de7753295054f375"
@@ -5824,6 +5889,13 @@ path-parse@^1.0.7:
resolved "https://registry.yarnpkg.com/path-parse/-/path-parse-1.0.7.tgz#fbc114b60ca42b30d9daf5858e4bd68bbedb6735"
integrity sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==
+path-type@^3.0.0:
+ version "3.0.0"
+ resolved "https://registry.yarnpkg.com/path-type/-/path-type-3.0.0.tgz#cef31dc8e0a1a3bb0d105c0cd97cf3bf47f4e36f"
+ integrity sha512-T2ZUsdZFHgA3u4e5PfPbjd7HDDpxPnQb5jN0SrDsjNSuVXHJqtwTnWqG0B1jZrgmJ/7lj1EmVIByWt1gxGkWvg==
+ dependencies:
+ pify "^3.0.0"
+
path-type@^4.0.0:
version "4.0.0"
resolved "https://registry.yarnpkg.com/path-type/-/path-type-4.0.0.tgz#84ed01c0a7ba380afe09d90a8c180dcd9d03043b"
@@ -5858,11 +5930,21 @@ picomatch@^2.0.4, picomatch@^2.2.1, picomatch@^2.3.1:
resolved "https://registry.yarnpkg.com/picomatch/-/picomatch-2.3.1.tgz#3ba3833733646d9d3e4995946c1365a67fb07a42"
integrity sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==
+pidtree@^0.3.0:
+ version "0.3.1"
+ resolved "https://registry.yarnpkg.com/pidtree/-/pidtree-0.3.1.tgz#ef09ac2cc0533df1f3250ccf2c4d366b0d12114a"
+ integrity sha512-qQbW94hLHEqCg7nhby4yRC7G2+jYHY4Rguc2bjw7Uug4GIJuu1tvf2uHaZv5Q8zdt+WKJ6qK1FOI6amaWUo5FA==
+
pify@^2.3.0:
version "2.3.0"
resolved "https://registry.yarnpkg.com/pify/-/pify-2.3.0.tgz#ed141a6ac043a849ea588498e7dca8b15330e90c"
integrity sha512-udgsAY+fTnvv7kI7aaxbqwWNb0AHiB0qBO89PZKPkoTmGOgdbrHDKD+0B2X4uTfJ/FT1R09r9gTsjUjNJotuog==
+pify@^3.0.0:
+ version "3.0.0"
+ resolved "https://registry.yarnpkg.com/pify/-/pify-3.0.0.tgz#e5a4acd2c101fdf3d9a4d07f0dbc4db49dd28176"
+ integrity sha512-C3FsVNH1udSEX48gGX1xfvwTWfsYWj5U+8/uK15BGzIGrKoUpghX8hWZwa/OFnakBiiVNmBvemTJR5mcy7iPcg==
+
pify@^4.0.1:
version "4.0.1"
resolved "https://registry.yarnpkg.com/pify/-/pify-4.0.1.tgz#4b2cd25c50d598735c50292224fd8c6df41e3231"
@@ -6259,6 +6341,15 @@ [email protected]:
parse-json "^5.0.0"
type-fest "^0.6.0"
+read-pkg@^3.0.0:
+ version "3.0.0"
+ resolved "https://registry.yarnpkg.com/read-pkg/-/read-pkg-3.0.0.tgz#9cbc686978fee65d16c00e2b19c237fcf6e38389"
+ integrity sha512-BLq/cCO9two+lBgiTYNqD6GdtK8s4NpaWrl6/rCO9w0TUS8oJl7cmToOZfRYllKTISY6nt1U7jQ53brmKqY6BA==
+ dependencies:
+ load-json-file "^4.0.0"
+ normalize-package-data "^2.3.2"
+ path-type "^3.0.0"
+
read-yaml-file@^1.1.0:
version "1.1.0"
resolved "https://registry.yarnpkg.com/read-yaml-file/-/read-yaml-file-1.1.0.tgz#9362bbcbdc77007cc8ea4519fe1c0b821a7ce0d8"
@@ -6584,23 +6675,42 @@ selderee@^0.10.0:
resolved "https://registry.yarnpkg.com/semver/-/semver-5.7.1.tgz#a954f931aeba508d307bbf069eff0c01c96116f7"
integrity sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==
+semver@^5.5.0:
+ version "5.7.2"
+ resolved "https://registry.yarnpkg.com/semver/-/semver-5.7.2.tgz#48d55db737c3287cd4835e17fa13feace1c41ef8"
+ integrity sha512-cBznnQ9KjJqU67B52RMC65CMarK2600WFnbkcaiwWq3xy/5haFJlshgnpjovMVJ+Hff49d8GEn0b87C5pDQ10g==
+
semver@^6.3.0:
version "6.3.0"
resolved "https://registry.yarnpkg.com/semver/-/semver-6.3.0.tgz#ee0a64c8af5e8ceea67687b133761e1becbd1d3d"
integrity sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==
-semver@^7.3.5, semver@^7.3.7:
+semver@^7.3.5:
version "7.5.3"
resolved "https://registry.yarnpkg.com/semver/-/semver-7.5.3.tgz#161ce8c2c6b4b3bdca6caadc9fa3317a4c4fe88e"
integrity sha512-QBlUtyVk/5EeHbi7X0fw6liDZc7BBmEaSYn01fMU1OUYbf6GPsbTtd8WmnqbI20SeycoHSeiybkE/q1Q+qlThQ==
dependencies:
lru-cache "^6.0.0"
+semver@^7.5.4:
+ version "7.5.4"
+ resolved "https://registry.yarnpkg.com/semver/-/semver-7.5.4.tgz#483986ec4ed38e1c6c48c34894a9182dbff68a6e"
+ integrity sha512-1bCSESV6Pv+i21Hvpxp3Dx+pSD8lIPt8uVjRrxAUt/nbswYc+tK6Y2btiULjd4+fnq15PX+nqQDC7Oft7WkwcA==
+ dependencies:
+ lru-cache "^6.0.0"
+
setimmediate@~1.0.4:
version "1.0.5"
resolved "https://registry.yarnpkg.com/setimmediate/-/setimmediate-1.0.5.tgz#290cbb232e306942d7d7ea9b83732ab7856f8285"
integrity sha512-MATJdZp8sLqDl/68LfQmbP8zKPLQNV6BIZoIgrscFDQ+RsvK/BxeDQOgyxKKoh0y/8h3BqVFnCqQ/gd+reiIXA==
+shebang-command@^1.2.0:
+ version "1.2.0"
+ resolved "https://registry.yarnpkg.com/shebang-command/-/shebang-command-1.2.0.tgz#44aac65b695b03398968c39f363fee5deafdf1ea"
+ integrity sha512-EV3L1+UQWGor21OmnvojK36mhg+TyIKDh3iFBKBohr5xeXIhNBcx8oWdgkTEEQ+BEFFYdLRuqMfd5L84N1V5Vg==
+ dependencies:
+ shebang-regex "^1.0.0"
+
shebang-command@^2.0.0:
version "2.0.0"
resolved "https://registry.yarnpkg.com/shebang-command/-/shebang-command-2.0.0.tgz#ccd0af4f8835fbdc265b82461aaf0c36663f34ea"
@@ -6608,11 +6718,21 @@ shebang-command@^2.0.0:
dependencies:
shebang-regex "^3.0.0"
+shebang-regex@^1.0.0:
+ version "1.0.0"
+ resolved "https://registry.yarnpkg.com/shebang-regex/-/shebang-regex-1.0.0.tgz#da42f49740c0b42db2ca9728571cb190c98efea3"
+ integrity sha512-wpoSFAxys6b2a2wHZ1XpDSgD7N9iVjg29Ph9uV/uaP9Ex/KXlkTZTeddxDPSYQpgvzKLGJke2UU0AzoGCjNIvQ==
+
shebang-regex@^3.0.0:
version "3.0.0"
resolved "https://registry.yarnpkg.com/shebang-regex/-/shebang-regex-3.0.0.tgz#ae16f1644d873ecad843b0307b143362d4c42172"
integrity sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==
+shell-quote@^1.6.1:
+ version "1.8.1"
+ resolved "https://registry.yarnpkg.com/shell-quote/-/shell-quote-1.8.1.tgz#6dbf4db75515ad5bac63b4f1894c3a154c766680"
+ integrity sha512-6j1W9l1iAs/4xYBI1SYOVZyFcCis9b4KCLQ8fgAGG07QvzaRLVVRQvAy85yNmmZSjYjg4MWh4gNvlPujU/5LpA==
+
version "0.8.5"
resolved "https://registry.yarnpkg.com/shelljs/-/shelljs-0.8.5.tgz#de055408d8361bed66c669d2f000538ced8ee20c"
@@ -6755,6 +6875,15 @@ string.prototype.matchall@^4.0.8:
regexp.prototype.flags "^1.4.3"
side-channel "^1.0.4"
+string.prototype.padend@^3.0.0:
+ version "3.1.4"
+ resolved "https://registry.yarnpkg.com/string.prototype.padend/-/string.prototype.padend-3.1.4.tgz#2c43bb3a89eb54b6750de5942c123d6c98dd65b6"
+ integrity sha512-67otBXoksdjsnXXRUq+KMVTdlVRZ2af422Y0aTyTjVaoQkGr3mxl2Bc5emi7dOQ3OGVVQQskmLEWwFXwommpNw==
+ dependencies:
+ call-bind "^1.0.2"
+ define-properties "^1.1.4"
+ es-abstract "^1.20.4"
+
string.prototype.trim@^1.2.7:
version "1.2.7"
resolved "https://registry.yarnpkg.com/string.prototype.trim/-/string.prototype.trim-1.2.7.tgz#a68352740859f6893f14ce3ef1bb3037f7a90533"
@@ -7050,6 +7179,11 @@ trough@^2.0.0:
resolved "https://registry.yarnpkg.com/trough/-/trough-2.1.0.tgz#0f7b511a4fde65a46f18477ab38849b22c554876"
integrity sha512-AqTiAOLcj85xS7vQ8QkAV41hPDIJ71XJB4RCUrzo/1GM2CQwhkJGaf9Hgr7BOugMRpgGUrqRg/DrBDl4H40+8g==
+ts-api-utils@^1.0.1:
+ version "1.0.2"
+ resolved "https://registry.yarnpkg.com/ts-api-utils/-/ts-api-utils-1.0.2.tgz#7c094f753b6705ee4faee25c3c684ade52d66d99"
+ integrity sha512-Cbu4nIqnEdd+THNEsBdkolnOXhg0I8XteoHaEKgvsxpsbWda4IsUut2c187HxywQCvveojow0Dgw/amxtSKVkQ==
+
ts-interface-checker@^0.1.9:
version "0.1.13"
resolved "https://registry.yarnpkg.com/ts-interface-checker/-/ts-interface-checker-0.1.13.tgz#784fd3d679722bc103b1b4b8030bcddb5db2a699"
@@ -7089,23 +7223,11 @@ tsconfig-paths@^3.14.1:
minimist "^1.2.6"
strip-bom "^3.0.0"
-tslib@^1.8.1:
- version "1.14.1"
- resolved "https://registry.yarnpkg.com/tslib/-/tslib-1.14.1.tgz#cf2d38bdc34a134bcaf1091c41f6619e2f672d00"
- integrity sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==
-
tslib@^2.0.0, tslib@^2.0.3, tslib@^2.1.0, tslib@^2.4.0, tslib@^2.4.1, tslib@^2.5.0:
version "2.6.0"
resolved "https://registry.yarnpkg.com/tslib/-/tslib-2.6.0.tgz#b295854684dbda164e181d259a22cd779dcd7bc3"
integrity sha512-7At1WUettjcSRHXCyYtTselblcHl9PJFFVKiCAy/bY97+BPZXSQ2wbq0P9s8tK2G7dFQfNnlJnPAiArVBVBsfA==
-tsutils@^3.21.0:
- version "3.21.0"
- resolved "https://registry.yarnpkg.com/tsutils/-/tsutils-3.21.0.tgz#b48717d394cea6c1e096983eed58e9d61715b623"
- integrity sha512-mHKK3iUXL+3UF6xL5k0PEhKRUBKPBCv/+RkEOpjRWxxx27KKRBmmA60A9pgOUvMi8GKhRMPEmjBRPzs2W7O1OA==
- dependencies:
- tslib "^1.8.1"
-
version "0.0.11"
resolved "https://registry.yarnpkg.com/tw-to-css/-/tw-to-css-0.0.11.tgz#5e7c5e461f946be2cd7994c884b5e3ae798bc5be"
@@ -7450,6 +7572,13 @@ which-typed-array@^1.1.9:
has-tostringtag "^1.0.0"
is-typed-array "^1.1.10"
+which@^1.2.9:
+ version "1.3.1"
+ resolved "https://registry.yarnpkg.com/which/-/which-1.3.1.tgz#a45043d54f5805316da8d62f9f50918d3da70b0a"
+ integrity sha512-HxJdYWq1MTIQbJ3nw0cqssHoTNU267KlrDuGZ1WYlxDStUtKUhOaJmh112/TZmHxxUfuJqPXSOm7tDyas0OSIQ==
+ dependencies:
+ isexe "^2.0.0"
+
which@^2.0.1:
version "2.0.2"
resolved "https://registry.yarnpkg.com/which/-/which-2.0.2.tgz#7c6a8dd0a636a0327e10b59c9286eee93f3f51b1"