@appquality/unguess-design-system 3.1.48 → 3.1.49

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,17 @@
1
+ # v3.1.49 (Wed Sep 13 2023)
2
+
3
+ #### 🐛 Bug Fix
4
+
5
+ - Modal responsive improvements [#270](https://github.com/AppQuality/unguess-design-system/pull/270) ([@marcbon](https://github.com/marcbon) [@cannarocks](https://github.com/cannarocks))
6
+ - 🐛 fix(modals/index.tsx): adjust styles for isExtraLarge prop in UgModal component [#269](https://github.com/AppQuality/unguess-design-system/pull/269) ([@marcbon](https://github.com/marcbon))
7
+
8
+ #### Authors: 2
9
+
10
+ - Luca Cannarozzo ([@cannarocks](https://github.com/cannarocks))
11
+ - Marco Bonomo ([@marcbon](https://github.com/marcbon))
12
+
13
+ ---
14
+
1
15
  # v3.1.48 (Mon Sep 11 2023)
2
16
 
3
17
  #### 🐛 Bug Fix
package/build/index.js CHANGED
@@ -3312,12 +3312,14 @@ const UgModalBody = styled__default["default"](reactModals.Body) `
3312
3312
  color: ${({ theme }) => theme.palette.grey["800"]};
3313
3313
  `;
3314
3314
  const UgModal = styled__default["default"](reactModals.Modal) `
3315
- ${({ isExtraLarge }) => isExtraLarge && "height: 90%; width: 90%;"}
3315
+ ${({ isExtraLarge }) => isExtraLarge && "height: 90%; max-height: 90%; width: 90%;"}
3316
3316
 
3317
3317
  @media (max-width: ${({ theme }) => theme.breakpoints.sm}) {
3318
3318
  top: 0;
3319
- height: 100%;
3319
+ left: 0;
3320
3320
  width: 100%;
3321
+ height: 100%;
3322
+ max-height: 100%;
3321
3323
  }
3322
3324
  `;
3323
3325
  const ModalComponent = React.forwardRef((props, ref) => (jsxRuntime.jsx(UgModal, Object.assign({ ref: ref }, props))));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@appquality/unguess-design-system",
3
- "version": "3.1.48",
3
+ "version": "3.1.49",
4
4
  "description": "",
5
5
  "main": "build/index.js",
6
6
  "types": "build/index.d.ts",