cozy-keys-lib 5.0.0 → 6.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cozy-keys-lib",
3
- "version": "5.0.0",
3
+ "version": "6.0.0",
4
4
  "description": "Interactions between cozy-keys and a bitwarden server",
5
5
  "browser": "transpiled/index.js",
6
6
  "main": "transpiled/index.node.js",
@@ -49,10 +49,10 @@
49
49
  "babel-plugin-mock-imports": "^1.0.2",
50
50
  "babel-plugin-rewire": "1.2.0",
51
51
  "babel-preset-cozy-app": "^1.6.0",
52
- "cozy-client": "^38.8.0",
52
+ "cozy-client": "^40.5.0",
53
53
  "cozy-flags": "2.8.6",
54
54
  "cozy-intent": "^2.0.2",
55
- "cozy-ui": "^88.1.0",
55
+ "cozy-ui": "^93.1.1",
56
56
  "enzyme": "^3.10.0",
57
57
  "enzyme-adapter-react-16": "^1.14.0",
58
58
  "enzyme-to-json": "3.4.0",
@@ -86,10 +86,10 @@
86
86
  "zxcvbn": "^4.4.2"
87
87
  },
88
88
  "peerDependencies": {
89
- "cozy-client": "^38.8.0",
89
+ "cozy-client": "^40.5.0",
90
90
  "cozy-flags": "^2.8.6",
91
91
  "cozy-intent": "^2.0.2",
92
- "cozy-ui": "^88.1.0",
92
+ "cozy-ui": "^93.1.1",
93
93
  "react": "^16.9.0",
94
94
  "react-dom": "^16.9.0"
95
95
  }
@@ -1,7 +1,7 @@
1
1
  import React, { useState } from 'react'
2
2
  import TextField from 'cozy-ui/transpiled/react/TextField'
3
3
  import InputAdornment from '@material-ui/core/InputAdornment'
4
- import { useI18n } from 'cozy-ui/transpiled/react/I18n'
4
+ import { useI18n } from 'cozy-ui/transpiled/react/providers/I18n'
5
5
  import Icon from 'cozy-ui/transpiled/react/Icon'
6
6
  import EyeIcon from 'cozy-ui/transpiled/react/Icons/Eye'
7
7
  import EyeClosedIcon from 'cozy-ui/transpiled/react/Icons/EyeClosed'
@@ -6,11 +6,11 @@ import PropTypes from 'prop-types'
6
6
  import { useClient } from 'cozy-client'
7
7
  import flag from 'cozy-flags'
8
8
  import Typography from 'cozy-ui/transpiled/react/Typography'
9
- import useBreakpoints from 'cozy-ui/transpiled/react/hooks/useBreakpoints'
10
- import { useI18n } from 'cozy-ui/transpiled/react/I18n'
9
+ import useBreakpoints from 'cozy-ui/transpiled/react/providers/Breakpoints'
10
+ import { useI18n } from 'cozy-ui/transpiled/react/providers/I18n'
11
11
  import Button from 'cozy-ui/transpiled/react/deprecated/Button'
12
12
  import Icon from 'cozy-ui/transpiled/react/Icon'
13
- import CozyTheme from 'cozy-ui/transpiled/react/CozyTheme'
13
+ import CozyTheme from 'cozy-ui/transpiled/react/providers/CozyTheme'
14
14
  import { IllustrationDialog } from 'cozy-ui/transpiled/react/CozyDialogs'
15
15
  import KeychainIcon from 'cozy-ui/transpiled/react/Icons/Keychain'
16
16
  import { useWebviewIntent } from 'cozy-intent'
@@ -2,8 +2,8 @@ import React from 'react'
2
2
  import UnlockForm from './UnlockForm'
3
3
  import { render, fireEvent, act, waitFor } from '@testing-library/react'
4
4
  import CozyClient, { CozyProvider } from 'cozy-client'
5
- import { BreakpointsProvider } from 'cozy-ui/transpiled/react/hooks/useBreakpoints'
6
- import I18n from 'cozy-ui/transpiled/react/I18n'
5
+ import { BreakpointsProvider } from 'cozy-ui/transpiled/react/providers/Breakpoints'
6
+ import I18n from 'cozy-ui/transpiled/react/providers/I18n'
7
7
  import { VaultProvider, useVaultClient } from './VaultContext'
8
8
  import en from '../locales/en.json'
9
9
 
@@ -3,7 +3,7 @@ import PropTypes from 'prop-types'
3
3
 
4
4
  import Spinner from 'cozy-ui/transpiled/react/Spinner'
5
5
  import Overlay from 'cozy-ui/transpiled/react/deprecated/Overlay'
6
- import withLocales from 'cozy-ui/transpiled/react/I18n/withLocales'
6
+ import withLocales from 'cozy-ui/transpiled/react/providers/I18n/withLocales'
7
7
 
8
8
  import localesEn from '../locales/en.json'
9
9
  import localesFr from '../locales/fr.json'
@@ -5,7 +5,7 @@ var _excluded = ["hidden"];
5
5
  import React, { useState } from 'react';
6
6
  import TextField from 'cozy-ui/transpiled/react/TextField';
7
7
  import InputAdornment from '@material-ui/core/InputAdornment';
8
- import { useI18n } from 'cozy-ui/transpiled/react/I18n';
8
+ import { useI18n } from 'cozy-ui/transpiled/react/providers/I18n';
9
9
  import Icon from 'cozy-ui/transpiled/react/Icon';
10
10
  import EyeIcon from 'cozy-ui/transpiled/react/Icons/Eye';
11
11
  import EyeClosedIcon from 'cozy-ui/transpiled/react/Icons/EyeClosed';
@@ -8,11 +8,11 @@ import PropTypes from 'prop-types';
8
8
  import { useClient } from 'cozy-client';
9
9
  import flag from 'cozy-flags';
10
10
  import Typography from 'cozy-ui/transpiled/react/Typography';
11
- import useBreakpoints from 'cozy-ui/transpiled/react/hooks/useBreakpoints';
12
- import { useI18n } from 'cozy-ui/transpiled/react/I18n';
11
+ import useBreakpoints from 'cozy-ui/transpiled/react/providers/Breakpoints';
12
+ import { useI18n } from 'cozy-ui/transpiled/react/providers/I18n';
13
13
  import Button from 'cozy-ui/transpiled/react/deprecated/Button';
14
14
  import Icon from 'cozy-ui/transpiled/react/Icon';
15
- import CozyTheme from 'cozy-ui/transpiled/react/CozyTheme';
15
+ import CozyTheme from 'cozy-ui/transpiled/react/providers/CozyTheme';
16
16
  import { IllustrationDialog } from 'cozy-ui/transpiled/react/CozyDialogs';
17
17
  import KeychainIcon from 'cozy-ui/transpiled/react/Icons/Keychain';
18
18
  import { useWebviewIntent } from 'cozy-intent';
@@ -4,8 +4,8 @@ import React from 'react';
4
4
  import UnlockForm from './UnlockForm';
5
5
  import { render, fireEvent, act, waitFor } from '@testing-library/react';
6
6
  import CozyClient, { CozyProvider } from 'cozy-client';
7
- import { BreakpointsProvider } from 'cozy-ui/transpiled/react/hooks/useBreakpoints';
8
- import I18n from 'cozy-ui/transpiled/react/I18n';
7
+ import { BreakpointsProvider } from 'cozy-ui/transpiled/react/providers/Breakpoints';
8
+ import I18n from 'cozy-ui/transpiled/react/providers/I18n';
9
9
  import { VaultProvider, useVaultClient } from './VaultContext';
10
10
  import en from '../locales/en.json';
11
11
  jest.mock('./VaultContext', function () {
@@ -5,7 +5,7 @@ import React, { useContext, useState, useEffect } from 'react';
5
5
  import PropTypes from 'prop-types';
6
6
  import Spinner from 'cozy-ui/transpiled/react/Spinner';
7
7
  import Overlay from 'cozy-ui/transpiled/react/deprecated/Overlay';
8
- import withLocales from 'cozy-ui/transpiled/react/I18n/withLocales';
8
+ import withLocales from 'cozy-ui/transpiled/react/providers/I18n/withLocales';
9
9
  import localesEn from '../locales/en.json';
10
10
  import localesFr from '../locales/fr.json';
11
11
  import { VaultContext } from './VaultContext';