@energycap/components 0.46.14-highlighting-normalized-pattern.20260702-1533 → 0.46.15

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@energycap/components",
3
- "version": "0.46.14-highlighting-normalized-pattern.20260702-1533",
3
+ "version": "0.46.15",
4
4
  "schematics": "./schematics/collection.json",
5
5
  "dependencies": {
6
6
  "tslib": "^2.0.0"
@@ -49,4 +49,17 @@
49
49
  font-style: normal;
50
50
  font-weight: bold;
51
51
  line-height: 1;
52
+ }
53
+
54
+ /// Visually hides content while keeping it available to screen readers
55
+ @mixin sr-only {
56
+ position: absolute;
57
+ width: 1px;
58
+ height: 1px;
59
+ padding: 0;
60
+ margin: -1px;
61
+ overflow: hidden;
62
+ clip: rect(0, 0, 0, 0);
63
+ white-space: nowrap;
64
+ border: 0;
52
65
  }
@@ -2940,6 +2940,8 @@ declare class ConfirmComponent implements OnInit, DialogContent<ConfirmDialogCon
2940
2940
  formGroup: UntypedFormGroup;
2941
2941
  status: Overlay;
2942
2942
  showTextBox: boolean;
2943
+ /** Result of the inline confirm action, used for the screen-reader status text in the result template */
2944
+ inlineResultSuccess: boolean;
2943
2945
  private destroyed;
2944
2946
  /**
2945
2947
  * Provided by the calling component to tell the confirm what to show
@@ -5636,6 +5638,10 @@ declare class TooltipDirective implements OnInit {
5636
5638
  * if we never showed the tooltip this will remain null and we won't have an event to unsubscribe to
5637
5639
  */
5638
5640
  private mouseMoveUnsubscribe;
5641
+ /**Set when we show a tooltip so Escape can dismiss it without moving the pointer (WCAG 1.4.13).
5642
+ * Unsubscribed when hide fires, like mouseMoveUnsubscribe.
5643
+ */
5644
+ private keydownUnsubscribe;
5639
5645
  constructor(tooltipService: TooltipService, element: ElementRef, renderer2: Renderer2);
5640
5646
  ngOnInit(): void;
5641
5647
  /**Detects where the mouse is to trigger the leave/hide process
@@ -5643,7 +5649,11 @@ declare class TooltipDirective implements OnInit {
5643
5649
  * On some browsers, and on some actions (especially scroll) the mouseLeave seems to never fire */
5644
5650
  onMouseMove(event: MouseEvent): void;
5645
5651
  onMouseOver(): void;
5646
- onLeave(): void;
5652
+ onLeave(event?: MouseEvent): void;
5653
+ onFocusIn(): void;
5654
+ onFocusOut(): void;
5655
+ onKeydown(event: KeyboardEvent): void;
5656
+ private isPointerOverTooltip;
5647
5657
  private checkInputsValue;
5648
5658
  /**
5649
5659
  * createTooltipOptions