@use-glyph/sdk-react 1.0.14 → 1.0.15
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
|
@@ -12690,9 +12690,9 @@ function Xh({ data: e }) {
|
|
|
12690
12690
|
}
|
|
12691
12691
|
)
|
|
12692
12692
|
] }),
|
|
12693
|
-
/* @__PURE__ */ s.jsxs("div", { className: "gw-flex gw-flex-col gw-text-end", children: [
|
|
12693
|
+
/* @__PURE__ */ s.jsxs("div", { className: "gw-w-[33%] gw-flex gw-flex-col gw-text-end", children: [
|
|
12694
12694
|
/* @__PURE__ */ s.jsx("div", { className: "gw-font-medium", children: e.value }),
|
|
12695
|
-
/* @__PURE__ */ s.jsx("div", { className: "gw-typography-caption gw-text-brand-gray-500", children: `${mt(e.amount, e.amount_currency)}` })
|
|
12695
|
+
/* @__PURE__ */ s.jsx("div", { className: "gw-typography-caption gw-text-brand-gray-500 gw-line-clamp-1 gw-truncate", children: `${e.name_on_list !== null ? e.name_on_list.toUpperCase() : mt(e.amount, e.amount_currency)}` })
|
|
12696
12696
|
] })
|
|
12697
12697
|
] })
|
|
12698
12698
|
] });
|
|
@@ -13191,7 +13191,7 @@ function Jh({ expandFirst: e = !1 }) {
|
|
|
13191
13191
|
value: c,
|
|
13192
13192
|
onValueChange: u,
|
|
13193
13193
|
children: v.transactions.map((x, b) => {
|
|
13194
|
-
var N, q, W;
|
|
13194
|
+
var N, q, W, w, y, L;
|
|
13195
13195
|
return /* @__PURE__ */ s.jsxs("div", { children: [
|
|
13196
13196
|
/* @__PURE__ */ s.jsxs(W6, { value: x.id, children: [
|
|
13197
13197
|
/* @__PURE__ */ s.jsx(q6, { children: /* @__PURE__ */ s.jsx(
|
|
@@ -13203,18 +13203,20 @@ function Jh({ expandFirst: e = !1 }) {
|
|
|
13203
13203
|
type_text: x.type_text,
|
|
13204
13204
|
value: x.value,
|
|
13205
13205
|
amount: x.amount,
|
|
13206
|
-
amount_currency: x.amount_currency
|
|
13206
|
+
amount_currency: x.amount_currency,
|
|
13207
|
+
name_on_list: x.name_on_list
|
|
13207
13208
|
}
|
|
13208
13209
|
}
|
|
13209
13210
|
) }),
|
|
13210
13211
|
/* @__PURE__ */ s.jsxs(L6, { children: [
|
|
13211
|
-
(N = x.
|
|
13212
|
+
(N = x.detail_rows) != null && N.length ? /* @__PURE__ */ s.jsx("div", { className: "gw-w-[50%] gw-flex gw-flex-col gw-space-y-1 gw-px-3 gw-text-brand-gray-500", children: (W = (q = x.detail_rows) == null ? void 0 : q.map) == null ? void 0 : W.call(q, (F) => /* @__PURE__ */ s.jsx("div", { className: "gw-line-clamp-1 gw-truncate", children: F.toUpperCase() })) }) : null,
|
|
13213
|
+
(w = x.blockExplorerTxns) != null && w.length ? /* @__PURE__ */ s.jsx("div", { className: "gw-flex gw-flex-col gw-items-start gw-space-y-1 gw-mb-2", children: (L = (y = x.blockExplorerTxns) == null ? void 0 : y.map) == null ? void 0 : L.call(y, (F) => /* @__PURE__ */ s.jsx(
|
|
13212
13214
|
Js,
|
|
13213
13215
|
{
|
|
13214
|
-
text:
|
|
13215
|
-
url:
|
|
13216
|
+
text: F.text,
|
|
13217
|
+
url: F.url
|
|
13216
13218
|
},
|
|
13217
|
-
|
|
13219
|
+
F.url
|
|
13218
13220
|
)) }) : /* @__PURE__ */ s.jsx("div", { className: "gw-w-full gw-mb-2 gw-text-brand-gray-500 gw-typography-caption gw-text-center", children: x.status_text || "No transaction data" }),
|
|
13219
13221
|
x.allowIdCopy && /* @__PURE__ */ s.jsxs("span", { className: "gw-flex gw-items-center gw-space-x-2 gw-typography-caption gw-text-brand-gray-500 gw-w-full gw-justify-center", children: [
|
|
13220
13222
|
/* @__PURE__ */ s.jsx("span", { children: "Transaction ID: " }),
|
|
@@ -13,7 +13,9 @@ export type ActivityItem = {
|
|
|
13
13
|
value: string;
|
|
14
14
|
amount: string;
|
|
15
15
|
amount_currency: string;
|
|
16
|
+
name_on_list: string | null;
|
|
16
17
|
allowIdCopy: boolean;
|
|
18
|
+
detail_rows: string[];
|
|
17
19
|
blockExplorerTxns?: ActivityBlockExplorerItem[];
|
|
18
20
|
};
|
|
19
21
|
export type ActivityGroup = {
|