@use-glyph/sdk-react 1.0.13 → 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
|
@@ -12678,7 +12678,7 @@ function Xh({ data: e }) {
|
|
|
12678
12678
|
),
|
|
12679
12679
|
/* @__PURE__ */ s.jsxs("div", { className: "gw-flex gw-justify-between gw-items-center gw-flex-1", children: [
|
|
12680
12680
|
/* @__PURE__ */ s.jsxs("div", { className: "gw-flex gw-flex-col gw-text-start", children: [
|
|
12681
|
-
/* @__PURE__ */ s.jsx("div", { className: "gw-font-medium gw-capitalize", children: e.type }),
|
|
12681
|
+
/* @__PURE__ */ s.jsx("div", { className: "gw-font-medium gw-capitalize", children: e.type_text || e.type }),
|
|
12682
12682
|
/* @__PURE__ */ s.jsx(
|
|
12683
12683
|
"div",
|
|
12684
12684
|
{
|
|
@@ -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(
|
|
@@ -13200,20 +13200,23 @@ function Jh({ expandFirst: e = !1 }) {
|
|
|
13200
13200
|
data: {
|
|
13201
13201
|
status: x.status,
|
|
13202
13202
|
type: x.type,
|
|
13203
|
+
type_text: x.type_text,
|
|
13203
13204
|
value: x.value,
|
|
13204
13205
|
amount: x.amount,
|
|
13205
|
-
amount_currency: x.amount_currency
|
|
13206
|
+
amount_currency: x.amount_currency,
|
|
13207
|
+
name_on_list: x.name_on_list
|
|
13206
13208
|
}
|
|
13207
13209
|
}
|
|
13208
13210
|
) }),
|
|
13209
13211
|
/* @__PURE__ */ s.jsxs(L6, { children: [
|
|
13210
|
-
(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(
|
|
13211
13214
|
Js,
|
|
13212
13215
|
{
|
|
13213
|
-
text:
|
|
13214
|
-
url:
|
|
13216
|
+
text: F.text,
|
|
13217
|
+
url: F.url
|
|
13215
13218
|
},
|
|
13216
|
-
|
|
13219
|
+
F.url
|
|
13217
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" }),
|
|
13218
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: [
|
|
13219
13222
|
/* @__PURE__ */ s.jsx("span", { children: "Transaction ID: " }),
|
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
export interface ActivityRowProps {
|
|
2
2
|
data: {
|
|
3
3
|
type: string;
|
|
4
|
+
type_text: string;
|
|
4
5
|
status: string;
|
|
5
6
|
value: string;
|
|
6
7
|
amount: string;
|
|
7
8
|
amount_currency: string;
|
|
9
|
+
name_on_list: string | null;
|
|
8
10
|
};
|
|
9
11
|
}
|
|
10
12
|
export declare function ActivityRow({ data }: ActivityRowProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -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 = {
|