The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
chore(deps): bump lucide-react to v1 (#51770)
Danny White3960e6ac41b8
diff --git a/apps/design-system/package.json b/apps/design-system/package.jsonindex eb7d651917c..99b3dd81e2b 100644--- a/apps/design-system/package.json+++ b/apps/design-system/package.json@@ -27,7 +27,7 @@"eslint-config-supabase": "workspace:*","icons": "workspace:*","jotai": "^2.8.0",- "lucide-react": "*",+ "lucide-react": "catalog:","markdown-wasm": "^1.2.0","next": "catalog:","next-themes": "catalog:",diff --git a/apps/design-system/registry/default/example/commandmenu-icon.tsx b/apps/design-system/registry/default/example/commandmenu-icon.tsxindex 407888b2144..c138d335f15 100644--- a/apps/design-system/registry/default/example/commandmenu-icon.tsx+++ b/apps/design-system/registry/default/example/commandmenu-icon.tsx@@ -1,5 +1,4 @@-import { Github } from 'lucide-react'-import { Button } from 'ui'+import { Button, GithubIcon } from 'ui'import {CommandMenu,CommandMenuInput,@@ -15,7 +14,7 @@ function Commands() {id: 'github',name: 'Go to repo',route: 'https://github.com/supabase/supabase',- icon: () => <Github />,+ icon: () => <GithubIcon />,},])diff --git a/apps/design-system/registry/default/example/dropdown-menu-demo.tsx b/apps/design-system/registry/default/example/dropdown-menu-demo.tsxindex c67490d0ad6..2c6e4b2ba84 100644--- a/apps/design-system/registry/default/example/dropdown-menu-demo.tsx+++ b/apps/design-system/registry/default/example/dropdown-menu-demo.tsx@@ -1,7 +1,6 @@import {Cloud,CreditCard,- Github,Keyboard,LifeBuoy,LogOut,@@ -28,6 +27,7 @@ import {DropdownMenuSubContent,DropdownMenuSubTrigger,DropdownMenuTrigger,+ GithubIcon,} from 'ui'export default function DropdownMenuDemo() {@@ -98,7 +98,7 @@ export default function DropdownMenuDemo() {</DropdownMenuGroup><DropdownMenuSeparator /><DropdownMenuItem>- <Github className="mr-2 h-4 w-4" />+ <GithubIcon className="mr-2 h-4 w-4" /><span>GitHub</span></DropdownMenuItem><DropdownMenuItem>diff --git a/apps/docs/features/docs/Reference.header.tsx b/apps/docs/features/docs/Reference.header.tsxindex d6f82721803..3f9e1a2f6ec 100644--- a/apps/docs/features/docs/Reference.header.tsx+++ b/apps/docs/features/docs/Reference.header.tsx@@ -1,9 +1,6 @@-import { Github } from 'lucide-react'-import Link from 'next/link'--import { cn } from 'ui'-import MenuIconPicker from '~/components/Navigation/NavigationMenu/MenuIconPicker'+import Link from 'next/link'+import { cn, GithubIcon } from 'ui'interface ClientLibHeaderProps {menuData: {@@ -43,7 +40,7 @@ function ClientLibHeader({ menuData, className }: ClientLibHeaderProps) {className="hover:text-primary focus-visible:text-primary transition-colors"><span className="sr-only">View on GitHub</span>- <Github size={18} />+ <GithubIcon size={18} /></Link></span></div>diff --git a/apps/docs/features/docs/Troubleshooting.page.tsx b/apps/docs/features/docs/Troubleshooting.page.tsxindex 5ee029c2bb7..84d8cc1779e 100644--- a/apps/docs/features/docs/Troubleshooting.page.tsx+++ b/apps/docs/features/docs/Troubleshooting.page.tsx@@ -1,10 +1,10 @@-import { Github } from 'lucide-react'-import Link from 'next/link'-import { cn } from 'ui'import { AiTools } from '~/components/AiTools'import Breadcrumbs from '~/components/Breadcrumbs'import { Feedback } from '~/components/Feedback'import { SidebarSkeleton } from '~/layouts/MainSkeleton'+import Link from 'next/link'+import { cn, GithubIcon } from 'ui'+import { MDXRemoteBase } from './MdxBase'import { getTroubleshootingUpdatedDates, type ITroubleshootingEntry } from './Troubleshooting.utils'import { formatError, serializeTroubleshootingSearchParams } from './Troubleshooting.utils.shared'@@ -114,7 +114,7 @@ export default async function TroubleshootingPage({ entry }: { entry: ITroubleshhref={entry.data.github_url}className="flex items-center gap-2 text-sm text-foreground-lighter">- <Github size={14} />+ <GithubIcon size={14} />View discussion on GitHub</Link></>diff --git a/apps/docs/package.json b/apps/docs/package.jsonindex fe7fb8fd45b..114063649c1 100644--- a/apps/docs/package.json+++ b/apps/docs/package.json@@ -87,7 +87,7 @@"katex": "^0.16.21","libpg-query": "15.2.0","lodash-es": "catalog:",- "lucide-react": "*",+ "lucide-react": "catalog:","mdast": "^3.0.0","mdast-util-from-markdown": "^1.2.0","mdast-util-gfm": "^2.0.2",diff --git a/apps/kb/package.json b/apps/kb/package.jsonindex 029eaf745dd..ccc92ca4bb9 100644--- a/apps/kb/package.json+++ b/apps/kb/package.json@@ -30,7 +30,7 @@"astro": "^7.2.6","common": "workspace:*","gray-matter": "^4.0.3",- "lucide-react": "*",+ "lucide-react": "catalog:","react": "catalog:","react-dom": "catalog:","remark-gfm": "^4.0.1",diff --git a/apps/kb/src/layouts/ArticleLayout.astro b/apps/kb/src/layouts/ArticleLayout.astroindex f77d33a416d..5e169613c5c 100644--- a/apps/kb/src/layouts/ArticleLayout.astro+++ b/apps/kb/src/layouts/ArticleLayout.astro@@ -1,6 +1,6 @@----import { ExternalLink, Github } from 'lucide-react'-import { Badge } from 'ui'+import { ExternalLink } from 'lucide-react'+import { Badge, GithubIcon } from 'ui'import Layout from './Layout.astro'import { getTopicDescription, type Topic, TOPIC_NAMES, topicToSlug } from '../lib/topics'@@ -52,7 +52,7 @@ function isKnownTopic(topic: string): topic is Topic {github_url && (<p><a href={github_url} target="_blank" rel="noreferrer" class="inline-flex items-center gap-1.5">- <Github size={16} /> Go to the GitHub discussion+ <GithubIcon size={16} /> Go to the GitHub discussion</a></p>)diff --git a/apps/learn/package.json b/apps/learn/package.jsonindex 5462d03c490..0761026b273 100644--- a/apps/learn/package.json+++ b/apps/learn/package.json@@ -20,7 +20,7 @@"dependencies": {"common": "workspace:*","jotai": "^2.8.0",- "lucide-react": "*",+ "lucide-react": "catalog:","motion": "catalog:","next": "catalog:","next-themes": "catalog:",diff --git a/apps/studio/components/interfaces/BranchManagement/BranchPanels.tsx b/apps/studio/components/interfaces/BranchManagement/BranchPanels.tsxindex 9d2e54d2f86..159140484a8 100644--- a/apps/studio/components/interfaces/BranchManagement/BranchPanels.tsx+++ b/apps/studio/components/interfaces/BranchManagement/BranchPanels.tsx@@ -1,9 +1,8 @@import dayjs from 'dayjs'-import { GithubIcon } from 'lucide-react'import Link from 'next/link'import { useRouter } from 'next/router'import { PropsWithChildren, ReactNode } from 'react'-import { Tooltip, TooltipContent, TooltipTrigger } from 'ui'+import { GithubIcon, Tooltip, TooltipContent, TooltipTrigger } from 'ui'import { ShimmeringLoader } from 'ui-patterns/ShimmeringLoader'import { TimestampInfo } from 'ui-patterns/TimestampInfo'diff --git a/apps/studio/components/interfaces/BranchManagement/ConnectToGitHub.tsx b/apps/studio/components/interfaces/BranchManagement/ConnectToGitHub.tsxindex a3a53972845..20228476b8d 100644--- a/apps/studio/components/interfaces/BranchManagement/ConnectToGitHub.tsx+++ b/apps/studio/components/interfaces/BranchManagement/ConnectToGitHub.tsx@@ -1,7 +1,6 @@import { useParams } from 'common'-import { GithubIcon } from 'lucide-react'import { useRouter } from 'next/router'-import { Button } from 'ui'+import { Button, GithubIcon } from 'ui'import { useGitHubAuthorizationQuery } from '@/data/integrations/github-authorization-query'import { useGitHubConnectionsQuery } from '@/data/integrations/github-connections-query'diff --git a/apps/studio/components/interfaces/BranchManagement/EmptyStates.tsx b/apps/studio/components/interfaces/BranchManagement/EmptyStates.tsxindex f58df23720a..68d847278c7 100644--- a/apps/studio/components/interfaces/BranchManagement/EmptyStates.tsx+++ b/apps/studio/components/interfaces/BranchManagement/EmptyStates.tsx@@ -1,6 +1,5 @@-import { GithubIcon } from 'lucide-react'import Link from 'next/link'-import { Button } from 'ui'+import { Button, GithubIcon } from 'ui'import { BranchSelector } from './BranchSelector'import { DocsButton } from '@/components/ui/DocsButton'diff --git a/apps/studio/components/interfaces/ConfigDrift/ConfigurationDriftPage.tsx b/apps/studio/components/interfaces/ConfigDrift/ConfigurationDriftPage.tsxindex a51fee9a618..4c3bcb01806 100644--- a/apps/studio/components/interfaces/ConfigDrift/ConfigurationDriftPage.tsx+++ b/apps/studio/components/interfaces/ConfigDrift/ConfigurationDriftPage.tsx@@ -1,13 +1,7 @@import { useParams } from 'common'-import {- ArrowRightIcon,- CheckCircle2Icon,- FileWarningIcon,- GithubIcon,- PlusIcon,-} from 'lucide-react'+import { ArrowRightIcon, CheckCircle2Icon, FileWarningIcon, PlusIcon } from 'lucide-react'import Link from 'next/link'-import { Button, Card, Skeleton } from 'ui'+import { Button, Card, GithubIcon, Skeleton } from 'ui'import { Admonition } from 'ui-patterns/Admonition'import { CollapsibleCardSection } from 'ui-patterns/CollapsibleCardSection'import { EmptyStatePresentational } from 'ui-patterns/EmptyStatePresentational'diff --git a/apps/studio/components/interfaces/Database/Extensions/ExtensionRow.tsx b/apps/studio/components/interfaces/Database/Extensions/ExtensionRow.tsxindex bdbc46e1006..58242681e1c 100644--- a/apps/studio/components/interfaces/Database/Extensions/ExtensionRow.tsx+++ b/apps/studio/components/interfaces/Database/Extensions/ExtensionRow.tsx@@ -1,5 +1,5 @@import { PermissionAction } from '@supabase/shared-types/out/constants'-import { BookIcon, GithubIcon, Loader2Icon } from 'lucide-react'+import { BookIcon, Loader2Icon } from 'lucide-react'import Link from 'next/link'import { useState } from 'react'import { extensions } from 'shared-data'@@ -7,6 +7,7 @@ import { toast } from 'sonner'import {Badge,Button,+ GithubIcon,Switch,TableCell,TableRow,diff --git a/apps/studio/components/interfaces/Home/ClientLibrary.tsx b/apps/studio/components/interfaces/Home/ClientLibrary.tsxindex 5640100ca80..19716a531fe 100644--- a/apps/studio/components/interfaces/Home/ClientLibrary.tsx+++ b/apps/studio/components/interfaces/Home/ClientLibrary.tsx@@ -1,5 +1,5 @@-import { BookOpenIcon, GithubIcon } from 'lucide-react'-import { Badge, Button } from 'ui'+import { BookOpenIcon } from 'lucide-react'+import { Badge, Button, GithubIcon } from 'ui'import { BASE_PATH } from '@/lib/constants'diff --git a/apps/studio/components/interfaces/Home/ProjectList/ProjectCard.tsx b/apps/studio/components/interfaces/Home/ProjectList/ProjectCard.tsxindex ed0c24887b3..42b11b5c0a0 100644--- a/apps/studio/components/interfaces/Home/ProjectList/ProjectCard.tsx+++ b/apps/studio/components/interfaces/Home/ProjectList/ProjectCard.tsx@@ -1,4 +1,4 @@-import { CopyIcon, GithubIcon, MoreVerticalIcon, SettingsIcon } from 'lucide-react'+import { CopyIcon, MoreVerticalIcon, SettingsIcon } from 'lucide-react'import { useRouter } from 'next/router'import InlineSVG from 'react-inlinesvg'import { toast } from 'sonner'@@ -9,6 +9,7 @@ import {DropdownMenuContent,DropdownMenuItem,DropdownMenuTrigger,+ GithubIcon,} from 'ui'import { inferProjectStatus } from './ProjectCard.utils'diff --git a/apps/studio/components/interfaces/Home/ProjectList/ProjectTableRow.tsx b/apps/studio/components/interfaces/Home/ProjectList/ProjectTableRow.tsxindex 775ab18c95c..45a5f24e437 100644--- a/apps/studio/components/interfaces/Home/ProjectList/ProjectTableRow.tsx+++ b/apps/studio/components/interfaces/Home/ProjectList/ProjectTableRow.tsx@@ -1,4 +1,4 @@-import { CheckIcon, CopyIcon, GithubIcon, MoreVerticalIcon, SettingsIcon } from 'lucide-react'+import { CheckIcon, CopyIcon, MoreVerticalIcon, SettingsIcon } from 'lucide-react'import { useRouter } from 'next/router'import { useState } from 'react'import InlineSVG from 'react-inlinesvg'@@ -10,6 +10,7 @@ import {DropdownMenuContent,DropdownMenuItem,DropdownMenuTrigger,+ GithubIcon,TableCell,TableRow,Tooltip,diff --git a/apps/studio/components/interfaces/Integrations/VercelGithub/IntegrationPanels.tsx b/apps/studio/components/interfaces/Integrations/VercelGithub/IntegrationPanels.tsxindex 4520df9a4cd..bed50db0a10 100644--- a/apps/studio/components/interfaces/Integrations/VercelGithub/IntegrationPanels.tsx+++ b/apps/studio/components/interfaces/Integrations/VercelGithub/IntegrationPanels.tsx@@ -1,9 +1,9 @@import dayjs from 'dayjs'-import { ArrowRightIcon, ExternalLinkIcon, GithubIcon } from 'lucide-react'+import { ArrowRightIcon, ExternalLinkIcon } from 'lucide-react'import Image from 'next/legacy/image'import Link from 'next/link'import { forwardRef, HTMLAttributes, ReactNode, RefAttributes } from 'react'-import { Badge, Button, cn } from 'ui'+import { Badge, Button, cn, GithubIcon } from 'ui'import { Markdown } from '@/components/interfaces/Markdown'import { ButtonTooltip } from '@/components/ui/ButtonTooltip'diff --git a/apps/studio/components/interfaces/ProjectHome/ActivityStats.tsx b/apps/studio/components/interfaces/ProjectHome/ActivityStats.tsxindex 6b53117a4df..97ae7273e13 100644--- a/apps/studio/components/interfaces/ProjectHome/ActivityStats.tsx+++ b/apps/studio/components/interfaces/ProjectHome/ActivityStats.tsx@@ -1,8 +1,8 @@import { useParams } from 'common'import dayjs from 'dayjs'-import { ArchiveIcon, CpuIcon, DatabaseIcon, GitBranchIcon, GithubIcon } from 'lucide-react'+import { ArchiveIcon, CpuIcon, DatabaseIcon, GitBranchIcon } from 'lucide-react'import { useMemo } from 'react'-import { cn, Skeleton } from 'ui'+import { cn, GithubIcon, Skeleton } from 'ui'import { TimestampInfo } from 'ui-patterns/TimestampInfo'import { HighAvailabilityBadge } from './HighAvailabilityBadge'diff --git a/apps/studio/components/interfaces/Support/DocsSuggestions.tsx b/apps/studio/components/interfaces/Support/DocsSuggestions.tsxindex 73dbe8b6961..9934eee99bd 100644--- a/apps/studio/components/interfaces/Support/DocsSuggestions.tsx+++ b/apps/studio/components/interfaces/Support/DocsSuggestions.tsx@@ -1,6 +1,6 @@import { useDocsSearch, type DocsSearchResult } from 'common'-import { BookIcon, GithubIcon, Loader2Icon } from 'lucide-react'-import { cn } from 'ui'+import { BookIcon, Loader2Icon } from 'lucide-react'+import { cn, GithubIcon } from 'ui'import { useChangedSync } from '@/hooks/misc/useChanged'import { DOCS_URL } from '@/lib/constants'diff --git a/apps/studio/components/interfaces/Support/SupportForm.utils.tsx b/apps/studio/components/interfaces/Support/SupportForm.utils.tsxindex 59ff65f25ea..c6e85b4639b 100644--- a/apps/studio/components/interfaces/Support/SupportForm.utils.tsx+++ b/apps/studio/components/interfaces/Support/SupportForm.utils.tsx@@ -8,7 +8,7 @@ import {} from 'common'import dayjs from 'dayjs'import { partition } from 'lodash'-import { BookIcon, GithubIcon, HashIcon, MessageSquareIcon } from 'lucide-react'+import { BookIcon, HashIcon, MessageSquareIcon } from 'lucide-react'import {createLoader,createParser,@@ -17,6 +17,7 @@ import {type inferParserType,type UseQueryStatesKeysMap,} from 'nuqs'+import { GithubIcon } from 'ui'import { CATEGORY_OPTIONS, type ExtendedSupportCategories } from './Support.constants'import { getProjectDetail } from '@/data/projects/project-detail-query'diff --git a/apps/studio/package.json b/apps/studio/package.jsonindex a5bb605aec5..a053d47e805 100644--- a/apps/studio/package.json+++ b/apps/studio/package.json@@ -126,7 +126,7 @@"libpg-query": "17.6.0","lodash": "catalog:","lodash-es": "catalog:",- "lucide-react": "^0.436.0",+ "lucide-react": "catalog:","markdown-table": "^3.0.3","mime-db": "^1.53.0","monaco-editor": "catalog:",diff --git a/apps/ui-library/components/catalog-preview.tsx b/apps/ui-library/components/catalog-preview.tsxindex 7db3282dbd7..bae4acb279d 100644--- a/apps/ui-library/components/catalog-preview.tsx+++ b/apps/ui-library/components/catalog-preview.tsx@@ -2,7 +2,6 @@ import {Bot,Check,File,- Github,LockKeyhole,MoreHorizontal,MousePointer2,@@ -13,6 +12,7 @@ import {Workflow,} from 'lucide-react'import type { ReactNode } from 'react'+import { GithubIcon } from 'ui'import type { CatalogPreviewKind } from '@/config/library'@@ -67,7 +67,7 @@ export function CatalogPreview({ kind }: { kind: CatalogPreviewKind }) {{kind === 'social' ? (<><div className="flex items-center justify-center gap-2 rounded border px-2 py-1.5">- <Github className="size-3" />+ <GithubIcon className="size-3" />Continue with GitHub</div><div className="rounded border px-2 py-1.5 text-center">Continue with Google</div>diff --git a/apps/ui-library/package.json b/apps/ui-library/package.jsonindex eda80428a26..b015d467fc3 100644--- a/apps/ui-library/package.json+++ b/apps/ui-library/package.json@@ -39,7 +39,7 @@"eslint-config-supabase": "workspace:*","icons": "workspace:*","jotai": "^2.8.0",- "lucide-react": "*",+ "lucide-react": "catalog:","monaco-editor": "catalog:","motion": "catalog:","next": "catalog:",diff --git a/apps/www/components/Sections/GithubExamples.tsx b/apps/www/components/Sections/GithubExamples.tsxindex 2dc11554f17..ea03ee40baa 100644--- a/apps/www/components/Sections/GithubExamples.tsx+++ b/apps/www/components/Sections/GithubExamples.tsx@@ -1,12 +1,12 @@import Examples from '~/data/Examples'-import { ArrowLeft, ArrowRight, BookOpen, Github } from 'lucide-react'+import { ArrowLeft, ArrowRight, BookOpen } from 'lucide-react'import Link from 'next/link'import { useRef } from 'react'// import Swiper core and required modulesimport SwiperCore from 'swiper'import { Navigation, Pagination } from 'swiper/modules'import { Swiper, SwiperSlide } from 'swiper/react'-import { Button } from 'ui'+import { Button, GithubIcon } from 'ui'import ExampleCard from '../ExampleCard'@@ -29,7 +29,7 @@ function GithubExamples() {<Button asChild size="small" icon={<BookOpen size={12} />}><a href="/docs/guides/resources/examples">View guides</a></Button>- <Button asChild size="small" icon={<Github size={12} />}>+ <Button asChild size="small" icon={<GithubIcon size={12} />}><Linkhref="https://github.com/supabase/supabase/tree/master/examples"as="https://github.com/supabase/supabase/tree/master/examples"diff --git a/apps/www/package.json b/apps/www/package.jsonindex cd88e1e71a7..ef7c4a3526c 100644--- a/apps/www/package.json+++ b/apps/www/package.json@@ -61,7 +61,7 @@"gsap": "^3.13.0","icons": "workspace:*","js-yaml": "^3.15.1",- "lucide-react": "*",+ "lucide-react": "catalog:","markdown-toc": "^1.2.0","marketing": "workspace:*","mdast-util-from-markdown": "^2.0.2",diff --git a/packages/common/package.json b/packages/common/package.jsonindex ab891bcc87e..72952cb1c3c 100644--- a/packages/common/package.json+++ b/packages/common/package.json@@ -33,7 +33,7 @@"@typescript/native": "catalog:","@vitest/coverage-v8": "catalog:","@vitest/ui": "catalog:",- "lucide-react": "*",+ "lucide-react": "catalog:","tsconfig": "workspace:*","type-fest": "5.6.0","typescript": "catalog:",@@ -43,7 +43,7 @@"peerDependencies": {"@supabase/auth-js": "catalog:","@supabase/supabase-js": "catalog:",- "lucide-react": "*",+ "lucide-react": "catalog:","next": "catalog:","react": "catalog:","react-dom": "catalog:"diff --git a/packages/dev-tools/package.json b/packages/dev-tools/package.jsonindex f97ec5a1199..94d746d465d 100644--- a/packages/dev-tools/package.json+++ b/packages/dev-tools/package.json@@ -18,7 +18,7 @@},"dependencies": {"common": "workspace:*",- "lucide-react": "*",+ "lucide-react": "catalog:","ui": "workspace:*"},"devDependencies": {diff --git a/packages/ui-patterns/package.json b/packages/ui-patterns/package.jsonindex c7a22c82323..dc39da6cb88 100644--- a/packages/ui-patterns/package.json+++ b/packages/ui-patterns/package.json@@ -771,7 +771,7 @@"icons": "workspace:*","js-yaml": "^3.14.1","lodash": "catalog:",- "lucide-react": "*",+ "lucide-react": "catalog:","mdast": "^3.0.0","mdast-jsx": "^0.1.1","mermaid": "^11.12.1",diff --git a/packages/ui-patterns/src/CommandMenu/prepackaged/DocsSearch/DocsSearchPage.tsx b/packages/ui-patterns/src/CommandMenu/prepackaged/DocsSearch/DocsSearchPage.tsxindex fa764fddff8..49e35b5b4da 100644--- a/packages/ui-patterns/src/CommandMenu/prepackaged/DocsSearch/DocsSearchPage.tsx+++ b/packages/ui-patterns/src/CommandMenu/prepackaged/DocsSearch/DocsSearchPage.tsx@@ -6,9 +6,9 @@ import {type DocsSearchResult as Page,type DocsSearchResultSection as PageSection,} from 'common'-import { Book, ChevronRight, Github, Hash, Loader2, MessageSquare, Search } from 'lucide-react'+import { Book, ChevronRight, Hash, Loader2, MessageSquare, Search } from 'lucide-react'import { useCallback, useEffect, useRef } from 'react'-import { Button, cn, CommandGroup, CommandItem, CommandList, StatusIcon } from 'ui'+import { Button, cn, CommandGroup, CommandItem, CommandList, GithubIcon, StatusIcon } from 'ui'import {Breadcrumb,@@ -347,7 +347,7 @@ export function getPageIcon(page: Page) {case PageType.Troubleshooting:return <Book strokeWidth={1.5} className="mr-0! w-4! h-4!" />case PageType.GithubDiscussion:- return <Github strokeWidth={1.5} className="mr-0! w-4! h-4!" />+ return <GithubIcon strokeWidth={1.5} className="mr-0! w-4! h-4!" />default:throw new Error(`Unknown page type '${page.type}'`)}diff --git a/packages/ui/index.tsx b/packages/ui/index.tsxindex 113929b9c06..4fd72f552b2 100644--- a/packages/ui/index.tsx+++ b/packages/ui/index.tsx@@ -149,6 +149,7 @@ export * from './src/components/Icon/icons/IconDatabaseChanges'export * from './src/components/Icon/icons/IconDiscord'export * from './src/components/Icon/icons/IconDiscussions'export * from './src/components/Icon/icons/IconDocumentation'+export * from './src/components/Icon/icons/GithubIcon'export * from './src/components/Icon/icons/IconGitHubSolid'export * from './src/components/Icon/icons/IconInstagram'export * from './src/components/Icon/icons/IconIntegrations'diff --git a/packages/ui/package.json b/packages/ui/package.jsonindex b18c4c7e003..9ba17ffb7d7 100644--- a/packages/ui/package.json+++ b/packages/ui/package.json@@ -24,7 +24,7 @@"date-fns": "^2.30.0","input-otp": "^1.4.2","lodash": "catalog:",- "lucide-react": "^0.436.0",+ "lucide-react": "catalog:","motion": "catalog:","prop-types": "^15.7.2","radix-ui": "catalog:",diff --git a/packages/ui/src/components/Icon/icons/GithubIcon/GithubIcon.tsx b/packages/ui/src/components/Icon/icons/GithubIcon/GithubIcon.tsxnew file mode 100644index 00000000000..c26668c8715--- /dev/null+++ b/packages/ui/src/components/Icon/icons/GithubIcon/GithubIcon.tsx@@ -0,0 +1,15 @@+import { createLucideIcon } from 'lucide-react'++/**+ * Official GitHub mark as a Lucide-compatible icon.+ * Lucide v1 removed brand icons; this keeps the previous Lucide GitHub paths.+ */+export const GithubIcon = createLucideIcon('github', [+ [+ 'path',+ {+ d: 'M15 22v-4a4.8 4.8 0 0 0-1-3.5c3 0 6-2 6-5.5.08-1.25-.27-2.48-1-3.5.28-1.15.28-2.35 0-3.5 0 0-1 0-3 1.5-2.64-.5-5.36-.5-8 0C6 2 5 2 5 2c-.3 1.15-.3 2.35 0 3.5A5.403 5.403 0 0 0 4 9c0 3.5 3 5.5 6 5.5-.39.49-.68 1.05-.85 1.65-.17.6-.22 1.23-.15 1.85v4',+ },+ ],+ ['path', { d: 'M9 18c-4.51 2-5-2-7-2' }],+])diff --git a/packages/ui/src/components/Icon/icons/GithubIcon/index.tsx b/packages/ui/src/components/Icon/icons/GithubIcon/index.tsxnew file mode 100644index 00000000000..64ba7a4565c--- /dev/null+++ b/packages/ui/src/components/Icon/icons/GithubIcon/index.tsx@@ -0,0 +1 @@+export { GithubIcon } from './GithubIcon'diff --git a/pnpm-lock.yaml b/pnpm-lock.yamlindex 2b217319f83..5ebef913d83 100644--- a/pnpm-lock.yaml+++ b/pnpm-lock.yaml@@ -63,6 +63,9 @@ catalogs:cn:specifier: ^0.4.0version: 0.4.0+ lucide-react:+ specifier: ^1.55.0+ version: 1.55.0motion:specifier: ^11.18.2version: 11.18.2@@ -230,8 +233,8 @@ importers:specifier: ^2.8.0version: 2.8.1(@types/[email protected])([email protected])lucide-react:- specifier: '*'- version: 0.436.0([email protected])+ specifier: 'catalog:'+ version: 1.55.0(@types/[email protected])([email protected])markdown-wasm:specifier: ^1.2.0version: 1.2.0@@ -462,8 +465,8 @@ importers:specifier: ^4.18.1version: 4.18.1lucide-react:- specifier: '*'- version: 0.436.0([email protected])+ specifier: 'catalog:'+ version: 1.55.0(@types/[email protected])([email protected])mdast:specifier: ^3.0.0version: 3.0.0@@ -775,8 +778,8 @@ importers:specifier: ^4.0.3version: 4.0.3lucide-react:- specifier: '*'- version: 0.436.0([email protected])+ specifier: 'catalog:'+ version: 1.55.0(@types/[email protected])([email protected])react:specifier: 'catalog:'version: 19.2.6@@ -851,8 +854,8 @@ importers:specifier: ^2.8.0version: 2.8.1(@types/[email protected])([email protected])lucide-react:- specifier: '*'- version: 0.511.0([email protected])+ specifier: 'catalog:'+ version: 1.55.0(@types/[email protected])([email protected])motion:specifier: 'catalog:'version: 11.18.2(@emotion/[email protected])([email protected]([email protected]))([email protected])@@ -1258,8 +1261,8 @@ importers:specifier: ^4.18.1version: 4.18.1lucide-react:- specifier: ^0.436.0- version: 0.436.0([email protected])+ specifier: 'catalog:'+ version: 1.55.0(@types/[email protected])([email protected])markdown-table:specifier: ^3.0.3version: 3.0.3@@ -1610,8 +1613,8 @@ importers:specifier: ^2.8.0version: 2.8.1(@types/[email protected])([email protected])lucide-react:- specifier: '*'- version: 0.436.0([email protected])+ specifier: 'catalog:'+ version: 1.55.0(@types/[email protected])([email protected])monaco-editor:specifier: 0.52.2version: 0.52.2@@ -1920,8 +1923,8 @@ importers:specifier: ^3.15.1version: 3.15.2lucide-react:- specifier: '*'- version: 0.436.0([email protected])+ specifier: 'catalog:'+ version: 1.55.0(@types/[email protected])([email protected])markdown-toc:specifier: ^1.2.0version: 1.2.0@@ -2447,8 +2450,8 @@ importers:specifier: 'catalog:'version: 5.0.0([email protected])lucide-react:- specifier: '*'- version: 0.436.0([email protected])+ specifier: 'catalog:'+ version: 1.55.0(@types/[email protected])([email protected])tsconfig:specifier: workspace:*version: link:../tsconfig@@ -2496,8 +2499,8 @@ importers:specifier: workspace:*version: link:../commonlucide-react:- specifier: '*'- version: 0.511.0([email protected])+ specifier: 'catalog:'+ version: 1.55.0(@types/[email protected])([email protected])ui:specifier: workspace:*version: link:../ui@@ -2755,8 +2758,8 @@ importers:specifier: ^4.18.1version: 4.18.1lucide-react:- specifier: ^0.436.0- version: 0.436.0([email protected])+ specifier: 'catalog:'+ version: 1.55.0(@types/[email protected])([email protected])motion:specifier: 'catalog:'version: 11.18.2(@emotion/[email protected])([email protected]([email protected]))([email protected])@@ -2906,8 +2909,8 @@ importers:specifier: ^4.18.1version: 4.18.1lucide-react:- specifier: '*'- version: 0.436.0([email protected])+ specifier: 'catalog:'+ version: 1.55.0(@types/[email protected])([email protected])mdast:specifier: ^3.0.0version: 3.0.0@@ -14175,20 +14178,19 @@ packages:resolution: {integrity: sha512-KpNARQA3Iwv+jTA0utUVVbrh+Jlrr1Fv0e56GGzAFOXN7dk/FviaDW8LHmK52DlcH4WP2n6gI8vN1aesBFgo9w==}- resolution: {integrity: sha512-N292bIxoqm1aObAg0MzFtvhYwgQE6qnIOWx/GLj5ONgcTPH6N0fD9bVq/GfdeC9ZORBXozt/XeEKDpiB3x3vlQ==}- peerDependencies:- react: ^16.5.1 || ^17.0.0 || ^18.0.0 || ^19.0.0-rc-- resolution: {integrity: sha512-VK5a2ydJ7xm8GvBeKLS9mu1pVK6ucef9780JVUjw6bAjJL/QXnd4Y0p7SPeOUMC27YhzNCZvm5d/QX0Tp3rc0w==}+ resolution: {integrity: sha512-w3hD8/SQB7+lzU2r4VdFyzzOzKnUjTZIF/MQJGSSvni7Llewni4vuViRppfRAa2guOsY5k4jZyxw/i9DQHv+dw==}peerDependencies:react: ^16.5.1 || ^17.0.0 || ^18.0.0 || ^19.0.0- resolution: {integrity: sha512-w3hD8/SQB7+lzU2r4VdFyzzOzKnUjTZIF/MQJGSSvni7Llewni4vuViRppfRAa2guOsY5k4jZyxw/i9DQHv+dw==}+ resolution: {integrity: sha512-bSozQHiI3/8q7JvgoqVRGOYUi7fYT3siAZwmZsljjsOH2Husp/2ODdFf/leD+ZC/2yKfn7r8oh6yeoR3ITR5vA==}peerDependencies:+ '@types/react': '*'react: ^16.5.1 || ^17.0.0 || ^18.0.0 || ^19.0.0+ peerDependenciesMeta:+ '@types/react':+ optional: trueresolution: {integrity: sha512-LN0BLGKMFulv0lnfK29r14DcngRUhIqdcaL0zXTt2o0oS9odlrjCGaU3/X9hIihOjjN8l8e+Y9G/famcNYaI7Q==}@@ -32185,17 +32187,15 @@ snapshots:dependencies:yallist: 3.1.1- dependencies:- react: 19.2.6-dependencies:react: 19.2.6dependencies:react: 19.2.6+ optionalDependencies:+ '@types/react': 19.2.14dependencies:diff --git a/pnpm-workspace.yaml b/pnpm-workspace.yamlindex da832f173c2..691fa7fd465 100644--- a/pnpm-workspace.yaml+++ b/pnpm-workspace.yaml@@ -37,6 +37,9 @@ catalog:cn: ^0.4.0lodash: ^4.18.1lodash-es: ^4.18.1+ # Latest v1.x that satisfies minimumReleaseAge (72h). Newer patch releases+ # (1.56+) will be picked up automatically once they age in.+ lucide-react: ^1.55.0monaco-editor: 0.52.2motion: ^11.18.2next: ^16.3.6