@appquality/unguess-design-system 3.1.47 → 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,31 @@
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
+
15
+ # v3.1.48 (Mon Sep 11 2023)
16
+
17
+ #### 🐛 Bug Fix
18
+
19
+ - Responsive improvements on sentiment charts and modals [#268](https://github.com/AppQuality/unguess-design-system/pull/268) ([@marcbon](https://github.com/marcbon) [@cannarocks](https://github.com/cannarocks))
20
+ - Fixes-post-release [#267](https://github.com/AppQuality/unguess-design-system/pull/267) ([@marcbon](https://github.com/marcbon))
21
+
22
+ #### Authors: 2
23
+
24
+ - Luca Cannarozzo ([@cannarocks](https://github.com/cannarocks))
25
+ - Marco Bonomo ([@marcbon](https://github.com/marcbon))
26
+
27
+ ---
28
+
1
29
  # v3.1.47 (Mon Sep 04 2023)
2
30
 
3
31
  #### 🐛 Bug Fix
package/build/index.js CHANGED
@@ -2095,6 +2095,7 @@ const Point = styled__default["default"].g `
2095
2095
  const ScrollingContainer$1 = styled__default["default"].div `
2096
2096
  width: 100%;
2097
2097
  overflow-x: scroll;
2098
+ -webkit-overflow-scrolling: touch;
2098
2099
  `;
2099
2100
  const SentimentContainer = styled__default["default"](ChartContainer) `
2100
2101
  /* Show dotted lines */
@@ -2161,7 +2162,7 @@ const formatAxisX = (value) => {
2161
2162
  if (!value || value === "start" || value === "end")
2162
2163
  return "";
2163
2164
  //Print only the first 10 characters
2164
- return (jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [value.toString().length > 15 ? value.toString().substring(0, 15) + "..." : value.toString(), jsxRuntime.jsx("title", { children: value })] }));
2165
+ return (jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [value.toString().length > 20 ? value.toString().substring(0, 20) + "..." : value.toString(), jsxRuntime.jsx("title", { children: value })] }));
2165
2166
  };
2166
2167
  const SentimentChart = ({ data, width, height, margin, tooltip, i18n, }) => {
2167
2168
  var _a;
@@ -3311,7 +3312,15 @@ const UgModalBody = styled__default["default"](reactModals.Body) `
3311
3312
  color: ${({ theme }) => theme.palette.grey["800"]};
3312
3313
  `;
3313
3314
  const UgModal = styled__default["default"](reactModals.Modal) `
3314
- ${({ isExtraLarge }) => isExtraLarge && "height: 90%; width: 90%;"}
3315
+ ${({ isExtraLarge }) => isExtraLarge && "height: 90%; max-height: 90%; width: 90%;"}
3316
+
3317
+ @media (max-width: ${({ theme }) => theme.breakpoints.sm}) {
3318
+ top: 0;
3319
+ left: 0;
3320
+ width: 100%;
3321
+ height: 100%;
3322
+ max-height: 100%;
3323
+ }
3315
3324
  `;
3316
3325
  const ModalComponent = React.forwardRef((props, ref) => (jsxRuntime.jsx(UgModal, Object.assign({ ref: ref }, props))));
3317
3326
  const Modal = ModalComponent;
@@ -4225,6 +4234,7 @@ const UgNotification = styled__default["default"](reactNotifications.Notificatio
4225
4234
  align-items: center;
4226
4235
  justify-content: space-between;
4227
4236
  padding-right: ${({ theme }) => theme.space.md};
4237
+ white-space: pre;
4228
4238
 
4229
4239
  ${UgAnchor} {
4230
4240
  flex-shrink: 0;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@appquality/unguess-design-system",
3
- "version": "3.1.47",
3
+ "version": "3.1.49",
4
4
  "description": "",
5
5
  "main": "build/index.js",
6
6
  "types": "build/index.d.ts",