From c64ca9382241be2368870697422ab41ee64eaae4 Mon Sep 17 00:00:00 2001 From: Francisco Ramos Date: Mon, 3 Jul 2023 04:34:51 +0200 Subject: [PATCH] refactor(bridge-ui-v2): menu changes (#14085) --- packages/bridge-ui-v2/package.json | 2 +- .../src/components/Header/Header.svelte | 3 +- .../components/LinkButton/LinkButton.svelte | 9 +- .../SideNavigation/SideNavigation.svelte | 123 ++++++++----- packages/bridge-ui-v2/src/styles/override.css | 9 + .../bridge-ui-v2/src/styles/utilities.css | 4 + pnpm-lock.yaml | 167 ++++++++++++------ 7 files changed, 207 insertions(+), 110 deletions(-) diff --git a/packages/bridge-ui-v2/package.json b/packages/bridge-ui-v2/package.json index 8e523ac77c5..acacc6cc9c8 100644 --- a/packages/bridge-ui-v2/package.json +++ b/packages/bridge-ui-v2/package.json @@ -25,7 +25,7 @@ "@typescript-eslint/eslint-plugin": "^5.45.0", "@typescript-eslint/parser": "^5.45.0", "autoprefixer": "^10.4.14", - "daisyui": "3.1.1", + "daisyui": "3.1.7", "eslint": "^8.28.0", "eslint-config-prettier": "^8.5.0", "eslint-plugin-simple-import-sort": "^10.0.0", diff --git a/packages/bridge-ui-v2/src/components/Header/Header.svelte b/packages/bridge-ui-v2/src/components/Header/Header.svelte index 0a8e823717b..55867f56af4 100644 --- a/packages/bridge-ui-v2/src/components/Header/Header.svelte +++ b/packages/bridge-ui-v2/src/components/Header/Header.svelte @@ -12,7 +12,8 @@ class=" f-between-center py-[20px] - px-4 border-b + px-4 + border-b border-b-divider-border md:border-b-0 md:px-10 md:py-7 diff --git a/packages/bridge-ui-v2/src/components/LinkButton/LinkButton.svelte b/packages/bridge-ui-v2/src/components/LinkButton/LinkButton.svelte index 5bd86f6b774..0f00d7efbe1 100644 --- a/packages/bridge-ui-v2/src/components/LinkButton/LinkButton.svelte +++ b/packages/bridge-ui-v2/src/components/LinkButton/LinkButton.svelte @@ -5,15 +5,14 @@ export let href = '/'; export let external = false; - $: activeClass = active ? 'bg-primary-interactive hover:bg-primary-interactive-hover' : ''; + $: activeClass = active + ? 'body-bold bg-primary-interactive hover:bg-primary-interactive-hover' + : 'body-regular hover:bg-secondary-interactive-hover'; + class={classNames('p-3 rounded-full flex justify-start content-center', activeClass)}> diff --git a/packages/bridge-ui-v2/src/components/SideNavigation/SideNavigation.svelte b/packages/bridge-ui-v2/src/components/SideNavigation/SideNavigation.svelte index a297b8c41b4..e45a3116739 100644 --- a/packages/bridge-ui-v2/src/components/SideNavigation/SideNavigation.svelte +++ b/packages/bridge-ui-v2/src/components/SideNavigation/SideNavigation.svelte @@ -12,66 +12,91 @@ import { LinkButton } from '../LinkButton'; import { LogoWithText } from '../Logo'; + let drawerToggleElem: HTMLInputElement; + $: isBridgePage = $page.route.id === '/'; $: isFaucetPage = $page.route.id === '/faucet'; $: isActivitiesPage = $page.route.id === '/activities'; + + function closeDrawer() { + drawerToggleElem.checked = false; + } + + function onMenuKeydown(event: KeyboardEvent) { + if (event.key === 'Escape' || event.key === 'Enter') { + closeDrawer(); + } + } -
- +
+
-
-
diff --git a/packages/bridge-ui-v2/src/styles/override.css b/packages/bridge-ui-v2/src/styles/override.css index 75fe7948c21..0d50a0d592c 100644 --- a/packages/bridge-ui-v2/src/styles/override.css +++ b/packages/bridge-ui-v2/src/styles/override.css @@ -12,3 +12,12 @@ input::-webkit-inner-spin-button { input[type='number'] { -moz-appearance: textfield; } + +/** + * Overrides the dafault color for the overlay component used + * in DaisyUI's drawer. Unfortunately cannot be done via variables + */ +.drawer-toggle:checked ~ .drawer-side > .drawer-overlay { + /* Primary background: '#0B101B' => grey-900 */ + background-color: hsl(221, 42%, 7%); +} diff --git a/packages/bridge-ui-v2/src/styles/utilities.css b/packages/bridge-ui-v2/src/styles/utilities.css index cf199bf7b0c..93a24bb9a43 100644 --- a/packages/bridge-ui-v2/src/styles/utilities.css +++ b/packages/bridge-ui-v2/src/styles/utilities.css @@ -13,6 +13,10 @@ @apply hidden md:inline-block; } + .w-h-full { + @apply w-full h-full; + } + /* Flex shortcuts */ .f-between-center { @apply flex justify-between items-center; diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 2984e1a57a0..f18aeec743e 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -204,16 +204,16 @@ importers: dependencies: '@wagmi/core': specifier: ^1.2.0 - version: 1.2.0(debug@4.3.4)(react@18.2.0)(typescript@5.1.3)(viem@1.0.7) + version: 1.2.0(debug@4.3.4)(typescript@5.1.3)(viem@1.0.7) '@web3modal/ethereum': specifier: ^2.4.7 version: 2.4.7(@wagmi/core@1.2.0)(viem@1.0.7) '@web3modal/html': specifier: ^2.4.7 - version: 2.4.7(react@18.2.0) + version: 2.4.7 debug: specifier: ^4.3.4 - version: 4.3.4(supports-color@8.1.1) + version: 4.3.4 svelte-i18n: specifier: ^3.5.1 version: 3.5.2(svelte@3.59.1) @@ -246,8 +246,8 @@ importers: specifier: ^10.4.14 version: 10.4.14(postcss@8.4.24) daisyui: - specifier: 3.1.1 - version: 3.1.1(postcss@8.4.24) + specifier: 3.1.7 + version: 3.1.7(postcss@8.4.24) eslint: specifier: ^8.28.0 version: 8.42.0 @@ -286,7 +286,7 @@ importers: version: 5.1.3 vite: specifier: ^4.3.0 - version: 4.3.9(@types/node@20.3.2) + version: 4.3.9 vite-tsconfig-paths: specifier: ^4.2.0 version: 4.2.0(typescript@5.1.3)(vite@4.3.9) @@ -2727,7 +2727,7 @@ packages: engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} dependencies: ajv: 6.12.6 - debug: 4.3.4(supports-color@8.1.1) + debug: 4.3.4 espree: 9.5.2 globals: 13.20.0 ignore: 5.2.4 @@ -3231,7 +3231,7 @@ packages: engines: {node: '>=10.10.0'} dependencies: '@humanwhocodes/object-schema': 1.2.1 - debug: 4.3.4(supports-color@8.1.1) + debug: 4.3.4 minimatch: 3.1.2 transitivePeerDependencies: - supports-color @@ -3635,7 +3635,7 @@ packages: engines: {node: '>=14.0.0'} dependencies: '@types/debug': 4.1.8 - debug: 4.3.4(supports-color@8.1.1) + debug: 4.3.4 semver: 7.5.3 superstruct: 1.0.3 transitivePeerDependencies: @@ -5078,7 +5078,7 @@ packages: sirv: 2.0.3 svelte: 3.59.1 undici: 5.22.0 - vite: 4.3.9(@types/node@20.3.2) + vite: 4.3.9 transitivePeerDependencies: - supports-color dev: true @@ -5092,9 +5092,9 @@ packages: vite: ^4.0.0 dependencies: '@sveltejs/vite-plugin-svelte': 2.4.1(svelte@3.59.1)(vite@4.3.9) - debug: 4.3.4(supports-color@8.1.1) + debug: 4.3.4 svelte: 3.59.1 - vite: 4.3.9(@types/node@20.3.2) + vite: 4.3.9 transitivePeerDependencies: - supports-color dev: true @@ -5130,13 +5130,13 @@ packages: vite: ^4.0.0 dependencies: '@sveltejs/vite-plugin-svelte-inspector': 1.0.2(@sveltejs/vite-plugin-svelte@2.4.1)(svelte@3.59.1)(vite@4.3.9) - debug: 4.3.4(supports-color@8.1.1) + debug: 4.3.4 deepmerge: 4.3.1 kleur: 4.1.5 magic-string: 0.30.0 svelte: 3.59.1 svelte-hmr: 0.15.1(svelte@3.59.1) - vite: 4.3.9(@types/node@20.3.2) + vite: 4.3.9 vitefu: 0.2.4(vite@4.3.9) transitivePeerDependencies: - supports-color @@ -5825,7 +5825,7 @@ packages: '@typescript-eslint/scope-manager': 5.59.11 '@typescript-eslint/type-utils': 5.59.11(eslint@8.42.0)(typescript@5.1.3) '@typescript-eslint/utils': 5.59.11(eslint@8.42.0)(typescript@5.1.3) - debug: 4.3.4(supports-color@8.1.1) + debug: 4.3.4 eslint: 8.42.0 grapheme-splitter: 1.0.4 ignore: 5.2.4 @@ -5948,7 +5948,7 @@ packages: '@typescript-eslint/scope-manager': 5.59.11 '@typescript-eslint/types': 5.59.11 '@typescript-eslint/typescript-estree': 5.59.11(typescript@5.1.3) - debug: 4.3.4(supports-color@8.1.1) + debug: 4.3.4 eslint: 8.42.0 typescript: 5.1.3 transitivePeerDependencies: @@ -6051,7 +6051,7 @@ packages: dependencies: '@typescript-eslint/typescript-estree': 5.59.11(typescript@5.1.3) '@typescript-eslint/utils': 5.59.11(eslint@8.42.0)(typescript@5.1.3) - debug: 4.3.4(supports-color@8.1.1) + debug: 4.3.4 eslint: 8.42.0 tsutils: 3.21.0(typescript@5.1.3) typescript: 5.1.3 @@ -6148,7 +6148,7 @@ packages: dependencies: '@typescript-eslint/types': 5.59.11 '@typescript-eslint/visitor-keys': 5.59.11 - debug: 4.3.4(supports-color@8.1.1) + debug: 4.3.4 globby: 11.1.0 is-glob: 4.0.3 semver: 7.5.1 @@ -6489,7 +6489,7 @@ packages: - typescript - utf-8-validate - /@wagmi/connectors@2.2.0(@wagmi/chains@1.1.0)(debug@4.3.4)(react@18.2.0)(typescript@5.1.3)(viem@1.0.7): + /@wagmi/connectors@2.2.0(@wagmi/chains@1.1.0)(debug@4.3.4)(typescript@5.1.3)(viem@1.0.7): resolution: {integrity: sha512-pI1ed2V8dC8Gro0YbXrJedFj5U9HHD/zUe9MMUaV3ews2LY6qziSXZp9Dw6TKyiSJ5ANbRlZcl40AmSPozkZmw==} peerDependencies: '@wagmi/chains': '>=1.0.0' @@ -6508,7 +6508,7 @@ packages: '@wagmi/chains': 1.1.0(typescript@5.1.3) '@walletconnect/ethereum-provider': 2.8.0(@walletconnect/modal@2.4.7)(debug@4.3.4) '@walletconnect/legacy-provider': 2.0.0 - '@walletconnect/modal': 2.4.7(react@18.2.0) + '@walletconnect/modal': 2.4.7 abitype: 0.8.7(typescript@5.1.3) eventemitter3: 4.0.7 typescript: 5.1.3 @@ -6556,7 +6556,7 @@ packages: - utf-8-validate - zod - /@wagmi/core@1.2.0(debug@4.3.4)(react@18.2.0)(typescript@5.1.3)(viem@1.0.7): + /@wagmi/core@1.2.0(debug@4.3.4)(typescript@5.1.3)(viem@1.0.7): resolution: {integrity: sha512-7onf13u0atdXOnoitB+pivnIUPJman7Y8GITKkxwmcwJ3lpE1U/grYE7xHcKN7av7KEu0DozvKPhN7nJ/7OErw==} peerDependencies: typescript: '>=5.0.4' @@ -6566,12 +6566,12 @@ packages: optional: true dependencies: '@wagmi/chains': 1.1.0(typescript@5.1.3) - '@wagmi/connectors': 2.2.0(@wagmi/chains@1.1.0)(debug@4.3.4)(react@18.2.0)(typescript@5.1.3)(viem@1.0.7) + '@wagmi/connectors': 2.2.0(@wagmi/chains@1.1.0)(debug@4.3.4)(typescript@5.1.3)(viem@1.0.7) abitype: 0.8.7(typescript@5.1.3) eventemitter3: 4.0.7 typescript: 5.1.3 viem: 1.0.7(typescript@5.1.3) - zustand: 4.3.8(react@18.2.0) + zustand: 4.3.8 transitivePeerDependencies: - '@react-native-async-storage/async-storage' - bufferutil @@ -6694,7 +6694,7 @@ packages: '@walletconnect/jsonrpc-provider': 1.0.13 '@walletconnect/jsonrpc-types': 1.0.3 '@walletconnect/jsonrpc-utils': 1.0.8 - '@walletconnect/modal': 2.4.7(react@18.2.0) + '@walletconnect/modal': 2.4.7 '@walletconnect/sign-client': 2.8.0 '@walletconnect/types': 2.8.0 '@walletconnect/universal-provider': 2.8.0(debug@4.3.4) @@ -6889,11 +6889,11 @@ packages: resolution: {integrity: sha512-ZtKRio4uCZ1JUF7LIdecmZt7FOLnX72RPSY7aUVu7mj7CSfxDwUn6gBuK6WGtH+NZCldBqDl5DenI5fFSvkKYw==} deprecated: 'Deprecated in favor of dynamic registry available from: https://github.com/walletconnect/walletconnect-registry' - /@walletconnect/modal@2.4.7(react@18.2.0): + /@walletconnect/modal@2.4.7: resolution: {integrity: sha512-kFpvDTT44CgNGcwQVC0jHrYed4xorghKX1DOGo8ZfBSJ5TJx3p6d6SzLxkH1cZupWbljWkYS6SqvZcUBs8vWpg==} dependencies: - '@web3modal/core': 2.4.7(react@18.2.0) - '@web3modal/ui': 2.4.7(react@18.2.0) + '@web3modal/core': 2.4.7 + '@web3modal/ui': 2.4.7 transitivePeerDependencies: - react dev: false @@ -7090,11 +7090,11 @@ packages: tslib: 1.14.1 dev: false - /@web3modal/core@2.4.7(react@18.2.0): + /@web3modal/core@2.4.7: resolution: {integrity: sha512-FZMmI4JnEZovRDdN+PZBMe2ot8ly+UftVkZ6lmtfgiRZ2Gy3k/4IYE8/KwOSmN63Lf2Oj2077buLR17i0xoKZA==} dependencies: buffer: 6.0.3 - valtio: 1.10.5(react@18.2.0) + valtio: 1.10.5 transitivePeerDependencies: - react dev: false @@ -7105,23 +7105,23 @@ packages: '@wagmi/core': '>=1' viem: '>=1' dependencies: - '@wagmi/core': 1.2.0(debug@4.3.4)(react@18.2.0)(typescript@5.1.3)(viem@1.0.7) + '@wagmi/core': 1.2.0(debug@4.3.4)(typescript@5.1.3)(viem@1.0.7) viem: 1.0.7(typescript@5.1.3) dev: false - /@web3modal/html@2.4.7(react@18.2.0): + /@web3modal/html@2.4.7: resolution: {integrity: sha512-bneYbx6lXS2toQ5kuJlbIJ0uOGNVyZDeABIhW4JeucNzM4ml1OqFVQr5JaimoYnaD08KRnleLz1nQi+nBBqTrA==} dependencies: - '@web3modal/core': 2.4.7(react@18.2.0) - '@web3modal/ui': 2.4.7(react@18.2.0) + '@web3modal/core': 2.4.7 + '@web3modal/ui': 2.4.7 transitivePeerDependencies: - react dev: false - /@web3modal/ui@2.4.7(react@18.2.0): + /@web3modal/ui@2.4.7: resolution: {integrity: sha512-5tU9u5CVYueZ9y+1x1A1Q0bFUfk3gOIKy3MT6Vx+aI0RDxVu7OYQDw6wbNPlgz/wd9JPYXG6uSv8WTBpdyit8Q==} dependencies: - '@web3modal/core': 2.4.7(react@18.2.0) + '@web3modal/core': 2.4.7 lit: 2.7.5 motion: 10.16.2 qrcode: 1.5.3 @@ -7636,7 +7636,7 @@ packages: resolution: {integrity: sha512-Zn4cw2NEqd+9fiSVWMscnjyQ1a8Yfoc5oBajLeo5w+YBHgDUcEBY2hS4YpTz6iN5f/2zQiktcuM6tS8x1p9dpA==} engines: {node: '>= 8.0.0'} dependencies: - debug: 4.3.4(supports-color@8.1.1) + debug: 4.3.4 depd: 1.1.2 humanize-ms: 1.2.1 transitivePeerDependencies: @@ -10689,8 +10689,8 @@ packages: resolution: {integrity: sha512-kso740gqMVVqritCQliQCpfPwos9lxp7/TEiEev4w6GGQyLNRyfriWY+DWxfawMY/DwGDzBl2DZtekCMf73bzw==} dev: true - /daisyui@3.1.1(postcss@8.4.24): - resolution: {integrity: sha512-+SPwlCvbk/dQd40Op3jv+C8s5pL/Ix4z/U+Q8KDKnF7oXNmvDYZlZ9e2RkouoevaW/Jta4e/iLTj5ve2WBoSkw==} + /daisyui@3.1.7(postcss@8.4.24): + resolution: {integrity: sha512-VQhaunQlB7Buo+AbE+S3i6H/eYknKEuKVHG67y7sbG58uEjeLK6n2rojG3YE7fwoOss6ldbUL8Oy0MyoJi0CHw==} engines: {node: '>=16.9.0'} peerDependencies: postcss: ^8 @@ -10779,6 +10779,17 @@ packages: ms: 2.1.3 dev: true + /debug@4.3.4: + resolution: {integrity: sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==} + engines: {node: '>=6.0'} + peerDependencies: + supports-color: '*' + peerDependenciesMeta: + supports-color: + optional: true + dependencies: + ms: 2.1.2 + /debug@4.3.4(supports-color@8.1.1): resolution: {integrity: sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==} engines: {node: '>=6.0'} @@ -12239,7 +12250,7 @@ packages: dependencies: '@eslint-community/eslint-utils': 4.4.0(eslint@8.42.0) '@jridgewell/sourcemap-codec': 1.4.15 - debug: 4.3.4(supports-color@8.1.1) + debug: 4.3.4 eslint: 8.42.0 esutils: 2.0.3 known-css-properties: 0.27.0 @@ -12375,7 +12386,7 @@ packages: ajv: 6.12.6 chalk: 4.1.2 cross-spawn: 7.0.3 - debug: 4.3.4(supports-color@8.1.1) + debug: 4.3.4 doctrine: 3.0.0 escape-string-regexp: 4.0.0 eslint-scope: 7.2.0 @@ -13560,7 +13571,7 @@ packages: debug: optional: true dependencies: - debug: 4.3.4(supports-color@8.1.1) + debug: 4.3.4 /for-each@0.3.3: resolution: {integrity: sha512-jqYfLp7mo9vIyQf8ykW2v7A+2N4QjeCeI5+Dz9XraiO1ign81wjiH7Fb9vSOWvQfNtmSa4H2RoQTrrXivdUZmw==} @@ -15549,7 +15560,7 @@ packages: peerDependencies: ws: '*' dependencies: - ws: 8.12.0(bufferutil@4.0.7)(utf-8-validate@5.0.10) + ws: 8.12.0 /isstream@0.1.2: resolution: {integrity: sha512-Yljz7ffyPbrLpLngrMtZ7NduUgVvi6wG9RJ9IUcyCd59YQ911PBJphODUcbOVbqYfxe1wuYf/LJ8PauMRwsM/g==} @@ -23864,6 +23875,12 @@ packages: qs: 6.11.2 dev: true + /use-sync-external-store@1.2.0: + resolution: {integrity: sha512-eEgnFxGQ1Ife9bzYs6VLi8/4X6CObHMw9Qr9tPY43iKwsPw8xE8+EFsf/2cFZ5S3esXgpWgtSCtLNS41F+sKPA==} + peerDependencies: + react: ^16.8.0 || ^17.0.0 || ^18.0.0 + dev: false + /use-sync-external-store@1.2.0(react@18.2.0): resolution: {integrity: sha512-eEgnFxGQ1Ife9bzYs6VLi8/4X6CObHMw9Qr9tPY43iKwsPw8xE8+EFsf/2cFZ5S3esXgpWgtSCtLNS41F+sKPA==} peerDependencies: @@ -23983,7 +24000,7 @@ packages: spdx-expression-parse: 3.0.1 dev: true - /valtio@1.10.5(react@18.2.0): + /valtio@1.10.5: resolution: {integrity: sha512-jTp0k63VXf4r5hPoaC6a6LCG4POkVSh629WLi1+d5PlajLsbynTMd7qAgEiOSPxzoX5iNvbN7iZ/k/g29wrNiQ==} engines: {node: '>=12.20.0'} peerDependencies: @@ -23993,8 +24010,7 @@ packages: optional: true dependencies: proxy-compare: 2.5.1 - react: 18.2.0 - use-sync-external-store: 1.2.0(react@18.2.0) + use-sync-external-store: 1.2.0 dev: false /varint@5.0.2: @@ -24081,7 +24097,7 @@ packages: abitype: 0.8.7(typescript@5.1.3) isomorphic-ws: 5.0.0(ws@8.12.0) typescript: 5.1.3 - ws: 8.12.0(bufferutil@4.0.7)(utf-8-validate@5.0.10) + ws: 8.12.0 transitivePeerDependencies: - bufferutil - utf-8-validate @@ -24094,7 +24110,7 @@ packages: hasBin: true dependencies: cac: 6.7.14 - debug: 4.3.4(supports-color@8.1.1) + debug: 4.3.4 mlly: 1.3.0 pathe: 1.1.0 picocolors: 1.0.0 @@ -24130,10 +24146,10 @@ packages: vite: optional: true dependencies: - debug: 4.3.4(supports-color@8.1.1) + debug: 4.3.4 globrex: 0.1.2 tsconfck: 2.1.1(typescript@5.1.3) - vite: 4.3.9(@types/node@20.3.2) + vite: 4.3.9 transitivePeerDependencies: - supports-color - typescript @@ -24172,6 +24188,38 @@ packages: fsevents: 2.3.2 dev: true + /vite@4.3.9: + resolution: {integrity: sha512-qsTNZjO9NoJNW7KnOrgYwczm0WctJ8m/yqYAMAK9Lxt4SoySUfS5S8ia9K7JHpa3KEeMfyF8LoJ3c5NeBJy6pg==} + engines: {node: ^14.18.0 || >=16.0.0} + hasBin: true + peerDependencies: + '@types/node': '>= 14' + less: '*' + sass: '*' + stylus: '*' + sugarss: '*' + terser: ^5.4.0 + peerDependenciesMeta: + '@types/node': + optional: true + less: + optional: true + sass: + optional: true + stylus: + optional: true + sugarss: + optional: true + terser: + optional: true + dependencies: + esbuild: 0.17.19 + postcss: 8.4.24 + rollup: 3.25.1 + optionalDependencies: + fsevents: 2.3.2 + dev: true + /vite@4.3.9(@types/node@20.3.2): resolution: {integrity: sha512-qsTNZjO9NoJNW7KnOrgYwczm0WctJ8m/yqYAMAK9Lxt4SoySUfS5S8ia9K7JHpa3KEeMfyF8LoJ3c5NeBJy6pg==} engines: {node: ^14.18.0 || >=16.0.0} @@ -24224,7 +24272,7 @@ packages: vite: optional: true dependencies: - vite: 4.3.9(@types/node@20.3.2) + vite: 4.3.9 dev: true /vitest@0.32.2: @@ -24271,7 +24319,7 @@ packages: cac: 6.7.14 chai: 4.3.7 concordance: 5.0.4 - debug: 4.3.4(supports-color@8.1.1) + debug: 4.3.4 local-pkg: 0.4.3 magic-string: 0.30.0 pathe: 1.1.0 @@ -25139,6 +25187,18 @@ packages: utf-8-validate: optional: true + /ws@8.12.0: + resolution: {integrity: sha512-kU62emKIdKVeEIOIKVegvqpXMSTAMLJozpHZaJNDYqBjzlSYXQGviYwN1osDLJ9av68qHd4a2oSjd7yD4pacig==} + engines: {node: '>=10.0.0'} + peerDependencies: + bufferutil: ^4.0.1 + utf-8-validate: '>=5.0.2' + peerDependenciesMeta: + bufferutil: + optional: true + utf-8-validate: + optional: true + /ws@8.12.0(bufferutil@4.0.7)(utf-8-validate@5.0.10): resolution: {integrity: sha512-kU62emKIdKVeEIOIKVegvqpXMSTAMLJozpHZaJNDYqBjzlSYXQGviYwN1osDLJ9av68qHd4a2oSjd7yD4pacig==} engines: {node: '>=10.0.0'} @@ -25424,7 +25484,7 @@ packages: react: 18.2.0 use-sync-external-store: 1.2.0(react@18.2.0) - /zustand@4.3.8(react@18.2.0): + /zustand@4.3.8: resolution: {integrity: sha512-4h28KCkHg5ii/wcFFJ5Fp+k1J3gJoasaIbppdgZFO4BPJnsNxL0mQXBSFgOgAdCdBj35aDTPvdAJReTMntFPGg==} engines: {node: '>=12.7.0'} peerDependencies: @@ -25436,8 +25496,7 @@ packages: react: optional: true dependencies: - react: 18.2.0 - use-sync-external-store: 1.2.0(react@18.2.0) + use-sync-external-store: 1.2.0 dev: false /zwitch@2.0.4: