wca-designsystem 1.0.20 → 1.0.22
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,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "1.0.
|
|
2
|
+
"version": "1.0.22",
|
|
3
3
|
"license": "MIT",
|
|
4
4
|
"main": "dist/index.js",
|
|
5
5
|
"typings": "dist/index.d.ts",
|
|
@@ -106,6 +106,7 @@
|
|
|
106
106
|
"react-router-dom": "^6.23.1",
|
|
107
107
|
"recharts": "^2.14.1",
|
|
108
108
|
"styled-components": "^6.1.11",
|
|
109
|
+
"wca-designsystem": "^1.0.16",
|
|
109
110
|
"xlsx": "^0.18.5"
|
|
110
111
|
}
|
|
111
112
|
}
|
|
@@ -41,7 +41,8 @@ const CardInicial = ({
|
|
|
41
41
|
}}
|
|
42
42
|
>
|
|
43
43
|
|
|
44
|
-
|
|
44
|
+
{/* <Icone width={45} height={45} svg={icone} fill={theme.colors.white} /> */}
|
|
45
|
+
<Icone svg={icone} fill={theme.colors.white} className="icone" />
|
|
45
46
|
|
|
46
47
|
</S.CardInicialHeader>
|
|
47
48
|
|
|
@@ -73,6 +74,7 @@ const CardInicial = ({
|
|
|
73
74
|
aviso && (
|
|
74
75
|
<>
|
|
75
76
|
<Icone
|
|
77
|
+
className='iconeAviso'
|
|
76
78
|
width={20}
|
|
77
79
|
height={20}
|
|
78
80
|
svg={avisoInfo?.icone ?? ''}
|
|
@@ -21,10 +21,21 @@ export const CardInicialHeader = styled.div`
|
|
|
21
21
|
display: flex;
|
|
22
22
|
align-items: center;
|
|
23
23
|
justify-content: center;
|
|
24
|
+
|
|
25
|
+
.icone {
|
|
26
|
+
min-width: 40px;
|
|
27
|
+
min-height: 40px;
|
|
28
|
+
max-width: 80px;
|
|
29
|
+
max-height: 80px;
|
|
30
|
+
object-fit: contain;;
|
|
31
|
+
}
|
|
32
|
+
|
|
24
33
|
`}
|
|
25
34
|
|
|
26
35
|
`;
|
|
27
36
|
|
|
37
|
+
|
|
38
|
+
|
|
28
39
|
export const CardInicialBody = styled.div`
|
|
29
40
|
${({ theme }) => css`
|
|
30
41
|
margin-top: 10px;
|
|
@@ -55,6 +66,7 @@ export const CardInicialFooter = styled.div`
|
|
|
55
66
|
text-align: center;
|
|
56
67
|
border-radius: 0 8px 8px;
|
|
57
68
|
background-color: ${theme.colors.white};
|
|
69
|
+
margin-top: 28px;
|
|
58
70
|
|
|
59
71
|
button {
|
|
60
72
|
width: 160px;
|
|
@@ -75,6 +87,12 @@ export const CardInicialWarning = styled.div`
|
|
|
75
87
|
padding: 0px;
|
|
76
88
|
margin-top: auto;
|
|
77
89
|
padding: 4px 0;
|
|
90
|
+
|
|
91
|
+
.iconeAviso{
|
|
92
|
+
width: 10px;
|
|
93
|
+
height: 10px;
|
|
94
|
+
}
|
|
95
|
+
|
|
78
96
|
`}
|
|
79
97
|
`;
|
|
80
98
|
|
|
@@ -89,7 +89,7 @@ function BodyTable<
|
|
|
89
89
|
key={`row-${item.id}`}
|
|
90
90
|
onClick={() => {
|
|
91
91
|
if (!item.disabled) {
|
|
92
|
-
setSelectedLine?.(item
|
|
92
|
+
setSelectedLine?.(item);
|
|
93
93
|
}
|
|
94
94
|
}}
|
|
95
95
|
style={{
|
|
@@ -99,7 +99,7 @@ function BodyTable<
|
|
|
99
99
|
? theme.colors.gray['500']
|
|
100
100
|
: isSelected
|
|
101
101
|
? theme.colors.gray['500']
|
|
102
|
-
: '
|
|
102
|
+
: '',
|
|
103
103
|
}}
|
|
104
104
|
>
|
|
105
105
|
{columns.map((column, colIndex) => {
|