@comercti/react-components-hmg 0.25.5 → 0.27.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/comerc-style-guide.cjs.js +7 -10
- package/comerc-style-guide.es.js +2924 -2884
- package/comerc-style-guide.umd.js +9 -12
- package/index.d.ts +5 -0
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -24,6 +24,7 @@ order: "asc" | "desc";
|
|
|
24
24
|
}>, {
|
|
25
25
|
search: boolean;
|
|
26
26
|
selectable: boolean;
|
|
27
|
+
singleSelect: boolean;
|
|
27
28
|
striped: boolean;
|
|
28
29
|
orderByServer: boolean;
|
|
29
30
|
expandLine: boolean;
|
|
@@ -1821,6 +1822,10 @@ declare type DataTableProps = {
|
|
|
1821
1822
|
headers: Header[];
|
|
1822
1823
|
/** Ativa a opção de selecinar os conteúdos da tabela */
|
|
1823
1824
|
selectable?: boolean;
|
|
1825
|
+
/** Ativa a opção de selecinar apenas um conteúdo da tabela */
|
|
1826
|
+
singleSelect?: boolean;
|
|
1827
|
+
/** Array de objetos que estão inicialmente selecionados na tabela */
|
|
1828
|
+
initialSelectedRows?: Record<string, any>[];
|
|
1824
1829
|
/** Ativa o input de pesquisa da tabela */
|
|
1825
1830
|
search?: boolean;
|
|
1826
1831
|
/** Array de objetos que serão exibidos na tabela */
|