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.
- package/CHANGELOG.md +30 -2
- package/package.json +19 -24
- 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/Banner/index.spec.jsx +19 -0
- 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 +4 -6
- 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 +2 -13
- 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 +2 -1
- 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 +1 -0
- 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 +1 -5
- 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 +2 -11
- package/react/GridListTile/Readme.md +1 -1
- package/react/GridListTile/index.js +2 -11
- package/react/GridListTileBar/Readme.md +1 -1
- package/react/GridListTileBar/index.js +2 -11
- 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 +2 -12
- package/react/I18n/format.spec.jsx +5 -17
- package/react/IconButton/index.jsx +1 -1
- 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 +1 -5
- 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 +3 -5
- package/react/MuiCozyTheme/Accordion/index.js +1 -1
- package/react/MuiCozyTheme/AccordionDetails/index.js +1 -1
- package/react/MuiCozyTheme/AccordionSummary/index.js +1 -8
- 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 +123 -23
- package/react/MuiCozyTheme/List/index.js +1 -1
- package/react/MuiCozyTheme/ListItem/ExpandedAttributes/ExpandedAttribute.jsx +39 -0
- package/react/MuiCozyTheme/ListItem/ExpandedAttributes/helpers.js +139 -0
- package/react/MuiCozyTheme/ListItem/ExpandedAttributes/helpers.spec.js +97 -0
- package/react/MuiCozyTheme/ListItem/ExpandedAttributes/index.jsx +62 -0
- package/react/MuiCozyTheme/ListItem/ListItemBase/ActionsMenu/ActionMenuItemWrapper.jsx +81 -0
- package/react/MuiCozyTheme/ListItem/ListItemBase/ActionsMenu/ActionMenuWithClose.jsx +28 -0
- package/react/MuiCozyTheme/ListItem/ListItemBase/ActionsMenu/Actions/call.js +29 -0
- package/react/MuiCozyTheme/ListItem/ListItemBase/ActionsMenu/Actions/emailTo.js +29 -0
- package/react/MuiCozyTheme/ListItem/ListItemBase/ActionsMenu/Actions/hr.js +10 -0
- package/react/MuiCozyTheme/ListItem/ListItemBase/ActionsMenu/Actions/modify.js +41 -0
- package/react/MuiCozyTheme/ListItem/ListItemBase/ActionsMenu/Actions/smsTo.js +29 -0
- package/react/MuiCozyTheme/ListItem/ListItemBase/ActionsMenu/Actions/viewInContacts.js +41 -0
- package/react/MuiCozyTheme/ListItem/ListItemBase/ActionsMenu/ActionsItems.jsx +46 -0
- package/react/MuiCozyTheme/ListItem/ListItemBase/ActionsMenu/helpers.js +63 -0
- package/react/MuiCozyTheme/ListItem/ListItemBase/ActionsMenu/helpers.spec.js +36 -0
- package/react/MuiCozyTheme/ListItem/ListItemBase/Renaming/RenameDialog.jsx +38 -0
- package/react/MuiCozyTheme/ListItem/ListItemBase/Renaming/RenameInput.jsx +129 -0
- package/react/MuiCozyTheme/ListItem/ListItemBase/Renaming/helpers.js +35 -0
- package/react/MuiCozyTheme/ListItem/ListItemBase/index.jsx +111 -0
- package/react/MuiCozyTheme/ListItem/ListItemByDoc/index.jsx +87 -0
- package/react/MuiCozyTheme/ListItem/ListItemContact/index.jsx +78 -0
- package/react/MuiCozyTheme/ListItem/ListItemContact/useActions.jsx +39 -0
- package/react/MuiCozyTheme/ListItem/ListItemFile/ExpirationAnnotation.jsx +37 -0
- package/react/MuiCozyTheme/ListItem/ListItemFile/ItemIcon.jsx +34 -0
- package/react/MuiCozyTheme/ListItem/ListItemFile/PrimaryText.jsx +23 -0
- package/react/MuiCozyTheme/ListItem/ListItemFile/SecondaryText.jsx +36 -0
- package/react/MuiCozyTheme/ListItem/ListItemFile/index.jsx +84 -0
- package/react/MuiCozyTheme/ListItem/hoc/withListItemLocales.jsx +11 -0
- package/react/MuiCozyTheme/ListItem/index.js +1 -1
- package/react/MuiCozyTheme/ListItem/locales/en.json +62 -0
- package/react/MuiCozyTheme/ListItem/locales/fr.json +62 -0
- 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 +1 -5
- package/react/MuiCozyTheme/makeOverrides.js +946 -673
- package/react/MuiCozyTheme/makePalette.js +5 -5
- package/react/MuiCozyTheme/makeTheme.jsx +19 -4
- package/react/MuiTabs/index.jsx +2 -7
- 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 +1 -2
- 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 +2 -6
- 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 +1 -5
- 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 +1 -5
- package/react/Typography/Readme.md +3 -6
- package/react/Typography/index.jsx +1 -7
- package/react/UploadQueue/index.jsx +1 -1
- package/react/UploadQueue/index.spec.jsx +0 -5
- package/react/Viewer/Panel/QualificationListItemContact.jsx +0 -1
- package/react/Viewer/Panel/QualificationListItemDate.jsx +0 -1
- package/react/Viewer/Panel/QualificationListItemInformation.jsx +0 -1
- package/react/Viewer/Panel/QualificationListItemOther.jsx +0 -1
- 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 +1075 -791
- package/react/examples.spec.jsx +1 -1
- package/react/hooks/useCycle.md +4 -4
- package/react/styles/index.js +1 -17
- package/release.config.js +20 -14
- 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 +3 -9
- 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 +2 -1
- package/transpiled/react/Container/index.js +1 -1
- package/transpiled/react/CozyDialogs/DialogTransition.js +2 -2
- package/transpiled/react/CozyDialogs/useCozyDialog.js +1 -0
- 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 +1 -4
- 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 +2 -11
- package/transpiled/react/GridListTile/index.js +2 -11
- package/transpiled/react/GridListTileBar/index.js +2 -11
- package/transpiled/react/Grow/index.js +1 -1
- package/transpiled/react/Hidden/index.js +1 -1
- package/transpiled/react/I18n/format.js +2 -11
- package/transpiled/react/IconButton/index.js +1 -1
- package/transpiled/react/InputAdornment/index.js +1 -1
- package/transpiled/react/LinearProgress/index.js +1 -1
- package/transpiled/react/Link/index.js +1 -4
- 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 +1 -6
- 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/ExpandedAttributes/ExpandedAttribute.js +45 -0
- package/transpiled/react/MuiCozyTheme/ListItem/ExpandedAttributes/helpers.js +123 -0
- package/transpiled/react/MuiCozyTheme/ListItem/ExpandedAttributes/index.js +66 -0
- package/transpiled/react/MuiCozyTheme/ListItem/ListItemBase/ActionsMenu/ActionMenuItemWrapper.js +63 -0
- package/transpiled/react/MuiCozyTheme/ListItem/ListItemBase/ActionsMenu/ActionMenuWithClose.js +24 -0
- package/transpiled/react/MuiCozyTheme/ListItem/ListItemBase/ActionsMenu/Actions/call.js +29 -0
- package/transpiled/react/MuiCozyTheme/ListItem/ListItemBase/ActionsMenu/Actions/emailTo.js +29 -0
- package/transpiled/react/MuiCozyTheme/ListItem/ListItemBase/ActionsMenu/Actions/hr.js +9 -0
- package/transpiled/react/MuiCozyTheme/ListItem/ListItemBase/ActionsMenu/Actions/modify.js +39 -0
- package/transpiled/react/MuiCozyTheme/ListItem/ListItemBase/ActionsMenu/Actions/smsTo.js +29 -0
- package/transpiled/react/MuiCozyTheme/ListItem/ListItemBase/ActionsMenu/Actions/viewInContacts.js +39 -0
- package/transpiled/react/MuiCozyTheme/ListItem/ListItemBase/ActionsMenu/ActionsItems.js +49 -0
- package/transpiled/react/MuiCozyTheme/ListItem/ListItemBase/ActionsMenu/helpers.js +51 -0
- package/transpiled/react/MuiCozyTheme/ListItem/ListItemBase/Renaming/RenameDialog.js +35 -0
- package/transpiled/react/MuiCozyTheme/ListItem/ListItemBase/Renaming/RenameInput.js +288 -0
- package/transpiled/react/MuiCozyTheme/ListItem/ListItemBase/Renaming/helpers.js +59 -0
- package/transpiled/react/MuiCozyTheme/ListItem/ListItemBase/index.js +117 -0
- package/transpiled/react/MuiCozyTheme/ListItem/ListItemByDoc/index.js +82 -0
- package/transpiled/react/MuiCozyTheme/ListItem/ListItemContact/index.js +77 -0
- package/transpiled/react/MuiCozyTheme/ListItem/ListItemContact/useActions.js +41 -0
- package/transpiled/react/MuiCozyTheme/ListItem/ListItemFile/ExpirationAnnotation.js +36 -0
- package/transpiled/react/MuiCozyTheme/ListItem/ListItemFile/ItemIcon.js +39 -0
- package/transpiled/react/MuiCozyTheme/ListItem/ListItemFile/PrimaryText.js +23 -0
- package/transpiled/react/MuiCozyTheme/ListItem/ListItemFile/SecondaryText.js +27 -0
- package/transpiled/react/MuiCozyTheme/ListItem/ListItemFile/index.js +85 -0
- package/transpiled/react/MuiCozyTheme/ListItem/hoc/withListItemLocales.js +130 -0
- 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 +1 -4
- package/transpiled/react/MuiCozyTheme/makeOverrides.js +381 -133
- package/transpiled/react/MuiCozyTheme/makePalette.js +4 -5
- package/transpiled/react/MuiCozyTheme/makeTheme.js +22 -5
- package/transpiled/react/MuiTabs/index.js +2 -8
- 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 +2 -5
- package/transpiled/react/ScopedCssBaseline/index.js +1 -1
- package/transpiled/react/Select/index.js +1 -4
- 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 +1 -4
- package/transpiled/react/Typography/index.js +1 -5
- package/transpiled/react/UploadQueue/index.js +1 -1
- package/transpiled/react/Viewer/Panel/QualificationListItemContact.js +1 -2
- package/transpiled/react/Viewer/Panel/QualificationListItemDate.js +1 -2
- package/transpiled/react/Viewer/Panel/QualificationListItemInformation.js +1 -2
- package/transpiled/react/Viewer/Panel/QualificationListItemOther.js +1 -2
- 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 +1 -2
- package/react/ImageList/Readme.md +0 -1
- package/react/ImageList/index.js +0 -3
- package/react/ImageListItem/Readme.md +0 -1
- package/react/ImageListItem/index.js +0 -3
- package/react/ImageListItemBar/Readme.md +0 -1
- package/react/ImageListItemBar/index.js +0 -3
- package/react/MuiCozyTheme/helpers.js +0 -253
- package/react/MuiCozyTheme/makeInvertedOverrides.js +0 -121
- package/transpiled/react/ImageList/index.js +0 -2
- package/transpiled/react/ImageListItem/index.js +0 -2
- package/transpiled/react/ImageListItemBar/index.js +0 -2
- package/transpiled/react/MuiCozyTheme/helpers.js +0 -210
- package/transpiled/react/MuiCozyTheme/makeInvertedOverrides.js +0 -117
package/CHANGELOG.md
CHANGED
|
@@ -1,9 +1,37 @@
|
|
|
1
|
-
# [81.
|
|
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
|
|
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.
|
|
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/
|
|
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/
|
|
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/
|
|
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/
|
|
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/
|
|
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/
|
|
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": "^
|
|
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": "^
|
|
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": "
|
|
133
|
-
"react-dom": "
|
|
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
|
-
"@
|
|
158
|
-
"@
|
|
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": ">=
|
|
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": "^
|
|
192
|
-
"react-dom": "^
|
|
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/
|
|
1
|
+
Re-export of @material-ui. See [the official API](https://v4.mui.com/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 '@
|
|
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-
|
|
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
|
|
136
|
+
class="MuiTypography-root MuiTypography-caption MuiTypography-colorTextSecondary"
|
|
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 '@
|
|
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/
|
|
1
|
+
Re-export of @material-ui. See [the official API](https://v4.mui.com/api/alert-title/).
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import
|
|
1
|
+
import MuiAlertTitle from '@material-ui/lab/AlertTitle'
|
|
2
2
|
|
|
3
|
-
export default
|
|
3
|
+
export default MuiAlertTitle
|
package/react/AppBar/Readme.md
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
Re-export of @material-ui. See [the official API](https://mui.com/
|
|
1
|
+
Re-export of @material-ui. See [the official API](https://v4.mui.com/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://mui.com/
|
|
1
|
+
Re-export of @material-ui. See [the official API](https://v4.mui.com/api/backdrop/).
|
package/react/Backdrop/index.js
CHANGED
package/react/Badge/index.jsx
CHANGED
|
@@ -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/
|
|
1
|
+
Re-export of @material-ui. See [the official API](https://v4.mui.com/api/bottom-navigation/).
|
|
@@ -1 +1 @@
|
|
|
1
|
-
Re-export of @material-ui. See [the official API](https://mui.com/
|
|
1
|
+
Re-export of @material-ui. See [the official API](https://v4.mui.com/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 '@
|
|
14
|
-
import Portal from '@
|
|
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
|
-
|
|
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
|
|
133
|
+
className="u-ml-0-s u-ml-half"
|
|
134
134
|
type="number"
|
|
135
|
-
|
|
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
|
|
142
|
+
className="u-ml-0-s u-ml-half"
|
|
143
143
|
type="number"
|
|
144
|
-
|
|
144
|
+
margin="dense"
|
|
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://mui.com/
|
|
1
|
+
Re-export of @material-ui. See [the official API](https://v4.mui.com/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,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 '@
|
|
7
|
+
import IconButton from '@material-ui/core/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 '@
|
|
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/
|
|
1
|
+
Re-export of @material-ui. See [the official API](https://v4.mui.com/api/card-action-area/).
|
|
@@ -1 +1 @@
|
|
|
1
|
-
Re-export of @material-ui. See [the official API](https://mui.com/
|
|
1
|
+
Re-export of @material-ui. See [the official API](https://v4.mui.com/api/card-actions/).
|
|
@@ -1 +1 @@
|
|
|
1
|
-
Re-export of @material-ui. See [the official API](https://mui.com/
|
|
1
|
+
Re-export of @material-ui. See [the official API](https://v4.mui.com/api/card-content/).
|
|
@@ -1 +1 @@
|
|
|
1
|
-
Re-export of @material-ui. See [the official API](https://mui.com/
|
|
1
|
+
Re-export of @material-ui. See [the official API](https://v4.mui.com/api/card-header/).
|
|
@@ -1 +1 @@
|
|
|
1
|
-
Re-export of @material-ui. See [the official API](https://mui.com/
|
|
1
|
+
Re-export of @material-ui. See [the official API](https://v4.mui.com/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 '@
|
|
6
|
-
import FormControlLabel from '@
|
|
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
|
|
package/react/Chips/index.jsx
CHANGED
|
@@ -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/
|
|
1
|
+
Re-export of @material-ui. See [the official API](https://v4.mui.com/api/circular-progress/).
|
|
@@ -1 +1 @@
|
|
|
1
|
-
Re-export of @material-ui. See [the official API](https://mui.com/
|
|
1
|
+
Re-export of @material-ui. See [the official API](https://v4.mui.com/api/click-away-listener/).
|
package/react/Collapse/Readme.md
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
Re-export of @material-ui. See [the official API](https://mui.com/
|
|
1
|
+
Re-export of @material-ui. See [the official API](https://v4.mui.com/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"
|
|
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-
|
|
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
|
|
@@ -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 '@
|
|
8
|
-
import Input from '@
|
|
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
|