@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/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 */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@comercti/react-components-hmg",
3
- "version": "0.25.5",
3
+ "version": "0.27.1",
4
4
  "types": "index.d.ts",
5
5
  "type": "module",
6
6
  "license": "private",