@devtron-labs/devtron-fe-common-lib 0.0.70-beta-6 → 0.0.70-beta-8
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/dist/index.js +3 -3
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -14345,10 +14345,10 @@ const Xt = fw, pl = (e) => /* @__PURE__ */ x.createElement("svg", { xmlns: "http
|
|
|
14345
14345
|
const vl = (e) => {
|
|
14346
14346
|
const t = Re(null), [n, r] = K(!1), a = e.theme === Li.white, i = (C) => {
|
|
14347
14347
|
t.current = C, document.addEventListener("keydown", o);
|
|
14348
|
-
}, s = () => {
|
|
14349
|
-
t.current?.hide && (t.current.hide(), t.current = null, e.onClose && e.onClose()), r(!1);
|
|
14348
|
+
}, s = (C) => {
|
|
14349
|
+
C.stopPropagation(), t.current?.hide && (t.current.hide(), t.current = null, e.onClose && e.onClose()), r(!1);
|
|
14350
14350
|
}, o = (C) => {
|
|
14351
|
-
C.keyCode === 27 && s();
|
|
14351
|
+
C.keyCode === 27 && s(C);
|
|
14352
14352
|
}, u = (C) => {
|
|
14353
14353
|
r(iE);
|
|
14354
14354
|
}, c = () => {
|