@chainberry/ui-components 1.0.35 → 1.0.36

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.d.ts CHANGED
@@ -2130,6 +2130,9 @@ declare type TransactionDetail = {
2130
2130
  updatedAt?: Date;
2131
2131
  userId?: string;
2132
2132
  customerWallet: string;
2133
+ /** Explorer URL for `customerWallet`, mirroring `fromAddressUrl`/`toAddressUrl`
2134
+ * on BlockchainDetails. Without it the address renders as an inert `#` link. */
2135
+ customerWalletUrl?: string;
2133
2136
  expectedAmount: string;
2134
2137
  rate: string;
2135
2138
  commission: Commission;
package/dist/index.mjs CHANGED
@@ -159238,10 +159238,11 @@ function NHe({ detail: e, show: t, className: n }) {
159238
159238
  label: "Address",
159239
159239
  show: r("address"),
159240
159240
  children: /* @__PURE__ */ _(G, {
159241
+ href: e.customerWalletUrl,
159241
159242
  value: e.customerWallet,
159242
159243
  head: 6,
159243
159244
  tail: 6,
159244
- asLink: !0
159245
+ asLink: !!e.customerWalletUrl
159245
159246
  })
159246
159247
  }), /* @__PURE__ */ _(Z, {
159247
159248
  label: "Tag",
@@ -159249,17 +159250,17 @@ function NHe({ detail: e, show: t, className: n }) {
159249
159250
  children: /* @__PURE__ */ _(G, {
159250
159251
  value: e.customerTag ?? "",
159251
159252
  head: 6,
159252
- tail: 6,
159253
- asLink: !0
159253
+ tail: 6
159254
159254
  })
159255
159255
  })] }) : /* @__PURE__ */ _(Z, {
159256
159256
  label: "Customer Wallet",
159257
159257
  show: r("customerWallet"),
159258
159258
  children: /* @__PURE__ */ _(G, {
159259
+ href: e.customerWalletUrl,
159259
159260
  value: e.customerWallet,
159260
159261
  head: 6,
159261
159262
  tail: 6,
159262
- asLink: !0
159263
+ asLink: !!e.customerWalletUrl
159263
159264
  })
159264
159265
  }),
159265
159266
  /* @__PURE__ */ _(Z, {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@chainberry/ui-components",
3
- "version": "1.0.35",
3
+ "version": "1.0.36",
4
4
  "description": "Chainberry navigation UI components — React + Tailwind. Canonical source lives in ../../react-app/src/components; this package re-exports, builds, and publishes them.",
5
5
  "license": "ISC",
6
6
  "type": "module",