@nova-ui/bits 15.0.5-5242 → 15.0.5-5262

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.
@@ -20,12 +20,16 @@ export declare class TooltipDirective implements OnDestroy {
20
20
  _tooltipInstance?: TooltipComponent;
21
21
  private _position;
22
22
  private _disabled;
23
+ private _ellipsis;
23
24
  /** Allows the user to define the position of the tooltip relative to the parent element */
24
25
  get position(): TooltipPosition;
25
26
  set position(value: TooltipPosition);
26
27
  /** Disables the display of the tooltip. */
27
28
  get disabled(): boolean;
28
29
  set disabled(value: boolean);
30
+ /** Determines whether the tooltip should be displayed when the content is overflowing. By default is `false`. */
31
+ get ellipsis(): boolean;
32
+ set ellipsis(value: boolean);
29
33
  private _message;
30
34
  /** The message to be displayed in the tooltip */
31
35
  get message(): string;
@@ -40,6 +44,11 @@ export declare class TooltipDirective implements OnDestroy {
40
44
  ngOnDestroy(): void;
41
45
  /** Shows the tooltip if not disabled or empty */
42
46
  show(): void;
47
+ /**
48
+ * Checks if the content is overflowing.
49
+ * The content is considered overflowing if its scroll width is greater than its client width plus 1.
50
+ */
51
+ isOverflowing(): boolean;
43
52
  /** Hides the tooltip */
44
53
  hide(): void;
45
54
  /** Shows/hides the tooltip */
@@ -56,5 +65,5 @@ export declare class TooltipDirective implements OnDestroy {
56
65
  private _updateTooltipMessage;
57
66
  private canShowTooltip;
58
67
  static ɵfac: i0.ɵɵFactoryDeclaration<TooltipDirective, never>;
59
- static ɵdir: i0.ɵɵDirectiveDeclaration<TooltipDirective, "[nuiTooltip]", ["nuiTooltip"], { "position": "tooltipPlacement"; "disabled": "nuiTooltipDisabled"; "message": "nuiTooltip"; }, {}, never, never, false, never>;
68
+ static ɵdir: i0.ɵɵDirectiveDeclaration<TooltipDirective, "[nuiTooltip]", ["nuiTooltip"], { "position": "tooltipPlacement"; "disabled": "nuiTooltipDisabled"; "ellipsis": "nuiTooltipEllipsis"; "message": "nuiTooltip"; }, {}, never, never, false, never>;
60
69
  }
package/package.json CHANGED
@@ -68,7 +68,7 @@
68
68
  },
69
69
  "schematics": "./sdk/schematics/collection.json",
70
70
  "typings": "index.d.ts",
71
- "version": "15.0.5-5242",
71
+ "version": "15.0.5-5262",
72
72
  "packageManager": "yarn@1.22.18",
73
73
  "module": "fesm2015/nova-ui-bits.mjs",
74
74
  "es2020": "fesm2020/nova-ui-bits.mjs",