cozy-ui 103.1.0 → 103.1.1
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 +7 -0
- package/package.json +1 -1
- package/react/IntentDialogOpener/IntentDialogOpener.jsx +1 -0
- package/react/deprecated/IntentModal/IntentModal.jsx +2 -2
- package/scripts/screenshots/fetchAllComponents.js +2 -0
- package/scripts/screenshots/screenshotComponent.js +1 -1
- package/transpiled/react/IntentDialogOpener/IntentDialogOpener.js +1 -0
- package/transpiled/react/deprecated/IntentModal/IntentModal.js +2 -2
- package/react/AccordionActions/Readme.md +0 -1
- package/react/AlertTitle/Readme.md +0 -1
- package/react/AppBar/Readme.md +0 -1
- package/react/Backdrop/Readme.md +0 -1
- package/react/BottomNavigation/Readme.md +0 -1
- package/react/BottomNavigationAction/Readme.md +0 -1
- package/react/Box/Readme.md +0 -1
- package/react/Button/Readme.md +0 -1
- package/react/ButtonBase/Readme.md +0 -1
- package/react/CardActionArea/Readme.md +0 -1
- package/react/CardActions/Readme.md +0 -1
- package/react/CardContent/Readme.md +0 -1
- package/react/CardHeader/Readme.md +0 -1
- package/react/CardMedia/Readme.md +0 -1
- package/react/CircularProgress/Readme.md +0 -1
- package/react/ClickAwayListener/Readme.md +0 -1
- package/react/Collapse/Readme.md +0 -1
- package/react/Container/Readme.md +0 -1
- package/react/CssBaseline/Readme.md +0 -1
- package/react/DialogActions/Readme.md +0 -1
- package/react/DialogContent/Readme.md +0 -1
- package/react/DialogContentText/Readme.md +0 -1
- package/react/DialogTitle/Readme.md +0 -1
- package/react/Drawer/Readme.md +0 -1
- package/react/Fade/Readme.md +0 -1
- package/react/FilledInput/Readme.md +0 -1
- package/react/FormControl/Readme.md +0 -1
- package/react/FormControlLabel/Readme.md +0 -1
- package/react/FormGroup/Readme.md +0 -1
- package/react/FormHelperText/Readme.md +0 -1
- package/react/FormLabel/Readme.md +0 -1
- package/react/GridList/Readme.md +0 -1
- package/react/GridListTile/Readme.md +0 -1
- package/react/GridListTileBar/Readme.md +0 -1
- package/react/Grow/Readme.md +0 -1
- package/react/Hidden/Readme.md +0 -1
- package/react/InputAdornment/Readme.md +0 -1
- package/react/InputBase/Readme.md +0 -1
- package/react/LinearProgress/Readme.md +0 -1
- package/react/Link/Readme.md +0 -1
- package/react/ListItemAvatar/Readme.md +0 -1
- package/react/MenuItem/Readme.md +0 -1
- package/react/MenuList/Readme.md +0 -1
- package/react/MobileStepper/Readme.md +0 -1
- package/react/Modal/Readme.md +0 -1
- package/react/NativeSelect/Readme.md +0 -1
- package/react/NoSsr/Readme.md +0 -1
- package/react/OutlinedInput/Readme.md +0 -1
- package/react/RadioGroup/Readme.md +0 -1
- package/react/RootRef/Readme.md +0 -1
- package/react/ScopedCssBaseline/Readme.md +0 -1
- package/react/Select/Readme.md +0 -1
- package/react/Skeleton/Readme.md +0 -1
- package/react/Slide/Readme.md +0 -1
- package/react/Slider/Readme.md +0 -1
- package/react/SnackbarContent/Readme.md +0 -1
- package/react/Step/Readme.md +0 -1
- package/react/StepButton/Readme.md +0 -1
- package/react/StepConnector/Readme.md +0 -1
- package/react/StepContent/Readme.md +0 -1
- package/react/StepIcon/Readme.md +0 -1
- package/react/StepLabel/Readme.md +0 -1
- package/react/SvgIcon/Readme.md +0 -1
- package/react/SwipeableDrawer/Readme.md +0 -1
- package/react/Tab/Readme.md +0 -1
- package/react/TextareaAutosize/Readme.md +0 -1
- package/react/Timeline/Readme.md +0 -1
- package/react/TimelineConnector/Readme.md +0 -1
- package/react/TimelineContent/Readme.md +0 -1
- package/react/TimelineDot/Readme.md +0 -1
- package/react/TimelineItem/Readme.md +0 -1
- package/react/TimelineOppositeContent/Readme.md +0 -1
- package/react/TimelineSeparator/Readme.md +0 -1
- package/react/Toolbar/Readme.md +0 -1
- package/react/Zoom/Readme.md +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
## [103.1.1](https://github.com/cozy/cozy-ui/compare/v103.1.0...v103.1.1) (2024-02-09)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* Stop propagation of event ([167e50b](https://github.com/cozy/cozy-ui/commit/167e50b))
|
|
7
|
+
|
|
1
8
|
# [103.1.0](https://github.com/cozy/cozy-ui/compare/v103.0.0...v103.1.0) (2024-02-07)
|
|
2
9
|
|
|
3
10
|
|
package/package.json
CHANGED
|
@@ -46,9 +46,9 @@ class IntentModal extends Component {
|
|
|
46
46
|
// FIXME: this should be fixed by diferenciating dismissAction (for closing
|
|
47
47
|
// modal) and onCancel (for intent cancellation), but it implies deprecating
|
|
48
48
|
// dismissAction first, ensure legacy, prevent regressions, etc.
|
|
49
|
-
dismiss = once(
|
|
49
|
+
dismiss = once(evt => {
|
|
50
50
|
const { dismissAction } = this.props
|
|
51
|
-
dismissAction && dismissAction()
|
|
51
|
+
dismissAction && dismissAction(evt)
|
|
52
52
|
})
|
|
53
53
|
|
|
54
54
|
render() {
|
|
@@ -41,7 +41,9 @@ const fetchAllComponents = async (page, args, config) => {
|
|
|
41
41
|
return Array.from(document.querySelectorAll(`${sidebarSelector} a`))
|
|
42
42
|
.filter(v => !v.href.includes('?id='))
|
|
43
43
|
.map(x => x.text)
|
|
44
|
+
.filter(x => x !== 'Cozy-ui documentation') // see section's name in styleguide.config.js
|
|
44
45
|
})
|
|
46
|
+
|
|
45
47
|
const sortedCategoriesNames = sortBy(
|
|
46
48
|
categoriesName.map(catName => ({
|
|
47
49
|
link: styleguideIndexURL + '#/' + catName,
|
|
@@ -26,7 +26,7 @@ const screenshotComponent = async (page, options) => {
|
|
|
26
26
|
const { link, name } = component
|
|
27
27
|
|
|
28
28
|
await page.goto(link)
|
|
29
|
-
await sleep(
|
|
29
|
+
await sleep(200) // to be sure the page is entirely loaded
|
|
30
30
|
|
|
31
31
|
const getScreenshotName =
|
|
32
32
|
options.getScreenshotName || defaultGetScreenshotName
|
|
@@ -58,9 +58,9 @@ var IntentModal = /*#__PURE__*/function (_Component) {
|
|
|
58
58
|
});
|
|
59
59
|
});
|
|
60
60
|
|
|
61
|
-
_defineProperty(_assertThisInitialized(_this), "dismiss", once(function () {
|
|
61
|
+
_defineProperty(_assertThisInitialized(_this), "dismiss", once(function (evt) {
|
|
62
62
|
var dismissAction = _this.props.dismissAction;
|
|
63
|
-
dismissAction && dismissAction();
|
|
63
|
+
dismissAction && dismissAction(evt);
|
|
64
64
|
}));
|
|
65
65
|
|
|
66
66
|
logIntentModalDepecrated('The IntentModal component has been deprecated and should be replaced by IntentIframe wrapped in Dialog');
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
Re-export of @material-ui. See [the official API](https://v4.mui.com/api/accordion-actions/).
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
Re-export of @material-ui. See [the official API](https://v4.mui.com/api/alert-title/).
|
package/react/AppBar/Readme.md
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
Re-export of @material-ui. See [the official API](https://v4.mui.com/api/app-bar/).
|
package/react/Backdrop/Readme.md
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
Re-export of @material-ui. See [the official API](https://v4.mui.com/api/backdrop/).
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
Re-export of @material-ui. See [the official API](https://v4.mui.com/api/bottom-navigation/).
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
Re-export of @material-ui. See [the official API](https://v4.mui.com/api/bottom-navigation-action/).
|
package/react/Box/Readme.md
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
Re-export of @material-ui. See [the official API](https://v4.mui.com/api/box/).
|
package/react/Button/Readme.md
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
Re-export of @material-ui. See [the official API](https://v4.mui.com/api/button/).
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
Re-export of @material-ui. See [the official API](https://v4.mui.com/api/button-base/).
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
Re-export of @material-ui. See [the official API](https://v4.mui.com/api/card-action-area/).
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
Re-export of @material-ui. See [the official API](https://v4.mui.com/api/card-actions/).
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
Re-export of @material-ui. See [the official API](https://v4.mui.com/api/card-content/).
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
Re-export of @material-ui. See [the official API](https://v4.mui.com/api/card-header/).
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
Re-export of @material-ui. See [the official API](https://v4.mui.com/api/card-media/).
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
Re-export of @material-ui. See [the official API](https://v4.mui.com/api/circular-progress/).
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
Re-export of @material-ui. See [the official API](https://v4.mui.com/api/click-away-listener/).
|
package/react/Collapse/Readme.md
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
Re-export of @material-ui. See [the official API](https://v4.mui.com/api/collapse/).
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
Re-export of @material-ui. See [the official API](https://v4.mui.com/api/container/).
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
Re-export of @material-ui. See [the official API](https://v4.mui.com/api/css-baseline/).
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
Re-export of @material-ui. See [the official API](https://v4.mui.com/api/dialog-actions/).
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
Re-export of @material-ui. See [the official API](https://v4.mui.com/api/dialog-content/).
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
Re-export of @material-ui. See [the official API](https://v4.mui.com/api/dialog-content-text/).
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
Re-export of @material-ui. See [the official API](https://v4.mui.com/api/dialog-title/).
|
package/react/Drawer/Readme.md
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
Re-export of @material-ui. See [the official API](https://v4.mui.com/api/drawer/).
|
package/react/Fade/Readme.md
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
Re-export of @material-ui. See [the official API](https://v4.mui.com/api/fade/).
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
Re-export of @material-ui. See [the official API](https://v4.mui.com/api/filled-input/).
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
Re-export of @material-ui. See [the official API](https://v4.mui.com/api/form-control/).
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
Re-export of @material-ui. See [the official API](https://v4.mui.com/api/form-control-label/).
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
Re-export of @material-ui. See [the official API](https://v4.mui.com/api/form-group/).
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
Re-export of @material-ui. See [the official API](https://v4.mui.com/api/form-helper-text/).
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
Re-export of @material-ui. See [the official API](https://v4.mui.com/api/form-label/).
|
package/react/GridList/Readme.md
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
Re-export of @material-ui. See [the official API](https://v4.mui.com/api/grid-list/).
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
Re-export of @material-ui. See [the official API](https://v4.mui.com/api/grid-list-tile/).
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
Re-export of @material-ui. See [the official API](https://v4.mui.com/api/grid-list-tile-bar/).
|
package/react/Grow/Readme.md
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
Re-export of @material-ui. See [the official API](https://v4.mui.com/api/grow/).
|
package/react/Hidden/Readme.md
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
Re-export of @material-ui. See [the official API](https://v4.mui.com/api/hidden/).
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
Re-export of @material-ui. See [the official API](https://v4.mui.com/api/input-adornment).
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
Re-export of @material-ui. See [the official API](https://v4.mui.com/api/input-base/).
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
Re-export of @material-ui. See [the official API](https://v4.mui.com/api/linear-progress/).
|
package/react/Link/Readme.md
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
Re-export of @material-ui. See [the official API](https://v4.mui.com/api/link/).
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
Re-export of @material-ui. See [the official API](https://v4.mui.com/api/List-item-avatar/).
|
package/react/MenuItem/Readme.md
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
Re-export of @material-ui. See [the official API](https://v4.mui.com/api/menu-item/).
|
package/react/MenuList/Readme.md
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
Re-export of @material-ui. See [the official API](https://v4.mui.com/api/menu-list/).
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
Re-export of @material-ui. See [the official API](https://v4.mui.com/api/mobile-stepper/).
|
package/react/Modal/Readme.md
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
Re-export of @material-ui. See [the official API](https://v4.mui.com/api/modal/).
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
Re-export of @material-ui. See [the official API](https://v4.mui.com/api/native-select/).
|
package/react/NoSsr/Readme.md
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
Re-export of @material-ui. See [the official API](https://v4.mui.com/api/no-ssr/).
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
Re-export of @material-ui. See [the official API](https://v4.mui.com/api/outlined-input/).
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
Re-export of @material-ui. See [the official API](https://v4.mui.com/api/radio-group/).
|
package/react/RootRef/Readme.md
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
Re-export of @material-ui. See [the official API](https://v4.mui.com/api/root-ref/).
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
Re-export of @material-ui. See [the official API](https://v4.mui.com/api/scoped-css-baseline/).
|
package/react/Select/Readme.md
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
Re-export of @material-ui. See [the official API](https://v4.mui.com/api/select/).
|
package/react/Skeleton/Readme.md
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
Re-export of @material-ui. See [the official API](https://v4.mui.com/components/skeleton/).
|
package/react/Slide/Readme.md
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
Re-export of @material-ui. See [the official API](https://v4.mui.com/api/slide/).
|
package/react/Slider/Readme.md
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
Re-export of @material-ui. See [the official API](https://v4.mui.com/api/slider/).
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
Re-export of @material-ui. See [the official API](https://v4.mui.com/api/snackbar-content/).
|
package/react/Step/Readme.md
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
Re-export of @material-ui. See [the official API](https://v4.mui.com/api/step/).
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
Re-export of @material-ui. See [the official API](https://v4.mui.com/api/step-button/).
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
Re-export of @material-ui. See [the official API](https://v4.mui.com/api/step-connector/).
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
Re-export of @material-ui. See [the official API](https://v4.mui.com/api/step-content/).
|
package/react/StepIcon/Readme.md
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
Re-export of @material-ui. See [the official API](https://v4.mui.com/api/step-icon/).
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
Re-export of @material-ui. See [the official API](https://v4.mui.com/api/step-label/).
|
package/react/SvgIcon/Readme.md
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
Re-export of @material-ui. See [the official API](https://v4.mui.com/api/svg-icon/).
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
Re-export of @material-ui. See [the official API](https://v4.mui.com/api/swipeable-drawer/).
|
package/react/Tab/Readme.md
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
Re-export of @material-ui. See [the official API](https://v4.mui.com/api/tab/).
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
Re-export of @material-ui. See [the official API](https://v4.mui.com/api/textarea-autosize/).
|
package/react/Timeline/Readme.md
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
Re-export of @material-ui. See [the official API](https://v4.mui.com/api/timeline/).
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
Re-export of @material-ui. See [the official API](https://v4.mui.com/api/timeline-connector/).
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
Re-export of @material-ui. See [the official API](https://v4.mui.com/api/timeline-content/).
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
Re-export of @material-ui. See [the official API](https://v4.mui.com/api/timeline-dot/).
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
Re-export of @material-ui. See [the official API](https://v4.mui.com/api/timeline-item/).
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
Re-export of @material-ui. See [the official API](https://v4.mui.com/api/timeline-opposite-content/).
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
Re-export of @material-ui. See [the official API](https://v4.mui.com/api/timeline-separator/).
|
package/react/Toolbar/Readme.md
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
Re-export of @material-ui. See [the official API](https://v4.mui.com/api/toolbar/).
|
package/react/Zoom/Readme.md
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
Re-export of @material-ui. See [the official API](https://v4.mui.com/api/zoom/).
|