cozy-ui 70.1.0 → 70.2.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/CHANGELOG.md CHANGED
@@ -1,3 +1,10 @@
1
+ # [70.2.0](https://github.com/cozy/cozy-ui/compare/v70.1.0...v70.2.0) (2022-07-25)
2
+
3
+
4
+ ### Features
5
+
6
+ * Add withStyles and useTheme helpers from MUI ([578db69](https://github.com/cozy/cozy-ui/commit/578db69))
7
+
1
8
  # [70.1.0](https://github.com/cozy/cozy-ui/compare/v70.0.0...v70.1.0) (2022-07-25)
2
9
 
3
10
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cozy-ui",
3
- "version": "70.1.0",
3
+ "version": "70.2.0",
4
4
  "description": "Cozy apps UI SDK",
5
5
  "main": "./index.js",
6
6
  "bin": {
@@ -0,0 +1,2 @@
1
+ import { useTheme } from '@material-ui/core'
2
+ export default useTheme
@@ -0,0 +1,2 @@
1
+ import { withStyles } from '@material-ui/core/styles'
2
+ export default withStyles
package/react/index.js CHANGED
@@ -29,6 +29,8 @@ export { default as AccordionDetails } from './MuiCozyTheme/AccordionDetails'
29
29
  export { default as Toggle } from './Toggle'
30
30
  export { default as withBreakpoints } from './helpers/withBreakpoints'
31
31
  export { default as makeStyles } from './helpers/makeStyles'
32
+ export { default as withStyles } from './helpers/withStyles'
33
+ export { default as useTheme } from './helpers/useTheme'
32
34
  export { default as useBreakpoints } from './hooks/useBreakpoints'
33
35
  export { default as useBrowserOffline } from './hooks/useBrowserOffline'
34
36
  export { Media, Img, Bd } from './Media'
@@ -0,0 +1,2 @@
1
+ import { useTheme } from '@material-ui/core';
2
+ export default useTheme;
@@ -0,0 +1,2 @@
1
+ import { withStyles } from '@material-ui/core/styles';
2
+ export default withStyles;
@@ -22,6 +22,8 @@ export { default as AccordionDetails } from './MuiCozyTheme/AccordionDetails';
22
22
  export { default as Toggle } from './Toggle';
23
23
  export { default as withBreakpoints } from './helpers/withBreakpoints';
24
24
  export { default as makeStyles } from './helpers/makeStyles';
25
+ export { default as withStyles } from './helpers/withStyles';
26
+ export { default as useTheme } from './helpers/useTheme';
25
27
  export { default as useBreakpoints } from './hooks/useBreakpoints';
26
28
  export { default as useBrowserOffline } from './hooks/useBrowserOffline';
27
29
  export { Media, Img, Bd } from './Media';