Skip to content

Commit

Permalink
Merge pull request #3288 from quantified-uncertainty/dependabot/npm_a…
Browse files Browse the repository at this point in the history
…nd_yarn/headlessui/react-2.0.4

⬆️ Bump @headlessui/react from 1.7.19 to 2.0.4
  • Loading branch information
berekuk authored Jun 6, 2024
2 parents b6e6696 + 28c0331 commit d3a8cdc
Show file tree
Hide file tree
Showing 3 changed files with 113 additions and 35 deletions.
50 changes: 24 additions & 26 deletions packages/hub/src/app/FrontPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,31 +29,29 @@ export const FrontPage: FC<{
const [data] = usePageQuery(Query, query);

return (
<div className="space-y-8">
<StyledTab.Group>
<StyledTab.List>
<StyledTab name="Models" />
<StyledTab name="Variables" />
<StyledTab name="Definitions" />
<StyledTab name="Groups" />
</StyledTab.List>
<div className="mt-4">
<StyledTab.Panels>
<StyledTab.Panel>
<FrontPageModelList dataRef={data} />
</StyledTab.Panel>
<StyledTab.Panel>
<FrontPageVariableList dataRef={data} />
</StyledTab.Panel>
<StyledTab.Panel>
<FrontPageDefinitionList dataRef={data} />
</StyledTab.Panel>
<StyledTab.Panel>
<FrontPageGroupList dataRef={data} />
</StyledTab.Panel>
</StyledTab.Panels>
</div>
</StyledTab.Group>
</div>
<StyledTab.Group className="space-y-8">
<StyledTab.List>
<StyledTab name="Models" />
<StyledTab name="Variables" />
<StyledTab name="Definitions" />
<StyledTab name="Groups" />
</StyledTab.List>
<div className="mt-4">
<StyledTab.Panels>
<StyledTab.Panel>
<FrontPageModelList dataRef={data} />
</StyledTab.Panel>
<StyledTab.Panel>
<FrontPageVariableList dataRef={data} />
</StyledTab.Panel>
<StyledTab.Panel>
<FrontPageDefinitionList dataRef={data} />
</StyledTab.Panel>
<StyledTab.Panel>
<FrontPageGroupList dataRef={data} />
</StyledTab.Panel>
</StyledTab.Panels>
</div>
</StyledTab.Group>
);
};
2 changes: 1 addition & 1 deletion packages/ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
},
"dependencies": {
"@floating-ui/react": "^0.26.16",
"@headlessui/react": "^1.7.19",
"@headlessui/react": "^2.0.4",
"clsx": "^2.1.1",
"framer-motion": "^11.0.3",
"react-colorful": "^5.6.1",
Expand Down
96 changes: 88 additions & 8 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit d3a8cdc

Please sign in to comment.