@protonradio/proton-ui 0.7.5-beta10 → 0.7.5-beta11

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.es.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import A, { useRef as I, useCallback as X, useState as z, useContext as Y, useEffect as L, createContext as Q, useMemo as V, useLayoutEffect as Mc, createElement as gi, isValidElement as Ic, forwardRef as dt, cloneElement as Fc } from "react";
2
2
  import Cn, { flushSync as _c, createPortal as yi } from "react-dom";
3
- import { e as W, i as Lr, h as $i, a as Rc, D as Un } from "./utils-KedSkjS1.mjs";
3
+ import { e as W, i as Lr, h as $i, a as Rc, D as Un } from "./utils-Bc2wVuvD.mjs";
4
4
  import { THEMES as Pt, BREAKPOINTS as xi } from "./constants.es.js";
5
5
  import { transparentize as Gn, parseToRgba as Nc } from "color2k";
6
6
  import { G as ke, S as tn, W as nn, D as rn } from "./colors-Dwh4VIMR.mjs";
@@ -11798,7 +11798,7 @@ function Nh({
11798
11798
  t ? "proton-Backdrop__fade-in" : "proton-Backdrop__overlay"
11799
11799
  ),
11800
11800
  onClick: (i) => {
11801
- i.target === i.currentTarget && (e == null || e());
11801
+ i.target === i.currentTarget && (i.stopPropagation(), e == null || e());
11802
11802
  },
11803
11803
  children: /* @__PURE__ */ b.jsxs(Xt, { contain: !0, autoFocus: !0, children: [
11804
11804
  e && /* @__PURE__ */ b.jsx("div", { className: "proton-Backdrop__close-button", "aria-hidden": "true", children: "ESC" }),