kaleido-ui 0.1.118 → 0.1.119
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/web/index.cjs +4 -2
- package/dist/web/index.js +4 -2
- package/package.json +1 -1
package/dist/web/index.cjs
CHANGED
|
@@ -3540,6 +3540,8 @@ function BalanceBreakdown({
|
|
|
3540
3540
|
const fiatTotal = formatFiatValue(totalBTC);
|
|
3541
3541
|
const rgbBtcLabels = getRgbBtcBreakdownLabels(accounts);
|
|
3542
3542
|
const showLightningRow = externalLightningAvailable ?? rgbBtcLabels.showLightning;
|
|
3543
|
+
const lightningLabel = externalLightningAvailable ? "BTC on Lightning" : rgbBtcLabels.lightningLabel;
|
|
3544
|
+
const lightningSublabel = externalLightningAvailable ? "External channel balance" : rgbBtcLabels.lightningSublabel;
|
|
3543
3545
|
return /* @__PURE__ */ (0, import_jsx_runtime38.jsx)("div", { className: `flex flex-col ${compact ? "gap-2" : "gap-3"}`, children: /* @__PURE__ */ (0, import_jsx_runtime38.jsxs)(
|
|
3544
3546
|
"div",
|
|
3545
3547
|
{
|
|
@@ -3652,8 +3654,8 @@ function BalanceBreakdown({
|
|
|
3652
3654
|
),
|
|
3653
3655
|
iconColor: "text-network-lightning",
|
|
3654
3656
|
dotColor: "bg-network-lightning",
|
|
3655
|
-
label:
|
|
3656
|
-
sublabel:
|
|
3657
|
+
label: lightningLabel,
|
|
3658
|
+
sublabel: lightningSublabel,
|
|
3657
3659
|
amount: btcLightning,
|
|
3658
3660
|
isPending: btcLightningPending,
|
|
3659
3661
|
visible: balanceVisible,
|
package/dist/web/index.js
CHANGED
|
@@ -3352,6 +3352,8 @@ function BalanceBreakdown({
|
|
|
3352
3352
|
const fiatTotal = formatFiatValue(totalBTC);
|
|
3353
3353
|
const rgbBtcLabels = getRgbBtcBreakdownLabels(accounts);
|
|
3354
3354
|
const showLightningRow = externalLightningAvailable ?? rgbBtcLabels.showLightning;
|
|
3355
|
+
const lightningLabel = externalLightningAvailable ? "BTC on Lightning" : rgbBtcLabels.lightningLabel;
|
|
3356
|
+
const lightningSublabel = externalLightningAvailable ? "External channel balance" : rgbBtcLabels.lightningSublabel;
|
|
3355
3357
|
return /* @__PURE__ */ jsx38("div", { className: `flex flex-col ${compact ? "gap-2" : "gap-3"}`, children: /* @__PURE__ */ jsxs25(
|
|
3356
3358
|
"div",
|
|
3357
3359
|
{
|
|
@@ -3464,8 +3466,8 @@ function BalanceBreakdown({
|
|
|
3464
3466
|
),
|
|
3465
3467
|
iconColor: "text-network-lightning",
|
|
3466
3468
|
dotColor: "bg-network-lightning",
|
|
3467
|
-
label:
|
|
3468
|
-
sublabel:
|
|
3469
|
+
label: lightningLabel,
|
|
3470
|
+
sublabel: lightningSublabel,
|
|
3469
3471
|
amount: btcLightning,
|
|
3470
3472
|
isPending: btcLightningPending,
|
|
3471
3473
|
visible: balanceVisible,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "kaleido-ui",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.119",
|
|
4
4
|
"description": "KaleidoSwap shared UI library \u2014 design tokens, web components (Tailwind + Radix), and React Native components extending WDK UI Kit",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|