@comercti/react-components-hmg 0.18.1 → 0.20.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 +33 -30
- package/comerc-style-guide.es.js +4089 -3136
- package/comerc-style-guide.umd.js +33 -30
- package/index.d.ts +24 -15
- package/package.json +2 -1
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>;
|
|
@@ -172,8 +173,11 @@ showCloseButton: boolean;
|
|
|
172
173
|
|
|
173
174
|
declare const __VLS_component_21: DefineComponent<__VLS_Props_26, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_26> & Readonly<{}>, {
|
|
174
175
|
focus: boolean;
|
|
175
|
-
location: "
|
|
176
|
-
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
176
|
+
location: "top" | "bottom" | "left" | "right";
|
|
177
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
178
|
+
activatorRef: HTMLDivElement;
|
|
179
|
+
tooltipRef: HTMLDivElement;
|
|
180
|
+
}, any>;
|
|
177
181
|
|
|
178
182
|
declare const __VLS_component_22: DefineComponent<__VLS_Props_28, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_28> & Readonly<{}>, {
|
|
179
183
|
color: number;
|
|
@@ -339,6 +343,8 @@ declare type __VLS_Props_10 = {
|
|
|
339
343
|
maxFileSize?: number;
|
|
340
344
|
/** habilita a opção de selecionar múltiplos arquivos */
|
|
341
345
|
selectAll?: boolean;
|
|
346
|
+
/** Mensagem personalizada de tipos de arquivos */
|
|
347
|
+
customMessage?: string[];
|
|
342
348
|
/** limpa a lista de arquivos */
|
|
343
349
|
clear: boolean;
|
|
344
350
|
};
|
|
@@ -620,11 +626,8 @@ declare type __VLS_Props_25 = {
|
|
|
620
626
|
};
|
|
621
627
|
|
|
622
628
|
declare type __VLS_Props_26 = {
|
|
623
|
-
/** Texto do tooltip */
|
|
624
629
|
text: string;
|
|
625
|
-
|
|
626
|
-
location: 'left' | 'top' | 'right' | 'bottom';
|
|
627
|
-
/** Ativa o tooltip quando o elemento estiver em foco */
|
|
630
|
+
location?: 'top' | 'bottom' | 'left' | 'right';
|
|
628
631
|
focus?: boolean;
|
|
629
632
|
};
|
|
630
633
|
|
|
@@ -1038,15 +1041,14 @@ declare function __VLS_template_20(): {
|
|
|
1038
1041
|
|
|
1039
1042
|
declare function __VLS_template_21(): {
|
|
1040
1043
|
attrs: Partial<{}>;
|
|
1041
|
-
slots:
|
|
1042
|
-
|
|
1043
|
-
activator: () => VNode[];
|
|
1044
|
-
}> & {
|
|
1045
|
-
/** Permite passar qualquer elemento como ativador do tooltip */
|
|
1046
|
-
activator: () => VNode[];
|
|
1044
|
+
slots: {
|
|
1045
|
+
activator?(_: {}): any;
|
|
1047
1046
|
};
|
|
1048
|
-
refs: {
|
|
1049
|
-
|
|
1047
|
+
refs: {
|
|
1048
|
+
activatorRef: HTMLDivElement;
|
|
1049
|
+
tooltipRef: HTMLDivElement;
|
|
1050
|
+
};
|
|
1051
|
+
rootEl: any;
|
|
1050
1052
|
};
|
|
1051
1053
|
|
|
1052
1054
|
declare function __VLS_template_22(): {
|
|
@@ -1685,6 +1687,10 @@ declare type DataTableProps = {
|
|
|
1685
1687
|
loadingType?: 'spinner' | 'semi-circle' | 'dots';
|
|
1686
1688
|
/** Define se o texto das células será truncado */
|
|
1687
1689
|
truncated?: boolean;
|
|
1690
|
+
/** String com as diretivas tailwind a serem aplicadas ao slot pagination */
|
|
1691
|
+
paginationStyle?: string;
|
|
1692
|
+
/** Habilita a funcionalidade de copiar o conteúdo da célula ao clicar nela */
|
|
1693
|
+
copyable?: boolean;
|
|
1688
1694
|
};
|
|
1689
1695
|
|
|
1690
1696
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
@@ -1743,7 +1749,10 @@ multiple: boolean;
|
|
|
1743
1749
|
maxFile: number;
|
|
1744
1750
|
maxFileSize: number;
|
|
1745
1751
|
selectAll: boolean;
|
|
1746
|
-
|
|
1752
|
+
customMessage: string[];
|
|
1753
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
1754
|
+
inputFile: HTMLInputElement;
|
|
1755
|
+
}, HTMLDivElement>;
|
|
1747
1756
|
|
|
1748
1757
|
declare const _default_17: __VLS_WithTemplateSlots_7<typeof __VLS_component_7, __VLS_TemplateResult_7["slots"]>;
|
|
1749
1758
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@comercti/react-components-hmg",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.20.1",
|
|
4
4
|
"types": "index.d.ts",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "private",
|
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
],
|
|
11
11
|
"description": "AVISO: Este pacote está em desenvolvimento e pode sofrer alterações sem aviso prévio. Não utilize em produção. ",
|
|
12
12
|
"dependencies": {
|
|
13
|
+
"@popperjs/core": "^2.11.8",
|
|
13
14
|
"@wdns/vue-code-block": "^2.3.5",
|
|
14
15
|
"date-fns": "^4.1.0",
|
|
15
16
|
"highlight.js": "^11.11.1",
|