@loafmarkets/ui 0.1.207 → 0.1.209

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
@@ -8601,46 +8601,30 @@ function PropertyOverview({
8601
8601
  /* @__PURE__ */ jsx(PrimaryBtn, { onClick: onTradeClick, children: tradeButtonLabel })
8602
8602
  ] })
8603
8603
  ] }),
8604
- /* @__PURE__ */ jsxs(AboutRight, { children: [
8605
- /* @__PURE__ */ jsxs(TokenDetailsCard, { children: [
8606
- /* @__PURE__ */ jsx(TokenDetailsTitle, { children: "Token Details" }),
8607
- tokenDetailsItems.map((item) => /* @__PURE__ */ jsxs(TokenDetailRow, { children: [
8608
- /* @__PURE__ */ jsx(TokenDetailLabel, { children: item.label }),
8609
- /* @__PURE__ */ jsxs(TokenDetailValue, { $mono: !!item.mono, children: [
8610
- item.link ? /* @__PURE__ */ jsx("a", { href: item.link, target: "_blank", rel: "noopener noreferrer", style: { color: "#3380FF", textDecoration: "none" }, children: item.value }) : item.value,
8611
- item.copyValue && /* @__PURE__ */ jsx(
8612
- CopyBtn,
8613
- {
8614
- onClick: () => {
8615
- navigator.clipboard.writeText(item.copyValue);
8616
- setCopiedAddress(true);
8617
- setTimeout(() => setCopiedAddress(false), 1500);
8618
- },
8619
- title: copiedAddress ? "Copied!" : "Copy address",
8620
- children: copiedAddress ? /* @__PURE__ */ jsx("svg", { width: "12", height: "12", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", children: /* @__PURE__ */ jsx("path", { d: "M20 6L9 17l-5-5" }) }) : /* @__PURE__ */ jsxs("svg", { width: "12", height: "12", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", children: [
8621
- /* @__PURE__ */ jsx("rect", { x: "9", y: "9", width: "13", height: "13", rx: "2" }),
8622
- /* @__PURE__ */ jsx("path", { d: "M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1" })
8623
- ] })
8624
- }
8625
- )
8626
- ] })
8627
- ] }, item.label))
8628
- ] }),
8629
- /* @__PURE__ */ jsx(TrustBadgesCard, { children: /* @__PURE__ */ jsxs(TrustBadgesRow, { children: [
8630
- /* @__PURE__ */ jsxs(TrustBadge, { children: [
8631
- /* @__PURE__ */ jsx(TrustBadgeLogoWrap, { children: /* @__PURE__ */ jsx("img", { src: "/Baker_McKenzie.png", alt: "Baker McKenzie", style: { height: 38, filter: "grayscale(1) brightness(10)", opacity: 0.5 } }) }),
8632
- /* @__PURE__ */ jsx(TrustBadgeLabel, { children: "Legal Structuring" })
8633
- ] }),
8634
- /* @__PURE__ */ jsxs(TrustBadge, { children: [
8635
- /* @__PURE__ */ jsx(TrustBadgeLogoWrap, { children: /* @__PURE__ */ jsx("img", { src: "/NSW_registry.png", alt: "NSW Land Registry", style: { height: 40, filter: "grayscale(1) brightness(10)", opacity: 0.5 } }) }),
8636
- /* @__PURE__ */ jsx(TrustBadgeLabel, { children: "Land Title" })
8637
- ] }),
8638
- /* @__PURE__ */ jsxs(TrustBadge, { children: [
8639
- /* @__PURE__ */ jsx(TrustBadgeLogoWrap, { children: /* @__PURE__ */ jsx("img", { src: "/savills.png", alt: "Savills", style: { height: 38, borderRadius: 3, filter: "grayscale(1) brightness(1.2) contrast(1.6)", opacity: 0.7 } }) }),
8640
- /* @__PURE__ */ jsx(TrustBadgeLabel, { children: "Valuation" })
8604
+ /* @__PURE__ */ jsx(AboutRight, { children: /* @__PURE__ */ jsxs(TokenDetailsCard, { children: [
8605
+ /* @__PURE__ */ jsx(TokenDetailsTitle, { children: "Token Details" }),
8606
+ tokenDetailsItems.map((item) => /* @__PURE__ */ jsxs(TokenDetailRow, { children: [
8607
+ /* @__PURE__ */ jsx(TokenDetailLabel, { children: item.label }),
8608
+ /* @__PURE__ */ jsxs(TokenDetailValue, { $mono: !!item.mono, children: [
8609
+ item.link ? /* @__PURE__ */ jsx("a", { href: item.link, target: "_blank", rel: "noopener noreferrer", style: { color: "#3380FF", textDecoration: "none" }, children: item.value }) : item.value,
8610
+ item.copyValue && /* @__PURE__ */ jsx(
8611
+ CopyBtn,
8612
+ {
8613
+ onClick: () => {
8614
+ navigator.clipboard.writeText(item.copyValue);
8615
+ setCopiedAddress(true);
8616
+ setTimeout(() => setCopiedAddress(false), 1500);
8617
+ },
8618
+ title: copiedAddress ? "Copied!" : "Copy address",
8619
+ children: copiedAddress ? /* @__PURE__ */ jsx("svg", { width: "12", height: "12", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", children: /* @__PURE__ */ jsx("path", { d: "M20 6L9 17l-5-5" }) }) : /* @__PURE__ */ jsxs("svg", { width: "12", height: "12", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", children: [
8620
+ /* @__PURE__ */ jsx("rect", { x: "9", y: "9", width: "13", height: "13", rx: "2" }),
8621
+ /* @__PURE__ */ jsx("path", { d: "M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1" })
8622
+ ] })
8623
+ }
8624
+ )
8641
8625
  ] })
8642
- ] }) })
8643
- ] })
8626
+ ] }, item.label))
8627
+ ] }) })
8644
8628
  ] })
8645
8629
  ] }),
8646
8630
  /* @__PURE__ */ jsxs(Section, { children: [
@@ -9197,10 +9181,14 @@ var TokenDetailRow = styled9.div`
9197
9181
  display: flex;
9198
9182
  justify-content: space-between;
9199
9183
  align-items: center;
9200
- padding: 0.55rem 0;
9184
+ padding: 0.55rem 0.75rem;
9185
+ margin: 0 -0.75rem;
9201
9186
  border-bottom: 1px solid rgba(255,255,255,0.04);
9202
- &:last-child { border-bottom: none; padding-bottom: 0; }
9203
- &:first-of-type { padding-top: 0; }
9187
+ border-radius: 6px;
9188
+ transition: background 0.15s;
9189
+ &:hover { background: rgba(255,255,255,0.03); }
9190
+ &:last-child { border-bottom: none; padding-bottom: 0.55rem; }
9191
+ &:first-of-type { padding-top: 0.55rem; }
9204
9192
  `;
9205
9193
  var TokenDetailLabel = styled9.span`
9206
9194
  font-size: 0.82rem;
@@ -9213,7 +9201,7 @@ var TokenDetailValue = styled9.span`
9213
9201
  font-weight: 500;
9214
9202
  font-family: ${(p) => p.$mono ? "'SF Mono', 'Fira Code', monospace" : "inherit"};
9215
9203
  `;
9216
- var TrustBadgesCard = styled9.div`
9204
+ styled9.div`
9217
9205
  background: rgba(255,255,255,0.025);
9218
9206
  border: 1px solid rgba(255,255,255,0.06);
9219
9207
  border-radius: 10px;
@@ -9227,12 +9215,12 @@ styled9.div`
9227
9215
  font-weight: 500;
9228
9216
  margin-bottom: 0.85rem;
9229
9217
  `;
9230
- var TrustBadgesRow = styled9.div`
9218
+ styled9.div`
9231
9219
  display: flex;
9232
9220
  gap: 0.5rem;
9233
9221
  justify-content: space-between;
9234
9222
  `;
9235
- var TrustBadge = styled9.div`
9223
+ styled9.div`
9236
9224
  display: flex;
9237
9225
  flex-direction: column;
9238
9226
  align-items: center;
@@ -9240,13 +9228,13 @@ var TrustBadge = styled9.div`
9240
9228
  flex: 1;
9241
9229
  min-width: 0;
9242
9230
  `;
9243
- var TrustBadgeLogoWrap = styled9.div`
9231
+ styled9.div`
9244
9232
  display: flex;
9245
9233
  align-items: center;
9246
9234
  justify-content: center;
9247
9235
  height: 44px;
9248
9236
  `;
9249
- var TrustBadgeLabel = styled9.span`
9237
+ styled9.span`
9250
9238
  font-size: 0.62rem;
9251
9239
  color: rgba(255,255,255,0.35);
9252
9240
  font-weight: 400;