wca-designsystem 1.0.54 → 1.0.55
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,27 +1,27 @@
|
|
|
1
|
-
import React from 'react'
|
|
2
|
-
import * as S from './styles'
|
|
3
|
-
import { theme } from '../../../styles/theme'
|
|
4
|
-
import { Box, Flex } from '@mantine/core'
|
|
5
|
-
import IconeBotao from '../../atomos/IconeBotao'
|
|
6
|
-
import Icone from '../../atomos/Icone'
|
|
7
|
-
import alocar from '../../../assets/imagens/icons/Mais.svg'
|
|
8
|
-
import ajuda from '../../../assets/imagens/icons/Ajuda.svg'
|
|
9
|
-
import retirar from '../../../assets/imagens/icons/Menos.svg'
|
|
1
|
+
import React from 'react'
|
|
2
|
+
import * as S from './styles'
|
|
3
|
+
import { theme } from '../../../styles/theme'
|
|
4
|
+
import { Box, Flex } from '@mantine/core'
|
|
5
|
+
import IconeBotao from '../../atomos/IconeBotao'
|
|
6
|
+
import Icone from '../../atomos/Icone'
|
|
7
|
+
import alocar from '../../../assets/imagens/icons/Mais.svg'
|
|
8
|
+
import ajuda from '../../../assets/imagens/icons/Ajuda.svg'
|
|
9
|
+
import retirar from '../../../assets/imagens/icons/Menos.svg'
|
|
10
10
|
|
|
11
11
|
interface MosaicoCriticaProps {
|
|
12
|
-
color?: string
|
|
13
|
-
nome?: string
|
|
14
|
-
saldo?: string
|
|
15
|
-
media?: string
|
|
16
|
-
critica?: string
|
|
17
|
-
mensagens?: string[]
|
|
18
|
-
absorcao?: string
|
|
19
|
-
podeExecutar?: boolean
|
|
20
|
-
desdobramento?: string
|
|
21
|
-
disabledAlocar?: boolean
|
|
22
|
-
disabledRetirar?: boolean
|
|
23
|
-
onClickAlocar: () => void
|
|
24
|
-
onClickRetirar: () => void
|
|
12
|
+
color?: string
|
|
13
|
+
nome?: string
|
|
14
|
+
saldo?: string
|
|
15
|
+
media?: string
|
|
16
|
+
critica?: string
|
|
17
|
+
mensagens?: string[]
|
|
18
|
+
absorcao?: string
|
|
19
|
+
podeExecutar?: boolean
|
|
20
|
+
desdobramento?: string
|
|
21
|
+
disabledAlocar?: boolean
|
|
22
|
+
disabledRetirar?: boolean
|
|
23
|
+
onClickAlocar: () => void
|
|
24
|
+
onClickRetirar: () => void
|
|
25
25
|
}
|
|
26
26
|
|
|
27
27
|
const MosaicoCritica = ({
|
|
@@ -115,18 +115,18 @@ const MosaicoCritica = ({
|
|
|
115
115
|
) : (
|
|
116
116
|
mensagens?.length !== 0 && (
|
|
117
117
|
<IconeBotao
|
|
118
|
-
toolTipInfo={mensagens!.map(m => `• ${m}`).join('\n')}
|
|
118
|
+
toolTipInfo={mensagens!.map((m) => `• ${m}`).join('\n')}
|
|
119
119
|
tipo="round"
|
|
120
120
|
color={theme.colors.gray[300]}
|
|
121
121
|
>
|
|
122
|
-
<Icone svg={ajuda} fill={
|
|
122
|
+
<Icone svg={ajuda} fill={'#E50707'} width={14} height={14} />
|
|
123
123
|
</IconeBotao>
|
|
124
124
|
)
|
|
125
125
|
)}
|
|
126
126
|
</Box>
|
|
127
127
|
</Flex>
|
|
128
128
|
</S.MosaicoCriticaContainer>
|
|
129
|
-
)
|
|
130
|
-
}
|
|
129
|
+
)
|
|
130
|
+
}
|
|
131
131
|
|
|
132
|
-
export default MosaicoCritica
|
|
132
|
+
export default MosaicoCritica
|