Skip to content

Commit

Permalink
feat: Update cozy deps
Browse files Browse the repository at this point in the history
And apply all BC
  • Loading branch information
Merkur39 authored and Crash-- committed Jul 3, 2023
1 parent 7d9f8ee commit ec3c0cd
Show file tree
Hide file tree
Showing 16 changed files with 47 additions and 53 deletions.
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,15 +39,15 @@
"cozy-device-helper": "2.7.0",
"cozy-doctypes": "1.83.8",
"cozy-flags": "3.0.1",
"cozy-harvest-lib": "^14.2.1",
"cozy-harvest-lib": "^15.0.0",
"cozy-intent": "^2.3.0",
"cozy-keys-lib": "^4.3.0",
"cozy-keys-lib": "^5.0.0",
"cozy-logger": "1.10.0",
"cozy-realtime": "4.2.9",
"cozy-sharing": "7.1.0",
"cozy-stack-client": "^36.2.0",
"cozy-tsconfig": "1.2.0",
"cozy-ui": "^86.2.0",
"cozy-ui": "^88.1.1",
"date-fns": "2.28.0",
"es-abstract": "1.20.2",
"form-data": "2.5.1",
Expand Down
8 changes: 4 additions & 4 deletions src/components/AddButton/ActionsBottomSheet.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@ import { useI18n } from 'cozy-ui/transpiled/react/I18n'
import BottomSheet, {
BottomSheetItem
} from 'cozy-ui/transpiled/react/BottomSheet'
import List from 'cozy-ui/transpiled/react/MuiCozyTheme/List'
import ListItem from 'cozy-ui/transpiled/react/MuiCozyTheme/ListItem'
import ListItemIcon from 'cozy-ui/transpiled/react/MuiCozyTheme/ListItemIcon'
import List from 'cozy-ui/transpiled/react/List'
import ListItem from 'cozy-ui/transpiled/react/ListItem'
import ListItemIcon from 'cozy-ui/transpiled/react/ListItemIcon'
import ListItemText from 'cozy-ui/transpiled/react/ListItemText'
import Divider from 'cozy-ui/transpiled/react/MuiCozyTheme/Divider'
import Divider from 'cozy-ui/transpiled/react/Divider'
import Icon from 'cozy-ui/transpiled/react/Icon'
import Typography from 'cozy-ui/transpiled/react/Typography'

Expand Down
2 changes: 1 addition & 1 deletion src/components/Applications.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import memoize from 'lodash/memoize'

import { useQuery } from 'cozy-client'
import flag from 'cozy-flags'
import Divider from 'cozy-ui/transpiled/react/MuiCozyTheme/Divider'
import Divider from 'cozy-ui/transpiled/react/Divider'
import { useI18n } from 'cozy-ui/transpiled/react'

import AppTile from 'components/AppTile'
Expand Down
4 changes: 2 additions & 2 deletions src/components/Banners/UpdateMessage.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

import React, { useState, useCallback } from 'react'
import { useI18n } from 'cozy-ui/transpiled/react/I18n'
import Button from 'cozy-ui/transpiled/react/Button'
import Infos from 'cozy-ui/transpiled/react/Infos'
import Button from 'cozy-ui/transpiled/react/deprecated/Button'
import Infos from 'cozy-ui/transpiled/react/deprecated/Infos'
import Typography from 'cozy-ui/transpiled/react/Typography'
import PropTypes from 'prop-types'

Expand Down
2 changes: 1 addition & 1 deletion src/components/CandidateCategoryTile.jsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React from 'react'
import PropTypes from 'prop-types'
import Grid from 'cozy-ui/transpiled/react/MuiCozyTheme/Grid'
import Grid from 'cozy-ui/transpiled/react/Grid'
import AppLinker from 'cozy-ui/transpiled/react/AppLinker'
import { useClient, generateWebLink } from 'cozy-client'
import AppIcon from 'cozy-ui/transpiled/react/AppIcon'
Expand Down
2 changes: 1 addition & 1 deletion src/components/CandidateServiceTile.jsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import React, { useState } from 'react'
import PropTypes from 'prop-types'
import get from 'lodash/get'
import Alerter from 'cozy-ui/transpiled/react/Alerter'
import Alerter from 'cozy-ui/transpiled/react/deprecated/Alerter'
import { useClient } from 'cozy-client'
import useRegistryInformation from 'hooks/useRegistryInformation'
import { KonnectorSuggestionModal } from 'cozy-harvest-lib'
Expand Down
2 changes: 1 addition & 1 deletion src/components/EmptyServicesListTip.jsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React from 'react'

import { Media, Img, Bd } from 'cozy-ui/transpiled/react/Media'
import { Media, Img, Bd } from 'cozy-ui/transpiled/react/deprecated/Media'
import ArrowIllustration from 'assets/images/drawing-arrow-up.svg'
import { useI18n } from 'cozy-ui/transpiled/react'
import Typography from 'cozy-ui/transpiled/react/Typography'
Expand Down
2 changes: 1 addition & 1 deletion src/components/Failure.jsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import React from 'react'

import Stack from 'cozy-ui/transpiled/react/Stack'
import Button from 'cozy-ui/transpiled/react/Button'
import Button from 'cozy-ui/transpiled/react/deprecated/Button'
import Icon from 'cozy-ui/transpiled/react/Icon'
import EmptyIcon from 'assets/icons/color/default.svg'
import { useI18n } from 'cozy-ui/transpiled/react'
Expand Down
2 changes: 1 addition & 1 deletion src/components/HeroHeader/CornerButton.jsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React from 'react'
import cx from 'classnames'
import Button, { ButtonLink } from 'cozy-ui/transpiled/react/Button'
import Button, { ButtonLink } from 'cozy-ui/transpiled/react/deprecated/Button'
import { useCozyTheme } from 'cozy-ui/transpiled/react/CozyTheme'
import useBreakpoints from 'cozy-ui/transpiled/react/hooks/useBreakpoints'
import { makeStyles } from 'cozy-ui/transpiled/react/styles'
Expand Down
10 changes: 5 additions & 5 deletions src/components/KonnectorErrors.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,16 @@ import { useClient, models } from 'cozy-client'
import { useNavigate } from 'react-router-dom'

import AppIcon from 'cozy-ui/transpiled/react/AppIcon'
import Button from 'cozy-ui/transpiled/react/Button'
import Button from 'cozy-ui/transpiled/react/deprecated/Button'
import CrossButton from 'cozy-ui/transpiled/react/Icons/Cross'
import Divider from 'cozy-ui/transpiled/react/MuiCozyTheme/Divider'
import Divider from 'cozy-ui/transpiled/react/Divider'
import Icon from 'cozy-ui/transpiled/react/Icon'
import IconButton from 'cozy-ui/transpiled/react/IconButton'
import Infos from 'cozy-ui/transpiled/react/Infos'
import InfosCarrousel from 'cozy-ui/transpiled/react/InfosCarrousel'
import Infos from 'cozy-ui/transpiled/react/deprecated/Infos'
import InfosCarrousel from 'cozy-ui/transpiled/react/deprecated/InfosCarrousel'
import Typography from 'cozy-ui/transpiled/react/Typography'
import useBreakpoints from 'cozy-ui/transpiled/react/hooks/useBreakpoints'
import { Media, Bd } from 'cozy-ui/transpiled/react/Media'
import { Media, Bd } from 'cozy-ui/transpiled/react/deprecated/Media'
import { getErrorLocaleBound, KonnectorJobError } from 'cozy-harvest-lib'
import { useI18n } from 'cozy-ui/transpiled/react/I18n'

Expand Down
2 changes: 1 addition & 1 deletion src/components/KonnectorSuccess.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import sortBy from 'lodash/sortBy'
import React, { Component } from 'react'
import PropTypes from 'prop-types'

import Button from 'cozy-ui/transpiled/react/Button'
import Button from 'cozy-ui/transpiled/react/deprecated/Button'
import { translate } from 'cozy-ui/transpiled/react/I18n'

import styles from 'styles/konnectorSuccess.styl'
Expand Down
2 changes: 1 addition & 1 deletion src/components/MoveModal.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import React, { useState } from 'react'

import { useI18n } from 'cozy-ui/transpiled/react/I18n'
import { useClient } from 'cozy-client'
import { Button } from 'cozy-ui/transpiled/react/Button'
import { Button } from 'cozy-ui/transpiled/react/deprecated/Button'
import { IllustrationDialog } from 'cozy-ui/transpiled/react/CozyDialogs'

import { useInstanceSettings } from 'hooks/useInstanceSettings'
Expand Down
2 changes: 1 addition & 1 deletion src/components/Shortcuts/ShortcutsView.jsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React from 'react'

import Divider from 'cozy-ui/transpiled/react/MuiCozyTheme/Divider'
import Divider from 'cozy-ui/transpiled/react/Divider'

import { ShortcutLink } from 'components/ShortcutLink'

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Object {
class="shortcuts-list-wrapper u-m-auto u-w-100"
>
<p
class="MuiTypography-root styles__divider___-oC9I u-mv-0 MuiTypography-body2 MuiTypography-colorTextPrimary"
class="MuiTypography-root styles__divider___SuA5q u-mv-0 MuiTypography-body2 MuiTypography-colorTextPrimary"
>
List title
</p>
Expand Down Expand Up @@ -78,7 +78,7 @@ Object {
class="shortcuts-list-wrapper u-m-auto u-w-100"
>
<p
class="MuiTypography-root styles__divider___-oC9I u-mv-0 MuiTypography-body2 MuiTypography-colorTextPrimary"
class="MuiTypography-root styles__divider___SuA5q u-mv-0 MuiTypography-body2 MuiTypography-colorTextPrimary"
>
List title
</p>
Expand Down Expand Up @@ -204,7 +204,7 @@ Object {
class="shortcuts-list-wrapper u-m-auto u-w-100"
>
<p
class="MuiTypography-root styles__divider___-oC9I u-mv-0 MuiTypography-body2 MuiTypography-colorTextPrimary"
class="MuiTypography-root styles__divider___SuA5q u-mv-0 MuiTypography-body2 MuiTypography-colorTextPrimary"
>
a
</p>
Expand Down Expand Up @@ -270,7 +270,7 @@ Object {
class="shortcuts-list-wrapper u-m-auto u-w-100"
>
<p
class="MuiTypography-root styles__divider___-oC9I u-mv-0 MuiTypography-body2 MuiTypography-colorTextPrimary"
class="MuiTypography-root styles__divider___SuA5q u-mv-0 MuiTypography-body2 MuiTypography-colorTextPrimary"
>
c
</p>
Expand Down Expand Up @@ -339,7 +339,7 @@ Object {
class="shortcuts-list-wrapper u-m-auto u-w-100"
>
<p
class="MuiTypography-root styles__divider___-oC9I u-mv-0 MuiTypography-body2 MuiTypography-colorTextPrimary"
class="MuiTypography-root styles__divider___SuA5q u-mv-0 MuiTypography-body2 MuiTypography-colorTextPrimary"
>
a
</p>
Expand Down Expand Up @@ -405,7 +405,7 @@ Object {
class="shortcuts-list-wrapper u-m-auto u-w-100"
>
<p
class="MuiTypography-root styles__divider___-oC9I u-mv-0 MuiTypography-body2 MuiTypography-colorTextPrimary"
class="MuiTypography-root styles__divider___SuA5q u-mv-0 MuiTypography-body2 MuiTypography-colorTextPrimary"
>
c
</p>
Expand Down
2 changes: 1 addition & 1 deletion src/containers/App.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { Q, useClient } from 'cozy-client'
import { useWebviewIntent } from 'cozy-intent'
import { isFlagshipApp } from 'cozy-device-helper'

import Alerter from 'cozy-ui/transpiled/react/Alerter'
import Alerter from 'cozy-ui/transpiled/react/deprecated/Alerter'
import IconSprite from 'cozy-ui/transpiled/react/Icon/Sprite'
import Spinner from 'cozy-ui/transpiled/react/Spinner'
import { Main } from 'cozy-ui/transpiled/react/Layout'
Expand Down
40 changes: 17 additions & 23 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -8935,20 +8935,13 @@ cozy-client@^36.2.0:
sift "^6.0.0"
url-search-params-polyfill "^8.0.0"

[email protected], cozy-device-helper@^2.7.0:
[email protected], cozy-device-helper@^2.1.0, cozy-device-helper@^2.7.0:
version "2.7.0"
resolved "https://registry.yarnpkg.com/cozy-device-helper/-/cozy-device-helper-2.7.0.tgz#573749997f18e5a1f11f720faec8c9bf2406beeb"
integrity sha512-jMzW7s4IDuMivbsP8fo1IWW1z5l0wJ0u440E0fQmdsi+Zm/L9GXFKthLuuceYqXlH6c/APUCfpozJqjFMMHU1A==
dependencies:
lodash "^4.17.19"

cozy-device-helper@^1.7.5:
version "1.10.0"
resolved "https://registry.yarnpkg.com/cozy-device-helper/-/cozy-device-helper-1.10.0.tgz#86c102d32b012f648dbce36cc6031d3895ee95a2"
integrity sha512-0yqxsgBVlKNs4sI4j1x4Pi5JVsXOh4yf/8aS+KTGZjXHvMcDP1tfUlkWw3JmkWR9qihcBlkaE16TpGxdfsiNSA==
dependencies:
lodash "4.17.19"

cozy-device-helper@^2.6.0:
version "2.6.0"
resolved "https://registry.yarnpkg.com/cozy-device-helper/-/cozy-device-helper-2.6.0.tgz#07d83e6e412244f92bba30a0e04560bf3e1abb79"
Expand Down Expand Up @@ -8996,10 +8989,10 @@ [email protected]:
dependencies:
microee "^0.0.6"

cozy-harvest-lib@^14.2.1:
version "14.2.1"
resolved "https://registry.yarnpkg.com/cozy-harvest-lib/-/cozy-harvest-lib-14.2.1.tgz#afbdf3cce7f50d7a91a2b84fe006893acff1a3bf"
integrity sha512-iT46+PP1aN7bsUFRZlJu66ScLh3/opvaKCrVbgYLDpq10e8UupW+g8P0/Zv6dlyYWxmYhMkGdQXK5kU/n8HzSQ==
cozy-harvest-lib@^15.0.0:
version "15.0.0"
resolved "https://registry.yarnpkg.com/cozy-harvest-lib/-/cozy-harvest-lib-15.0.0.tgz#536c68f97d563f0a17488b0f83adfee5ab64f267"
integrity sha512-N+S1k+r3ubvapu+43hdR8iEUF/JxsRlxg4KejPnq+CfCYnE6kBt8Ub81hMgd56m4RvbXhP/jdCsuTj98JFQBVw==
dependencies:
"@cozy/minilog" "^1.0.0"
"@sentry/browser" "^6.0.1"
Expand Down Expand Up @@ -9037,17 +9030,18 @@ cozy-interapp@^0.5.4:
resolved "https://registry.yarnpkg.com/cozy-interapp/-/cozy-interapp-0.5.7.tgz#75cafe1732ad660e2caf1ccf412f302594705f39"
integrity sha512-laIL/ATYV9oZnmqS+LMoO9qzk8XjJ1v2/YrA1Po2rI8ia/MDgjYO07424x2RuvHhNOBPGjD+JmqwQ0rNDlLW+Q==

cozy-keys-lib@^4.3.0:
version "4.3.0"
resolved "https://registry.yarnpkg.com/cozy-keys-lib/-/cozy-keys-lib-4.3.0.tgz#21de5bfc1a3147a63076205d2a24f911ffbdd349"
integrity sha512-3QoaGHCyZpDxMzfjDmSo3NY27WOVJ24PYcwVdh9rFa8OdXe9E/1bJVWj2nW/9AmUJKcvGVVKD93n8mS120WNoA==
cozy-keys-lib@^5.0.0:
version "5.0.0"
resolved "https://registry.yarnpkg.com/cozy-keys-lib/-/cozy-keys-lib-5.0.0.tgz#7c52c60e620aa5ccaf2c8014418e2b0a1b3b0ea6"
integrity sha512-kl+mtbUqgopASRPW8MG4Lpd1yWgdnjN+klV7jpNe76yEbi/iuWB+xtq528TpTDe8OjieAiq5TnM/N+K1g997dg==
dependencies:
"@aspnet/signalr" "^1.1.4"
"@aspnet/signalr-protocol-msgpack" "^1.1.0"
"@cozy/minilog" "^1.0.0"
big-integer "^1.6.44"
classnames "^2.2.6"
cozy-device-helper "^1.7.5"
cozy-device-helper "^2.1.0"
cozy-logger "^1.10.1"
lodash "^4.17.15"
lunr "^2.3.6"
microee "^0.0.6"
Expand Down Expand Up @@ -9194,10 +9188,10 @@ [email protected]:
resolved "https://registry.yarnpkg.com/cozy-tsconfig/-/cozy-tsconfig-1.2.0.tgz#17e61f960f139fae4d26cbac2254b9ab632b269e"
integrity sha512-TRHnY9goF3FzVlUbP7BcHxuN2XAA4AmppT4fHHZmTKaSwYTByVR1Al+riFMDbce94kJZ1wzl9WNLWQuqzGZ6Cw==

cozy-ui@^86.2.0:
version "86.2.0"
resolved "https://registry.yarnpkg.com/cozy-ui/-/cozy-ui-86.2.0.tgz#9edd7693f420912c3c36eb5499f1f2b47e84a610"
integrity sha512-E6WmiCgzNfs1JcvbPt1pdRKtAWQ4TtLSmUfC8nCwN2wrcnapfjcQqfWLZZR+EoxfTkALkZRC5BaxsIfKzUQyiA==
cozy-ui@^88.1.1:
version "88.1.1"
resolved "https://registry.yarnpkg.com/cozy-ui/-/cozy-ui-88.1.1.tgz#16d7adf6b0d1c726d2c19efeea6f4c6f405ce71d"
integrity sha512-mVQEooFek56MAYYSmLc7yp+iSXlWLCKF2HgpefcbSQ7x7gDuHNeIhVJ65N24auJ8g1UHVy61WE+JHKOoFFQ/ag==
dependencies:
"@babel/runtime" "^7.3.4"
"@material-ui/core" "4.12.3"
Expand Down Expand Up @@ -16056,9 +16050,9 @@ msgpack5@^4.0.2:
readable-stream "^2.3.6"
safe-buffer "^5.1.2"

"mui-bottom-sheet@https://github.com/cozy/mui-bottom-sheet.git#v1.0.9":
"mui-bottom-sheet@git+https://github.com/cozy/mui-bottom-sheet.git#v1.0.9":
version "1.0.8"
resolved "https://github.com/cozy/mui-bottom-sheet.git#3dc4c2a245ab39079bc2f73546bccf80847be14c"
resolved "git+https://github.com/cozy/mui-bottom-sheet.git#3dc4c2a245ab39079bc2f73546bccf80847be14c"
dependencies:
"@juggle/resize-observer" "^3.1.3"
jest-environment-jsdom-sixteen "^1.0.3"
Expand Down

0 comments on commit ec3c0cd

Please sign in to comment.