cozy-ui 81.7.0 → 81.9.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 (431) hide show
  1. package/CHANGELOG.md +30 -2
  2. package/package.json +19 -24
  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/Banner/index.spec.jsx +19 -0
  18. package/react/BottomNavigation/Readme.md +1 -1
  19. package/react/BottomNavigation/index.js +1 -1
  20. package/react/BottomNavigationAction/Readme.md +1 -1
  21. package/react/BottomNavigationAction/index.js +1 -1
  22. package/react/BottomSheet/BottomSheet.jsx +2 -2
  23. package/react/BottomSheet/README.md +5 -5
  24. package/react/Box/Readme.md +1 -1
  25. package/react/Box/index.js +1 -1
  26. package/react/Breadcrumbs/Readme.md +4 -6
  27. package/react/Breadcrumbs/index.jsx +1 -1
  28. package/react/Buttons/index.jsx +1 -1
  29. package/react/CardActionArea/Readme.md +1 -1
  30. package/react/CardActionArea/index.js +1 -1
  31. package/react/CardActions/Readme.md +1 -1
  32. package/react/CardActions/index.js +1 -1
  33. package/react/CardContent/Readme.md +1 -1
  34. package/react/CardContent/index.js +1 -1
  35. package/react/CardHeader/Readme.md +1 -1
  36. package/react/CardHeader/index.js +1 -1
  37. package/react/CardMedia/Readme.md +1 -1
  38. package/react/CardMedia/index.js +1 -1
  39. package/react/Checkbox/index.jsx +2 -2
  40. package/react/Chips/index.jsx +1 -1
  41. package/react/CircleButton/index.jsx +2 -13
  42. package/react/CircularProgress/Readme.md +1 -1
  43. package/react/CircularProgress/index.js +1 -1
  44. package/react/ClickAwayListener/Readme.md +1 -1
  45. package/react/ClickAwayListener/index.js +1 -1
  46. package/react/Collapse/Readme.md +1 -1
  47. package/react/Collapse/index.js +1 -1
  48. package/react/ContactsList/__snapshots__/ContactRow.spec.js.snap +2 -2
  49. package/react/ContactsListModal/AddContact/AddContactContent.jsx +1 -1
  50. package/react/ContactsListModal/MobileHeader.jsx +2 -2
  51. package/react/ContactsListModal/index.jsx +2 -1
  52. package/react/Container/Readme.md +1 -1
  53. package/react/Container/index.js +1 -1
  54. package/react/CozyDialogs/DialogTransition.jsx +2 -2
  55. package/react/CozyDialogs/useCozyDialog.js +1 -0
  56. package/react/CssBaseline/Readme.md +1 -1
  57. package/react/CssBaseline/index.js +1 -1
  58. package/react/Dialog/DialogActions.jsx +1 -1
  59. package/react/Dialog/DialogContent.jsx +1 -1
  60. package/react/Dialog/DialogContentText.jsx +1 -1
  61. package/react/Dialog/DialogEffects.spec.tsx +1 -1
  62. package/react/Dialog/DialogEffects.ts +1 -1
  63. package/react/Dialog/DialogTitle.jsx +1 -1
  64. package/react/Dialog/Readme.md +1 -1
  65. package/react/Dialog/index.jsx +1 -1
  66. package/react/DialogActions/Readme.md +1 -1
  67. package/react/DialogActions/index.js +1 -1
  68. package/react/DialogContent/Readme.md +1 -1
  69. package/react/DialogContent/index.js +1 -1
  70. package/react/DialogContentText/Readme.md +1 -1
  71. package/react/DialogContentText/index.js +1 -1
  72. package/react/DialogTitle/Readme.md +1 -1
  73. package/react/DialogTitle/index.js +1 -1
  74. package/react/Drawer/Readme.md +1 -1
  75. package/react/Drawer/index.js +1 -1
  76. package/react/DropdownButton/index.jsx +1 -1
  77. package/react/Fab/index.js +1 -1
  78. package/react/Fade/Readme.md +1 -1
  79. package/react/Fade/index.js +1 -1
  80. package/react/FilePicker/FilePickerBodyItem.spec.jsx +1 -1
  81. package/react/FilledInput/Readme.md +1 -1
  82. package/react/FilledInput/index.js +1 -1
  83. package/react/FormControl/Readme.md +1 -1
  84. package/react/FormControl/index.js +1 -5
  85. package/react/FormControlLabel/Readme.md +1 -1
  86. package/react/FormControlLabel/index.js +1 -1
  87. package/react/FormGroup/Readme.md +1 -1
  88. package/react/FormGroup/index.js +1 -1
  89. package/react/FormHelperText/Readme.md +1 -1
  90. package/react/FormHelperText/index.js +1 -1
  91. package/react/FormLabel/Readme.md +1 -1
  92. package/react/FormLabel/index.js +1 -1
  93. package/react/GridList/Readme.md +1 -1
  94. package/react/GridList/index.js +2 -11
  95. package/react/GridListTile/Readme.md +1 -1
  96. package/react/GridListTile/index.js +2 -11
  97. package/react/GridListTileBar/Readme.md +1 -1
  98. package/react/GridListTileBar/index.js +2 -11
  99. package/react/Grow/Readme.md +1 -1
  100. package/react/Grow/index.js +1 -1
  101. package/react/Hidden/Readme.md +1 -1
  102. package/react/Hidden/index.js +1 -1
  103. package/react/I18n/format.jsx +2 -12
  104. package/react/I18n/format.spec.jsx +5 -17
  105. package/react/IconButton/index.jsx +1 -1
  106. package/react/InputAdornment/Readme.md +1 -1
  107. package/react/InputAdornment/index.js +1 -1
  108. package/react/LinearProgress/Readme.md +1 -1
  109. package/react/LinearProgress/index.js +1 -1
  110. package/react/Link/Readme.md +1 -1
  111. package/react/Link/index.js +1 -5
  112. package/react/ListItemAvatar/Readme.md +1 -1
  113. package/react/ListItemAvatar/index.js +1 -1
  114. package/react/ListItemText/index.jsx +1 -1
  115. package/react/MenuItem/Readme.md +1 -1
  116. package/react/MenuItem/index.js +1 -1
  117. package/react/MenuList/Readme.md +1 -1
  118. package/react/MenuList/index.js +1 -1
  119. package/react/MobileStepper/Readme.md +1 -1
  120. package/react/MobileStepper/index.js +1 -1
  121. package/react/Modal/ModalEffects.ts +1 -1
  122. package/react/MuiCozyTheme/Accordion/Readme.md +3 -5
  123. package/react/MuiCozyTheme/Accordion/index.js +1 -1
  124. package/react/MuiCozyTheme/AccordionDetails/index.js +1 -1
  125. package/react/MuiCozyTheme/AccordionSummary/index.js +1 -8
  126. package/react/MuiCozyTheme/Buttons/Readme.md +1 -1
  127. package/react/MuiCozyTheme/Buttons/index.js +1 -1
  128. package/react/MuiCozyTheme/Divider/Readme.md +1 -1
  129. package/react/MuiCozyTheme/Divider/index.jsx +2 -2
  130. package/react/MuiCozyTheme/Grid/index.js +1 -1
  131. package/react/MuiCozyTheme/List/Readme.md +123 -23
  132. package/react/MuiCozyTheme/List/index.js +1 -1
  133. package/react/MuiCozyTheme/ListItem/ExpandedAttributes/ExpandedAttribute.jsx +39 -0
  134. package/react/MuiCozyTheme/ListItem/ExpandedAttributes/helpers.js +139 -0
  135. package/react/MuiCozyTheme/ListItem/ExpandedAttributes/helpers.spec.js +97 -0
  136. package/react/MuiCozyTheme/ListItem/ExpandedAttributes/index.jsx +62 -0
  137. package/react/MuiCozyTheme/ListItem/ListItemBase/ActionsMenu/ActionMenuItemWrapper.jsx +81 -0
  138. package/react/MuiCozyTheme/ListItem/ListItemBase/ActionsMenu/ActionMenuWithClose.jsx +28 -0
  139. package/react/MuiCozyTheme/ListItem/ListItemBase/ActionsMenu/Actions/call.js +29 -0
  140. package/react/MuiCozyTheme/ListItem/ListItemBase/ActionsMenu/Actions/emailTo.js +29 -0
  141. package/react/MuiCozyTheme/ListItem/ListItemBase/ActionsMenu/Actions/hr.js +10 -0
  142. package/react/MuiCozyTheme/ListItem/ListItemBase/ActionsMenu/Actions/modify.js +41 -0
  143. package/react/MuiCozyTheme/ListItem/ListItemBase/ActionsMenu/Actions/smsTo.js +29 -0
  144. package/react/MuiCozyTheme/ListItem/ListItemBase/ActionsMenu/Actions/viewInContacts.js +41 -0
  145. package/react/MuiCozyTheme/ListItem/ListItemBase/ActionsMenu/ActionsItems.jsx +46 -0
  146. package/react/MuiCozyTheme/ListItem/ListItemBase/ActionsMenu/helpers.js +63 -0
  147. package/react/MuiCozyTheme/ListItem/ListItemBase/ActionsMenu/helpers.spec.js +36 -0
  148. package/react/MuiCozyTheme/ListItem/ListItemBase/Renaming/RenameDialog.jsx +38 -0
  149. package/react/MuiCozyTheme/ListItem/ListItemBase/Renaming/RenameInput.jsx +129 -0
  150. package/react/MuiCozyTheme/ListItem/ListItemBase/Renaming/helpers.js +35 -0
  151. package/react/MuiCozyTheme/ListItem/ListItemBase/index.jsx +111 -0
  152. package/react/MuiCozyTheme/ListItem/ListItemByDoc/index.jsx +87 -0
  153. package/react/MuiCozyTheme/ListItem/ListItemContact/index.jsx +78 -0
  154. package/react/MuiCozyTheme/ListItem/ListItemContact/useActions.jsx +39 -0
  155. package/react/MuiCozyTheme/ListItem/ListItemFile/ExpirationAnnotation.jsx +37 -0
  156. package/react/MuiCozyTheme/ListItem/ListItemFile/ItemIcon.jsx +34 -0
  157. package/react/MuiCozyTheme/ListItem/ListItemFile/PrimaryText.jsx +23 -0
  158. package/react/MuiCozyTheme/ListItem/ListItemFile/SecondaryText.jsx +36 -0
  159. package/react/MuiCozyTheme/ListItem/ListItemFile/index.jsx +84 -0
  160. package/react/MuiCozyTheme/ListItem/hoc/withListItemLocales.jsx +11 -0
  161. package/react/MuiCozyTheme/ListItem/index.js +1 -1
  162. package/react/MuiCozyTheme/ListItem/locales/en.json +62 -0
  163. package/react/MuiCozyTheme/ListItem/locales/fr.json +62 -0
  164. package/react/MuiCozyTheme/ListItemIcon/index.js +1 -1
  165. package/react/MuiCozyTheme/ListItemSecondaryAction/index.js +1 -1
  166. package/react/MuiCozyTheme/ListSubheader/index.js +1 -1
  167. package/react/MuiCozyTheme/Menu/Readme.md +1 -1
  168. package/react/MuiCozyTheme/Menu/index.js +1 -1
  169. package/react/MuiCozyTheme/Menus/Readme.md +1 -1
  170. package/react/MuiCozyTheme/Menus/index.js +5 -5
  171. package/react/MuiCozyTheme/RaisedList/README.md +1 -1
  172. package/react/MuiCozyTheme/RaisedList/index.js +2 -2
  173. package/react/MuiCozyTheme/Readme.md +1 -1
  174. package/react/MuiCozyTheme/Switch/Readme.md +1 -1
  175. package/react/MuiCozyTheme/Switch/index.jsx +1 -1
  176. package/react/MuiCozyTheme/TextField/index.js +1 -5
  177. package/react/MuiCozyTheme/makeOverrides.js +946 -673
  178. package/react/MuiCozyTheme/makePalette.js +5 -5
  179. package/react/MuiCozyTheme/makeTheme.jsx +19 -4
  180. package/react/MuiTabs/index.jsx +2 -7
  181. package/react/NativeSelect/Readme.md +1 -1
  182. package/react/NativeSelect/index.js +1 -1
  183. package/react/NoSsr/Readme.md +1 -1
  184. package/react/NoSsr/index.js +1 -1
  185. package/react/OutlinedInput/Readme.md +1 -1
  186. package/react/OutlinedInput/index.js +1 -1
  187. package/react/Paper/Readme.md +1 -2
  188. package/react/Paper/index.js +1 -1
  189. package/react/PieChart/index.jsx +4 -4
  190. package/react/Progress/index.js +2 -2
  191. package/react/Radio/index.jsx +1 -1
  192. package/react/RadioGroup/Readme.md +1 -1
  193. package/react/RadioGroup/index.js +1 -1
  194. package/react/Radios/index.jsx +1 -1
  195. package/react/RootRef/Readme.md +1 -1
  196. package/react/RootRef/index.js +2 -6
  197. package/react/ScopedCssBaseline/Readme.md +1 -1
  198. package/react/ScopedCssBaseline/index.js +1 -1
  199. package/react/Select/Readme.md +1 -1
  200. package/react/Select/index.js +1 -5
  201. package/react/SelectionBar/index.jsx +1 -1
  202. package/react/Sidebar/index.jsx +1 -1
  203. package/react/Skeleton/Readme.md +1 -1
  204. package/react/Skeleton/index.js +1 -1
  205. package/react/Slide/Readme.md +1 -1
  206. package/react/Slide/index.js +1 -1
  207. package/react/Slider/Readme.md +1 -1
  208. package/react/Slider/index.js +1 -1
  209. package/react/Snackbar/index.jsx +1 -1
  210. package/react/SnackbarContent/Readme.md +1 -1
  211. package/react/SnackbarContent/index.js +1 -1
  212. package/react/SquareAppIcon/__snapshots__/SquareAppIcon.spec.js.snap +46 -46
  213. package/react/SquareAppIcon/index.jsx +2 -2
  214. package/react/Step/Readme.md +1 -1
  215. package/react/Step/index.js +1 -1
  216. package/react/StepButton/Readme.md +1 -1
  217. package/react/StepButton/index.js +1 -1
  218. package/react/StepConnector/Readme.md +1 -1
  219. package/react/StepConnector/index.js +1 -1
  220. package/react/StepContent/Readme.md +1 -1
  221. package/react/StepContent/index.js +1 -1
  222. package/react/StepIcon/Readme.md +1 -1
  223. package/react/StepIcon/index.js +1 -1
  224. package/react/StepLabel/Readme.md +1 -1
  225. package/react/StepLabel/index.js +1 -1
  226. package/react/Stepper/index.jsx +4 -4
  227. package/react/SvgIcon/Readme.md +1 -1
  228. package/react/SvgIcon/index.js +1 -1
  229. package/react/SwipeableDrawer/Readme.md +1 -1
  230. package/react/SwipeableDrawer/index.js +1 -1
  231. package/react/Tab/Readme.md +1 -1
  232. package/react/Tab/index.js +1 -1
  233. package/react/Tabs/index.jsx +1 -1
  234. package/react/TextareaAutosize/Readme.md +1 -1
  235. package/react/TextareaAutosize/index.js +1 -1
  236. package/react/Toolbar/Readme.md +1 -1
  237. package/react/Toolbar/index.js +1 -1
  238. package/react/Tooltip/Readme.md +1 -1
  239. package/react/Tooltip/index.jsx +1 -5
  240. package/react/Typography/Readme.md +3 -6
  241. package/react/Typography/index.jsx +1 -7
  242. package/react/UploadQueue/index.jsx +1 -1
  243. package/react/UploadQueue/index.spec.jsx +0 -5
  244. package/react/Viewer/Panel/QualificationListItemContact.jsx +0 -1
  245. package/react/Viewer/Panel/QualificationListItemDate.jsx +0 -1
  246. package/react/Viewer/Panel/QualificationListItemInformation.jsx +0 -1
  247. package/react/Viewer/Panel/QualificationListItemOther.jsx +0 -1
  248. package/react/Viewer/ViewerInformationsWrapper.jsx +1 -1
  249. package/react/Viewer/components/InformationPanel.jsx +1 -1
  250. package/react/Viewer/components/Toolbar.jsx +1 -1
  251. package/react/Zoom/Readme.md +1 -1
  252. package/react/Zoom/index.js +1 -1
  253. package/react/__snapshots__/examples.spec.jsx.snap +1075 -791
  254. package/react/examples.spec.jsx +1 -1
  255. package/react/hooks/useCycle.md +4 -4
  256. package/react/styles/index.js +1 -17
  257. package/release.config.js +20 -14
  258. package/transpiled/react/AccordionActions/index.js +1 -1
  259. package/transpiled/react/ActionMenu/ActionMenuEffects.js +1 -1
  260. package/transpiled/react/ActionMenu/NotInlineWrapper.js +1 -1
  261. package/transpiled/react/Alert/index.js +1 -1
  262. package/transpiled/react/AlertTitle/index.js +2 -2
  263. package/transpiled/react/AppBar/index.js +1 -1
  264. package/transpiled/react/AppTitle/index.js +1 -1
  265. package/transpiled/react/Backdrop/index.js +1 -1
  266. package/transpiled/react/Badge/index.js +1 -1
  267. package/transpiled/react/BottomNavigation/index.js +1 -1
  268. package/transpiled/react/BottomNavigationAction/index.js +1 -1
  269. package/transpiled/react/BottomSheet/BottomSheet.js +2 -2
  270. package/transpiled/react/Box/index.js +1 -1
  271. package/transpiled/react/Breadcrumbs/index.js +1 -1
  272. package/transpiled/react/Buttons/index.js +1 -1
  273. package/transpiled/react/CardActionArea/index.js +1 -1
  274. package/transpiled/react/CardActions/index.js +1 -1
  275. package/transpiled/react/CardContent/index.js +1 -1
  276. package/transpiled/react/CardHeader/index.js +1 -1
  277. package/transpiled/react/CardMedia/index.js +1 -1
  278. package/transpiled/react/Checkbox/index.js +2 -2
  279. package/transpiled/react/Chips/index.js +1 -1
  280. package/transpiled/react/CircleButton/index.js +3 -9
  281. package/transpiled/react/CircularProgress/index.js +1 -1
  282. package/transpiled/react/ClickAwayListener/index.js +1 -1
  283. package/transpiled/react/Collapse/index.js +1 -1
  284. package/transpiled/react/ContactsListModal/AddContact/AddContactContent.js +1 -1
  285. package/transpiled/react/ContactsListModal/MobileHeader.js +2 -2
  286. package/transpiled/react/ContactsListModal/index.js +2 -1
  287. package/transpiled/react/Container/index.js +1 -1
  288. package/transpiled/react/CozyDialogs/DialogTransition.js +2 -2
  289. package/transpiled/react/CozyDialogs/useCozyDialog.js +1 -0
  290. package/transpiled/react/CssBaseline/index.js +1 -1
  291. package/transpiled/react/Dialog/DialogActions.js +1 -1
  292. package/transpiled/react/Dialog/DialogContent.js +1 -1
  293. package/transpiled/react/Dialog/DialogContentText.js +1 -1
  294. package/transpiled/react/Dialog/DialogEffects.d.ts +1 -1
  295. package/transpiled/react/Dialog/DialogEffects.js +1 -1
  296. package/transpiled/react/Dialog/DialogTitle.js +1 -1
  297. package/transpiled/react/Dialog/index.js +1 -1
  298. package/transpiled/react/DialogActions/index.js +1 -1
  299. package/transpiled/react/DialogContent/index.js +1 -1
  300. package/transpiled/react/DialogContentText/index.js +1 -1
  301. package/transpiled/react/DialogTitle/index.js +1 -1
  302. package/transpiled/react/Drawer/index.js +1 -1
  303. package/transpiled/react/DropdownButton/index.js +1 -1
  304. package/transpiled/react/Fab/index.js +1 -1
  305. package/transpiled/react/Fade/index.js +1 -1
  306. package/transpiled/react/FilledInput/index.js +1 -1
  307. package/transpiled/react/FormControl/index.js +1 -4
  308. package/transpiled/react/FormControlLabel/index.js +1 -1
  309. package/transpiled/react/FormGroup/index.js +1 -1
  310. package/transpiled/react/FormHelperText/index.js +1 -1
  311. package/transpiled/react/FormLabel/index.js +1 -1
  312. package/transpiled/react/GridList/index.js +2 -11
  313. package/transpiled/react/GridListTile/index.js +2 -11
  314. package/transpiled/react/GridListTileBar/index.js +2 -11
  315. package/transpiled/react/Grow/index.js +1 -1
  316. package/transpiled/react/Hidden/index.js +1 -1
  317. package/transpiled/react/I18n/format.js +2 -11
  318. package/transpiled/react/IconButton/index.js +1 -1
  319. package/transpiled/react/InputAdornment/index.js +1 -1
  320. package/transpiled/react/LinearProgress/index.js +1 -1
  321. package/transpiled/react/Link/index.js +1 -4
  322. package/transpiled/react/ListItemAvatar/index.js +1 -1
  323. package/transpiled/react/ListItemText/index.js +1 -1
  324. package/transpiled/react/MenuItem/index.js +1 -1
  325. package/transpiled/react/MenuList/index.js +1 -1
  326. package/transpiled/react/MobileStepper/index.js +1 -1
  327. package/transpiled/react/Modal/ModalEffects.js +1 -1
  328. package/transpiled/react/MuiCozyTheme/Accordion/index.js +1 -1
  329. package/transpiled/react/MuiCozyTheme/AccordionDetails/index.js +1 -1
  330. package/transpiled/react/MuiCozyTheme/AccordionSummary/index.js +1 -6
  331. package/transpiled/react/MuiCozyTheme/Buttons/index.js +1 -1
  332. package/transpiled/react/MuiCozyTheme/Divider/index.js +2 -2
  333. package/transpiled/react/MuiCozyTheme/Grid/index.js +1 -1
  334. package/transpiled/react/MuiCozyTheme/List/index.js +1 -1
  335. package/transpiled/react/MuiCozyTheme/ListItem/ExpandedAttributes/ExpandedAttribute.js +45 -0
  336. package/transpiled/react/MuiCozyTheme/ListItem/ExpandedAttributes/helpers.js +123 -0
  337. package/transpiled/react/MuiCozyTheme/ListItem/ExpandedAttributes/index.js +66 -0
  338. package/transpiled/react/MuiCozyTheme/ListItem/ListItemBase/ActionsMenu/ActionMenuItemWrapper.js +63 -0
  339. package/transpiled/react/MuiCozyTheme/ListItem/ListItemBase/ActionsMenu/ActionMenuWithClose.js +24 -0
  340. package/transpiled/react/MuiCozyTheme/ListItem/ListItemBase/ActionsMenu/Actions/call.js +29 -0
  341. package/transpiled/react/MuiCozyTheme/ListItem/ListItemBase/ActionsMenu/Actions/emailTo.js +29 -0
  342. package/transpiled/react/MuiCozyTheme/ListItem/ListItemBase/ActionsMenu/Actions/hr.js +9 -0
  343. package/transpiled/react/MuiCozyTheme/ListItem/ListItemBase/ActionsMenu/Actions/modify.js +39 -0
  344. package/transpiled/react/MuiCozyTheme/ListItem/ListItemBase/ActionsMenu/Actions/smsTo.js +29 -0
  345. package/transpiled/react/MuiCozyTheme/ListItem/ListItemBase/ActionsMenu/Actions/viewInContacts.js +39 -0
  346. package/transpiled/react/MuiCozyTheme/ListItem/ListItemBase/ActionsMenu/ActionsItems.js +49 -0
  347. package/transpiled/react/MuiCozyTheme/ListItem/ListItemBase/ActionsMenu/helpers.js +51 -0
  348. package/transpiled/react/MuiCozyTheme/ListItem/ListItemBase/Renaming/RenameDialog.js +35 -0
  349. package/transpiled/react/MuiCozyTheme/ListItem/ListItemBase/Renaming/RenameInput.js +288 -0
  350. package/transpiled/react/MuiCozyTheme/ListItem/ListItemBase/Renaming/helpers.js +59 -0
  351. package/transpiled/react/MuiCozyTheme/ListItem/ListItemBase/index.js +117 -0
  352. package/transpiled/react/MuiCozyTheme/ListItem/ListItemByDoc/index.js +82 -0
  353. package/transpiled/react/MuiCozyTheme/ListItem/ListItemContact/index.js +77 -0
  354. package/transpiled/react/MuiCozyTheme/ListItem/ListItemContact/useActions.js +41 -0
  355. package/transpiled/react/MuiCozyTheme/ListItem/ListItemFile/ExpirationAnnotation.js +36 -0
  356. package/transpiled/react/MuiCozyTheme/ListItem/ListItemFile/ItemIcon.js +39 -0
  357. package/transpiled/react/MuiCozyTheme/ListItem/ListItemFile/PrimaryText.js +23 -0
  358. package/transpiled/react/MuiCozyTheme/ListItem/ListItemFile/SecondaryText.js +27 -0
  359. package/transpiled/react/MuiCozyTheme/ListItem/ListItemFile/index.js +85 -0
  360. package/transpiled/react/MuiCozyTheme/ListItem/hoc/withListItemLocales.js +130 -0
  361. package/transpiled/react/MuiCozyTheme/ListItem/index.js +1 -1
  362. package/transpiled/react/MuiCozyTheme/ListItemIcon/index.js +1 -1
  363. package/transpiled/react/MuiCozyTheme/ListItemSecondaryAction/index.js +1 -1
  364. package/transpiled/react/MuiCozyTheme/ListSubheader/index.js +1 -1
  365. package/transpiled/react/MuiCozyTheme/Menu/index.js +1 -1
  366. package/transpiled/react/MuiCozyTheme/Menus/index.js +5 -5
  367. package/transpiled/react/MuiCozyTheme/RaisedList/index.js +2 -2
  368. package/transpiled/react/MuiCozyTheme/Switch/index.js +1 -1
  369. package/transpiled/react/MuiCozyTheme/TextField/index.js +1 -4
  370. package/transpiled/react/MuiCozyTheme/makeOverrides.js +381 -133
  371. package/transpiled/react/MuiCozyTheme/makePalette.js +4 -5
  372. package/transpiled/react/MuiCozyTheme/makeTheme.js +22 -5
  373. package/transpiled/react/MuiTabs/index.js +2 -8
  374. package/transpiled/react/NativeSelect/index.js +1 -1
  375. package/transpiled/react/NoSsr/index.js +1 -1
  376. package/transpiled/react/OutlinedInput/index.js +1 -1
  377. package/transpiled/react/Paper/index.js +1 -1
  378. package/transpiled/react/PieChart/index.js +4 -4
  379. package/transpiled/react/Progress/index.js +2 -2
  380. package/transpiled/react/Radio/index.js +1 -1
  381. package/transpiled/react/RadioGroup/index.js +1 -1
  382. package/transpiled/react/Radios/index.js +1 -1
  383. package/transpiled/react/RootRef/index.js +2 -5
  384. package/transpiled/react/ScopedCssBaseline/index.js +1 -1
  385. package/transpiled/react/Select/index.js +1 -4
  386. package/transpiled/react/SelectionBar/index.js +1 -1
  387. package/transpiled/react/Sidebar/index.js +1 -1
  388. package/transpiled/react/Skeleton/index.js +1 -1
  389. package/transpiled/react/Slide/index.js +1 -1
  390. package/transpiled/react/Slider/index.js +1 -1
  391. package/transpiled/react/Snackbar/index.js +1 -1
  392. package/transpiled/react/SnackbarContent/index.js +1 -1
  393. package/transpiled/react/SquareAppIcon/index.js +2 -2
  394. package/transpiled/react/Step/index.js +1 -1
  395. package/transpiled/react/StepButton/index.js +1 -1
  396. package/transpiled/react/StepConnector/index.js +1 -1
  397. package/transpiled/react/StepContent/index.js +1 -1
  398. package/transpiled/react/StepIcon/index.js +1 -1
  399. package/transpiled/react/StepLabel/index.js +1 -1
  400. package/transpiled/react/Stepper/index.js +4 -4
  401. package/transpiled/react/SvgIcon/index.js +1 -1
  402. package/transpiled/react/SwipeableDrawer/index.js +1 -1
  403. package/transpiled/react/Tab/index.js +1 -1
  404. package/transpiled/react/Tabs/index.js +1 -1
  405. package/transpiled/react/TextareaAutosize/index.js +1 -1
  406. package/transpiled/react/Toolbar/index.js +1 -1
  407. package/transpiled/react/Tooltip/index.js +1 -4
  408. package/transpiled/react/Typography/index.js +1 -5
  409. package/transpiled/react/UploadQueue/index.js +1 -1
  410. package/transpiled/react/Viewer/Panel/QualificationListItemContact.js +1 -2
  411. package/transpiled/react/Viewer/Panel/QualificationListItemDate.js +1 -2
  412. package/transpiled/react/Viewer/Panel/QualificationListItemInformation.js +1 -2
  413. package/transpiled/react/Viewer/Panel/QualificationListItemOther.js +1 -2
  414. package/transpiled/react/Viewer/ViewerInformationsWrapper.js +1 -1
  415. package/transpiled/react/Viewer/components/InformationPanel.js +1 -1
  416. package/transpiled/react/Viewer/components/Toolbar.js +1 -1
  417. package/transpiled/react/Zoom/index.js +1 -1
  418. package/transpiled/react/styles/index.js +1 -2
  419. package/react/ImageList/Readme.md +0 -1
  420. package/react/ImageList/index.js +0 -3
  421. package/react/ImageListItem/Readme.md +0 -1
  422. package/react/ImageListItem/index.js +0 -3
  423. package/react/ImageListItemBar/Readme.md +0 -1
  424. package/react/ImageListItemBar/index.js +0 -3
  425. package/react/MuiCozyTheme/helpers.js +0 -253
  426. package/react/MuiCozyTheme/makeInvertedOverrides.js +0 -121
  427. package/transpiled/react/ImageList/index.js +0 -2
  428. package/transpiled/react/ImageListItem/index.js +0 -2
  429. package/transpiled/react/ImageListItemBar/index.js +0 -2
  430. package/transpiled/react/MuiCozyTheme/helpers.js +0 -210
  431. package/transpiled/react/MuiCozyTheme/makeInvertedOverrides.js +0 -117
package/CHANGELOG.md CHANGED
@@ -1,9 +1,37 @@
1
- # [81.7.0](https://github.com/cozy/cozy-ui/compare/v81.6.1-next...v81.7.0-next) (2023-03-21)
1
+ # [81.9.0](https://github.com/cozy/cozy-ui/compare/v81.8.0...v81.9.0) (2023-03-23)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * **ListItemBase:** Clicking on actions wasn't toggling the menu ([3fbfa31](https://github.com/cozy/cozy-ui/commit/3fbfa31))
7
+
8
+
9
+ ### Features
10
+
11
+ * Add ActionMenuItemWrapper for actions menus item ([068f247](https://github.com/cozy/cozy-ui/commit/068f247))
12
+ * **ListItemContact:** Add action menu header ([633ecf8](https://github.com/cozy/cozy-ui/commit/633ecf8))
13
+ * **ListItemContact:** Add default actions ([9164e87](https://github.com/cozy/cozy-ui/commit/9164e87))
14
+
15
+ # [81.8.0](https://github.com/cozy/cozy-ui/compare/v81.7.0...v81.8.0) (2023-03-22)
16
+
17
+
18
+ ### Features
19
+
20
+ * Fake commit to trigger CI deployment ([ea46474](https://github.com/cozy/cozy-ui/commit/ea46474))
21
+
22
+ # [81.7.0](https://github.com/cozy/cozy-ui/compare/v81.6.1...v81.7.0) (2023-03-22)
2
23
 
3
24
 
4
25
  ### Features
5
26
 
6
- * Fake feat to trigger deploy ([87ae9a0](https://github.com/cozy/cozy-ui/commit/87ae9a0))
27
+ * Fake commit to trigger CI deployment ([149531b](https://github.com/cozy/cozy-ui/commit/149531b))
28
+ * **ListItem:** Add ExpandedAttributes comp ([93c0471](https://github.com/cozy/cozy-ui/commit/93c0471))
29
+ * **ListItem:** Add ListItemBase and its logic ([fd094e0](https://github.com/cozy/cozy-ui/commit/fd094e0))
30
+ * **ListItem:** Add ListItemContact based on ListItemBase ([8138158](https://github.com/cozy/cozy-ui/commit/8138158))
31
+ * **ListItem:** Add ListItemDoc ([6972163](https://github.com/cozy/cozy-ui/commit/6972163))
32
+ * **ListItem:** Add ListItemFile based on ListItemBase ([8ae5ce7](https://github.com/cozy/cozy-ui/commit/8ae5ce7))
33
+ * **ListItem:** Add locales and hoc to use them ([d83876f](https://github.com/cozy/cozy-ui/commit/d83876f))
34
+ * Some minors fixes after review ([31f4e55](https://github.com/cozy/cozy-ui/commit/31f4e55))
7
35
 
8
36
  ## [81.6.1](https://github.com/cozy/cozy-ui/compare/v81.6.0...v81.6.1) (2023-03-21)
9
37
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cozy-ui",
3
- "version": "81.7.0",
3
+ "version": "81.9.0",
4
4
  "description": "Cozy apps UI SDK",
5
5
  "main": "./index.js",
6
6
  "bin": {
@@ -22,14 +22,15 @@
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/next/styleguide/app.css stylus/cozy-ui/build.styl",
25
+ "build:css:kss": "env CSSMODULES=false yarn run stylus-build -o build/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/next/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/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
+ "build:all": "yarn makeSpriteAndPalette && yarn build && yarn build:css:all && yarn build:doc",
31
32
  "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/next/styleguide",
33
+ "clean:doc:kss": "rm -rf build/styleguide",
33
34
  "deploy:doc": "git-directory-deploy --directory build/ --branch gh-pages",
34
35
  "makeSvgr": "scripts/generate-svgr-icon.sh",
35
36
  "lint": "npm-run-all 'lint:*'",
@@ -39,12 +40,12 @@
39
40
  "palette": "scripts/make-palette.sh",
40
41
  "prebuild:css": "mkdir -p dist/ && stylus -C node_modules/normalize.css/normalize.css node_modules/normalize.css/normalize.styl",
41
42
  "prebuild:css:utils": "mkdir -p dist/",
42
- "prebuild:css:kss": "mkdir -p build/next/styleguide && stylus -C node_modules/normalize.css/normalize.css node_modules/normalize.css/normalize.styl",
43
+ "prebuild:css:kss": "mkdir -p build/styleguide && stylus -C node_modules/normalize.css/normalize.css node_modules/normalize.css/normalize.styl",
43
44
  "prebuild:doc:kss": "run-s clean:doc:kss build:css:kss",
44
45
  "makeSpriteAndPalette": "npm-run-all --parallel sprite palette",
45
46
  "semantic-release": "semantic-release",
46
47
  "sprite": "scripts/make-icon-sprite.sh",
47
- "screenshots": "node scripts/screenshots.js --screenshot-dir ./screenshots --styleguide-url file://$(pwd)/build/next/react --kss-dir ./build/next/styleguide",
48
+ "screenshots": "node scripts/screenshots.js --screenshot-dir ./screenshots --styleguide-url file://$(pwd)/build/react --kss-dir ./build/styleguide",
48
49
  "test": "jest",
49
50
  "test:noSnapshots": "jest --testPathIgnorePatterns 'react/examples.spec.jsx'",
50
51
  "test:snapshots": "jest react/examples.spec.jsx",
@@ -55,7 +56,7 @@
55
56
  "start:css": "yarn build:css --watch",
56
57
  "prestart:doc": "yarn sprite",
57
58
  "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/next/styleguide -p 4242'",
59
+ "start:doc:kss": "nodemon --ext styl,md --watch stylus --exec 'yarn build:doc:kss && http-server build/styleguide -p 4242'",
59
60
  "start": "yarn build --watch",
60
61
  "removeEmptyCss": "node scripts/removeEmptyCss.js",
61
62
  "optimizeIcons": "svgo -r --folder assets/icons"
@@ -74,7 +75,6 @@
74
75
  "@babel/helper-regex": "7.10.5",
75
76
  "@cozy/codemods": "^1.9.0",
76
77
  "@cozy/minilog": "^1.0.0",
77
- "@mui/codemod": "^5.11.5",
78
78
  "@semantic-release/changelog": "6.0.1",
79
79
  "@semantic-release/git": "7.0.18",
80
80
  "@semantic-release/npm": "9.0.1",
@@ -83,7 +83,6 @@
83
83
  "@testing-library/react": "11.2.7",
84
84
  "@testing-library/react-hooks": "^3.2.1",
85
85
  "@testing-library/user-event": "^14.4.2",
86
- "@wojtekmaj/enzyme-adapter-react-17": "^0.8.0",
87
86
  "autoprefixer-stylus": "1.0.0",
88
87
  "babel-loader": "8.2.4",
89
88
  "babel-plugin-css-modules-transform": "1.6.2",
@@ -91,18 +90,19 @@
91
90
  "babel-preset-cozy-app": "2.0.2",
92
91
  "browserslist-config-cozy": "0.4.0",
93
92
  "copyfiles": "2.4.1",
94
- "cozy-client": "^34.8.0",
93
+ "cozy-client": "^35.2.0",
95
94
  "cozy-device-helper": "2.0.0",
96
95
  "cozy-flags": "^2.10.1",
97
96
  "cozy-harvest-lib": "^6.7.3",
98
97
  "cozy-intent": "1.16.1",
99
98
  "cozy-logger": "^1.9.0",
100
99
  "cozy-sharing": "^3.10.0",
101
- "cozy-stack-client": "^34.7.3",
100
+ "cozy-stack-client": "^35.0.0",
102
101
  "css-loader": "0.28.11",
103
102
  "cssnano": "4.1.11",
104
103
  "cssnano-preset-advanced": "4.0.8",
105
104
  "enzyme": "3.11.0",
105
+ "enzyme-adapter-react-16": "1.15.6",
106
106
  "enzyme-to-json": "3.6.2",
107
107
  "eslint": "8.11.0",
108
108
  "eslint-config-cozy-app": "4.0.0",
@@ -129,8 +129,8 @@
129
129
  "pretty": "2.0.0",
130
130
  "prop-types": "15.7.2",
131
131
  "puppeteer": "10.1.0",
132
- "react": "17.0.2",
133
- "react-dom": "17.0.2",
132
+ "react": "16.12.0",
133
+ "react-dom": "16.12.0",
134
134
  "react-hot-loader": "^4.3.11",
135
135
  "react-redux": "7.2.7",
136
136
  "react-styleguidist": "9.1.16",
@@ -154,10 +154,8 @@
154
154
  },
155
155
  "dependencies": {
156
156
  "@babel/runtime": "^7.3.4",
157
- "@emotion/react": "^11.10.5",
158
- "@emotion/styled": "^11.10.5",
159
- "@mui/material": "^5.11.4",
160
- "@mui/styles": "^5.11.2",
157
+ "@material-ui/core": "4.12.3",
158
+ "@material-ui/lab": "^4.0.0-alpha.61",
161
159
  "@popperjs/core": "^2.4.4",
162
160
  "bundlemon": "^1.3.2",
163
161
  "chart.js": "3.7.1",
@@ -182,14 +180,14 @@
182
180
  "rooks": "^5.11.2"
183
181
  },
184
182
  "peerDependencies": {
185
- "cozy-client": ">=34.8.0",
183
+ "cozy-client": ">=35.2.0",
186
184
  "cozy-device-helper": "^2.0.0",
187
185
  "cozy-harvest-lib": "^6.7.3",
188
186
  "cozy-intent": ">=1.3.0",
189
187
  "cozy-sharing": "^3.10.0",
190
188
  "puppeteer": "^1.20.0",
191
- "react": "^17.0.2",
192
- "react-dom": "^17.0.2"
189
+ "react": "^16.8.6",
190
+ "react-dom": "^16.8.6"
193
191
  },
194
192
  "peerDependenciesMeta ": {
195
193
  "puppeteer": {
@@ -208,8 +206,5 @@
208
206
  },
209
207
  "browserslist": [
210
208
  "extends browserslist-config-cozy"
211
- ],
212
- "publishConfig": {
213
- "tag": "next"
214
- }
209
+ ]
215
210
  }
@@ -1 +1 @@
1
- Re-export of @material-ui. See [the official API](https://mui.com/material-ui/api/accordion-actions/).
1
+ Re-export of @material-ui. See [the official API](https://v4.mui.com/api/accordion-actions/).
@@ -1,3 +1,3 @@
1
- import MuiAccordionActions from '@mui/material/AccordionActions'
1
+ import MuiAccordionActions from '@material-ui/core/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 '@mui/material'
5
+ import { Theme, useTheme } from '@material-ui/core'
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 '@mui/material/ClickAwayListener'
3
+ import ClickAwayListener from '@material-ui/core/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-gutterBottom css-4w42zc-MuiTypography-root"
131
+ class="MuiTypography-root MuiTypography-body1 MuiTypography-colorTextPrimary MuiTypography-gutterBottom"
132
132
  >
133
133
  Item 4
134
134
  </p>
135
135
  <span
136
- class="MuiTypography-root MuiTypography-caption css-ol7wxs-MuiTypography-root"
136
+ class="MuiTypography-root MuiTypography-caption MuiTypography-colorTextSecondary"
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 '@mui/material/Alert'
5
+ import MuiAlert from '@material-ui/lab/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://mui.com/material-ui/api/alert-title/).
1
+ Re-export of @material-ui. See [the official API](https://v4.mui.com/api/alert-title/).
@@ -1,3 +1,3 @@
1
- import AlertTitle from '@mui/material/AlertTitle'
1
+ import MuiAlertTitle from '@material-ui/lab/AlertTitle'
2
2
 
3
- export default AlertTitle
3
+ export default MuiAlertTitle
@@ -1 +1 @@
1
- Re-export of @material-ui. See [the official API](https://mui.com/material-ui/api/app-bar/).
1
+ Re-export of @material-ui. See [the official API](https://v4.mui.com/api/app-bar/).
@@ -1,3 +1,3 @@
1
- import MuiAppBar from '@mui/material/AppBar'
1
+ import MuiAppBar from '@material-ui/core/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 '@mui/material/Typography'
3
+ import Typography from '@material-ui/core/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://mui.com/material-ui/api/backdrop/).
1
+ Re-export of @material-ui. See [the official API](https://v4.mui.com/api/backdrop/).
@@ -1,3 +1,3 @@
1
- import MuiBackdrop from '@mui/material/Backdrop'
1
+ import MuiBackdrop from '@material-ui/core/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 '@mui/material/Badge'
4
+ import MuiBadge from '@material-ui/core/Badge'
5
5
 
6
6
  const Badge = ({
7
7
  classes = {},
@@ -0,0 +1,19 @@
1
+ import React from 'react'
2
+ import { render } from '@testing-library/react'
3
+ import Banner from '.'
4
+
5
+ describe('Grid', () => {
6
+ it('should render correctly justify content', () => {
7
+ // Given
8
+ console.error = jest.fn()
9
+
10
+ // When
11
+ const { container } = render(<Banner buttonOne={<button />} />)
12
+
13
+ // Then
14
+ expect(console.error).not.toHaveBeenCalled()
15
+ expect(
16
+ container.querySelector('.MuiGrid-justify-content-xs-space-between')
17
+ ).toBeInTheDocument()
18
+ })
19
+ })
@@ -1 +1 @@
1
- Re-export of @material-ui. See [the official API](https://mui.com/material-ui/api/bottom-navigation/).
1
+ Re-export of @material-ui. See [the official API](https://v4.mui.com/api/bottom-navigation/).
@@ -1,3 +1,3 @@
1
- import MuiBottomNavigation from '@mui/material/BottomNavigation'
1
+ import MuiBottomNavigation from '@material-ui/core/BottomNavigation'
2
2
 
3
3
  export default MuiBottomNavigation
@@ -1 +1 @@
1
- Re-export of @material-ui. See [the official API](https://mui.com/material-ui/api/bottom-navigation-action/).
1
+ Re-export of @material-ui. See [the official API](https://v4.mui.com/api/bottom-navigation-action/).
@@ -1,3 +1,3 @@
1
- import MuiBottomNavigationAction from '@mui/material/BottomNavigationAction'
1
+ import MuiBottomNavigationAction from '@material-ui/core/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 '@mui/material/Fade'
14
- import Portal from '@mui/material/Portal'
13
+ import Fade from '@material-ui/core/Fade'
14
+ import Portal from '@material-ui/core/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
- size="small"
126
+ margin="dense"
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 u-mt-1-s"
133
+ className="u-ml-0-s u-ml-half"
134
134
  type="number"
135
- size="small"
135
+ margin="dense"
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 u-mt-1-s"
142
+ className="u-ml-0-s u-ml-half"
143
143
  type="number"
144
- size="small"
144
+ margin="dense"
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://mui.com/material-ui/api/box/).
1
+ Re-export of @material-ui. See [the official API](https://v4.mui.com/api/box/).
@@ -1,3 +1,3 @@
1
- import MuiBox from '@mui/material/Box'
1
+ import MuiBox from '@material-ui/core/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,8 +80,6 @@ class Example extends Component {
80
80
  }
81
81
  }
82
82
 
83
- ;
84
-
85
83
  <>
86
84
  <Example />
87
85
  </>
@@ -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 '@mui/material/IconButton'
7
+ import IconButton from '@material-ui/core/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 '@mui/material/Button'
5
+ import MuiButton from '@material-ui/core/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://mui.com/material-ui/api/card-action-area/).
1
+ Re-export of @material-ui. See [the official API](https://v4.mui.com/api/card-action-area/).
@@ -1,3 +1,3 @@
1
- import MuiCardActionArea from '@mui/material/CardActionArea'
1
+ import MuiCardActionArea from '@material-ui/core/CardActionArea'
2
2
 
3
3
  export default MuiCardActionArea
@@ -1 +1 @@
1
- Re-export of @material-ui. See [the official API](https://mui.com/material-ui/api/card-actions/).
1
+ Re-export of @material-ui. See [the official API](https://v4.mui.com/api/card-actions/).
@@ -1,3 +1,3 @@
1
- import MuiCardActions from '@mui/material/CardActions'
1
+ import MuiCardActions from '@material-ui/core/CardActions'
2
2
 
3
3
  export default MuiCardActions
@@ -1 +1 @@
1
- Re-export of @material-ui. See [the official API](https://mui.com/material-ui/api/card-content/).
1
+ Re-export of @material-ui. See [the official API](https://v4.mui.com/api/card-content/).
@@ -1,3 +1,3 @@
1
- import MuiCardContent from '@mui/material/CardContent'
1
+ import MuiCardContent from '@material-ui/core/CardContent'
2
2
 
3
3
  export default MuiCardContent
@@ -1 +1 @@
1
- Re-export of @material-ui. See [the official API](https://mui.com/material-ui/api/card-header/).
1
+ Re-export of @material-ui. See [the official API](https://v4.mui.com/api/card-header/).
@@ -1,3 +1,3 @@
1
- import MuiCardHeader from '@mui/material/CardHeader'
1
+ import MuiCardHeader from '@material-ui/core/CardHeader'
2
2
 
3
3
  export default MuiCardHeader
@@ -1 +1 @@
1
- Re-export of @material-ui. See [the official API](https://mui.com/material-ui/api/card-media/).
1
+ Re-export of @material-ui. See [the official API](https://v4.mui.com/api/card-media/).
@@ -1,3 +1,3 @@
1
- import MuiCardMedia from '@mui/material/CardMedia'
1
+ import MuiCardMedia from '@material-ui/core/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 '@mui/material/Checkbox'
6
- import FormControlLabel from '@mui/material/FormControlLabel'
5
+ import MUICheckbox from '@material-ui/core/Checkbox'
6
+ import FormControlLabel from '@material-ui/core/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 '@mui/material/Chip'
4
+ import MuiChip from '@material-ui/core/Chip'
5
5
 
6
6
  const Chips = forwardRef(
7
7
  (
@@ -38,7 +38,6 @@ const CircleButton = ({
38
38
  disabled,
39
39
  fullWidth = false,
40
40
  children,
41
- size,
42
41
  ...props
43
42
  }) => {
44
43
  const styles = useStyles({ active: variant === 'active', disabled })
@@ -53,12 +52,7 @@ const CircleButton = ({
53
52
  flexBasis="64px"
54
53
  padding="8px 0 4px 0"
55
54
  >
56
- <IconButton
57
- className={styles.iconButton}
58
- disabled={disabled}
59
- size={size}
60
- {...props}
61
- >
55
+ <IconButton className={styles.iconButton} disabled={disabled} {...props}>
62
56
  {children}
63
57
  </IconButton>
64
58
  {label && (
@@ -81,12 +75,7 @@ CircleButton.propTypes = {
81
75
  label: PropTypes.oneOfType([PropTypes.string, PropTypes.node]),
82
76
  variant: PropTypes.oneOf(['default', 'active']),
83
77
  disabled: PropTypes.bool,
84
- fullWidth: PropTypes.bool,
85
- size: PropTypes.string
86
- }
87
-
88
- CircleButton.defaultProps = {
89
- size: 'large'
78
+ fullWidth: PropTypes.bool
90
79
  }
91
80
 
92
81
  export default CircleButton
@@ -1 +1 @@
1
- Re-export of @material-ui. See [the official API](https://mui.com/material-ui/api/circular-progress/).
1
+ Re-export of @material-ui. See [the official API](https://v4.mui.com/api/circular-progress/).
@@ -1,3 +1,3 @@
1
- import MuiCircularProgress from '@mui/material/CircularProgress'
1
+ import MuiCircularProgress from '@material-ui/core/CircularProgress'
2
2
 
3
3
  export default MuiCircularProgress
@@ -1 +1 @@
1
- Re-export of @material-ui. See [the official API](https://mui.com/material-ui/api/click-away-listener/).
1
+ Re-export of @material-ui. See [the official API](https://v4.mui.com/api/click-away-listener/).
@@ -1,3 +1,3 @@
1
- import MuiClickAwayListener from '@mui/material/ClickAwayListener'
1
+ import MuiClickAwayListener from '@material-ui/core/ClickAwayListener'
2
2
 
3
3
  export default MuiClickAwayListener
@@ -1 +1 @@
1
- Re-export of @material-ui. See [the official API](https://mui.com/material-ui/api/collapse/).
1
+ Re-export of @material-ui. See [the official API](https://v4.mui.com/api/collapse/).
@@ -1,3 +1,3 @@
1
- import MuiCollapse from '@mui/material/Collapse'
1
+ import MuiCollapse from '@material-ui/core/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 MuiListItem-padding css-1p823my-MuiListItem-root"
5
+ className="MuiListItem-root MuiListItem-gutters"
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 MuiTypography-body1 MuiTypography-gutterBottom MuiTypography-noWrap u-ml-1 css-anxs48-MuiTypography-root"
32
+ className="MuiTypography-root u-ml-1 MuiTypography-body1 MuiTypography-colorTextPrimary MuiTypography-noWrap MuiTypography-gutterBottom MuiTypography-displayInline"
33
33
  data-testid="ContactName"
34
34
  >
35
35
  <span
@@ -1,4 +1,4 @@
1
- import { Typography } from '@mui/material'
1
+ import { Typography } from '@material-ui/core'
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 '@mui/material/IconButton'
8
- import Input from '@mui/material/Input'
7
+ import IconButton from '@material-ui/core/IconButton'
8
+ import Input from '@material-ui/core/Input'
9
9
 
10
10
  const barStyle = {
11
11
  height: 48