Skip to content

Commit

Permalink
Merge branch 'main' of github.com:a-type/biscuits
Browse files Browse the repository at this point in the history
  • Loading branch information
a-type committed Aug 24, 2024
2 parents 7a70d82 + 393797d commit 851e267
Show file tree
Hide file tree
Showing 29 changed files with 229 additions and 79 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.10",
"@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.10",
"@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;
}
`,
},
],
},
],
});
1 change: 1 addition & 0 deletions apps/gnocchi/web/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ export default defineConfig(({ command, mode }) => ({
description: 'Your grocery list, done better.',
theme_color: '#fdfdff',
background_color: '#fdfdff',
scope: 'https://gnocchi.biscuits.club/',
icons: [
{
src: 'android-chrome-192x192.png',
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.1.10",
"@a-type/ui": "1.1.14",
"@a-type/utils": "1.1.3",
"@biscuits/client": "workspace:*",
"@humding.biscuits/verdant": "workspace:*",
Expand Down
1 change: 1 addition & 0 deletions apps/humding/web/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ export default defineConfig(({ command, mode }) => ({
icons: icons(),
categories: [],
display: 'standalone',
scope: 'https://humding.biscuits.club/',
start_url: '/?directLaunch=true',
} as any,
includeAssets: ['fonts/**/*', 'images/**/*'],
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.10",
"@a-type/ui": "1.1.14",
"@a-type/utils": "1.1.0",
"@biscuits/client": "workspace:*",
"@marginalia.biscuits/verdant": "workspace:*",
Expand Down
1 change: 1 addition & 0 deletions apps/marginalia/web/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ export default defineConfig(({ command, mode }) => ({
icons: icons(),
categories: [],
display: 'standalone',
scope: 'https://marginalia.biscuits.club/',
start_url: '/?directLaunch=true',
} as any,
includeAssets: ['fonts/**/*', 'images/**/*'],
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.10",
"@a-type/ui": "1.1.14",
"@a-type/utils": "1.1.3",
"@biscuits/client": "workspace:*",
"@palette.biscuits/verdant": "workspace:*",
Expand Down
1 change: 1 addition & 0 deletions apps/palette/web/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ export default defineConfig(({ command, mode }) => ({
icons: icons(),
categories: [],
display: 'standalone',
scope: 'https://palette.biscuits.club/',
start_url: '/?directLaunch=true',
} as any,
includeAssets: ['fonts/**/*', 'images/**/*'],
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.10",
"@a-type/ui": "1.1.14",
"@a-type/utils": "1.1.2",
"@biscuits/client": "workspace:*",
"@react-spring/web": "^9.7.3",
Expand Down
1 change: 1 addition & 0 deletions apps/star-chart/web/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ export default defineConfig(({ command, mode }) => ({
icons: icons(),
categories: [],
display: 'standalone',
scope: 'https://star-chart.biscuits.club/',
start_url: '/?directLaunch=true',
} as any,
includeAssets: ['fonts/**/*', 'images/**/*'],
Expand Down
4 changes: 2 additions & 2 deletions apps/trip-tick/web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@
"private": true,
"type": "module",
"scripts": {
"app-dev": "vite",
"app-dev": "vite --host",
"build": "vite build",
"preview": "vite preview"
},
"dependencies": {
"@a-type/ui": "^1.1.10",
"@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/trip-tick/web/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ export function App() {
return (
<div className="flex flex-col flex-1 w-full h-full">
<Suspense fallback={<FullScreenSpinner />}>
<UIProvider>
<UIProvider disableViewportOffset>
<Provider appId="trip-tick" storeDescriptor={clientDescriptor as any}>
<LofiProvider>
<Pages />
Expand Down
1 change: 1 addition & 0 deletions apps/trip-tick/web/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ export default defineConfig(({ command, mode }) => ({
icons: icons(),
categories: [],
display: 'standalone',
scope: 'https://trip-tick.biscuits.club/',
start_url: '/?directLaunch=true',
} as any,
includeAssets: ['fonts/**/*', 'images/**/*'],
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.10",
"@a-type/ui": "^1.1.14",
"@a-type/utils": "^1.0.8",
"@biscuits/client": "workspace:*",
"@wish-wash.biscuits/common": "workspace:*",
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.10",
"@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 apps/wish-wash/web/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export interface AppProps {}
export function App({}: AppProps) {
return (
<ErrorBoundary fallback={<ErrorFallback />}>
<UIProvider toastContainerClassName="mb-10 sm:mb-0">
<UIProvider toastContainerClassName="mb-10 sm:mb-0" disableViewportOffset>
<Suspense>
<Provider appId="wish-wash" storeDescriptor={clientDescriptor as any}>
<VerdantProvider>
Expand Down
1 change: 1 addition & 0 deletions apps/wish-wash/web/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ export default defineConfig(({ command, mode }) => ({
categories: [],
display: 'standalone',
start_url: '/',
scope: 'https://wish-wash.biscuits.club/',
share_target: {
action: '/share',
method: 'POST',
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.10",
"@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 @@ -75,7 +75,7 @@
"vite-plugin-pwa": "0.19.2"
},
"devDependencies": {
"@a-type/ui": "^1.1.10",
"@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
4 changes: 2 additions & 2 deletions packages/client/src/components/Explainer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ export function Explainer({ stages }: ExplainerProps) {
}}
>
<DialogContent
outerClassName="h-screen max-h-none sm:(h-auto max-h-[80vh]) overflow-y-auto"
className="h-screen sm:h-auto"
outerClassName="h-screen max-h-90vh sm:(h-auto max-h-[80vh]) overflow-y-auto"
className="h-full sm:h-auto"
>
<div className="col gap-4 flex-1 items-start">{stages[stage]}</div>
<DialogActions>
Expand Down
Loading

0 comments on commit 851e267

Please sign in to comment.