Skip to content

Commit

Permalink
update ui, disable viewport hacks in gnocchi to test
Browse files Browse the repository at this point in the history
  • Loading branch information
a-type committed Aug 24, 2024
1 parent 5167094 commit 4cb8d4b
Show file tree
Hide file tree
Showing 18 changed files with 2,524 additions and 1,911 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.1.7",
"@a-type/ui": "^1.1.14",
"@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.1.7",
"@a-type/ui": "^1.1.14",
"@a-type/utils": "^1.0.8",
"@biscuits/client": "workspace:*",
"@biscuits/error": "workspace:*",
Expand Down
2 changes: 1 addition & 1 deletion apps/gnocchi/web/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export function App() {
)}
>
<ErrorBoundary fallback={<ErrorFallback />}>
<UIProvider>
<UIProvider disableViewportOffset>
<Suspense fallback={<GlobalLoader />}>
<Provider
appId="gnocchi"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { InfrequentSubscriptionHint, InstallHint } from '@biscuits/client';

export function GroceryEmptyContent() {
return (
<div className="flex flex-col p-4 gap-6 select-none animate-fade-in-up animate-duration-500">
<div className="flex flex-col p-4 gap-6 select-none">
<div className="flex flex-col items-center justify-center flex-grow-1 text-center color-gray7 italic text-sm gap-3 p-4">
<Cart
width="15vmax"
Expand Down
15 changes: 8 additions & 7 deletions apps/gnocchi/web/uno.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,20 +4,21 @@ import variantGroup from '@unocss/transformer-variant-group';
import presetAglio from '@a-type/ui/uno-preset';

export default defineConfig({
presets: [presetAglio()],
transformers: [variantGroup()],
preflights: [
{
getCSS: () => `
presets: [presetAglio()],
transformers: [variantGroup()],
preflights: [
{
getCSS: () => `
html, body, #root {
display: flex;
flex-direction: column;
overscroll-behavior: none;
}
#root {
flex: 1;
}
`,
},
],
},
],
});
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.1.7",
"@a-type/ui": "1.1.14",
"@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.1.7",
"@a-type/ui": "1.1.14",
"@a-type/utils": "1.1.0",
"@biscuits/client": "workspace:*",
"@marginalia.biscuits/verdant": "workspace:*",
Expand Down
2 changes: 1 addition & 1 deletion apps/palette/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.1.7",
"@a-type/ui": "1.1.14",
"@a-type/utils": "1.1.3",
"@biscuits/client": "workspace:*",
"@palette.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.1.7",
"@a-type/ui": "1.1.14",
"@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.1.7",
"@a-type/ui": "^1.1.14",
"@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/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.1.7",
"@a-type/ui": "^1.1.14",
"@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/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.1.7",
"@a-type/ui": "1.1.14",
"@a-type/utils": "1.1.3",
"@biscuits/client": "workspace:*",
"@dnd-kit/core": "^6.1.0",
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.1.7",
"@a-type/ui": "^1.1.14",
"@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 @@ -61,7 +61,7 @@
"vite-plugin-pwa": "0.19.2"
},
"devDependencies": {
"@a-type/ui": "^1.1.7",
"@a-type/ui": "^1.1.14",
"@types/react": "18.3.3",
"@unocss/transformer-variant-group": "^0.58.0",
"@verdant-web/react-router": "0.6.4",
Expand Down
Loading

0 comments on commit 4cb8d4b

Please sign in to comment.