forstok-ui-lib 8.4.0 → 8.4.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "forstok-ui-lib",
3
- "version": "8.4.0",
3
+ "version": "8.4.1",
4
4
  "description": "Forstok UI Components Library",
5
5
  "path": "dist",
6
6
  "main": "dist/index.js",
@@ -1,24 +1,24 @@
1
- import styled from 'styled-components'
2
- import { multiElipsis } from '../../assets/stylesheets/bases.styles';
1
+ import styled from "styled-components";
2
+ import { multiElipsis } from "../../assets/stylesheets/bases.styles";
3
3
 
4
4
  const getErrorModifiedStyle = ({ $mode }: { $mode?: string }) => {
5
- let style = ``
6
- if ($mode === 'api')
5
+ let style = ``;
6
+ if ($mode === "api")
7
7
  style += `
8
8
  color: var(--mt-clr);
9
9
  width: auto;
10
10
  padding: .5em .5em;
11
11
  margin: 10px;
12
12
  font-weight: 400;
13
- `
14
- else if ($mode === 'table')
13
+ `;
14
+ else if ($mode === "table")
15
15
  style += `
16
16
  font-size: 12.5px;
17
17
  > i {
18
18
  top: 1.5px;
19
19
  }
20
- `
21
- else if ($mode === 'list')
20
+ `;
21
+ else if ($mode === "list")
22
22
  style += `
23
23
  ul {
24
24
  margin: 0;
@@ -28,9 +28,9 @@ const getErrorModifiedStyle = ({ $mode }: { $mode?: string }) => {
28
28
  font-size: 12.5px;
29
29
  }
30
30
  }
31
- `
32
- return style
33
- }
31
+ `;
32
+ return style;
33
+ };
34
34
 
35
35
  export const ErrorContainer = styled.div<{ $mode?: string }>`
36
36
  display: inline-grid !important;
@@ -49,10 +49,11 @@ export const ErrorContainer = styled.div<{ $mode?: string }>`
49
49
  position: relative;
50
50
  padding-left: 14px;
51
51
  ${multiElipsis}
52
+ word-break: break-word;
52
53
  > i {
53
54
  position: absolute;
54
55
  top: 1px;
55
56
  left: 0;
56
57
  }
57
58
  ${getErrorModifiedStyle}
58
- `
59
+ `;