@loafmarkets/ui 0.1.264 → 0.1.265

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 CHANGED
@@ -13666,6 +13666,7 @@ function PortfolioActivityPanel({
13666
13666
  };
13667
13667
  const [expandedPositions, setExpandedPositions] = React5.useState(/* @__PURE__ */ new Set());
13668
13668
  const [allExpanded, setAllExpanded] = React5.useState(false);
13669
+ const [sortDropdownOpen, setSortDropdownOpen] = React5.useState(false);
13669
13670
  const togglePosition = (tokenName) => {
13670
13671
  setExpandedPositions((prev) => {
13671
13672
  const next = new Set(prev);
@@ -13693,12 +13694,6 @@ function PortfolioActivityPanel({
13693
13694
  }
13694
13695
  };
13695
13696
  const sortKeys = ["asset", "units", "value", "avgPrice", "currentPrice", "pnl"];
13696
- const cycleSortKey = () => {
13697
- const idx = sortKeys.indexOf(posSortKey);
13698
- const nextKey = sortKeys[(idx + 1) % sortKeys.length];
13699
- setPosSortKey(nextKey);
13700
- setPosSortAsc(true);
13701
- };
13702
13697
  const sortedPositions = React5.useMemo(() => {
13703
13698
  const arr = [...positions];
13704
13699
  const dir = posSortAsc ? 1 : -1;
@@ -13815,16 +13810,22 @@ function PortfolioActivityPanel({
13815
13810
  activeTab === "positions" && showPositionsTab && /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
13816
13811
  positions.length === 0 && /* @__PURE__ */ jsxRuntime.jsx(EmptyState, { children: "No positions yet. Subscribe to an offering or buy on the secondary market." }),
13817
13812
  positions.length > 0 && compactPositions && /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
13818
- /* @__PURE__ */ jsxRuntime.jsxs(CompactToolbar, { children: [
13819
- /* @__PURE__ */ jsxRuntime.jsxs(CompactSortBtn, { onClick: cycleSortKey, children: [
13820
- "Sort by: ",
13821
- sortKeyLabel(posSortKey),
13822
- " ",
13823
- posSortAsc ? "\u2191" : "\u2193"
13813
+ /* @__PURE__ */ jsxRuntime.jsxs(CToolbar, { children: [
13814
+ /* @__PURE__ */ jsxRuntime.jsxs(CSortWrap, { children: [
13815
+ /* @__PURE__ */ jsxRuntime.jsxs(CSortBtn, { onClick: () => setSortDropdownOpen((v) => !v), children: [
13816
+ "Sort by: ",
13817
+ sortKeyLabel(posSortKey),
13818
+ " \u25BE"
13819
+ ] }),
13820
+ sortDropdownOpen && /* @__PURE__ */ jsxRuntime.jsx(CSortDropdown, { children: sortKeys.map((k) => /* @__PURE__ */ jsxRuntime.jsx(CSortOption, { $active: posSortKey === k, onClick: () => {
13821
+ setPosSortKey(k);
13822
+ setPosSortAsc(true);
13823
+ setSortDropdownOpen(false);
13824
+ }, children: sortKeyLabel(k) }, k)) })
13824
13825
  ] }),
13825
- /* @__PURE__ */ jsxRuntime.jsxs(CompactToolbarRight, { children: [
13826
- /* @__PURE__ */ jsxRuntime.jsx(CompactActionBtn, { onClick: toggleExpandAll, children: allExpanded ? "Collapse All" : "Expand All" }),
13827
- onClosePosition && /* @__PURE__ */ jsxRuntime.jsx(CompactSellAllBtn, { onClick: () => setCloseAllOpen(true), children: "Sell All" })
13826
+ /* @__PURE__ */ jsxRuntime.jsxs(CToolbarActions, { children: [
13827
+ /* @__PURE__ */ jsxRuntime.jsx(CToolbarLink, { onClick: toggleExpandAll, children: allExpanded ? "Collapse All" : "Expand All" }),
13828
+ onClosePosition && /* @__PURE__ */ jsxRuntime.jsx(CToolbarLink, { onClick: () => setCloseAllOpen(true), children: "Sell All" })
13828
13829
  ] })
13829
13830
  ] }),
13830
13831
  pageSlice(sortedPositions).map((pos) => {
@@ -13833,45 +13834,59 @@ function PortfolioActivityPanel({
13833
13834
  const pnl = pos.propertyPnl ?? currentValue - costBasis;
13834
13835
  const pnlPercent = pos.propertyPnlPercent ?? pos.percentChange ?? 0;
13835
13836
  const isPositive = pnl >= 0;
13836
- const isExpanded = expandedPositions.has(pos.tokenName);
13837
- return /* @__PURE__ */ jsxRuntime.jsxs(CompactCard, { children: [
13838
- /* @__PURE__ */ jsxRuntime.jsxs(CompactCardHeader, { onClick: () => togglePosition(pos.tokenName), children: [
13839
- /* @__PURE__ */ jsxRuntime.jsx(CompactAsset, { onClick: (e) => {
13837
+ const posExpanded = expandedPositions.has(pos.tokenName) || allExpanded;
13838
+ const ticker = pos.tokenName.toUpperCase().slice(0, 7);
13839
+ return /* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
13840
+ /* @__PURE__ */ jsxRuntime.jsxs(CRow, { $expanded: posExpanded, onClick: () => togglePosition(pos.tokenName), children: [
13841
+ /* @__PURE__ */ jsxRuntime.jsxs(CAssetCell, { onClick: (e) => {
13840
13842
  e.stopPropagation();
13841
13843
  onPositionClick?.(pos.tokenName, pos.isIpoAllocation);
13842
- }, children: pos.tokenName }),
13843
- /* @__PURE__ */ jsxRuntime.jsxs(CompactUnits, { children: [
13844
- formatNumber2(pos.quantity),
13845
- " units"
13844
+ }, children: [
13845
+ /* @__PURE__ */ jsxRuntime.jsx(CCellLabel, { children: "Asset" }),
13846
+ /* @__PURE__ */ jsxRuntime.jsxs(CAssetName, { children: [
13847
+ pos.imageUrl && /* @__PURE__ */ jsxRuntime.jsx(CAssetLogo, { src: pos.imageUrl, alt: "" }),
13848
+ pos.tokenName
13849
+ ] })
13846
13850
  ] }),
13847
- /* @__PURE__ */ jsxRuntime.jsxs(CompactPnl, { $positive: isPositive, children: [
13848
- isPositive ? "+" : "-",
13849
- formatCurrency4(Math.abs(pnl)),
13850
- " (",
13851
- isPositive ? "+" : "",
13852
- pnlPercent.toFixed(1),
13853
- "%)"
13851
+ /* @__PURE__ */ jsxRuntime.jsxs(CUnitsCell, { children: [
13852
+ /* @__PURE__ */ jsxRuntime.jsx(CCellLabel, { children: "Units" }),
13853
+ formatNumber2(pos.quantity, pos.quantity >= 100 ? 0 : 2),
13854
+ " ",
13855
+ ticker
13854
13856
  ] }),
13855
- /* @__PURE__ */ jsxRuntime.jsx(CompactChevron, { $expanded: isExpanded, children: /* @__PURE__ */ jsxRuntime.jsx(fi.FiChevronDown, { size: 14 }) })
13857
+ /* @__PURE__ */ jsxRuntime.jsxs(CPnlCell, { children: [
13858
+ /* @__PURE__ */ jsxRuntime.jsx(CCellLabel, { children: "PNL (%)" }),
13859
+ /* @__PURE__ */ jsxRuntime.jsxs(CPnlValue, { $positive: isPositive, children: [
13860
+ isPositive ? "+" : "-",
13861
+ formatCurrency4(Math.abs(pnl))
13862
+ ] }),
13863
+ /* @__PURE__ */ jsxRuntime.jsxs(CPnlPct, { $positive: isPositive, children: [
13864
+ "(",
13865
+ isPositive ? "+" : "",
13866
+ pnlPercent.toFixed(1),
13867
+ "%)"
13868
+ ] })
13869
+ ] }),
13870
+ /* @__PURE__ */ jsxRuntime.jsx(CChevronWrap, { $open: posExpanded, children: /* @__PURE__ */ jsxRuntime.jsx("svg", { width: "14", height: "14", viewBox: "0 0 24 24", fill: "none", stroke: "rgba(255,255,255,0.5)", strokeWidth: "2.5", strokeLinecap: "round", strokeLinejoin: "round", children: /* @__PURE__ */ jsxRuntime.jsx("polyline", { points: "6 9 12 15 18 9" }) }) })
13856
13871
  ] }),
13857
- isExpanded && /* @__PURE__ */ jsxRuntime.jsxs(CompactCardBody, { children: [
13858
- /* @__PURE__ */ jsxRuntime.jsxs(CompactDetailRow, { children: [
13859
- /* @__PURE__ */ jsxRuntime.jsxs(CompactDetail, { children: [
13860
- /* @__PURE__ */ jsxRuntime.jsx(CompactDetailLabel, { children: "Position Value" }),
13861
- /* @__PURE__ */ jsxRuntime.jsx(CompactDetailValue, { children: formatCurrency4(currentValue, { minimumFractionDigits: 0, maximumFractionDigits: 0 }) })
13872
+ posExpanded && /* @__PURE__ */ jsxRuntime.jsxs(CExpandedWrap, { children: [
13873
+ /* @__PURE__ */ jsxRuntime.jsxs(CDetailGrid, { children: [
13874
+ /* @__PURE__ */ jsxRuntime.jsxs(CDetailItem, { children: [
13875
+ /* @__PURE__ */ jsxRuntime.jsx(CDLabel, { children: "Position Value" }),
13876
+ /* @__PURE__ */ jsxRuntime.jsx(CDValue, { children: formatCurrency4(currentValue, { minimumFractionDigits: 0, maximumFractionDigits: 0 }) })
13862
13877
  ] }),
13863
- /* @__PURE__ */ jsxRuntime.jsxs(CompactDetail, { children: [
13864
- /* @__PURE__ */ jsxRuntime.jsx(CompactDetailLabel, { children: "Avg Price" }),
13865
- /* @__PURE__ */ jsxRuntime.jsx(CompactDetailValue, { children: formatCurrency4(pos.averageEntryPrice) })
13878
+ /* @__PURE__ */ jsxRuntime.jsxs(CDetailItem, { children: [
13879
+ /* @__PURE__ */ jsxRuntime.jsx(CDLabel, { children: "Avg Price" }),
13880
+ /* @__PURE__ */ jsxRuntime.jsx(CDValue, { children: formatCurrency4(pos.averageEntryPrice) })
13866
13881
  ] }),
13867
- /* @__PURE__ */ jsxRuntime.jsxs(CompactDetail, { children: [
13868
- /* @__PURE__ */ jsxRuntime.jsx(CompactDetailLabel, { children: "Current Price" }),
13869
- /* @__PURE__ */ jsxRuntime.jsx(CompactDetailValue, { children: formatCurrency4(pos.marketPrice) })
13882
+ /* @__PURE__ */ jsxRuntime.jsxs(CDetailItem, { children: [
13883
+ /* @__PURE__ */ jsxRuntime.jsx(CDLabel, { children: "Current Price" }),
13884
+ /* @__PURE__ */ jsxRuntime.jsx(CDValue, { children: formatCurrency4(pos.marketPrice) })
13870
13885
  ] })
13871
13886
  ] }),
13872
- onClosePosition && /* @__PURE__ */ jsxRuntime.jsxs(CompactCloseActions, { children: [
13873
- /* @__PURE__ */ jsxRuntime.jsx(CloseBtn2, { onClick: () => onClosePosition(pos.tokenName, "market", pos.quantity, pos.marketPrice), children: "Market Sell" }),
13874
- /* @__PURE__ */ jsxRuntime.jsx(CloseBtn2, { onClick: () => onClosePosition(pos.tokenName, "limit", pos.quantity, pos.marketPrice), children: "Limit Sell" })
13887
+ onClosePosition && /* @__PURE__ */ jsxRuntime.jsxs(CActionRow, { children: [
13888
+ /* @__PURE__ */ jsxRuntime.jsx(CCloseBtn, { onClick: () => onClosePosition(pos.tokenName, "market", pos.quantity, pos.marketPrice), children: "Market Sell" }),
13889
+ /* @__PURE__ */ jsxRuntime.jsx(CCloseBtn, { onClick: () => onClosePosition(pos.tokenName, "limit", pos.quantity, pos.marketPrice), children: "Limit Sell" })
13875
13890
  ] })
13876
13891
  ] })
13877
13892
  ] }, pos.tokenName);
@@ -14772,147 +14787,181 @@ var CloseAllConfirmBtn = styled9__default.default.button`
14772
14787
  background: rgba(246, 70, 93, 0.25);
14773
14788
  }
14774
14789
  `;
14775
- var CompactToolbar = styled9__default.default.div`
14790
+ var CToolbar = styled9__default.default.div`
14776
14791
  display: flex;
14777
14792
  align-items: center;
14778
14793
  justify-content: space-between;
14779
- padding: 0.35rem 0.5rem;
14780
- margin-bottom: 0.25rem;
14781
- border-bottom: 1px solid rgba(255, 255, 255, 0.06);
14794
+ padding: 0.3rem 0.6rem;
14795
+ border-bottom: 1px solid rgba(255, 255, 255, 0.04);
14782
14796
  `;
14783
- var CompactSortBtn = styled9__default.default.button`
14784
- background: transparent;
14785
- border: 1px solid rgba(255, 255, 255, 0.1);
14786
- border-radius: 4px;
14787
- padding: 0.2rem 0.6rem;
14788
- font-size: 0.68rem;
14789
- font-weight: 500;
14790
- color: rgba(255, 255, 255, 0.6);
14791
- cursor: pointer;
14792
- transition: all 0.15s ease;
14793
-
14794
- &:hover {
14795
- color: rgba(255, 255, 255, 0.85);
14796
- border-color: rgba(255, 255, 255, 0.2);
14797
- }
14797
+ var CSortWrap = styled9__default.default.div`
14798
+ position: relative;
14798
14799
  `;
14799
- var CompactToolbarRight = styled9__default.default.div`
14800
+ var CSortBtn = styled9__default.default.button`
14801
+ font-size: 0.6rem;
14802
+ color: rgba(255, 255, 255, 0.45);
14803
+ background: none;
14804
+ border: none;
14805
+ cursor: pointer;
14800
14806
  display: flex;
14801
14807
  align-items: center;
14802
- gap: 0.4rem;
14808
+ gap: 0.2rem;
14809
+ &:hover { color: rgba(255, 255, 255, 0.7); }
14803
14810
  `;
14804
- var CompactActionBtn = styled9__default.default.button`
14805
- background: transparent;
14811
+ var CSortDropdown = styled9__default.default.div`
14812
+ position: absolute;
14813
+ top: 100%;
14814
+ left: 0;
14815
+ z-index: 10;
14816
+ margin-top: 2px;
14817
+ background: #1a1c24;
14806
14818
  border: 1px solid rgba(255, 255, 255, 0.1);
14807
- border-radius: 4px;
14808
- padding: 0.2rem 0.6rem;
14809
- font-size: 0.68rem;
14810
- font-weight: 500;
14811
- color: rgba(255, 255, 255, 0.6);
14812
- cursor: pointer;
14813
- transition: all 0.15s ease;
14814
-
14815
- &:hover {
14816
- color: rgba(255, 255, 255, 0.85);
14817
- border-color: rgba(255, 255, 255, 0.2);
14818
- }
14819
+ border-radius: 6px;
14820
+ overflow: hidden;
14821
+ min-width: 120px;
14822
+ box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
14819
14823
  `;
14820
- var CompactSellAllBtn = styled9__default.default.button`
14821
- background: rgba(246, 70, 93, 0.08);
14822
- border: 1px solid rgba(246, 70, 93, 0.25);
14823
- border-radius: 4px;
14824
- padding: 0.2rem 0.6rem;
14825
- font-size: 0.68rem;
14826
- font-weight: 600;
14827
- color: #f6465d;
14824
+ var CSortOption = styled9__default.default.button`
14825
+ display: block;
14826
+ width: 100%;
14827
+ padding: 0.4rem 0.6rem;
14828
+ font-size: 0.6rem;
14829
+ font-weight: ${(p) => p.$active ? 600 : 400};
14830
+ color: ${(p) => p.$active ? "#E6C87E" : "rgba(255, 255, 255, 0.6)"};
14831
+ background: ${(p) => p.$active ? "rgba(230, 200, 126, 0.06)" : "none"};
14832
+ border: none;
14833
+ text-align: left;
14828
14834
  cursor: pointer;
14829
- transition: all 0.15s ease;
14830
-
14831
- &:hover {
14832
- background: rgba(246, 70, 93, 0.15);
14833
- border-color: rgba(246, 70, 93, 0.4);
14834
- }
14835
+ &:hover { background: rgba(255, 255, 255, 0.05); }
14835
14836
  `;
14836
- var CompactCard = styled9__default.default.div`
14837
- border-bottom: 1px solid rgba(255, 255, 255, 0.04);
14838
-
14839
- &:last-child {
14840
- border-bottom: none;
14841
- }
14837
+ var CToolbarActions = styled9__default.default.div`
14838
+ display: flex;
14839
+ gap: 0.5rem;
14842
14840
  `;
14843
- var CompactCardHeader = styled9__default.default.div`
14841
+ var CToolbarLink = styled9__default.default.button`
14842
+ font-size: 0.58rem;
14843
+ font-weight: 500;
14844
+ color: rgba(255, 255, 255, 0.45);
14845
+ background: none;
14846
+ border: none;
14847
+ cursor: pointer;
14848
+ text-decoration: underline;
14849
+ text-decoration-color: rgba(255, 255, 255, 0.15);
14850
+ &:hover { color: rgba(255, 255, 255, 0.7); }
14851
+ `;
14852
+ var CRow = styled9__default.default.button`
14844
14853
  display: grid;
14845
- grid-template-columns: 1fr 1fr 1.4fr auto;
14854
+ grid-template-columns: 1fr 1fr 1fr 24px;
14846
14855
  align-items: center;
14847
- gap: 0.5rem;
14848
- padding: 0.6rem 0.5rem;
14856
+ width: calc(100% - 1rem);
14857
+ margin: 0.25rem 0.5rem;
14858
+ margin-bottom: ${(p) => p.$expanded ? "0" : "0.25rem"};
14859
+ padding: 0.55rem 0.65rem;
14860
+ background: rgba(255, 255, 255, 0.035);
14861
+ border: 1px solid rgba(255, 255, 255, 0.06);
14862
+ border-bottom: ${(p) => p.$expanded ? "none" : "1px solid rgba(255, 255, 255, 0.06)"};
14863
+ border-radius: ${(p) => p.$expanded ? "8px 8px 0 0" : "8px"};
14849
14864
  cursor: pointer;
14850
- transition: background 0.15s ease;
14851
- border-radius: 4px;
14852
-
14853
- &:hover {
14854
- background: rgba(255, 255, 255, 0.03);
14855
- }
14865
+ text-align: left;
14866
+ transition: background 0.15s;
14867
+ outline: none;
14868
+ &:active { background: rgba(255, 255, 255, 0.06); }
14869
+ &:focus { outline: none; }
14870
+ &:focus-visible { outline: none; }
14856
14871
  `;
14857
- var CompactAsset = styled9__default.default.span`
14858
- font-size: 0.8rem;
14872
+ var CCellLabel = styled9__default.default.div`
14873
+ font-size: 0.6rem;
14874
+ font-weight: 500;
14875
+ color: rgba(255, 255, 255, 0.3);
14876
+ margin-bottom: 1px;
14877
+ `;
14878
+ var CAssetCell = styled9__default.default.div``;
14879
+ var CAssetName = styled9__default.default.div`
14880
+ font-size: 0.85rem;
14859
14881
  font-weight: 600;
14860
14882
  color: #fff;
14861
- cursor: pointer;
14862
-
14863
- &:hover {
14864
- text-decoration: underline;
14865
- color: var(--color-accent, #E6C87E);
14866
- }
14883
+ display: flex;
14884
+ align-items: center;
14885
+ gap: 0.3rem;
14867
14886
  `;
14868
- var CompactUnits = styled9__default.default.span`
14869
- font-size: 0.75rem;
14870
- color: rgba(255, 255, 255, 0.6);
14887
+ var CAssetLogo = styled9__default.default.img`
14888
+ width: 22px;
14889
+ height: 22px;
14890
+ border-radius: 4px;
14891
+ object-fit: cover;
14892
+ flex-shrink: 0;
14871
14893
  `;
14872
- var CompactPnl = styled9__default.default.span`
14873
- font-size: 0.75rem;
14894
+ var CUnitsCell = styled9__default.default.div`
14895
+ font-size: 0.78rem;
14896
+ color: rgba(255, 255, 255, 0.8);
14897
+ font-variant-numeric: tabular-nums;
14898
+ `;
14899
+ var CPnlCell = styled9__default.default.div``;
14900
+ var CPnlValue = styled9__default.default.div`
14901
+ font-size: 0.78rem;
14874
14902
  font-weight: 600;
14875
14903
  color: ${(p) => p.$positive ? "#0ecb81" : "#f6465d"};
14876
- text-align: right;
14904
+ font-variant-numeric: tabular-nums;
14877
14905
  `;
14878
- var CompactChevron = styled9__default.default.span`
14906
+ var CPnlPct = styled9__default.default.div`
14907
+ font-size: 0.62rem;
14908
+ color: ${(p) => p.$positive ? "rgba(14, 203, 129, 0.65)" : "rgba(246, 70, 93, 0.65)"};
14909
+ margin-top: 1px;
14910
+ `;
14911
+ var CChevronWrap = styled9__default.default.span`
14879
14912
  display: flex;
14880
14913
  align-items: center;
14881
14914
  justify-content: center;
14882
- color: rgba(255, 255, 255, 0.35);
14883
- transition: transform 0.2s ease;
14884
- transform: rotate(${(p) => p.$expanded ? "180deg" : "0deg"});
14915
+ transition: transform 0.2s;
14916
+ transform: rotate(${(p) => p.$open ? "180deg" : "0deg"});
14885
14917
  `;
14886
- var CompactCardBody = styled9__default.default.div`
14887
- padding: 0 0.5rem 0.6rem;
14888
- `;
14889
- var CompactDetailRow = styled9__default.default.div`
14890
- display: flex;
14891
- gap: 1.5rem;
14892
- padding: 0.5rem 0.75rem;
14893
- background: rgba(255, 255, 255, 0.02);
14894
- border-radius: 6px;
14895
- margin-bottom: 0.5rem;
14918
+ var CExpandedWrap = styled9__default.default.div`
14919
+ margin: 0 0.5rem 0.25rem;
14920
+ padding: 0.4rem 0.65rem 0.5rem;
14921
+ background: rgba(255, 255, 255, 0.035);
14922
+ border: 1px solid rgba(255, 255, 255, 0.06);
14923
+ border-top: none;
14924
+ border-radius: 0 0 8px 8px;
14896
14925
  `;
14897
- var CompactDetail = styled9__default.default.div`
14898
- display: flex;
14899
- flex-direction: column;
14900
- gap: 0.15rem;
14926
+ var CDetailGrid = styled9__default.default.div`
14927
+ display: grid;
14928
+ grid-template-columns: 1fr 1fr 1fr 24px;
14929
+ gap: 0.45rem 0;
14901
14930
  `;
14902
- var CompactDetailLabel = styled9__default.default.span`
14903
- font-size: 0.62rem;
14904
- color: rgba(255, 255, 255, 0.35);
14905
- font-weight: 500;
14931
+ var CDetailItem = styled9__default.default.div``;
14932
+ var CDLabel = styled9__default.default.div`
14933
+ font-size: 0.6rem;
14934
+ color: rgba(255, 255, 255, 0.3);
14935
+ margin-bottom: 1px;
14906
14936
  `;
14907
- var CompactDetailValue = styled9__default.default.span`
14937
+ var CDValue = styled9__default.default.div`
14908
14938
  font-size: 0.78rem;
14909
- color: #fff;
14910
14939
  font-weight: 500;
14940
+ color: rgba(255, 255, 255, 0.85);
14941
+ font-variant-numeric: tabular-nums;
14911
14942
  `;
14912
- var CompactCloseActions = styled9__default.default.div`
14913
- display: flex;
14943
+ var CActionRow = styled9__default.default.div`
14944
+ display: grid;
14945
+ grid-template-columns: 1fr 1fr;
14914
14946
  gap: 0.5rem;
14915
- padding: 0 0.75rem;
14947
+ margin-top: 0.5rem;
14948
+ `;
14949
+ var CCloseBtn = styled9__default.default.button`
14950
+ background: transparent;
14951
+ border: 1px solid rgba(230, 200, 126, 0.25);
14952
+ border-radius: 6px;
14953
+ padding: 0.45rem 0.6rem;
14954
+ font-size: 0.72rem;
14955
+ font-weight: 600;
14956
+ color: #E6C87E;
14957
+ cursor: pointer;
14958
+ white-space: nowrap;
14959
+ text-align: center;
14960
+ transition: all 0.15s ease;
14961
+ &:hover {
14962
+ background: rgba(230, 200, 126, 0.1);
14963
+ border-color: rgba(230, 200, 126, 0.5);
14964
+ }
14916
14965
  `;
14917
14966
  function PropertyBuy({
14918
14967
  propertyName = "Loaf Property",