@loafmarkets/ui 0.1.394 → 0.1.395

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.mjs CHANGED
@@ -7404,6 +7404,7 @@ var LoginPopup = ({
7404
7404
  ] }) : /* @__PURE__ */ jsxs(OnboardingStepContainer, { style: { alignItems: "stretch", textAlign: "left" }, children: [
7405
7405
  /* @__PURE__ */ jsx(OnboardingHeading, { style: { textAlign: "center" }, children: "Deposit Funds" }),
7406
7406
  /* @__PURE__ */ jsx(OnboardingSubtext, { style: { textAlign: "center", marginBottom: "1rem" }, children: "Choose how you'd like to fund your account." }),
7407
+ /* @__PURE__ */ jsx(TestnetWarningBanner, { children: TESTNET_DEPOSIT_WARNING }),
7407
7408
  /* @__PURE__ */ jsxs("div", { style: { display: "flex", flexDirection: "column", gap: "0.75rem" }, children: [
7408
7409
  /* @__PURE__ */ jsxs(ModalOptionCard, { onClick: () => {
7409
7410
  if (walletAddress) {
@@ -7641,6 +7642,7 @@ var LoginPopup = ({
7641
7642
  "Back"
7642
7643
  ] }),
7643
7644
  /* @__PURE__ */ jsxs("div", { style: { display: "flex", flexDirection: "column", alignItems: "center", paddingTop: "0.5rem" }, children: [
7645
+ /* @__PURE__ */ jsx(TestnetWarningBanner, { children: TESTNET_DEPOSIT_WARNING }),
7644
7646
  /* @__PURE__ */ jsx("div", { style: {
7645
7647
  width: 52,
7646
7648
  height: 52,
@@ -8417,6 +8419,19 @@ var OnboardingSubtext = styled10.p`
8417
8419
  line-height: 1.6;
8418
8420
  margin-bottom: 2rem;
8419
8421
  `;
8422
+ var TestnetWarningBanner = styled10.div`
8423
+ width: 100%;
8424
+ background: #f5c84b;
8425
+ color: #1a1205;
8426
+ font-size: 0.76rem;
8427
+ font-weight: 600;
8428
+ line-height: 1.4;
8429
+ text-align: center;
8430
+ padding: 0.6rem 0.85rem;
8431
+ border-radius: 8px;
8432
+ margin-bottom: 1rem;
8433
+ `;
8434
+ var TESTNET_DEPOSIT_WARNING = "Attention: This is a testnet trading environment. Do NOT send any real funds to your address as you won't be able to recover them";
8420
8435
  var OnboardingButtonGroup = styled10.div`
8421
8436
  display: flex;
8422
8437
  flex-direction: column;