Skip to content

Commit c351e18

Browse files
committed
feat: Upgrade packages
1 parent d2aee0d commit c351e18

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

44 files changed

+109
-77
lines changed

package.json

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -66,8 +66,8 @@
6666
"@cozy/minilog": "^1.0.0",
6767
"@sentry/integrations": "^7.114.0",
6868
"@sentry/react": "^8.5.0",
69-
"cozy-bar": "^27.0.0",
70-
"cozy-client": "^60.14.0",
69+
"cozy-bar": "^29.2.0",
70+
"cozy-client": "^60.21.1",
7171
"cozy-dataproxy-lib": "4.11.0",
7272
"cozy-device-helper": "^3.8.0",
7373
"cozy-devtools": "^1.4.1",
@@ -79,10 +79,10 @@
7979
"cozy-minilog": "^3.10.0",
8080
"cozy-pouch-link": "^60.13.0",
8181
"cozy-realtime": "^5.8.0",
82-
"cozy-search": "^0.13.3",
83-
"cozy-stack-client": "^60.6.0",
84-
"cozy-ui": "^133.0.1",
85-
"cozy-ui-plus": "^2.1.1",
82+
"cozy-search": "^0.16.2",
83+
"cozy-stack-client": "^60.21.1",
84+
"cozy-ui": "^136.0.0",
85+
"cozy-ui-plus": "^4.5.1",
8686
"emoji-js": "3.7.0",
8787
"focus-trap-react": "4.0.1",
8888
"fuse.js": "6.5.3",
@@ -103,6 +103,7 @@
103103
"redux-raven-middleware": "1.2.0",
104104
"redux-thunk": "2.3.0",
105105
"sinon": "7.5.0",
106+
"twake-i18n": "^0.3.1",
106107
"url-search-params-polyfill": "7.0.1"
107108
}
108109
}

src/ducks/AlternativeStore/useAlternativeStore.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
import { useMemo } from 'react'
2+
import { useExtendI18n } from 'twake-i18n'
23

34
import { useQueryAll } from 'cozy-client'
45
import { IOCozyFile } from 'cozy-client/types/types'
56
import flag from 'cozy-flags'
6-
import { useExtendI18n } from 'cozy-ui/transpiled/react/providers/I18n'
77

88
import { generateI18nConfig } from '@/ducks/AlternativeStore/helpers'
99
import { transformData } from '@/ducks/AlternativeStore/transformData'

src/ducks/apps/Containers.jsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
import { connect } from 'react-redux'
2-
3-
import { translate } from 'cozy-ui/transpiled/react/providers/I18n'
2+
import { translate } from 'twake-i18n'
43

54
import { getInstalledApps, getRegistryApps } from './index'
65

src/ducks/apps/components/AppInstallation.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ import pickBy from 'lodash/pickBy'
55
import React, { Component } from 'react'
66
import { PropTypes } from 'react-proptypes'
77
import { connect } from 'react-redux'
8+
import { translate } from 'twake-i18n'
89

910
import { withClient } from 'cozy-client'
1011
import flags from 'cozy-flags'
@@ -17,7 +18,6 @@ import {
1718
ModalHeader,
1819
ModalFooter
1920
} from 'cozy-ui/transpiled/react/deprecated/Modal'
20-
import { translate } from 'cozy-ui/transpiled/react/providers/I18n'
2121

2222
import storeConfig from '@/config/index.json'
2323
import { APP_TYPE, getAppBySlug, installAppFromRegistry } from '@/ducks/apps'

src/ducks/apps/components/ApplicationPage/Details.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
import PropTypes from 'prop-types'
22
import React, { useState } from 'react'
33
import { useLocation, useNavigate } from 'react-router-dom'
4+
import { useI18n } from 'twake-i18n'
45

56
import { useClient } from 'cozy-client'
67
import Button from 'cozy-ui/transpiled/react/Buttons'
78
import Icon from 'cozy-ui/transpiled/react/Icon'
89
import Toggle from 'cozy-ui/transpiled/react/Toggle'
9-
import { useI18n } from 'cozy-ui/transpiled/react/providers/I18n'
1010

1111
import androidIcon from '@/assets/icons/platforms/icon-android.svg'
1212
import iosIcon from '@/assets/icons/platforms/icon-ios.svg'

src/ducks/apps/components/ApplicationPage/Gallery.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import React, { Component } from 'react'
2+
import { translate } from 'twake-i18n'
23

34
import Modal, { ModalContent } from 'cozy-ui/transpiled/react/deprecated/Modal'
4-
import { translate } from 'cozy-ui/transpiled/react/providers/I18n'
55

66
export class Gallery extends Component {
77
constructor(props) {

src/ducks/apps/components/ApplicationPage/HeaderActions.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import React from 'react'
22
import { Link, useLocation } from 'react-router-dom'
3+
import { useI18n } from 'twake-i18n'
34

45
import { useClient } from 'cozy-client'
56
import { isFlagshipApp } from 'cozy-device-helper'
@@ -8,7 +9,6 @@ import Button from 'cozy-ui/transpiled/react/Buttons'
89
import Icon from 'cozy-ui/transpiled/react/Icon'
910
import CloudIcon from 'cozy-ui/transpiled/react/Icons/Cloud'
1011
import useBreakpoints from 'cozy-ui/transpiled/react/providers/Breakpoints'
11-
import { useI18n } from 'cozy-ui/transpiled/react/providers/I18n'
1212

1313
import { handleIntent } from './helpers'
1414

src/ducks/apps/components/ApplicationPage/HeaderShortcutActions.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import React, { useState } from 'react'
2+
import { useI18n } from 'twake-i18n'
23

34
import { useClient, useFetchShortcut } from 'cozy-client'
45
import { move } from 'cozy-client/dist/models/file'
@@ -8,7 +9,6 @@ import Icon from 'cozy-ui/transpiled/react/Icon'
89
import CloudIcon from 'cozy-ui/transpiled/react/Icons/Cloud'
910
import { useAlert } from 'cozy-ui/transpiled/react/providers/Alert'
1011
import useBreakpoints from 'cozy-ui/transpiled/react/providers/Breakpoints'
11-
import { useI18n } from 'cozy-ui/transpiled/react/providers/I18n'
1212

1313
import { buildFileFromPathQuery } from '@/ducks/queries'
1414

src/ducks/apps/components/ApplicationPage/Maintenance.jsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
import React from 'react'
2-
3-
import { translate } from 'cozy-ui/transpiled/react/providers/I18n'
2+
import { translate } from 'twake-i18n'
43

54
import maintenanceIllu from '@/assets/illustrations/maintenance.svg'
65
import ReactMarkdownWrapper from '@/ducks/components/ReactMarkdownWrapper'

src/ducks/apps/components/ApplicationPage/index.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@ import FocusTrap from 'focus-trap-react'
22
import PropTypes from 'prop-types'
33
import React, { Component } from 'react'
44
import { Link, useMatch, useParams } from 'react-router-dom'
5+
import { translate } from 'twake-i18n'
56

67
import { BarCenter } from 'cozy-bar'
78
import Button from 'cozy-ui/transpiled/react/Buttons'
89
import Icon from 'cozy-ui/transpiled/react/Icon'
910
import Left from 'cozy-ui/transpiled/react/Icons/Left'
1011
import withBreakpoints from 'cozy-ui/transpiled/react/helpers/withBreakpoints'
11-
import { translate } from 'cozy-ui/transpiled/react/providers/I18n'
1212
import AppIcon from 'cozy-ui-plus/dist/AppIcon'
1313

1414
import { getAppIconProps } from '@/ducks/apps'

0 commit comments

Comments
 (0)