From 15f53bd87f69b6bf98b4f4d0641eaa482de72f26 Mon Sep 17 00:00:00 2001 From: Pedro Bonamin <46196328+pedrobonamin@users.noreply.github.com> Date: Tue, 12 Mar 2024 09:30:42 +0100 Subject: [PATCH] fix(deps): update @sanity/icons (#5956) * fix(deps): update '@sanity/icons' * fix(templates): update sanity icons library used in templates --- dev/design-studio/package.json | 2 +- dev/studio-e2e-testing/package.json | 2 +- dev/test-studio/package.json | 2 +- .../init-project/templates/getStarted.ts | 2 +- .../actions/init-project/templates/shopify.ts | 2 +- .../init-project/templates/shopifyOnline.ts | 2 +- packages/@sanity/vision/package.json | 2 +- packages/sanity/package.json | 2 +- pnpm-lock.yaml | 50 +++++++++---------- 9 files changed, 33 insertions(+), 33 deletions(-) diff --git a/dev/design-studio/package.json b/dev/design-studio/package.json index d484493725b..935ad7f4683 100644 --- a/dev/design-studio/package.json +++ b/dev/design-studio/package.json @@ -31,7 +31,7 @@ "start": "../.bin/sanity start --port 4000" }, "dependencies": { - "@sanity/icons": "^2.8.0", + "@sanity/icons": "^2.11.0", "@sanity/ui": "^2.0.1", "react": "^18.2.0", "react-dom": "^18.2.0", diff --git a/dev/studio-e2e-testing/package.json b/dev/studio-e2e-testing/package.json index 95e0691acd5..97af9ba67b6 100644 --- a/dev/studio-e2e-testing/package.json +++ b/dev/studio-e2e-testing/package.json @@ -15,7 +15,7 @@ ], "dependencies": { "@sanity/google-maps-input": "^3.0.1", - "@sanity/icons": "^2.8.0", + "@sanity/icons": "^2.11.0", "@sanity/ui": "^2.0.1", "@sanity/vision": "3.32.0", "react": "^18.2.0", diff --git a/dev/test-studio/package.json b/dev/test-studio/package.json index a6e0ed39d3e..1b4c4035486 100644 --- a/dev/test-studio/package.json +++ b/dev/test-studio/package.json @@ -25,7 +25,7 @@ "@sanity/client": "^6.15.3", "@sanity/color": "^3.0.0", "@sanity/google-maps-input": "^3.0.1", - "@sanity/icons": "^2.8.0", + "@sanity/icons": "^2.11.0", "@sanity/image-url": "^1.0.2", "@sanity/locale-ko-kr": "^1.0.1", "@sanity/locale-nb-no": "^1.0.1", diff --git a/packages/@sanity/cli/src/actions/init-project/templates/getStarted.ts b/packages/@sanity/cli/src/actions/init-project/templates/getStarted.ts index 76c028524a9..ec9769e6ab4 100644 --- a/packages/@sanity/cli/src/actions/init-project/templates/getStarted.ts +++ b/packages/@sanity/cli/src/actions/init-project/templates/getStarted.ts @@ -29,7 +29,7 @@ const getStartedTemplate: ProjectTemplate = { configTemplate, typescriptOnly: true, dependencies: { - '@sanity/icons': '^2.6.0', + '@sanity/icons': '^2.11.0', '@sanity/ui': '^2.0.0', }, } diff --git a/packages/@sanity/cli/src/actions/init-project/templates/shopify.ts b/packages/@sanity/cli/src/actions/init-project/templates/shopify.ts index 978e503f88c..bb28d29caab 100644 --- a/packages/@sanity/cli/src/actions/init-project/templates/shopify.ts +++ b/packages/@sanity/cli/src/actions/init-project/templates/shopify.ts @@ -54,7 +54,7 @@ const shopifyTemplate: ProjectTemplate = { dependencies: { '@sanity/asset-utils': '^1.3.0', '@sanity/color-input': '^3.0.2', - '@sanity/icons': '^2.6.0', + '@sanity/icons': '^2.11.0', '@sanity/ui': '^2.0.0', 'lodash.get': '^4.4.2', 'pluralize-esm': '^9.0.2', diff --git a/packages/@sanity/cli/src/actions/init-project/templates/shopifyOnline.ts b/packages/@sanity/cli/src/actions/init-project/templates/shopifyOnline.ts index 83a8e9a0375..6e8b7ba381a 100644 --- a/packages/@sanity/cli/src/actions/init-project/templates/shopifyOnline.ts +++ b/packages/@sanity/cli/src/actions/init-project/templates/shopifyOnline.ts @@ -39,7 +39,7 @@ const shopifyTemplate: ProjectTemplate = { typescriptOnly: true, dependencies: { '@portabletext/toolkit': '^2.0.1', - '@sanity/icons': '^2.6.0', + '@sanity/icons': '^2.11.0', '@sanity/ui': '^2.0.0', '@types/lodash.get': '^4.4.7', 'lodash.get': '^4.4.2', diff --git a/packages/@sanity/vision/package.json b/packages/@sanity/vision/package.json index 9aeb1ea1ad6..d56b0b6cca5 100644 --- a/packages/@sanity/vision/package.json +++ b/packages/@sanity/vision/package.json @@ -67,7 +67,7 @@ "@rexxars/react-json-inspector": "^8.0.1", "@rexxars/react-split-pane": "^0.1.93", "@sanity/color": "^3.0.0", - "@sanity/icons": "^2.8.0", + "@sanity/icons": "^2.11.0", "@sanity/ui": "^2.0.1", "@uiw/react-codemirror": "^4.11.4", "hashlru": "^2.3.0", diff --git a/packages/sanity/package.json b/packages/sanity/package.json index 82ba1ab74ce..96dda928c06 100644 --- a/packages/sanity/package.json +++ b/packages/sanity/package.json @@ -208,7 +208,7 @@ "@sanity/eventsource": "^5.0.0", "@sanity/export": "3.32.0", "@sanity/generate-help-url": "^3.0.0", - "@sanity/icons": "^2.8.0", + "@sanity/icons": "^2.11.0", "@sanity/image-url": "^1.0.2", "@sanity/import": "3.32.0", "@sanity/logos": "^2.1.4", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 30fbdb815e3..e02c8b59158 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -207,8 +207,8 @@ importers: dev/design-studio: dependencies: '@sanity/icons': - specifier: ^2.8.0 - version: 2.11.2(react@18.2.0) + specifier: ^2.11.0 + version: 2.11.0(react@18.2.0) '@sanity/ui': specifier: ^2.0.1 version: 2.0.7(react-dom@18.2.0)(react-is@18.2.0)(react@18.2.0)(styled-components@6.1.8) @@ -314,8 +314,8 @@ importers: specifier: ^3.0.1 version: 3.0.2(react-dom@18.2.0)(react-is@18.2.0)(react@18.2.0)(sanity@packages+sanity)(styled-components@6.1.8) '@sanity/icons': - specifier: ^2.8.0 - version: 2.11.2(react@18.2.0) + specifier: ^2.11.0 + version: 2.11.0(react@18.2.0) '@sanity/ui': specifier: ^2.0.1 version: 2.0.7(react-dom@18.2.0)(react-is@18.2.0)(react@18.2.0)(styled-components@6.1.8) @@ -396,8 +396,8 @@ importers: specifier: ^3.0.1 version: 3.0.2(react-dom@18.2.0)(react-is@18.2.0)(react@18.2.0)(sanity@packages+sanity)(styled-components@6.1.8) '@sanity/icons': - specifier: ^2.8.0 - version: 2.11.2(react@18.2.0) + specifier: ^2.11.0 + version: 2.11.0(react@18.2.0) '@sanity/image-url': specifier: ^1.0.2 version: 1.0.2 @@ -442,7 +442,7 @@ importers: version: 2.0.7(react-dom@18.2.0)(react-is@18.2.0)(react@18.2.0)(styled-components@6.1.8) '@sanity/ui-workshop': specifier: ^1.0.0 - version: 1.2.11(@sanity/icons@2.11.2)(@sanity/ui@2.0.7)(@types/node@18.19.8)(react-dom@18.2.0)(react@18.2.0)(styled-components@6.1.8) + version: 1.2.11(@sanity/icons@2.11.0)(@sanity/ui@2.0.7)(@types/node@18.19.8)(react-dom@18.2.0)(react@18.2.0)(styled-components@6.1.8) '@sanity/util': specifier: workspace:* version: link:../../packages/@sanity/util @@ -1275,8 +1275,8 @@ importers: specifier: ^3.0.0 version: 3.0.0 '@sanity/icons': - specifier: ^2.8.0 - version: 2.11.2(react@18.2.0) + specifier: ^2.11.0 + version: 2.11.0(react@18.2.0) '@sanity/ui': specifier: ^2.0.1 version: 2.0.7(react-dom@18.2.0)(react-is@18.2.0)(react@18.2.0)(styled-components@6.1.8) @@ -1383,8 +1383,8 @@ importers: specifier: ^3.0.0 version: 3.0.0 '@sanity/icons': - specifier: ^2.8.0 - version: 2.11.2(react@18.2.0) + specifier: ^2.11.0 + version: 2.11.0(react@18.2.0) '@sanity/image-url': specifier: ^1.0.2 version: 1.0.2 @@ -1685,7 +1685,7 @@ importers: version: 1.0.0-alpha.44(@sanity/pkg-utils@2.4.10)(@types/node@18.19.8)(react-dom@18.2.0)(react-is@18.2.0)(react@18.2.0)(sanity@packages+sanity)(styled-components@6.1.8) '@sanity/ui-workshop': specifier: ^1.2.11 - version: 1.2.11(@sanity/icons@2.11.2)(@sanity/ui@2.0.7)(@types/node@18.19.8)(react-dom@18.2.0)(react@18.2.0)(styled-components@6.1.8) + version: 1.2.11(@sanity/icons@2.11.0)(@sanity/ui@2.0.7)(@types/node@18.19.8)(react-dom@18.2.0)(react@18.2.0)(styled-components@6.1.8) '@testing-library/jest-dom': specifier: ^6.2.0 version: 6.2.0(@jest/globals@29.7.0)(jest@29.7.0) @@ -5732,7 +5732,7 @@ packages: sanity: ^3.26 styled-components: ^5.2 || ^6.0.0 dependencies: - '@sanity/icons': 2.11.2(react@18.2.0) + '@sanity/icons': 2.11.0(react@18.2.0) '@sanity/incompatible-plugin': 1.0.4(react-dom@18.2.0)(react@18.2.0) '@sanity/ui': 2.0.7(react-dom@18.2.0)(react-is@18.2.0)(react@18.2.0)(styled-components@6.1.8) date-fns: 2.30.0 @@ -5842,7 +5842,7 @@ packages: react: ^18 sanity: ^3.14 dependencies: - '@sanity/icons': 2.11.2(react@18.2.0) + '@sanity/icons': 2.11.0(react@18.2.0) '@sanity/incompatible-plugin': 1.0.4(react-dom@18.2.0)(react@18.2.0) '@sanity/ui': 1.9.3(react-dom@18.2.0)(react-is@18.2.0)(react@18.2.0)(styled-components@6.1.8) lodash: 4.17.21 @@ -5862,8 +5862,8 @@ packages: react: 18.2.0 dev: false - /@sanity/icons@2.11.2(react@18.2.0): - resolution: {integrity: sha512-TDA854ZCvMENPoQBqgcpTZk0r/ts+2rrcWeJcwF56BtrTFKFWU2KAgj/u2o7QDTJ3OuBOsihy8B70VZ6ab9YUw==} + /@sanity/icons@2.11.0(react@18.2.0): + resolution: {integrity: sha512-4YX22bRbcBXBTP/Zis14je48VJdS+W++KKltWFNPphcQFr2n0IRDJ0tech/TD7PL0bo/L9s3BIcsmh0pa2u+Zg==} engines: {node: '>=14.0.0'} peerDependencies: react: ^18 @@ -6049,7 +6049,7 @@ packages: '@sanity/client': ^6.15.2 dependencies: '@sanity/client': 6.15.3 - '@sanity/icons': 2.11.2(react@18.2.0) + '@sanity/icons': 2.11.0(react@18.2.0) '@sanity/preview-url-secret': 1.6.4(@sanity/client@6.15.3) '@sanity/ui': 2.0.7(react-dom@18.2.0)(react-is@18.2.0)(react@18.2.0)(styled-components@6.1.8) '@sanity/uuid': 3.0.2 @@ -6133,7 +6133,7 @@ packages: '@portabletext/toolkit': 2.0.10 '@sanity/client': 6.15.3 '@sanity/color': 2.2.5 - '@sanity/icons': 2.11.2(react@18.2.0) + '@sanity/icons': 2.11.0(react@18.2.0) '@sanity/pkg-utils': 2.4.10(@types/node@18.19.8)(typescript@5.4.2) '@sanity/ui': 1.9.3(react-dom@18.2.0)(react-is@18.2.0)(react@18.2.0)(styled-components@6.1.8) '@types/cpx': 1.5.5 @@ -6189,7 +6189,7 @@ packages: '@portabletext/toolkit': 2.0.10 '@sanity/client': 6.15.3 '@sanity/color': 2.2.5 - '@sanity/icons': 2.11.2(react@18.2.0) + '@sanity/icons': 2.11.0(react@18.2.0) '@sanity/pkg-utils': 3.3.8(@types/node@18.19.8)(typescript@5.4.2) '@sanity/ui': 1.9.3(react-dom@18.2.0)(react-is@18.2.0)(react@18.2.0)(styled-components@5.3.11) '@types/cpx': 1.5.5 @@ -6227,7 +6227,7 @@ packages: - terser dev: true - /@sanity/ui-workshop@1.2.11(@sanity/icons@2.11.2)(@sanity/ui@2.0.7)(@types/node@18.19.8)(react-dom@18.2.0)(react@18.2.0)(styled-components@6.1.8): + /@sanity/ui-workshop@1.2.11(@sanity/icons@2.11.0)(@sanity/ui@2.0.7)(@types/node@18.19.8)(react-dom@18.2.0)(react@18.2.0)(styled-components@6.1.8): resolution: {integrity: sha512-vzj7upIF7wq2W1HEA0D5VSkR8axaH4Rt07yNTAaas7CLgjSE9r2d+Gnkrq4FIbIuN1GYhhCD+D3/s60GaZrpQw==} hasBin: true peerDependencies: @@ -6237,7 +6237,7 @@ packages: react-dom: ^18 styled-components: ^5.2 || ^6 dependencies: - '@sanity/icons': 2.11.2(react@18.2.0) + '@sanity/icons': 2.11.0(react@18.2.0) '@sanity/ui': 2.0.7(react-dom@18.2.0)(react-is@18.2.0)(react@18.2.0)(styled-components@6.1.8) '@vitejs/plugin-react': 4.2.1(vite@4.5.2) axe-core: 4.8.3 @@ -6277,7 +6277,7 @@ packages: dependencies: '@floating-ui/react-dom': 2.0.0(react-dom@18.2.0)(react@18.2.0) '@sanity/color': 2.2.5 - '@sanity/icons': 2.11.2(react@18.2.0) + '@sanity/icons': 2.11.0(react@18.2.0) csstype: 3.1.3 framer-motion: 10.18.0(react-dom@18.2.0)(react@18.2.0) react: 18.2.0 @@ -6298,7 +6298,7 @@ packages: dependencies: '@floating-ui/react-dom': 2.0.0(react-dom@18.2.0)(react@18.2.0) '@sanity/color': 2.2.5 - '@sanity/icons': 2.11.2(react@18.2.0) + '@sanity/icons': 2.11.0(react@18.2.0) csstype: 3.1.3 framer-motion: 10.18.0(react-dom@18.2.0)(react@18.2.0) react: 18.2.0 @@ -6318,7 +6318,7 @@ packages: dependencies: '@floating-ui/react-dom': 2.0.8(react-dom@18.2.0)(react@18.2.0) '@sanity/color': 3.0.0 - '@sanity/icons': 2.11.2(react@18.2.0) + '@sanity/icons': 2.11.0(react@18.2.0) csstype: 3.1.3 framer-motion: 11.0.8(react-dom@18.2.0)(react@18.2.0) react: 18.2.0 @@ -16399,7 +16399,7 @@ packages: dependencies: '@mux/mux-player-react': 1.15.0(@types/react@18.2.48)(react-dom@18.2.0)(react@18.2.0) '@mux/upchunk': 3.3.1 - '@sanity/icons': 2.11.2(react@18.2.0) + '@sanity/icons': 2.11.0(react@18.2.0) '@sanity/incompatible-plugin': 1.0.4(react-dom@18.2.0)(react@18.2.0) '@sanity/ui': 1.9.3(react-dom@18.2.0)(react-is@18.2.0)(react@18.2.0)(styled-components@6.1.8) '@sanity/uuid': 3.0.2