diff --git a/package-lock.json b/package-lock.json index 20a90e3c33..07151d9bcc 100644 --- a/package-lock.json +++ b/package-lock.json @@ -8646,6 +8646,19 @@ "resolved": "services/web", "link": true }, + "node_modules/@phosphor-icons/react": { + "version": "2.1.7", + "resolved": "https://registry.npmjs.org/@phosphor-icons/react/-/react-2.1.7.tgz", + "integrity": "sha512-g2e2eVAn1XG2a+LI09QU3IORLhnFNAFkNbo2iwbX6NOKSLOwvEMmTa7CgOzEbgNWR47z8i8kwjdvYZ5fkGx1mQ==", + "license": "MIT", + "engines": { + "node": ">=10" + }, + "peerDependencies": { + "react": ">= 16.8", + "react-dom": ">= 16.8" + } + }, "node_modules/@pkgjs/parseargs": { "version": "0.11.0", "resolved": "https://registry.npmjs.org/@pkgjs/parseargs/-/parseargs-0.11.0.tgz", @@ -41444,6 +41457,7 @@ "@overleaf/promise-utils": "*", "@overleaf/redis-wrapper": "*", "@overleaf/settings": "*", + "@phosphor-icons/react": "^2.1.7", "@slack/webhook": "^7.0.2", "@xmldom/xmldom": "^0.7.13", "accepts": "^1.3.7", @@ -51176,6 +51190,7 @@ "@overleaf/redis-wrapper": "*", "@overleaf/settings": "*", "@overleaf/stream-utils": "*", + "@phosphor-icons/react": "^2.1.7", "@pmmmwh/react-refresh-webpack-plugin": "^0.5.11", "@pollyjs/adapter-node-http": "^6.0.6", "@pollyjs/core": "^6.0.6", @@ -53316,6 +53331,12 @@ } } }, + "@phosphor-icons/react": { + "version": "2.1.7", + "resolved": "https://registry.npmjs.org/@phosphor-icons/react/-/react-2.1.7.tgz", + "integrity": "sha512-g2e2eVAn1XG2a+LI09QU3IORLhnFNAFkNbo2iwbX6NOKSLOwvEMmTa7CgOzEbgNWR47z8i8kwjdvYZ5fkGx1mQ==", + "requires": {} + }, "@pkgjs/parseargs": { "version": "0.11.0", "resolved": "https://registry.npmjs.org/@pkgjs/parseargs/-/parseargs-0.11.0.tgz", diff --git a/services/web/frontend/js/features/project-list/components/sidebar/sidebar-ds-nav.tsx b/services/web/frontend/js/features/project-list/components/sidebar/sidebar-ds-nav.tsx index 9a965dc882..0a2942f944 100644 --- a/services/web/frontend/js/features/project-list/components/sidebar/sidebar-ds-nav.tsx +++ b/services/web/frontend/js/features/project-list/components/sidebar/sidebar-ds-nav.tsx @@ -1,11 +1,11 @@ import { useState } from 'react' import classnames from 'classnames' +import { Question, User } from '@phosphor-icons/react' import NewProjectButton from '../new-project-button' import SidebarFilters from './sidebar-filters' import AddAffiliation, { useAddAffiliation } from '../add-affiliation' import SurveyWidget from '../survey-widget' -import { usePersistedResize } from '../../../../shared/hooks/use-resize' -import MaterialIcon from '@/shared/components/material-icon' +import { usePersistedResize } from '@/shared/hooks/use-resize' import { Dropdown } from 'react-bootstrap-5' import getMeta from '@/utils/meta' import OLTooltip from '@/features/ui/components/ol/ol-tooltip' @@ -77,11 +77,18 @@ function SidebarDsNav() { }} >