wca-designsystem 1.0.36 → 1.0.38
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 +1 -1
- package/src/components/atomos/Versao/index.tsx +1 -1
- package/src/components/molecules/Passos/index.tsx +8 -8
- package/src/components/molecules/Passos/styles.ts +7 -6
- package/src/components/molecules/TabelaHeader/index.tsx +1 -0
- package/src/components/organismos/Tabela/Tabela.stories.tsx +2 -2
- package/src/components/organismos/Tabela/styles.ts +1 -1
package/package.json
CHANGED
|
@@ -168,7 +168,13 @@ function Passos({
|
|
|
168
168
|
</S.PassosContainer>
|
|
169
169
|
<S.PassoInfos color={color}>
|
|
170
170
|
<div className="infosWrapper">
|
|
171
|
-
|
|
171
|
+
<div className="infos">
|
|
172
|
+
<p>Você está no Passo {passo + 1}:</p>
|
|
173
|
+
<h3>{passoInfos?.titulo}</h3>
|
|
174
|
+
<p className="preto">{passoInfos?.subTitulo}</p>
|
|
175
|
+
</div>
|
|
176
|
+
|
|
177
|
+
<HoverPopUp
|
|
172
178
|
texto={passoInfos?.subTitulo}
|
|
173
179
|
className="ajuda-wrapper ajuda-passos-wrapper"
|
|
174
180
|
>
|
|
@@ -178,13 +184,7 @@ function Passos({
|
|
|
178
184
|
fill={theme.colors.gray['700']}
|
|
179
185
|
svg={ajuda}
|
|
180
186
|
/>
|
|
181
|
-
</HoverPopUp>
|
|
182
|
-
<div className="infos">
|
|
183
|
-
<p>Você está no Passo {passo + 1}:</p>
|
|
184
|
-
<h3>{passoInfos?.titulo}</h3>
|
|
185
|
-
<p className="preto">{passoInfos?.subTitulo}</p>
|
|
186
|
-
</div>
|
|
187
|
-
|
|
187
|
+
</HoverPopUp>
|
|
188
188
|
</div>
|
|
189
189
|
|
|
190
190
|
<div className="botoes">
|
|
@@ -193,7 +193,7 @@ export const PassoInfos = styled.div<PassosWrapperProps>`
|
|
|
193
193
|
display: block;
|
|
194
194
|
|
|
195
195
|
@media (min-width: ${theme.responsive.md}) {
|
|
196
|
-
padding: 24px 0 16px
|
|
196
|
+
padding: 24px 0 16px 56px;
|
|
197
197
|
display: flex;
|
|
198
198
|
align-items: end;
|
|
199
199
|
justify-content: space-between;
|
|
@@ -213,6 +213,7 @@ export const PassoInfos = styled.div<PassosWrapperProps>`
|
|
|
213
213
|
|
|
214
214
|
.preto {
|
|
215
215
|
color: ${theme.colors.blackSti};
|
|
216
|
+
max-width: 550px;
|
|
216
217
|
}
|
|
217
218
|
|
|
218
219
|
h3 {
|
|
@@ -224,7 +225,7 @@ export const PassoInfos = styled.div<PassosWrapperProps>`
|
|
|
224
225
|
}
|
|
225
226
|
}
|
|
226
227
|
|
|
227
|
-
.ajuda-wrapper {
|
|
228
|
+
.ajuda-wrapper {
|
|
228
229
|
width: 32px;
|
|
229
230
|
min-width: 32px;
|
|
230
231
|
height: 32px;
|
|
@@ -235,15 +236,15 @@ export const PassoInfos = styled.div<PassosWrapperProps>`
|
|
|
235
236
|
border-radius: 8px;
|
|
236
237
|
}
|
|
237
238
|
|
|
238
|
-
|
|
239
|
+
.ajuda-passos-wrapper {
|
|
239
240
|
display: flex;
|
|
240
241
|
align-items: center;
|
|
241
|
-
margin-right: 5px;
|
|
242
242
|
margin-top: 10px;
|
|
243
243
|
}
|
|
244
|
-
|
|
245
|
-
|
|
244
|
+
|
|
245
|
+
.infosWrapper {
|
|
246
246
|
display: flex;
|
|
247
|
+
gap: 10px;
|
|
247
248
|
}
|
|
248
249
|
|
|
249
250
|
.botoes {
|
|
@@ -139,6 +139,7 @@ const TabelaHeader = <T extends { id: string | number; children?: Array<T> }>({
|
|
|
139
139
|
<Switch
|
|
140
140
|
checked={column.active}
|
|
141
141
|
onChange={() => onChangeCheckedColumn(String(column.key))}
|
|
142
|
+
color={color}
|
|
142
143
|
/>
|
|
143
144
|
{
|
|
144
145
|
columnsToHide.includes(column.header) ? '' : column.header
|
|
@@ -67,11 +67,11 @@ const Template: any = (args: any) => (
|
|
|
67
67
|
export const TabelaProps = Template.bind({});
|
|
68
68
|
|
|
69
69
|
TabelaProps.args = {
|
|
70
|
-
data:
|
|
70
|
+
data: data,
|
|
71
71
|
footer: footer,
|
|
72
72
|
hasExpand: false,
|
|
73
73
|
hasSelect: false,
|
|
74
|
-
isLoading:
|
|
74
|
+
isLoading: false,
|
|
75
75
|
acoesChildren: (row: any): JSX.Element => (
|
|
76
76
|
<>
|
|
77
77
|
<Botao onClick={() => console.log(row)} tipo={'table'} children={'▶'} />
|