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.
- package/CHANGELOG.md +14 -0
- package/package.json +24 -18
- package/react/AccordionActions/Readme.md +1 -1
- package/react/AccordionActions/index.js +1 -1
- package/react/ActionMenu/ActionMenuEffects.ts +1 -1
- package/react/ActionMenu/NotInlineWrapper.jsx +1 -1
- package/react/ActionMenu/__snapshots__/index.spec.jsx.snap +2 -2
- package/react/Alert/index.jsx +1 -1
- package/react/AlertTitle/Readme.md +1 -1
- package/react/AlertTitle/index.jsx +2 -2
- package/react/AppBar/Readme.md +1 -1
- package/react/AppBar/index.js +1 -1
- package/react/AppTitle/index.jsx +1 -1
- package/react/Backdrop/Readme.md +1 -1
- package/react/Backdrop/index.js +1 -1
- package/react/Badge/index.jsx +1 -1
- package/react/BottomNavigation/Readme.md +1 -1
- package/react/BottomNavigation/index.js +1 -1
- package/react/BottomNavigationAction/Readme.md +1 -1
- package/react/BottomNavigationAction/index.js +1 -1
- package/react/BottomSheet/BottomSheet.jsx +2 -2
- package/react/BottomSheet/README.md +5 -5
- package/react/Box/Readme.md +1 -1
- package/react/Box/index.js +1 -1
- package/react/Breadcrumbs/Readme.md +6 -4
- package/react/Breadcrumbs/index.jsx +1 -1
- package/react/Buttons/index.jsx +1 -1
- package/react/CardActionArea/Readme.md +1 -1
- package/react/CardActionArea/index.js +1 -1
- package/react/CardActions/Readme.md +1 -1
- package/react/CardActions/index.js +1 -1
- package/react/CardContent/Readme.md +1 -1
- package/react/CardContent/index.js +1 -1
- package/react/CardHeader/Readme.md +1 -1
- package/react/CardHeader/index.js +1 -1
- package/react/CardMedia/Readme.md +1 -1
- package/react/CardMedia/index.js +1 -1
- package/react/Checkbox/index.jsx +2 -2
- package/react/Chips/index.jsx +1 -1
- package/react/CircleButton/index.jsx +13 -2
- package/react/CircularProgress/Readme.md +1 -1
- package/react/CircularProgress/index.js +1 -1
- package/react/ClickAwayListener/Readme.md +1 -1
- package/react/ClickAwayListener/index.js +1 -1
- package/react/Collapse/Readme.md +1 -1
- package/react/Collapse/index.js +1 -1
- package/react/ContactsList/__snapshots__/ContactRow.spec.js.snap +2 -2
- package/react/ContactsListModal/AddContact/AddContactContent.jsx +1 -1
- package/react/ContactsListModal/MobileHeader.jsx +2 -2
- package/react/ContactsListModal/index.jsx +1 -2
- package/react/Container/Readme.md +1 -1
- package/react/Container/index.js +1 -1
- package/react/CozyDialogs/DialogTransition.jsx +2 -2
- package/react/CozyDialogs/useCozyDialog.js +0 -1
- package/react/CssBaseline/Readme.md +1 -1
- package/react/CssBaseline/index.js +1 -1
- package/react/Dialog/DialogActions.jsx +1 -1
- package/react/Dialog/DialogContent.jsx +1 -1
- package/react/Dialog/DialogContentText.jsx +1 -1
- package/react/Dialog/DialogEffects.spec.tsx +1 -1
- package/react/Dialog/DialogEffects.ts +1 -1
- package/react/Dialog/DialogTitle.jsx +1 -1
- package/react/Dialog/Readme.md +1 -1
- package/react/Dialog/index.jsx +1 -1
- package/react/DialogActions/Readme.md +1 -1
- package/react/DialogActions/index.js +1 -1
- package/react/DialogContent/Readme.md +1 -1
- package/react/DialogContent/index.js +1 -1
- package/react/DialogContentText/Readme.md +1 -1
- package/react/DialogContentText/index.js +1 -1
- package/react/DialogTitle/Readme.md +1 -1
- package/react/DialogTitle/index.js +1 -1
- package/react/Drawer/Readme.md +1 -1
- package/react/Drawer/index.js +1 -1
- package/react/DropdownButton/index.jsx +1 -1
- package/react/Fab/index.js +1 -1
- package/react/Fade/Readme.md +1 -1
- package/react/Fade/index.js +1 -1
- package/react/FilePicker/FilePickerBodyItem.spec.jsx +1 -1
- package/react/FilledInput/Readme.md +1 -1
- package/react/FilledInput/index.js +1 -1
- package/react/FormControl/Readme.md +1 -1
- package/react/FormControl/index.js +5 -1
- package/react/FormControlLabel/Readme.md +1 -1
- package/react/FormControlLabel/index.js +1 -1
- package/react/FormGroup/Readme.md +1 -1
- package/react/FormGroup/index.js +1 -1
- package/react/FormHelperText/Readme.md +1 -1
- package/react/FormHelperText/index.js +1 -1
- package/react/FormLabel/Readme.md +1 -1
- package/react/FormLabel/index.js +1 -1
- package/react/GridList/Readme.md +1 -1
- package/react/GridList/index.js +11 -2
- package/react/GridListTile/Readme.md +1 -1
- package/react/GridListTile/index.js +11 -2
- package/react/GridListTileBar/Readme.md +1 -1
- package/react/GridListTileBar/index.js +11 -2
- package/react/Grow/Readme.md +1 -1
- package/react/Grow/index.js +1 -1
- package/react/Hidden/Readme.md +1 -1
- package/react/Hidden/index.js +1 -1
- package/react/I18n/format.jsx +12 -2
- package/react/I18n/format.spec.jsx +17 -5
- package/react/IconButton/index.jsx +1 -1
- package/react/ImageList/Readme.md +1 -0
- package/react/ImageList/index.js +3 -0
- package/react/ImageListItem/Readme.md +1 -0
- package/react/ImageListItem/index.js +3 -0
- package/react/ImageListItemBar/Readme.md +1 -0
- package/react/ImageListItemBar/index.js +3 -0
- package/react/InputAdornment/Readme.md +1 -1
- package/react/InputAdornment/index.js +1 -1
- package/react/LinearProgress/Readme.md +1 -1
- package/react/LinearProgress/index.js +1 -1
- package/react/Link/Readme.md +1 -1
- package/react/Link/index.js +5 -1
- package/react/ListItemAvatar/Readme.md +1 -1
- package/react/ListItemAvatar/index.js +1 -1
- package/react/ListItemText/index.jsx +1 -1
- package/react/MenuItem/Readme.md +1 -1
- package/react/MenuItem/index.js +1 -1
- package/react/MenuList/Readme.md +1 -1
- package/react/MenuList/index.js +1 -1
- package/react/MobileStepper/Readme.md +1 -1
- package/react/MobileStepper/index.js +1 -1
- package/react/Modal/ModalEffects.ts +1 -1
- package/react/MuiCozyTheme/Accordion/Readme.md +5 -3
- package/react/MuiCozyTheme/Accordion/index.js +1 -1
- package/react/MuiCozyTheme/AccordionDetails/index.js +1 -1
- package/react/MuiCozyTheme/AccordionSummary/index.js +8 -1
- package/react/MuiCozyTheme/Buttons/Readme.md +1 -1
- package/react/MuiCozyTheme/Buttons/index.js +1 -1
- package/react/MuiCozyTheme/Divider/Readme.md +1 -1
- package/react/MuiCozyTheme/Divider/index.jsx +2 -2
- package/react/MuiCozyTheme/Grid/index.js +1 -1
- package/react/MuiCozyTheme/List/Readme.md +1 -1
- package/react/MuiCozyTheme/List/index.js +1 -1
- package/react/MuiCozyTheme/ListItem/index.js +1 -1
- package/react/MuiCozyTheme/ListItemIcon/index.js +1 -1
- package/react/MuiCozyTheme/ListItemSecondaryAction/index.js +1 -1
- package/react/MuiCozyTheme/ListSubheader/index.js +1 -1
- package/react/MuiCozyTheme/Menu/Readme.md +1 -1
- package/react/MuiCozyTheme/Menu/index.js +1 -1
- package/react/MuiCozyTheme/Menus/Readme.md +1 -1
- package/react/MuiCozyTheme/Menus/index.js +5 -5
- package/react/MuiCozyTheme/RaisedList/README.md +1 -1
- package/react/MuiCozyTheme/RaisedList/index.js +2 -2
- package/react/MuiCozyTheme/Readme.md +1 -1
- package/react/MuiCozyTheme/Switch/Readme.md +1 -1
- package/react/MuiCozyTheme/Switch/index.jsx +1 -1
- package/react/MuiCozyTheme/TextField/index.js +5 -1
- package/react/MuiCozyTheme/helpers.js +253 -0
- package/react/MuiCozyTheme/makeInvertedOverrides.js +121 -0
- package/react/MuiCozyTheme/makeOverrides.js +673 -946
- package/react/MuiCozyTheme/makePalette.js +5 -5
- package/react/MuiCozyTheme/makeTheme.jsx +4 -19
- package/react/MuiTabs/index.jsx +7 -2
- package/react/NativeSelect/Readme.md +1 -1
- package/react/NativeSelect/index.js +1 -1
- package/react/NoSsr/Readme.md +1 -1
- package/react/NoSsr/index.js +1 -1
- package/react/OutlinedInput/Readme.md +1 -1
- package/react/OutlinedInput/index.js +1 -1
- package/react/Paper/Readme.md +2 -1
- package/react/Paper/index.js +1 -1
- package/react/PieChart/index.jsx +4 -4
- package/react/Progress/index.js +2 -2
- package/react/Radio/index.jsx +1 -1
- package/react/RadioGroup/Readme.md +1 -1
- package/react/RadioGroup/index.js +1 -1
- package/react/Radios/index.jsx +1 -1
- package/react/RootRef/Readme.md +1 -1
- package/react/RootRef/index.js +6 -2
- package/react/ScopedCssBaseline/Readme.md +1 -1
- package/react/ScopedCssBaseline/index.js +1 -1
- package/react/Select/Readme.md +1 -1
- package/react/Select/index.js +5 -1
- package/react/SelectionBar/index.jsx +1 -1
- package/react/Sidebar/index.jsx +1 -1
- package/react/Skeleton/Readme.md +1 -1
- package/react/Skeleton/index.js +1 -1
- package/react/Slide/Readme.md +1 -1
- package/react/Slide/index.js +1 -1
- package/react/Slider/Readme.md +1 -1
- package/react/Slider/index.js +1 -1
- package/react/Snackbar/index.jsx +1 -1
- package/react/SnackbarContent/Readme.md +1 -1
- package/react/SnackbarContent/index.js +1 -1
- package/react/SquareAppIcon/__snapshots__/SquareAppIcon.spec.js.snap +46 -46
- package/react/SquareAppIcon/index.jsx +2 -2
- package/react/Step/Readme.md +1 -1
- package/react/Step/index.js +1 -1
- package/react/StepButton/Readme.md +1 -1
- package/react/StepButton/index.js +1 -1
- package/react/StepConnector/Readme.md +1 -1
- package/react/StepConnector/index.js +1 -1
- package/react/StepContent/Readme.md +1 -1
- package/react/StepContent/index.js +1 -1
- package/react/StepIcon/Readme.md +1 -1
- package/react/StepIcon/index.js +1 -1
- package/react/StepLabel/Readme.md +1 -1
- package/react/StepLabel/index.js +1 -1
- package/react/Stepper/index.jsx +4 -4
- package/react/SvgIcon/Readme.md +1 -1
- package/react/SvgIcon/index.js +1 -1
- package/react/SwipeableDrawer/Readme.md +1 -1
- package/react/SwipeableDrawer/index.js +1 -1
- package/react/Tab/Readme.md +1 -1
- package/react/Tab/index.js +1 -1
- package/react/Tabs/index.jsx +1 -1
- package/react/TextareaAutosize/Readme.md +1 -1
- package/react/TextareaAutosize/index.js +1 -1
- package/react/Toolbar/Readme.md +1 -1
- package/react/Toolbar/index.js +1 -1
- package/react/Tooltip/Readme.md +1 -1
- package/react/Tooltip/index.jsx +5 -1
- package/react/Typography/Readme.md +6 -3
- package/react/Typography/index.jsx +7 -1
- package/react/UploadQueue/index.jsx +1 -1
- package/react/UploadQueue/index.spec.jsx +5 -0
- package/react/Viewer/Panel/QualificationListItemContact.jsx +1 -0
- package/react/Viewer/Panel/QualificationListItemDate.jsx +1 -0
- package/react/Viewer/Panel/QualificationListItemInformation.jsx +4 -4
- package/react/Viewer/Panel/QualificationListItemInformation.spec.jsx +11 -1
- package/react/Viewer/Panel/QualificationListItemOther.jsx +1 -0
- package/react/Viewer/ViewerInformationsWrapper.jsx +1 -1
- package/react/Viewer/components/InformationPanel.jsx +1 -1
- package/react/Viewer/components/Toolbar.jsx +1 -1
- package/react/Zoom/Readme.md +1 -1
- package/react/Zoom/index.js +1 -1
- package/react/__snapshots__/examples.spec.jsx.snap +791 -1075
- package/react/examples.spec.jsx +1 -1
- package/react/hooks/useCycle.md +4 -4
- package/react/styles/index.js +17 -1
- package/release.config.js +2 -1
- package/transpiled/react/AccordionActions/index.js +1 -1
- package/transpiled/react/ActionMenu/ActionMenuEffects.js +1 -1
- package/transpiled/react/ActionMenu/NotInlineWrapper.js +1 -1
- package/transpiled/react/Alert/index.js +1 -1
- package/transpiled/react/AlertTitle/index.js +2 -2
- package/transpiled/react/AppBar/index.js +1 -1
- package/transpiled/react/AppTitle/index.js +1 -1
- package/transpiled/react/Backdrop/index.js +1 -1
- package/transpiled/react/Badge/index.js +1 -1
- package/transpiled/react/BottomNavigation/index.js +1 -1
- package/transpiled/react/BottomNavigationAction/index.js +1 -1
- package/transpiled/react/BottomSheet/BottomSheet.js +2 -2
- package/transpiled/react/Box/index.js +1 -1
- package/transpiled/react/Breadcrumbs/index.js +1 -1
- package/transpiled/react/Buttons/index.js +1 -1
- package/transpiled/react/CardActionArea/index.js +1 -1
- package/transpiled/react/CardActions/index.js +1 -1
- package/transpiled/react/CardContent/index.js +1 -1
- package/transpiled/react/CardHeader/index.js +1 -1
- package/transpiled/react/CardMedia/index.js +1 -1
- package/transpiled/react/Checkbox/index.js +2 -2
- package/transpiled/react/Chips/index.js +1 -1
- package/transpiled/react/CircleButton/index.js +9 -3
- package/transpiled/react/CircularProgress/index.js +1 -1
- package/transpiled/react/ClickAwayListener/index.js +1 -1
- package/transpiled/react/Collapse/index.js +1 -1
- package/transpiled/react/ContactsListModal/AddContact/AddContactContent.js +1 -1
- package/transpiled/react/ContactsListModal/MobileHeader.js +2 -2
- package/transpiled/react/ContactsListModal/index.js +1 -2
- package/transpiled/react/Container/index.js +1 -1
- package/transpiled/react/CozyDialogs/DialogTransition.js +2 -2
- package/transpiled/react/CozyDialogs/useCozyDialog.js +0 -1
- package/transpiled/react/CssBaseline/index.js +1 -1
- package/transpiled/react/Dialog/DialogActions.js +1 -1
- package/transpiled/react/Dialog/DialogContent.js +1 -1
- package/transpiled/react/Dialog/DialogContentText.js +1 -1
- package/transpiled/react/Dialog/DialogEffects.d.ts +1 -1
- package/transpiled/react/Dialog/DialogEffects.js +1 -1
- package/transpiled/react/Dialog/DialogTitle.js +1 -1
- package/transpiled/react/Dialog/index.js +1 -1
- package/transpiled/react/DialogActions/index.js +1 -1
- package/transpiled/react/DialogContent/index.js +1 -1
- package/transpiled/react/DialogContentText/index.js +1 -1
- package/transpiled/react/DialogTitle/index.js +1 -1
- package/transpiled/react/Drawer/index.js +1 -1
- package/transpiled/react/DropdownButton/index.js +1 -1
- package/transpiled/react/Fab/index.js +1 -1
- package/transpiled/react/Fade/index.js +1 -1
- package/transpiled/react/FilledInput/index.js +1 -1
- package/transpiled/react/FormControl/index.js +4 -1
- package/transpiled/react/FormControlLabel/index.js +1 -1
- package/transpiled/react/FormGroup/index.js +1 -1
- package/transpiled/react/FormHelperText/index.js +1 -1
- package/transpiled/react/FormLabel/index.js +1 -1
- package/transpiled/react/GridList/index.js +11 -2
- package/transpiled/react/GridListTile/index.js +11 -2
- package/transpiled/react/GridListTileBar/index.js +11 -2
- package/transpiled/react/Grow/index.js +1 -1
- package/transpiled/react/Hidden/index.js +1 -1
- package/transpiled/react/I18n/format.js +11 -2
- package/transpiled/react/IconButton/index.js +1 -1
- package/transpiled/react/ImageList/index.js +2 -0
- package/transpiled/react/ImageListItem/index.js +2 -0
- package/transpiled/react/ImageListItemBar/index.js +2 -0
- package/transpiled/react/InputAdornment/index.js +1 -1
- package/transpiled/react/LinearProgress/index.js +1 -1
- package/transpiled/react/Link/index.js +4 -1
- package/transpiled/react/ListItemAvatar/index.js +1 -1
- package/transpiled/react/ListItemText/index.js +1 -1
- package/transpiled/react/MenuItem/index.js +1 -1
- package/transpiled/react/MenuList/index.js +1 -1
- package/transpiled/react/MobileStepper/index.js +1 -1
- package/transpiled/react/Modal/ModalEffects.js +1 -1
- package/transpiled/react/MuiCozyTheme/Accordion/index.js +1 -1
- package/transpiled/react/MuiCozyTheme/AccordionDetails/index.js +1 -1
- package/transpiled/react/MuiCozyTheme/AccordionSummary/index.js +6 -1
- package/transpiled/react/MuiCozyTheme/Buttons/index.js +1 -1
- package/transpiled/react/MuiCozyTheme/Divider/index.js +2 -2
- package/transpiled/react/MuiCozyTheme/Grid/index.js +1 -1
- package/transpiled/react/MuiCozyTheme/List/index.js +1 -1
- package/transpiled/react/MuiCozyTheme/ListItem/index.js +1 -1
- package/transpiled/react/MuiCozyTheme/ListItemIcon/index.js +1 -1
- package/transpiled/react/MuiCozyTheme/ListItemSecondaryAction/index.js +1 -1
- package/transpiled/react/MuiCozyTheme/ListSubheader/index.js +1 -1
- package/transpiled/react/MuiCozyTheme/Menu/index.js +1 -1
- package/transpiled/react/MuiCozyTheme/Menus/index.js +5 -5
- package/transpiled/react/MuiCozyTheme/RaisedList/index.js +2 -2
- package/transpiled/react/MuiCozyTheme/Switch/index.js +1 -1
- package/transpiled/react/MuiCozyTheme/TextField/index.js +4 -1
- package/transpiled/react/MuiCozyTheme/helpers.js +210 -0
- package/transpiled/react/MuiCozyTheme/makeInvertedOverrides.js +117 -0
- package/transpiled/react/MuiCozyTheme/makeOverrides.js +133 -381
- package/transpiled/react/MuiCozyTheme/makePalette.js +5 -4
- package/transpiled/react/MuiCozyTheme/makeTheme.js +5 -22
- package/transpiled/react/MuiTabs/index.js +8 -2
- package/transpiled/react/NativeSelect/index.js +1 -1
- package/transpiled/react/NoSsr/index.js +1 -1
- package/transpiled/react/OutlinedInput/index.js +1 -1
- package/transpiled/react/Paper/index.js +1 -1
- package/transpiled/react/PieChart/index.js +4 -4
- package/transpiled/react/Progress/index.js +2 -2
- package/transpiled/react/Radio/index.js +1 -1
- package/transpiled/react/RadioGroup/index.js +1 -1
- package/transpiled/react/Radios/index.js +1 -1
- package/transpiled/react/RootRef/index.js +5 -2
- package/transpiled/react/ScopedCssBaseline/index.js +1 -1
- package/transpiled/react/Select/index.js +4 -1
- package/transpiled/react/SelectionBar/index.js +1 -1
- package/transpiled/react/Sidebar/index.js +1 -1
- package/transpiled/react/Skeleton/index.js +1 -1
- package/transpiled/react/Slide/index.js +1 -1
- package/transpiled/react/Slider/index.js +1 -1
- package/transpiled/react/Snackbar/index.js +1 -1
- package/transpiled/react/SnackbarContent/index.js +1 -1
- package/transpiled/react/SquareAppIcon/index.js +2 -2
- package/transpiled/react/Step/index.js +1 -1
- package/transpiled/react/StepButton/index.js +1 -1
- package/transpiled/react/StepConnector/index.js +1 -1
- package/transpiled/react/StepContent/index.js +1 -1
- package/transpiled/react/StepIcon/index.js +1 -1
- package/transpiled/react/StepLabel/index.js +1 -1
- package/transpiled/react/Stepper/index.js +4 -4
- package/transpiled/react/SvgIcon/index.js +1 -1
- package/transpiled/react/SwipeableDrawer/index.js +1 -1
- package/transpiled/react/Tab/index.js +1 -1
- package/transpiled/react/Tabs/index.js +1 -1
- package/transpiled/react/TextareaAutosize/index.js +1 -1
- package/transpiled/react/Toolbar/index.js +1 -1
- package/transpiled/react/Tooltip/index.js +4 -1
- package/transpiled/react/Typography/index.js +5 -1
- package/transpiled/react/UploadQueue/index.js +1 -1
- package/transpiled/react/Viewer/Panel/QualificationListItemContact.js +2 -1
- package/transpiled/react/Viewer/Panel/QualificationListItemDate.js +2 -1
- package/transpiled/react/Viewer/Panel/QualificationListItemInformation.js +5 -4
- package/transpiled/react/Viewer/Panel/QualificationListItemOther.js +2 -1
- package/transpiled/react/Viewer/ViewerInformationsWrapper.js +1 -1
- package/transpiled/react/Viewer/components/InformationPanel.js +1 -1
- package/transpiled/react/Viewer/components/Toolbar.js +1 -1
- package/transpiled/react/Zoom/index.js +1 -1
- package/transpiled/react/styles/index.js +2 -1
- 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.
|
|
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": "^
|
|
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": "^
|
|
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": "
|
|
132
|
-
"react-dom": "
|
|
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
|
-
"@
|
|
157
|
-
"@
|
|
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": ">=
|
|
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": "^
|
|
189
|
-
"react-dom": "^
|
|
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://
|
|
1
|
+
Re-export of @material-ui. See [the official API](https://mui.com/material-ui/api/accordion-actions/).
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React, { useState } from 'react'
|
|
2
2
|
import { usePopper } from 'react-popper'
|
|
3
|
-
import ClickAwayListener from '@material
|
|
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-
|
|
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-
|
|
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>
|
package/react/Alert/index.jsx
CHANGED
|
@@ -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
|
|
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://
|
|
1
|
+
Re-export of @material-ui. See [the official API](https://mui.com/material-ui/api/alert-title/).
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import
|
|
1
|
+
import AlertTitle from '@mui/material/AlertTitle'
|
|
2
2
|
|
|
3
|
-
export default
|
|
3
|
+
export default AlertTitle
|
package/react/AppBar/Readme.md
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
Re-export of @material-ui. See [the official API](https://
|
|
1
|
+
Re-export of @material-ui. See [the official API](https://mui.com/material-ui/api/app-bar/).
|
package/react/AppBar/index.js
CHANGED
package/react/AppTitle/index.jsx
CHANGED
package/react/Backdrop/Readme.md
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
Re-export of @material-ui. See [the official API](https://
|
|
1
|
+
Re-export of @material-ui. See [the official API](https://mui.com/material-ui/api/backdrop/).
|
package/react/Backdrop/index.js
CHANGED
package/react/Badge/index.jsx
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
Re-export of @material-ui. See [the official API](https://
|
|
1
|
+
Re-export of @material-ui. See [the official API](https://mui.com/material-ui/api/bottom-navigation/).
|
|
@@ -1 +1 @@
|
|
|
1
|
-
Re-export of @material-ui. See [the official API](https://
|
|
1
|
+
Re-export of @material-ui. See [the official API](https://mui.com/material-ui/api/bottom-navigation-action/).
|
|
@@ -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
|
|
14
|
-
import Portal from '@material
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
144
|
+
size="small"
|
|
145
145
|
label="offset"
|
|
146
146
|
variant="outlined"
|
|
147
147
|
helperText="Bottom offset"
|
package/react/Box/Readme.md
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
Re-export of @material-ui. See [the official API](https://
|
|
1
|
+
Re-export of @material-ui. See [the official API](https://mui.com/material-ui/api/box/).
|
package/react/Box/index.js
CHANGED
|
@@ -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
|
|
7
|
+
import IconButton from '@mui/material/IconButton'
|
|
8
8
|
import LeftIcon from '../Icons/Left'
|
|
9
9
|
|
|
10
10
|
const BreadcrumbSeparator = () => (
|
package/react/Buttons/index.jsx
CHANGED
|
@@ -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
|
|
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://
|
|
1
|
+
Re-export of @material-ui. See [the official API](https://mui.com/material-ui/api/card-action-area/).
|
|
@@ -1 +1 @@
|
|
|
1
|
-
Re-export of @material-ui. See [the official API](https://
|
|
1
|
+
Re-export of @material-ui. See [the official API](https://mui.com/material-ui/api/card-actions/).
|
|
@@ -1 +1 @@
|
|
|
1
|
-
Re-export of @material-ui. See [the official API](https://
|
|
1
|
+
Re-export of @material-ui. See [the official API](https://mui.com/material-ui/api/card-content/).
|
|
@@ -1 +1 @@
|
|
|
1
|
-
Re-export of @material-ui. See [the official API](https://
|
|
1
|
+
Re-export of @material-ui. See [the official API](https://mui.com/material-ui/api/card-header/).
|
|
@@ -1 +1 @@
|
|
|
1
|
-
Re-export of @material-ui. See [the official API](https://
|
|
1
|
+
Re-export of @material-ui. See [the official API](https://mui.com/material-ui/api/card-media/).
|
package/react/CardMedia/index.js
CHANGED
package/react/Checkbox/index.jsx
CHANGED
|
@@ -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
|
|
6
|
-
import FormControlLabel from '@material
|
|
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
|
|
package/react/Chips/index.jsx
CHANGED
|
@@ -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
|
|
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://
|
|
1
|
+
Re-export of @material-ui. See [the official API](https://mui.com/material-ui/api/circular-progress/).
|
|
@@ -1 +1 @@
|
|
|
1
|
-
Re-export of @material-ui. See [the official API](https://
|
|
1
|
+
Re-export of @material-ui. See [the official API](https://mui.com/material-ui/api/click-away-listener/).
|
package/react/Collapse/Readme.md
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
Re-export of @material-ui. See [the official API](https://
|
|
1
|
+
Re-export of @material-ui. See [the official API](https://mui.com/material-ui/api/collapse/).
|
package/react/Collapse/index.js
CHANGED
|
@@ -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
|
|
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
|
|
@@ -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
|
|
8
|
-
import Input from '@material
|
|
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
|
|
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://
|
|
1
|
+
Re-export of @material-ui. See [the official API](https://mui.com/material-ui/api/container/).
|
package/react/Container/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React, { forwardRef } from 'react'
|
|
2
2
|
import PropTypes from 'prop-types'
|
|
3
|
-
import MuiSlide from '@material
|
|
4
|
-
import MuiGrow from '@material
|
|
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) => {
|