From 07659efb3e10812ba4542b846a113d7d68507418 Mon Sep 17 00:00:00 2001 From: NishiPhalke Date: Fri, 29 Dec 2023 10:37:51 -0500 Subject: [PATCH] changed brain ccres short name in app bar --- package.json | 2 +- src/components/AppBar/AppBar.tsx | 2 +- src/components/AppBar/TabletAppBar.tsx | 2 +- stories/DropDownMenu.stories.tsx | 2 +- stories/SearchBox.stories.tsx | 2 +- stories/Select.stories.tsx | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/package.json b/package.json index 666a57c..e570315 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "@weng-lab/psychscreen-ui-components", "description": "Typescript and Material UI based components used for psychSCREEN", "author": "SCREEN Team @ UMass Chan Medical School", - "version": "0.8.2", + "version": "0.8.3", "license": "MIT", "main": "dist/index.js", "typings": "dist/index.d.ts", diff --git a/src/components/AppBar/AppBar.tsx b/src/components/AppBar/AppBar.tsx index 76c9c18..5471ad0 100644 --- a/src/components/AppBar/AppBar.tsx +++ b/src/components/AppBar/AppBar.tsx @@ -48,7 +48,7 @@ export const PortalsMenuItem: React.FC<{ children?: React.ReactNode, onClick?: ( const PortalsMenu: React.FC<{ onPortalClicked?: (index: number) => void }> = ({ onPortalClicked }) => ( <> onPortalClicked && onPortalClicked(0)}>Disease/Trait - onPortalClicked && onPortalClicked(1)}>Gene/bCRE + onPortalClicked && onPortalClicked(1)}>Gene/b-cCRE onPortalClicked && onPortalClicked(2)}>SNP/QTL onPortalClicked && onPortalClicked(3)}>Single-Cell diff --git a/src/components/AppBar/TabletAppBar.tsx b/src/components/AppBar/TabletAppBar.tsx index b501282..138ed85 100644 --- a/src/components/AppBar/TabletAppBar.tsx +++ b/src/components/AppBar/TabletAppBar.tsx @@ -15,7 +15,7 @@ const PortalsMenu: React.FC<{ onItemClicked?: (index: number) => void }> = ({ on <> onItemClicked && onItemClicked(-1)}>About onItemClicked && onItemClicked(0)}>Disease/Trait Portal - onItemClicked && onItemClicked(1)}>Gene/bCRE Portal + onItemClicked && onItemClicked(1)}>Gene/b-cCRE Portal onItemClicked && onItemClicked(2)}>SNP/QTL Portal onItemClicked && onItemClicked(3)}>Single-Cell Portal diff --git a/stories/DropDownMenu.stories.tsx b/stories/DropDownMenu.stories.tsx index 9d17c50..75601c1 100644 --- a/stories/DropDownMenu.stories.tsx +++ b/stories/DropDownMenu.stories.tsx @@ -25,7 +25,7 @@ export default meta; const Template: Story = args => ( Disease/Trait - Gene/bCRE + Gene/b-cCRE SNP/QTL Single-Cell diff --git a/stories/SearchBox.stories.tsx b/stories/SearchBox.stories.tsx index 15833b3..4902694 100644 --- a/stories/SearchBox.stories.tsx +++ b/stories/SearchBox.stories.tsx @@ -42,7 +42,7 @@ export default meta; const SELECT_OPTIONS = [ { name: "Disease/Trait", value: "disease", helperText: "e.g. schizophrenia, years of education" }, - { name: "Gene/bCRE", value: "gene", helperText: "e.g. APOE, PPIF1" }, + { name: "Gene/b-cCRE", value: "gene", helperText: "e.g. APOE, PPIF1" }, { name: "SNP/QTL", value: "SNP", helperText: "e.g. rs2836883, rs7690700" } ] diff --git a/stories/Select.stories.tsx b/stories/Select.stories.tsx index f8ab55f..037cec4 100644 --- a/stories/Select.stories.tsx +++ b/stories/Select.stories.tsx @@ -24,7 +24,7 @@ export default meta; const Template: Story = args => (