@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.js CHANGED
@@ -8627,46 +8627,30 @@ function PropertyOverview({
8627
8627
  /* @__PURE__ */ jsxRuntime.jsx(PrimaryBtn, { onClick: onTradeClick, children: tradeButtonLabel })
8628
8628
  ] })
8629
8629
  ] }),
8630
- /* @__PURE__ */ jsxRuntime.jsxs(AboutRight, { children: [
8631
- /* @__PURE__ */ jsxRuntime.jsxs(TokenDetailsCard, { children: [
8632
- /* @__PURE__ */ jsxRuntime.jsx(TokenDetailsTitle, { children: "Token Details" }),
8633
- tokenDetailsItems.map((item) => /* @__PURE__ */ jsxRuntime.jsxs(TokenDetailRow, { children: [
8634
- /* @__PURE__ */ jsxRuntime.jsx(TokenDetailLabel, { children: item.label }),
8635
- /* @__PURE__ */ jsxRuntime.jsxs(TokenDetailValue, { $mono: !!item.mono, children: [
8636
- item.link ? /* @__PURE__ */ jsxRuntime.jsx("a", { href: item.link, target: "_blank", rel: "noopener noreferrer", style: { color: "#3380FF", textDecoration: "none" }, children: item.value }) : item.value,
8637
- item.copyValue && /* @__PURE__ */ jsxRuntime.jsx(
8638
- CopyBtn,
8639
- {
8640
- onClick: () => {
8641
- navigator.clipboard.writeText(item.copyValue);
8642
- setCopiedAddress(true);
8643
- setTimeout(() => setCopiedAddress(false), 1500);
8644
- },
8645
- title: copiedAddress ? "Copied!" : "Copy address",
8646
- children: copiedAddress ? /* @__PURE__ */ jsxRuntime.jsx("svg", { width: "12", height: "12", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", children: /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M20 6L9 17l-5-5" }) }) : /* @__PURE__ */ jsxRuntime.jsxs("svg", { width: "12", height: "12", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", children: [
8647
- /* @__PURE__ */ jsxRuntime.jsx("rect", { x: "9", y: "9", width: "13", height: "13", rx: "2" }),
8648
- /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1" })
8649
- ] })
8650
- }
8651
- )
8652
- ] })
8653
- ] }, item.label))
8654
- ] }),
8655
- /* @__PURE__ */ jsxRuntime.jsx(TrustBadgesCard, { children: /* @__PURE__ */ jsxRuntime.jsxs(TrustBadgesRow, { children: [
8656
- /* @__PURE__ */ jsxRuntime.jsxs(TrustBadge, { children: [
8657
- /* @__PURE__ */ jsxRuntime.jsx(TrustBadgeLogoWrap, { children: /* @__PURE__ */ jsxRuntime.jsx("img", { src: "/Baker_McKenzie.png", alt: "Baker McKenzie", style: { height: 38, filter: "grayscale(1) brightness(10)", opacity: 0.5 } }) }),
8658
- /* @__PURE__ */ jsxRuntime.jsx(TrustBadgeLabel, { children: "Legal Structuring" })
8659
- ] }),
8660
- /* @__PURE__ */ jsxRuntime.jsxs(TrustBadge, { children: [
8661
- /* @__PURE__ */ jsxRuntime.jsx(TrustBadgeLogoWrap, { children: /* @__PURE__ */ jsxRuntime.jsx("img", { src: "/NSW_registry.png", alt: "NSW Land Registry", style: { height: 40, filter: "grayscale(1) brightness(10)", opacity: 0.5 } }) }),
8662
- /* @__PURE__ */ jsxRuntime.jsx(TrustBadgeLabel, { children: "Land Title" })
8663
- ] }),
8664
- /* @__PURE__ */ jsxRuntime.jsxs(TrustBadge, { children: [
8665
- /* @__PURE__ */ jsxRuntime.jsx(TrustBadgeLogoWrap, { children: /* @__PURE__ */ jsxRuntime.jsx("img", { src: "/savills.png", alt: "Savills", style: { height: 38, borderRadius: 3, filter: "grayscale(1) brightness(1.2) contrast(1.6)", opacity: 0.7 } }) }),
8666
- /* @__PURE__ */ jsxRuntime.jsx(TrustBadgeLabel, { children: "Valuation" })
8630
+ /* @__PURE__ */ jsxRuntime.jsx(AboutRight, { children: /* @__PURE__ */ jsxRuntime.jsxs(TokenDetailsCard, { children: [
8631
+ /* @__PURE__ */ jsxRuntime.jsx(TokenDetailsTitle, { children: "Token Details" }),
8632
+ tokenDetailsItems.map((item) => /* @__PURE__ */ jsxRuntime.jsxs(TokenDetailRow, { children: [
8633
+ /* @__PURE__ */ jsxRuntime.jsx(TokenDetailLabel, { children: item.label }),
8634
+ /* @__PURE__ */ jsxRuntime.jsxs(TokenDetailValue, { $mono: !!item.mono, children: [
8635
+ item.link ? /* @__PURE__ */ jsxRuntime.jsx("a", { href: item.link, target: "_blank", rel: "noopener noreferrer", style: { color: "#3380FF", textDecoration: "none" }, children: item.value }) : item.value,
8636
+ item.copyValue && /* @__PURE__ */ jsxRuntime.jsx(
8637
+ CopyBtn,
8638
+ {
8639
+ onClick: () => {
8640
+ navigator.clipboard.writeText(item.copyValue);
8641
+ setCopiedAddress(true);
8642
+ setTimeout(() => setCopiedAddress(false), 1500);
8643
+ },
8644
+ title: copiedAddress ? "Copied!" : "Copy address",
8645
+ children: copiedAddress ? /* @__PURE__ */ jsxRuntime.jsx("svg", { width: "12", height: "12", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", children: /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M20 6L9 17l-5-5" }) }) : /* @__PURE__ */ jsxRuntime.jsxs("svg", { width: "12", height: "12", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", children: [
8646
+ /* @__PURE__ */ jsxRuntime.jsx("rect", { x: "9", y: "9", width: "13", height: "13", rx: "2" }),
8647
+ /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1" })
8648
+ ] })
8649
+ }
8650
+ )
8667
8651
  ] })
8668
- ] }) })
8669
- ] })
8652
+ ] }, item.label))
8653
+ ] }) })
8670
8654
  ] })
8671
8655
  ] }),
8672
8656
  /* @__PURE__ */ jsxRuntime.jsxs(Section, { children: [
@@ -9223,10 +9207,14 @@ var TokenDetailRow = styled9__default.default.div`
9223
9207
  display: flex;
9224
9208
  justify-content: space-between;
9225
9209
  align-items: center;
9226
- padding: 0.55rem 0;
9210
+ padding: 0.55rem 0.75rem;
9211
+ margin: 0 -0.75rem;
9227
9212
  border-bottom: 1px solid rgba(255,255,255,0.04);
9228
- &:last-child { border-bottom: none; padding-bottom: 0; }
9229
- &:first-of-type { padding-top: 0; }
9213
+ border-radius: 6px;
9214
+ transition: background 0.15s;
9215
+ &:hover { background: rgba(255,255,255,0.03); }
9216
+ &:last-child { border-bottom: none; padding-bottom: 0.55rem; }
9217
+ &:first-of-type { padding-top: 0.55rem; }
9230
9218
  `;
9231
9219
  var TokenDetailLabel = styled9__default.default.span`
9232
9220
  font-size: 0.82rem;
@@ -9239,7 +9227,7 @@ var TokenDetailValue = styled9__default.default.span`
9239
9227
  font-weight: 500;
9240
9228
  font-family: ${(p) => p.$mono ? "'SF Mono', 'Fira Code', monospace" : "inherit"};
9241
9229
  `;
9242
- var TrustBadgesCard = styled9__default.default.div`
9230
+ styled9__default.default.div`
9243
9231
  background: rgba(255,255,255,0.025);
9244
9232
  border: 1px solid rgba(255,255,255,0.06);
9245
9233
  border-radius: 10px;
@@ -9253,12 +9241,12 @@ styled9__default.default.div`
9253
9241
  font-weight: 500;
9254
9242
  margin-bottom: 0.85rem;
9255
9243
  `;
9256
- var TrustBadgesRow = styled9__default.default.div`
9244
+ styled9__default.default.div`
9257
9245
  display: flex;
9258
9246
  gap: 0.5rem;
9259
9247
  justify-content: space-between;
9260
9248
  `;
9261
- var TrustBadge = styled9__default.default.div`
9249
+ styled9__default.default.div`
9262
9250
  display: flex;
9263
9251
  flex-direction: column;
9264
9252
  align-items: center;
@@ -9266,13 +9254,13 @@ var TrustBadge = styled9__default.default.div`
9266
9254
  flex: 1;
9267
9255
  min-width: 0;
9268
9256
  `;
9269
- var TrustBadgeLogoWrap = styled9__default.default.div`
9257
+ styled9__default.default.div`
9270
9258
  display: flex;
9271
9259
  align-items: center;
9272
9260
  justify-content: center;
9273
9261
  height: 44px;
9274
9262
  `;
9275
- var TrustBadgeLabel = styled9__default.default.span`
9263
+ styled9__default.default.span`
9276
9264
  font-size: 0.62rem;
9277
9265
  color: rgba(255,255,255,0.35);
9278
9266
  font-weight: 400;