Releases: cozy/cozy-ui
Releases · cozy/cozy-ui
v113.5.0
v113.4.0
v113.3.0
v113.2.0
v113.1.0
v113.0.0
v112.3.0
v112.2.0
v112.1.0
v112.0.0
112.0.0 (2024-10-24)
Features
- hooks: Add useClientErrors from cozy-client (deb505e)
- providers: Add Encrypted from cozy-viewer (612cff6)
- Remove Viewer (7d2b7ef)
BREAKING CHANGES
If you want to use the Viewer, you must import components from cozy-viewer
. You need to :
- Add the new package
yarn add cozy-viewer
- Make sure your app complice with all the peer dependencies
- Add the new stylesheet
import 'cozy-viewer/dist/stylesheet.css'
- Replace the import from
import Viewer from 'cozy-ui/transpiled/react/Viewer'
toimport Viewer from 'cozy-viewer'
- Replace the deep import from
import Something from 'cozy-ui/transpiled/react/Viewer/...'
toimport { Something } from 'cozy-viewer'
Note : If the component is not exposed at the root, use a PR to make it so rather than passing through /dist