@refinitiv-ui/elements 7.15.3 → 7.15.5

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/CHANGELOG.md CHANGED
@@ -3,6 +3,16 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [7.15.5](https://github.com/Refinitiv/refinitiv-ui/compare/@refinitiv-ui/elements@7.15.4...@refinitiv-ui/elements@7.15.5) (2026-01-05)
7
+
8
+ ### Bug Fixes
9
+
10
+ - **overlay:** fix to support filtor-dialog of efx-grid ([#1293](https://github.com/Refinitiv/refinitiv-ui/issues/1293)) ([367bccd](https://github.com/Refinitiv/refinitiv-ui/commit/367bccdbec2904ee9ff55dc67a3250c700753a29))
11
+
12
+ ## [7.15.4](https://github.com/Refinitiv/refinitiv-ui/compare/@refinitiv-ui/elements@7.15.3...@refinitiv-ui/elements@7.15.4) (2025-11-12)
13
+
14
+ **Note:** Version bump only for package @refinitiv-ui/elements
15
+
6
16
  ## [7.15.3](https://github.com/Refinitiv/refinitiv-ui/compare/@refinitiv-ui/elements@7.15.2...@refinitiv-ui/elements@7.15.3) (2025-11-12)
7
17
 
8
18
  **Note:** Version bump only for package @refinitiv-ui/elements
@@ -1,4 +1,11 @@
1
1
  import { getOverlays } from './zindex-manager.js';
2
+ /**
3
+ * Check if an element is filter-dialog of efx-grid.
4
+ * @returns {boolean} true if the element is filter-dialog
5
+ */
6
+ const isFilterDialog = (elements) => {
7
+ return elements instanceof HTMLElement && elements.tagName === 'FILTER-DIALOG';
8
+ };
2
9
  /**
3
10
  * Close manager ensures that the correct (or the most top) overlay
4
11
  * is closed on ESC and click events
@@ -30,10 +37,12 @@ export class CloseManager {
30
37
  const path = event.composedPath();
31
38
  const focusBoundary = overlay.focusBoundary || overlay;
32
39
  const isOutsideClick = !path.includes(focusBoundary);
33
- if (isOutsideClick && !overlay.noInteractionLock) {
40
+ const isInPopup = path.find(isFilterDialog); // Ignore clicks inside filter-dialog of efx-grid
41
+ const shouldClose = isOutsideClick && !isInPopup;
42
+ if (shouldClose && !overlay.noInteractionLock) {
34
43
  event.preventDefault();
35
44
  }
36
- if (isOutsideClick && !overlay.noCancelOnOutsideClick) {
45
+ if (shouldClose && !overlay.noCancelOnOutsideClick) {
37
46
  closeCallback();
38
47
  }
39
48
  };
package/lib/version.js CHANGED
@@ -1 +1 @@
1
- export const VERSION = '7.15.3';
1
+ export const VERSION = '7.15.5';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@refinitiv-ui/elements",
3
- "version": "7.15.3",
3
+ "version": "7.15.5",
4
4
  "description": "Element Framework Elements",
5
5
  "author": "LSEG",
6
6
  "license": "Apache-2.0",
@@ -458,9 +458,9 @@
458
458
  },
459
459
  "dependencies": {
460
460
  "@lit-labs/context": "^0.3.1",
461
- "@refinitiv-ui/ds-theme": "^7.1.3",
462
- "@refinitiv-ui/halo-theme": "^7.6.2",
463
- "@refinitiv-ui/solar-theme": "^7.4.2",
461
+ "@refinitiv-ui/ds-theme": "^7.1.4",
462
+ "@refinitiv-ui/halo-theme": "^7.6.3",
463
+ "@refinitiv-ui/solar-theme": "^7.4.3",
464
464
  "chart.js": "^4.4.2",
465
465
  "chartjs-adapter-date-fns": "^3.0.0",
466
466
  "d3-interpolate": "^3.0.1",
@@ -470,25 +470,25 @@
470
470
  "tslib": "^2.3.1"
471
471
  },
472
472
  "devDependencies": {
473
- "@refinitiv-ui/core": "^7.5.4",
474
- "@refinitiv-ui/demo-block": "^7.2.3",
475
- "@refinitiv-ui/i18n": "^7.1.7",
476
- "@refinitiv-ui/phrasebook": "^7.1.3",
477
- "@refinitiv-ui/test-helpers": "^7.1.4",
478
- "@refinitiv-ui/translate": "^7.1.12",
479
- "@refinitiv-ui/utils": "^7.3.2",
473
+ "@refinitiv-ui/core": "^7.5.5",
474
+ "@refinitiv-ui/demo-block": "^7.2.4",
475
+ "@refinitiv-ui/i18n": "^7.1.9",
476
+ "@refinitiv-ui/phrasebook": "^7.1.5",
477
+ "@refinitiv-ui/test-helpers": "^7.1.5",
478
+ "@refinitiv-ui/translate": "^7.1.14",
479
+ "@refinitiv-ui/utils": "^7.3.3",
480
480
  "@types/d3-interpolate": "^3.0.1"
481
481
  },
482
482
  "peerDependencies": {
483
483
  "@refinitiv-ui/browser-sparkline": "^1.0.0 || ^2.0.0",
484
- "@refinitiv-ui/core": "^7.5.4",
485
- "@refinitiv-ui/i18n": "^7.1.7",
486
- "@refinitiv-ui/phrasebook": "^7.1.3",
487
- "@refinitiv-ui/translate": "^7.1.12",
488
- "@refinitiv-ui/utils": "^7.3.2"
484
+ "@refinitiv-ui/core": "^7.5.5",
485
+ "@refinitiv-ui/i18n": "^7.1.9",
486
+ "@refinitiv-ui/phrasebook": "^7.1.5",
487
+ "@refinitiv-ui/translate": "^7.1.14",
488
+ "@refinitiv-ui/utils": "^7.3.3"
489
489
  },
490
490
  "publishConfig": {
491
491
  "access": "public"
492
492
  },
493
- "gitHead": "35b1dce07f4f1d7bfabc21bbc7751bbb2aa44050"
493
+ "gitHead": "aa4a1f98929ee475d243f6bd3f779e90ccb562c7"
494
494
  }