Connect, collaborate, and grow with a community of TypeScript developers
Break out UI package (#355)
Anthony Shewda38c5bd071f
diff --git a/apps/web/package.json b/apps/web/package.jsonindex 90b80bbc..e98cf7d5 100644--- a/apps/web/package.json+++ b/apps/web/package.json@@ -16,30 +16,17 @@"@hookform/resolvers": "^3.1.1","@monaco-editor/loader": "^1.3.3","@monaco-editor/react": "^4.5.1",- "@radix-ui/react-avatar": "^1.0.3",- "@radix-ui/react-checkbox": "^1.0.4","@radix-ui/react-dialog": "^1.0.4",- "@radix-ui/react-dropdown-menu": "^2.0.5",- "@radix-ui/react-label": "^2.0.2",- "@radix-ui/react-navigation-menu": "^1.1.3",- "@radix-ui/react-popover": "^1.0.6",- "@radix-ui/react-scroll-area": "^1.0.4",- "@radix-ui/react-select": "^1.2.2",- "@radix-ui/react-separator": "^1.0.3",- "@radix-ui/react-slot": "^1.0.2",- "@radix-ui/react-tabs": "^1.0.4",- "@radix-ui/react-toast": "^1.1.4",- "@radix-ui/react-tooltip": "^1.0.6","@repo/auth": "workspace:*","@repo/db": "workspace:*","@repo/lint": "workspace:*",+ "@repo/ui": "workspace:*","@t3-oss/env-nextjs": "^0.6.0","@tanstack/react-query": "^4.29.25","@tanstack/react-table": "^8.9.3","@types/lodash": "^4.14.195","@uiw/react-md-editor": "^3.23.3","@uploadthing/react": "^5.2.0",- "class-variance-authority": "^0.6.1","clsx": "^2.0.0","cmdk": "^0.2.0","date-fns": "^2.30.0",@@ -51,10 +38,9 @@"monaco-vim": "^0.4.0","next": "^13.4.10","next-themes": "^0.2.1",- "react": "18.2.0",+ "react": "^18.2.0","react-day-picker": "^8.8.0","react-dom": "18.2.0",- "react-dropzone": "^14.2.3","react-hook-form": "^7.45.1","react-intersection-observer": "^9.5.2","react-markdown": "^8.0.7",@@ -62,7 +48,6 @@"react-wrap-balancer": "^1.0.0","remark-gfm": "^3.0.1","superjson": "1.12.4",- "tailwind-merge": "^1.14.0","tailwindcss-animate": "^1.0.6","unified": "^10.1.2","unist-util-visit": "^5.0.0",@@ -75,7 +60,7 @@"@tailwindcss/container-queries": "^0.1.1","@tailwindcss/typography": "^0.5.9","@types/node": "^20.4.2",- "@types/react": "^18.2.15",+ "@types/react": "^18.2.20","@types/react-dom": "^18.2.7","@types/react-syntax-highlighter": "^15.5.7","autoprefixer": "^10.4.14",diff --git a/apps/web/src/app/admin/challenge/[challengeId]/challenge-review.tsx b/apps/web/src/app/admin/challenge/[challengeId]/challenge-review.tsxindex 66d046f4..0f62d59f 100644--- a/apps/web/src/app/admin/challenge/[challengeId]/challenge-review.tsx+++ b/apps/web/src/app/admin/challenge/[challengeId]/challenge-review.tsx@@ -4,15 +4,11 @@ import Link from 'next/link';import { useRouter } from 'next/navigation';import { useSession } from '@repo/auth/react';import { useMemo } from 'react';-import { approveChallenge, denyChallenge } from './challenge-review.action';+import { Button, DifficultyBadge, Text, useToast, UserBadge } from '@repo/ui';import type { ChallengeToReview } from './page';-import { Button } from '~/components/ui/button';-import { CodeEditor } from '~/components/ui/code-editor';-import { DifficultyBadge } from '~/components/ui/difficulty-badge';+import { approveChallenge, denyChallenge } from './challenge-review.action';import { Markdown } from '~/components/ui/markdown';-import Text from '~/components/ui/typography/typography';-import { UserBadge } from '~/components/ui/user-badge';-import { useToast } from '~/components/ui/use-toast';+import { CodeEditor } from '~/components/ui/code-editor';interface Props {challenge: ChallengeToReview;@@ -63,7 +59,7 @@ export function ChallengeReview({ challenge }: Props) {<Text intent="h2">{challenge.name}</Text><div className="mb-3 flex gap-4"><DifficultyBadge difficulty={challenge.difficulty} />- <UserBadge username={challenge.user.name} />+ <UserBadge username={challenge.user.name} linkComponent={Link} /></div><div className="font-semibold">Short Description</div><div>{challenge.shortDescription}</div>diff --git a/apps/web/src/app/admin/page.tsx b/apps/web/src/app/admin/page.tsxindex 6da7666c..0c731b9f 100644--- a/apps/web/src/app/admin/page.tsx+++ b/apps/web/src/app/admin/page.tsx@@ -1,15 +1,15 @@'use server';import { RoleTypes } from '@repo/db/types';-import { Lock } from 'lucide-react';+import { Lock } from '@repo/ui/icons';import React from 'react';import { getServerAuthSession } from '@repo/auth/server';+import { Tabs, TabsContent, TabsList, TabsTrigger } from '@repo/ui';import { ChallengeReviews } from '~/components/admin/challenge-reviews';import { getBannedUsers, getUploadedImages } from '~/components/admin/admin.actions';import { ImageUploadReport } from '~/components/admin/images';// import Reports2 from '~/components/admin/reports';import { BannedUsers } from '~/components/admin/users';import { getInfiniteReports } from '~/components/report/report.action';-import { Tabs, TabsContent, TabsList, TabsTrigger } from '~/components/ui/tabs';async function Admin() {const session = await getServerAuthSession();diff --git a/apps/web/src/app/admin/report/[id]/actions.tsx b/apps/web/src/app/admin/report/[id]/actions.tsxindex a59968cd..64fcb565 100644--- a/apps/web/src/app/admin/report/[id]/actions.tsx+++ b/apps/web/src/app/admin/report/[id]/actions.tsx@@ -3,7 +3,6 @@import { type User } from '@repo/db/types';import { useRouter } from 'next/navigation';import { useMemo, useState } from 'react';-import { type ReportWithInfo } from './report.action';import {Dialog,DialogContent,@@ -11,7 +10,12 @@ import {DialogDescription,DialogFooter,DialogHeader,-} from '~/components/ui/dialog';+ Button,+ Label,+ Textarea,+ toast,+} from '@repo/ui';+import { type ReportWithInfo } from './report.action';import {banUser,deleteComment,@@ -19,10 +23,6 @@ import {banChallenge,dismissReport,} from '~/components/admin/admin.actions';-import { Button } from '~/components/ui/button';-import { Label } from '~/components/ui/label';-import { Textarea } from '~/components/ui/textarea';-import { toast } from '~/components/ui/use-toast';export interface ReportActionsProps {report: NonNullable<ReportWithInfo>;diff --git a/apps/web/src/app/admin/report/[id]/loading.tsx b/apps/web/src/app/admin/report/[id]/loading.tsxindex 134a703c..3d9865b6 100644--- a/apps/web/src/app/admin/report/[id]/loading.tsx+++ b/apps/web/src/app/admin/report/[id]/loading.tsx@@ -1,4 +1,4 @@-import { Loader as LoaderIcon } from 'lucide-react';+import { Loader as LoaderIcon } from '@repo/ui/icons';export default function ReportIdLoading() {return (diff --git a/apps/web/src/app/admin/report/[id]/page.tsx b/apps/web/src/app/admin/report/[id]/page.tsxindex 66560c97..c7cef956 100644--- a/apps/web/src/app/admin/report/[id]/page.tsx+++ b/apps/web/src/app/admin/report/[id]/page.tsx@@ -1,11 +1,10 @@-import { AlertCircle, ChevronLeft } from 'lucide-react';+import { AlertCircle, ChevronLeft } from '@repo/ui/icons';import Link from 'next/link';import { redirect } from 'next/navigation';+import { Text, Alert, AlertDescription, AlertTitle } from '@repo/ui';import ReportActions from './actions';import { getReport, type ReportWithInfo } from './report.action';-import { Alert, AlertDescription, AlertTitle } from '~/components/ui/alert';import { Markdown } from '~/components/ui/markdown';-import Text from '~/components/ui/typography/typography';import ChallengeReport from '~/components/report/types/challenge.report';import CommentReport from '~/components/report/types/comment.report';import UserReportUi from '~/components/report/types/user.report';diff --git a/apps/web/src/app/challenge/[id]/layout.tsx b/apps/web/src/app/challenge/[id]/layout.tsxindex edaa69ad..7405867d 100644--- a/apps/web/src/app/challenge/[id]/layout.tsx+++ b/apps/web/src/app/challenge/[id]/layout.tsx@@ -1,9 +1,9 @@import { getServerAuthSession } from '@repo/auth/server';+import { ForceRenderUntilClient } from '@repo/ui';import { getChallengeRouteData } from './getChallengeRouteData';import { LeftWrapper } from './left-wrapper';import { Wrapper } from './wrapper';import { ChallengeLayout } from '~/components/challenge/challenge-layout';-import { ForceRenderUntilClient } from '~/components/ui/force-render-until-client';export default async function LayoutData({children,diff --git a/apps/web/src/app/challenge/[id]/left-wrapper.tsx b/apps/web/src/app/challenge/[id]/left-wrapper.tsxindex 66c3e8c0..3e758f3a 100644--- a/apps/web/src/app/challenge/[id]/left-wrapper.tsx+++ b/apps/web/src/app/challenge/[id]/left-wrapper.tsx@@ -2,7 +2,7 @@import { usePathname, useRouter } from 'next/navigation';import { useMemo, type ReactNode } from 'react';-import { Tabs, TabsContent, TabsList, TabsTrigger } from '~/components/ui/tabs';+import { Tabs, TabsContent, TabsList, TabsTrigger } from '@repo/ui';type Tab = 'description' | 'solutions' | 'submissions';interface Props {diff --git a/apps/web/src/app/challenge/[id]/submissions/[submissionId]/error.tsx b/apps/web/src/app/challenge/[id]/submissions/[submissionId]/error.tsxindex 44ec68f9..2b0390a7 100644--- a/apps/web/src/app/challenge/[id]/submissions/[submissionId]/error.tsx+++ b/apps/web/src/app/challenge/[id]/submissions/[submissionId]/error.tsx@@ -1,7 +1,6 @@'use client'; // Error components must be Client Components-import { Button } from '~/components/ui/button';-import Text from '~/components/ui/typography/typography';+import { Text, Button } from '@repo/ui';export default function Error({ reset }: { reset: () => void }) {return (diff --git a/apps/web/src/app/challenge/error.tsx b/apps/web/src/app/challenge/error.tsxindex b03cb063..5f9d7ef4 100644--- a/apps/web/src/app/challenge/error.tsx+++ b/apps/web/src/app/challenge/error.tsx@@ -1,8 +1,7 @@'use client'; // Error components must be Client Componentsimport Link from 'next/link';-import { Button } from '~/components/ui/button';-import Text from '~/components/ui/typography/typography';+import { Button, Text } from '@repo/ui';export default function Error() {return (diff --git a/apps/web/src/app/layout.tsx b/apps/web/src/app/layout.tsxindex 4c229fb9..10033c24 100644--- a/apps/web/src/app/layout.tsx+++ b/apps/web/src/app/layout.tsx@@ -2,9 +2,9 @@ import '../styles/globals.css';import { Inter } from 'next/font/google';import type { Metadata } from 'next';+import { Toaster } from '@repo/ui';import { Providers } from './providers';import { Navigation } from '~/components/ui/navigation';-import { Toaster } from '~/components/ui/toaster';const inter = Inter({ subsets: ['latin'] });diff --git a/apps/web/src/app/providers.tsx b/apps/web/src/app/providers.tsxindex d03e8b05..80d79dc5 100644--- a/apps/web/src/app/providers.tsx+++ b/apps/web/src/app/providers.tsx@@ -3,7 +3,7 @@import { SessionProvider } from '@repo/auth/react';import { ThemeProvider } from 'next-themes';import { QueryClient, QueryClientProvider } from '@tanstack/react-query';-import { TooltipProvider } from '~/components/ui/tooltip';+import { TooltipProvider } from '@repo/ui';interface Props {children: React.ReactNode;diff --git a/apps/web/src/app/wizard/error.tsx b/apps/web/src/app/wizard/error.tsxindex 44ec68f9..2b0390a7 100644--- a/apps/web/src/app/wizard/error.tsx+++ b/apps/web/src/app/wizard/error.tsx@@ -1,7 +1,6 @@'use client'; // Error components must be Client Components-import { Button } from '~/components/ui/button';-import Text from '~/components/ui/typography/typography';+import { Text, Button } from '@repo/ui';export default function Error({ reset }: { reset: () => void }) {return (diff --git a/apps/web/src/app/wizard/page.tsx b/apps/web/src/app/wizard/page.tsxindex 87ac9090..b5f9c55b 100644--- a/apps/web/src/app/wizard/page.tsx+++ b/apps/web/src/app/wizard/page.tsx@@ -1,5 +1,5 @@import { getServerAuthSession } from '@repo/auth/server';-import { TypographyH2 } from '~/components/ui/typography/h2';+import { TypographyH2 } from '@repo/ui';import { Wizard } from '~/components/wizard';export default async function Page() {diff --git a/apps/web/src/components/admin/challenge-reviews/data-table.tsx b/apps/web/src/components/admin/challenge-reviews/data-table.tsxindex 7df07f06..d2c17b92 100644--- a/apps/web/src/components/admin/challenge-reviews/data-table.tsx+++ b/apps/web/src/components/admin/challenge-reviews/data-table.tsx@@ -11,16 +11,8 @@ import {} from '@tanstack/react-table';import { useRouter } from 'next/navigation';import { useMemo, useState } from 'react';+import { Button, Table, TableBody, TableCell, TableHead, TableHeader, TableRow } from '@repo/ui';import type { ChallengeReviewData } from '~/app/api/challenge-reviews/route';-import { Button } from '~/components/ui/button';-import {- Table,- TableBody,- TableCell,- TableHead,- TableHeader,- TableRow,-} from '~/components/ui/table';import { getBaseUrl } from '~/utils/getBaseUrl';interface Props {diff --git a/apps/web/src/components/admin/reports.tsx b/apps/web/src/components/admin/reports.tsxindex 993fb697..0e96d0ef 100644--- a/apps/web/src/components/admin/reports.tsx+++ b/apps/web/src/components/admin/reports.tsx@@ -2,16 +2,8 @@import { useInfiniteQuery } from '@tanstack/react-query';import { useRouter } from 'next/navigation';import React from 'react';+import { Table, TableBody, TableCell, TableHead, TableHeader, TableRow } from '@repo/ui';import { getInfiniteReports, type InfiniteReports } from '../report/report.action';-import Pagination from '../ui/pagination';-import {- Table,- TableBody,- TableCell,- TableHead,- TableHeader,- TableRow,-} from '~/components/ui/table';export interface ReportsProps {initialReports: InfiniteReports;diff --git a/apps/web/src/components/admin/users.tsx b/apps/web/src/components/admin/users.tsxindex b29537b9..02504649 100644--- a/apps/web/src/components/admin/users.tsx+++ b/apps/web/src/components/admin/users.tsx@@ -1,12 +1,19 @@'use client';import { useRouter } from 'next/navigation';-import { Unlock } from 'lucide-react';-import { ActionMenu } from '../ui/action-menu';-import { Badge } from '../ui/badge';-import { Table, TableBody, TableCell, TableHead, TableHeader, TableRow } from '../ui/table';-import { TypographyH3 } from '../ui/typography/h3';-import { toast } from '../ui/use-toast';+import { Unlock } from '@repo/ui/icons';+import {+ ActionMenu,+ Badge,+ Table,+ TableBody,+ TableCell,+ TableHead,+ TableHeader,+ TableRow,+ TypographyH3,+ toast,+} from '@repo/ui';import { getRelativeTime } from '~/utils/relativeTime';import { unbanUser, type AdminBannedUsers } from '~/components/admin/admin.actions';diff --git a/apps/web/src/components/challenge/code-panel/index.tsx b/apps/web/src/components/challenge/code-panel/index.tsxindex c62f68b6..e88f3dfc 100644--- a/apps/web/src/components/challenge/code-panel/index.tsx+++ b/apps/web/src/components/challenge/code-panel/index.tsx@@ -2,31 +2,33 @@import { loader } from '@monaco-editor/react';import clsx from 'clsx';-import { Loader2, Settings } from 'lucide-react';+import { Loader2, Settings } from '@repo/ui/icons';import type * as monaco from 'monaco-editor';import { useSession } from '@repo/auth/react';import dynamic from 'next/dynamic';import { useRouter, useSearchParams } from 'next/navigation';import { useRef, useState } from 'react';import lzstring from 'lz-string';-import { saveSubmission } from '../save-submission.action';-import { SettingsForm } from '../settings-form';-import { USER_CODE_START, USER_CODE_START_REGEX } from './constants';-import { libSource } from './editor-types';-import { createTwoslashInlayProvider } from './twoslash';-import { type ChallengeRouteData } from '~/app/challenge/[id]/getChallengeRouteData';-import { Button } from '~/components/ui/button';-import { CodeEditor } from '~/components/ui/code-editor';import {+ Button,+ ToastAction,+ useToast,+ Tooltip,+ TooltipContent,+ TooltipTrigger,Dialog,DialogContent,DialogHeader,DialogTitle,DialogTrigger,-} from '~/components/ui/dialog';-import { ToastAction } from '~/components/ui/toast';-import { Tooltip, TooltipContent, TooltipTrigger } from '~/components/ui/tooltip';-import { useToast } from '~/components/ui/use-toast';+} from '@repo/ui';+import { saveSubmission } from '../save-submission.action';+import { SettingsForm } from '../settings-form';+import { USER_CODE_START, USER_CODE_START_REGEX } from './constants';+import { libSource } from './editor-types';+import { createTwoslashInlayProvider } from './twoslash';+import { CodeEditor } from '~/components/ui/code-editor';+import { type ChallengeRouteData } from '~/app/challenge/[id]/getChallengeRouteData';import { useLocalStorage } from '~/utils/useLocalStorage';const VimStatusBar = dynamic(() => import('./vimMode').then((v) => v.VimStatusBar), {diff --git a/apps/web/src/components/challenge/comments/comment-input.tsx b/apps/web/src/components/challenge/comments/comment-input.tsxindex 3114f8c0..109471c3 100644--- a/apps/web/src/components/challenge/comments/comment-input.tsx+++ b/apps/web/src/components/challenge/comments/comment-input.tsx@@ -1,11 +1,8 @@-import { Loader2 } from 'lucide-react';+import { Loader2 } from '@repo/ui/icons';import { useSession } from '@repo/auth/react';import { useEffect, useRef, useState, type RefObject } from 'react';-import { Button } from '~/components/ui/button';+import { Button, Textarea, ToastAction, useToast } from '@repo/ui';import { Markdown } from '~/components/ui/markdown';-import { Textarea } from '~/components/ui/textarea';-import { ToastAction } from '~/components/ui/toast';-import { useToast } from '~/components/ui/use-toast';interface Props {mode: 'create' | 'edit' | 'reply';diff --git a/apps/web/src/components/challenge/comments/comment.tsx b/apps/web/src/components/challenge/comments/comment.tsxindex 793073a0..9117b367 100644--- a/apps/web/src/components/challenge/comments/comment.tsx+++ b/apps/web/src/components/challenge/comments/comment.tsx@@ -2,21 +2,20 @@import { type CommentRoot } from '@repo/db/types';import { useInfiniteQuery, useQueryClient } from '@tanstack/react-query';-import { ChevronDown, ChevronUp, Pencil, Reply, Share, Trash2 } from 'lucide-react';+import { ChevronDown, ChevronUp, Pencil, Reply, Share, Trash2 } from '@repo/ui/icons';import { useSession } from '@repo/auth/react';import { useEffect, useRef, useState } from 'react';import { z } from 'zod';import clsx from 'clsx';+import { Tooltip, TooltipContent, TooltipTrigger, toast, UserBadge } from '@repo/ui';+import Link from 'next/link';import { CommentInput } from './comment-input';import { replyComment, updateComment, type CommentsByChallengeId } from './comment.action';import { CommentDeleteDialog } from './delete';import { getPaginatedComments } from './getCommentRouteData';+import { Markdown } from '~/components/ui/markdown';import ReportDialog from '~/components/report';-import { Tooltip, TooltipContent, TooltipTrigger } from '~/components/ui/tooltip';-import { toast } from '~/components/ui/use-toast';-import { UserBadge } from '~/components/ui/user-badge';import { getRelativeTime } from '~/utils/relativeTime';-import { Markdown } from '~/components/ui/markdown';interface SingleCommentProps {comment: CommentsByChallengeId[number];@@ -230,7 +229,7 @@ function SingleComment({<><div className="flex items-start justify-between gap-4 pr-[0.4rem]"><div className="flex items-center gap-1">- <UserBadge username={comment.user.name ?? ''} />+ <UserBadge username={comment.user.name ?? ''} linkComponent={Link} /><Tooltip delayDuration={0.05}><TooltipTrigger asChild><span className="whitespace-nowrap text-[0.8rem] text-neutral-500 dark:text-neutral-400">diff --git a/apps/web/src/components/challenge/comments/delete/index.tsx b/apps/web/src/components/challenge/comments/delete/index.tsxindex 1773f542..16242294 100644--- a/apps/web/src/components/challenge/comments/delete/index.tsx+++ b/apps/web/src/components/challenge/comments/delete/index.tsx@@ -1,13 +1,19 @@import { type DialogTriggerProps } from '@radix-ui/react-dialog';import { useState } from 'react';import { useQueryClient } from '@tanstack/react-query';+import {+ Button,+ Dialog,+ DialogContent,+ DialogTrigger,+ Tooltip,+ TooltipContent,+ TooltipTrigger,+ TypographyP,+ TypographyLarge,+ toast,+} from '@repo/ui';import { deleteComment, type CommentsByChallengeId } from '../comment.action';-import { TypographyP } from '~/components//ui/paragraph';-import { Button } from '~/components/ui/button';-import { Dialog, DialogContent, DialogTrigger } from '~/components/ui/dialog';-import { Tooltip, TooltipContent, TooltipTrigger } from '~/components/ui/tooltip';-import { TypographyLarge } from '~/components/ui/typography/large';-import { toast } from '~/components/ui/use-toast';import { getRelativeTime } from '~/utils/relativeTime';interface CommentDeleteDialogProps extends DialogTriggerProps {diff --git a/apps/web/src/components/challenge/comments/index.tsx b/apps/web/src/components/challenge/comments/index.tsxindex ff0ef6b2..a8d70f91 100644--- a/apps/web/src/components/challenge/comments/index.tsx+++ b/apps/web/src/components/challenge/comments/index.tsx@@ -3,15 +3,14 @@import type { CommentRoot } from '@repo/db/types';import { useQuery, useQueryClient } from '@tanstack/react-query';import clsx from 'clsx';-import { ChevronDown, ChevronLeft, ChevronRight, MessageCircle } from 'lucide-react';+import { ChevronDown, ChevronLeft, ChevronRight, MessageCircle } from '@repo/ui/icons';import { useRef, useState } from 'react';+import { toast, Button } from '@repo/ui';import { CommentInput } from './comment-input';import { CommentSkeleton } from './comment-skeleton';import { addComment } from './comment.action';import { getPaginatedComments } from './getCommentRouteData';import NoComments from './nocomments';-import { toast } from '~/components/ui/use-toast';-import { Button } from '~/components/ui/button';import { Comment } from '~/components/challenge/comments/comment';interface Props {diff --git a/apps/web/src/components/challenge/description/description-skeleton.tsx b/apps/web/src/components/challenge/description/description-skeleton.tsxindex 3647bb0b..4d5ed698 100644--- a/apps/web/src/components/challenge/description/description-skeleton.tsx+++ b/apps/web/src/components/challenge/description/description-skeleton.tsx@@ -1,4 +1,4 @@-import { Skeleton } from '~/components/ui/skeleton';+import { Skeleton } from '@repo/ui';export function DescriptionSkeleton() {return (diff --git a/apps/web/src/components/challenge/description/index.tsx b/apps/web/src/components/challenge/description/index.tsxindex 89db3e1f..241a8a2a 100644--- a/apps/web/src/components/challenge/description/index.tsx+++ b/apps/web/src/components/challenge/description/index.tsx@@ -5,26 +5,29 @@ import { debounce } from 'lodash';import { useSession } from '@repo/auth/react';import { useRouter } from 'next/navigation';import { useRef, useState } from 'react';-import { Bookmark as BookmarkIcon, Flag, Share, ThumbsUp } from 'lucide-react';-import { ShareForm } from '../share-form';-import { addOrRemoveBookmark } from '../bookmark.action';-import { incrementOrDecrementUpvote } from '../increment.action';-import { Button } from '~/components/ui/button';+import { Bookmark as BookmarkIcon, Flag, Share, ThumbsUp } from '@repo/ui/icons';import {+ Button,Dialog,DialogContent,DialogHeader,DialogTitle,DialogTrigger,-} from '~/components/ui/dialog';-import { DifficultyBadge } from '~/components/ui/difficulty-badge';+ DifficultyBadge,+ Tooltip,+ TooltipContent,+ TooltipTrigger,+ TypographyH3,+ UserBadge,+ ActionMenu,+} from '@repo/ui';+import Link from 'next/link';+import { ShareForm } from '../share-form';+import { addOrRemoveBookmark } from '../bookmark.action';+import { incrementOrDecrementUpvote } from '../increment.action';import { Markdown } from '~/components/ui/markdown';-import { Tooltip, TooltipContent, TooltipTrigger } from '~/components/ui/tooltip';-import { TypographyH3 } from '~/components/ui/typography/h3';-import { UserBadge } from '~/components/ui/user-badge';import { type ChallengeRouteData } from '~/app/challenge/[id]/getChallengeRouteData';import ReportDialog from '~/components/report';-import { ActionMenu } from '~/components/ui/action-menu';import { getRelativeTime } from '~/utils/relativeTime';interface Props {@@ -203,7 +206,7 @@ export function Description({ challenge }: Props) {<div className="mb-6 flex items-center gap-4"><DifficultyBadge difficulty={challenge.difficulty} />- <UserBadge username={challenge.user.name} />+ <UserBadge username={challenge.user.name} linkComponent={Link} /><span className="text-muted-foreground -ml-1 text-xs">{getRelativeTime(challenge.updatedAt)}</span>diff --git a/apps/web/src/components/challenge/left-panel-skeleton.tsx b/apps/web/src/components/challenge/left-panel-skeleton.tsxindex 85790c8c..eb9d5373 100644--- a/apps/web/src/components/challenge/left-panel-skeleton.tsx+++ b/apps/web/src/components/challenge/left-panel-skeleton.tsx@@ -1,4 +1,4 @@-import { Tabs, TabsContent, TabsList, TabsTrigger } from '../ui/tabs';+import { Tabs, TabsContent, TabsList, TabsTrigger } from '@repo/ui';export function DescriptionPanelSkeleton() {return (diff --git a/apps/web/src/components/challenge/settings-form.tsx b/apps/web/src/components/challenge/settings-form.tsxindex ced4e6b5..d0895d5f 100644--- a/apps/web/src/components/challenge/settings-form.tsx+++ b/apps/web/src/components/challenge/settings-form.tsx@@ -4,25 +4,23 @@ import { zodResolver } from '@hookform/resolvers/zod';import * as DialogPrimitive from '@radix-ui/react-dialog';import { useForm } from 'react-hook-form';import * as z from 'zod';-import { useToast } from '../ui/use-toast';-import { DialogFooter } from '../ui/dialog';-import { useEditorSettingsStore } from './settings-store';-import { Button } from '~/components/ui/button';import {+ Button,Form,FormControl,FormField,FormItem,FormLabel,FormMessage,-} from '~/components/ui/form';-import {Select,SelectContent,SelectItem,SelectTrigger,SelectValue,-} from '~/components/ui/select';+ useToast,+ DialogFooter,+} from '@repo/ui';+import { useEditorSettingsStore } from './settings-store';const formSchema = z.object({fontSize: z.string(),diff --git a/apps/web/src/components/challenge/share-form.tsx b/apps/web/src/components/challenge/share-form.tsxindex 427d3256..a45e3cc4 100644--- a/apps/web/src/components/challenge/share-form.tsx+++ b/apps/web/src/components/challenge/share-form.tsx@@ -1,10 +1,10 @@'use client';-import { CheckCircle2 as CheckCircle2Icon, Clipboard as ClipboardIcon } from 'lucide-react';+import { CheckCircle2 as CheckCircle2Icon, Clipboard as ClipboardIcon } from '@repo/ui/icons';import lzstring from 'lz-string';import { useParams } from 'next/navigation';import { useCallback, useState } from 'react';-import { DialogFooter } from '../ui/dialog';+import { DialogFooter } from '@repo/ui';import { useLocalStorage } from '~/utils/useLocalStorage';export function ShareForm() {@@ -52,7 +52,7 @@ export function ShareForm() {<DialogFooter><button- className={`flex items-center justify-between space-x-2 rounded-lg px-2 py-1 duration-300 active:scale-75+ className={`flex items-center justify-between space-x-2 rounded-lg px-2 py-1 duration-300 active:scale-75${copiedWithCode? 'border border-green-500 text-green-500 dark:border-green-700 dark:bg-green-700 dark:text-white'@@ -64,7 +64,7 @@ export function ShareForm() {{copiedWithCode ? <CheckCircle2Icon /> : <ClipboardIcon />}</button><button- className={`flex items-center justify-between space-x-2 rounded-lg px-2 py-1 duration-300 active:scale-75+ className={`flex items-center justify-between space-x-2 rounded-lg px-2 py-1 duration-300 active:scale-75${copied? 'border border-green-500 text-green-500 dark:border-green-700 dark:bg-green-700 dark:text-white'diff --git a/apps/web/src/components/challenge/solutions/index.tsx b/apps/web/src/components/challenge/solutions/index.tsxindex 7f2428b5..048b6fbd 100644--- a/apps/web/src/components/challenge/solutions/index.tsx+++ b/apps/web/src/components/challenge/solutions/index.tsx@@ -1,15 +1,14 @@'use client';-import { ArrowUp, MessageCircle } from 'lucide-react';+import { ArrowUp, MessageCircle } from '@repo/ui/icons';import { useSession } from '@repo/auth/react';import Link from 'next/link';import { useState } from 'react';+import { Button } from '@repo/ui';import { SolutionEditor } from './solution-editor';import NoSolutions from './nosolutions';import SubmitSolution from './submit-solution';import type { ChallengeSolutionsRouteData } from '~/app/challenge/[id]/solutions/page';import { getRelativeTime } from '~/utils/relativeTime';-import { UserBadge } from '~/components/ui/user-badge';-import { Button } from '~/components/ui/button';interface Props {challenge: ChallengeSolutionsRouteData;diff --git a/apps/web/src/components/challenge/solutions/solution-detail.tsx b/apps/web/src/components/challenge/solutions/solution-detail.tsxindex 05e858d4..022ec7ba 100644--- a/apps/web/src/components/challenge/solutions/solution-detail.tsx+++ b/apps/web/src/components/challenge/solutions/solution-detail.tsx@@ -1,18 +1,24 @@'use client';-import { Calendar, Flag, Share, X } from 'lucide-react';+import { Calendar, Flag, Share, X } from '@repo/ui/icons';import Link from 'next/link';+import {+ Avatar,+ AvatarFallback,+ AvatarImage,+ Button,+ TypographyLarge,+ toast,+ UserBadge,+ ActionMenu,+ Tooltip,+ TooltipContent,+ TooltipTrigger,+} from '@repo/ui';import { Comments } from '../comments';-import type { ChallengeSolution } from '~/app/challenge/[id]/solutions/[solutionId]/page';-import { Avatar, AvatarFallback, AvatarImage } from '~/components/ui/avatar';-import { Button } from '~/components/ui/button';import { Markdown } from '~/components/ui/markdown';-import { TypographyLarge } from '~/components/ui/typography/large';-import { toast } from '~/components/ui/use-toast';-import { UserBadge } from '~/components/ui/user-badge';import ReportDialog from '~/components/report';-import { ActionMenu } from '~/components/ui/action-menu';-import { Tooltip, TooltipContent, TooltipTrigger } from '~/components/ui/tooltip';+import type { ChallengeSolution } from '~/app/challenge/[id]/solutions/[solutionId]/page';interface Props {solution: ChallengeSolution;@@ -79,7 +85,7 @@ export function SolutionDetails({ solution }: Props) {</div></div><div className="flex items-center gap-4">- <UserBadge username={solution.user?.name ?? ''} />+ <UserBadge username={solution.user?.name ?? ''} linkComponent={Link} /><div className="flex items-center"><Calendar className="mr-2 h-4 w-4 stroke-gray-400" /><span className="text-xs text-gray-400">diff --git a/apps/web/src/components/challenge/solutions/solution-editor.tsx b/apps/web/src/components/challenge/solutions/solution-editor.tsxindex 91209ce6..94fe0c62 100644--- a/apps/web/src/components/challenge/solutions/solution-editor.tsx+++ b/apps/web/src/components/challenge/solutions/solution-editor.tsx@@ -4,13 +4,19 @@ import { useTheme } from 'next-themes';import { useRouter } from 'next/navigation';import { useForm } from 'react-hook-form';import { z } from 'zod';+import {+ Button,+ Form,+ FormControl,+ FormField,+ FormItem,+ FormMessage,+ Input,+ useToast,+} from '@repo/ui';import { postSolution } from './post-solution.action';-import { Button } from '~/components/ui/button';-import { Form, FormControl, FormField, FormItem, FormMessage } from '~/components/ui/form';-import { Input } from '~/components/ui/input';-import { useToast } from '~/components/ui/use-toast';-import type { ChallengeSolutionsRouteData } from '~/app/challenge/[id]/solutions/page';import { RichMarkdownEditor } from '~/components/ui/rich-markdown-editor';+import type { ChallengeSolutionsRouteData } from '~/app/challenge/[id]/solutions/page';const getDefaultMarkdown = (solution: string) => `## Thoughtsdiff --git a/apps/web/src/components/challenge/solutions/solution-skeleton.tsx b/apps/web/src/components/challenge/solutions/solution-skeleton.tsxindex 8f8c462c..152c5fbe 100644--- a/apps/web/src/components/challenge/solutions/solution-skeleton.tsx+++ b/apps/web/src/components/challenge/solutions/solution-skeleton.tsx@@ -1,4 +1,4 @@-import { Skeleton } from '~/components/ui/skeleton';+import { Skeleton } from '@repo/ui';export function SolutionsSkeleton() {return (diff --git a/apps/web/src/components/challenge/solutions/submit-solution.tsx b/apps/web/src/components/challenge/solutions/submit-solution.tsxindex dab98a04..6fcbb051 100644--- a/apps/web/src/components/challenge/solutions/submit-solution.tsx+++ b/apps/web/src/components/challenge/solutions/submit-solution.tsx@@ -1,5 +1,5 @@-import { Plus } from 'lucide-react';-import { Button } from '~/components/ui/button';+import { Plus } from '@repo/ui/icons';+import { Button } from '@repo/ui';interface Props {disabled: boolean;diff --git a/apps/web/src/components/challenge/submissions/overview.tsx b/apps/web/src/components/challenge/submissions/overview.tsxindex 3958fb01..57adb4ef 100644--- a/apps/web/src/components/challenge/submissions/overview.tsx+++ b/apps/web/src/components/challenge/submissions/overview.tsx@@ -1,10 +1,8 @@import { useQuery } from '@tanstack/react-query';-import { Copy, X } from 'lucide-react';+import { Copy, X } from '@repo/ui/icons';import Link from 'next/link';-import { Button } from '~/components/ui/button';+import { Button, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, toast } from '@repo/ui';import { Markdown } from '~/components/ui/markdown';-import { Tooltip, TooltipContent, TooltipProvider, TooltipTrigger } from '~/components/ui/tooltip';-import { toast } from '~/components/ui/use-toast';import { getBaseUrl } from '~/utils/getBaseUrl';import { getRelativeTime } from '~/utils/relativeTime';diff --git a/apps/web/src/components/challenge/submissions/submissions-skeleton.tsx b/apps/web/src/components/challenge/submissions/submissions-skeleton.tsxindex b8087183..afc1a330 100644--- a/apps/web/src/components/challenge/submissions/submissions-skeleton.tsx+++ b/apps/web/src/components/challenge/submissions/submissions-skeleton.tsx@@ -1,4 +1,4 @@-import { Skeleton } from '~/components/ui/skeleton';+import { Skeleton } from '@repo/ui';export function SubmissionsSkeleton() {return (diff --git a/apps/web/src/components/create/explore-card-inputs.tsx b/apps/web/src/components/create/explore-card-inputs.tsxindex 3c5c9675..27cef433 100644--- a/apps/web/src/components/create/explore-card-inputs.tsx+++ b/apps/web/src/components/create/explore-card-inputs.tsx@@ -1,12 +1,21 @@'use client';// TODO: unify this with the explore card into single component (maybe? idk how that'd work, too many changes)-import { MessageCircle, ThumbsUp } from 'lucide-react';+import { MessageCircle, ThumbsUp } from '@repo/ui/icons';import { type Difficulty } from '@repo/db/types';-import { Card, CardContent, CardDescription, CardHeader, CardTitle } from '../ui/card';-import { Button } from '../ui/button';-import { DifficultyBadge } from '../ui/difficulty-badge';+import {+ Select,+ SelectContent,+ SelectItem,+ SelectTrigger,+ Card,+ CardContent,+ CardDescription,+ CardHeader,+ CardTitle,+ Button,+ DifficultyBadge,+} from '@repo/ui';import { getRelativeTime } from '~/utils/relativeTime';-import { Select, SelectContent, SelectItem, SelectTrigger } from '~/components/ui/select';// NOTE: this does not have hover: effects from explore-cardconst GRADIENTS_BY_DIFFICULTY = {diff --git a/apps/web/src/components/explore/explore-card-skeleton.tsx b/apps/web/src/components/explore/explore-card-skeleton.tsxindex 5cdb5185..48a5ed99 100644--- a/apps/web/src/components/explore/explore-card-skeleton.tsx+++ b/apps/web/src/components/explore/explore-card-skeleton.tsx@@ -1,5 +1,4 @@-import { Card, CardContent, CardDescription, CardHeader, CardTitle } from '../ui/card';-import { Skeleton } from '../ui/skeleton';+import { Card, CardContent, CardDescription, CardHeader, CardTitle, Skeleton } from '@repo/ui';export function ExploreCardSkeleton() {return (diff --git a/apps/web/src/components/explore/explore-card.tsx b/apps/web/src/components/explore/explore-card.tsxindex fee5aeca..8bf6cf9b 100644--- a/apps/web/src/components/explore/explore-card.tsx+++ b/apps/web/src/components/explore/explore-card.tsx@@ -1,6 +1,12 @@-import { Circle, Diamond, MessageCircle, Plus, Sparkle, ThumbsUp, Triangle } from 'lucide-react';-import { Card, CardContent, CardDescription, CardHeader, CardTitle } from '../ui/card';-import { DifficultyBadge } from '../ui/difficulty-badge';+import { Circle, Diamond, MessageCircle, Plus, Sparkle, ThumbsUp, Triangle } from '@repo/ui/icons';+import {+ Card,+ CardContent,+ CardDescription,+ CardHeader,+ CardTitle,+ DifficultyBadge,+} from '@repo/ui';import { type ExploreChallengeFetcher } from '.';import { getRelativeTime } from '~/utils/relativeTime';@@ -48,7 +54,7 @@ export function ExploreCard({ challenge }: ExploreCardProps) {<CardclassName={`group relative overflow-hidden duration-300 sm:min-w-[300px] xl:min-w-[333px]${GRADIENTS_BY_DIFFICULTY[challenge.difficulty]}- ${SHADOWS_BY_DIFFICULTY[challenge.difficulty]}+ ${SHADOWS_BY_DIFFICULTY[challenge.difficulty]}${BORDERS_BY_DIFFICULTY[challenge.difficulty]}`}>diff --git a/apps/web/src/components/explore/section-carousel.tsx b/apps/web/src/components/explore/section-carousel.tsxindex a90d6a14..8cbc7f15 100644--- a/apps/web/src/components/explore/section-carousel.tsx+++ b/apps/web/src/components/explore/section-carousel.tsx@@ -2,7 +2,7 @@import Link from 'next/link';import type { Difficulty } from '@repo/db/types';import { useEffect, useRef, useState } from 'react';-import { ChevronRight } from 'lucide-react';+import { ChevronRight } from '@repo/ui/icons';import { ExploreCard } from './explore-card';import type { ExploreChallengeFetcher } from '.';diff --git a/apps/web/src/components/explore/section-skeleton.tsx b/apps/web/src/components/explore/section-skeleton.tsxindex c52e788c..e3b6dd39 100644--- a/apps/web/src/components/explore/section-skeleton.tsx+++ b/apps/web/src/components/explore/section-skeleton.tsx@@ -1,4 +1,4 @@-import { Skeleton } from '../ui/skeleton';+import { Skeleton } from '@repo/ui';import { ExploreCardSkeleton } from './explore-card-skeleton';export function ExploreSectionSkeleton() {diff --git a/apps/web/src/components/explore/section.tsx b/apps/web/src/components/explore/section.tsxindex 22417200..7e2072d4 100644--- a/apps/web/src/components/explore/section.tsx+++ b/apps/web/src/components/explore/section.tsx@@ -1,5 +1,5 @@-import { ChevronRight, Diamond } from 'lucide-react';-import { Button } from '../ui/button';+import { ChevronRight, Diamond } from '@repo/ui/icons';+import { Button } from '@repo/ui';import { ExploreCarousel } from './section-carousel';import type { ExploreChallengeFetcher } from '.';diff --git a/apps/web/src/components/landing/community/community.tsx b/apps/web/src/components/landing/community/community.tsxindex 39ba1ebc..9b80ac66 100644--- a/apps/web/src/components/landing/community/community.tsx+++ b/apps/web/src/components/landing/community/community.tsx@@ -1,6 +1,6 @@'use client';-import { GitBranch } from 'lucide-react';+import { GitBranch } from '@repo/ui/icons';import { clsx } from 'clsx';import { type CSSProperties } from 'react';import { useInView } from 'react-intersection-observer';diff --git a/apps/web/src/components/landing/hero.tsx b/apps/web/src/components/landing/hero.tsxindex 03c75b83..973eb4b2 100644--- a/apps/web/src/components/landing/hero.tsx+++ b/apps/web/src/components/landing/hero.tsx@@ -1,11 +1,11 @@'use client';import { motion } from 'framer-motion';-import { Github, Mail } from 'lucide-react';+import { Github, Mail } from '@repo/ui/icons';import Link from 'next/link';import { Balancer } from 'react-wrap-balancer';+import { Button } from '@repo/ui';import { HeroChallengeCard } from '~/components/landing/hero-challenge-card';-import { Button } from '~/components/ui/button';function TypeHeroLogo() {return (diff --git a/apps/web/src/components/landing/waitlist/banner.tsx b/apps/web/src/components/landing/waitlist/banner.tsxindex 302b8bc6..e361098b 100644--- a/apps/web/src/components/landing/waitlist/banner.tsx+++ b/apps/web/src/components/landing/waitlist/banner.tsx@@ -1,8 +1,8 @@import Link from 'next/link';import { clsx } from 'clsx';-import { Mail } from 'lucide-react';+import { Mail } from '@repo/ui/icons';import { Balancer } from 'react-wrap-balancer';-import { Button } from '~/components/ui/button';+import { Button } from '@repo/ui';import styles from '~/components/landing/waitlist/waitlist.module.css';function Waitlist() {diff --git a/apps/web/src/components/landing/waitlist/waitlist-form.tsx b/apps/web/src/components/landing/waitlist/waitlist-form.tsxindex 8358befb..41b88a6e 100644--- a/apps/web/src/components/landing/waitlist/waitlist-form.tsx+++ b/apps/web/src/components/landing/waitlist/waitlist-form.tsx@@ -4,20 +4,24 @@ import { useState } from 'react';import { z } from 'zod';import { zodResolver } from '@hookform/resolvers/zod';import { useForm } from 'react-hook-form';-import { AlertCircle, MailCheck } from 'lucide-react';+import { AlertCircle, MailCheck } from '@repo/ui/icons';import clsx from 'clsx';-import { Alert, AlertDescription } from '~/components/ui/alert';-import { uploadWaitlistEntry } from '~/components/landing/waitlist/create.action';-import { Button } from '~/components/ui/button';-import { Form, FormControl, FormField, FormItem } from '~/components/ui/form';-import { Input } from '~/components/ui/input';import {+ Alert,+ AlertDescription,+ Button,+ Form,+ FormControl,+ FormField,+ FormItem,+ Input,Select,SelectContent,SelectItem,SelectTrigger,SelectValue,-} from '~/components/ui/select';+} from '@repo/ui';+import { uploadWaitlistEntry } from '~/components/landing/waitlist/create.action';const waitlistFormSchema = z.object({name: z.string().min(1, 'Please enter your name'),diff --git a/apps/web/src/components/report/index.tsx b/apps/web/src/components/report/index.tsxindex ca6fffae..d6fad8b3 100644--- a/apps/web/src/components/report/index.tsx+++ b/apps/web/src/components/report/index.tsx@@ -1,13 +1,6 @@import { type IssueType } from '@repo/db/types';import React from 'react';import { useForm } from 'react-hook-form';-import {- type ChallengeReport,- type UserReport,- type CommentReport,- addReport,- type SolutionReport,-} from '~/components/report/report.action';import {Dialog,DialogContent,@@ -16,13 +9,21 @@ import {DialogTitle,DialogDescription,DialogTrigger,-} from '~/components/ui/dialog';-import { Button } from '~/components/ui/button';-import { FormField, FormItem } from '~/components/ui/form';-import { Checkbox } from '~/components/ui/checkbox';-import { Textarea } from '~/components/ui/textarea';-import Text from '~/components/ui/typography/typography';-import { toast } from '~/components/ui/use-toast';+ Button,+ FormField,+ FormItem,+ Text,+ Checkbox,+ Textarea,+ toast,+} from '@repo/ui';+import {+ type ChallengeReport,+ type UserReport,+ type CommentReport,+ addReport,+ type SolutionReport,+} from '~/components/report/report.action';export interface ReportDialogPropsBase {triggerAsChild?: boolean;diff --git a/apps/web/src/components/report/types/challenge.report.tsx b/apps/web/src/components/report/types/challenge.report.tsxindex f1f0bff2..1c38612f 100644--- a/apps/web/src/components/report/types/challenge.report.tsx+++ b/apps/web/src/components/report/types/challenge.report.tsx@@ -1,10 +1,10 @@-import { ThumbsUp } from 'lucide-react';+import { ThumbsUp } from '@repo/ui/icons';+import { Text, UserBadge } from '@repo/ui';+import Link from 'next/link';import { type ReportWithInfo } from '~/app/admin/report/[id]/report.action';import { getChallenge } from '~/components/admin/admin.actions';import { CodeEditor } from '~/components/ui/code-editor';import { Markdown } from '~/components/ui/markdown';-import Text from '~/components/ui/typography/typography';-import { UserBadge } from '~/components/ui/user-badge';export interface ChallengeReportProps {report: NonNullable<ReportWithInfo>;@@ -30,7 +30,10 @@ export default async function ChallengeReport({ report }: ChallengeReportProps)timeStyle: 'medium',})}</Text>- <UserBadge username={report.challenge.user.name || 'No author found'} />+ <UserBadge+ username={report.challenge.user.name || 'No author found'}+ linkComponent={Link}+ /><div className="my-2 flex gap-4"><ThumbsUp /> {challengeInfo._count.vote}</div>diff --git a/apps/web/src/components/report/types/solution.report.tsx b/apps/web/src/components/report/types/solution.report.tsxindex cdfe5f12..646894cf 100644--- a/apps/web/src/components/report/types/solution.report.tsx+++ b/apps/web/src/components/report/types/solution.report.tsx@@ -2,9 +2,9 @@import Link from 'next/link';import { prisma } from '@repo/db';-import { type ReportWithInfo } from '~/app/admin/report/[id]/report.action';+import { Text } from '@repo/ui';import { Markdown } from '~/components/ui/markdown';-import Text from '~/components/ui/typography/typography';+import { type ReportWithInfo } from '~/app/admin/report/[id]/report.action';async function getSolutionChallenge(challengeId: number) {return prisma.challenge.findFirstOrThrow({diff --git a/apps/web/src/components/report/types/user.report.tsx b/apps/web/src/components/report/types/user.report.tsxindex 5b2018cc..ea272fe3 100644--- a/apps/web/src/components/report/types/user.report.tsx+++ b/apps/web/src/components/report/types/user.report.tsx@@ -1,11 +1,10 @@'use server';+import { Text, Expandable } from '@repo/ui';import { getReportedUserInformation } from '../report.action';+import { Markdown } from '~/components/ui/markdown';import { type ReportWithInfo } from '~/app/admin/report/[id]/report.action';import { Comment } from '~/components/challenge/comments/comment';-import { Expandable } from '~/components/ui/expandable';-import { Markdown } from '~/components/ui/markdown';-import Text from '~/components/ui/typography/typography';interface UserReportProps {report: NonNullable<ReportWithInfo>;diff --git a/apps/web/src/components/settings/index.tsx b/apps/web/src/components/settings/index.tsxindex b299771d..65abe45e 100644--- a/apps/web/src/components/settings/index.tsx+++ b/apps/web/src/components/settings/index.tsx@@ -4,12 +4,8 @@ import { zodResolver } from '@hookform/resolvers/zod';import { useFieldArray, useForm, useWatch } from 'react-hook-form';import * as z from 'zod';import Link from 'next/link';-import { Button } from '../ui/button';-import { Form, FormField, FormItem, FormMessage } from '../ui/form';-import { Input } from '../ui/input';+import { Button, Form, FormField, FormItem, FormMessage, Input, toast, MagicIcon } from '@repo/ui';import { RichMarkdownEditor } from '../ui/rich-markdown-editor';-import { toast } from '../ui/use-toast';-import { MagicIcon } from '../ui/magic-icon';import { updateProfile } from './settings.action';export interface UserLinkType {diff --git a/apps/web/src/components/ui/footsies.tsx b/apps/web/src/components/ui/footsies.tsxindex c807a2ff..9f6ab2eb 100644--- a/apps/web/src/components/ui/footsies.tsx+++ b/apps/web/src/components/ui/footsies.tsx@@ -1,5 +1,5 @@'use client';-import { Binary } from 'lucide-react';+import { Binary } from '@repo/ui/icons';export function Footsies() {return (diff --git a/apps/web/src/components/ui/navigation.tsx b/apps/web/src/components/ui/navigation.tsxindex 87158bc8..405ccb0b 100644--- a/apps/web/src/components/ui/navigation.tsx+++ b/apps/web/src/components/ui/navigation.tsx@@ -2,20 +2,20 @@import { useTheme } from 'next-themes';import { RoleTypes } from '@repo/db/types';-import { Loader2, LogIn, Moon, Plus, Settings, Settings2, Sun, User } from 'lucide-react';+import { Loader2, LogIn, Moon, Plus, Settings, Settings2, Sun, User } from '@repo/ui/icons';import { signIn, signOut, useSession } from '@repo/auth/react';import Link from 'next/link';import { usePathname } from 'next/navigation';import { useEffect, useState } from 'react';-import { Button } from './button';import {+ Button,DropdownMenu,DropdownMenuContent,DropdownMenuItem,DropdownMenuSeparator,DropdownMenuTrigger,-} from './dropdown-menu';-import { navigationMenuTriggerStyle } from './navigation-menu';+ navigationMenuTriggerStyle,+} from '@repo/ui';export function Navigation() {const pathname = usePathname();diff --git a/apps/web/src/components/ui/rich-markdown-editor.tsx b/apps/web/src/components/ui/rich-markdown-editor.tsxindex e9d9a8a1..0d9b3c71 100644--- a/apps/web/src/components/ui/rich-markdown-editor.tsx+++ b/apps/web/src/components/ui/rich-markdown-editor.tsx@@ -2,7 +2,7 @@ import { useTheme } from 'next-themes';import type { ChangeEvent } from 'react';import { useContext, useEffect, useRef, useState } from 'react';import MDEditor, { EditorContext, commands, type ICommand } from '@uiw/react-md-editor';-import { toast } from './use-toast';+import { toast } from '@repo/ui';import { insertText } from '~/utils/domUtils';import { useUploadThing } from '~/utils/useUploadthing';diff --git a/apps/web/src/components/user/dashboard/bookmark-tab.tsx b/apps/web/src/components/user/dashboard/bookmark-tab.tsxindex aee6dec9..e7b829ad 100644--- a/apps/web/src/components/user/dashboard/bookmark-tab.tsx+++ b/apps/web/src/components/user/dashboard/bookmark-tab.tsx@@ -6,7 +6,7 @@ import {TableHead,TableHeader,TableRow,-} from '~/components/ui/table';+} from '@repo/ui';const challengesList = [{diff --git a/apps/web/src/components/user/dashboard/in-progress-tab.tsx b/apps/web/src/components/user/dashboard/in-progress-tab.tsxindex fdb598ea..123e201f 100644--- a/apps/web/src/components/user/dashboard/in-progress-tab.tsx+++ b/apps/web/src/components/user/dashboard/in-progress-tab.tsx@@ -6,7 +6,7 @@ import {TableHead,TableHeader,TableRow,-} from '~/components/ui/table';+} from '@repo/ui';const challengesList = [{diff --git a/apps/web/src/components/user/dashboard/index.tsx b/apps/web/src/components/user/dashboard/index.tsxindex 8eded737..55d29b66 100644--- a/apps/web/src/components/user/dashboard/index.tsx+++ b/apps/web/src/components/user/dashboard/index.tsx@@ -4,15 +4,23 @@ import Link from 'next/link';import { getServerAuthSession } from '@repo/auth/server';import { ReactMarkdown } from 'react-markdown/lib/react-markdown';import { prisma } from '@repo/db';+import {+ Card,+ CardContent,+ CardHeader,+ CardTitle,+ Tabs,+ TabsContent,+ TabsList,+ TabsTrigger,+ Button,+ MagicIcon,+} from '@repo/ui';import { Overview } from './overview';import { InProgressTab } from './in-progress-tab';import { SolutionsTab } from './solutions-tab';import UserHeader from './user-header';-import { Card, CardContent, CardHeader, CardTitle } from '~/components/ui/card';-import { Tabs, TabsContent, TabsList, TabsTrigger } from '~/components/ui/tabs';import { getRelativeTime } from '~/utils/relativeTime';-import { Button } from '~/components/ui/button';-import { MagicIcon } from '~/components/ui/magic-icon';import { stripProtocolAndWWW } from '~/utils/stringUtils';interface Props {diff --git a/apps/web/src/components/user/dashboard/overview.tsx b/apps/web/src/components/user/dashboard/overview.tsxindex e9849ed0..ffc3fb95 100644--- a/apps/web/src/components/user/dashboard/overview.tsx+++ b/apps/web/src/components/user/dashboard/overview.tsx@@ -6,7 +6,7 @@ import {TableHead,TableHeader,TableRow,-} from '~/components/ui/table';+} from '@repo/ui';const challengesList = [{diff --git a/apps/web/src/components/user/dashboard/solutions-tab.tsx b/apps/web/src/components/user/dashboard/solutions-tab.tsxindex 99fd582a..19963f56 100644--- a/apps/web/src/components/user/dashboard/solutions-tab.tsx+++ b/apps/web/src/components/user/dashboard/solutions-tab.tsx@@ -1,5 +1,4 @@import Link from 'next/link';-import type { UserData } from '.';import {Table,TableBody,@@ -8,7 +7,8 @@ import {TableHead,TableHeader,TableRow,-} from '~/components/ui/table';+} from '@repo/ui';+import type { UserData } from '.';export function SolutionsTab({ submissions = [] }: { submissions: UserData['submission'] }) {return (diff --git a/apps/web/src/components/user/dashboard/user-header.tsx b/apps/web/src/components/user/dashboard/user-header.tsxindex d086998c..ea0fd9d3 100644--- a/apps/web/src/components/user/dashboard/user-header.tsx+++ b/apps/web/src/components/user/dashboard/user-header.tsx@@ -1,10 +1,9 @@'use client';import { type User } from '@repo/db/types';-import { Flag } from 'lucide-react';-import Text from '~/components/ui/typography/typography';+import { Flag } from '@repo/ui/icons';+import { ActionMenu, Text } from '@repo/ui';import ReportDialog from '~/components/report';-import { ActionMenu } from '~/components/ui/action-menu';export interface UserHeaderProps {user: User;diff --git a/apps/web/src/components/wizard/ChallengeCardEditor.tsx b/apps/web/src/components/wizard/ChallengeCardEditor.tsxindex 49f07eb2..4b37999d 100644--- a/apps/web/src/components/wizard/ChallengeCardEditor.tsx+++ b/apps/web/src/components/wizard/ChallengeCardEditor.tsx@@ -1,13 +1,23 @@'use client';import { useWatch } from 'react-hook-form';-import type { ExploreChallengeFetcher } from '../explore';+import {+ FormControl,+ FormField,+ FormItem,+ FormLabel,+ FormMessage,+ Input,+ Select,+ SelectContent,+ SelectItem,+ SelectTrigger,+ SelectValue,+ Textarea,+ TypographyH3,+} from '@repo/ui';import { ExploreCard } from '../explore/explore-card';-import { FormControl, FormField, FormItem, FormLabel, FormMessage } from '../ui/form';-import { Input } from '../ui/input';-import { Select, SelectContent, SelectItem, SelectTrigger, SelectValue } from '../ui/select';-import { Textarea } from '../ui/textarea';-import { TypographyH3 } from '../ui/typography/h3';+import type { ExploreChallengeFetcher } from '../explore';import type { WizardForm } from '.';interface Props {diff --git a/apps/web/src/components/wizard/DescriptionEditor.tsx b/apps/web/src/components/wizard/DescriptionEditor.tsxindex 9ea9d1c0..295a1108 100644--- a/apps/web/src/components/wizard/DescriptionEditor.tsx+++ b/apps/web/src/components/wizard/DescriptionEditor.tsx@@ -1,10 +1,9 @@'use client';import { useWatch } from 'react-hook-form';-import { FormField, FormItem, FormMessage } from '../ui/form';+import { FormField, FormItem, FormMessage, TypographyH3 } from '@repo/ui';import { Markdown } from '../ui/markdown';import { RichMarkdownEditor } from '../ui/rich-markdown-editor';-import { TypographyH3 } from '../ui/typography/h3';import { type WizardForm } from '.';interface Props {diff --git a/apps/web/src/components/wizard/NextBack.tsx b/apps/web/src/components/wizard/NextBack.tsxindex 9b28d41a..147eb9e1 100644--- a/apps/web/src/components/wizard/NextBack.tsx+++ b/apps/web/src/components/wizard/NextBack.tsx@@ -1,4 +1,4 @@-import { Button } from '../ui/button';+import { Button } from '@repo/ui';import { STEPS } from '.';interface Props {diff --git a/apps/web/src/components/wizard/Steps.tsx b/apps/web/src/components/wizard/Steps.tsxindex 991a5e48..3dfaafb2 100644--- a/apps/web/src/components/wizard/Steps.tsx+++ b/apps/web/src/components/wizard/Steps.tsx@@ -1,4 +1,4 @@-import { Check } from 'lucide-react';+import { Check } from '@repo/ui/icons';import { type Step } from '.';interface Props<T extends Step> {diff --git a/apps/web/src/components/wizard/TestCasesEditor.tsx b/apps/web/src/components/wizard/TestCasesEditor.tsxindex 52f62ef4..de259f33 100644--- a/apps/web/src/components/wizard/TestCasesEditor.tsx+++ b/apps/web/src/components/wizard/TestCasesEditor.tsx@@ -1,22 +1,26 @@import type { OnChange } from '@monaco-editor/react';-import { Settings } from 'lucide-react';+import { Settings } from '@repo/ui/icons';import type * as monaco from 'monaco-editor';import { useCallback } from 'react';-import { LIB_URI, type TsErrors } from '../challenge/code-panel';-import { libSource } from '../challenge/code-panel/editor-types';-import { SettingsForm } from '../challenge/settings-form';-import { CodeEditor } from '../ui/code-editor';-import { FormField, FormItem, FormMessage } from '../ui/form';-import { TypographyH3 } from '../ui/typography/h3';-import type { WizardForm } from '.';-import { Tooltip, TooltipContent, TooltipTrigger } from '~/components/ui/tooltip';import {+ FormField,+ FormItem,+ FormMessage,+ TypographyH3,+ Tooltip,+ TooltipContent,+ TooltipTrigger,Dialog,DialogContent,DialogHeader,DialogTitle,DialogTrigger,-} from '~/components/ui/dialog';+} from '@repo/ui';+import { LIB_URI, type TsErrors } from '../challenge/code-panel';+import { libSource } from '../challenge/code-panel/editor-types';+import { SettingsForm } from '../challenge/settings-form';+import { CodeEditor } from '../ui/code-editor';+import type { WizardForm } from '.';interface Props {form: WizardForm;diff --git a/apps/web/src/components/wizard/index.tsx b/apps/web/src/components/wizard/index.tsxindex 8ad7928a..90060662 100644--- a/apps/web/src/components/wizard/index.tsx+++ b/apps/web/src/components/wizard/index.tsx@@ -6,6 +6,7 @@ import { useEffect, useMemo, useState } from 'react';import { useForm, type UseFormReturn } from 'react-hook-form';import { z } from 'zod';import { useSession } from '@repo/auth/react';+import { Form } from '@repo/ui';import { USER_CODE_START, USER_CODE_START_REGEX } from '../challenge/code-panel/constants';import type { TsErrors } from '../challenge/code-panel';import { ChallengeCardEditor } from './ChallengeCardEditor';@@ -17,7 +18,6 @@ import { TestCasesEditor } from './TestCasesEditor';import { uploadChallenge } from './create.action';import DEFAULT_CHALLENGE_TEMPLATE from './default-challenge.md';import DEFAULT_DESCRIPTION from './default-description.md';-import { Form } from '~/components/ui/form';export const enum STEPS {ChallengeCard,diff --git a/apps/web/tailwind.config.ts b/apps/web/tailwind.config.tsindex 4536a213..bf905808 100644--- a/apps/web/tailwind.config.ts+++ b/apps/web/tailwind.config.ts@@ -5,7 +5,7 @@ const { fontFamily } =/** @type {import('tailwindcss').Config} */module.exports = {darkMode: ['class'],- content: ['./app/**/*.{js,ts,jsx,tsx,mdx}', 'src/**/*.{ts,tsx}'],+ content: ['./app/**/*.{js,ts,jsx,tsx,mdx}', 'src/**/*.{ts,tsx}', '../../packages/ui/**/*.{ts,tsx}'],theme: {extend: {screens: {diff --git a/packages/ui/.eslintrc.js b/packages/ui/.eslintrc.jsnew file mode 100644index 00000000..6c5b786f--- /dev/null+++ b/packages/ui/.eslintrc.js@@ -0,0 +1,8 @@+/** @type {import("eslint").Linter.Config} */+module.exports = {+ root: true,+ extends: [require.resolve('@repo/lint/node')],+ parserOptions: {+ project: `${__dirname}/tsconfig.json`,+ },+};diff --git a/packages/ui/package.json b/packages/ui/package.jsonnew file mode 100644index 00000000..54f071c5--- /dev/null+++ b/packages/ui/package.json@@ -0,0 +1,61 @@+{+ "name": "@repo/ui",+ "version": "0.1.1",+ "private": true,+ "exports": {+ ".": "./src/index.ts",+ "./types": "./src/types.ts",+ "./icons": "./src/icons.ts"+ },+ "typesVersions": {+ "*": {+ "*": [+ "./src/index.ts"+ ],+ "types": [+ "./src/types.ts"+ ],+ "icons": [+ "./src/icons.ts"+ ]+ }+ },+ "scripts": {+ "format": "prettier \"**/*.{ts,tsx,md,mdx,json}\" --check",+ "lint": "eslint .",+ "typecheck": "tsc --noEmit"+ },+ "dependencies": {+ "@radix-ui/react-avatar": "^1.0.3",+ "@radix-ui/react-checkbox": "^1.0.4",+ "@radix-ui/react-dialog": "^1.0.4",+ "@radix-ui/react-dropdown-menu": "^2.0.5",+ "@radix-ui/react-label": "^2.0.2",+ "@radix-ui/react-navigation-menu": "^1.1.3",+ "@radix-ui/react-popover": "^1.0.6",+ "@radix-ui/react-scroll-area": "^1.0.4",+ "@radix-ui/react-select": "^1.2.2",+ "@radix-ui/react-separator": "^1.0.3",+ "@radix-ui/react-slot": "^1.0.2",+ "@radix-ui/react-tabs": "^1.0.4",+ "@radix-ui/react-toast": "^1.1.4",+ "@radix-ui/react-tooltip": "^1.0.6",+ "@repo/db": "workspace:*",+ "class-variance-authority": "^0.7.0",+ "clsx": "^2.0.0",+ "cmdk": "^0.2.0",+ "lucide-react": "^0.260.0",+ "react": "^18.2.0",+ "react-day-picker": "^8.8.0",+ "react-hook-form": "^7.45.1",+ "tailwind-merge": "^1.14.0",+ "tailwindcss-animate": "^1.0.6"+ },+ "devDependencies": {+ "@repo/lint": "workspace:*",+ "@repo/tsconfig": "workspace:*",+ "@types/react": "^18.2.20",+ "eslint": "^8.42.0",+ "typescript": "^5.1.3"+ }+}diff --git a/apps/web/src/utils/cn.ts b/packages/ui/src/cn.tssimilarity index 100%rename from apps/web/src/utils/cn.tsrename to packages/ui/src/cn.tsdiff --git a/apps/web/src/components/ui/action-menu.tsx b/packages/ui/src/components/action-menu.tsxsimilarity index 100%rename from apps/web/src/components/ui/action-menu.tsxrename to packages/ui/src/components/action-menu.tsxdiff --git a/apps/web/src/components/ui/alert.tsx b/packages/ui/src/components/alert.tsxsimilarity index 98%rename from apps/web/src/components/ui/alert.tsxrename to packages/ui/src/components/alert.tsxindex c52eeed3..9d4131e9 100644--- a/apps/web/src/components/ui/alert.tsx+++ b/packages/ui/src/components/alert.tsx@@ -1,6 +1,6 @@import * as React from 'react';import { cva, type VariantProps } from 'class-variance-authority';-import { cn } from '~/utils/cn';+import { cn } from '../cn';const alertVariants = cva('relative w-full rounded-lg border p-4 [&:has(svg)]:pl-11 [&>svg+div]:translate-y-[-3px] [&>svg]:absolute [&>svg]:left-4 [&>svg]:top-4 [&>svg]:text-foreground',diff --git a/apps/web/src/components/ui/avatar.tsx b/packages/ui/src/components/avatar.tsxsimilarity index 97%rename from apps/web/src/components/ui/avatar.tsxrename to packages/ui/src/components/avatar.tsxindex 4fa0a969..67af7e76 100644--- a/apps/web/src/components/ui/avatar.tsx+++ b/packages/ui/src/components/avatar.tsx@@ -2,7 +2,7 @@import * as React from 'react';import * as AvatarPrimitive from '@radix-ui/react-avatar';-import { cn } from '~/utils/cn';+import { cn } from '../cn';const Avatar = React.forwardRef<React.ElementRef<typeof AvatarPrimitive.Root>,diff --git a/apps/web/src/components/ui/badge.tsx b/packages/ui/src/components/badge.tsxsimilarity index 97%rename from apps/web/src/components/ui/badge.tsxrename to packages/ui/src/components/badge.tsxindex 750e5336..53a1e039 100644--- a/apps/web/src/components/ui/badge.tsx+++ b/packages/ui/src/components/badge.tsx@@ -2,7 +2,7 @@import * as React from 'react';import { cva, type VariantProps } from 'class-variance-authority';-import { cn } from '~/utils/cn';+import { cn } from '../cn';const badgeVariants = cva('inline-flex items-center border rounded-full px-2.5 py-0.5 text-xs font-semibold transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2',diff --git a/apps/web/src/components/ui/button.tsx b/packages/ui/src/components/button.tsxsimilarity index 98%rename from apps/web/src/components/ui/button.tsxrename to packages/ui/src/components/button.tsxindex 4d02f594..929e443d 100644--- a/apps/web/src/components/ui/button.tsx+++ b/packages/ui/src/components/button.tsx@@ -2,7 +2,7 @@import * as React from 'react';import { Slot } from '@radix-ui/react-slot';import { cva, type VariantProps } from 'class-variance-authority';-import { cn } from '~/utils/cn';+import { cn } from '../cn';const buttonVariants = cva('inline-flex items-center justify-center rounded-md text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:opacity-50 disabled:pointer-events-none ring-offset-background',diff --git a/apps/web/src/components/ui/calendar.tsx b/packages/ui/src/components/calendar.tsxsimilarity index 96%rename from apps/web/src/components/ui/calendar.tsxrename to packages/ui/src/components/calendar.tsxindex f1d122a8..ae5307f9 100644--- a/apps/web/src/components/ui/calendar.tsx+++ b/packages/ui/src/components/calendar.tsx@@ -3,8 +3,8 @@import * as React from 'react';import { ChevronLeft, ChevronRight } from 'lucide-react';import { DayPicker } from 'react-day-picker';-import { cn } from '~/utils/cn';-import { buttonVariants } from '~/components/ui/button';+import { cn } from '../cn';+import { buttonVariants } from './button';export type CalendarProps = React.ComponentProps<typeof DayPicker>;diff --git a/apps/web/src/components/ui/card.tsx b/packages/ui/src/components/card.tsxsimilarity index 98%rename from apps/web/src/components/ui/card.tsxrename to packages/ui/src/components/card.tsxindex c57803c4..57e0409c 100644--- a/apps/web/src/components/ui/card.tsx+++ b/packages/ui/src/components/card.tsx@@ -1,6 +1,6 @@'use client';import * as React from 'react';-import { cn } from '~/utils/cn';+import { cn } from '../cn';const Card = React.forwardRef<HTMLDivElement, React.HTMLAttributes<HTMLDivElement>>(({ className, ...props }, ref) => (diff --git a/apps/web/src/components/ui/checkbox.tsx b/packages/ui/src/components/checkbox.tsxsimilarity index 96%rename from apps/web/src/components/ui/checkbox.tsxrename to packages/ui/src/components/checkbox.tsxindex d4cc12cf..113f899e 100644--- a/apps/web/src/components/ui/checkbox.tsx+++ b/packages/ui/src/components/checkbox.tsx@@ -3,7 +3,7 @@import * as React from 'react';import * as CheckboxPrimitive from '@radix-ui/react-checkbox';import { Check } from 'lucide-react';-import { cn } from '~/utils/cn';+import { cn } from '../cn';const Checkbox = React.forwardRef<React.ElementRef<typeof CheckboxPrimitive.Root>,diff --git a/apps/web/src/components/ui/command.tsx b/packages/ui/src/components/command.tsxsimilarity index 97%rename from apps/web/src/components/ui/command.tsxrename to packages/ui/src/components/command.tsxindex 2308f115..f6b9310c 100644--- a/apps/web/src/components/ui/command.tsx+++ b/packages/ui/src/components/command.tsx@@ -3,8 +3,8 @@ import * as React from 'react';import type { DialogProps } from '@radix-ui/react-dialog';import { Command as CommandPrimitive } from 'cmdk';import { Search } from 'lucide-react';-import { cn } from '~/utils/cn';-import { Dialog, DialogContent } from '~/components/ui/dialog';+import { cn } from '../cn';+import { Dialog, DialogContent } from './dialog';const Command = React.forwardRef<React.ElementRef<typeof CommandPrimitive>,diff --git a/apps/web/src/components/ui/dialog.tsx b/packages/ui/src/components/dialog.tsxsimilarity index 99%rename from apps/web/src/components/ui/dialog.tsxrename to packages/ui/src/components/dialog.tsxindex 41c9c166..56c28162 100644--- a/apps/web/src/components/ui/dialog.tsx+++ b/packages/ui/src/components/dialog.tsx@@ -3,7 +3,7 @@import * as React from 'react';import * as DialogPrimitive from '@radix-ui/react-dialog';import { X } from 'lucide-react';-import { cn } from '~/utils/cn';+import { cn } from '../cn';const Dialog = DialogPrimitive.Root;diff --git a/apps/web/src/components/ui/difficulty-badge.tsx b/packages/ui/src/components/difficulty-badge.tsxsimilarity index 100%rename from apps/web/src/components/ui/difficulty-badge.tsxrename to packages/ui/src/components/difficulty-badge.tsxdiff --git a/apps/web/src/components/ui/dropdown-menu.tsx b/packages/ui/src/components/dropdown-menu.tsxsimilarity index 99%rename from apps/web/src/components/ui/dropdown-menu.tsxrename to packages/ui/src/components/dropdown-menu.tsxindex 49e2455f..9dc4b268 100644--- a/apps/web/src/components/ui/dropdown-menu.tsx+++ b/packages/ui/src/components/dropdown-menu.tsx@@ -3,7 +3,7 @@import * as React from 'react';import * as DropdownMenuPrimitive from '@radix-ui/react-dropdown-menu';import { Check, ChevronRight, Circle } from 'lucide-react';-import { cn } from '~/utils/cn';+import { cn } from '../cn';const DropdownMenu = DropdownMenuPrimitive.Root;diff --git a/apps/web/src/components/ui/expandable.tsx b/packages/ui/src/components/expandable.tsxsimilarity index 100%rename from apps/web/src/components/ui/expandable.tsxrename to packages/ui/src/components/expandable.tsxdiff --git a/apps/web/src/components/ui/force-render-until-client.tsx b/packages/ui/src/components/force-render-until-client.tsxsimilarity index 100%rename from apps/web/src/components/ui/force-render-until-client.tsxrename to packages/ui/src/components/force-render-until-client.tsxdiff --git a/apps/web/src/components/ui/form.tsx b/packages/ui/src/components/form.tsxsimilarity index 98%rename from apps/web/src/components/ui/form.tsxrename to packages/ui/src/components/form.tsxindex ee85a975..44bfaec9 100644--- a/apps/web/src/components/ui/form.tsx+++ b/packages/ui/src/components/form.tsx@@ -11,8 +11,8 @@ import {FormProvider,useFormContext,} from 'react-hook-form';-import { cn } from '~/utils/cn';-import { Label } from '~/components/ui/label';+import { cn } from '../cn';+import { Label } from './label';const Form = FormProvider;diff --git a/apps/web/src/components/ui/icon-button.tsx b/packages/ui/src/components/icon-button.tsxsimilarity index 100%rename from apps/web/src/components/ui/icon-button.tsxrename to packages/ui/src/components/icon-button.tsxdiff --git a/apps/web/src/components/ui/input.tsx b/packages/ui/src/components/input.tsxsimilarity index 96%rename from apps/web/src/components/ui/input.tsxrename to packages/ui/src/components/input.tsxindex 7d42e723..5de98e69 100644--- a/apps/web/src/components/ui/input.tsx+++ b/packages/ui/src/components/input.tsx@@ -1,6 +1,6 @@'use client';import * as React from 'react';-import { cn } from '~/utils/cn';+import { cn } from '../cn';export type InputProps = React.InputHTMLAttributes<HTMLInputElement>;diff --git a/apps/web/src/components/ui/label.tsx b/packages/ui/src/components/label.tsxsimilarity index 95%rename from apps/web/src/components/ui/label.tsxrename to packages/ui/src/components/label.tsxindex 387bda6a..be3b7d56 100644--- a/apps/web/src/components/ui/label.tsx+++ b/packages/ui/src/components/label.tsx@@ -3,7 +3,7 @@import * as React from 'react';import * as LabelPrimitive from '@radix-ui/react-label';import { cva, type VariantProps } from 'class-variance-authority';-import { cn } from '~/utils/cn';+import { cn } from '../cn';const labelVariants = cva('text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70',diff --git a/apps/web/src/components/ui/magic-icon.tsx b/packages/ui/src/components/magic-icon.tsxsimilarity index 100%rename from apps/web/src/components/ui/magic-icon.tsxrename to packages/ui/src/components/magic-icon.tsxdiff --git a/apps/web/src/components/ui/navigation-menu.tsx b/packages/ui/src/components/navigation-menu.tsxsimilarity index 99%rename from apps/web/src/components/ui/navigation-menu.tsxrename to packages/ui/src/components/navigation-menu.tsxindex 82870f29..285276a3 100644--- a/apps/web/src/components/ui/navigation-menu.tsx+++ b/packages/ui/src/components/navigation-menu.tsx@@ -3,7 +3,7 @@ import * as React from 'react';import * as NavigationMenuPrimitive from '@radix-ui/react-navigation-menu';import { cva } from 'class-variance-authority';import { ChevronDown } from 'lucide-react';-import { cn } from '~/utils/cn';+import { cn } from '../cn';const NavigationMenu = React.forwardRef<React.ElementRef<typeof NavigationMenuPrimitive.Root>,diff --git a/apps/web/src/components/ui/pagination.tsx b/packages/ui/src/components/pagination.tsxsimilarity index 100%rename from apps/web/src/components/ui/pagination.tsxrename to packages/ui/src/components/pagination.tsxdiff --git a/apps/web/src/components/ui/paragraph.tsx b/packages/ui/src/components/paragraph.tsxsimilarity index 100%rename from apps/web/src/components/ui/paragraph.tsxrename to packages/ui/src/components/paragraph.tsxdiff --git a/apps/web/src/components/ui/popover.tsx b/packages/ui/src/components/popover.tsxsimilarity index 97%rename from apps/web/src/components/ui/popover.tsxrename to packages/ui/src/components/popover.tsxindex 1f5fb533..73144fe7 100644--- a/apps/web/src/components/ui/popover.tsx+++ b/packages/ui/src/components/popover.tsx@@ -1,7 +1,7 @@'use client';import * as React from 'react';import * as PopoverPrimitive from '@radix-ui/react-popover';-import { cn } from '~/utils/cn';+import { cn } from '../cn';const Popover = PopoverPrimitive.Root;diff --git a/apps/web/src/components/ui/scroll-area.tsx b/packages/ui/src/components/scroll-area.tsxsimilarity index 97%rename from apps/web/src/components/ui/scroll-area.tsxrename to packages/ui/src/components/scroll-area.tsxindex de424ad3..410a8ca5 100644--- a/apps/web/src/components/ui/scroll-area.tsx+++ b/packages/ui/src/components/scroll-area.tsx@@ -2,7 +2,7 @@import * as ScrollAreaPrimitive from '@radix-ui/react-scroll-area';import * as React from 'react';-import { cn } from '~/utils/cn';+import { cn } from '../cn';const ScrollArea = React.forwardRef<React.ElementRef<typeof ScrollAreaPrimitive.Root>,diff --git a/apps/web/src/components/ui/select.tsx b/packages/ui/src/components/select.tsxsimilarity index 99%rename from apps/web/src/components/ui/select.tsxrename to packages/ui/src/components/select.tsxindex 62071fac..5783dbc9 100644--- a/apps/web/src/components/ui/select.tsx+++ b/packages/ui/src/components/select.tsx@@ -3,7 +3,7 @@import * as React from 'react';import * as SelectPrimitive from '@radix-ui/react-select';import { Check, ChevronDown } from 'lucide-react';-import { cn } from '~/utils/cn';+import { cn } from '../cn';const Select = SelectPrimitive.Root;diff --git a/apps/web/src/components/ui/separator.tsx b/packages/ui/src/components/separator.tsxsimilarity index 95%rename from apps/web/src/components/ui/separator.tsxrename to packages/ui/src/components/separator.tsxindex e699a387..ea69e81c 100644--- a/apps/web/src/components/ui/separator.tsx+++ b/packages/ui/src/components/separator.tsx@@ -2,7 +2,7 @@import * as React from 'react';import * as SeparatorPrimitive from '@radix-ui/react-separator';-import { cn } from '~/utils/cn';+import { cn } from '../cn';const Separator = React.forwardRef<React.ElementRef<typeof SeparatorPrimitive.Root>,diff --git a/apps/web/src/components/ui/skeleton.tsx b/packages/ui/src/components/skeleton.tsxsimilarity index 86%rename from apps/web/src/components/ui/skeleton.tsxrename to packages/ui/src/components/skeleton.tsxindex d730d288..cbf55cc8 100644--- a/apps/web/src/components/ui/skeleton.tsx+++ b/packages/ui/src/components/skeleton.tsx@@ -1,4 +1,4 @@-import { cn } from '~/utils/cn';+import { cn } from '../cn';function Skeleton({ className, ...props }: React.HTMLAttributes<HTMLDivElement>) {return <div className={cn('bg-primary/10 animate-pulse rounded-md', className)} {...props} />;diff --git a/apps/web/src/components/ui/table.tsx b/packages/ui/src/components/table.tsxsimilarity index 98%rename from apps/web/src/components/ui/table.tsxrename to packages/ui/src/components/table.tsxindex 2812912e..191741b5 100644--- a/apps/web/src/components/ui/table.tsx+++ b/packages/ui/src/components/table.tsx@@ -1,5 +1,5 @@import * as React from 'react';-import { cn } from '~/utils/cn';+import { cn } from '../cn';const Table = React.forwardRef<HTMLTableElement, React.HTMLAttributes<HTMLTableElement>>(({ className, ...props }, ref) => (diff --git a/apps/web/src/components/ui/tabs.tsx b/packages/ui/src/components/tabs.tsxsimilarity index 98%rename from apps/web/src/components/ui/tabs.tsxrename to packages/ui/src/components/tabs.tsxindex 56d6dc0b..e40d5ec3 100644--- a/apps/web/src/components/ui/tabs.tsx+++ b/packages/ui/src/components/tabs.tsx@@ -2,7 +2,7 @@import * as React from 'react';import * as TabsPrimitive from '@radix-ui/react-tabs';-import { cn } from '~/utils/cn';+import { cn } from '../cn';const Tabs = TabsPrimitive.Root;diff --git a/apps/web/src/components/ui/textarea.tsx b/packages/ui/src/components/textarea.tsxsimilarity index 95%rename from apps/web/src/components/ui/textarea.tsxrename to packages/ui/src/components/textarea.tsxindex fe7a2579..ea26d889 100644--- a/apps/web/src/components/ui/textarea.tsx+++ b/packages/ui/src/components/textarea.tsx@@ -1,5 +1,5 @@import * as React from 'react';-import { cn } from '~/utils/cn';+import { cn } from '../cn';export type TextareaProps = React.TextareaHTMLAttributes<HTMLTextAreaElement>;diff --git a/apps/web/src/components/ui/toast.tsx b/packages/ui/src/components/toast.tsxsimilarity index 99%rename from apps/web/src/components/ui/toast.tsxrename to packages/ui/src/components/toast.tsxindex 77319159..3159c804 100644--- a/apps/web/src/components/ui/toast.tsx+++ b/packages/ui/src/components/toast.tsx@@ -3,7 +3,7 @@ import * as React from 'react';import * as ToastPrimitives from '@radix-ui/react-toast';import { cva, type VariantProps } from 'class-variance-authority';import { X } from 'lucide-react';-import { cn } from '~/utils/cn';+import { cn } from '../cn';const ToastProvider = ToastPrimitives.Provider;diff --git a/apps/web/src/components/ui/toaster.tsx b/packages/ui/src/components/toaster.tsxsimilarity index 88%rename from apps/web/src/components/ui/toaster.tsxrename to packages/ui/src/components/toaster.tsxindex c981130f..3bd0de84 100644--- a/apps/web/src/components/ui/toaster.tsx+++ b/packages/ui/src/components/toaster.tsx@@ -7,8 +7,8 @@ import {ToastProvider,ToastTitle,ToastViewport,-} from '~/components/ui/toast';-import { useToast } from '~/components/ui/use-toast';+} from './toast';+import { useToast } from './use-toast';export function Toaster() {const { toasts } = useToast();diff --git a/apps/web/src/components/ui/tooltip.tsx b/packages/ui/src/components/tooltip.tsxsimilarity index 97%rename from apps/web/src/components/ui/tooltip.tsxrename to packages/ui/src/components/tooltip.tsxindex 179c59de..15dc3d32 100644--- a/apps/web/src/components/ui/tooltip.tsx+++ b/packages/ui/src/components/tooltip.tsx@@ -2,7 +2,7 @@import * as React from 'react';import * as TooltipPrimitive from '@radix-ui/react-tooltip';-import { cn } from '~/utils/cn';+import { cn } from '../cn';const TooltipProvider = TooltipPrimitive.Provider;diff --git a/apps/web/src/components/ui/typography/h1.tsx b/packages/ui/src/components/typography/h1.tsxsimilarity index 90%rename from apps/web/src/components/ui/typography/h1.tsxrename to packages/ui/src/components/typography/h1.tsxindex 588bae52..c8a4105d 100644--- a/apps/web/src/components/ui/typography/h1.tsx+++ b/packages/ui/src/components/typography/h1.tsx@@ -1,4 +1,4 @@-import { cn } from '~/utils/cn';+import { cn } from '../../cn';interface Props extends React.HTMLAttributes<HTMLHeadingElement> {children: React.ReactNode;diff --git a/apps/web/src/components/ui/typography/h2.tsx b/packages/ui/src/components/typography/h2.tsxsimilarity index 92%rename from apps/web/src/components/ui/typography/h2.tsxrename to packages/ui/src/components/typography/h2.tsxindex 683d944f..7273521c 100644--- a/apps/web/src/components/ui/typography/h2.tsx+++ b/packages/ui/src/components/typography/h2.tsx@@ -1,4 +1,4 @@-import { cn } from '~/utils/cn';+import { cn } from '../../cn';interface Props extends React.HTMLAttributes<HTMLHeadingElement> {children: React.ReactNode;diff --git a/apps/web/src/components/ui/typography/h3.tsx b/packages/ui/src/components/typography/h3.tsxsimilarity index 90%rename from apps/web/src/components/ui/typography/h3.tsxrename to packages/ui/src/components/typography/h3.tsxindex b4ade342..cb7d244d 100644--- a/apps/web/src/components/ui/typography/h3.tsx+++ b/packages/ui/src/components/typography/h3.tsx@@ -1,4 +1,4 @@-import { cn } from '~/utils/cn';+import { cn } from '../../cn';interface Props extends React.HTMLAttributes<HTMLHeadingElement> {children: React.ReactNode;diff --git a/apps/web/src/components/ui/typography/large.tsx b/packages/ui/src/components/typography/large.tsxsimilarity index 100%rename from apps/web/src/components/ui/typography/large.tsxrename to packages/ui/src/components/typography/large.tsxdiff --git a/apps/web/src/components/ui/typography/typography.tsx b/packages/ui/src/components/typography/typography.tsxsimilarity index 96%rename from apps/web/src/components/ui/typography/typography.tsxrename to packages/ui/src/components/typography/typography.tsxindex b054c9b5..c5105a65 100644--- a/apps/web/src/components/ui/typography/typography.tsx+++ b/packages/ui/src/components/typography/typography.tsx@@ -1,6 +1,6 @@import React from 'react';import { cva } from 'class-variance-authority';-import { cn } from '~/utils/cn';+import { cn } from '../../cn';export type Intent = 'body' | 'h1' | 'h2' | 'h3' | 'leading' | 'title';@@ -60,7 +60,7 @@ export type CorrectProps<T extends keyof JSX.IntrinsicElements = keyof JSX.Intriexport type Combined<T, U> = T & U;-export default function Text<T extends TagOptions>({+export function Text<T extends TagOptions>({intent = 'body',weight,tag,diff --git a/apps/web/src/components/ui/use-toast.ts b/packages/ui/src/components/use-toast.tssimilarity index 94%rename from apps/web/src/components/ui/use-toast.tsrename to packages/ui/src/components/use-toast.tsindex 92cef6c4..71463fdd 100644--- a/apps/web/src/components/ui/use-toast.ts+++ b/packages/ui/src/components/use-toast.ts@@ -1,6 +1,8 @@+'use client';+// Inspired by react-hot-toast library-import * as React from 'react';-import type { ToastActionElement, ToastProps } from '~/components/ui/toast';+import { useState, useEffect } from 'react';+import type { ToastActionElement, ToastProps } from './toast';const TOAST_LIMIT = 1;const TOAST_REMOVE_DELAY = 1000000;@@ -164,9 +166,9 @@ function toast({ ...props }: Toast) {}function useToast() {- const [state, setState] = React.useState<State>(memoryState);+ const [state, setState] = useState<State>(memoryState);- React.useEffect(() => {+ useEffect(() => {listeners.push(setState);return () => {const index = listeners.indexOf(setState);diff --git a/apps/web/src/components/ui/user-badge.tsx b/packages/ui/src/components/user-badge.tsxsimilarity index 83%rename from apps/web/src/components/ui/user-badge.tsxrename to packages/ui/src/components/user-badge.tsxindex 770f8798..0578294b 100644--- a/apps/web/src/components/ui/user-badge.tsx+++ b/packages/ui/src/components/user-badge.tsx@@ -1,12 +1,15 @@-import Link from 'next/link';+import type { NextjsLinkComponentType } from '../types';import { Tooltip, TooltipContent, TooltipTrigger } from './tooltip';-import { Button } from '~/components/ui/button';+import { Button } from './button';export interface UserBadgeProps {username: string;+ linkComponent: NextjsLinkComponentType;}function UserBadge(props: UserBadgeProps) {+ const Link = props.linkComponent;+return (<Tooltip><TooltipTrigger asChild>diff --git a/packages/ui/src/icons.ts b/packages/ui/src/icons.tsnew file mode 100644index 00000000..843545f7--- /dev/null+++ b/packages/ui/src/icons.ts@@ -0,0 +1,42 @@+export {+ Lock,+ Github,+ Loader2,+ Diamond,+ Circle,+ Share,+ X,+ Calendar,+ Copy,+ MessageCircle,+ Bookmark,+ Clipboard,+ ChevronLeft,+ Reply,+ ArrowUp,+ Loader,+ CheckCircle2,+ Trash2,+ Pencil,+ Unlock,+ ChevronDown,+ ChevronUp,+ Binary,+ Settings,+ Check,+ Flag,+ Settings2,+ Sun,+ Plus,+ Moon,+ User,+ LogIn,+ MailCheck,+ ThumbsUp,+ AlertCircle,+ Mail,+ GitBranch,+ ChevronRight,+ Triangle,+ Sparkle,+} from 'lucide-react';diff --git a/packages/ui/src/index.ts b/packages/ui/src/index.tsnew file mode 100644index 00000000..d49bfbdd--- /dev/null+++ b/packages/ui/src/index.ts@@ -0,0 +1,40 @@+export * from './components/action-menu';+export * from './components/alert';+export * from './components/avatar';+export * from './components/badge';+export * from './components/button';+export * from './components/calendar';+export * from './components/card';+export * from './components/checkbox';+export * from './components/command';+export * from './components/dialog';+export * from './components/difficulty-badge';+export * from './components/dropdown-menu';+export * from './components/expandable';+export * from './components/force-render-until-client';+export * from './components/form';+export * from './components/icon-button';+export * from './components/input';+export * from './components/label';+export * from './components/magic-icon';+export * from './components/navigation-menu';+export * from './components/pagination';+export * from './components/paragraph';+export * from './components/popover';+export * from './components/scroll-area';+export * from './components/select';+export * from './components/separator';+export * from './components/skeleton';+export * from './components/table';+export * from './components/tabs';+export * from './components/textarea';+export * from './components/toast';+export * from './components/toaster';+export * from './components/tooltip';+export * from './components/use-toast';+export * from './components/user-badge';+export * from './components/typography/h1';+export * from './components/typography/h2';+export * from './components/typography/h3';+export * from './components/typography/large';+export * from './components/typography/typography';diff --git a/packages/ui/src/types.tsx b/packages/ui/src/types.tsxnew file mode 100644index 00000000..bea23fa8--- /dev/null+++ b/packages/ui/src/types.tsx@@ -0,0 +1,10 @@+import type { ForwardRefExoticComponent } from 'react';++// For satisfying types when passing the next/link component to a UI component+export type NextjsLinkComponentType = ForwardRefExoticComponent<+ Omit<React.AnchorHTMLAttributes<HTMLAnchorElement>, 'href'> &+ React.RefAttributes<HTMLAnchorElement> & {+ children?: React.ReactNode;+ // eslint-disable-next-line @typescript-eslint/no-explicit-any+ } & { href: any }+>;diff --git a/packages/ui/tsconfig.json b/packages/ui/tsconfig.jsonnew file mode 100644index 00000000..b285bc30--- /dev/null+++ b/packages/ui/tsconfig.json@@ -0,0 +1,8 @@+{+ "extends": "@repo/tsconfig/react-library.json",+ "compilerOptions": {+ "tsBuildInfoFile": "node_modules/.cache/tsbuildinfo.json"+ },+ "include": ["**/*.ts", "**/*.tsx", "../../apps/web/src/components/ui/footsies.tsx"],+ "exclude": ["node_modules"]+}diff --git a/pnpm-lock.yaml b/pnpm-lock.yamlindex e3f95898..31c88882 100644--- a/pnpm-lock.yaml+++ b/pnpm-lock.yaml@@ -49,48 +49,9 @@ importers:'@monaco-editor/react':specifier: ^4.5.1version: 4.5.1(patch_hash=xep4qb27qzc6gvlhv2fxe3r2ka)([email protected])([email protected])([email protected])- '@radix-ui/react-avatar':- specifier: ^1.0.3- version: 1.0.3(@types/[email protected])(@types/[email protected])([email protected])([email protected])- '@radix-ui/react-checkbox':- specifier: ^1.0.4- version: 1.0.4(@types/[email protected])(@types/[email protected])([email protected])([email protected])'@radix-ui/react-dialog':specifier: ^1.0.4- version: 1.0.4(@types/[email protected])(@types/[email protected])([email protected])([email protected])- '@radix-ui/react-dropdown-menu':- specifier: ^2.0.5- version: 2.0.5(@types/[email protected])(@types/[email protected])([email protected])([email protected])- '@radix-ui/react-label':- specifier: ^2.0.2- version: 2.0.2(@types/[email protected])(@types/[email protected])([email protected])([email protected])- '@radix-ui/react-navigation-menu':- specifier: ^1.1.3- version: 1.1.3(@types/[email protected])(@types/[email protected])([email protected])([email protected])- '@radix-ui/react-popover':- specifier: ^1.0.6- version: 1.0.6(@types/[email protected])(@types/[email protected])([email protected])([email protected])- '@radix-ui/react-scroll-area':- specifier: ^1.0.4- version: 1.0.4(@types/[email protected])(@types/[email protected])([email protected])([email protected])- '@radix-ui/react-select':- specifier: ^1.2.2- version: 1.2.2(@types/[email protected])(@types/[email protected])([email protected])([email protected])- '@radix-ui/react-separator':- specifier: ^1.0.3- version: 1.0.3(@types/[email protected])(@types/[email protected])([email protected])([email protected])- '@radix-ui/react-slot':- specifier: ^1.0.2- version: 1.0.2(@types/[email protected])([email protected])- '@radix-ui/react-tabs':- specifier: ^1.0.4- version: 1.0.4(@types/[email protected])(@types/[email protected])([email protected])([email protected])- '@radix-ui/react-toast':- specifier: ^1.1.4- version: 1.1.4(@types/[email protected])(@types/[email protected])([email protected])([email protected])- '@radix-ui/react-tooltip':- specifier: ^1.0.6- version: 1.0.6(@types/[email protected])(@types/[email protected])([email protected])([email protected])+ version: 1.0.4(@types/[email protected])(@types/[email protected])([email protected])([email protected])'@repo/auth':specifier: workspace:*version: link:../../packages/auth@@ -100,6 +61,9 @@ importers:'@repo/lint':specifier: workspace:*version: link:../../tooling/config-eslint+ '@repo/ui':+ specifier: workspace:*+ version: link:../../packages/ui'@t3-oss/env-nextjs':specifier: ^0.6.0version: 0.6.0([email protected])([email protected])@@ -114,19 +78,16 @@ importers:version: 4.14.195'@uiw/react-md-editor':specifier: ^3.23.3'@uploadthing/react':specifier: ^5.2.0- class-variance-authority:- specifier: ^0.6.1- version: 0.6.1clsx:specifier: ^2.0.0version: 2.0.0cmdk:specifier: ^0.2.0date-fns:specifier: ^2.30.0version: 2.30.0@@ -155,7 +116,7 @@ importers:specifier: ^0.2.1react:- specifier: 18.2.0+ specifier: ^18.2.0version: 18.2.0react-day-picker:specifier: ^8.8.0@@ -163,9 +124,6 @@ importers:react-dom:specifier: 18.2.0version: 18.2.0([email protected])- react-dropzone:- specifier: ^14.2.3- version: 14.2.3([email protected])react-hook-form:specifier: ^7.45.1version: 7.45.1([email protected])@@ -174,7 +132,7 @@ importers:version: 9.5.2([email protected])react-markdown:specifier: ^8.0.7- version: 8.0.7(@types/[email protected])([email protected])+ version: 8.0.7(@types/[email protected])([email protected])react-syntax-highlighter:specifier: ^15.5.0version: 15.5.0([email protected])@@ -187,9 +145,6 @@ importers:superjson:specifier: 1.12.4version: 1.12.4- tailwind-merge:- specifier: ^1.14.0- version: 1.14.0tailwindcss-animate:specifier: ^1.0.6version: 1.0.6([email protected])@@ -222,8 +177,8 @@ importers:specifier: ^20.4.2version: 20.4.2'@types/react':- specifier: ^18.2.15- version: 18.2.15+ specifier: ^18.2.20+ version: 18.2.20'@types/react-dom':specifier: ^18.2.7version: 18.2.7@@ -344,6 +299,97 @@ importers:specifier: ^2.3.1version: 2.3.1+ packages/ui:+ dependencies:+ '@radix-ui/react-avatar':+ specifier: ^1.0.3+ '@radix-ui/react-checkbox':+ specifier: ^1.0.4+ '@radix-ui/react-dialog':+ specifier: ^1.0.4+ version: 1.0.4(@types/[email protected])(@types/[email protected])([email protected])([email protected])+ '@radix-ui/react-dropdown-menu':+ specifier: ^2.0.5+ '@radix-ui/react-label':+ specifier: ^2.0.2+ '@radix-ui/react-navigation-menu':+ specifier: ^1.1.3+ '@radix-ui/react-popover':+ specifier: ^1.0.6+ '@radix-ui/react-scroll-area':+ specifier: ^1.0.4+ '@radix-ui/react-select':+ specifier: ^1.2.2+ '@radix-ui/react-separator':+ specifier: ^1.0.3+ '@radix-ui/react-slot':+ specifier: ^1.0.2+ version: 1.0.2(@types/[email protected])([email protected])+ '@radix-ui/react-tabs':+ specifier: ^1.0.4+ '@radix-ui/react-toast':+ specifier: ^1.1.4+ '@radix-ui/react-tooltip':+ specifier: ^1.0.6+ '@repo/db':+ specifier: workspace:*+ version: link:../db+ class-variance-authority:+ specifier: ^0.7.0+ version: 0.7.0+ clsx:+ specifier: ^2.0.0+ version: 2.0.0+ cmdk:+ specifier: ^0.2.0+ lucide-react:+ specifier: ^0.260.0+ version: 0.260.0([email protected])+ react:+ specifier: ^18.2.0+ version: 18.2.0+ react-day-picker:+ specifier: ^8.8.0+ version: 8.8.0([email protected])([email protected])+ react-hook-form:+ specifier: ^7.45.1+ version: 7.45.1([email protected])+ tailwind-merge:+ specifier: ^1.14.0+ version: 1.14.0+ tailwindcss-animate:+ specifier: ^1.0.6+ version: 1.0.6([email protected])+ devDependencies:+ '@repo/lint':+ specifier: workspace:*+ version: link:../../tooling/config-eslint+ '@repo/tsconfig':+ specifier: workspace:*+ version: link:../../tooling/config-typescript+ '@types/react':+ specifier: ^18.2.20+ version: 18.2.20+ eslint:+ specifier: ^8.42.0+ version: 8.45.0+ typescript:+ specifier: ^5.1.3+ version: 5.1.6+tooling/config-eslint:dependencies:'@next/eslint-plugin-next':@@ -1480,7 +1526,7 @@ packages:'@babel/runtime': 7.22.6dev: false- /@radix-ui/[email protected](@types/[email protected])(@types/[email protected])([email protected])([email protected]):resolution: {integrity: sha512-wSP+pHsB/jQRaL6voubsQ/ZlrGBHHrOjmBnr19hxYgtS0WvAFwZhK2WP/YY5yF9uKECCEEDGxuLxq1NBK51wFA==}peerDependencies:'@types/react': '*'@@ -1494,14 +1540,13 @@ packages:optional: truedependencies:'@babel/runtime': 7.22.6- '@radix-ui/react-primitive': 1.0.3(@types/[email protected])(@types/[email protected])([email protected])([email protected])- '@types/react': 18.2.15- '@types/react-dom': 18.2.7+ '@radix-ui/react-primitive': 1.0.3(@types/[email protected])(@types/[email protected])([email protected])([email protected])+ '@types/react': 18.2.20react: 18.2.0react-dom: 18.2.0([email protected])dev: false- /@radix-ui/[email protected](@types/[email protected])(@types/[email protected])([email protected])([email protected]):resolution: {integrity: sha512-9ToF7YNex3Ste45LrAeTlKtONI9yVRt/zOS158iilIkW5K/Apeyb/TUQlcEFTEFvWr8Kzdi2ZYrm1/suiXPajQ==}peerDependencies:'@types/react': '*'@@ -1515,17 +1560,16 @@ packages:optional: truedependencies:'@babel/runtime': 7.22.6- '@radix-ui/react-context': 1.0.1(@types/[email protected])([email protected])- '@radix-ui/react-primitive': 1.0.3(@types/[email protected])(@types/[email protected])([email protected])([email protected])- '@radix-ui/react-use-callback-ref': 1.0.1(@types/[email protected])([email protected])- '@radix-ui/react-use-layout-effect': 1.0.1(@types/[email protected])([email protected])- '@types/react': 18.2.15- '@types/react-dom': 18.2.7+ '@radix-ui/react-context': 1.0.1(@types/[email protected])([email protected])+ '@radix-ui/react-primitive': 1.0.3(@types/[email protected])(@types/[email protected])([email protected])([email protected])+ '@radix-ui/react-use-callback-ref': 1.0.1(@types/[email protected])([email protected])+ '@radix-ui/react-use-layout-effect': 1.0.1(@types/[email protected])([email protected])+ '@types/react': 18.2.20react: 18.2.0react-dom: 18.2.0([email protected])dev: false- /@radix-ui/[email protected](@types/[email protected])(@types/[email protected])([email protected])([email protected]):resolution: {integrity: sha512-CBuGQa52aAYnADZVt/KBQzXrwx6TqnlwtcIPGtVt5JkkzQwMOLJjPukimhfKEr4GQNd43C+djUh5Ikopj8pSLg==}peerDependencies:'@types/react': '*'@@ -1540,20 +1584,19 @@ packages:dependencies:'@babel/runtime': 7.22.6'@radix-ui/primitive': 1.0.1- '@radix-ui/react-compose-refs': 1.0.1(@types/[email protected])([email protected])- '@radix-ui/react-context': 1.0.1(@types/[email protected])([email protected])- '@radix-ui/react-presence': 1.0.1(@types/[email protected])(@types/[email protected])([email protected])([email protected])- '@radix-ui/react-primitive': 1.0.3(@types/[email protected])(@types/[email protected])([email protected])([email protected])- '@radix-ui/react-use-controllable-state': 1.0.1(@types/[email protected])([email protected])- '@radix-ui/react-use-previous': 1.0.1(@types/[email protected])([email protected])- '@radix-ui/react-use-size': 1.0.1(@types/[email protected])([email protected])- '@types/react': 18.2.15- '@types/react-dom': 18.2.7+ '@radix-ui/react-compose-refs': 1.0.1(@types/[email protected])([email protected])+ '@radix-ui/react-context': 1.0.1(@types/[email protected])([email protected])+ '@radix-ui/react-presence': 1.0.1(@types/[email protected])(@types/[email protected])([email protected])([email protected])+ '@radix-ui/react-primitive': 1.0.3(@types/[email protected])(@types/[email protected])([email protected])([email protected])+ '@radix-ui/react-use-controllable-state': 1.0.1(@types/[email protected])([email protected])+ '@radix-ui/react-use-previous': 1.0.1(@types/[email protected])([email protected])+ '@radix-ui/react-use-size': 1.0.1(@types/[email protected])([email protected])+ '@types/react': 18.2.20react: 18.2.0react-dom: 18.2.0([email protected])dev: false- /@radix-ui/[email protected](@types/[email protected])(@types/[email protected])([email protected])([email protected]):resolution: {integrity: sha512-3SzW+0PW7yBBoQlT8wNcGtaxaD0XSu0uLUFgrtHY08Acx05TaHaOmVLR73c0j/cqpDy53KBMO7s0dx2wmOIDIA==}peerDependencies:'@types/react': '*'@@ -1567,12 +1610,11 @@ packages:optional: truedependencies:'@babel/runtime': 7.22.6- '@radix-ui/react-compose-refs': 1.0.1(@types/[email protected])([email protected])- '@radix-ui/react-context': 1.0.1(@types/[email protected])([email protected])- '@radix-ui/react-primitive': 1.0.3(@types/[email protected])(@types/[email protected])([email protected])([email protected])- '@radix-ui/react-slot': 1.0.2(@types/[email protected])([email protected])- '@types/react': 18.2.15- '@types/react-dom': 18.2.7+ '@radix-ui/react-compose-refs': 1.0.1(@types/[email protected])([email protected])+ '@radix-ui/react-context': 1.0.1(@types/[email protected])([email protected])+ '@radix-ui/react-primitive': 1.0.3(@types/[email protected])(@types/[email protected])([email protected])([email protected])+ '@radix-ui/react-slot': 1.0.2(@types/[email protected])([email protected])+ '@types/react': 18.2.20react: 18.2.0react-dom: 18.2.0([email protected])dev: false@@ -1586,7 +1628,7 @@ packages:react: 18.2.0dev: falseresolution: {integrity: sha512-fDSBgd44FKHa1FRMU59qBMPFcl2PZE+2nmqunj+BWFyYYjnhIDWL2ItDs3rrbJDQOtzt5nIebLCQc4QRfz6LJw==}peerDependencies:'@types/react': '*'@@ -1596,7 +1638,7 @@ packages:optional: truedependencies:'@babel/runtime': 7.22.6- '@types/react': 18.2.15+ '@types/react': 18.2.20react: 18.2.0dev: false@@ -1609,7 +1651,7 @@ packages:react: 18.2.0dev: falseresolution: {integrity: sha512-ebbrdFoYTcuZ0v4wG5tedGnp9tzcV8awzsxYph7gXUyvnNLuTIcCk1q17JEbnVhXAKG9oX3KtchwiMIAYp9NLg==}peerDependencies:'@types/react': '*'@@ -1619,11 +1661,11 @@ packages:optional: truedependencies:'@babel/runtime': 7.22.6- '@types/react': 18.2.15+ '@types/react': 18.2.20react: 18.2.0dev: falseresolution: {integrity: sha512-Yn9YU+QlHYLWwV1XfKiqnGVpWYWk6MeBVM6x/bcoyPvxgjQGoeT35482viLPctTMWoMw0PoHgqfSox7Ig+957Q==}peerDependencies:react: ^16.8 || ^17.0 || ^18.0@@ -1645,12 +1687,12 @@ packages:aria-hidden: 1.2.3react: 18.2.0react-dom: 18.2.0([email protected])- react-remove-scroll: 2.5.4(@types/[email protected])([email protected])+ react-remove-scroll: 2.5.4(@types/[email protected])([email protected])transitivePeerDependencies:- '@types/react'dev: false- /@radix-ui/[email protected](@types/[email protected])(@types/[email protected])([email protected])([email protected]):+ /@radix-ui/[email protected](@types/[email protected])(@types/[email protected])([email protected])([email protected]):resolution: {integrity: sha512-hJtRy/jPULGQZceSAP2Re6/4NpKo8im6V8P2hUqZsdFiSL8l35kYsw3qbRI6Ay5mQd2+wlLqje770eq+RJ3yZg==}peerDependencies:'@types/react': '*'@@ -1665,26 +1707,26 @@ packages:dependencies:'@babel/runtime': 7.22.6'@radix-ui/primitive': 1.0.1- '@radix-ui/react-compose-refs': 1.0.1(@types/[email protected])([email protected])- '@radix-ui/react-context': 1.0.1(@types/[email protected])([email protected])- '@radix-ui/react-dismissable-layer': 1.0.4(@types/[email protected])(@types/[email protected])([email protected])([email protected])- '@radix-ui/react-focus-guards': 1.0.1(@types/[email protected])([email protected])- '@radix-ui/react-focus-scope': 1.0.3(@types/[email protected])(@types/[email protected])([email protected])([email protected])- '@radix-ui/react-id': 1.0.1(@types/[email protected])([email protected])- '@radix-ui/react-portal': 1.0.3(@types/[email protected])(@types/[email protected])([email protected])([email protected])- '@radix-ui/react-presence': 1.0.1(@types/[email protected])(@types/[email protected])([email protected])([email protected])- '@radix-ui/react-primitive': 1.0.3(@types/[email protected])(@types/[email protected])([email protected])([email protected])- '@radix-ui/react-slot': 1.0.2(@types/[email protected])([email protected])- '@radix-ui/react-use-controllable-state': 1.0.1(@types/[email protected])([email protected])- '@types/react': 18.2.15+ '@radix-ui/react-compose-refs': 1.0.1(@types/[email protected])([email protected])+ '@radix-ui/react-context': 1.0.1(@types/[email protected])([email protected])+ '@radix-ui/react-dismissable-layer': 1.0.4(@types/[email protected])(@types/[email protected])([email protected])([email protected])+ '@radix-ui/react-focus-guards': 1.0.1(@types/[email protected])([email protected])+ '@radix-ui/react-focus-scope': 1.0.3(@types/[email protected])(@types/[email protected])([email protected])([email protected])+ '@radix-ui/react-id': 1.0.1(@types/[email protected])([email protected])+ '@radix-ui/react-portal': 1.0.3(@types/[email protected])(@types/[email protected])([email protected])([email protected])+ '@radix-ui/react-presence': 1.0.1(@types/[email protected])(@types/[email protected])([email protected])([email protected])+ '@radix-ui/react-primitive': 1.0.3(@types/[email protected])(@types/[email protected])([email protected])([email protected])+ '@radix-ui/react-slot': 1.0.2(@types/[email protected])([email protected])+ '@radix-ui/react-use-controllable-state': 1.0.1(@types/[email protected])([email protected])+ '@types/react': 18.2.20'@types/react-dom': 18.2.7aria-hidden: 1.2.3react: 18.2.0react-dom: 18.2.0([email protected])- react-remove-scroll: 2.5.5(@types/[email protected])([email protected])+ react-remove-scroll: 2.5.5(@types/[email protected])([email protected])dev: falseresolution: {integrity: sha512-RXcvnXgyvYvBEOhCBuddKecVkoMiI10Jcm5cTI7abJRAHYfFxeu+FBQs/DvdxSYucxR5mna0dNsL6QFlds5TMA==}peerDependencies:'@types/react': '*'@@ -1694,7 +1736,7 @@ packages:optional: truedependencies:'@babel/runtime': 7.22.6- '@types/react': 18.2.15+ '@types/react': 18.2.20react: 18.2.0dev: false@@ -1714,7 +1756,7 @@ packages:react-dom: 18.2.0([email protected])dev: false- /@radix-ui/[email protected](@types/[email protected])(@types/[email protected])([email protected])([email protected]):+ /@radix-ui/[email protected](@types/[email protected])(@types/[email protected])([email protected])([email protected]):resolution: {integrity: sha512-7UpBa/RKMoHJYjie1gkF1DlK8l1fdU/VKDpoS3rCCo8YBJR294GwcEHyxHw72yvphJ7ld0AXEcSLAzY2F/WyCg==}peerDependencies:'@types/react': '*'@@ -1729,17 +1771,17 @@ packages:dependencies:'@babel/runtime': 7.22.6'@radix-ui/primitive': 1.0.1- '@radix-ui/react-compose-refs': 1.0.1(@types/[email protected])([email protected])- '@radix-ui/react-primitive': 1.0.3(@types/[email protected])(@types/[email protected])([email protected])([email protected])- '@radix-ui/react-use-callback-ref': 1.0.1(@types/[email protected])([email protected])- '@radix-ui/react-use-escape-keydown': 1.0.3(@types/[email protected])([email protected])- '@types/react': 18.2.15+ '@radix-ui/react-compose-refs': 1.0.1(@types/[email protected])([email protected])+ '@radix-ui/react-primitive': 1.0.3(@types/[email protected])(@types/[email protected])([email protected])([email protected])+ '@radix-ui/react-use-callback-ref': 1.0.1(@types/[email protected])([email protected])+ '@radix-ui/react-use-escape-keydown': 1.0.3(@types/[email protected])([email protected])+ '@types/react': 18.2.20'@types/react-dom': 18.2.7react: 18.2.0react-dom: 18.2.0([email protected])dev: false- /@radix-ui/[email protected](@types/[email protected])(@types/[email protected])([email protected])([email protected]):resolution: {integrity: sha512-xdOrZzOTocqqkCkYo8yRPCib5OkTkqN7lqNCdxwPOdE466DOaNl4N8PkUIlsXthQvW5Wwkd+aEmWpfWlBoDPEw==}peerDependencies:'@types/react': '*'@@ -1754,14 +1796,13 @@ packages:dependencies:'@babel/runtime': 7.22.6'@radix-ui/primitive': 1.0.1- '@radix-ui/react-compose-refs': 1.0.1(@types/[email protected])([email protected])- '@radix-ui/react-context': 1.0.1(@types/[email protected])([email protected])- '@radix-ui/react-id': 1.0.1(@types/[email protected])([email protected])- '@radix-ui/react-menu': 2.0.5(@types/[email protected])(@types/[email protected])([email protected])([email protected])- '@radix-ui/react-primitive': 1.0.3(@types/[email protected])(@types/[email protected])([email protected])([email protected])- '@radix-ui/react-use-controllable-state': 1.0.1(@types/[email protected])([email protected])- '@types/react': 18.2.15- '@types/react-dom': 18.2.7+ '@radix-ui/react-compose-refs': 1.0.1(@types/[email protected])([email protected])+ '@radix-ui/react-context': 1.0.1(@types/[email protected])([email protected])+ '@radix-ui/react-id': 1.0.1(@types/[email protected])([email protected])+ '@radix-ui/react-primitive': 1.0.3(@types/[email protected])(@types/[email protected])([email protected])([email protected])+ '@radix-ui/react-use-controllable-state': 1.0.1(@types/[email protected])([email protected])+ '@types/react': 18.2.20react: 18.2.0react-dom: 18.2.0([email protected])dev: false@@ -1775,7 +1816,7 @@ packages:react: 18.2.0dev: falseresolution: {integrity: sha512-Rect2dWbQ8waGzhMavsIbmSVCgYxkXLxxR3ZvCX79JOglzdEy4JXMb98lq4hPxUbLr77nP0UOGf4rcMU+s1pUA==}peerDependencies:'@types/react': '*'@@ -1785,7 +1826,7 @@ packages:optional: truedependencies:'@babel/runtime': 7.22.6- '@types/react': 18.2.15+ '@types/react': 18.2.20react: 18.2.0dev: false@@ -1803,7 +1844,7 @@ packages:react-dom: 18.2.0([email protected])dev: false- /@radix-ui/[email protected](@types/[email protected])(@types/[email protected])([email protected])([email protected]):+ /@radix-ui/[email protected](@types/[email protected])(@types/[email protected])([email protected])([email protected]):resolution: {integrity: sha512-upXdPfqI4islj2CslyfUBNlaJCPybbqRHAi1KER7Isel9Q2AtSJ0zRBZv8mWQiFXD2nyAJ4BhC3yXgZ6kMBSrQ==}peerDependencies:'@types/react': '*'@@ -1817,10 +1858,10 @@ packages:optional: truedependencies:'@babel/runtime': 7.22.6- '@radix-ui/react-compose-refs': 1.0.1(@types/[email protected])([email protected])- '@radix-ui/react-primitive': 1.0.3(@types/[email protected])(@types/[email protected])([email protected])([email protected])- '@radix-ui/react-use-callback-ref': 1.0.1(@types/[email protected])([email protected])- '@types/react': 18.2.15+ '@radix-ui/react-compose-refs': 1.0.1(@types/[email protected])([email protected])+ '@radix-ui/react-primitive': 1.0.3(@types/[email protected])(@types/[email protected])([email protected])([email protected])+ '@radix-ui/react-use-callback-ref': 1.0.1(@types/[email protected])([email protected])+ '@types/react': 18.2.20'@types/react-dom': 18.2.7react: 18.2.0react-dom: 18.2.0([email protected])@@ -1836,7 +1877,7 @@ packages:react: 18.2.0dev: falseresolution: {integrity: sha512-tI7sT/kqYp8p96yGWY1OAnLHrqDgzHefRBKQ2YAkBS5ja7QLcZ9Z/uY7bEjPUatf8RomoXM8/1sMj1IJaE5UzQ==}peerDependencies:'@types/react': '*'@@ -1846,12 +1887,12 @@ packages:optional: truedependencies:'@babel/runtime': 7.22.6- '@radix-ui/react-use-layout-effect': 1.0.1(@types/[email protected])([email protected])- '@types/react': 18.2.15+ '@radix-ui/react-use-layout-effect': 1.0.1(@types/[email protected])([email protected])+ '@types/react': 18.2.20react: 18.2.0dev: false- /@radix-ui/[email protected](@types/[email protected])(@types/[email protected])([email protected])([email protected]):resolution: {integrity: sha512-N5ehvlM7qoTLx7nWPodsPYPgMzA5WM8zZChQg8nyFJKnDO5WHdba1vv5/H6IO5LtJMfD2Q3wh1qHFGNtK0w3bQ==}peerDependencies:'@types/react': '*'@@ -1865,14 +1906,13 @@ packages:optional: truedependencies:'@babel/runtime': 7.22.6- '@radix-ui/react-primitive': 1.0.3(@types/[email protected])(@types/[email protected])([email protected])([email protected])- '@types/react': 18.2.15- '@types/react-dom': 18.2.7+ '@radix-ui/react-primitive': 1.0.3(@types/[email protected])(@types/[email protected])([email protected])([email protected])+ '@types/react': 18.2.20react: 18.2.0react-dom: 18.2.0([email protected])dev: false- /@radix-ui/[email protected](@types/[email protected])(@types/[email protected])([email protected])([email protected]):resolution: {integrity: sha512-Gw4f9pwdH+w5w+49k0gLjN0PfRDHvxmAgG16AbyJZ7zhwZ6PBHKtWohvnSwfusfnK3L68dpBREHpVkj8wEM7ZA==}peerDependencies:'@types/react': '*'@@ -1887,30 +1927,29 @@ packages:dependencies:'@babel/runtime': 7.22.6'@radix-ui/primitive': 1.0.1- '@radix-ui/react-collection': 1.0.3(@types/[email protected])(@types/[email protected])([email protected])([email protected])- '@radix-ui/react-compose-refs': 1.0.1(@types/[email protected])([email protected])- '@radix-ui/react-context': 1.0.1(@types/[email protected])([email protected])- '@radix-ui/react-direction': 1.0.1(@types/[email protected])([email protected])- '@radix-ui/react-dismissable-layer': 1.0.4(@types/[email protected])(@types/[email protected])([email protected])([email protected])- '@radix-ui/react-focus-guards': 1.0.1(@types/[email protected])([email protected])- '@radix-ui/react-focus-scope': 1.0.3(@types/[email protected])(@types/[email protected])([email protected])([email protected])- '@radix-ui/react-id': 1.0.1(@types/[email protected])([email protected])- '@radix-ui/react-popper': 1.1.2(@types/[email protected])(@types/[email protected])([email protected])([email protected])- '@radix-ui/react-portal': 1.0.3(@types/[email protected])(@types/[email protected])([email protected])([email protected])- '@radix-ui/react-presence': 1.0.1(@types/[email protected])(@types/[email protected])([email protected])([email protected])- '@radix-ui/react-primitive': 1.0.3(@types/[email protected])(@types/[email protected])([email protected])([email protected])- '@radix-ui/react-roving-focus': 1.0.4(@types/[email protected])(@types/[email protected])([email protected])([email protected])- '@radix-ui/react-slot': 1.0.2(@types/[email protected])([email protected])- '@radix-ui/react-use-callback-ref': 1.0.1(@types/[email protected])([email protected])- '@types/react': 18.2.15- '@types/react-dom': 18.2.7+ '@radix-ui/react-collection': 1.0.3(@types/[email protected])([email protected])([email protected])+ '@radix-ui/react-compose-refs': 1.0.1(@types/[email protected])([email protected])+ '@radix-ui/react-context': 1.0.1(@types/[email protected])([email protected])+ '@radix-ui/react-direction': 1.0.1(@types/[email protected])([email protected])+ '@radix-ui/react-dismissable-layer': 1.0.4(@types/[email protected])(@types/[email protected])([email protected])([email protected])+ '@radix-ui/react-focus-guards': 1.0.1(@types/[email protected])([email protected])+ '@radix-ui/react-focus-scope': 1.0.3(@types/[email protected])(@types/[email protected])([email protected])([email protected])+ '@radix-ui/react-id': 1.0.1(@types/[email protected])([email protected])+ '@radix-ui/react-portal': 1.0.3(@types/[email protected])(@types/[email protected])([email protected])([email protected])+ '@radix-ui/react-presence': 1.0.1(@types/[email protected])(@types/[email protected])([email protected])([email protected])+ '@radix-ui/react-primitive': 1.0.3(@types/[email protected])(@types/[email protected])([email protected])([email protected])+ '@radix-ui/react-roving-focus': 1.0.4(@types/[email protected])([email protected])([email protected])+ '@radix-ui/react-slot': 1.0.2(@types/[email protected])([email protected])+ '@radix-ui/react-use-callback-ref': 1.0.1(@types/[email protected])([email protected])+ '@types/react': 18.2.20aria-hidden: 1.2.3react: 18.2.0react-dom: 18.2.0([email protected])- react-remove-scroll: 2.5.5(@types/[email protected])([email protected])+ react-remove-scroll: 2.5.5(@types/[email protected])([email protected])dev: false- /@radix-ui/[email protected](@types/[email protected])(@types/[email protected])([email protected])([email protected]):resolution: {integrity: sha512-x4Uv0N47ABx3/frJazYXxvMpZeKJe0qmRIgQ2o3lhTqnTVg+CaZfVVO4nQLn3QJcDkTz8icElKffhFng47XIBA==}peerDependencies:'@types/react': '*'@@ -1925,26 +1964,25 @@ packages:dependencies:'@babel/runtime': 7.22.6'@radix-ui/primitive': 1.0.1- '@radix-ui/react-collection': 1.0.3(@types/[email protected])(@types/[email protected])([email protected])([email protected])- '@radix-ui/react-compose-refs': 1.0.1(@types/[email protected])([email protected])- '@radix-ui/react-context': 1.0.1(@types/[email protected])([email protected])- '@radix-ui/react-direction': 1.0.1(@types/[email protected])([email protected])- '@radix-ui/react-dismissable-layer': 1.0.4(@types/[email protected])(@types/[email protected])([email protected])([email protected])- '@radix-ui/react-id': 1.0.1(@types/[email protected])([email protected])- '@radix-ui/react-presence': 1.0.1(@types/[email protected])(@types/[email protected])([email protected])([email protected])- '@radix-ui/react-primitive': 1.0.3(@types/[email protected])(@types/[email protected])([email protected])([email protected])- '@radix-ui/react-use-callback-ref': 1.0.1(@types/[email protected])([email protected])- '@radix-ui/react-use-controllable-state': 1.0.1(@types/[email protected])([email protected])- '@radix-ui/react-use-layout-effect': 1.0.1(@types/[email protected])([email protected])- '@radix-ui/react-use-previous': 1.0.1(@types/[email protected])([email protected])- '@radix-ui/react-visually-hidden': 1.0.3(@types/[email protected])(@types/[email protected])([email protected])([email protected])- '@types/react': 18.2.15- '@types/react-dom': 18.2.7+ '@radix-ui/react-collection': 1.0.3(@types/[email protected])([email protected])([email protected])+ '@radix-ui/react-compose-refs': 1.0.1(@types/[email protected])([email protected])+ '@radix-ui/react-context': 1.0.1(@types/[email protected])([email protected])+ '@radix-ui/react-direction': 1.0.1(@types/[email protected])([email protected])+ '@radix-ui/react-dismissable-layer': 1.0.4(@types/[email protected])(@types/[email protected])([email protected])([email protected])+ '@radix-ui/react-id': 1.0.1(@types/[email protected])([email protected])+ '@radix-ui/react-presence': 1.0.1(@types/[email protected])(@types/[email protected])([email protected])([email protected])+ '@radix-ui/react-primitive': 1.0.3(@types/[email protected])(@types/[email protected])([email protected])([email protected])+ '@radix-ui/react-use-callback-ref': 1.0.1(@types/[email protected])([email protected])+ '@radix-ui/react-use-controllable-state': 1.0.1(@types/[email protected])([email protected])+ '@radix-ui/react-use-layout-effect': 1.0.1(@types/[email protected])([email protected])+ '@radix-ui/react-use-previous': 1.0.1(@types/[email protected])([email protected])+ '@radix-ui/react-visually-hidden': 1.0.3(@types/[email protected])([email protected])([email protected])+ '@types/react': 18.2.20react: 18.2.0react-dom: 18.2.0([email protected])dev: false- /@radix-ui/[email protected](@types/[email protected])(@types/[email protected])([email protected])([email protected]):resolution: {integrity: sha512-cZ4defGpkZ0qTRtlIBzJLSzL6ht7ofhhW4i1+pkemjV1IKXm0wgCRnee154qlV6r9Ttunmh2TNZhMfV2bavUyA==}peerDependencies:'@types/react': '*'@@ -1959,27 +1997,26 @@ packages:dependencies:'@babel/runtime': 7.22.6'@radix-ui/primitive': 1.0.1- '@radix-ui/react-compose-refs': 1.0.1(@types/[email protected])([email protected])- '@radix-ui/react-context': 1.0.1(@types/[email protected])([email protected])- '@radix-ui/react-dismissable-layer': 1.0.4(@types/[email protected])(@types/[email protected])([email protected])([email protected])- '@radix-ui/react-focus-guards': 1.0.1(@types/[email protected])([email protected])- '@radix-ui/react-focus-scope': 1.0.3(@types/[email protected])(@types/[email protected])([email protected])([email protected])- '@radix-ui/react-id': 1.0.1(@types/[email protected])([email protected])- '@radix-ui/react-popper': 1.1.2(@types/[email protected])(@types/[email protected])([email protected])([email protected])- '@radix-ui/react-portal': 1.0.3(@types/[email protected])(@types/[email protected])([email protected])([email protected])- '@radix-ui/react-presence': 1.0.1(@types/[email protected])(@types/[email protected])([email protected])([email protected])- '@radix-ui/react-primitive': 1.0.3(@types/[email protected])(@types/[email protected])([email protected])([email protected])- '@radix-ui/react-slot': 1.0.2(@types/[email protected])([email protected])- '@radix-ui/react-use-controllable-state': 1.0.1(@types/[email protected])([email protected])- '@types/react': 18.2.15- '@types/react-dom': 18.2.7+ '@radix-ui/react-compose-refs': 1.0.1(@types/[email protected])([email protected])+ '@radix-ui/react-context': 1.0.1(@types/[email protected])([email protected])+ '@radix-ui/react-dismissable-layer': 1.0.4(@types/[email protected])(@types/[email protected])([email protected])([email protected])+ '@radix-ui/react-focus-guards': 1.0.1(@types/[email protected])([email protected])+ '@radix-ui/react-focus-scope': 1.0.3(@types/[email protected])(@types/[email protected])([email protected])([email protected])+ '@radix-ui/react-id': 1.0.1(@types/[email protected])([email protected])+ '@radix-ui/react-portal': 1.0.3(@types/[email protected])(@types/[email protected])([email protected])([email protected])+ '@radix-ui/react-presence': 1.0.1(@types/[email protected])(@types/[email protected])([email protected])([email protected])+ '@radix-ui/react-primitive': 1.0.3(@types/[email protected])(@types/[email protected])([email protected])([email protected])+ '@radix-ui/react-slot': 1.0.2(@types/[email protected])([email protected])+ '@radix-ui/react-use-controllable-state': 1.0.1(@types/[email protected])([email protected])+ '@types/react': 18.2.20aria-hidden: 1.2.3react: 18.2.0react-dom: 18.2.0([email protected])- react-remove-scroll: 2.5.5(@types/[email protected])([email protected])+ react-remove-scroll: 2.5.5(@types/[email protected])([email protected])dev: false- /@radix-ui/[email protected](@types/[email protected])(@types/[email protected])([email protected])([email protected]):resolution: {integrity: sha512-1CnGGfFi/bbqtJZZ0P/NQY20xdG3E0LALJaLUEoKwPLwl6PPPfbeiCqMVQnhoFRAxjJj4RpBRJzDmUgsex2tSg==}peerDependencies:'@types/react': '*'@@ -1994,17 +2031,16 @@ packages:dependencies:'@babel/runtime': 7.22.6'@floating-ui/react-dom': 2.0.1([email protected])([email protected])- '@radix-ui/react-arrow': 1.0.3(@types/[email protected])(@types/[email protected])([email protected])([email protected])- '@radix-ui/react-compose-refs': 1.0.1(@types/[email protected])([email protected])- '@radix-ui/react-context': 1.0.1(@types/[email protected])([email protected])- '@radix-ui/react-primitive': 1.0.3(@types/[email protected])(@types/[email protected])([email protected])([email protected])- '@radix-ui/react-use-callback-ref': 1.0.1(@types/[email protected])([email protected])- '@radix-ui/react-use-layout-effect': 1.0.1(@types/[email protected])([email protected])- '@radix-ui/react-use-rect': 1.0.1(@types/[email protected])([email protected])- '@radix-ui/react-use-size': 1.0.1(@types/[email protected])([email protected])+ '@radix-ui/react-compose-refs': 1.0.1(@types/[email protected])([email protected])+ '@radix-ui/react-context': 1.0.1(@types/[email protected])([email protected])+ '@radix-ui/react-primitive': 1.0.3(@types/[email protected])(@types/[email protected])([email protected])([email protected])+ '@radix-ui/react-use-callback-ref': 1.0.1(@types/[email protected])([email protected])+ '@radix-ui/react-use-layout-effect': 1.0.1(@types/[email protected])([email protected])+ '@radix-ui/react-use-rect': 1.0.1(@types/[email protected])([email protected])+ '@radix-ui/react-use-size': 1.0.1(@types/[email protected])([email protected])'@radix-ui/rect': 1.0.1- '@types/react': 18.2.15- '@types/react-dom': 18.2.7+ '@types/react': 18.2.20react: 18.2.0react-dom: 18.2.0([email protected])dev: false@@ -2021,7 +2057,7 @@ packages:react-dom: 18.2.0([email protected])dev: false- /@radix-ui/[email protected](@types/[email protected])(@types/[email protected])([email protected])([email protected]):+ /@radix-ui/[email protected](@types/[email protected])(@types/[email protected])([email protected])([email protected]):resolution: {integrity: sha512-xLYZeHrWoPmA5mEKEfZZevoVRK/Q43GfzRXkWV6qawIWWK8t6ifIiLQdd7rmQ4Vk1bmI21XhqF9BN3jWf+phpA==}peerDependencies:'@types/react': '*'@@ -2035,8 +2071,8 @@ packages:optional: truedependencies:'@babel/runtime': 7.22.6- '@radix-ui/react-primitive': 1.0.3(@types/[email protected])(@types/[email protected])([email protected])([email protected])- '@types/react': 18.2.15+ '@radix-ui/react-primitive': 1.0.3(@types/[email protected])(@types/[email protected])([email protected])([email protected])+ '@types/react': 18.2.20'@types/react-dom': 18.2.7react: 18.2.0react-dom: 18.2.0([email protected])@@ -2055,7 +2091,7 @@ packages:react-dom: 18.2.0([email protected])dev: false- /@radix-ui/[email protected](@types/[email protected])(@types/[email protected])([email protected])([email protected]):+ /@radix-ui/[email protected](@types/[email protected])(@types/[email protected])([email protected])([email protected]):resolution: {integrity: sha512-UXLW4UAbIY5ZjcvzjfRFo5gxva8QirC9hF7wRE4U5gz+TP0DbRk+//qyuAQ1McDxBt1xNMBTaciFGvEmJvAZCg==}peerDependencies:'@types/react': '*'@@ -2069,9 +2105,9 @@ packages:optional: truedependencies:'@babel/runtime': 7.22.6- '@radix-ui/react-compose-refs': 1.0.1(@types/[email protected])([email protected])- '@radix-ui/react-use-layout-effect': 1.0.1(@types/[email protected])([email protected])- '@types/react': 18.2.15+ '@radix-ui/react-compose-refs': 1.0.1(@types/[email protected])([email protected])+ '@radix-ui/react-use-layout-effect': 1.0.1(@types/[email protected])([email protected])+ '@types/react': 18.2.20'@types/react-dom': 18.2.7react: 18.2.0react-dom: 18.2.0([email protected])@@ -2089,7 +2125,7 @@ packages:react-dom: 18.2.0([email protected])dev: false- /@radix-ui/[email protected](@types/[email protected])(@types/[email protected])([email protected])([email protected]):+ /@radix-ui/[email protected](@types/[email protected])(@types/[email protected])([email protected])([email protected]):resolution: {integrity: sha512-yi58uVyoAcK/Nq1inRY56ZSjKypBNKTa/1mcL8qdl6oJeEaDbOldlzrGn7P6Q3Id5d+SYNGc5AJgc4vGhjs5+g==}peerDependencies:'@types/react': '*'@@ -2103,14 +2139,14 @@ packages:optional: truedependencies:'@babel/runtime': 7.22.6- '@radix-ui/react-slot': 1.0.2(@types/[email protected])([email protected])- '@types/react': 18.2.15+ '@radix-ui/react-slot': 1.0.2(@types/[email protected])([email protected])+ '@types/react': 18.2.20'@types/react-dom': 18.2.7react: 18.2.0react-dom: 18.2.0([email protected])dev: false- /@radix-ui/[email protected](@types/[email protected])(@types/[email protected])([email protected])([email protected]):resolution: {integrity: sha512-2mUg5Mgcu001VkGy+FfzZyzbmuUWzgWkj3rvv4yu+mLw03+mTzbxZHvfcGyFp2b8EkQeMkpRQ5FiA2Vr2O6TeQ==}peerDependencies:'@types/react': '*'@@ -2125,21 +2161,20 @@ packages:dependencies:'@babel/runtime': 7.22.6'@radix-ui/primitive': 1.0.1- '@radix-ui/react-collection': 1.0.3(@types/[email protected])(@types/[email protected])([email protected])([email protected])- '@radix-ui/react-compose-refs': 1.0.1(@types/[email protected])([email protected])- '@radix-ui/react-context': 1.0.1(@types/[email protected])([email protected])- '@radix-ui/react-direction': 1.0.1(@types/[email protected])([email protected])- '@radix-ui/react-id': 1.0.1(@types/[email protected])([email protected])- '@radix-ui/react-primitive': 1.0.3(@types/[email protected])(@types/[email protected])([email protected])([email protected])- '@radix-ui/react-use-callback-ref': 1.0.1(@types/[email protected])([email protected])- '@radix-ui/react-use-controllable-state': 1.0.1(@types/[email protected])([email protected])- '@types/react': 18.2.15- '@types/react-dom': 18.2.7+ '@radix-ui/react-collection': 1.0.3(@types/[email protected])([email protected])([email protected])+ '@radix-ui/react-compose-refs': 1.0.1(@types/[email protected])([email protected])+ '@radix-ui/react-context': 1.0.1(@types/[email protected])([email protected])+ '@radix-ui/react-direction': 1.0.1(@types/[email protected])([email protected])+ '@radix-ui/react-id': 1.0.1(@types/[email protected])([email protected])+ '@radix-ui/react-primitive': 1.0.3(@types/[email protected])(@types/[email protected])([email protected])([email protected])+ '@radix-ui/react-use-callback-ref': 1.0.1(@types/[email protected])([email protected])+ '@radix-ui/react-use-controllable-state': 1.0.1(@types/[email protected])([email protected])+ '@types/react': 18.2.20react: 18.2.0react-dom: 18.2.0([email protected])dev: false- /@radix-ui/[email protected](@types/[email protected])(@types/[email protected])([email protected])([email protected]):resolution: {integrity: sha512-OIClwBkwPG+FKvC4OMTRaa/3cfD069nkKFFL/TQzRzaO42Ce5ivKU9VMKgT7UU6UIkjcQqKBrDOIzWtPGw6e6w==}peerDependencies:'@types/react': '*'@@ -2155,20 +2190,19 @@ packages:'@babel/runtime': 7.22.6'@radix-ui/number': 1.0.1'@radix-ui/primitive': 1.0.1- '@radix-ui/react-compose-refs': 1.0.1(@types/[email protected])([email protected])- '@radix-ui/react-context': 1.0.1(@types/[email protected])([email protected])- '@radix-ui/react-direction': 1.0.1(@types/[email protected])([email protected])- '@radix-ui/react-presence': 1.0.1(@types/[email protected])(@types/[email protected])([email protected])([email protected])- '@radix-ui/react-primitive': 1.0.3(@types/[email protected])(@types/[email protected])([email protected])([email protected])- '@radix-ui/react-use-callback-ref': 1.0.1(@types/[email protected])([email protected])- '@radix-ui/react-use-layout-effect': 1.0.1(@types/[email protected])([email protected])- '@types/react': 18.2.15- '@types/react-dom': 18.2.7+ '@radix-ui/react-compose-refs': 1.0.1(@types/[email protected])([email protected])+ '@radix-ui/react-context': 1.0.1(@types/[email protected])([email protected])+ '@radix-ui/react-direction': 1.0.1(@types/[email protected])([email protected])+ '@radix-ui/react-presence': 1.0.1(@types/[email protected])(@types/[email protected])([email protected])([email protected])+ '@radix-ui/react-primitive': 1.0.3(@types/[email protected])(@types/[email protected])([email protected])([email protected])+ '@radix-ui/react-use-callback-ref': 1.0.1(@types/[email protected])([email protected])+ '@radix-ui/react-use-layout-effect': 1.0.1(@types/[email protected])([email protected])+ '@types/react': 18.2.20react: 18.2.0react-dom: 18.2.0([email protected])dev: false- /@radix-ui/[email protected](@types/[email protected])(@types/[email protected])([email protected])([email protected]):resolution: {integrity: sha512-zI7McXr8fNaSrUY9mZe4x/HC0jTLY9fWNhO1oLWYMQGDXuV4UCivIGTxwioSzO0ZCYX9iSLyWmAh/1TOmX3Cnw==}peerDependencies:'@types/react': '*'@@ -2184,32 +2218,31 @@ packages:'@babel/runtime': 7.22.6'@radix-ui/number': 1.0.1'@radix-ui/primitive': 1.0.1- '@radix-ui/react-collection': 1.0.3(@types/[email protected])(@types/[email protected])([email protected])([email protected])- '@radix-ui/react-compose-refs': 1.0.1(@types/[email protected])([email protected])- '@radix-ui/react-context': 1.0.1(@types/[email protected])([email protected])- '@radix-ui/react-direction': 1.0.1(@types/[email protected])([email protected])- '@radix-ui/react-dismissable-layer': 1.0.4(@types/[email protected])(@types/[email protected])([email protected])([email protected])- '@radix-ui/react-focus-guards': 1.0.1(@types/[email protected])([email protected])- '@radix-ui/react-focus-scope': 1.0.3(@types/[email protected])(@types/[email protected])([email protected])([email protected])- '@radix-ui/react-id': 1.0.1(@types/[email protected])([email protected])- '@radix-ui/react-popper': 1.1.2(@types/[email protected])(@types/[email protected])([email protected])([email protected])- '@radix-ui/react-portal': 1.0.3(@types/[email protected])(@types/[email protected])([email protected])([email protected])- '@radix-ui/react-primitive': 1.0.3(@types/[email protected])(@types/[email protected])([email protected])([email protected])- '@radix-ui/react-slot': 1.0.2(@types/[email protected])([email protected])- '@radix-ui/react-use-callback-ref': 1.0.1(@types/[email protected])([email protected])- '@radix-ui/react-use-controllable-state': 1.0.1(@types/[email protected])([email protected])- '@radix-ui/react-use-layout-effect': 1.0.1(@types/[email protected])([email protected])- '@radix-ui/react-use-previous': 1.0.1(@types/[email protected])([email protected])- '@radix-ui/react-visually-hidden': 1.0.3(@types/[email protected])(@types/[email protected])([email protected])([email protected])- '@types/react': 18.2.15- '@types/react-dom': 18.2.7+ '@radix-ui/react-collection': 1.0.3(@types/[email protected])([email protected])([email protected])+ '@radix-ui/react-compose-refs': 1.0.1(@types/[email protected])([email protected])+ '@radix-ui/react-context': 1.0.1(@types/[email protected])([email protected])+ '@radix-ui/react-direction': 1.0.1(@types/[email protected])([email protected])+ '@radix-ui/react-dismissable-layer': 1.0.4(@types/[email protected])(@types/[email protected])([email protected])([email protected])+ '@radix-ui/react-focus-guards': 1.0.1(@types/[email protected])([email protected])+ '@radix-ui/react-focus-scope': 1.0.3(@types/[email protected])(@types/[email protected])([email protected])([email protected])+ '@radix-ui/react-id': 1.0.1(@types/[email protected])([email protected])+ '@radix-ui/react-portal': 1.0.3(@types/[email protected])(@types/[email protected])([email protected])([email protected])+ '@radix-ui/react-primitive': 1.0.3(@types/[email protected])(@types/[email protected])([email protected])([email protected])+ '@radix-ui/react-slot': 1.0.2(@types/[email protected])([email protected])+ '@radix-ui/react-use-callback-ref': 1.0.1(@types/[email protected])([email protected])+ '@radix-ui/react-use-controllable-state': 1.0.1(@types/[email protected])([email protected])+ '@radix-ui/react-use-layout-effect': 1.0.1(@types/[email protected])([email protected])+ '@radix-ui/react-use-previous': 1.0.1(@types/[email protected])([email protected])+ '@radix-ui/react-visually-hidden': 1.0.3(@types/[email protected])([email protected])([email protected])+ '@types/react': 18.2.20aria-hidden: 1.2.3react: 18.2.0react-dom: 18.2.0([email protected])- react-remove-scroll: 2.5.5(@types/[email protected])([email protected])+ react-remove-scroll: 2.5.5(@types/[email protected])([email protected])dev: false- /@radix-ui/[email protected](@types/[email protected])(@types/[email protected])([email protected])([email protected]):resolution: {integrity: sha512-itYmTy/kokS21aiV5+Z56MZB54KrhPgn6eHDKkFeOLR34HMN2s8PaN47qZZAGnvupcjxHaFZnW4pQEh0BvvVuw==}peerDependencies:'@types/react': '*'@@ -2223,9 +2256,8 @@ packages:optional: truedependencies:'@babel/runtime': 7.22.6- '@radix-ui/react-primitive': 1.0.3(@types/[email protected])(@types/[email protected])([email protected])([email protected])- '@types/react': 18.2.15- '@types/react-dom': 18.2.7+ '@radix-ui/react-primitive': 1.0.3(@types/[email protected])(@types/[email protected])([email protected])([email protected])+ '@types/react': 18.2.20react: 18.2.0react-dom: 18.2.0([email protected])dev: false@@ -2240,7 +2272,7 @@ packages:react: 18.2.0dev: falseresolution: {integrity: sha512-YeTpuq4deV+6DusvVUW4ivBgnkHwECUu0BiN43L5UCDFgdhsRUWAghhTF5MbvNTPzmiFOx90asDSUjWuCNapwg==}peerDependencies:'@types/react': '*'@@ -2250,12 +2282,12 @@ packages:optional: truedependencies:'@babel/runtime': 7.22.6- '@radix-ui/react-compose-refs': 1.0.1(@types/[email protected])([email protected])- '@types/react': 18.2.15+ '@radix-ui/react-compose-refs': 1.0.1(@types/[email protected])([email protected])+ '@types/react': 18.2.20react: 18.2.0dev: false- /@radix-ui/[email protected](@types/[email protected])(@types/[email protected])([email protected])([email protected]):resolution: {integrity: sha512-egZfYY/+wRNCflXNHx+dePvnz9FbmssDTJBtgRfDY7e8SE5oIo3Py2eCB1ckAbh1Q7cQ/6yJZThJ++sgbxibog==}peerDependencies:'@types/react': '*'@@ -2270,20 +2302,19 @@ packages:dependencies:'@babel/runtime': 7.22.6'@radix-ui/primitive': 1.0.1- '@radix-ui/react-context': 1.0.1(@types/[email protected])([email protected])- '@radix-ui/react-direction': 1.0.1(@types/[email protected])([email protected])- '@radix-ui/react-id': 1.0.1(@types/[email protected])([email protected])- '@radix-ui/react-presence': 1.0.1(@types/[email protected])(@types/[email protected])([email protected])([email protected])- '@radix-ui/react-primitive': 1.0.3(@types/[email protected])(@types/[email protected])([email protected])([email protected])- '@radix-ui/react-roving-focus': 1.0.4(@types/[email protected])(@types/[email protected])([email protected])([email protected])- '@radix-ui/react-use-controllable-state': 1.0.1(@types/[email protected])([email protected])- '@types/react': 18.2.15- '@types/react-dom': 18.2.7+ '@radix-ui/react-context': 1.0.1(@types/[email protected])([email protected])+ '@radix-ui/react-direction': 1.0.1(@types/[email protected])([email protected])+ '@radix-ui/react-id': 1.0.1(@types/[email protected])([email protected])+ '@radix-ui/react-presence': 1.0.1(@types/[email protected])(@types/[email protected])([email protected])([email protected])+ '@radix-ui/react-primitive': 1.0.3(@types/[email protected])(@types/[email protected])([email protected])([email protected])+ '@radix-ui/react-roving-focus': 1.0.4(@types/[email protected])([email protected])([email protected])+ '@radix-ui/react-use-controllable-state': 1.0.1(@types/[email protected])([email protected])+ '@types/react': 18.2.20react: 18.2.0react-dom: 18.2.0([email protected])dev: false- /@radix-ui/[email protected](@types/[email protected])(@types/[email protected])([email protected])([email protected]):resolution: {integrity: sha512-wf+fc8DOywrpRK3jlPlWVe+ELYGHdKDaaARJZNuUTWyWYq7+ANCFLp4rTjZ/mcGkJJQ/vZ949Zis9xxEpfq9OA==}peerDependencies:'@types/react': '*'@@ -2298,24 +2329,23 @@ packages:dependencies:'@babel/runtime': 7.22.6'@radix-ui/primitive': 1.0.1- '@radix-ui/react-collection': 1.0.3(@types/[email protected])(@types/[email protected])([email protected])([email protected])- '@radix-ui/react-compose-refs': 1.0.1(@types/[email protected])([email protected])- '@radix-ui/react-context': 1.0.1(@types/[email protected])([email protected])- '@radix-ui/react-dismissable-layer': 1.0.4(@types/[email protected])(@types/[email protected])([email protected])([email protected])- '@radix-ui/react-portal': 1.0.3(@types/[email protected])(@types/[email protected])([email protected])([email protected])- '@radix-ui/react-presence': 1.0.1(@types/[email protected])(@types/[email protected])([email protected])([email protected])- '@radix-ui/react-primitive': 1.0.3(@types/[email protected])(@types/[email protected])([email protected])([email protected])- '@radix-ui/react-use-callback-ref': 1.0.1(@types/[email protected])([email protected])- '@radix-ui/react-use-controllable-state': 1.0.1(@types/[email protected])([email protected])- '@radix-ui/react-use-layout-effect': 1.0.1(@types/[email protected])([email protected])- '@radix-ui/react-visually-hidden': 1.0.3(@types/[email protected])(@types/[email protected])([email protected])([email protected])- '@types/react': 18.2.15- '@types/react-dom': 18.2.7+ '@radix-ui/react-collection': 1.0.3(@types/[email protected])([email protected])([email protected])+ '@radix-ui/react-compose-refs': 1.0.1(@types/[email protected])([email protected])+ '@radix-ui/react-context': 1.0.1(@types/[email protected])([email protected])+ '@radix-ui/react-dismissable-layer': 1.0.4(@types/[email protected])(@types/[email protected])([email protected])([email protected])+ '@radix-ui/react-portal': 1.0.3(@types/[email protected])(@types/[email protected])([email protected])([email protected])+ '@radix-ui/react-presence': 1.0.1(@types/[email protected])(@types/[email protected])([email protected])([email protected])+ '@radix-ui/react-primitive': 1.0.3(@types/[email protected])(@types/[email protected])([email protected])([email protected])+ '@radix-ui/react-use-callback-ref': 1.0.1(@types/[email protected])([email protected])+ '@radix-ui/react-use-controllable-state': 1.0.1(@types/[email protected])([email protected])+ '@radix-ui/react-use-layout-effect': 1.0.1(@types/[email protected])([email protected])+ '@radix-ui/react-visually-hidden': 1.0.3(@types/[email protected])([email protected])([email protected])+ '@types/react': 18.2.20react: 18.2.0react-dom: 18.2.0([email protected])dev: false- /@radix-ui/[email protected](@types/[email protected])(@types/[email protected])([email protected])([email protected]):resolution: {integrity: sha512-DmNFOiwEc2UDigsYj6clJENma58OelxD24O4IODoZ+3sQc3Zb+L8w1EP+y9laTuKCLAysPw4fD6/v0j4KNV8rg==}peerDependencies:'@types/react': '*'@@ -2330,19 +2360,18 @@ packages:dependencies:'@babel/runtime': 7.22.6'@radix-ui/primitive': 1.0.1- '@radix-ui/react-compose-refs': 1.0.1(@types/[email protected])([email protected])- '@radix-ui/react-context': 1.0.1(@types/[email protected])([email protected])- '@radix-ui/react-dismissable-layer': 1.0.4(@types/[email protected])(@types/[email protected])([email protected])([email protected])- '@radix-ui/react-id': 1.0.1(@types/[email protected])([email protected])- '@radix-ui/react-popper': 1.1.2(@types/[email protected])(@types/[email protected])([email protected])([email protected])- '@radix-ui/react-portal': 1.0.3(@types/[email protected])(@types/[email protected])([email protected])([email protected])- '@radix-ui/react-presence': 1.0.1(@types/[email protected])(@types/[email protected])([email protected])([email protected])- '@radix-ui/react-primitive': 1.0.3(@types/[email protected])(@types/[email protected])([email protected])([email protected])- '@radix-ui/react-slot': 1.0.2(@types/[email protected])([email protected])- '@radix-ui/react-use-controllable-state': 1.0.1(@types/[email protected])([email protected])- '@radix-ui/react-visually-hidden': 1.0.3(@types/[email protected])(@types/[email protected])([email protected])([email protected])- '@types/react': 18.2.15- '@types/react-dom': 18.2.7+ '@radix-ui/react-compose-refs': 1.0.1(@types/[email protected])([email protected])+ '@radix-ui/react-context': 1.0.1(@types/[email protected])([email protected])+ '@radix-ui/react-dismissable-layer': 1.0.4(@types/[email protected])(@types/[email protected])([email protected])([email protected])+ '@radix-ui/react-id': 1.0.1(@types/[email protected])([email protected])+ '@radix-ui/react-portal': 1.0.3(@types/[email protected])(@types/[email protected])([email protected])([email protected])+ '@radix-ui/react-presence': 1.0.1(@types/[email protected])(@types/[email protected])([email protected])([email protected])+ '@radix-ui/react-primitive': 1.0.3(@types/[email protected])(@types/[email protected])([email protected])([email protected])+ '@radix-ui/react-slot': 1.0.2(@types/[email protected])([email protected])+ '@radix-ui/react-use-controllable-state': 1.0.1(@types/[email protected])([email protected])+ '@radix-ui/react-visually-hidden': 1.0.3(@types/[email protected])([email protected])([email protected])+ '@types/react': 18.2.20react: 18.2.0react-dom: 18.2.0([email protected])dev: false@@ -2356,7 +2385,7 @@ packages:react: 18.2.0dev: falseresolution: {integrity: sha512-D94LjX4Sp0xJFVaoQOd3OO9k7tpBYNOXdVhkltUbGv2Qb9OXdrg/CpsjlZv7ia14Sylv398LswWBVVu5nqKzAQ==}peerDependencies:'@types/react': '*'@@ -2366,7 +2395,7 @@ packages:optional: truedependencies:'@babel/runtime': 7.22.6- '@types/react': 18.2.15+ '@types/react': 18.2.20react: 18.2.0dev: false@@ -2380,7 +2409,7 @@ packages:react: 18.2.0dev: falseresolution: {integrity: sha512-Svl5GY5FQeN758fWKrjM6Qb7asvXeiZltlT4U2gVfl8Gx5UAv2sMR0LWo8yhsIZh2oQ0eFdZ59aoOOMV7b47VA==}peerDependencies:'@types/react': '*'@@ -2390,8 +2419,8 @@ packages:optional: truedependencies:'@babel/runtime': 7.22.6- '@radix-ui/react-use-callback-ref': 1.0.1(@types/[email protected])([email protected])- '@types/react': 18.2.15+ '@radix-ui/react-use-callback-ref': 1.0.1(@types/[email protected])([email protected])+ '@types/react': 18.2.20react: 18.2.0dev: false@@ -2405,7 +2434,7 @@ packages:react: 18.2.0dev: falseresolution: {integrity: sha512-vyL82j40hcFicA+M4Ex7hVkB9vHgSse1ZWomAqV2Je3RleKGO5iM8KMOEtfoSB0PnIelMd2lATjTGMYqN5ylTg==}peerDependencies:'@types/react': '*'@@ -2415,8 +2444,8 @@ packages:optional: truedependencies:'@babel/runtime': 7.22.6- '@radix-ui/react-use-callback-ref': 1.0.1(@types/[email protected])([email protected])- '@types/react': 18.2.15+ '@radix-ui/react-use-callback-ref': 1.0.1(@types/[email protected])([email protected])+ '@types/react': 18.2.20react: 18.2.0dev: false@@ -2429,7 +2458,7 @@ packages:react: 18.2.0dev: falseresolution: {integrity: sha512-v/5RegiJWYdoCvMnITBkNNx6bCj20fiaJnWtRkU18yITptraXjffz5Qbn05uOiQnOvi+dbkznkoaMltz1GnszQ==}peerDependencies:'@types/react': '*'@@ -2439,11 +2468,11 @@ packages:optional: truedependencies:'@babel/runtime': 7.22.6- '@types/react': 18.2.15+ '@types/react': 18.2.20react: 18.2.0dev: falseresolution: {integrity: sha512-cV5La9DPwiQ7S0gf/0qiD6YgNqM5Fk97Kdrlc5yBcrF3jyEZQwm7vYFqMo4IfeHgJXsRaMvLABFtd0OVEmZhDw==}peerDependencies:'@types/react': '*'@@ -2453,11 +2482,11 @@ packages:optional: truedependencies:'@babel/runtime': 7.22.6- '@types/react': 18.2.15+ '@types/react': 18.2.20react: 18.2.0dev: falseresolution: {integrity: sha512-Cq5DLuSiuYVKNU8orzJMbl15TXilTnJKUCltMVQg53BQOF1/C5toAaGrowkgksdBQ9H+SRL23g0HDmg9tvmxXw==}peerDependencies:'@types/react': '*'@@ -2468,11 +2497,11 @@ packages:dependencies:'@babel/runtime': 7.22.6'@radix-ui/rect': 1.0.1- '@types/react': 18.2.15+ '@types/react': 18.2.20react: 18.2.0dev: falseresolution: {integrity: sha512-ibay+VqrgcaI6veAojjofPATwledXiSmX+C0KrBk/xgpX9rBzPV3OsfwlhQdUOFbh+LKQorLYT+xTXW9V8yd0g==}peerDependencies:'@types/react': '*'@@ -2482,12 +2511,12 @@ packages:optional: truedependencies:'@babel/runtime': 7.22.6- '@radix-ui/react-use-layout-effect': 1.0.1(@types/[email protected])([email protected])- '@types/react': 18.2.15+ '@radix-ui/react-use-layout-effect': 1.0.1(@types/[email protected])([email protected])+ '@types/react': 18.2.20react: 18.2.0dev: false- /@radix-ui/[email protected](@types/[email protected])(@types/[email protected])([email protected])([email protected]):resolution: {integrity: sha512-D4w41yN5YRKtu464TLnByKzMDG/JlMPHtfZgQAu9v6mNakUqGUI9vUrfQKz8NK41VMm/xbZbh76NUTVtIYqOMA==}peerDependencies:'@types/react': '*'@@ -2501,9 +2530,8 @@ packages:optional: truedependencies:'@babel/runtime': 7.22.6- '@radix-ui/react-primitive': 1.0.3(@types/[email protected])(@types/[email protected])([email protected])([email protected])- '@types/react': 18.2.15- '@types/react-dom': 18.2.7+ '@radix-ui/react-primitive': 1.0.3(@types/[email protected])(@types/[email protected])([email protected])([email protected])+ '@types/react': 18.2.20react: 18.2.0react-dom: 18.2.0([email protected])dev: false@@ -2704,16 +2732,16 @@ packages:/@types/[email protected]:resolution: {integrity: sha512-GRaAEriuT4zp9N4p1i8BDBYmEyfo+xQ3yHjJU4eiK5NDa1RmUZG+unZABUTK4/Ox/M+GaHwb6Ow8rUITrtjszA==}dependencies:- '@types/react': 18.2.15+ '@types/react': 18.2.20/@types/[email protected]:resolution: {integrity: sha512-bo5fEO5toQeyCp0zVHBeggclqf5SQ/Z5blfFmjwO5dkMVGPgmiwZsJh9nu/Bo5L7IHTuGWrja6LxJVE2uB5ZrQ==}dependencies:- '@types/react': 18.2.15+ '@types/react': 18.2.20dev: true- /@types/[email protected]:- resolution: {integrity: sha512-oEjE7TQt1fFTFSbf8kkNuc798ahTUzn3Le67/PWjE8MAfYAD/qB7O8hSTcromLFqHCt9bcdOg5GXMokzTjJ5SA==}+ /@types/[email protected]:+ resolution: {integrity: sha512-WKNtmsLWJM/3D5mG4U84cysVY31ivmyw85dE84fOCk5Hx78wezB/XEjVPWl2JTZ5FkEeaTJf+VgUAUn3PE7Isw==}dependencies:'@types/prop-types': 15.7.5'@types/scheduler': 0.16.3@@ -2905,7 +2933,7 @@ packages:resolution: {integrity: sha512-1bbGZ3T+SGmA07BoVPK4UCUDcowDN/moctviJGQexfOc9qL8TMLDQPr7mTPvDKhgJkgnlKkAQNFU8PiarIi9sQ==}dev: falseresolution: {integrity: sha512-fmIGvBpK6HJyDFf7EokjZSIS0713Bq5KwhOsZ8IkbCMYDcDThFlmMkTTqyzGjL3phrkP9ED5O63WSILzefqe6A==}peerDependencies:react: '>=16.8.0'@@ -2915,7 +2943,7 @@ packages:'@uiw/copy-to-clipboard': 1.0.15react: 18.2.0react-dom: 18.2.0([email protected])- react-markdown: 8.0.7(@types/[email protected])([email protected])+ react-markdown: 8.0.7(@types/[email protected])([email protected])rehype-attr: 2.1.4rehype-autolink-headings: 6.1.1rehype-ignore: 1.0.5@@ -2930,14 +2958,14 @@ packages:- supports-colordev: falseresolution: {integrity: sha512-19A3atJgDzmNudDN9otkmnV3DYZzqVUqaHj3bo1qdwOzZIYiHlL65NuknzJBZqYkgAP0p4ZZhs1riyvVT7gWyA==}peerDependencies:react: '>=16.8.0'react-dom: '>=16.8.0'dependencies:'@babel/runtime': 7.22.6- '@uiw/react-markdown-preview': 4.1.13(@types/[email protected])([email protected])([email protected])+ '@uiw/react-markdown-preview': 4.1.13(@types/[email protected])([email protected])([email protected])react: 18.2.0react-dom: 18.2.0([email protected])rehype: 12.0.1@@ -3526,10 +3554,10 @@ packages:engines: {node: '>=8'}dev: false- resolution: {integrity: sha512-eurOEGc7YVx3majOrOb099PNKgO3KnKSApOprXI4BTq6bcfbqbQXPN2u+rPPmIJ2di23bMwhk0SxCCthBmszEQ==}+ resolution: {integrity: sha512-jFI8IQw4hczaL4ALINxqLEXQbWcNjoSkloa4IaufXCJr6QawJyw7tuRysRsrE8w2p/4gGaxKIt/hX3qz/IbD1A==}dependencies:- clsx: 1.2.1+ clsx: 2.0.0dev: false@@ -3548,23 +3576,18 @@ packages:resolution: {integrity: sha512-IV3Ou0jSMzZrd3pZ48nLkT9DA7Ag1pnPzaiQhpW7c3RbcqqzvzzVu+L8gfqMp/8IM2MQtSiqaCxrrcfu8I8rMA==}dev: false- resolution: {integrity: sha512-EcR6r5a8bj6pu3ycsa/E/cKVGuTgZJZdsyUYHOksG/UHIiKfjxzRxYJpyVBwYaQeOvghal9fcc4PidlgzugAQg==}- engines: {node: '>=6'}- dev: false-resolution: {integrity: sha512-rQ1+kcj+ttHG0MKVGBUXwayCCF1oh39BF5COIpRzuCEv8Mwjv0XucrI2ExNTOn9IlLifGClWQcU9BrZORvtw6Q==}engines: {node: '>=6'}dev: falseresolution: {integrity: sha512-JQpKvEOb86SnvMZbYaFKYhvzFntWBeSZdyii0rZPhKJj9uwJBxu4DaVYDrRN7r3mPop56oPhRw+JYWTKs66TYw==}peerDependencies:react: ^18.0.0react-dom: ^18.0.0dependencies:command-score: 0.1.2react: 18.2.0react-dom: 18.2.0([email protected])@@ -6820,7 +6843,7 @@ packages:resolution: {integrity: sha512-xWGDIW6x921xtzPkhiULtthJHoJvBbF3q26fzloPCK0hsvxtPVelvftw3zjbHWSkR2km9Z+4uxbDDK/6Zw9B8w==}dev: falseresolution: {integrity: sha512-bvWbzG4MtOU62XqBx3Xx+zB2raaFFsq4mYiAzfjXJMEz2sixgeAfraA3tvzULF02ZdOMUOKTBFFaZJDDrq+BJQ==}peerDependencies:'@types/react': '>=16'@@ -6828,7 +6851,7 @@ packages:dependencies:'@types/hast': 2.3.5'@types/prop-types': 15.7.5- '@types/react': 18.2.15+ '@types/react': 18.2.20'@types/unist': 2.0.7comma-separated-tokens: 2.0.3hast-util-whitespace: 2.0.1@@ -6847,7 +6870,7 @@ packages:- supports-colordev: falseresolution: {integrity: sha512-63C4YQBUt0m6ALadE9XV56hV8BgJWDmmTPY758iIJjfQKt2nYwoUrPk0LXRXcB/yIj82T1/Ixfdpdk68LwIB0A==}engines: {node: '>=10'}peerDependencies:@@ -6857,13 +6880,13 @@ packages:'@types/react':optional: truedependencies:- '@types/react': 18.2.15+ '@types/react': 18.2.20react: 18.2.0- react-style-singleton: 2.2.1(@types/[email protected])([email protected])+ react-style-singleton: 2.2.1(@types/[email protected])([email protected])tslib: 2.6.0dev: falseresolution: {integrity: sha512-xGVKJJr0SJGQVirVFAUZ2k1QLyO6m+2fy0l8Qawbp5Jgrv3DeLalrfMNBFSlmz5kriGGzsVBtGVnf4pTKIhhWA==}engines: {node: '>=10'}peerDependencies:@@ -6873,16 +6896,16 @@ packages:'@types/react':optional: truedependencies:- '@types/react': 18.2.15+ '@types/react': 18.2.20react: 18.2.0- react-remove-scroll-bar: 2.3.4(@types/[email protected])([email protected])- react-style-singleton: 2.2.1(@types/[email protected])([email protected])+ react-remove-scroll-bar: 2.3.4(@types/[email protected])([email protected])+ react-style-singleton: 2.2.1(@types/[email protected])([email protected])tslib: 2.6.0- use-callback-ref: 1.3.0(@types/[email protected])([email protected])- use-sidecar: 1.1.2(@types/[email protected])([email protected])+ use-callback-ref: 1.3.0(@types/[email protected])([email protected])+ use-sidecar: 1.1.2(@types/[email protected])([email protected])dev: falseresolution: {integrity: sha512-ImKhrzJJsyXJfBZ4bzu8Bwpka14c/fQt0k+cyFp/PBhTfyDnU5hjOtM4AG/0AMyy8oKzOTR0lDgJIM7pYXI0kw==}engines: {node: '>=10'}peerDependencies:@@ -6892,16 +6915,16 @@ packages:'@types/react':optional: truedependencies:- '@types/react': 18.2.15+ '@types/react': 18.2.20react: 18.2.0- react-remove-scroll-bar: 2.3.4(@types/[email protected])([email protected])- react-style-singleton: 2.2.1(@types/[email protected])([email protected])+ react-remove-scroll-bar: 2.3.4(@types/[email protected])([email protected])+ react-style-singleton: 2.2.1(@types/[email protected])([email protected])tslib: 2.6.0- use-callback-ref: 1.3.0(@types/[email protected])([email protected])- use-sidecar: 1.1.2(@types/[email protected])([email protected])+ use-callback-ref: 1.3.0(@types/[email protected])([email protected])+ use-sidecar: 1.1.2(@types/[email protected])([email protected])dev: falseresolution: {integrity: sha512-ZWj0fHEMyWkHzKYUr2Bs/4zU6XLmq9HsgBURm7g5pAVfyn49DgUiNgY2d4lXRlYSiCif9YBGpQleewkcqddc7g==}engines: {node: '>=10'}peerDependencies:@@ -6911,7 +6934,7 @@ packages:'@types/react':optional: truedependencies:- '@types/react': 18.2.15+ '@types/react': 18.2.20get-nonce: 1.0.1invariant: 2.2.4react: 18.2.0@@ -7961,7 +7984,7 @@ packages:dependencies:punycode: 2.3.0resolution: {integrity: sha512-3FT9PRuRdbB9HfXhEq35u4oZkvpJ5kuYbpqhCfmiZyReuRgpnhDlbr2ZEnnuS0RrJAPn6l23xjFg9kpDM+Ms7w==}engines: {node: '>=10'}peerDependencies:@@ -7971,12 +7994,12 @@ packages:'@types/react':optional: truedependencies:- '@types/react': 18.2.15+ '@types/react': 18.2.20react: 18.2.0tslib: 2.6.0dev: falseresolution: {integrity: sha512-epTbsLuzZ7lPClpz2TyryBfztm7m+28DlEv2ZCQ3MDr5ssiwyOwGH/e5F9CkfWjJ1t4clvI58yF822/GUkjjhw==}engines: {node: '>=10'}peerDependencies:@@ -7986,7 +8009,7 @@ packages:'@types/react':optional: truedependencies:- '@types/react': 18.2.15+ '@types/react': 18.2.20detect-node-es: 1.1.0react: 18.2.0tslib: 2.6.0diff --git a/pnpm-workspace.yaml b/pnpm-workspace.yamlindex 21ce2775..44a69b0f 100644--- a/pnpm-workspace.yaml+++ b/pnpm-workspace.yaml@@ -1,4 +1,4 @@packages:- 'apps/*'- - 'packages/**'- - 'tooling/**'\ No newline at end of file+ - 'packages/*'+ - 'tooling/*'