wca-designsystem 1.0.29 → 1.0.31
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
|
@@ -148,8 +148,10 @@ export const PassoSteep = styled(Stepper)<PassosWrapperProps>`
|
|
|
148
148
|
text-overflow: ellipsis;
|
|
149
149
|
overflow: hidden;
|
|
150
150
|
-webkit-line-clamp: 2;
|
|
151
|
-
display: -webkit-box;
|
|
152
151
|
-webkit-box-orient: vertical;
|
|
152
|
+
display: flex;
|
|
153
|
+
align-items: center;
|
|
154
|
+
min-height: 32px;
|
|
153
155
|
}
|
|
154
156
|
|
|
155
157
|
.label-fixo {
|
|
@@ -47,6 +47,7 @@ export type CustomTableProps<
|
|
|
47
47
|
setSelectedLine?: React.Dispatch<React.SetStateAction<T | null>>;
|
|
48
48
|
handleAdicionar?: () => void;
|
|
49
49
|
hasFiltersButtons?: boolean;
|
|
50
|
+
hasInfinitScrool?: boolean;
|
|
50
51
|
setOrdenarPor?: React.Dispatch<React.SetStateAction<SelectDataProps>>;
|
|
51
52
|
ordenarPor?: SelectDataProps;
|
|
52
53
|
filtrosPor: {
|
|
@@ -99,6 +100,7 @@ const Tabela = <
|
|
|
99
100
|
tabelaPaginacao,
|
|
100
101
|
setSelectedLine,
|
|
101
102
|
tamanhoPaginacao,
|
|
103
|
+
hasInfinitScrool,
|
|
102
104
|
hasFiltersButtons,
|
|
103
105
|
qtdRegistrosPagina,
|
|
104
106
|
quantidadeRegistros,
|
|
@@ -226,7 +228,7 @@ const Tabela = <
|
|
|
226
228
|
</S.StyledTable>
|
|
227
229
|
</S.TableContainer>
|
|
228
230
|
|
|
229
|
-
{data.length > 0 && (
|
|
231
|
+
{data.length > 0 && !hasInfinitScrool && (
|
|
230
232
|
<Paginacao
|
|
231
233
|
color={color}
|
|
232
234
|
setPagination={setPagination}
|