@comercti/vue-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 +30 -30
- package/comerc-style-guide.es.js +3978 -3052
- package/comerc-style-guide.umd.js +30 -30
- package/index.d.ts +13 -17
- package/package.json +2 -1
package/index.d.ts
CHANGED
|
@@ -33,7 +33,6 @@ compact: boolean;
|
|
|
33
33
|
loading: boolean;
|
|
34
34
|
loadingType: "spinner" | "semi-circle" | "dots";
|
|
35
35
|
truncated: boolean;
|
|
36
|
-
copyable: boolean;
|
|
37
36
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
38
37
|
rootRef: HTMLDivElement;
|
|
39
38
|
}, HTMLDivElement>;
|
|
@@ -153,8 +152,11 @@ showCloseButton: boolean;
|
|
|
153
152
|
|
|
154
153
|
declare const __VLS_component_22: DefineComponent<__VLS_Props_28, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_28> & Readonly<{}>, {
|
|
155
154
|
focus: boolean;
|
|
156
|
-
location: "
|
|
157
|
-
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
155
|
+
location: "top" | "bottom" | "left" | "right";
|
|
156
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
157
|
+
activatorRef: HTMLDivElement;
|
|
158
|
+
tooltipRef: HTMLDivElement;
|
|
159
|
+
}, any>;
|
|
158
160
|
|
|
159
161
|
declare const __VLS_component_23: DefineComponent<__VLS_Props_31, {
|
|
160
162
|
rootRef: Ref<HTMLElement, HTMLElement>;
|
|
@@ -591,11 +593,8 @@ declare type __VLS_Props_27 = {
|
|
|
591
593
|
};
|
|
592
594
|
|
|
593
595
|
declare type __VLS_Props_28 = {
|
|
594
|
-
/** Texto do tooltip */
|
|
595
596
|
text: string;
|
|
596
|
-
|
|
597
|
-
location: 'left' | 'top' | 'right' | 'bottom';
|
|
598
|
-
/** Ativa o tooltip quando o elemento estiver em foco */
|
|
597
|
+
location?: 'top' | 'bottom' | 'left' | 'right';
|
|
599
598
|
focus?: boolean;
|
|
600
599
|
};
|
|
601
600
|
|
|
@@ -1088,15 +1087,14 @@ declare function __VLS_template_21(): {
|
|
|
1088
1087
|
|
|
1089
1088
|
declare function __VLS_template_22(): {
|
|
1090
1089
|
attrs: Partial<{}>;
|
|
1091
|
-
slots:
|
|
1092
|
-
|
|
1093
|
-
activator: () => VNode[];
|
|
1094
|
-
}> & {
|
|
1095
|
-
/** Permite passar qualquer elemento como ativador do tooltip */
|
|
1096
|
-
activator: () => VNode[];
|
|
1090
|
+
slots: {
|
|
1091
|
+
activator?(_: {}): any;
|
|
1097
1092
|
};
|
|
1098
|
-
refs: {
|
|
1099
|
-
|
|
1093
|
+
refs: {
|
|
1094
|
+
activatorRef: HTMLDivElement;
|
|
1095
|
+
tooltipRef: HTMLDivElement;
|
|
1096
|
+
};
|
|
1097
|
+
rootEl: any;
|
|
1100
1098
|
};
|
|
1101
1099
|
|
|
1102
1100
|
declare function __VLS_template_23(): {
|
|
@@ -1813,8 +1811,6 @@ declare type DataTableProps = {
|
|
|
1813
1811
|
truncated?: boolean;
|
|
1814
1812
|
/** String com as diretivas tailwind a serem aplicadas ao slot pagination */
|
|
1815
1813
|
paginationStyle?: string;
|
|
1816
|
-
/** Habilita a funcionalidade de copiar o conteúdo da célula ao clicar nela */
|
|
1817
|
-
copyable?: boolean;
|
|
1818
1814
|
};
|
|
1819
1815
|
|
|
1820
1816
|
export declare const disableCeLoading: () => void;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@comercti/vue-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",
|