@hmcts/media-viewer 4.1.7-exui-2986-3 → 4.1.8-2821

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.
@@ -1,8 +1,11 @@
1
+ import { AfterViewInit, ElementRef } from '@angular/core';
1
2
  import { IcpEventService } from '../../toolbar/icp-event.service';
2
3
  import * as i0 from "@angular/core";
3
- export declare class ConfirmActionDialogComponent {
4
+ export declare class ConfirmActionDialogComponent implements AfterViewInit {
4
5
  private icpEventService;
6
+ modalContainer: ElementRef;
5
7
  constructor(icpEventService: IcpEventService);
8
+ ngAfterViewInit(): void;
6
9
  onCancel(): void;
7
10
  onConfirm(): void;
8
11
  static ɵfac: i0.ɵɵFactoryDeclaration<ConfirmActionDialogComponent, never>;
@@ -1 +1 @@
1
- {"version":3,"file":"confirm-action-dialog.component.d.ts","sourceRoot":"","sources":["../../../../../projects/media-viewer/src/lib/icp/confirm-exit/confirm-action-dialog.component.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,eAAe,EAAE,MAAM,iCAAiC,CAAC;;AAElE,qBAIa,4BAA4B;IAE3B,OAAO,CAAC,eAAe;gBAAf,eAAe,EAAE,eAAe;IAEpD,QAAQ;IAIR,SAAS;yCARE,4BAA4B;2CAA5B,4BAA4B;CAYxC"}
1
+ {"version":3,"file":"confirm-action-dialog.component.d.ts","sourceRoot":"","sources":["../../../../../projects/media-viewer/src/lib/icp/confirm-exit/confirm-action-dialog.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAa,UAAU,EAAa,MAAM,eAAe,CAAC;AAChF,OAAO,EAAE,eAAe,EAAE,MAAM,iCAAiC,CAAC;;AAElE,qBAIa,4BAA6B,YAAW,aAAa;IAGpD,OAAO,CAAC,eAAe;IAFN,cAAc,EAAE,UAAU,CAAC;gBAEpC,eAAe,EAAE,eAAe;IAEpD,eAAe,IAAI,IAAI;IAMvB,QAAQ;IAIR,SAAS;yCAfE,4BAA4B;2CAA5B,4BAA4B;CAmBxC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hmcts/media-viewer",
3
- "version": "4.1.7-exui-2986-3",
3
+ "version": "4.1.8-2821",
4
4
  "description": "Media Viewer",
5
5
  "keywords": [
6
6
  "Angular",
@@ -36,7 +36,7 @@
36
36
  "@ngrx/store": "^17.0.0",
37
37
  "@ngrx/store-devtools": "^17.0.0"
38
38
  },
39
- "packageManager": "yarn@3.8.5",
39
+ "packageManager": "yarn@4.5.0",
40
40
  "module": "fesm2022/hmcts-media-viewer.mjs",
41
41
  "typings": "index.d.ts",
42
42
  "exports": {
@@ -1,43 +0,0 @@
1
- .tooltip {
2
- /* default: place above */
3
- --tooltip-offset-y: -50%;
4
- }
5
-
6
- .tooltip::before {
7
- content: attr(data-tooltip); /* Tooltip text comes from attribute */
8
- position: absolute;
9
- top: var(--tooltip-offset-y);
10
- left: 50%;
11
- transform: translateX(-50%);
12
- background: #e3e2e1;
13
- color: #444444;
14
- border: 1px solid #d1d1d1;
15
- font-size: 11px;
16
- font-family: system-ui, sans-serif;
17
- padding: 3px 6px;
18
- border-radius: 2px;
19
- /* Dynamic sizing */
20
- white-space: nowrap;
21
- width: max-content;
22
- max-width: 300px;
23
- z-index: 999;
24
- opacity: 0;
25
- visibility: hidden;
26
- transition: opacity 0.2s ease-in-out;
27
- box-shadow: 0px 2px 4px rgba(0,0,0,0.3);
28
- }
29
-
30
- /* Show tooltip on hover and focus */
31
- .tooltip:hover::after,
32
- .tooltip:focus::after,
33
- .tooltip:hover::before,
34
- /* Show tooltip on hover or keyboard focus */
35
- .tooltip:focus::before {
36
- opacity: 1;
37
- visibility: visible;
38
- }
39
-
40
- /* place below */
41
- .tooltip[data-placement="bottom"] {
42
- --tooltip-offset-y: 100%;
43
- }