From e55ae9fd9c8e4756cd73c8851a18652363d1ea0f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Th=C3=A9o=20Poizat?= Date: Wed, 5 Jul 2023 16:44:42 +0200 Subject: [PATCH] feat: Update cozy-ui and all its dependencies BREAKING CHANGE: - you need to upload cozy-ui >= 88.2.1 - you need to upload cozy-client >= 38.9.2 --- package.json | 8 +- src/components/Banner.jsx | 2 +- src/components/Settings/index.jsx | 2 +- .../__snapshots__/Bar.spec.jsx.snap | 4 +- yarn.lock | 154 +++++++++++------- 5 files changed, 107 insertions(+), 63 deletions(-) diff --git a/package.json b/package.json index 3ae3f021e..4bfe304a0 100644 --- a/package.json +++ b/package.json @@ -55,13 +55,13 @@ "cozy-authentication": "1.19.1", "cozy-intent": "^1.7.0", "@cozy/minilog": "^1.0.0", - "cozy-client": "^34.1.5", + "cozy-client": "^38.9.2", "cozy-device-helper": "2.6.0", "cozy-logger": "1.9.1", "cozy-flags": "^2.10.2", "cozy-interapp": "0.4.9", "cozy-realtime": "^4.0.5", - "cozy-ui": "^77.9.1", + "cozy-ui": "^88.2.1", "css-loader": "1.0.1", "css-mqpacker": "7.0.0", "cssnano-preset-advanced": "4.0.7", @@ -116,12 +116,12 @@ }, "peerDependencies": { "@cozy/minilog": "^1.0.0", - "cozy-client": "^34.1.5", + "cozy-client": "^38.9.2", "cozy-device-helper": "2.6.0", "cozy-flags": "^2.10.2", "cozy-interapp": "0.4.9", "cozy-realtime": "^4.0.5", - "cozy-ui": "^77.9.1", + "cozy-ui": "^88.2.1", "cozy-logger": "1.9.1" }, "jest": { diff --git a/src/components/Banner.jsx b/src/components/Banner.jsx index ed4f985cc..905a122f8 100644 --- a/src/components/Banner.jsx +++ b/src/components/Banner.jsx @@ -1,5 +1,5 @@ import React, { Component } from 'react' -import { ButtonLink } from 'cozy-ui/transpiled/react/Button' +import { ButtonLink } from 'cozy-ui/transpiled/react/deprecated/Button' import { translate } from 'cozy-ui/transpiled/react/I18n' class Banner extends Component { diff --git a/src/components/Settings/index.jsx b/src/components/Settings/index.jsx index 33f9d9194..1b3213a0f 100644 --- a/src/components/Settings/index.jsx +++ b/src/components/Settings/index.jsx @@ -4,7 +4,7 @@ import { compose } from 'redux' import get from 'lodash/get' import { translate } from 'cozy-ui/transpiled/react/I18n' -import { Button } from 'cozy-ui/transpiled/react/Button' +import { Button } from 'cozy-ui/transpiled/react/deprecated/Button' import GearIcon from 'cozy-ui/transpiled/react/Icons/Gear' import { queryConnect } from 'cozy-client/dist' diff --git a/src/components/__snapshots__/Bar.spec.jsx.snap b/src/components/__snapshots__/Bar.spec.jsx.snap index 4b56a74a6..8bb9f2df5 100644 --- a/src/components/__snapshots__/Bar.spec.jsx.snap +++ b/src/components/__snapshots__/Bar.spec.jsx.snap @@ -38,7 +38,7 @@ exports[`Bar should change allow theme overrides 1`] = `
- + - +