@comercti/react-components-hmg 0.31.1 → 0.32.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 +1 -1
- package/comerc-style-guide.es.js +6 -2
- package/comerc-style-guide.umd.js +1 -1
- package/index.d.ts +4 -4
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -25,7 +25,7 @@ order: "asc" | "desc";
|
|
|
25
25
|
search: boolean;
|
|
26
26
|
selectable: boolean;
|
|
27
27
|
singleSelect: boolean;
|
|
28
|
-
initialSelectedRows: Record<string,
|
|
28
|
+
initialSelectedRows: Record<string, unknown>[];
|
|
29
29
|
striped: boolean;
|
|
30
30
|
orderByServer: boolean;
|
|
31
31
|
expandLine: boolean;
|
|
@@ -812,7 +812,7 @@ declare type __VLS_Props_5 = {
|
|
|
812
812
|
/** Define o texto do botão */
|
|
813
813
|
text: string;
|
|
814
814
|
/** Define o botão selecionado */
|
|
815
|
-
selected: number;
|
|
815
|
+
selected: number | string;
|
|
816
816
|
/** Define a variante do botão */
|
|
817
817
|
variant: 'text' | 'radio';
|
|
818
818
|
/** Define se o botão está desabilitado */
|
|
@@ -1826,7 +1826,7 @@ declare type DataTableProps = {
|
|
|
1826
1826
|
/** Ativa a opção de selecinar apenas um conteúdo da tabela */
|
|
1827
1827
|
singleSelect?: boolean;
|
|
1828
1828
|
/** Array de objetos que estão inicialmente selecionados na tabela */
|
|
1829
|
-
initialSelectedRows?: Record<string,
|
|
1829
|
+
initialSelectedRows?: Record<string, unknown>[];
|
|
1830
1830
|
/** Ativa o input de pesquisa da tabela */
|
|
1831
1831
|
search?: boolean;
|
|
1832
1832
|
/** Array de objetos que serão exibidos na tabela */
|
|
@@ -2123,7 +2123,7 @@ id: string | number;
|
|
|
2123
2123
|
disabled: boolean;
|
|
2124
2124
|
text: string;
|
|
2125
2125
|
variant: "text" | "radio";
|
|
2126
|
-
selected: number;
|
|
2126
|
+
selected: number | string;
|
|
2127
2127
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLButtonElement>;
|
|
2128
2128
|
|
|
2129
2129
|
export declare const disableCeLoading: () => void;
|