@comercti/react-components-hmg 0.33.8 → 0.34.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
@@ -44,7 +44,6 @@ loading: boolean;
44
44
  loadingType: "spinner" | "semi-circle" | "dots";
45
45
  truncated: boolean;
46
46
  copyable: boolean;
47
- editable: boolean;
48
47
  editColumnStyle: {
49
48
  fields: string[];
50
49
  style?: Record<string, string>;
@@ -1399,9 +1398,17 @@ declare function __VLS_template_7(): {
1399
1398
  slots: Readonly<{
1400
1399
  /** Slot para o conteúdo do file upload */
1401
1400
  content: () => VNode[];
1401
+ /** Slot para ações relacionadas a cada arquivo (ex: botões de download, etc) */
1402
+ actions?: (scope: {
1403
+ file: FileItem;
1404
+ }) => VNode[];
1402
1405
  }> & {
1403
1406
  /** Slot para o conteúdo do file upload */
1404
1407
  content: () => VNode[];
1408
+ /** Slot para ações relacionadas a cada arquivo (ex: botões de download, etc) */
1409
+ actions?: (scope: {
1410
+ file: FileItem;
1411
+ }) => VNode[];
1405
1412
  };
1406
1413
  refs: {
1407
1414
  inputFile: HTMLInputElement;
@@ -1845,6 +1852,10 @@ declare type DataTableProps = {
1845
1852
  *
1846
1853
  * width?: string
1847
1854
  *
1855
+ * editableField?: {
1856
+ * type: InputType | 'boolean'
1857
+ * mask?: string | string[]
1858
+ * }
1848
1859
  */
1849
1860
  headers: Header[];
1850
1861
  /** Ativa a opção de selecinar os conteúdos da tabela */
@@ -1875,8 +1886,6 @@ declare type DataTableProps = {
1875
1886
  paginationStyle?: string;
1876
1887
  /** Habilita a funcionalidade de copiar o conteúdo da célula ao clicar */
1877
1888
  copyable?: boolean;
1878
- /** Habilita a funcionalidade de editar o conteúdo da célula ao clicar */
1879
- editable?: boolean;
1880
1889
  /** Configurações para estilizar colunas editáveis */
1881
1890
  editColumnStyle?: {
1882
1891
  fields: string[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@comercti/react-components-hmg",
3
- "version": "0.33.8",
3
+ "version": "0.34.1",
4
4
  "types": "index.d.ts",
5
5
  "type": "module",
6
6
  "license": "private",