@comercti/react-components 0.28.0 → 0.32.0

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
@@ -25,6 +25,7 @@ order: "asc" | "desc";
25
25
  search: boolean;
26
26
  selectable: boolean;
27
27
  singleSelect: boolean;
28
+ initialSelectedRows: Record<string, unknown>[];
28
29
  striped: boolean;
29
30
  orderByServer: boolean;
30
31
  expandLine: boolean;
@@ -1825,7 +1826,7 @@ declare type DataTableProps = {
1825
1826
  /** Ativa a opção de selecinar apenas um conteúdo da tabela */
1826
1827
  singleSelect?: boolean;
1827
1828
  /** Array de objetos que estão inicialmente selecionados na tabela */
1828
- initialSelectedRows?: Record<string, any>[];
1829
+ initialSelectedRows?: Record<string, unknown>[];
1829
1830
  /** Ativa o input de pesquisa da tabela */
1830
1831
  search?: boolean;
1831
1832
  /** Array de objetos que serão exibidos na tabela */
@@ -2243,7 +2244,7 @@ declare interface IFields {
2243
2244
  }
2244
2245
 
2245
2246
  declare interface IItems {
2246
- id: number;
2247
+ id: number | string;
2247
2248
  title: string;
2248
2249
  description: string;
2249
2250
  status: keyof IStatus;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@comercti/react-components",
3
- "version": "0.28.0",
3
+ "version": "0.32.0",
4
4
  "types": "index.d.ts",
5
5
  "type": "module",
6
6
  "license": "private",