@topconsultnpm/sdkui-react 6.19.0-dev1.68 → 6.19.0-dev1.69

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.
@@ -14,7 +14,7 @@ const StyledToppyTextContainer = styled.div `
14
14
  box-sizing: border-box;
15
15
  min-height: 100px;
16
16
  `;
17
- const StyledToppyText = styled.p `
17
+ const StyledToppyText = styled.div `
18
18
  text-align: center;
19
19
  color: #2559A5;
20
20
  font-size: 1rem;
@@ -22,7 +22,7 @@ const StyledToppyText = styled.p `
22
22
  margin: 0;
23
23
  display: -webkit-box;
24
24
  -webkit-box-orient: vertical;
25
- -webkit-line-clamp: 3; /* non è una proprietà standard ma è così diffusa e ben supportata che è considerata una "best practice pragmatica" */
25
+ -webkit-line-clamp: 3;
26
26
  overflow: hidden;
27
27
  text-overflow: ellipsis;
28
28
  white-space: normal;
@@ -30,13 +30,13 @@ const StyledToppyText = styled.p `
30
30
  line-height: 1.2;
31
31
  `;
32
32
  const StyledToppyImage = styled.img `
33
- width: 100%;
34
- max-width: 120px;
33
+ width: 100%;
34
+ max-width: 120px;
35
35
  height: auto;
36
- display: block;
36
+ display: block;
37
37
  `;
38
38
  const TMToppyMessage = (props) => {
39
39
  const { message, titleTooltip } = props;
40
- return _jsxs(TMLayoutContainer, { gap: 30, alignItems: 'center', justifyContent: 'center', onContextMenu: (e) => e.preventDefault(), children: [_jsx(StyledToppyTextContainer, { children: _jsx(StyledToppyText, { title: titleTooltip ? titleTooltip : undefined, children: message }) }), _jsx(StyledToppyImage, { src: Toppy, alt: 'Toppy' })] });
40
+ return (_jsxs(TMLayoutContainer, { gap: 30, alignItems: "center", justifyContent: "center", onContextMenu: (e) => e.preventDefault(), children: [_jsx(StyledToppyTextContainer, { children: _jsx(StyledToppyText, { title: titleTooltip || undefined, children: message }) }), _jsx(StyledToppyImage, { src: Toppy, alt: "Toppy" })] }));
41
41
  };
42
42
  export default TMToppyMessage;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@topconsultnpm/sdkui-react",
3
- "version": "6.19.0-dev1.68",
3
+ "version": "6.19.0-dev1.69",
4
4
  "description": "",
5
5
  "scripts": {
6
6
  "test": "echo \"Error: no test specified\" && exit 1",