@loafmarkets/ui 0.1.83 → 0.1.85

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
@@ -6667,7 +6667,7 @@ var LoginPopup = ({
6667
6667
  ] }) });
6668
6668
  }
6669
6669
  if (view === "funding") {
6670
- return /* @__PURE__ */ jsx(Overlay2, { children: /* @__PURE__ */ jsxs(
6670
+ return /* @__PURE__ */ jsx(Overlay2, { onClick: onClose, children: /* @__PURE__ */ jsxs(
6671
6671
  FundingPopupContainer,
6672
6672
  {
6673
6673
  onClick: (event) => event.stopPropagation(),
@@ -6737,16 +6737,6 @@ var Overlay2 = styled25.div`
6737
6737
  justify-content: center;
6738
6738
  align-items: center;
6739
6739
  z-index: 10000;
6740
- animation: fadeIn 0.2s ease-in-out;
6741
-
6742
- @keyframes fadeIn {
6743
- from {
6744
- opacity: 0;
6745
- }
6746
- to {
6747
- opacity: 1;
6748
- }
6749
- }
6750
6740
  `;
6751
6741
  var PopupContainer = styled25.div`
6752
6742
  background-color: var(--color-background, #0a0a0a);
@@ -6756,20 +6746,8 @@ var PopupContainer = styled25.div`
6756
6746
  max-width: 440px;
6757
6747
  width: 90%;
6758
6748
  position: relative;
6759
- animation: slideUp 0.3s ease-out;
6760
6749
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
6761
6750
 
6762
- @keyframes slideUp {
6763
- from {
6764
- transform: translateY(20px);
6765
- opacity: 0;
6766
- }
6767
- to {
6768
- transform: translateY(0);
6769
- opacity: 1;
6770
- }
6771
- }
6772
-
6773
6751
  @media (max-width: 768px) {
6774
6752
  padding: 2rem;
6775
6753
  max-width: 90%;
@@ -6783,21 +6761,9 @@ var KycPopupContainer = styled25.div`
6783
6761
  max-width: ${(props) => props.$expanded ? "680px" : "440px"};
6784
6762
  width: 90%;
6785
6763
  position: relative;
6786
- animation: slideUp 0.3s ease-out;
6787
6764
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
6788
6765
  transition: max-width 0.3s ease;
6789
6766
 
6790
- @keyframes slideUp {
6791
- from {
6792
- transform: translateY(20px);
6793
- opacity: 0;
6794
- }
6795
- to {
6796
- transform: translateY(0);
6797
- opacity: 1;
6798
- }
6799
- }
6800
-
6801
6767
  @media (max-width: 768px) {
6802
6768
  padding: 1.5rem;
6803
6769
  max-width: 95%;
@@ -7125,21 +7091,9 @@ var FundingPopupContainer = styled25.div`
7125
7091
  max-width: ${(props) => props.$hasWidget ? "900px" : "440px"};
7126
7092
  width: 90%;
7127
7093
  position: relative;
7128
- animation: slideUp 0.3s ease-out;
7129
7094
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
7130
7095
  overflow: hidden;
7131
7096
 
7132
- @keyframes slideUp {
7133
- from {
7134
- transform: translateY(20px);
7135
- opacity: 0;
7136
- }
7137
- to {
7138
- transform: translateY(0);
7139
- opacity: 1;
7140
- }
7141
- }
7142
-
7143
7097
  @media (max-width: 768px) {
7144
7098
  padding: ${(props) => props.$hasWidget ? "0" : "2rem"};
7145
7099
  max-width: 95%;
@@ -13801,7 +13755,7 @@ function PropertyValuation({
13801
13755
  ] }) })
13802
13756
  ] })
13803
13757
  ] }),
13804
- /* @__PURE__ */ jsxs(HiddenMobileChart, { children: [
13758
+ /* @__PURE__ */ jsxs("div", { children: [
13805
13759
  /* @__PURE__ */ jsx("h3", { style: { marginBottom: "1rem", fontSize: "1.1rem", color: "#fff" }, children: "Historical Valuation" }),
13806
13760
  /* @__PURE__ */ jsx(ChartContainer, { children: /* @__PURE__ */ jsxs(ChartBackground, { children: [
13807
13761
  axisLabels.map((label, index) => /* @__PURE__ */ jsx(YAxisLabel, { style: { top: `${10 + index * 22}%` }, children: label }, `${label}-${index}`)),
@@ -13920,15 +13874,7 @@ function PropertyValuation({
13920
13874
  ] })
13921
13875
  ] }) })
13922
13876
  ] })
13923
- ] }),
13924
- /* @__PURE__ */ jsx("h3", { className: "desktop-only-historical-chart", style: { marginBottom: "1rem", fontSize: "1.1rem", color: "#fff" }, children: "Historical Valuation" }),
13925
- /* @__PURE__ */ jsx(ChartContainer, { className: "desktop-only-historical-chart", children: /* @__PURE__ */ jsxs(ChartBackground, { children: [
13926
- axisLabels.map((label, index) => /* @__PURE__ */ jsx(YAxisLabel, { style: { top: `${10 + index * 22}%` }, children: label }, `${label}-${index}`)),
13927
- /* @__PURE__ */ jsxs(ValuationSvg, { viewBox: `0 0 ${CHART_WIDTH} ${CHART_HEIGHT}`, preserveAspectRatio: "none", children: [
13928
- valuationPath ? /* @__PURE__ */ jsx("path", { d: valuationPath, fill: "none", stroke: "#D4AF37", strokeWidth: "2.5", strokeLinecap: "round", strokeLinejoin: "round", vectorEffect: "non-scaling-stroke" }) : null,
13929
- fairValuePath ? /* @__PURE__ */ jsx("path", { d: fairValuePath, fill: "none", stroke: "#FFFFFF", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", vectorEffect: "non-scaling-stroke" }) : null
13930
- ] })
13931
- ] }) })
13877
+ ] })
13932
13878
  ] })
13933
13879
  ] }),
13934
13880
  /* @__PURE__ */ jsxs(RecentSalesSection, { children: [
@@ -14133,12 +14079,6 @@ var GaugePriceTag = styled25.div`
14133
14079
  color: var(--color-accent);
14134
14080
  }
14135
14081
  `;
14136
- var HiddenMobileChart = styled25.div`
14137
- display: none;
14138
- @media (max-width: 480px) {
14139
- display: block;
14140
- }
14141
- `;
14142
14082
  var ValuationWrapper = styled25.div`
14143
14083
  display: flex;
14144
14084
  flex-direction: column;