@chainberry/ui-components 1.0.23 → 1.0.24
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.cjs +1 -1
- package/dist/index.mjs +5 -19
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -162376,7 +162376,7 @@ var LUe = [
|
|
|
162376
162376
|
header: "Diff",
|
|
162377
162377
|
cell: (e) => {
|
|
162378
162378
|
if (!e.diff) return /* @__PURE__ */ _(b9, { children: y9 });
|
|
162379
|
-
let t = e.diff.
|
|
162379
|
+
let t = e.diff.includes("-");
|
|
162380
162380
|
return /* @__PURE__ */ _("span", {
|
|
162381
162381
|
className: M("font-medium", e.diff === "$0.00" ? "text-muted-foreground" : t ? "text-rose-600 dark:text-rose-400" : "text-emerald-600 dark:text-emerald-400"),
|
|
162382
162382
|
children: e.diff
|
|
@@ -163588,16 +163588,9 @@ 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
|
-
}),
|
|
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", {
|
|
163591
|
+
}), /* @__PURE__ */ _("span", {
|
|
163599
163592
|
className: "text-xs text-muted-foreground",
|
|
163600
|
-
children:
|
|
163593
|
+
children: e.networkCount === 1 ? e.networks[0].networkName : `${e.networkCount} networks`
|
|
163601
163594
|
})]
|
|
163602
163595
|
})
|
|
163603
163596
|
]
|
|
@@ -163902,16 +163895,9 @@ function LWe({ balances: e, actionsVariant: t = "menu", tierLabels: r, className
|
|
|
163902
163895
|
children: [/* @__PURE__ */ _("span", {
|
|
163903
163896
|
className: "text-base font-bold",
|
|
163904
163897
|
children: e.code
|
|
163905
|
-
}),
|
|
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", {
|
|
163898
|
+
}), /* @__PURE__ */ _("span", {
|
|
163913
163899
|
className: "text-xs text-muted-foreground",
|
|
163914
|
-
children:
|
|
163900
|
+
children: e.networkCount === 1 ? e.networks[0].networkName : `${e.networkCount} networks`
|
|
163915
163901
|
})]
|
|
163916
163902
|
})
|
|
163917
163903
|
]
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@chainberry/ui-components",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.24",
|
|
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",
|