@comercti/react-components-hmg 0.15.4 → 0.18.2

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
@@ -34,6 +34,7 @@ compact: boolean;
34
34
  loading: boolean;
35
35
  loadingType: "spinner" | "semi-circle" | "dots";
36
36
  truncated: boolean;
37
+ copyable: boolean;
37
38
  }, {}, {}, {}, string, ComponentProvideOptions, false, {
38
39
  rootRef: HTMLDivElement;
39
40
  }, HTMLDivElement>;
@@ -339,6 +340,8 @@ declare type __VLS_Props_10 = {
339
340
  maxFileSize?: number;
340
341
  /** habilita a opção de selecionar múltiplos arquivos */
341
342
  selectAll?: boolean;
343
+ /** Mensagem personalizada de tipos de arquivos */
344
+ customMessage?: string[];
342
345
  /** limpa a lista de arquivos */
343
346
  clear: boolean;
344
347
  };
@@ -522,6 +525,8 @@ declare type __VLS_Props_19 = {
522
525
  isSearch?: boolean;
523
526
  /** Se true inicializa o menu aberto */
524
527
  isOpen?: boolean;
528
+ /** Título do menu */
529
+ title?: string;
525
530
  };
526
531
 
527
532
  declare type __VLS_Props_2 = {
@@ -1683,6 +1688,10 @@ declare type DataTableProps = {
1683
1688
  loadingType?: 'spinner' | 'semi-circle' | 'dots';
1684
1689
  /** Define se o texto das células será truncado */
1685
1690
  truncated?: boolean;
1691
+ /** String com as diretivas tailwind a serem aplicadas ao slot pagination */
1692
+ paginationStyle?: string;
1693
+ /** Habilita a funcionalidade de copiar o conteúdo da célula ao clicar nela */
1694
+ copyable?: boolean;
1686
1695
  };
1687
1696
 
1688
1697
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
@@ -1741,7 +1750,10 @@ multiple: boolean;
1741
1750
  maxFile: number;
1742
1751
  maxFileSize: number;
1743
1752
  selectAll: boolean;
1744
- }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
1753
+ customMessage: string[];
1754
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {
1755
+ inputFile: HTMLInputElement;
1756
+ }, HTMLDivElement>;
1745
1757
 
1746
1758
  declare const _default_17: __VLS_WithTemplateSlots_7<typeof __VLS_component_7, __VLS_TemplateResult_7["slots"]>;
1747
1759
 
@@ -1823,6 +1835,7 @@ toggleMenu: (clicado: boolean) => any;
1823
1835
  onRedirect?: (item: SubMenu | ItensMenu_2) => any;
1824
1836
  onToggleMenu?: (clicado: boolean) => any;
1825
1837
  }>, {
1838
+ title: string;
1826
1839
  itemsSearch: ItensMenu_2[];
1827
1840
  isHome: boolean;
1828
1841
  isSearch: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@comercti/react-components-hmg",
3
- "version": "0.15.4",
3
+ "version": "0.18.2",
4
4
  "types": "index.d.ts",
5
5
  "type": "module",
6
6
  "license": "private",