@evotor-dev/ui-kit 7.4.5 → 7.4.7
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/esm2020/lib/components/evo-dropdown/evo-dropdown.component.mjs +4 -2
- package/esm2020/lib/components/evo-icon-button/evo-icon-button.component.mjs +2 -2
- package/fesm2015/evotor-dev-ui-kit.mjs +5 -2
- package/fesm2015/evotor-dev-ui-kit.mjs.map +1 -1
- package/fesm2020/evotor-dev-ui-kit.mjs +4 -2
- package/fesm2020/evotor-dev-ui-kit.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -3657,7 +3657,7 @@ class EvoIconButtonComponent {
|
|
|
3657
3657
|
this.updateClassesList();
|
|
3658
3658
|
}
|
|
3659
3659
|
ngOnChanges(changes) {
|
|
3660
|
-
if (changes.color !== undefined || changes.theme !== undefined ||
|
|
3660
|
+
if (changes.color !== undefined || changes.theme !== undefined || changes.notificationDot) {
|
|
3661
3661
|
this.updateClassesList();
|
|
3662
3662
|
}
|
|
3663
3663
|
}
|
|
@@ -7235,7 +7235,9 @@ class EvoDropdownComponent {
|
|
|
7235
7235
|
}
|
|
7236
7236
|
onOverlayOutsideClick(event) {
|
|
7237
7237
|
this.outsideClick.emit(event);
|
|
7238
|
-
|
|
7238
|
+
const originNativeElement = this.dropdownOrigin?.elementRef?.nativeElement;
|
|
7239
|
+
// check if origin is clicked through overlay
|
|
7240
|
+
if (this.closeOnOutsideClick && !originNativeElement?.contains(event.target)) {
|
|
7239
7241
|
this.close();
|
|
7240
7242
|
}
|
|
7241
7243
|
}
|