diff --git a/package.json b/package.json index 21f618b5f..d022bb9f2 100644 --- a/package.json +++ b/package.json @@ -3,7 +3,7 @@ "private": true, "sideEffects": false, "repository": "https://github.com/TanStack/tanstack.com.git", - "packageManager": "pnpm@9.4.0", + "packageManager": "pnpm@10.26.0", "type": "module", "scripts": { "dev": "pnpm run with-env vite dev", @@ -59,12 +59,12 @@ "hast-util-to-string": "^3.0.1", "html-react-parser": "^5.1.10", "lru-cache": "^7.13.1", + "lucide-react": "^0.561.0", "mermaid": "^11.11.0", "postgres": "^3.4.7", "react": "^19.2.0", "react-colorful": "^5.6.1", "react-dom": "^19.2.0", - "react-icons": "^5.3.0", "react-instantsearch": "7", "rehype-autolink-headings": "^7.1.0", "rehype-callouts": "^2.1.2", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index c4ac35f19..aa98532d2 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -125,6 +125,9 @@ importers: lru-cache: specifier: ^7.13.1 version: 7.18.3 + lucide-react: + specifier: ^0.561.0 + version: 0.561.0(react@19.2.0) mermaid: specifier: ^11.11.0 version: 11.11.0 @@ -140,9 +143,6 @@ importers: react-dom: specifier: ^19.2.0 version: 19.2.0(react@19.2.0) - react-icons: - specifier: ^5.3.0 - version: 5.3.0(react@19.2.0) react-instantsearch: specifier: '7' version: 7.15.5(algoliasearch@5.23.4)(react-dom@19.2.0(react@19.2.0))(react@19.2.0) @@ -5157,6 +5157,11 @@ packages: resolution: {integrity: sha512-jumlc0BIUrS3qJGgIkWZsyfAM7NCWiBcCDhnd+3NNM5KbBmLTgHVfWBcg6W+rLUsIpzpERPsvwUP7CckAQSOoA==} engines: {node: '>=12'} + lucide-react@0.561.0: + resolution: {integrity: sha512-Y59gMY38tl4/i0qewcqohPdEbieBy7SovpBL9IFebhc2mDd8x4PZSOsiFRkpPcOq6bj1r/mjH/Rk73gSlIJP2A==} + peerDependencies: + react: ^16.5.1 || ^17.0.0 || ^18.0.0 || ^19.0.0 + luxon@3.5.0: resolution: {integrity: sha512-rh+Zjr6DNfUYR3bPwJEnuwDdqMbxZW7LOQfUN4B54+Cl+0o5zaU9RJ6bcidfDtC1cWCZXQ+nvX8bf6bAji37QQ==} engines: {node: '>=12'} @@ -5898,11 +5903,6 @@ packages: peerDependencies: react: ^19.2.0 - react-icons@5.3.0: - resolution: {integrity: sha512-DnUk8aFbTyQPSkCfF8dbX6kQjXA9DktMeJqfjrg6cK9vwQVMxmcA3BfP4QoiztVmEHtwlTgLFsPuH2NskKT6eg==} - peerDependencies: - react: '*' - react-instantsearch-core@7.15.5: resolution: {integrity: sha512-SFxiwwMf0f5F/8U0Y4ullvQ7bZtbYE516UOJbxaHhjV8yY0i8c22K4lrBFrYbxVRT7QAcp2wLGHiB7r/lD7eRA==} peerDependencies: @@ -12439,6 +12439,10 @@ snapshots: lru-cache@7.18.3: {} + lucide-react@0.561.0(react@19.2.0): + dependencies: + react: 19.2.0 + luxon@3.5.0: {} magic-string@0.30.17: @@ -13341,10 +13345,6 @@ snapshots: react: 19.2.0 scheduler: 0.27.0 - react-icons@5.3.0(react@19.2.0): - dependencies: - react: 19.2.0 - react-instantsearch-core@7.15.5(algoliasearch@5.23.4)(react@19.2.0): dependencies: '@babel/runtime': 7.24.5 diff --git a/src/components/CodeExplorerTopBar.tsx b/src/components/CodeExplorerTopBar.tsx index b998ca205..94aedc329 100644 --- a/src/components/CodeExplorerTopBar.tsx +++ b/src/components/CodeExplorerTopBar.tsx @@ -1,6 +1,11 @@ import React from 'react' -import { FaExpand, FaCompress } from 'react-icons/fa' -import { CgMenuLeft } from 'react-icons/cg' +import { + ArrowLeftFromLine, + ArrowRightFromLine, + Maximize, + Minimize, + TextAlignStart, +} from 'lucide-react' interface CodeExplorerTopBarProps { activeTab: 'code' | 'sandbox' @@ -23,16 +28,26 @@ export function CodeExplorerTopBar({
,
to: '/maintainers',
},
{
label: 'Partners',
- icon: The page you are looking for does not exist.
{children || (diff --git a/src/components/NotesModerationList.tsx b/src/components/NotesModerationList.tsx index 84717fa5b..a57b5e397 100644 --- a/src/components/NotesModerationList.tsx +++ b/src/components/NotesModerationList.tsx @@ -1,10 +1,5 @@ import * as React from 'react' import { twMerge } from 'tailwind-merge' -import { - FaComment, - FaExclamationTriangle, - FaExternalLinkAlt, -} from 'react-icons/fa' import { Table, TableHeader, @@ -18,6 +13,7 @@ import { PaginationControls } from './PaginationControls' import { Spinner } from './Spinner' import type { DocFeedback } from '~/db/schema' import { calculatePoints } from '~/utils/docFeedback.client' +import { ExternalLink, TriangleAlert } from 'lucide-react' interface NotesModerationListProps { data: @@ -196,7 +192,7 @@ export function NotesModerationList({ {feedback.isDetached && (