@comercti/react-components-hmg 0.18.2 → 0.20.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
@@ -173,8 +173,11 @@ showCloseButton: boolean;
173
173
 
174
174
  declare const __VLS_component_21: DefineComponent<__VLS_Props_26, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_26> & Readonly<{}>, {
175
175
  focus: boolean;
176
- location: "left" | "top" | "right" | "bottom";
177
- }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
176
+ location: "top" | "bottom" | "left" | "right";
177
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {
178
+ activatorRef: HTMLDivElement;
179
+ tooltipRef: HTMLDivElement;
180
+ }, any>;
178
181
 
179
182
  declare const __VLS_component_22: DefineComponent<__VLS_Props_28, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_28> & Readonly<{}>, {
180
183
  color: number;
@@ -623,11 +626,8 @@ declare type __VLS_Props_25 = {
623
626
  };
624
627
 
625
628
  declare type __VLS_Props_26 = {
626
- /** Texto do tooltip */
627
629
  text: string;
628
- /** Localização do tooltip */
629
- location: 'left' | 'top' | 'right' | 'bottom';
630
- /** Ativa o tooltip quando o elemento estiver em foco */
630
+ location?: 'top' | 'bottom' | 'left' | 'right';
631
631
  focus?: boolean;
632
632
  };
633
633
 
@@ -1041,15 +1041,14 @@ declare function __VLS_template_20(): {
1041
1041
 
1042
1042
  declare function __VLS_template_21(): {
1043
1043
  attrs: Partial<{}>;
1044
- slots: Readonly<{
1045
- /** Permite passar qualquer elemento como ativador do tooltip */
1046
- activator: () => VNode[];
1047
- }> & {
1048
- /** Permite passar qualquer elemento como ativador do tooltip */
1049
- activator: () => VNode[];
1044
+ slots: {
1045
+ activator?(_: {}): any;
1050
1046
  };
1051
- refs: {};
1052
- rootEl: HTMLDivElement;
1047
+ refs: {
1048
+ activatorRef: HTMLDivElement;
1049
+ tooltipRef: HTMLDivElement;
1050
+ };
1051
+ rootEl: any;
1053
1052
  };
1054
1053
 
1055
1054
  declare function __VLS_template_22(): {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@comercti/react-components-hmg",
3
- "version": "0.18.2",
3
+ "version": "0.20.2",
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",