From a9b179e338504a1a673fd9218c094945a930229a Mon Sep 17 00:00:00 2001 From: Clarence Date: Wed, 2 Dec 2026 02:13:40 +0800 Subject: [PATCH] chore(deps): re-pin @merqo/ui to v0.68.0, bump to 0.12.0 Co-Authored-By: Claude Sonnet 5.5 --- CHANGELOG.md | 6 ++++++ README.md | 2 +- package.json | 4 ++-- pnpm-lock.yaml | 12 ++++++------ pnpm-workspace.yaml | 2 +- src/app/dashboard/README.md | 2 +- src/app/dashboard/dashboard-nav.dom.test.tsx | 9 ++++----- 7 files changed, 21 insertions(+), 16 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index efa169d..d8d4339 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,12 @@ All notable changes to this project are documented here. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [0.12.0] - 2026-12-02 + +### Changed + +- `@merqo/ui` is now v0.68.0. In the account menu, Text size is a "Text size · 100%" submenu of preset sizes (75% to 200%) under a new "Preferences" label, replacing the inline A-/100%/A+ buttons. + ## [0.11.3] - 2026-12-02 ### Changed diff --git a/README.md b/README.md index 7feed5c..ac5844e 100644 --- a/README.md +++ b/README.md @@ -24,7 +24,7 @@ in the workspace root for why. Brand theme is "Banknote Engrave" of 2026-08-19 — see `globals.css`'s own header comment; `src/lib/brand-mark.ts`'s ImageResponse-generated favicon/apple-touch-icon carries the same rebrand. -The public landing is in pre-launch mode, headlined "Get paid by PayNow. Know who has paid.": an "Early access" badge, a hero with a switchable Waiting/Paid/Confirmed pay-card object, a three-step payment story on an iPhone and a vendor tablet (steps follow scroll on wide screens and are tapped through on narrow ones), an "After the payment" sample ledger and report, three FAQ rows linking to `/faq`, a closing "Join the waitlist" CTA, and no published price (pilot notice only, carried by the FAQ rather than a benefit tile). Sign-in and the dashboard stay reachable by direct URL. When signed in, the landing, About and FAQ nav shows a Dashboard link and the shared `LandingAccountNav` (Dashboard link and account menu with Sign out), named from the vendor profile's stall name. Landing surfaces (checkout card, FAQ rows) use one small `rounded-lg` radius and the landing has no glow or background wash, per the shared public page rules. `@merqo/ui` is pinned to merqo-ui commit 8d2da3ab (v0.67.0), whose `AppLinkProvider` is mounted once in the root layout so its client exports navigate client-side without a `LinkComponent` prop. The pin also supplies the `PricingLadder`, which the vendor plan page renders (the navigation plan chip is its `TierChip`) from merqo's public plan catalog (paykit stores no prices); the ladder hides the qkit-only Event Pass block. Money and time render through its `Money`, `Timestamp`, `formatMoney` and `formatDateTime` (S$ amounts, dates like "7 Nov 2026", all in Singapore time). The dashboard Home, Stats and Reports pages use its `StatTile` (`card`), `DataTable`, `EmptyState`, `ElevatedCard`, `Section` and link-mode `SegmentedControl`. The dashboard also uses its `ConfirmDialog` (inquiry delete), `CopyButton` (booking ID), `downloadCsv` (earnings CSV) and `AsyncSubmitButton` (refund) rather than local copies. +The public landing is in pre-launch mode, headlined "Get paid by PayNow. Know who has paid.": an "Early access" badge, a hero with a switchable Waiting/Paid/Confirmed pay-card object, a three-step payment story on an iPhone and a vendor tablet (steps follow scroll on wide screens and are tapped through on narrow ones), an "After the payment" sample ledger and report, three FAQ rows linking to `/faq`, a closing "Join the waitlist" CTA, and no published price (pilot notice only, carried by the FAQ rather than a benefit tile). Sign-in and the dashboard stay reachable by direct URL. When signed in, the landing, About and FAQ nav shows a Dashboard link and the shared `LandingAccountNav` (Dashboard link and account menu with Sign out), named from the vendor profile's stall name. Landing surfaces (checkout card, FAQ rows) use one small `rounded-lg` radius and the landing has no glow or background wash, per the shared public page rules. `@merqo/ui` is pinned to merqo-ui commit 5a08fd87 (v0.68.0), whose `AppLinkProvider` is mounted once in the root layout so its client exports navigate client-side without a `LinkComponent` prop. The pin also supplies the `PricingLadder`, which the vendor plan page renders (the navigation plan chip is its `TierChip`) from merqo's public plan catalog (paykit stores no prices); the ladder hides the qkit-only Event Pass block. Money and time render through its `Money`, `Timestamp`, `formatMoney` and `formatDateTime` (S$ amounts, dates like "7 Nov 2026", all in Singapore time). The dashboard Home, Stats and Reports pages use its `StatTile` (`card`), `DataTable`, `EmptyState`, `ElevatedCard`, `Section` and link-mode `SegmentedControl`. The dashboard also uses its `ConfirmDialog` (inquiry delete), `CopyButton` (booking ID), `downloadCsv` (earnings CSV) and `AsyncSubmitButton` (refund) rather than local copies. The hosted pay page (`/pay/{id}`) shows "Paying " above the amount (the vendor's payee name, falling back to their inquiry-form business name), reports claim and upload failures inline instead of in toasts, shows a plain retry notice when the payment cannot be loaded, and honours a checkout's `expires_at`: a pending order past it shows "This order has expired" instead of the QR (claimed and confirmed ones are unaffected), with a "Pay within N mins" line while it is open. diff --git a/package.json b/package.json index 457ddaf..671ee4c 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "paykit", - "version": "0.11.3", + "version": "0.12.0", "private": true, "packageManager": "pnpm@11.10.0", "engines": { @@ -20,7 +20,7 @@ "prepare": "husky" }, "dependencies": { - "@merqo/ui": "github:merqo-io/merqo-ui#8d2da3abcb4e5c3bab2b3a3482c740797e2d5c03", + "@merqo/ui": "github:merqo-io/merqo-ui#5a08fd875ad6c96f096fbcb4d56ed50eb238f33e", "@sentry/nextjs": "10.76.2", "@supabase/ssr": "^0.10.3", "@supabase/supabase-js": "2.110.4", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index fd39e9b..2e53982 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -27,8 +27,8 @@ importers: .: dependencies: '@merqo/ui': - specifier: github:merqo-io/merqo-ui#8d2da3abcb4e5c3bab2b3a3482c740797e2d5c03 - version: https://codeload.github.com/merqo-io/merqo-ui/tar.gz/8d2da3abcb4e5c3bab2b3a3482c740797e2d5c03(@eslint-community/eslint-plugin-eslint-comments@4.8.1(eslint@9.39.5(jiti@2.7.0)))(@playwright/test@1.61.1)(@supabase/ssr@0.10.3(@supabase/supabase-js@2.110.4))(@supabase/supabase-js@2.110.4)(@types/react-dom@19.2.3(@types/react@19.2.17))(@types/react@19.2.17)(eslint-plugin-sonarjs@4.2.2(eslint@9.39.5(jiti@2.7.0)))(eslint@9.39.5(jiti@2.7.0))(next-themes@0.4.6(react-dom@19.2.7(react@19.2.7))(react@19.2.7))(next@16.4.6(@babel/core@7.29.7)(@opentelemetry/api@1.9.1)(@playwright/test@1.61.1)(@types/node@24.19.1)(react-dom@19.2.7(react@19.2.7))(react@19.2.7))(radix-ui@1.6.2(@types/react-dom@19.2.3(@types/react@19.2.17))(@types/react@19.2.17)(react-dom@19.2.7(react@19.2.7))(react@19.2.7))(react-dom@19.2.7(react@19.2.7))(react@19.2.7)(sonner@1.7.4(react-dom@19.2.7(react@19.2.7))(react@19.2.7))(tailwindcss@4.3.2)(zod@4.6.6) + specifier: github:merqo-io/merqo-ui#5a08fd875ad6c96f096fbcb4d56ed50eb238f33e + version: https://codeload.github.com/merqo-io/merqo-ui/tar.gz/5a08fd875ad6c96f096fbcb4d56ed50eb238f33e(@eslint-community/eslint-plugin-eslint-comments@4.8.1(eslint@9.39.5(jiti@2.7.0)))(@playwright/test@1.61.1)(@supabase/ssr@0.10.3(@supabase/supabase-js@2.110.4))(@supabase/supabase-js@2.110.4)(@types/react-dom@19.2.3(@types/react@19.2.17))(@types/react@19.2.17)(eslint-plugin-sonarjs@4.2.2(eslint@9.39.5(jiti@2.7.0)))(eslint@9.39.5(jiti@2.7.0))(next-themes@0.4.6(react-dom@19.2.7(react@19.2.7))(react@19.2.7))(next@16.4.6(@babel/core@7.29.7)(@opentelemetry/api@1.9.1)(@playwright/test@1.61.1)(@types/node@24.19.1)(react-dom@19.2.7(react@19.2.7))(react@19.2.7))(radix-ui@1.6.2(@types/react-dom@19.2.3(@types/react@19.2.17))(@types/react@19.2.17)(react-dom@19.2.7(react@19.2.7))(react@19.2.7))(react-dom@19.2.7(react@19.2.7))(react@19.2.7)(sonner@1.7.4(react-dom@19.2.7(react@19.2.7))(react@19.2.7))(tailwindcss@4.3.2)(zod@4.6.6) '@sentry/nextjs': specifier: 10.76.2 version: 10.76.2(@opentelemetry/core@2.10.0(@opentelemetry/api@1.9.1))(@opentelemetry/sdk-trace-base@2.10.0(@opentelemetry/api@1.9.1))(next@16.4.6(@babel/core@7.29.7)(@opentelemetry/api@1.9.1)(@playwright/test@1.61.1)(@types/node@24.19.1)(react-dom@19.2.7(react@19.2.7))(react@19.2.7))(react@19.2.7)(webpack@5.109.2(lightningcss@1.32.0)(sharp@0.35.5(@types/node@24.19.1))) @@ -977,9 +977,9 @@ packages: '@jridgewell/trace-mapping@0.3.31': resolution: {integrity: sha512-zzNR+SdQSDJzc8joaeP8QQoCQr8NuYx2dIIytl1QeBEZHJ9uW6hebsrYgbz8hJwUQao3TWCMtmfV8Nu1twOLAw==} - '@merqo/ui@https://codeload.github.com/merqo-io/merqo-ui/tar.gz/8d2da3abcb4e5c3bab2b3a3482c740797e2d5c03': - resolution: {gitHosted: true, tarball: https://codeload.github.com/merqo-io/merqo-ui/tar.gz/8d2da3abcb4e5c3bab2b3a3482c740797e2d5c03} - version: 0.67.0 + '@merqo/ui@https://codeload.github.com/merqo-io/merqo-ui/tar.gz/5a08fd875ad6c96f096fbcb4d56ed50eb238f33e': + resolution: {gitHosted: true, tarball: https://codeload.github.com/merqo-io/merqo-ui/tar.gz/5a08fd875ad6c96f096fbcb4d56ed50eb238f33e} + version: 0.68.0 engines: {node: '>=24'} peerDependencies: '@eslint-community/eslint-plugin-eslint-comments': '>=4.8.1' @@ -6180,7 +6180,7 @@ snapshots: '@jridgewell/resolve-uri': 3.1.2 '@jridgewell/sourcemap-codec': 1.5.5 - '@merqo/ui@https://codeload.github.com/merqo-io/merqo-ui/tar.gz/8d2da3abcb4e5c3bab2b3a3482c740797e2d5c03(@eslint-community/eslint-plugin-eslint-comments@4.8.1(eslint@9.39.5(jiti@2.7.0)))(@playwright/test@1.61.1)(@supabase/ssr@0.10.3(@supabase/supabase-js@2.110.4))(@supabase/supabase-js@2.110.4)(@types/react-dom@19.2.3(@types/react@19.2.17))(@types/react@19.2.17)(eslint-plugin-sonarjs@4.2.2(eslint@9.39.5(jiti@2.7.0)))(eslint@9.39.5(jiti@2.7.0))(next-themes@0.4.6(react-dom@19.2.7(react@19.2.7))(react@19.2.7))(next@16.4.6(@babel/core@7.29.7)(@opentelemetry/api@1.9.1)(@playwright/test@1.61.1)(@types/node@24.19.1)(react-dom@19.2.7(react@19.2.7))(react@19.2.7))(radix-ui@1.6.2(@types/react-dom@19.2.3(@types/react@19.2.17))(@types/react@19.2.17)(react-dom@19.2.7(react@19.2.7))(react@19.2.7))(react-dom@19.2.7(react@19.2.7))(react@19.2.7)(sonner@1.7.4(react-dom@19.2.7(react@19.2.7))(react@19.2.7))(tailwindcss@4.3.2)(zod@4.6.6)': + '@merqo/ui@https://codeload.github.com/merqo-io/merqo-ui/tar.gz/5a08fd875ad6c96f096fbcb4d56ed50eb238f33e(@eslint-community/eslint-plugin-eslint-comments@4.8.1(eslint@9.39.5(jiti@2.7.0)))(@playwright/test@1.61.1)(@supabase/ssr@0.10.3(@supabase/supabase-js@2.110.4))(@supabase/supabase-js@2.110.4)(@types/react-dom@19.2.3(@types/react@19.2.17))(@types/react@19.2.17)(eslint-plugin-sonarjs@4.2.2(eslint@9.39.5(jiti@2.7.0)))(eslint@9.39.5(jiti@2.7.0))(next-themes@0.4.6(react-dom@19.2.7(react@19.2.7))(react@19.2.7))(next@16.4.6(@babel/core@7.29.7)(@opentelemetry/api@1.9.1)(@playwright/test@1.61.1)(@types/node@24.19.1)(react-dom@19.2.7(react@19.2.7))(react@19.2.7))(radix-ui@1.6.2(@types/react-dom@19.2.3(@types/react@19.2.17))(@types/react@19.2.17)(react-dom@19.2.7(react@19.2.7))(react@19.2.7))(react-dom@19.2.7(react@19.2.7))(react@19.2.7)(sonner@1.7.4(react-dom@19.2.7(react@19.2.7))(react@19.2.7))(tailwindcss@4.3.2)(zod@4.6.6)': dependencies: '@icons-pack/react-simple-icons': 13.13.0(react@19.2.7) class-variance-authority: 0.7.1 diff --git a/pnpm-workspace.yaml b/pnpm-workspace.yaml index ea929e1..e40c33c 100644 --- a/pnpm-workspace.yaml +++ b/pnpm-workspace.yaml @@ -3,7 +3,7 @@ allowBuilds: esbuild: true sharp: true unrs-resolver: true - "@merqo/ui@https://codeload.github.com/merqo-io/merqo-ui/tar.gz/8d2da3abcb4e5c3bab2b3a3482c740797e2d5c03": true + "@merqo/ui@https://codeload.github.com/merqo-io/merqo-ui/tar.gz/5a08fd875ad6c96f096fbcb4d56ed50eb238f33e": true "@sentry/cli": false tesseract.js: false diff --git a/src/app/dashboard/README.md b/src/app/dashboard/README.md index 6afacf4..d3c0e68 100644 --- a/src/app/dashboard/README.md +++ b/src/app/dashboard/README.md @@ -52,7 +52,7 @@ for page render/data failures; it offers "Try again" and a "Back to dashboard" l free. The old `stats/` and `reports/earnings/` URLs redirect to the matching tab. - `plan/` shows the current plan and points to the Merqo account; merqo owns pricing. - `profile/` saves shared stall name/social links and Supabase account metadata. -- The account menu carries the shared "Text size" row (`textSizeKey="paykit:scale:dashboard"`), saved per browser. +- The account menu lists "Text size · 100%" under a "Preferences" label; it opens a preset submenu (75% to 200%, `textSizeKey="paykit:scale:dashboard"`), saved per browser. - `layout.tsx` labels the account menu with `accountLabel(user, stall_name)` from `@merqo/ui`: the stall name, else the auth name, else the email local part. `page.tsx` (Home, titled "Home") renders the "Get set up" checklist above the summary, from diff --git a/src/app/dashboard/dashboard-nav.dom.test.tsx b/src/app/dashboard/dashboard-nav.dom.test.tsx index 37290ae..087eeee 100644 --- a/src/app/dashboard/dashboard-nav.dom.test.tsx +++ b/src/app/dashboard/dashboard-nav.dom.test.tsx @@ -59,11 +59,12 @@ describe("DashboardNav", () => { ).toHaveAttribute("href", "/dashboard"); }); - it("shows the Text size row when the account menu opens", async () => { + it("shows the Preferences group and Text size row when the account menu opens", async () => { const user = userEvent.setup(); render(); await user.click(screen.getByRole("button", { name: /account menu/i })); - expect(screen.getByText("Text size")).toBeInTheDocument(); + expect(screen.getByText("Preferences")).toBeInTheDocument(); + expect(screen.getByText("Text size · 100%")).toBeInTheDocument(); }); it("account menu holds Payment setup, Profile, Plan, help and feedback, theme, text size, then Sign out", async () => { @@ -79,9 +80,7 @@ describe("DashboardNav", () => { "Feedback", "Payment setup", "Theme · System", - "A-", - "100%", - "A+", + "Text size · 100%", "Sign out", ]); expect(screen.getByRole("menuitem", { name: /^Plan/ })).toHaveAttribute(