cozy-ui 122.11.0 → 122.11.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 CHANGED
@@ -1,3 +1,10 @@
1
+ ## [122.11.1](https://github.com/cozy/cozy-ui/compare/v122.11.0...v122.11.1) (2025-04-28)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * Expose overriding DialogContent classes ([a4f6de6](https://github.com/cozy/cozy-ui/commit/a4f6de6))
7
+
1
8
  # [122.11.0](https://github.com/cozy/cozy-ui/compare/v122.10.1...v122.11.0) (2025-04-24)
2
9
 
3
10
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cozy-ui",
3
- "version": "122.11.0",
3
+ "version": "122.11.1",
4
4
  "description": "Cozy apps UI SDK",
5
5
  "main": "./index.js",
6
6
  "bin": {
@@ -111,7 +111,8 @@ const useCozyDialog = props => {
111
111
  classes: {
112
112
  root: cx({
113
113
  disableGutters
114
- })
114
+ }),
115
+ ...componentsProps?.dialogContent?.classes
115
116
  },
116
117
  className: 'cozyDialogContent'
117
118
  }
@@ -24,7 +24,7 @@ var useStyles = makeStyles({
24
24
  });
25
25
 
26
26
  var useCozyDialog = function useCozyDialog(props) {
27
- var _componentsProps$dial;
27
+ var _componentsProps$dial, _componentsProps$dial2;
28
28
 
29
29
  var size = props.size,
30
30
  actions = props.actions,
@@ -113,11 +113,11 @@ var useCozyDialog = function useCozyDialog(props) {
113
113
  });
114
114
 
115
115
  var dialogContentProps = _objectSpread(_objectSpread({}, componentsProps === null || componentsProps === void 0 ? void 0 : componentsProps.dialogContent), {}, {
116
- classes: {
116
+ classes: _objectSpread({
117
117
  root: cx({
118
118
  disableGutters: disableGutters
119
119
  })
120
- },
120
+ }, componentsProps === null || componentsProps === void 0 ? void 0 : (_componentsProps$dial2 = componentsProps.dialogContent) === null || _componentsProps$dial2 === void 0 ? void 0 : _componentsProps$dial2.classes),
121
121
  className: 'cozyDialogContent'
122
122
  });
123
123