@comercti/react-components 0.20.0 → 0.21.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/comerc-style-guide.cjs.js +31 -31
- package/comerc-style-guide.es.js +4106 -3180
- package/comerc-style-guide.umd.js +31 -31
- package/index.d.ts +13 -17
- package/package.json +2 -1
package/index.d.ts
CHANGED
|
@@ -34,7 +34,6 @@ compact: boolean;
|
|
|
34
34
|
loading: boolean;
|
|
35
35
|
loadingType: "spinner" | "semi-circle" | "dots";
|
|
36
36
|
truncated: boolean;
|
|
37
|
-
copyable: boolean;
|
|
38
37
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
39
38
|
rootRef: HTMLDivElement;
|
|
40
39
|
}, HTMLDivElement>;
|
|
@@ -173,8 +172,11 @@ showCloseButton: boolean;
|
|
|
173
172
|
|
|
174
173
|
declare const __VLS_component_21: DefineComponent<__VLS_Props_26, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_26> & Readonly<{}>, {
|
|
175
174
|
focus: boolean;
|
|
176
|
-
location: "
|
|
177
|
-
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
175
|
+
location: "top" | "bottom" | "left" | "right";
|
|
176
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
177
|
+
activatorRef: HTMLDivElement;
|
|
178
|
+
tooltipRef: HTMLDivElement;
|
|
179
|
+
}, any>;
|
|
178
180
|
|
|
179
181
|
declare const __VLS_component_22: DefineComponent<__VLS_Props_28, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_28> & Readonly<{}>, {
|
|
180
182
|
color: number;
|
|
@@ -623,11 +625,8 @@ declare type __VLS_Props_25 = {
|
|
|
623
625
|
};
|
|
624
626
|
|
|
625
627
|
declare type __VLS_Props_26 = {
|
|
626
|
-
/** Texto do tooltip */
|
|
627
628
|
text: string;
|
|
628
|
-
|
|
629
|
-
location: 'left' | 'top' | 'right' | 'bottom';
|
|
630
|
-
/** Ativa o tooltip quando o elemento estiver em foco */
|
|
629
|
+
location?: 'top' | 'bottom' | 'left' | 'right';
|
|
631
630
|
focus?: boolean;
|
|
632
631
|
};
|
|
633
632
|
|
|
@@ -1041,15 +1040,14 @@ declare function __VLS_template_20(): {
|
|
|
1041
1040
|
|
|
1042
1041
|
declare function __VLS_template_21(): {
|
|
1043
1042
|
attrs: Partial<{}>;
|
|
1044
|
-
slots:
|
|
1045
|
-
|
|
1046
|
-
activator: () => VNode[];
|
|
1047
|
-
}> & {
|
|
1048
|
-
/** Permite passar qualquer elemento como ativador do tooltip */
|
|
1049
|
-
activator: () => VNode[];
|
|
1043
|
+
slots: {
|
|
1044
|
+
activator?(_: {}): any;
|
|
1050
1045
|
};
|
|
1051
|
-
refs: {
|
|
1052
|
-
|
|
1046
|
+
refs: {
|
|
1047
|
+
activatorRef: HTMLDivElement;
|
|
1048
|
+
tooltipRef: HTMLDivElement;
|
|
1049
|
+
};
|
|
1050
|
+
rootEl: any;
|
|
1053
1051
|
};
|
|
1054
1052
|
|
|
1055
1053
|
declare function __VLS_template_22(): {
|
|
@@ -1690,8 +1688,6 @@ declare type DataTableProps = {
|
|
|
1690
1688
|
truncated?: boolean;
|
|
1691
1689
|
/** String com as diretivas tailwind a serem aplicadas ao slot pagination */
|
|
1692
1690
|
paginationStyle?: string;
|
|
1693
|
-
/** Habilita a funcionalidade de copiar o conteúdo da célula ao clicar nela */
|
|
1694
|
-
copyable?: boolean;
|
|
1695
1691
|
};
|
|
1696
1692
|
|
|
1697
1693
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@comercti/react-components",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.21.0",
|
|
4
4
|
"types": "index.d.ts",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "private",
|
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
],
|
|
11
11
|
"description": "",
|
|
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",
|