@chainberry/ui-components 1.0.22 → 1.0.23

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
@@ -163588,13 +163588,16 @@ function kWe({ balances: e, actionsVariant: t = "menu", className: r }) {
163588
163588
  children: [/* @__PURE__ */ _("span", {
163589
163589
  className: "text-base font-bold",
163590
163590
  children: e.code
163591
- }), /* @__PURE__ */ v("span", {
163591
+ }), e.networkCount === 1 ? /* @__PURE__ */ v("span", {
163592
+ className: "flex items-center gap-1 text-xs text-muted-foreground",
163593
+ children: [/* @__PURE__ */ _(G, {
163594
+ src: J(e.networks[0].network),
163595
+ code: e.networks[0].network,
163596
+ className: "size-3.5 shrink-0"
163597
+ }), e.networks[0].networkName]
163598
+ }) : /* @__PURE__ */ v("span", {
163592
163599
  className: "text-xs text-muted-foreground",
163593
- children: [
163594
- e.networkCount,
163595
- " network",
163596
- e.networkCount === 1 ? "" : "s"
163597
- ]
163600
+ children: [e.networkCount, " networks"]
163598
163601
  })]
163599
163602
  })
163600
163603
  ]
@@ -163899,13 +163902,16 @@ function LWe({ balances: e, actionsVariant: t = "menu", tierLabels: r, className
163899
163902
  children: [/* @__PURE__ */ _("span", {
163900
163903
  className: "text-base font-bold",
163901
163904
  children: e.code
163902
- }), /* @__PURE__ */ v("span", {
163905
+ }), e.networkCount === 1 ? /* @__PURE__ */ v("span", {
163906
+ className: "flex items-center gap-1 text-xs text-muted-foreground",
163907
+ children: [/* @__PURE__ */ _(G, {
163908
+ src: J(e.networks[0].network),
163909
+ code: e.networks[0].network,
163910
+ className: "size-3.5 shrink-0"
163911
+ }), e.networks[0].networkName]
163912
+ }) : /* @__PURE__ */ v("span", {
163903
163913
  className: "text-xs text-muted-foreground",
163904
- children: [
163905
- e.networkCount,
163906
- " network",
163907
- e.networkCount === 1 ? "" : "s"
163908
- ]
163914
+ children: [e.networkCount, " networks"]
163909
163915
  })]
163910
163916
  })
163911
163917
  ]
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@chainberry/ui-components",
3
- "version": "1.0.22",
3
+ "version": "1.0.23",
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",