Skip to content

Commit

Permalink
more ui tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
a-type committed Jul 18, 2024
1 parent 7b9a770 commit a4f13ac
Show file tree
Hide file tree
Showing 13 changed files with 58 additions and 54 deletions.
2 changes: 1 addition & 1 deletion apps/gnocchi/hub/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"typecheck": "tsc --build tsconfig.json"
},
"dependencies": {
"@a-type/ui": "^1.0.5",
"@a-type/ui": "^1.0.7",
"@a-type/utils": "^1.0.8",
"@tiptap/core": "^2.2.4",
"@tiptap/extension-document": "^2.2.4",
Expand Down
2 changes: 1 addition & 1 deletion apps/gnocchi/web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"typecheck": "tsc --build tsconfig.json"
},
"dependencies": {
"@a-type/ui": "^1.0.5",
"@a-type/ui": "^1.0.7",
"@a-type/utils": "^1.0.8",
"@biscuits/client": "workspace:*",
"@biscuits/error": "workspace:*",
Expand Down
18 changes: 11 additions & 7 deletions apps/gnocchi/web/src/components/pantry/items/PantryListItem.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -81,11 +81,14 @@ export function PantryListItem({
leaving && 'animate-fade-out-down animate-forwards',
)}
>
<CardMain compact asChild className="bg-gray-1">
<CardMain compact asChild>
<OpenFoodDetailButton
foodName={food}
className="font-normal border-none rounded-none items-start text-sm"
className="font-normal p-0 border-none rounded-none items-start text-sm"
>
<CardTitle className={classNames('text-wrap', 'text-md')}>
<FoodName food={item} capitalize />
</CardTitle>
<div className="flex flex-row gap-1 items-center flex-wrap p-1 text-xs italic">
{purchasedAt && (
<Chip title={new Date(purchasedAt).toLocaleDateString()}>
Expand All @@ -110,14 +113,15 @@ export function PantryListItem({
</Tooltip>
)}
</div>
<CardTitle className={classNames('text-wrap', 'text-md')}>
<FoodName food={item} capitalize />
</CardTitle>
<OpenInNewWindowIcon className="absolute right-2 top-2 z-1 color-gray-9 opacity-50" />
</OpenFoodDetailButton>
</CardMain>
<CardFooter>
<CardActions className="flex-wrap">
<CardFooter className={classNames(showLabels ? 'p-0' : '')}>
<CardActions
className={classNames('flex-wrap', {
'rounded-none p-1': showLabels,
})}
>
<Suspense
fallback={
<Button
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ export function PantryListSectionTabs({}: PantryListSectionTabsProps) {
<TabsRoot
value={filter}
onValueChange={(f) => setFilter(f as 'purchased' | 'all' | 'frozen')}
className="overflow-x-auto"
className="overflow-x-auto overflow-y-hidden"
>
<TabsList>
<TabsTrigger className="text-nowrap" value="purchased">
Expand Down
2 changes: 1 addition & 1 deletion apps/humding/web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"preview": "vite preview"
},
"dependencies": {
"@a-type/ui": "1.0.5",
"@a-type/ui": "1.0.7",
"@a-type/utils": "1.1.3",
"@biscuits/client": "workspace:*",
"@humding.biscuits/verdant": "workspace:*",
Expand Down
2 changes: 1 addition & 1 deletion apps/marginalia/web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"preview": "vite preview"
},
"dependencies": {
"@a-type/ui": "1.0.5",
"@a-type/ui": "1.0.7",
"@a-type/utils": "1.1.0",
"@biscuits/client": "workspace:*",
"@marginalia.biscuits/verdant": "workspace:*",
Expand Down
2 changes: 1 addition & 1 deletion apps/star-chart/web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"preview": "vite preview"
},
"dependencies": {
"@a-type/ui": "1.0.5",
"@a-type/ui": "1.0.7",
"@a-type/utils": "1.1.2",
"@biscuits/client": "workspace:*",
"@react-spring/web": "^9.7.3",
Expand Down
2 changes: 1 addition & 1 deletion apps/trip-tick/web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"preview": "vite preview"
},
"dependencies": {
"@a-type/ui": "^1.0.5",
"@a-type/ui": "^1.0.7",
"@a-type/utils": "^1.0.6",
"@biscuits/client": "workspace:*",
"@radix-ui/react-progress": "^1.0.3",
Expand Down
2 changes: 1 addition & 1 deletion apps/wish-wash/web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"preview": "vite preview"
},
"dependencies": {
"@a-type/ui": "1.0.5",
"@a-type/ui": "1.0.7",
"@a-type/utils": "1.1.3",
"@biscuits/client": "workspace:*",
"@react-spring/web": "^9.7.3",
Expand Down
2 changes: 1 addition & 1 deletion blog/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"astro": "astro"
},
"dependencies": {
"@a-type/ui": "^1.0.5",
"@a-type/ui": "^1.0.7",
"@astrojs/check": "^0.5.10",
"@astrojs/mdx": "^2.3.1",
"@astrojs/rss": "^4.0.5",
Expand Down
2 changes: 1 addition & 1 deletion packages/client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
"vite-plugin-pwa": "0.19.2"
},
"devDependencies": {
"@a-type/ui": "^1.0.5",
"@a-type/ui": "^1.0.7",
"@types/react": "18.3.3",
"@unocss/transformer-variant-group": "^0.58.0",
"@verdant-web/react-router": "0.6.4",
Expand Down
72 changes: 36 additions & 36 deletions pnpm-lock.yaml

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

2 changes: 1 addition & 1 deletion web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
},
"dependencies": {
"@a-type/auth-client": "1.0.6",
"@a-type/ui": "^1.0.5",
"@a-type/ui": "^1.0.7",
"@biscuits/apps": "workspace:*",
"@biscuits/client": "workspace:*",
"@biscuits/error": "workspace:*",
Expand Down

0 comments on commit a4f13ac

Please sign in to comment.