gearboxdownloadmodal 5.0.19 → 5.0.20

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
@@ -7768,58 +7768,58 @@ const Sl = ({ width: e, height: t }) => /* @__PURE__ */ u.jsxs("svg", { width: e
7768
7768
  return window.addEventListener("resize", N), () => {
7769
7769
  window.removeEventListener("resize", N);
7770
7770
  };
7771
- }, []), ee && a === "Flex" ? null : /* @__PURE__ */ u.jsxs(u.Fragment, { children: [
7772
- a === "Flex" && O && e && /* @__PURE__ */ u.jsx(
7773
- kl,
7774
- {
7775
- setIsExceedingFileSizeAccepted: C,
7776
- closeModal: t,
7777
- setLoading: X
7778
- }
7779
- ),
7780
- (a === "Flex" && !O || a === "Playable") && /* @__PURE__ */ u.jsx(
7781
- lo,
7782
- {
7783
- isOpen: e,
7784
- ariaHideApp: !1,
7785
- onRequestClose: () => {
7786
- t(), a === "Flex" && X(!0);
7787
- },
7788
- style: {
7789
- content: {
7790
- position: "absolute",
7791
- left: "50%",
7792
- top: "50%",
7793
- transform: "translate(-50%, -50%)",
7794
- borderRadius: "0.75rem",
7795
- backgroundColor: "white",
7796
- zIndex: 50,
7797
- height: p > 1440 ? "700px" : "650px",
7798
- width: p > 1440 ? "965px" : "975px",
7799
- overflow: "hidden",
7800
- paddingTop: "0px"
7801
- },
7802
- overlay: {
7803
- position: "fixed",
7804
- backgroundColor: "rgba(0, 0, 0, 0.5)",
7805
- zIndex: 50,
7806
- top: 0,
7807
- left: 0,
7808
- right: 0,
7809
- bottom: 0
7771
+ }, []), ee && a === "Flex" ? null : /* @__PURE__ */ u.jsxs(
7772
+ "div",
7773
+ {
7774
+ onMouseDown: (N) => {
7775
+ N.stopPropagation();
7776
+ },
7777
+ onMouseUp: (N) => {
7778
+ N.stopPropagation();
7779
+ },
7780
+ children: [
7781
+ a === "Flex" && O && e && /* @__PURE__ */ u.jsx(
7782
+ kl,
7783
+ {
7784
+ setIsExceedingFileSizeAccepted: C,
7785
+ closeModal: t,
7786
+ setLoading: X
7810
7787
  }
7811
- },
7812
- contentLabel: "Playable Editing Download Modal",
7813
- shouldCloseOnOverlayClick: !0,
7814
- children: /* @__PURE__ */ u.jsxs(
7815
- "div",
7788
+ ),
7789
+ (a === "Flex" && !O || a === "Playable") && /* @__PURE__ */ u.jsxs(
7790
+ lo,
7816
7791
  {
7817
- onMouseDown: (N) => {
7818
- N.stopPropagation();
7792
+ isOpen: e,
7793
+ ariaHideApp: !1,
7794
+ onRequestClose: () => {
7795
+ t(), a === "Flex" && X(!0);
7819
7796
  },
7820
- onMouseUp: (N) => {
7821
- N.stopPropagation();
7797
+ style: {
7798
+ content: {
7799
+ position: "absolute",
7800
+ left: "50%",
7801
+ top: "50%",
7802
+ transform: "translate(-50%, -50%)",
7803
+ borderRadius: "0.75rem",
7804
+ backgroundColor: "white",
7805
+ zIndex: 50,
7806
+ height: p > 1440 ? "700px" : "650px",
7807
+ width: p > 1440 ? "965px" : "975px",
7808
+ overflow: "hidden",
7809
+ paddingTop: "0px"
7810
+ },
7811
+ overlay: {
7812
+ position: "fixed",
7813
+ backgroundColor: "rgba(0, 0, 0, 0.5)",
7814
+ zIndex: 50,
7815
+ top: 0,
7816
+ left: 0,
7817
+ right: 0,
7818
+ bottom: 0
7819
+ }
7822
7820
  },
7821
+ contentLabel: "Playable Editing Download Modal",
7822
+ shouldCloseOnOverlayClick: !0,
7823
7823
  children: [
7824
7824
  /* @__PURE__ */ u.jsx(
7825
7825
  "div",
@@ -7910,9 +7910,9 @@ const Sl = ({ width: e, height: t }) => /* @__PURE__ */ u.jsxs("svg", { width: e
7910
7910
  ]
7911
7911
  }
7912
7912
  )
7913
- }
7914
- )
7915
- ] });
7913
+ ]
7914
+ }
7915
+ );
7916
7916
  };
7917
7917
  export {
7918
7918
  Ml as DownloadModal