@refinitiv-ui/elements 7.15.4 → 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 +6 -0
- package/lib/overlay/managers/close-manager.js +11 -2
- package/lib/version.js +1 -1
- package/package.json +8 -8
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,12 @@
|
|
|
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
|
+
|
|
6
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)
|
|
7
13
|
|
|
8
14
|
**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
|
-
|
|
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 (
|
|
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.
|
|
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
|
+
"version": "7.15.5",
|
|
4
4
|
"description": "Element Framework Elements",
|
|
5
5
|
"author": "LSEG",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -472,23 +472,23 @@
|
|
|
472
472
|
"devDependencies": {
|
|
473
473
|
"@refinitiv-ui/core": "^7.5.5",
|
|
474
474
|
"@refinitiv-ui/demo-block": "^7.2.4",
|
|
475
|
-
"@refinitiv-ui/i18n": "^7.1.
|
|
476
|
-
"@refinitiv-ui/phrasebook": "^7.1.
|
|
475
|
+
"@refinitiv-ui/i18n": "^7.1.9",
|
|
476
|
+
"@refinitiv-ui/phrasebook": "^7.1.5",
|
|
477
477
|
"@refinitiv-ui/test-helpers": "^7.1.5",
|
|
478
|
-
"@refinitiv-ui/translate": "^7.1.
|
|
478
|
+
"@refinitiv-ui/translate": "^7.1.14",
|
|
479
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
484
|
"@refinitiv-ui/core": "^7.5.5",
|
|
485
|
-
"@refinitiv-ui/i18n": "^7.1.
|
|
486
|
-
"@refinitiv-ui/phrasebook": "^7.1.
|
|
487
|
-
"@refinitiv-ui/translate": "^7.1.
|
|
485
|
+
"@refinitiv-ui/i18n": "^7.1.9",
|
|
486
|
+
"@refinitiv-ui/phrasebook": "^7.1.5",
|
|
487
|
+
"@refinitiv-ui/translate": "^7.1.14",
|
|
488
488
|
"@refinitiv-ui/utils": "^7.3.3"
|
|
489
489
|
},
|
|
490
490
|
"publishConfig": {
|
|
491
491
|
"access": "public"
|
|
492
492
|
},
|
|
493
|
-
"gitHead": "
|
|
493
|
+
"gitHead": "aa4a1f98929ee475d243f6bd3f779e90ccb562c7"
|
|
494
494
|
}
|