@crowdfarming/oliva-ds 1.97.1 → 1.98.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.
@@ -15,7 +15,11 @@ export declare class TooltipDirective implements OnDestroy {
15
15
  tooltipPosition: TooltipPosition;
16
16
  tooltipForceOpen: boolean;
17
17
  private overlayRef;
18
+ private readonly supportsHover;
18
19
  constructor(elementRef: ElementRef, overlay: Overlay, positionBuilder: OverlayPositionBuilder);
20
+ onMouseEnter(): void;
21
+ onMouseLeave(): void;
22
+ onClick(): void;
19
23
  show(): void;
20
24
  hide(): void;
21
25
  ngOnDestroy(): void;
@@ -23,8 +27,20 @@ export declare class TooltipDirective implements OnDestroy {
23
27
  * Manually hide the tooltip. Useful to test the tooltip.
24
28
  */
25
29
  forceHide(): void;
30
+ private disposeOverlay;
26
31
  /**
27
- * Returns the CDK position configuration based on the 'tooltipPosition' value.
32
+ * Maps the position CDK actually applied back to a TooltipPosition, so the arrow
33
+ * points to the right side after a flip.
34
+ */
35
+ private toTooltipPosition;
36
+ /**
37
+ * Ordered positions handed to CDK when the tooltip opens: the preferred one first,
38
+ * its opposite as a fallback so CDK flips to the other side when the preferred one
39
+ * doesn't fit.
40
+ */
41
+ private getPositions;
42
+ /**
43
+ * Returns the CDK position configuration for a given tooltip position.
28
44
  */
29
45
  private getPosition;
30
46
  static ɵfac: i0.ɵɵFactoryDeclaration<TooltipDirective, never>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@crowdfarming/oliva-ds",
3
- "version": "1.97.1",
3
+ "version": "1.98.0",
4
4
  "description": "Librería de componentes de diseño de Oliva",
5
5
  "author": "crowdfarming",
6
6
  "license": "MIT",