From 1e46a9261e771596586e439467c1e54baecbd15a Mon Sep 17 00:00:00 2001 From: Clarence Date: Wed, 2 Dec 2026 01:38:52 +0800 Subject: [PATCH] chore: re-pin @merqo/ui to v0.68.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 10453ee..42017d7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,11 @@ # Changelog +## [0.8.0] - 2026-12-02 + +### Changed + +- Re-pinned `@merqo/ui` to v0.68.0. In the dashboard account menu, Text size is now a submenu ("Text size · 100%") with a preset list from 75% to 200%, under a new "Preferences" label. + ## [0.7.3] - 2026-12-01 ### Changed diff --git a/README.md b/README.md index 3df4345..351238d 100644 --- a/README.md +++ b/README.md @@ -113,7 +113,7 @@ Next.js 16.4.6 (App Router, Turbopack) · TypeScript strict · Tailwind v4 · shadcn/ui (new-york) · Supabase (`@supabase/ssr` — auth, Postgres, RLS) · React Hook Form · Zod · Vitest 4 · pnpm. -`@merqo/ui` is pinned at v0.67.0. The theme defines `--warning`, `--gold` and +`@merqo/ui` is pinned at v0.68.0. The theme defines `--warning`, `--gold` and `--gold-foreground` (light and dark) for the shared `Badge` variants, and the unit picker's `Command` comes from `@merqo/ui/primitives`, so there is no local `src/components/ui/`. diff --git a/package.json b/package.json index 3cb224b..a21f139 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "stockkit", - "version": "0.7.3", + "version": "0.8.0", "private": true, "type": "module", "packageManager": "pnpm@11.10.0", @@ -24,7 +24,7 @@ }, "dependencies": { "@hookform/resolvers": "^5.1.0", - "@merqo/ui": "github:merqo-io/merqo-ui#8d2da3abcb4e5c3bab2b3a3482c740797e2d5c03", + "@merqo/ui": "github:merqo-io/merqo-ui#5a08fd875ad6c96f096fbcb4d56ed50eb238f33e", "@supabase/ssr": "^0.10.3", "@supabase/supabase-js": "2.110.7", "class-variance-authority": "^0.7.1", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 1b2772b..6dfb124 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -29,8 +29,8 @@ importers: specifier: ^5.1.0 version: 5.4.0(react-hook-form@7.82.0(react@19.2.7)) '@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.7))(@supabase/supabase-js@2.110.7)(@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)(@playwright/test@1.61.1)(@types/node@24.13.3)(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@2.0.7(react-dom@19.2.7(react@19.2.7))(react@19.2.7))(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.110.7))(@supabase/supabase-js@2.110.7)(@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)(@playwright/test@1.61.1)(@types/node@24.13.3)(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@2.0.7(react-dom@19.2.7(react@19.2.7))(react@19.2.7))(tailwindcss@4.3.3)(zod@4.6.6) '@supabase/ssr': specifier: ^0.10.3 version: 0.10.3(@supabase/supabase-js@2.110.7) @@ -596,9 +596,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' @@ -4694,7 +4694,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.7))(@supabase/supabase-js@2.110.7)(@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)(@playwright/test@1.61.1)(@types/node@24.13.3)(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@2.0.7(react-dom@19.2.7(react@19.2.7))(react@19.2.7))(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.110.7))(@supabase/supabase-js@2.110.7)(@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)(@playwright/test@1.61.1)(@types/node@24.13.3)(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@2.0.7(react-dom@19.2.7(react@19.2.7))(react@19.2.7))(tailwindcss@4.3.3)(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 4760ff5..e66fccb 100644 --- a/pnpm-workspace.yaml +++ b/pnpm-workspace.yaml @@ -8,7 +8,7 @@ blockExoticSubdeps: true # Explicitly allowlist packages permitted to run install-time build scripts. # pnpm 11 blocks all install scripts by default; add native packages here as needed. 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 sharp: false diff --git a/src/app/dashboard/README.md b/src/app/dashboard/README.md index 7b01903..b3abd14 100644 --- a/src/app/dashboard/README.md +++ b/src/app/dashboard/README.md @@ -128,4 +128,4 @@ The layout owns the page's vertical padding (`px-5 py-7`); pages add none of the `dashboard-nav.tsx` takes a required `accountLabel` (shown as the account menu trigger label), `signOutAction` (server action, redirects to `/login`), `getHelp` and `onFeedbackSubmit` from `@/components/account-menu-wiring`, shared with the landing account menu. -The dashboard account menu passes `textSizeKey="stockkit:scale:dashboard"`, which adds the shared "Text size" row (A-, percent reset, A+) and applies the saved root font scale. The landing menu does not get it. +The dashboard account menu passes `textSizeKey="stockkit:scale:dashboard"`, which adds the shared "Text size · 100%" submenu under a "Preferences" label (preset radio list, 75-200%) and applies the saved root font scale. The landing menu does not get it. diff --git a/src/app/dashboard/dashboard-nav.dom.test.tsx b/src/app/dashboard/dashboard-nav.dom.test.tsx index a05ad6b..2feeb35 100644 --- a/src/app/dashboard/dashboard-nav.dom.test.tsx +++ b/src/app/dashboard/dashboard-nav.dom.test.tsx @@ -185,18 +185,17 @@ describe('DashboardNav', () => { 'Get help', 'Feedback', 'Theme · System', - 'A-', - '100%', - 'A+', + 'Text size · 100%', 'Sign out', ]); }); - it('shows the Text size row when the account menu opens', async () => { + it('shows the Preferences label and Text size submenu 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('passes switchKits through to the account menu, listing the other three live kits', async () => {