diff --git a/package-lock.json b/package-lock.json index 3cd9cde1..48ded9bf 100644 --- a/package-lock.json +++ b/package-lock.json @@ -17,7 +17,6 @@ "@lezer/generator": "^1.2.2", "@lezer/highlight": "^1.1.3", "@lezer/lr": "^1.3.3", - "@radix-ui/react-icons": "^1.2.0", "@react-hook/resize-observer": "^1.2.6", "@tailwindcss/container-queries": "^0.1.0", "@tanstack/query-sync-storage-persister": "^4.27.1", @@ -32,6 +31,7 @@ "focus-trap-react": "^10.1.1", "format-graphql": "^1.4.0", "framer-motion": "^9.0.4", + "lucide-react": "^0.309.0", "papaparse": "^5.4.1", "parse-color": "^1.0.0", "react": "^18.2.0", @@ -1259,14 +1259,6 @@ "node": ">= 8" } }, - "node_modules/@radix-ui/react-icons": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/@radix-ui/react-icons/-/react-icons-1.3.0.tgz", - "integrity": "sha512-jQxj/0LKgp+j9BiTXz3O3sgs26RNet2iLWmsPyRz2SIcR4q/4SbazXfnYwbAr+vLYKSfc7qxzyGQA1HLlYiuNw==", - "peerDependencies": { - "react": "^16.x || ^17.x || ^18.x" - } - }, "node_modules/@react-dnd/asap": { "version": "5.0.2", "resolved": "https://registry.npmjs.org/@react-dnd/asap/-/asap-5.0.2.tgz", @@ -6438,6 +6430,14 @@ "yallist": "^3.0.2" } }, + "node_modules/lucide-react": { + "version": "0.309.0", + "resolved": "https://registry.npmjs.org/lucide-react/-/lucide-react-0.309.0.tgz", + "integrity": "sha512-zNVPczuwFrCfksZH3zbd1UDE6/WYhYAdbe2k7CImVyPAkXLgIwbs6eXQ4loigqDnUFjyFYCI5jZ1y10Kqal0dg==", + "peerDependencies": { + "react": "^16.5.1 || ^17.0.0 || ^18.0.0" + } + }, "node_modules/magic-string": { "version": "0.27.0", "resolved": "https://registry.npmjs.org/magic-string/-/magic-string-0.27.0.tgz", diff --git a/package.json b/package.json index be4d4014..11cf6269 100644 --- a/package.json +++ b/package.json @@ -33,7 +33,6 @@ "@lezer/generator": "^1.2.2", "@lezer/highlight": "^1.1.3", "@lezer/lr": "^1.3.3", - "@radix-ui/react-icons": "^1.2.0", "@react-hook/resize-observer": "^1.2.6", "@tailwindcss/container-queries": "^0.1.0", "@tanstack/query-sync-storage-persister": "^4.27.1", @@ -48,6 +47,7 @@ "focus-trap-react": "^10.1.1", "format-graphql": "^1.4.0", "framer-motion": "^9.0.4", + "lucide-react": "^0.309.0", "papaparse": "^5.4.1", "parse-color": "^1.0.0", "react": "^18.2.0", diff --git a/src-web/components/EnvironmentEditDialog.tsx b/src-web/components/EnvironmentEditDialog.tsx index 93c78d99..0db0170c 100644 --- a/src-web/components/EnvironmentEditDialog.tsx +++ b/src-web/components/EnvironmentEditDialog.tsx @@ -189,7 +189,7 @@ const EnvironmentEditor = function ({ {items != null && ( setUpdateMode(updateMode === 'stable' ? 'beta' : 'stable'), - leftSlot: , + leftSlot: , }, { key: 'update-check', diff --git a/src-web/components/Sidebar.tsx b/src-web/components/Sidebar.tsx index aebfef9c..a5783c99 100644 --- a/src-web/components/Sidebar.tsx +++ b/src-web/components/Sidebar.tsx @@ -595,7 +595,7 @@ const SidebarItem = forwardRef(function SidebarItem( { key: 'sendAll', label: 'Send All', - leftSlot: , + leftSlot: , onSelect: () => sendManyRequests.mutate(child.children.map((c) => c.item.id)), }, { type: 'separator', label: itemName }, diff --git a/src-web/components/UrlBar.tsx b/src-web/components/UrlBar.tsx index 3ad5a992..17e6c8d9 100644 --- a/src-web/components/UrlBar.tsx +++ b/src-web/components/UrlBar.tsx @@ -81,7 +81,7 @@ export const UrlBar = memo(function UrlBar({ id: requestId, url, method, classNa title="Send Request" type="submit" className="!h-auto w-8 mr-0.5 my-0.5" - icon={loading ? 'update' : 'paperPlane'} + icon={loading ? 'update' : 'sendHorizontal'} spin={loading} hotkeyAction="request.send" /> diff --git a/src-web/components/WorkspaceActionsDropdown.tsx b/src-web/components/WorkspaceActionsDropdown.tsx index 4fbf471f..960dda09 100644 --- a/src-web/components/WorkspaceActionsDropdown.tsx +++ b/src-web/components/WorkspaceActionsDropdown.tsx @@ -55,7 +55,7 @@ export const WorkspaceActionsDropdown = memo(function WorkspaceActionsDropdown({