From a51895a8b790cfd1edaecf986639dd4f0f387008 Mon Sep 17 00:00:00 2001 From: Clarence Date: Wed, 2 Dec 2026 01:58:54 +0800 Subject: [PATCH] chore: bump @merqo/ui to 0.68.0 (v0.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 | 5 ++++- 7 files changed, 21 insertions(+), 12 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a7c6aeb..cd3bdb2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,12 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/). +## [0.12.0] - 2026-12-02 + +### Changed + +- Updated `@merqo/ui` to 0.68.0: the account menu's Text size is now a submenu ("Text size · 100%") with a preset list, under a new Preferences group. + ## [0.11.2] - 2026-12-01 ### Changed diff --git a/README.md b/README.md index 12c80bb..f300c2b 100644 --- a/README.md +++ b/README.md @@ -107,7 +107,7 @@ secondary, process-magenta accent) — see `src/app/globals.css`'s own header co The shared `@merqo/ui` `PageHeader` (props `eyebrow`, `title`, `description`, `action`, `back`, `responsive`) opens every dashboard page, and every `Button` size is at least 44px tall on touch screens, so tap targets stay -finger-sized. The printer picker's sort select is 44px tall on touch screens too. The pinned `@merqo/ui` is 0.67.0 (8d2da3a; 0.66.0 added the shared type scale and the account menu's "Text size" control, which vendors use to scale dashboard text; 0.65.1 (35444a3) 0.65.1 evens the signed-in landing header so Dashboard sits 4px from About, as FAQ does, and 0.65.0 changes only plan-catalog and pricing pieces this kit does not use; 0.64.1 makes the shared `authErrorMessage` match rate-limit and network messages on word boundaries; 0.64.0 fixed the React #441 crash when `Timestamp` is server-rendered and normalised the legacy `starter` tier to `qkit`; 0.63.0 changes: the shared `SegmentedControl` and `useLeaveGuard` replace the local ones, `AutoRefresh` uses `usePolling`, and the 0.62.1 changes still apply: the shared `AboutMerqo` copy now says qkit is running in a pilot, lists printkit and drops the one-sign-in sentence, and `Footer` and `LandingNav` have 44px tap targets; `Timestamp` and `formatDateTime` (Singapore time) replace the kit's own date helper; `LandingNav` folds its `links` (About) into a burger below `sm`; `AppLinks` in the root layout gives its client components `next/link`, so none takes a `LinkComponent` prop; 0.54.0 added the shared `/auth/confirm` form and handler back `src/app/auth/confirm/`, the shared `ErrorPage`, `NotFound`, `GlobalError`, `EmptyState` and `FormError` replace the kit's own copies); the +finger-sized. The printer picker's sort select is 44px tall on touch screens too. The pinned `@merqo/ui` is 0.68.0 (5a08fd8; 0.68.0 turns the account menu's "Text size" into a "Text size · 100%" submenu with a preset list under a "Preferences" group; 0.66.0 added the shared type scale and the account menu's "Text size" control, which vendors use to scale dashboard text; 0.65.1 (35444a3) 0.65.1 evens the signed-in landing header so Dashboard sits 4px from About, as FAQ does, and 0.65.0 changes only plan-catalog and pricing pieces this kit does not use; 0.64.1 makes the shared `authErrorMessage` match rate-limit and network messages on word boundaries; 0.64.0 fixed the React #441 crash when `Timestamp` is server-rendered and normalised the legacy `starter` tier to `qkit`; 0.63.0 changes: the shared `SegmentedControl` and `useLeaveGuard` replace the local ones, `AutoRefresh` uses `usePolling`, and the 0.62.1 changes still apply: the shared `AboutMerqo` copy now says qkit is running in a pilot, lists printkit and drops the one-sign-in sentence, and `Footer` and `LandingNav` have 44px tap targets; `Timestamp` and `formatDateTime` (Singapore time) replace the kit's own date helper; `LandingNav` folds its `links` (About) into a burger below `sm`; `AppLinks` in the root layout gives its client components `next/link`, so none takes a `LinkComponent` prop; 0.54.0 added the shared `/auth/confirm` form and handler back `src/app/auth/confirm/`, the shared `ErrorPage`, `NotFound`, `GlobalError`, `EmptyState` and `FormError` replace the kit's own copies); the remove-printer confirm uses its `ConfirmDialog`. See `src/components/README.md`. The dashboard avatar menu has a "Bluetooth guide" link, and the dashboard diff --git a/package.json b/package.json index 5f9bb55..3d628b7 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "printkit", - "version": "0.11.2", + "version": "0.12.0", "private": true, "packageManager": "pnpm@11.10.0", "engines": { @@ -21,7 +21,7 @@ "test:operators": "node --test test/operators/*.test.mjs" }, "dependencies": { - "@merqo/ui": "github:merqo-io/merqo-ui#8d2da3abcb4e5c3bab2b3a3482c740797e2d5c03", + "@merqo/ui": "github:merqo-io/merqo-ui#5a08fd875ad6c96f096fbcb4d56ed50eb238f33e", "@mmote/niimbluelib": "0.0.1-alpha.43", "@napi-rs/canvas": "^1.0.9", "@supabase/ssr": "^0.10.3", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 15aa5d1..1bfa12b 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.112.3))(@supabase/supabase-js@2.112.3)(@types/react-dom@19.2.4(@types/react@19.2.18))(@types/react@19.2.18)(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.8(react@19.2.8))(react@19.2.8))(next@16.4.6(@babel/core@7.29.7)(@playwright/test@1.61.1)(@types/node@24.13.3)(react-dom@19.2.8(react@19.2.8))(react@19.2.8))(radix-ui@1.6.7(@types/react-dom@19.2.4(@types/react@19.2.18))(@types/react@19.2.18)(react-dom@19.2.8(react@19.2.8))(react@19.2.8))(react-dom@19.2.8(react@19.2.8))(react@19.2.8)(sonner@1.7.4(react-dom@19.2.8(react@19.2.8))(react@19.2.8))(tailwindcss@4.3.3)(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.112.3))(@supabase/supabase-js@2.112.3)(@types/react-dom@19.2.4(@types/react@19.2.18))(@types/react@19.2.18)(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.8(react@19.2.8))(react@19.2.8))(next@16.4.6(@babel/core@7.29.7)(@playwright/test@1.61.1)(@types/node@24.13.3)(react-dom@19.2.8(react@19.2.8))(react@19.2.8))(radix-ui@1.6.7(@types/react-dom@19.2.4(@types/react@19.2.18))(@types/react@19.2.18)(react-dom@19.2.8(react@19.2.8))(react@19.2.8))(react-dom@19.2.8(react@19.2.8))(react@19.2.8)(sonner@1.7.4(react-dom@19.2.8(react@19.2.8))(react@19.2.8))(tailwindcss@4.3.3)(zod@4.6.6) '@mmote/niimbluelib': specifier: 0.0.1-alpha.43 version: 0.0.1-alpha.43 @@ -964,9 +964,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, integrity: sha512-ng6yGVBmggWX5yqAVVqFUucSWNJwRgjhfNp+YaigTZk0U286GJuOmNLWuBca0ZKjjSR2Qs/zjKWx/IrDYUumfA==, 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' @@ -5594,7 +5594,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.112.3))(@supabase/supabase-js@2.112.3)(@types/react-dom@19.2.4(@types/react@19.2.18))(@types/react@19.2.18)(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.8(react@19.2.8))(react@19.2.8))(next@16.4.6(@babel/core@7.29.7)(@playwright/test@1.61.1)(@types/node@24.13.3)(react-dom@19.2.8(react@19.2.8))(react@19.2.8))(radix-ui@1.6.7(@types/react-dom@19.2.4(@types/react@19.2.18))(@types/react@19.2.18)(react-dom@19.2.8(react@19.2.8))(react@19.2.8))(react-dom@19.2.8(react@19.2.8))(react@19.2.8)(sonner@1.7.4(react-dom@19.2.8(react@19.2.8))(react@19.2.8))(tailwindcss@4.3.3)(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.112.3))(@supabase/supabase-js@2.112.3)(@types/react-dom@19.2.4(@types/react@19.2.18))(@types/react@19.2.18)(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.8(react@19.2.8))(react@19.2.8))(next@16.4.6(@babel/core@7.29.7)(@playwright/test@1.61.1)(@types/node@24.13.3)(react-dom@19.2.8(react@19.2.8))(react@19.2.8))(radix-ui@1.6.7(@types/react-dom@19.2.4(@types/react@19.2.18))(@types/react@19.2.18)(react-dom@19.2.8(react@19.2.8))(react@19.2.8))(react-dom@19.2.8(react@19.2.8))(react@19.2.8)(sonner@1.7.4(react-dom@19.2.8(react@19.2.8))(react@19.2.8))(tailwindcss@4.3.3)(zod@4.6.6)': dependencies: '@icons-pack/react-simple-icons': 13.13.0(react@19.2.8) class-variance-authority: 0.7.1 diff --git a/pnpm-workspace.yaml b/pnpm-workspace.yaml index 03804aa..849b039 100644 --- a/pnpm-workspace.yaml +++ b/pnpm-workspace.yaml @@ -1,5 +1,5 @@ allowBuilds: - "@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 "unrs-resolver@1.12.2": true "esbuild@0.25.12": true supabase: false diff --git a/src/app/dashboard/README.md b/src/app/dashboard/README.md index 765cdfa..9853169 100644 --- a/src/app/dashboard/README.md +++ b/src/app/dashboard/README.md @@ -35,7 +35,7 @@ The authenticated vendor area (`/dashboard/*`). `AccountMenuProps` in `@merqo/ui`. No plan/tier/tour concept exists in printkit yet, so those optional shared-component props are omitted. `extraLink` adds a "Bluetooth guide" entry to the avatar menu, pointing at - `/guides/bluetooth-printers`. `textSizeKey="printkit:scale:dashboard"` adds the shared "Text size" row (A-, reset, A+) to the account menu; it is the only owner of the root font size under `/dashboard`. The layout's `
` uses qkit's + `/guides/bluetooth-printers`. `textSizeKey="printkit:scale:dashboard"` adds the shared "Text size · 100%" submenu (preset radio list, 75-200%) under the account menu's "Preferences" group; it is the only owner of the root font size under `/dashboard`. The layout's `
` uses qkit's `max-w-7xl px-5 py-7` rhythm. - `page.tsx` — the Overview: a "Needs a booth" `Notice` when unrouted jobs exist, the first-run panel until a label has printed, one `PrinterStatusRow` per booth (with a "Design label" link to the designer) in a `Panel`, and the five most recent jobs. `hasPrintedJob` (`@/lib/print-jobs-list`) decides whether the last first-run step is done, so a printed job older than the five shown still counts. Its title (page heading and tab title) matches the nav label. - `first-run-panel.tsx` — `FirstRunPanel`: three numbered steps (booth, printer, first label) with done marks; the first open step gets the magenta mark. A step is done only when every earlier step is done too. Renders nothing once all three are done. Drawn with the shared `SetupStepsEmpty`. Step 1 links to qkit at `NEXT_PUBLIC_QKIT_URL` when that is an http(s) URL, otherwise at `https://qkit.merqo.io`. diff --git a/src/app/dashboard/dashboard-nav.dom.test.tsx b/src/app/dashboard/dashboard-nav.dom.test.tsx index 7a48638..a17ab91 100644 --- a/src/app/dashboard/dashboard-nav.dom.test.tsx +++ b/src/app/dashboard/dashboard-nav.dom.test.tsx @@ -52,6 +52,9 @@ describe("DashboardNav", () => { const user = userEvent.setup(); render(); await user.click(screen.getByRole("button", { name: "Account menu" })); - expect(await screen.findByText("Text size")).toBeInTheDocument(); + expect(await screen.findByText("Preferences")).toBeInTheDocument(); + expect( + await screen.findByRole("menuitem", { name: "Text size · 100%" }), + ).toBeInTheDocument(); }); });