From 157c6008d44510145f3c355fa2925f87d1b969d4 Mon Sep 17 00:00:00 2001 From: David Baker Date: Mon, 13 Jul 2026 17:26:26 +0100 Subject: [PATCH] Bump compound-web to 9.8.0 (#34236) * Bump compound-web to 9.8.0 * Manually unmangle pnom-lock * Tedious class name updates * More tedious class name updates * This is my life now --- .../ExtensionsCard-test.tsx.snap | 2 +- .../RoomSummaryCardView-test.tsx.snap | 6 +- .../ChangeRecoveryKey-test.tsx.snap | 10 +-- .../DeleteKeyStoragePanel-test.tsx.snap | 2 +- .../ResetIdentityPanel-test.tsx.snap | 8 +- .../EncryptionUserSettingsTab-test.tsx.snap | 2 +- .../__snapshots__/UserMenu.test.tsx.snap | 4 +- pnpm-lock.yaml | 74 ++++++++++++++++++- pnpm-workspace.yaml | 2 +- 9 files changed, 88 insertions(+), 22 deletions(-) diff --git a/apps/web/test/unit-tests/components/views/right_panel/__snapshots__/ExtensionsCard-test.tsx.snap b/apps/web/test/unit-tests/components/views/right_panel/__snapshots__/ExtensionsCard-test.tsx.snap index ed65faa013..2c2b81a8f3 100644 --- a/apps/web/test/unit-tests/components/views/right_panel/__snapshots__/ExtensionsCard-test.tsx.snap +++ b/apps/web/test/unit-tests/components/views/right_panel/__snapshots__/ExtensionsCard-test.tsx.snap @@ -284,7 +284,7 @@ exports[` should render widgets 1`] = ` has button to edit topic 1`] = ` style="--mx-box-flex: 1;" > renders the room summary 1`] = ` style="--mx-box-flex: 1;" > renders the room topic in the summary 1`] = ` style="--mx-box-flex: 1;" > flow to change the recovery key should display th >
  • flow to set up a recovery key should ask the user >
  • flow to set up a recovery key should ask the user >
  • flow to set up a recovery key should display info >
  • flow to set up a recovery key should display the >
  • should match snapshot 1`] = ` >
  • should display the 'forgot recovery key' variant >
  • should display the 'sync failed' variant correct >
  • should reset the encryption when the continue bu >
  • should reset the encryption when the continue bu >
  • should display the reset identity panel w >
  • renders a menu without an avatar 1`] = ` aria-expanded="false" aria-haspopup="listbox" aria-label="What's your status?" - class="_link_k9ljz_8 SetStatusView-module_setStatusTrigger" + class="_link_13esb_8 SetStatusView-module_setStatusTrigger" data-kind="primary" data-size="md" rel="noreferrer noopener" @@ -731,7 +731,7 @@ exports[`UserMenu > renders an open menu 1`] = ` aria-expanded="false" aria-haspopup="listbox" aria-label="What's your status?" - class="_link_k9ljz_8 SetStatusView-module_setStatusTrigger" + class="_link_13esb_8 SetStatusView-module_setStatusTrigger" data-kind="primary" data-size="md" rel="noreferrer noopener" diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 1c76286065..f82db32115 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -215,8 +215,8 @@ catalogs: specifier: 10.2.1 version: 10.2.1 '@vector-im/compound-web': - specifier: 9.7.1 - version: 9.7.1 + specifier: 9.8.0 + version: 9.8.0 '@vitejs/plugin-react': specifier: 6.0.2 version: 6.0.2 @@ -526,7 +526,7 @@ importers: version: 10.2.1(@types/react@19.2.14)(react@19.2.7) '@vector-im/compound-web': specifier: 'catalog:' - version: 9.7.1(@fontsource/inconsolata@5.2.8)(@fontsource/inter@5.2.8)(@types/react-dom@19.2.3(@types/react@19.2.14))(@types/react@19.2.14)(@vector-im/compound-design-tokens@10.2.1(@types/react@19.2.14)(react@19.2.7))(react-dom@19.2.7(react@19.2.7))(react@19.2.7) + version: 9.8.0(@fontsource/inconsolata@5.2.8)(@fontsource/inter@5.2.8)(@types/react-dom@19.2.3(@types/react@19.2.14))(@types/react@19.2.14)(@vector-im/compound-design-tokens@10.2.1(@types/react@19.2.14)(react@19.2.7))(react-dom@19.2.7(react@19.2.7))(react@19.2.7) '@vector-im/matrix-wysiwyg': specifier: 2.40.0 version: 2.40.0(patch_hash=7bdf6150f2905bc2f055a6bcaa7b9d78fa7ffde82e800bcc454ac7b0096bd65e)(react@19.2.7) @@ -1455,7 +1455,7 @@ importers: version: 19.2.3(@types/react@19.2.14) '@vector-im/compound-web': specifier: 'catalog:' - version: 9.7.1(@fontsource/inconsolata@5.2.8)(@fontsource/inter@5.2.8)(@types/react-dom@19.2.3(@types/react@19.2.14))(@types/react@19.2.14)(@vector-im/compound-design-tokens@10.2.1(@types/react@19.2.14)(react@19.2.7))(react-dom@19.2.7(react@19.2.7))(react@19.2.7) + version: 9.8.0(@fontsource/inconsolata@5.2.8)(@fontsource/inter@5.2.8)(@types/react-dom@19.2.3(@types/react@19.2.14))(@types/react@19.2.14)(@vector-im/compound-design-tokens@10.2.1(@types/react@19.2.14)(react@19.2.7))(react-dom@19.2.7(react@19.2.7))(react@19.2.7) '@vitejs/plugin-react': specifier: 'catalog:' version: 6.0.2(vite@8.1.4(@types/node@25.9.3)(esbuild@0.27.4)(jiti@2.7.0)(sugarss@5.0.1(postcss@8.5.16))(terser@5.48.0)(yaml@2.9.0)) @@ -3033,15 +3033,27 @@ packages: '@floating-ui/core@1.7.4': resolution: {integrity: sha512-C3HlIdsBxszvm5McXlB8PeOEWfBhcGBTZGkGlWc2U0KFY5IwG5OQEuQ8rq52DZmcHDlPLd+YFBK+cZcytwIFWg==} + '@floating-ui/core@1.8.0': + resolution: {integrity: sha512-0CIZ5itps/8x7BG8dEIhs53BvCUH2PCoogtakwRTut+Arm58sJooJ0AuZhLw2HJYIR5cMLNPBSS728sPho2khQ==} + '@floating-ui/dom@1.7.5': resolution: {integrity: sha512-N0bD2kIPInNHUHehXhMke1rBGs1dwqvC9O9KYMyyjK7iXt7GAhnro7UlcuYcGdS/yYOlq0MAVgrow8IbWJwyqg==} + '@floating-ui/dom@1.8.0': + resolution: {integrity: sha512-yXSrzeHZBTZadLOlfyhCkJHNeLJnHRnRInwdZ40L7ZiaAtrBwoYlsDrX3v5zB1Utk7CLfzcOVnVVWoXEky7Ceg==} + '@floating-ui/react-dom@2.1.7': resolution: {integrity: sha512-0tLRojf/1Go2JgEVm+3Frg9A3IW8bJgKgdO0BN5RkF//ufuz2joZM63Npau2ff3J6lUVYgDSNzNkR+aH3IVfjg==} peerDependencies: react: '>=16.8.0' react-dom: '>=16.8.0' + '@floating-ui/react-dom@2.1.9': + resolution: {integrity: sha512-JDjEFGCpImxDCA7JJKviA0M9+RtmJdj0m/NVU5IMgBK+AmZouAQQ7/+2GLH0GXXY0YMw9oXPB8hKdbPYg5QLYg==} + peerDependencies: + react: '>=16.8.0' + react-dom: '>=16.8.0' + '@floating-ui/react@0.27.17': resolution: {integrity: sha512-LGVZKHwmWGg6MRHjLLgsfyaX2y2aCNgnD1zT/E6B+/h+vxg+nIJUqHPAlTzsHDyqdgEpJ1Np5kxWuFEErXzoGg==} peerDependencies: @@ -3051,6 +3063,9 @@ packages: '@floating-ui/utils@0.2.10': resolution: {integrity: sha512-aGTxbpbg8/b5JfU1HXSrbH3wXZuLPJcNEcZQFMxLs3oSzgtVu6nFPkbbGGUvBcUjKV2YyB9Wxxabo+HEH9tcRQ==} + '@floating-ui/utils@0.2.12': + resolution: {integrity: sha512-HpCo8tmWzLVad5s2d19EhAz5zqrrQ6s69qd6moPMQvkOuSwDT1YgRfWSVuc4ennqrgv3OHppiOGMQ7oC13yIww==} + '@fontsource/fira-code@5.2.7': resolution: {integrity: sha512-tnB9NNund9TwIym8/7DMJe573nlPEQb+fKUV5GL8TBYXjIhDvL0D7mgmNVNQUPhXp+R7RylQeiBdkA4EbOHPGQ==} @@ -6425,6 +6440,18 @@ packages: '@types/react': optional: true + '@vector-im/compound-web@9.8.0': + resolution: {integrity: sha512-1Xy9eacbp9qD0uhLKb9SoyZ2iM868+M2BOiVX8oGfoZOyJYwihTwWmh2+0K8Kn8pag86t0yqyYplL0NVLY0sUA==} + peerDependencies: + '@fontsource/inconsolata': ^5 + '@fontsource/inter': ^5 + '@types/react': ^19.2.10 + '@vector-im/compound-design-tokens': '>=1.6.1 <11.0.0' + react: ^18 || ^19.0.0 + peerDependenciesMeta: + '@types/react': + optional: true + '@vector-im/matrix-wysiwyg@2.40.0': resolution: {integrity: sha512-8LRFLs5PEKYs4lOL7aJ4lL/hGCrvEvOYkCR3JggXYXDVMtX4LmfdlKYucSAe98pCmqAAbLRvlRcR1bTOYvM8ug==} peerDependencies: @@ -15222,17 +15249,32 @@ snapshots: dependencies: '@floating-ui/utils': 0.2.10 + '@floating-ui/core@1.8.0': + dependencies: + '@floating-ui/utils': 0.2.12 + '@floating-ui/dom@1.7.5': dependencies: '@floating-ui/core': 1.7.4 '@floating-ui/utils': 0.2.10 + '@floating-ui/dom@1.8.0': + dependencies: + '@floating-ui/core': 1.8.0 + '@floating-ui/utils': 0.2.12 + '@floating-ui/react-dom@2.1.7(react-dom@19.2.7(react@19.2.7))(react@19.2.7)': dependencies: '@floating-ui/dom': 1.7.5 react: 19.2.7 react-dom: 19.2.7(react@19.2.7) + '@floating-ui/react-dom@2.1.9(react-dom@19.2.7(react@19.2.7))(react@19.2.7)': + dependencies: + '@floating-ui/dom': 1.8.0 + react: 19.2.7 + react-dom: 19.2.7(react@19.2.7) + '@floating-ui/react@0.27.17(react-dom@19.2.7(react@19.2.7))(react@19.2.7)': dependencies: '@floating-ui/react-dom': 2.1.7(react-dom@19.2.7(react@19.2.7))(react@19.2.7) @@ -15243,6 +15285,8 @@ snapshots: '@floating-ui/utils@0.2.10': {} + '@floating-ui/utils@0.2.12': {} + '@fontsource/fira-code@5.2.7': {} '@fontsource/inconsolata@5.2.8': {} @@ -18510,6 +18554,28 @@ snapshots: - '@types/react-dom' - react-dom + '@vector-im/compound-web@9.8.0(@fontsource/inconsolata@5.2.8)(@fontsource/inter@5.2.8)(@types/react-dom@19.2.3(@types/react@19.2.14))(@types/react@19.2.14)(@vector-im/compound-design-tokens@10.2.1(@types/react@19.2.14)(react@19.2.7))(react-dom@19.2.7(react@19.2.7))(react@19.2.7)': + dependencies: + '@floating-ui/react': 0.27.17(react-dom@19.2.7(react@19.2.7))(react@19.2.7) + '@floating-ui/react-dom': 2.1.9(react-dom@19.2.7(react@19.2.7))(react@19.2.7) + '@fontsource/inconsolata': 5.2.8 + '@fontsource/inter': 5.2.8 + '@radix-ui/react-context-menu': 2.2.16(@types/react-dom@19.2.3(@types/react@19.2.14))(@types/react@19.2.14)(react-dom@19.2.7(react@19.2.7))(react@19.2.7) + '@radix-ui/react-dropdown-menu': 2.1.16(@types/react-dom@19.2.3(@types/react@19.2.14))(@types/react@19.2.14)(react-dom@19.2.7(react@19.2.7))(react@19.2.7) + '@radix-ui/react-form': 0.1.8(@types/react-dom@19.2.3(@types/react@19.2.14))(@types/react@19.2.14)(react-dom@19.2.7(react@19.2.7))(react@19.2.7) + '@radix-ui/react-progress': 1.1.8(@types/react-dom@19.2.3(@types/react@19.2.14))(@types/react@19.2.14)(react-dom@19.2.7(react@19.2.7))(react@19.2.7) + '@radix-ui/react-separator': 1.1.8(@types/react-dom@19.2.3(@types/react@19.2.14))(@types/react@19.2.14)(react-dom@19.2.7(react@19.2.7))(react@19.2.7) + '@radix-ui/react-slot': 1.2.4(@types/react@19.2.14)(react@19.2.7) + '@vector-im/compound-design-tokens': 10.2.1(@types/react@19.2.14)(react@19.2.7) + classnames: 2.5.1 + react: 19.2.7 + vaul: 1.1.2(@types/react-dom@19.2.3(@types/react@19.2.14))(@types/react@19.2.14)(react-dom@19.2.7(react@19.2.7))(react@19.2.7) + optionalDependencies: + '@types/react': 19.2.14 + transitivePeerDependencies: + - '@types/react-dom' + - react-dom + '@vector-im/matrix-wysiwyg@2.40.0(patch_hash=7bdf6150f2905bc2f055a6bcaa7b9d78fa7ffde82e800bcc454ac7b0096bd65e)(react@19.2.7)': dependencies: react: 19.2.7 diff --git a/pnpm-workspace.yaml b/pnpm-workspace.yaml index ebf2f63d4a..0e146f3abe 100644 --- a/pnpm-workspace.yaml +++ b/pnpm-workspace.yaml @@ -24,7 +24,7 @@ catalog: "playwright-core": 1.61.1 # Compound "@vector-im/compound-design-tokens": 10.2.1 - "@vector-im/compound-web": 9.7.1 + "@vector-im/compound-web": 9.8.0 # i18n matrix-web-i18n: 3.6.0 # fonts