cozy-ui 81.6.0 → 81.7.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.
Files changed (376) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/package.json +24 -18
  3. package/react/AccordionActions/Readme.md +1 -1
  4. package/react/AccordionActions/index.js +1 -1
  5. package/react/ActionMenu/ActionMenuEffects.ts +1 -1
  6. package/react/ActionMenu/NotInlineWrapper.jsx +1 -1
  7. package/react/ActionMenu/__snapshots__/index.spec.jsx.snap +2 -2
  8. package/react/Alert/index.jsx +1 -1
  9. package/react/AlertTitle/Readme.md +1 -1
  10. package/react/AlertTitle/index.jsx +2 -2
  11. package/react/AppBar/Readme.md +1 -1
  12. package/react/AppBar/index.js +1 -1
  13. package/react/AppTitle/index.jsx +1 -1
  14. package/react/Backdrop/Readme.md +1 -1
  15. package/react/Backdrop/index.js +1 -1
  16. package/react/Badge/index.jsx +1 -1
  17. package/react/BottomNavigation/Readme.md +1 -1
  18. package/react/BottomNavigation/index.js +1 -1
  19. package/react/BottomNavigationAction/Readme.md +1 -1
  20. package/react/BottomNavigationAction/index.js +1 -1
  21. package/react/BottomSheet/BottomSheet.jsx +2 -2
  22. package/react/BottomSheet/README.md +5 -5
  23. package/react/Box/Readme.md +1 -1
  24. package/react/Box/index.js +1 -1
  25. package/react/Breadcrumbs/Readme.md +6 -4
  26. package/react/Breadcrumbs/index.jsx +1 -1
  27. package/react/Buttons/index.jsx +1 -1
  28. package/react/CardActionArea/Readme.md +1 -1
  29. package/react/CardActionArea/index.js +1 -1
  30. package/react/CardActions/Readme.md +1 -1
  31. package/react/CardActions/index.js +1 -1
  32. package/react/CardContent/Readme.md +1 -1
  33. package/react/CardContent/index.js +1 -1
  34. package/react/CardHeader/Readme.md +1 -1
  35. package/react/CardHeader/index.js +1 -1
  36. package/react/CardMedia/Readme.md +1 -1
  37. package/react/CardMedia/index.js +1 -1
  38. package/react/Checkbox/index.jsx +2 -2
  39. package/react/Chips/index.jsx +1 -1
  40. package/react/CircleButton/index.jsx +13 -2
  41. package/react/CircularProgress/Readme.md +1 -1
  42. package/react/CircularProgress/index.js +1 -1
  43. package/react/ClickAwayListener/Readme.md +1 -1
  44. package/react/ClickAwayListener/index.js +1 -1
  45. package/react/Collapse/Readme.md +1 -1
  46. package/react/Collapse/index.js +1 -1
  47. package/react/ContactsList/__snapshots__/ContactRow.spec.js.snap +2 -2
  48. package/react/ContactsListModal/AddContact/AddContactContent.jsx +1 -1
  49. package/react/ContactsListModal/MobileHeader.jsx +2 -2
  50. package/react/ContactsListModal/index.jsx +1 -2
  51. package/react/Container/Readme.md +1 -1
  52. package/react/Container/index.js +1 -1
  53. package/react/CozyDialogs/DialogTransition.jsx +2 -2
  54. package/react/CozyDialogs/useCozyDialog.js +0 -1
  55. package/react/CssBaseline/Readme.md +1 -1
  56. package/react/CssBaseline/index.js +1 -1
  57. package/react/Dialog/DialogActions.jsx +1 -1
  58. package/react/Dialog/DialogContent.jsx +1 -1
  59. package/react/Dialog/DialogContentText.jsx +1 -1
  60. package/react/Dialog/DialogEffects.spec.tsx +1 -1
  61. package/react/Dialog/DialogEffects.ts +1 -1
  62. package/react/Dialog/DialogTitle.jsx +1 -1
  63. package/react/Dialog/Readme.md +1 -1
  64. package/react/Dialog/index.jsx +1 -1
  65. package/react/DialogActions/Readme.md +1 -1
  66. package/react/DialogActions/index.js +1 -1
  67. package/react/DialogContent/Readme.md +1 -1
  68. package/react/DialogContent/index.js +1 -1
  69. package/react/DialogContentText/Readme.md +1 -1
  70. package/react/DialogContentText/index.js +1 -1
  71. package/react/DialogTitle/Readme.md +1 -1
  72. package/react/DialogTitle/index.js +1 -1
  73. package/react/Drawer/Readme.md +1 -1
  74. package/react/Drawer/index.js +1 -1
  75. package/react/DropdownButton/index.jsx +1 -1
  76. package/react/Fab/index.js +1 -1
  77. package/react/Fade/Readme.md +1 -1
  78. package/react/Fade/index.js +1 -1
  79. package/react/FilePicker/FilePickerBodyItem.spec.jsx +1 -1
  80. package/react/FilledInput/Readme.md +1 -1
  81. package/react/FilledInput/index.js +1 -1
  82. package/react/FormControl/Readme.md +1 -1
  83. package/react/FormControl/index.js +5 -1
  84. package/react/FormControlLabel/Readme.md +1 -1
  85. package/react/FormControlLabel/index.js +1 -1
  86. package/react/FormGroup/Readme.md +1 -1
  87. package/react/FormGroup/index.js +1 -1
  88. package/react/FormHelperText/Readme.md +1 -1
  89. package/react/FormHelperText/index.js +1 -1
  90. package/react/FormLabel/Readme.md +1 -1
  91. package/react/FormLabel/index.js +1 -1
  92. package/react/GridList/Readme.md +1 -1
  93. package/react/GridList/index.js +11 -2
  94. package/react/GridListTile/Readme.md +1 -1
  95. package/react/GridListTile/index.js +11 -2
  96. package/react/GridListTileBar/Readme.md +1 -1
  97. package/react/GridListTileBar/index.js +11 -2
  98. package/react/Grow/Readme.md +1 -1
  99. package/react/Grow/index.js +1 -1
  100. package/react/Hidden/Readme.md +1 -1
  101. package/react/Hidden/index.js +1 -1
  102. package/react/I18n/format.jsx +12 -2
  103. package/react/I18n/format.spec.jsx +17 -5
  104. package/react/IconButton/index.jsx +1 -1
  105. package/react/ImageList/Readme.md +1 -0
  106. package/react/ImageList/index.js +3 -0
  107. package/react/ImageListItem/Readme.md +1 -0
  108. package/react/ImageListItem/index.js +3 -0
  109. package/react/ImageListItemBar/Readme.md +1 -0
  110. package/react/ImageListItemBar/index.js +3 -0
  111. package/react/InputAdornment/Readme.md +1 -1
  112. package/react/InputAdornment/index.js +1 -1
  113. package/react/LinearProgress/Readme.md +1 -1
  114. package/react/LinearProgress/index.js +1 -1
  115. package/react/Link/Readme.md +1 -1
  116. package/react/Link/index.js +5 -1
  117. package/react/ListItemAvatar/Readme.md +1 -1
  118. package/react/ListItemAvatar/index.js +1 -1
  119. package/react/ListItemText/index.jsx +1 -1
  120. package/react/MenuItem/Readme.md +1 -1
  121. package/react/MenuItem/index.js +1 -1
  122. package/react/MenuList/Readme.md +1 -1
  123. package/react/MenuList/index.js +1 -1
  124. package/react/MobileStepper/Readme.md +1 -1
  125. package/react/MobileStepper/index.js +1 -1
  126. package/react/Modal/ModalEffects.ts +1 -1
  127. package/react/MuiCozyTheme/Accordion/Readme.md +5 -3
  128. package/react/MuiCozyTheme/Accordion/index.js +1 -1
  129. package/react/MuiCozyTheme/AccordionDetails/index.js +1 -1
  130. package/react/MuiCozyTheme/AccordionSummary/index.js +8 -1
  131. package/react/MuiCozyTheme/Buttons/Readme.md +1 -1
  132. package/react/MuiCozyTheme/Buttons/index.js +1 -1
  133. package/react/MuiCozyTheme/Divider/Readme.md +1 -1
  134. package/react/MuiCozyTheme/Divider/index.jsx +2 -2
  135. package/react/MuiCozyTheme/Grid/index.js +1 -1
  136. package/react/MuiCozyTheme/List/Readme.md +1 -1
  137. package/react/MuiCozyTheme/List/index.js +1 -1
  138. package/react/MuiCozyTheme/ListItem/index.js +1 -1
  139. package/react/MuiCozyTheme/ListItemIcon/index.js +1 -1
  140. package/react/MuiCozyTheme/ListItemSecondaryAction/index.js +1 -1
  141. package/react/MuiCozyTheme/ListSubheader/index.js +1 -1
  142. package/react/MuiCozyTheme/Menu/Readme.md +1 -1
  143. package/react/MuiCozyTheme/Menu/index.js +1 -1
  144. package/react/MuiCozyTheme/Menus/Readme.md +1 -1
  145. package/react/MuiCozyTheme/Menus/index.js +5 -5
  146. package/react/MuiCozyTheme/RaisedList/README.md +1 -1
  147. package/react/MuiCozyTheme/RaisedList/index.js +2 -2
  148. package/react/MuiCozyTheme/Readme.md +1 -1
  149. package/react/MuiCozyTheme/Switch/Readme.md +1 -1
  150. package/react/MuiCozyTheme/Switch/index.jsx +1 -1
  151. package/react/MuiCozyTheme/TextField/index.js +5 -1
  152. package/react/MuiCozyTheme/helpers.js +253 -0
  153. package/react/MuiCozyTheme/makeInvertedOverrides.js +121 -0
  154. package/react/MuiCozyTheme/makeOverrides.js +673 -946
  155. package/react/MuiCozyTheme/makePalette.js +5 -5
  156. package/react/MuiCozyTheme/makeTheme.jsx +4 -19
  157. package/react/MuiTabs/index.jsx +7 -2
  158. package/react/NativeSelect/Readme.md +1 -1
  159. package/react/NativeSelect/index.js +1 -1
  160. package/react/NoSsr/Readme.md +1 -1
  161. package/react/NoSsr/index.js +1 -1
  162. package/react/OutlinedInput/Readme.md +1 -1
  163. package/react/OutlinedInput/index.js +1 -1
  164. package/react/Paper/Readme.md +2 -1
  165. package/react/Paper/index.js +1 -1
  166. package/react/PieChart/index.jsx +4 -4
  167. package/react/Progress/index.js +2 -2
  168. package/react/Radio/index.jsx +1 -1
  169. package/react/RadioGroup/Readme.md +1 -1
  170. package/react/RadioGroup/index.js +1 -1
  171. package/react/Radios/index.jsx +1 -1
  172. package/react/RootRef/Readme.md +1 -1
  173. package/react/RootRef/index.js +6 -2
  174. package/react/ScopedCssBaseline/Readme.md +1 -1
  175. package/react/ScopedCssBaseline/index.js +1 -1
  176. package/react/Select/Readme.md +1 -1
  177. package/react/Select/index.js +5 -1
  178. package/react/SelectionBar/index.jsx +1 -1
  179. package/react/Sidebar/index.jsx +1 -1
  180. package/react/Skeleton/Readme.md +1 -1
  181. package/react/Skeleton/index.js +1 -1
  182. package/react/Slide/Readme.md +1 -1
  183. package/react/Slide/index.js +1 -1
  184. package/react/Slider/Readme.md +1 -1
  185. package/react/Slider/index.js +1 -1
  186. package/react/Snackbar/index.jsx +1 -1
  187. package/react/SnackbarContent/Readme.md +1 -1
  188. package/react/SnackbarContent/index.js +1 -1
  189. package/react/SquareAppIcon/__snapshots__/SquareAppIcon.spec.js.snap +46 -46
  190. package/react/SquareAppIcon/index.jsx +2 -2
  191. package/react/Step/Readme.md +1 -1
  192. package/react/Step/index.js +1 -1
  193. package/react/StepButton/Readme.md +1 -1
  194. package/react/StepButton/index.js +1 -1
  195. package/react/StepConnector/Readme.md +1 -1
  196. package/react/StepConnector/index.js +1 -1
  197. package/react/StepContent/Readme.md +1 -1
  198. package/react/StepContent/index.js +1 -1
  199. package/react/StepIcon/Readme.md +1 -1
  200. package/react/StepIcon/index.js +1 -1
  201. package/react/StepLabel/Readme.md +1 -1
  202. package/react/StepLabel/index.js +1 -1
  203. package/react/Stepper/index.jsx +4 -4
  204. package/react/SvgIcon/Readme.md +1 -1
  205. package/react/SvgIcon/index.js +1 -1
  206. package/react/SwipeableDrawer/Readme.md +1 -1
  207. package/react/SwipeableDrawer/index.js +1 -1
  208. package/react/Tab/Readme.md +1 -1
  209. package/react/Tab/index.js +1 -1
  210. package/react/Tabs/index.jsx +1 -1
  211. package/react/TextareaAutosize/Readme.md +1 -1
  212. package/react/TextareaAutosize/index.js +1 -1
  213. package/react/Toolbar/Readme.md +1 -1
  214. package/react/Toolbar/index.js +1 -1
  215. package/react/Tooltip/Readme.md +1 -1
  216. package/react/Tooltip/index.jsx +5 -1
  217. package/react/Typography/Readme.md +6 -3
  218. package/react/Typography/index.jsx +7 -1
  219. package/react/UploadQueue/index.jsx +1 -1
  220. package/react/UploadQueue/index.spec.jsx +5 -0
  221. package/react/Viewer/Panel/QualificationListItemContact.jsx +1 -0
  222. package/react/Viewer/Panel/QualificationListItemDate.jsx +1 -0
  223. package/react/Viewer/Panel/QualificationListItemInformation.jsx +4 -4
  224. package/react/Viewer/Panel/QualificationListItemInformation.spec.jsx +11 -1
  225. package/react/Viewer/Panel/QualificationListItemOther.jsx +1 -0
  226. package/react/Viewer/ViewerInformationsWrapper.jsx +1 -1
  227. package/react/Viewer/components/InformationPanel.jsx +1 -1
  228. package/react/Viewer/components/Toolbar.jsx +1 -1
  229. package/react/Zoom/Readme.md +1 -1
  230. package/react/Zoom/index.js +1 -1
  231. package/react/__snapshots__/examples.spec.jsx.snap +791 -1075
  232. package/react/examples.spec.jsx +1 -1
  233. package/react/hooks/useCycle.md +4 -4
  234. package/react/styles/index.js +17 -1
  235. package/release.config.js +2 -1
  236. package/transpiled/react/AccordionActions/index.js +1 -1
  237. package/transpiled/react/ActionMenu/ActionMenuEffects.js +1 -1
  238. package/transpiled/react/ActionMenu/NotInlineWrapper.js +1 -1
  239. package/transpiled/react/Alert/index.js +1 -1
  240. package/transpiled/react/AlertTitle/index.js +2 -2
  241. package/transpiled/react/AppBar/index.js +1 -1
  242. package/transpiled/react/AppTitle/index.js +1 -1
  243. package/transpiled/react/Backdrop/index.js +1 -1
  244. package/transpiled/react/Badge/index.js +1 -1
  245. package/transpiled/react/BottomNavigation/index.js +1 -1
  246. package/transpiled/react/BottomNavigationAction/index.js +1 -1
  247. package/transpiled/react/BottomSheet/BottomSheet.js +2 -2
  248. package/transpiled/react/Box/index.js +1 -1
  249. package/transpiled/react/Breadcrumbs/index.js +1 -1
  250. package/transpiled/react/Buttons/index.js +1 -1
  251. package/transpiled/react/CardActionArea/index.js +1 -1
  252. package/transpiled/react/CardActions/index.js +1 -1
  253. package/transpiled/react/CardContent/index.js +1 -1
  254. package/transpiled/react/CardHeader/index.js +1 -1
  255. package/transpiled/react/CardMedia/index.js +1 -1
  256. package/transpiled/react/Checkbox/index.js +2 -2
  257. package/transpiled/react/Chips/index.js +1 -1
  258. package/transpiled/react/CircleButton/index.js +9 -3
  259. package/transpiled/react/CircularProgress/index.js +1 -1
  260. package/transpiled/react/ClickAwayListener/index.js +1 -1
  261. package/transpiled/react/Collapse/index.js +1 -1
  262. package/transpiled/react/ContactsListModal/AddContact/AddContactContent.js +1 -1
  263. package/transpiled/react/ContactsListModal/MobileHeader.js +2 -2
  264. package/transpiled/react/ContactsListModal/index.js +1 -2
  265. package/transpiled/react/Container/index.js +1 -1
  266. package/transpiled/react/CozyDialogs/DialogTransition.js +2 -2
  267. package/transpiled/react/CozyDialogs/useCozyDialog.js +0 -1
  268. package/transpiled/react/CssBaseline/index.js +1 -1
  269. package/transpiled/react/Dialog/DialogActions.js +1 -1
  270. package/transpiled/react/Dialog/DialogContent.js +1 -1
  271. package/transpiled/react/Dialog/DialogContentText.js +1 -1
  272. package/transpiled/react/Dialog/DialogEffects.d.ts +1 -1
  273. package/transpiled/react/Dialog/DialogEffects.js +1 -1
  274. package/transpiled/react/Dialog/DialogTitle.js +1 -1
  275. package/transpiled/react/Dialog/index.js +1 -1
  276. package/transpiled/react/DialogActions/index.js +1 -1
  277. package/transpiled/react/DialogContent/index.js +1 -1
  278. package/transpiled/react/DialogContentText/index.js +1 -1
  279. package/transpiled/react/DialogTitle/index.js +1 -1
  280. package/transpiled/react/Drawer/index.js +1 -1
  281. package/transpiled/react/DropdownButton/index.js +1 -1
  282. package/transpiled/react/Fab/index.js +1 -1
  283. package/transpiled/react/Fade/index.js +1 -1
  284. package/transpiled/react/FilledInput/index.js +1 -1
  285. package/transpiled/react/FormControl/index.js +4 -1
  286. package/transpiled/react/FormControlLabel/index.js +1 -1
  287. package/transpiled/react/FormGroup/index.js +1 -1
  288. package/transpiled/react/FormHelperText/index.js +1 -1
  289. package/transpiled/react/FormLabel/index.js +1 -1
  290. package/transpiled/react/GridList/index.js +11 -2
  291. package/transpiled/react/GridListTile/index.js +11 -2
  292. package/transpiled/react/GridListTileBar/index.js +11 -2
  293. package/transpiled/react/Grow/index.js +1 -1
  294. package/transpiled/react/Hidden/index.js +1 -1
  295. package/transpiled/react/I18n/format.js +11 -2
  296. package/transpiled/react/IconButton/index.js +1 -1
  297. package/transpiled/react/ImageList/index.js +2 -0
  298. package/transpiled/react/ImageListItem/index.js +2 -0
  299. package/transpiled/react/ImageListItemBar/index.js +2 -0
  300. package/transpiled/react/InputAdornment/index.js +1 -1
  301. package/transpiled/react/LinearProgress/index.js +1 -1
  302. package/transpiled/react/Link/index.js +4 -1
  303. package/transpiled/react/ListItemAvatar/index.js +1 -1
  304. package/transpiled/react/ListItemText/index.js +1 -1
  305. package/transpiled/react/MenuItem/index.js +1 -1
  306. package/transpiled/react/MenuList/index.js +1 -1
  307. package/transpiled/react/MobileStepper/index.js +1 -1
  308. package/transpiled/react/Modal/ModalEffects.js +1 -1
  309. package/transpiled/react/MuiCozyTheme/Accordion/index.js +1 -1
  310. package/transpiled/react/MuiCozyTheme/AccordionDetails/index.js +1 -1
  311. package/transpiled/react/MuiCozyTheme/AccordionSummary/index.js +6 -1
  312. package/transpiled/react/MuiCozyTheme/Buttons/index.js +1 -1
  313. package/transpiled/react/MuiCozyTheme/Divider/index.js +2 -2
  314. package/transpiled/react/MuiCozyTheme/Grid/index.js +1 -1
  315. package/transpiled/react/MuiCozyTheme/List/index.js +1 -1
  316. package/transpiled/react/MuiCozyTheme/ListItem/index.js +1 -1
  317. package/transpiled/react/MuiCozyTheme/ListItemIcon/index.js +1 -1
  318. package/transpiled/react/MuiCozyTheme/ListItemSecondaryAction/index.js +1 -1
  319. package/transpiled/react/MuiCozyTheme/ListSubheader/index.js +1 -1
  320. package/transpiled/react/MuiCozyTheme/Menu/index.js +1 -1
  321. package/transpiled/react/MuiCozyTheme/Menus/index.js +5 -5
  322. package/transpiled/react/MuiCozyTheme/RaisedList/index.js +2 -2
  323. package/transpiled/react/MuiCozyTheme/Switch/index.js +1 -1
  324. package/transpiled/react/MuiCozyTheme/TextField/index.js +4 -1
  325. package/transpiled/react/MuiCozyTheme/helpers.js +210 -0
  326. package/transpiled/react/MuiCozyTheme/makeInvertedOverrides.js +117 -0
  327. package/transpiled/react/MuiCozyTheme/makeOverrides.js +133 -381
  328. package/transpiled/react/MuiCozyTheme/makePalette.js +5 -4
  329. package/transpiled/react/MuiCozyTheme/makeTheme.js +5 -22
  330. package/transpiled/react/MuiTabs/index.js +8 -2
  331. package/transpiled/react/NativeSelect/index.js +1 -1
  332. package/transpiled/react/NoSsr/index.js +1 -1
  333. package/transpiled/react/OutlinedInput/index.js +1 -1
  334. package/transpiled/react/Paper/index.js +1 -1
  335. package/transpiled/react/PieChart/index.js +4 -4
  336. package/transpiled/react/Progress/index.js +2 -2
  337. package/transpiled/react/Radio/index.js +1 -1
  338. package/transpiled/react/RadioGroup/index.js +1 -1
  339. package/transpiled/react/Radios/index.js +1 -1
  340. package/transpiled/react/RootRef/index.js +5 -2
  341. package/transpiled/react/ScopedCssBaseline/index.js +1 -1
  342. package/transpiled/react/Select/index.js +4 -1
  343. package/transpiled/react/SelectionBar/index.js +1 -1
  344. package/transpiled/react/Sidebar/index.js +1 -1
  345. package/transpiled/react/Skeleton/index.js +1 -1
  346. package/transpiled/react/Slide/index.js +1 -1
  347. package/transpiled/react/Slider/index.js +1 -1
  348. package/transpiled/react/Snackbar/index.js +1 -1
  349. package/transpiled/react/SnackbarContent/index.js +1 -1
  350. package/transpiled/react/SquareAppIcon/index.js +2 -2
  351. package/transpiled/react/Step/index.js +1 -1
  352. package/transpiled/react/StepButton/index.js +1 -1
  353. package/transpiled/react/StepConnector/index.js +1 -1
  354. package/transpiled/react/StepContent/index.js +1 -1
  355. package/transpiled/react/StepIcon/index.js +1 -1
  356. package/transpiled/react/StepLabel/index.js +1 -1
  357. package/transpiled/react/Stepper/index.js +4 -4
  358. package/transpiled/react/SvgIcon/index.js +1 -1
  359. package/transpiled/react/SwipeableDrawer/index.js +1 -1
  360. package/transpiled/react/Tab/index.js +1 -1
  361. package/transpiled/react/Tabs/index.js +1 -1
  362. package/transpiled/react/TextareaAutosize/index.js +1 -1
  363. package/transpiled/react/Toolbar/index.js +1 -1
  364. package/transpiled/react/Tooltip/index.js +4 -1
  365. package/transpiled/react/Typography/index.js +5 -1
  366. package/transpiled/react/UploadQueue/index.js +1 -1
  367. package/transpiled/react/Viewer/Panel/QualificationListItemContact.js +2 -1
  368. package/transpiled/react/Viewer/Panel/QualificationListItemDate.js +2 -1
  369. package/transpiled/react/Viewer/Panel/QualificationListItemInformation.js +5 -4
  370. package/transpiled/react/Viewer/Panel/QualificationListItemOther.js +2 -1
  371. package/transpiled/react/Viewer/ViewerInformationsWrapper.js +1 -1
  372. package/transpiled/react/Viewer/components/InformationPanel.js +1 -1
  373. package/transpiled/react/Viewer/components/Toolbar.js +1 -1
  374. package/transpiled/react/Zoom/index.js +1 -1
  375. package/transpiled/react/styles/index.js +2 -1
  376. package/react/Banner/index.spec.jsx +0 -19
package/CHANGELOG.md CHANGED
@@ -1,3 +1,17 @@
1
+ # [81.7.0](https://github.com/cozy/cozy-ui/compare/v81.6.1-next...v81.7.0-next) (2023-03-21)
2
+
3
+
4
+ ### Features
5
+
6
+ * Fake feat to trigger deploy ([87ae9a0](https://github.com/cozy/cozy-ui/commit/87ae9a0))
7
+
8
+ ## [81.6.1](https://github.com/cozy/cozy-ui/compare/v81.6.0...v81.6.1) (2023-03-21)
9
+
10
+
11
+ ### Bug Fixes
12
+
13
+ * QualificationListItemInformation component ([2698d9f](https://github.com/cozy/cozy-ui/commit/2698d9f))
14
+
1
15
  # [81.6.0](https://github.com/cozy/cozy-ui/compare/v81.5.0...v81.6.0) (2023-03-17)
2
16
 
3
17
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cozy-ui",
3
- "version": "81.6.0",
3
+ "version": "81.7.0",
4
4
  "description": "Cozy apps UI SDK",
5
5
  "main": "./index.js",
6
6
  "bin": {
@@ -22,14 +22,14 @@
22
22
  "build:css:all": "yarn build:css && yarn build:css:utils && yarn run removeEmptyCss",
23
23
  "build:css": "env CSSMODULES=false yarn run stylus-build -o dist/cozy-ui.min.css stylus/cozy-ui/build.styl",
24
24
  "build:css:utils": "env CSSMODULES=false yarn run stylus-build -o dist/cozy-ui.utils.min.css stylus/cozy-ui/utils.styl",
25
- "build:css:kss": "env CSSMODULES=false yarn run stylus-build -o build/styleguide/app.css stylus/cozy-ui/build.styl",
25
+ "build:css:kss": "env CSSMODULES=false yarn run stylus-build -o build/next/styleguide/app.css stylus/cozy-ui/build.styl",
26
26
  "build:doc": "npm-run-all 'build:doc:*'",
27
27
  "build:doc:config": "copyfiles -u 1 docs/*.md docs/_config.yml build",
28
- "build:doc:kss": "kss --destination build/styleguide --title 'Cozy-UI Styleguide' --source stylus --builder node_modules/michelangelo/kss_styleguide/custom-template --homepage stylus/styleguide.md --css app.css",
28
+ "build:doc:kss": "kss --destination build/next/styleguide --title 'Cozy-UI Styleguide' --source stylus --builder node_modules/michelangelo/kss_styleguide/custom-template --homepage stylus/styleguide.md --css app.css",
29
29
  "build:doc:react": "styleguidist build --config docs/styleguide.config.js",
30
30
  "build:types": "tsc -p tsconfig-build.json",
31
31
  "build": "yarn build:types && env BABEL_ENV=transpilation babel --extensions .ts,.tsx,.js,.jsx react/ --out-dir transpiled/react --verbose",
32
- "clean:doc:kss": "rm -rf build/styleguide",
32
+ "clean:doc:kss": "rm -rf build/next/styleguide",
33
33
  "deploy:doc": "git-directory-deploy --directory build/ --branch gh-pages",
34
34
  "makeSvgr": "scripts/generate-svgr-icon.sh",
35
35
  "lint": "npm-run-all 'lint:*'",
@@ -39,12 +39,12 @@
39
39
  "palette": "scripts/make-palette.sh",
40
40
  "prebuild:css": "mkdir -p dist/ && stylus -C node_modules/normalize.css/normalize.css node_modules/normalize.css/normalize.styl",
41
41
  "prebuild:css:utils": "mkdir -p dist/",
42
- "prebuild:css:kss": "mkdir -p build/styleguide && stylus -C node_modules/normalize.css/normalize.css node_modules/normalize.css/normalize.styl",
42
+ "prebuild:css:kss": "mkdir -p build/next/styleguide && stylus -C node_modules/normalize.css/normalize.css node_modules/normalize.css/normalize.styl",
43
43
  "prebuild:doc:kss": "run-s clean:doc:kss build:css:kss",
44
44
  "makeSpriteAndPalette": "npm-run-all --parallel sprite palette",
45
45
  "semantic-release": "semantic-release",
46
46
  "sprite": "scripts/make-icon-sprite.sh",
47
- "screenshots": "node scripts/screenshots.js --screenshot-dir ./screenshots --styleguide-url file://$(pwd)/build/react --kss-dir ./build/styleguide",
47
+ "screenshots": "node scripts/screenshots.js --screenshot-dir ./screenshots --styleguide-url file://$(pwd)/build/next/react --kss-dir ./build/next/styleguide",
48
48
  "test": "jest",
49
49
  "test:noSnapshots": "jest --testPathIgnorePatterns 'react/examples.spec.jsx'",
50
50
  "test:snapshots": "jest react/examples.spec.jsx",
@@ -55,7 +55,7 @@
55
55
  "start:css": "yarn build:css --watch",
56
56
  "prestart:doc": "yarn sprite",
57
57
  "start:doc": "env BUILD_ENV=watch-styleguidist styleguidist server --config docs/styleguide.config.js",
58
- "start:doc:kss": "nodemon --ext styl,md --watch stylus --exec 'yarn build:doc:kss && http-server build/styleguide -p 4242'",
58
+ "start:doc:kss": "nodemon --ext styl,md --watch stylus --exec 'yarn build:doc:kss && http-server build/next/styleguide -p 4242'",
59
59
  "start": "yarn build --watch",
60
60
  "removeEmptyCss": "node scripts/removeEmptyCss.js",
61
61
  "optimizeIcons": "svgo -r --folder assets/icons"
@@ -74,6 +74,7 @@
74
74
  "@babel/helper-regex": "7.10.5",
75
75
  "@cozy/codemods": "^1.9.0",
76
76
  "@cozy/minilog": "^1.0.0",
77
+ "@mui/codemod": "^5.11.5",
77
78
  "@semantic-release/changelog": "6.0.1",
78
79
  "@semantic-release/git": "7.0.18",
79
80
  "@semantic-release/npm": "9.0.1",
@@ -82,6 +83,7 @@
82
83
  "@testing-library/react": "11.2.7",
83
84
  "@testing-library/react-hooks": "^3.2.1",
84
85
  "@testing-library/user-event": "^14.4.2",
86
+ "@wojtekmaj/enzyme-adapter-react-17": "^0.8.0",
85
87
  "autoprefixer-stylus": "1.0.0",
86
88
  "babel-loader": "8.2.4",
87
89
  "babel-plugin-css-modules-transform": "1.6.2",
@@ -89,19 +91,18 @@
89
91
  "babel-preset-cozy-app": "2.0.2",
90
92
  "browserslist-config-cozy": "0.4.0",
91
93
  "copyfiles": "2.4.1",
92
- "cozy-client": "^35.2.0",
94
+ "cozy-client": "^34.8.0",
93
95
  "cozy-device-helper": "2.0.0",
94
96
  "cozy-flags": "^2.10.1",
95
97
  "cozy-harvest-lib": "^6.7.3",
96
98
  "cozy-intent": "1.16.1",
97
99
  "cozy-logger": "^1.9.0",
98
100
  "cozy-sharing": "^3.10.0",
99
- "cozy-stack-client": "^35.0.0",
101
+ "cozy-stack-client": "^34.7.3",
100
102
  "css-loader": "0.28.11",
101
103
  "cssnano": "4.1.11",
102
104
  "cssnano-preset-advanced": "4.0.8",
103
105
  "enzyme": "3.11.0",
104
- "enzyme-adapter-react-16": "1.15.6",
105
106
  "enzyme-to-json": "3.6.2",
106
107
  "eslint": "8.11.0",
107
108
  "eslint-config-cozy-app": "4.0.0",
@@ -128,8 +129,8 @@
128
129
  "pretty": "2.0.0",
129
130
  "prop-types": "15.7.2",
130
131
  "puppeteer": "10.1.0",
131
- "react": "16.12.0",
132
- "react-dom": "16.12.0",
132
+ "react": "17.0.2",
133
+ "react-dom": "17.0.2",
133
134
  "react-hot-loader": "^4.3.11",
134
135
  "react-redux": "7.2.7",
135
136
  "react-styleguidist": "9.1.16",
@@ -153,8 +154,10 @@
153
154
  },
154
155
  "dependencies": {
155
156
  "@babel/runtime": "^7.3.4",
156
- "@material-ui/core": "4.12.3",
157
- "@material-ui/lab": "^4.0.0-alpha.61",
157
+ "@emotion/react": "^11.10.5",
158
+ "@emotion/styled": "^11.10.5",
159
+ "@mui/material": "^5.11.4",
160
+ "@mui/styles": "^5.11.2",
158
161
  "@popperjs/core": "^2.4.4",
159
162
  "bundlemon": "^1.3.2",
160
163
  "chart.js": "3.7.1",
@@ -179,14 +182,14 @@
179
182
  "rooks": "^5.11.2"
180
183
  },
181
184
  "peerDependencies": {
182
- "cozy-client": ">=35.2.0",
185
+ "cozy-client": ">=34.8.0",
183
186
  "cozy-device-helper": "^2.0.0",
184
187
  "cozy-harvest-lib": "^6.7.3",
185
188
  "cozy-intent": ">=1.3.0",
186
189
  "cozy-sharing": "^3.10.0",
187
190
  "puppeteer": "^1.20.0",
188
- "react": "^16.8.6",
189
- "react-dom": "^16.8.6"
191
+ "react": "^17.0.2",
192
+ "react-dom": "^17.0.2"
190
193
  },
191
194
  "peerDependenciesMeta ": {
192
195
  "puppeteer": {
@@ -205,5 +208,8 @@
205
208
  },
206
209
  "browserslist": [
207
210
  "extends browserslist-config-cozy"
208
- ]
211
+ ],
212
+ "publishConfig": {
213
+ "tag": "next"
214
+ }
209
215
  }
@@ -1 +1 @@
1
- Re-export of @material-ui. See [the official API](https://v4.mui.com/api/accordion-actions/).
1
+ Re-export of @material-ui. See [the official API](https://mui.com/material-ui/api/accordion-actions/).
@@ -1,3 +1,3 @@
1
- import MuiAccordionActions from '@material-ui/core/AccordionActions'
1
+ import MuiAccordionActions from '@mui/material/AccordionActions'
2
2
 
3
3
  export default MuiAccordionActions
@@ -2,7 +2,7 @@
2
2
 
3
3
  // TODO: remove eslint-disable and @ts-ignore rules
4
4
 
5
- import { Theme, useTheme } from '@material-ui/core'
5
+ import { Theme, useTheme } from '@mui/material'
6
6
 
7
7
  import { isFlagshipApp } from 'cozy-device-helper'
8
8
 
@@ -1,6 +1,6 @@
1
1
  import React, { useState } from 'react'
2
2
  import { usePopper } from 'react-popper'
3
- import ClickAwayListener from '@material-ui/core/ClickAwayListener'
3
+ import ClickAwayListener from '@mui/material/ClickAwayListener'
4
4
 
5
5
  import { getCssVariableValue } from '../utils/color'
6
6
 
@@ -128,12 +128,12 @@ exports[`ActionMenu should render as expected 1`] = `
128
128
  class="styles__bd___1Uv-F u-mr-1 u-stack-xs"
129
129
  >
130
130
  <p
131
- class="MuiTypography-root MuiTypography-body1 MuiTypography-colorTextPrimary MuiTypography-gutterBottom"
131
+ class="MuiTypography-root MuiTypography-body1 MuiTypography-gutterBottom css-4w42zc-MuiTypography-root"
132
132
  >
133
133
  Item 4
134
134
  </p>
135
135
  <span
136
- class="MuiTypography-root MuiTypography-caption MuiTypography-colorTextSecondary"
136
+ class="MuiTypography-root MuiTypography-caption css-ol7wxs-MuiTypography-root"
137
137
  >
138
138
  Descriptive text to elaborate on what item 3 does.
139
139
  </span>
@@ -2,7 +2,7 @@ import React, { forwardRef } from 'react'
2
2
  import PropTypes from 'prop-types'
3
3
  import cx from 'classnames'
4
4
  import merge from 'lodash/merge'
5
- import MuiAlert from '@material-ui/lab/Alert'
5
+ import MuiAlert from '@mui/material/Alert'
6
6
 
7
7
  import { makeStyles } from '../styles'
8
8
  import Icon from '../Icon'
@@ -1 +1 @@
1
- Re-export of @material-ui. See [the official API](https://v4.mui.com/api/alert-title/).
1
+ Re-export of @material-ui. See [the official API](https://mui.com/material-ui/api/alert-title/).
@@ -1,3 +1,3 @@
1
- import MuiAlertTitle from '@material-ui/lab/AlertTitle'
1
+ import AlertTitle from '@mui/material/AlertTitle'
2
2
 
3
- export default MuiAlertTitle
3
+ export default AlertTitle
@@ -1 +1 @@
1
- Re-export of @material-ui. See [the official API](https://v4.mui.com/api/app-bar/).
1
+ Re-export of @material-ui. See [the official API](https://mui.com/material-ui/api/app-bar/).
@@ -1,3 +1,3 @@
1
- import MuiAppBar from '@material-ui/core/AppBar'
1
+ import MuiAppBar from '@mui/material/AppBar'
2
2
 
3
3
  export default MuiAppBar
@@ -1,6 +1,6 @@
1
1
  import React from 'react'
2
2
  import cx from 'classnames'
3
- import Typography from '@material-ui/core/Typography'
3
+ import Typography from '@mui/material/Typography'
4
4
  import PropTypes from 'prop-types'
5
5
  import styles from './styles.styl'
6
6
 
@@ -1 +1 @@
1
- Re-export of @material-ui. See [the official API](https://v4.mui.com/api/backdrop/).
1
+ Re-export of @material-ui. See [the official API](https://mui.com/material-ui/api/backdrop/).
@@ -1,3 +1,3 @@
1
- import MuiBackdrop from '@material-ui/core/Backdrop'
1
+ import MuiBackdrop from '@mui/material/Backdrop'
2
2
 
3
3
  export default MuiBackdrop
@@ -1,7 +1,7 @@
1
1
  import React from 'react'
2
2
  import cx from 'classnames'
3
3
  import PropTypes from 'prop-types'
4
- import MuiBadge from '@material-ui/core/Badge'
4
+ import MuiBadge from '@mui/material/Badge'
5
5
 
6
6
  const Badge = ({
7
7
  classes = {},
@@ -1 +1 @@
1
- Re-export of @material-ui. See [the official API](https://v4.mui.com/api/bottom-navigation/).
1
+ Re-export of @material-ui. See [the official API](https://mui.com/material-ui/api/bottom-navigation/).
@@ -1,3 +1,3 @@
1
- import MuiBottomNavigation from '@material-ui/core/BottomNavigation'
1
+ import MuiBottomNavigation from '@mui/material/BottomNavigation'
2
2
 
3
3
  export default MuiBottomNavigation
@@ -1 +1 @@
1
- Re-export of @material-ui. See [the official API](https://v4.mui.com/api/bottom-navigation-action/).
1
+ Re-export of @material-ui. See [the official API](https://mui.com/material-ui/api/bottom-navigation-action/).
@@ -1,3 +1,3 @@
1
- import MuiBottomNavigationAction from '@material-ui/core/BottomNavigationAction'
1
+ import MuiBottomNavigationAction from '@mui/material/BottomNavigationAction'
2
2
 
3
3
  export default MuiBottomNavigationAction
@@ -10,8 +10,8 @@ import React, {
10
10
  import PropTypes from 'prop-types'
11
11
  import { BottomSheet as MuiBottomSheet } from 'mui-bottom-sheet'
12
12
  import { useTimeoutWhen } from 'rooks'
13
- import Fade from '@material-ui/core/Fade'
14
- import Portal from '@material-ui/core/Portal'
13
+ import Fade from '@mui/material/Fade'
14
+ import Portal from '@mui/material/Portal'
15
15
 
16
16
  import { getFlagshipMetadata } from 'cozy-device-helper'
17
17
 
@@ -123,25 +123,25 @@ const settings = state.mediumHeight === undefined && state.mediumHeightRatio ===
123
123
  <div>
124
124
  <TextField
125
125
  type="number"
126
- margin="dense"
126
+ size="small"
127
127
  label="mediumHeight"
128
128
  variant="outlined"
129
129
  helperText="Height of the medium snap point"
130
130
  onChange={handleChangeMediumHeight}
131
131
  />
132
132
  <TextField
133
- className="u-ml-0-s u-ml-half"
133
+ className="u-ml-0-s u-ml-half u-mt-1-s"
134
134
  type="number"
135
- margin="dense"
135
+ size="small"
136
136
  label="mediumHeightRatio"
137
137
  variant="outlined"
138
138
  helperText="Height ratio of the medium snap point"
139
139
  onChange={handleChangeMediumHeightRatio}
140
140
  />
141
141
  <TextField
142
- className="u-ml-0-s u-ml-half"
142
+ className="u-ml-0-s u-ml-half u-mt-1-s"
143
143
  type="number"
144
- margin="dense"
144
+ size="small"
145
145
  label="offset"
146
146
  variant="outlined"
147
147
  helperText="Bottom offset"
@@ -1 +1 @@
1
- Re-export of @material-ui. See [the official API](https://v4.mui.com/api/box/).
1
+ Re-export of @material-ui. See [the official API](https://mui.com/material-ui/api/box/).
@@ -1,3 +1,3 @@
1
- import MuiBox from '@material-ui/core/Box'
1
+ import MuiBox from '@mui/material/Box'
2
2
 
3
3
  export default MuiBox
@@ -6,13 +6,13 @@ context.
6
6
 
7
7
  ```jsx
8
8
  import { Component } from 'react'
9
- import Breadcrumbs from 'cozy-ui/transpiled/react/Breadcrumbs';
10
- import Icon from 'cozy-ui/transpiled/react/Icon';
9
+ import Breadcrumbs from 'cozy-ui/transpiled/react/Breadcrumbs'
10
+ import Icon from 'cozy-ui/transpiled/react/Icon'
11
11
  import FileIcon from 'cozy-ui/transpiled/react/Icons/File'
12
12
  import FolderIcon from 'cozy-ui/transpiled/react/Icons/Folder'
13
13
 
14
14
  const items = [
15
- {
15
+ {
16
16
  name: 'Joe Hisaishi',
17
17
  items: [
18
18
  {
@@ -24,7 +24,7 @@ const items = [
24
24
  }
25
25
  ]
26
26
  },
27
- { name: 'Rodrigo y Gabriella',
27
+ { name: 'Rodrigo y Gabriella',
28
28
  items: [
29
29
  { name: 'Hanuman' },
30
30
  { name: 'Tamacun' }
@@ -80,6 +80,8 @@ class Example extends Component {
80
80
  }
81
81
  }
82
82
 
83
+ ;
84
+
83
85
  <>
84
86
  <Example />
85
87
  </>
@@ -4,7 +4,7 @@ import cx from 'classnames'
4
4
  import styles from './styles.styl'
5
5
  import Icon from '../Icon'
6
6
  import Typography from '../Typography'
7
- import IconButton from '@material-ui/core/IconButton'
7
+ import IconButton from '@mui/material/IconButton'
8
8
  import LeftIcon from '../Icons/Left'
9
9
 
10
10
  const BreadcrumbSeparator = () => (
@@ -2,7 +2,7 @@ import React, { forwardRef } from 'react'
2
2
  import PropTypes from 'prop-types'
3
3
  import cx from 'classnames'
4
4
 
5
- import MuiButton from '@material-ui/core/Button'
5
+ import MuiButton from '@mui/material/Button'
6
6
 
7
7
  import Icon from '../Icon'
8
8
  import SpinnerIcon from '../Icons/Spinner'
@@ -1 +1 @@
1
- Re-export of @material-ui. See [the official API](https://v4.mui.com/api/card-action-area/).
1
+ Re-export of @material-ui. See [the official API](https://mui.com/material-ui/api/card-action-area/).
@@ -1,3 +1,3 @@
1
- import MuiCardActionArea from '@material-ui/core/CardActionArea'
1
+ import MuiCardActionArea from '@mui/material/CardActionArea'
2
2
 
3
3
  export default MuiCardActionArea
@@ -1 +1 @@
1
- Re-export of @material-ui. See [the official API](https://v4.mui.com/api/card-actions/).
1
+ Re-export of @material-ui. See [the official API](https://mui.com/material-ui/api/card-actions/).
@@ -1,3 +1,3 @@
1
- import MuiCardActions from '@material-ui/core/CardActions'
1
+ import MuiCardActions from '@mui/material/CardActions'
2
2
 
3
3
  export default MuiCardActions
@@ -1 +1 @@
1
- Re-export of @material-ui. See [the official API](https://v4.mui.com/api/card-content/).
1
+ Re-export of @material-ui. See [the official API](https://mui.com/material-ui/api/card-content/).
@@ -1,3 +1,3 @@
1
- import MuiCardContent from '@material-ui/core/CardContent'
1
+ import MuiCardContent from '@mui/material/CardContent'
2
2
 
3
3
  export default MuiCardContent
@@ -1 +1 @@
1
- Re-export of @material-ui. See [the official API](https://v4.mui.com/api/card-header/).
1
+ Re-export of @material-ui. See [the official API](https://mui.com/material-ui/api/card-header/).
@@ -1,3 +1,3 @@
1
- import MuiCardHeader from '@material-ui/core/CardHeader'
1
+ import MuiCardHeader from '@mui/material/CardHeader'
2
2
 
3
3
  export default MuiCardHeader
@@ -1 +1 @@
1
- Re-export of @material-ui. See [the official API](https://v4.mui.com/api/card-media/).
1
+ Re-export of @material-ui. See [the official API](https://mui.com/material-ui/api/card-media/).
@@ -1,3 +1,3 @@
1
- import MuiCardMedia from '@material-ui/core/CardMedia'
1
+ import MuiCardMedia from '@mui/material/CardMedia'
2
2
 
3
3
  export default MuiCardMedia
@@ -2,8 +2,8 @@ import React from 'react'
2
2
  import cx from 'classnames'
3
3
  import PropTypes from 'prop-types'
4
4
 
5
- import MUICheckbox from '@material-ui/core/Checkbox'
6
- import FormControlLabel from '@material-ui/core/FormControlLabel'
5
+ import MUICheckbox from '@mui/material/Checkbox'
6
+ import FormControlLabel from '@mui/material/FormControlLabel'
7
7
 
8
8
  import createDepreciationLogger from '../helpers/createDepreciationLogger'
9
9
 
@@ -1,7 +1,7 @@
1
1
  import React, { forwardRef } from 'react'
2
2
  import cx from 'classnames'
3
3
  import PropTypes from 'prop-types'
4
- import MuiChip from '@material-ui/core/Chip'
4
+ import MuiChip from '@mui/material/Chip'
5
5
 
6
6
  const Chips = forwardRef(
7
7
  (
@@ -38,6 +38,7 @@ const CircleButton = ({
38
38
  disabled,
39
39
  fullWidth = false,
40
40
  children,
41
+ size,
41
42
  ...props
42
43
  }) => {
43
44
  const styles = useStyles({ active: variant === 'active', disabled })
@@ -52,7 +53,12 @@ const CircleButton = ({
52
53
  flexBasis="64px"
53
54
  padding="8px 0 4px 0"
54
55
  >
55
- <IconButton className={styles.iconButton} disabled={disabled} {...props}>
56
+ <IconButton
57
+ className={styles.iconButton}
58
+ disabled={disabled}
59
+ size={size}
60
+ {...props}
61
+ >
56
62
  {children}
57
63
  </IconButton>
58
64
  {label && (
@@ -75,7 +81,12 @@ CircleButton.propTypes = {
75
81
  label: PropTypes.oneOfType([PropTypes.string, PropTypes.node]),
76
82
  variant: PropTypes.oneOf(['default', 'active']),
77
83
  disabled: PropTypes.bool,
78
- fullWidth: PropTypes.bool
84
+ fullWidth: PropTypes.bool,
85
+ size: PropTypes.string
86
+ }
87
+
88
+ CircleButton.defaultProps = {
89
+ size: 'large'
79
90
  }
80
91
 
81
92
  export default CircleButton
@@ -1 +1 @@
1
- Re-export of @material-ui. See [the official API](https://v4.mui.com/api/circular-progress/).
1
+ Re-export of @material-ui. See [the official API](https://mui.com/material-ui/api/circular-progress/).
@@ -1,3 +1,3 @@
1
- import MuiCircularProgress from '@material-ui/core/CircularProgress'
1
+ import MuiCircularProgress from '@mui/material/CircularProgress'
2
2
 
3
3
  export default MuiCircularProgress
@@ -1 +1 @@
1
- Re-export of @material-ui. See [the official API](https://v4.mui.com/api/click-away-listener/).
1
+ Re-export of @material-ui. See [the official API](https://mui.com/material-ui/api/click-away-listener/).
@@ -1,3 +1,3 @@
1
- import MuiClickAwayListener from '@material-ui/core/ClickAwayListener'
1
+ import MuiClickAwayListener from '@mui/material/ClickAwayListener'
2
2
 
3
3
  export default MuiClickAwayListener
@@ -1 +1 @@
1
- Re-export of @material-ui. See [the official API](https://v4.mui.com/api/collapse/).
1
+ Re-export of @material-ui. See [the official API](https://mui.com/material-ui/api/collapse/).
@@ -1,3 +1,3 @@
1
- import MuiCollapse from '@material-ui/core/Collapse'
1
+ import MuiCollapse from '@mui/material/Collapse'
2
2
 
3
3
  export default MuiCollapse
@@ -2,7 +2,7 @@
2
2
 
3
3
  exports[`ContactRow should match the contact snapshot 1`] = `
4
4
  <li
5
- className="MuiListItem-root MuiListItem-gutters"
5
+ className="MuiListItem-root MuiListItem-gutters MuiListItem-padding css-1p823my-MuiListItem-root"
6
6
  data-testid="contact-listItem"
7
7
  disabled={false}
8
8
  onClick={[Function]}
@@ -29,7 +29,7 @@ exports[`ContactRow should match the contact snapshot 1`] = `
29
29
  </span>
30
30
  </div>
31
31
  <p
32
- className="MuiTypography-root u-ml-1 MuiTypography-body1 MuiTypography-colorTextPrimary MuiTypography-noWrap MuiTypography-gutterBottom MuiTypography-displayInline"
32
+ className="MuiTypography-root MuiTypography-body1 MuiTypography-gutterBottom MuiTypography-noWrap u-ml-1 css-anxs48-MuiTypography-root"
33
33
  data-testid="ContactName"
34
34
  >
35
35
  <span
@@ -1,4 +1,4 @@
1
- import { Typography } from '@material-ui/core'
1
+ import { Typography } from '@mui/material'
2
2
  import React from 'react'
3
3
 
4
4
  import Icon from '../../Icon'
@@ -4,8 +4,8 @@ import CozyTheme from '../CozyTheme'
4
4
  import Icon from '../Icon'
5
5
  import PreviousIcon from '../Icons/Previous'
6
6
  import Paper from '../Paper'
7
- import IconButton from '@material-ui/core/IconButton'
8
- import Input from '@material-ui/core/Input'
7
+ import IconButton from '@mui/material/IconButton'
8
+ import Input from '@mui/material/Input'
9
9
 
10
10
  const barStyle = {
11
11
  height: 48
@@ -1,7 +1,7 @@
1
1
  import React, { useState } from 'react'
2
2
  import PropTypes from 'prop-types'
3
3
  import cx from 'classnames'
4
- import TextField from '@material-ui/core/TextField'
4
+ import TextField from '@mui/material/TextField'
5
5
 
6
6
  import { Q, fetchPolicies, useClient, useQuery } from 'cozy-client'
7
7
 
@@ -104,7 +104,6 @@ const ContactsListModal = ({
104
104
  <Button
105
105
  className={isMobile && 'u-mt-1'}
106
106
  variant="secondary"
107
- theme="secondary"
108
107
  label={addContactLabel}
109
108
  startIcon={<Icon icon={PlusIcon} />}
110
109
  onClick={setShowAddDialog}
@@ -1 +1 @@
1
- Re-export of @material-ui. See [the official API](https://v4.mui.com/api/container/).
1
+ Re-export of @material-ui. See [the official API](https://mui.com/material-ui/api/container/).
@@ -1,3 +1,3 @@
1
- import MuiContainer from '@material-ui/core/Container'
1
+ import MuiContainer from '@mui/material/Container'
2
2
 
3
3
  export default MuiContainer
@@ -1,7 +1,7 @@
1
1
  import React, { forwardRef } from 'react'
2
2
  import PropTypes from 'prop-types'
3
- import MuiSlide from '@material-ui/core/Slide'
4
- import MuiGrow from '@material-ui/core/Grow'
3
+ import MuiSlide from '@mui/material/Slide'
4
+ import MuiGrow from '@mui/material/Grow'
5
5
 
6
6
  const DialogTransition = forwardRef(
7
7
  ({ fullScreen, isFullscreen, ...props }, ref) => {