kaleido-ui 0.1.117 → 0.1.118

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.
@@ -3658,7 +3658,8 @@ function BalanceBreakdown({
3658
3658
  isPending: btcLightningPending,
3659
3659
  visible: balanceVisible,
3660
3660
  format,
3661
- formatFiat: formatFiatValue
3661
+ formatFiat: formatFiatValue,
3662
+ testId: "balance-breakdown-lightning-source"
3662
3663
  }
3663
3664
  ),
3664
3665
  /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(
@@ -3856,13 +3857,15 @@ function NetworkRow({
3856
3857
  isPending = false,
3857
3858
  visible,
3858
3859
  format,
3859
- formatFiat
3860
+ formatFiat,
3861
+ testId
3860
3862
  }) {
3861
3863
  const fiat = formatFiat(amount);
3862
3864
  const isEmpty = amount === 0 && !isPending;
3863
3865
  return /* @__PURE__ */ (0, import_jsx_runtime38.jsxs)(
3864
3866
  "div",
3865
3867
  {
3868
+ "data-testid": testId,
3866
3869
  className: `flex items-center justify-between rounded-xl px-3 py-2 transition-colors ${isEmpty ? "opacity-35" : "bg-white/[0.03] hover:bg-accent"}`,
3867
3870
  children: [
3868
3871
  /* @__PURE__ */ (0, import_jsx_runtime38.jsxs)("div", { className: "flex items-center gap-3", children: [
package/dist/web/index.js CHANGED
@@ -3470,7 +3470,8 @@ function BalanceBreakdown({
3470
3470
  isPending: btcLightningPending,
3471
3471
  visible: balanceVisible,
3472
3472
  format,
3473
- formatFiat: formatFiatValue
3473
+ formatFiat: formatFiatValue,
3474
+ testId: "balance-breakdown-lightning-source"
3474
3475
  }
3475
3476
  ),
3476
3477
  /* @__PURE__ */ jsx38(
@@ -3668,13 +3669,15 @@ function NetworkRow({
3668
3669
  isPending = false,
3669
3670
  visible,
3670
3671
  format,
3671
- formatFiat
3672
+ formatFiat,
3673
+ testId
3672
3674
  }) {
3673
3675
  const fiat = formatFiat(amount);
3674
3676
  const isEmpty = amount === 0 && !isPending;
3675
3677
  return /* @__PURE__ */ jsxs25(
3676
3678
  "div",
3677
3679
  {
3680
+ "data-testid": testId,
3678
3681
  className: `flex items-center justify-between rounded-xl px-3 py-2 transition-colors ${isEmpty ? "opacity-35" : "bg-white/[0.03] hover:bg-accent"}`,
3679
3682
  children: [
3680
3683
  /* @__PURE__ */ jsxs25("div", { className: "flex items-center gap-3", children: [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "kaleido-ui",
3
- "version": "0.1.117",
3
+ "version": "0.1.118",
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",