kaleido-ui 0.2.4 → 0.2.5

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.
Files changed (184) hide show
  1. package/README.md +45 -10
  2. package/dist/web/{chunk-G373WZMN.js → chunk-3CHDKHXW.js} +1 -1
  3. package/dist/web/{chunk-7NS5S2PG.js → chunk-4BTXTIE6.js} +2 -2
  4. package/dist/web/{chunk-WWF7IJBF.js → chunk-4L55ANVR.js} +11 -11
  5. package/dist/web/{chunk-NSA777UY.js → chunk-536NL4X2.js} +4 -4
  6. package/dist/web/{chunk-XPHFJPUQ.js → chunk-5INE4WNW.js} +1 -1
  7. package/dist/web/{chunk-LFAORJQK.js → chunk-5NCVH6N5.js} +2 -2
  8. package/dist/web/{chunk-QXCCUYNY.js → chunk-AMIAAHZM.js} +1 -1
  9. package/dist/web/{chunk-DH7VXKGM.js → chunk-AU5ZGWGA.js} +7 -7
  10. package/dist/web/{chunk-76DAZT7Q.js → chunk-AVJ56TMD.js} +4 -4
  11. package/dist/web/{chunk-O6NPTMDN.js → chunk-AWKCO62W.js} +1 -1
  12. package/dist/web/{chunk-ZXCT3Y6P.js → chunk-BYHIH2LP.js} +1 -1
  13. package/dist/web/{chunk-7YUPXESC.js → chunk-CPIM2QKZ.js} +1 -1
  14. package/dist/web/{chunk-EK5N3ZPW.js → chunk-CXLGQSHM.js} +4 -4
  15. package/dist/web/{chunk-L2UPQLY7.js → chunk-CXPYTWEC.js} +1 -1
  16. package/dist/web/{chunk-2Z6KFK4Z.js → chunk-CZGN7SQH.js} +1 -1
  17. package/dist/web/{chunk-PTSOVDKH.js → chunk-D5CPIS6B.js} +1 -1
  18. package/dist/web/{chunk-JZ3BUM5L.js → chunk-DV66AZXI.js} +11 -11
  19. package/dist/web/{chunk-LZ6PIXUO.js → chunk-DZMOH67F.js} +2 -2
  20. package/dist/web/{chunk-IV6AAVUE.js → chunk-EBQ35SOM.js} +4 -4
  21. package/dist/web/{chunk-R3IIXFGK.js → chunk-EXWE5KM6.js} +1 -1
  22. package/dist/web/{chunk-GMJGTSCQ.js → chunk-G26YNXL3.js} +4 -4
  23. package/dist/web/{chunk-QCQRA6L5.js → chunk-GEXPB5CG.js} +4 -4
  24. package/dist/web/{chunk-UK6ZL4MX.js → chunk-GX5URFML.js} +1 -1
  25. package/dist/web/{chunk-VZF5C3C6.js → chunk-HKF7IPXV.js} +4 -4
  26. package/dist/web/{chunk-JY73M73T.js → chunk-HKIYPISK.js} +8 -8
  27. package/dist/web/{chunk-QBZSLR7U.js → chunk-HLPL5AHD.js} +1 -1
  28. package/dist/web/{chunk-TBEKRQGW.js → chunk-HO65ENYH.js} +1 -1
  29. package/dist/web/{chunk-PS7Q6MMU.js → chunk-I2N3HZ4M.js} +1 -1
  30. package/dist/web/{chunk-S2ICIIH2.js → chunk-I7KNV2UC.js} +6 -6
  31. package/dist/web/{chunk-Z5LVT3BD.js → chunk-INKE5FS6.js} +7 -7
  32. package/dist/web/{chunk-HDLOPDFX.js → chunk-K7JVP24O.js} +6 -6
  33. package/dist/web/{chunk-A3TKIXSI.js → chunk-KDNYIMGR.js} +10 -10
  34. package/dist/web/{chunk-IK32AIOS.js → chunk-KMQN66HU.js} +1 -1
  35. package/dist/web/{chunk-Y3W6LOOE.js → chunk-LYLWGJ4R.js} +4 -4
  36. package/dist/web/{chunk-VUGV3ELU.js → chunk-NNGVB3US.js} +7 -7
  37. package/dist/web/{chunk-CRDCVB5X.js → chunk-OZXDXNMR.js} +31 -17
  38. package/dist/web/{chunk-TMK3SVYI.js → chunk-PIXLIWSO.js} +1 -1
  39. package/dist/web/{chunk-FWOIRFV5.js → chunk-QGWVZ5NG.js} +5 -5
  40. package/dist/web/{chunk-M6RXTQEL.js → chunk-QLUUM53Z.js} +6 -6
  41. package/dist/web/{chunk-DXFFYCU3.js → chunk-QTZT7QMI.js} +2 -2
  42. package/dist/web/{chunk-Z5O67WTL.js → chunk-RULT57JR.js} +1 -1
  43. package/dist/web/{chunk-TPGNO74K.js → chunk-RWJHJMVJ.js} +4 -4
  44. package/dist/web/{chunk-YNB4SSLD.js → chunk-SUOATMIA.js} +8 -8
  45. package/dist/web/{chunk-QFIGSIXA.js → chunk-SVYDLG2C.js} +6 -6
  46. package/dist/web/{chunk-4246Y2F2.js → chunk-T2NBG4KF.js} +7 -7
  47. package/dist/web/{chunk-DNHRMPKI.js → chunk-TAA6PO5V.js} +6 -6
  48. package/dist/web/{chunk-PCKRLEAO.js → chunk-TJGHAD5O.js} +1 -1
  49. package/dist/web/{chunk-BY2KCPTX.js → chunk-V3UI2XX7.js} +9 -9
  50. package/dist/web/{chunk-AP7Q2FCS.js → chunk-VNL2QI5B.js} +1 -1
  51. package/dist/web/{chunk-GX7GBHJ6.js → chunk-W4G74KFZ.js} +5 -5
  52. package/dist/web/{chunk-2OGYEUYV.js → chunk-XIMTRQZ3.js} +1 -1
  53. package/dist/web/{chunk-4QLR4ZNK.js → chunk-YFYAMVTL.js} +10 -10
  54. package/dist/web/{chunk-5BNDC7M4.js → chunk-YLP46BJK.js} +2 -2
  55. package/dist/web/{chunk-2GNXC446.js → chunk-YMM73FLL.js} +2 -2
  56. package/dist/web/components/account-capabilities-card.js +6 -6
  57. package/dist/web/components/account-menu.js +1 -1
  58. package/dist/web/components/account-settings-shared.js +5 -5
  59. package/dist/web/components/account-status-tabs.js +8 -8
  60. package/dist/web/components/activity-detail-row.js +10 -10
  61. package/dist/web/components/activity-filter-bar.js +6 -6
  62. package/dist/web/components/activity-list.js +8 -8
  63. package/dist/web/components/activity-network-filters.js +5 -5
  64. package/dist/web/components/activity-row.js +1 -1
  65. package/dist/web/components/activity-type-tabs.js +5 -5
  66. package/dist/web/components/alert-banner.js +1 -1
  67. package/dist/web/components/app-icon.js +4 -4
  68. package/dist/web/components/asset-card.js +7 -7
  69. package/dist/web/components/asset-icon.js +3 -3
  70. package/dist/web/components/asset-selector.js +8 -8
  71. package/dist/web/components/balance-breakdown.js +6 -6
  72. package/dist/web/components/basic-collapsible.js +3 -3
  73. package/dist/web/components/bottom-nav.js +1 -1
  74. package/dist/web/components/bottom-sheet.js +1 -1
  75. package/dist/web/components/btc-unified-receive.js +10 -10
  76. package/dist/web/components/charts/bar-chart.js +5 -5
  77. package/dist/web/components/charts/bar-list.js +5 -5
  78. package/dist/web/components/charts/core.js +4 -4
  79. package/dist/web/components/charts/donut-chart.js +5 -5
  80. package/dist/web/components/charts/index.js +11 -11
  81. package/dist/web/components/charts/line-chart.js +5 -5
  82. package/dist/web/components/charts/meter.js +5 -5
  83. package/dist/web/components/charts/mixed-chart.js +5 -5
  84. package/dist/web/components/charts/scatter-chart.js +5 -5
  85. package/dist/web/components/code-block.js +10 -10
  86. package/dist/web/components/confirm-dialog.js +3 -3
  87. package/dist/web/components/copy-button.js +9 -9
  88. package/dist/web/components/copyable.js +10 -10
  89. package/dist/web/components/date-range-filter.js +3 -3
  90. package/dist/web/components/deposit-asset-selection.js +8 -8
  91. package/dist/web/components/deposit-generated-view.js +9 -9
  92. package/dist/web/components/deposit-invoice-generation.js +16 -16
  93. package/dist/web/components/deposit-network-default-modal.js +4 -4
  94. package/dist/web/components/deposit-pre-generation.js +3 -3
  95. package/dist/web/components/deposit-success-screen.js +10 -10
  96. package/dist/web/components/deposit-ui-shared.js +6 -6
  97. package/dist/web/components/disclosure-card.js +3 -3
  98. package/dist/web/components/error-boundary.js +1 -1
  99. package/dist/web/components/extension-page-frame.js +4 -4
  100. package/dist/web/components/filter-bar.js +4 -4
  101. package/dist/web/components/filter-dropdown.js +3 -3
  102. package/dist/web/components/floating-notice.js +2 -2
  103. package/dist/web/components/info-chip.js +8 -8
  104. package/dist/web/components/info-panel.js +1 -1
  105. package/dist/web/components/inline-selector.js +2 -2
  106. package/dist/web/components/instants-statement.js +10 -10
  107. package/dist/web/components/kaleidoscope-hero-animation.js +4 -4
  108. package/dist/web/components/list-field.js +2 -2
  109. package/dist/web/components/metric-card.js +1 -1
  110. package/dist/web/components/network-badge.js +3 -3
  111. package/dist/web/components/network-icon.js +2 -2
  112. package/dist/web/components/network-status-chip.js +4 -4
  113. package/dist/web/components/one-time-secret-dialog.js +4 -4
  114. package/dist/web/components/option-selector.js +3 -3
  115. package/dist/web/components/page-header.js +2 -2
  116. package/dist/web/components/page-shell.js +2 -2
  117. package/dist/web/components/pager.js +2 -2
  118. package/dist/web/components/period-select.js +5 -5
  119. package/dist/web/components/query-state.js +1 -1
  120. package/dist/web/components/read-status.js +2 -2
  121. package/dist/web/components/record-list.js +3 -3
  122. package/dist/web/components/recovery-phrase-card.js +10 -10
  123. package/dist/web/components/secret-reveal-card.js +10 -10
  124. package/dist/web/components/setting-item.js +2 -2
  125. package/dist/web/components/settings-tile.js +5 -5
  126. package/dist/web/components/status-badge.js +1 -1
  127. package/dist/web/components/status-icon-badge.js +1 -1
  128. package/dist/web/components/stepper-number-input.js +2 -2
  129. package/dist/web/components/swap-badge.js +4 -4
  130. package/dist/web/components/swap-input-card.js +10 -10
  131. package/dist/web/components/swap-step-list.js +2 -2
  132. package/dist/web/components/theme-toggle.js +3 -3
  133. package/dist/web/components/transaction-card.js +2 -2
  134. package/dist/web/components/trend-chart.js +5 -5
  135. package/dist/web/components/value-list.js +10 -10
  136. package/dist/web/components/wallet-asset-list.js +8 -8
  137. package/dist/web/components/withdraw-amount-input.js +2 -2
  138. package/dist/web/components/withdraw-confirmation.js +5 -5
  139. package/dist/web/components/withdraw-destination-input.js +2 -2
  140. package/dist/web/components/withdraw-success.js +2 -2
  141. package/dist/web/icons/public.js +1 -1
  142. package/dist/web/index.cjs +29 -14
  143. package/dist/web/index.d.cts +16 -3
  144. package/dist/web/index.d.ts +16 -3
  145. package/dist/web/index.js +137 -137
  146. package/dist/web/primitives/collapsible.js +2 -2
  147. package/dist/web/primitives/dialog.js +2 -2
  148. package/dist/web/primitives/drawer.js +3 -3
  149. package/dist/web/primitives/dropdown-menu.js +1 -1
  150. package/dist/web/primitives/icon-button.js +1 -1
  151. package/dist/web/primitives/icon.js +1 -1
  152. package/dist/web/primitives/menu-search.js +1 -1
  153. package/dist/web/primitives/number-input.js +2 -2
  154. package/dist/web/primitives/select.js +2 -2
  155. package/dist/web/primitives/table.js +3 -3
  156. package/dist/web/primitives/toast.js +2 -2
  157. package/dist/web/primitives/toaster.js +5 -5
  158. package/package.json +1 -1
  159. package/dist/web/{chunk-2VAS6VYJ.js → chunk-7L35JISL.js} +3 -3
  160. package/dist/web/{chunk-4MLPMRXA.js → chunk-7L7DQFHJ.js} +3 -3
  161. package/dist/web/{chunk-5PZ2XVWL.js → chunk-7Y7FEBKK.js} +3 -3
  162. package/dist/web/{chunk-LZ723UCB.js → chunk-D2ZG6TZM.js} +3 -3
  163. package/dist/web/{chunk-TCFHH5TE.js → chunk-DUAFJ3CX.js} +6 -6
  164. package/dist/web/{chunk-ZPNGHBKB.js → chunk-DY72P3EE.js} +5 -5
  165. package/dist/web/{chunk-JWMFTRDC.js → chunk-IWDBETXQ.js} +3 -3
  166. package/dist/web/{chunk-XCQGJYGF.js → chunk-IZCLPO4E.js} +3 -3
  167. package/dist/web/{chunk-62HIDJCD.js → chunk-MKMZH4XD.js} +3 -3
  168. package/dist/web/{chunk-IMER4KGH.js → chunk-NHOCTXPF.js} +3 -3
  169. package/dist/web/{chunk-WURSWAKE.js → chunk-NXPVF5WX.js} +3 -3
  170. package/dist/web/{chunk-YTXWYWVD.js → chunk-O4IIYGDL.js} +3 -3
  171. package/dist/web/{chunk-6IBQJIHT.js → chunk-Q2IXLUSM.js} +3 -3
  172. package/dist/web/{chunk-RV7Z3B3V.js → chunk-RA5YGBRB.js} +3 -3
  173. package/dist/web/{chunk-2REWXJEN.js → chunk-SGXLWU4V.js} +5 -5
  174. package/dist/web/{chunk-ZRIBB4EB.js → chunk-SIE2FP2T.js} +3 -3
  175. package/dist/web/{chunk-SJNOBBU5.js → chunk-U2UWLSDG.js} +3 -3
  176. package/dist/web/{chunk-DDMDRAD6.js → chunk-VAMCLWLF.js} +6 -6
  177. package/dist/web/{chunk-LYCLVP26.js → chunk-WBW5E6LC.js} +3 -3
  178. package/dist/web/{chunk-27CY5EHL.js → chunk-X3MYWPNO.js} +6 -6
  179. package/dist/web/{chunk-6VKWG5FJ.js → chunk-XMUXOKIP.js} +3 -3
  180. package/dist/web/{chunk-2NCH2ZDU.js → chunk-XYNURYMC.js} +3 -3
  181. package/dist/web/{chunk-C7YIQDGQ.js → chunk-Y2W5YG6Y.js} +3 -3
  182. package/dist/web/{chunk-Z2SS7UJ4.js → chunk-YRRZ22OK.js} +3 -3
  183. package/dist/web/{chunk-A3XHFJ6J.js → chunk-Z3H2FQVX.js} +3 -3
  184. package/dist/web/{chunk-KIMWCG5N.js → chunk-ZDCKYQKS.js} +3 -3
@@ -1,16 +1,16 @@
1
1
  "use client";
2
2
  import {
3
3
  COPY_FAILED_MESSAGE
4
- } from "./chunk-QCQRA6L5.js";
5
- import {
6
- useCopyToClipboard
7
- } from "./chunk-BGUBHWIO.js";
4
+ } from "./chunk-GEXPB5CG.js";
8
5
  import {
9
6
  Button
10
7
  } from "./chunk-OWSKP527.js";
11
8
  import {
12
9
  IconGlyph
13
10
  } from "./chunk-YQQ7GDLZ.js";
11
+ import {
12
+ cn
13
+ } from "./chunk-PMGIJMRO.js";
14
14
  import {
15
15
  Check,
16
16
  ContentCopy,
@@ -18,8 +18,8 @@ import {
18
18
  VisibilityOff
19
19
  } from "./chunk-XXH4TYKZ.js";
20
20
  import {
21
- cn
22
- } from "./chunk-PMGIJMRO.js";
21
+ useCopyToClipboard
22
+ } from "./chunk-BGUBHWIO.js";
23
23
 
24
24
  // src/web/components/secret-reveal-card.tsx
25
25
  import { jsx, jsxs } from "react/jsx-runtime";
@@ -2,30 +2,33 @@
2
2
  import {
3
3
  QrCode
4
4
  } from "./chunk-F2LIZX5K.js";
5
- import {
6
- Label
7
- } from "./chunk-H3GYLFHP.js";
8
5
  import {
9
6
  BottomSheet
10
7
  } from "./chunk-JYM5NHBA.js";
8
+ import {
9
+ Label
10
+ } from "./chunk-H3GYLFHP.js";
11
11
  import {
12
12
  CopyIcon,
13
13
  InvoiceStatusBanner,
14
14
  NETWORK_CONFIG,
15
15
  PaidOverlay
16
- } from "./chunk-GX7GBHJ6.js";
16
+ } from "./chunk-W4G74KFZ.js";
17
+ import {
18
+ eyebrow
19
+ } from "./chunk-MTQOAMDW.js";
17
20
  import {
18
21
  GlyphButton
19
22
  } from "./chunk-JY3H7ZAI.js";
20
23
  import {
21
24
  Button
22
25
  } from "./chunk-OWSKP527.js";
23
- import {
24
- eyebrow
25
- } from "./chunk-MTQOAMDW.js";
26
26
  import {
27
27
  IconGlyph
28
28
  } from "./chunk-YQQ7GDLZ.js";
29
+ import {
30
+ cn
31
+ } from "./chunk-PMGIJMRO.js";
29
32
  import {
30
33
  Check,
31
34
  ContentCopy,
@@ -33,9 +36,6 @@ import {
33
36
  ProgressActivity,
34
37
  Refresh
35
38
  } from "./chunk-XXH4TYKZ.js";
36
- import {
37
- cn
38
- } from "./chunk-PMGIJMRO.js";
39
39
 
40
40
  // src/web/components/btc-unified-receive.tsx
41
41
  import { useId, useState } from "react";
@@ -1,7 +1,7 @@
1
1
  "use client";
2
2
  import {
3
3
  CopyButton
4
- } from "./chunk-QCQRA6L5.js";
4
+ } from "./chunk-GEXPB5CG.js";
5
5
  import {
6
6
  cn
7
7
  } from "./chunk-PMGIJMRO.js";
@@ -1,17 +1,17 @@
1
1
  "use client";
2
2
  import {
3
3
  defaultChartFormat
4
- } from "./chunk-EK5N3ZPW.js";
4
+ } from "./chunk-CXLGQSHM.js";
5
5
  import {
6
6
  IconGlyph
7
7
  } from "./chunk-YQQ7GDLZ.js";
8
+ import {
9
+ cn
10
+ } from "./chunk-PMGIJMRO.js";
8
11
  import {
9
12
  Error,
10
13
  Warning
11
14
  } from "./chunk-XXH4TYKZ.js";
12
- import {
13
- cn
14
- } from "./chunk-PMGIJMRO.js";
15
15
 
16
16
  // src/web/components/charts/meter.tsx
17
17
  import { jsx, jsxs } from "react/jsx-runtime";
@@ -1,22 +1,22 @@
1
1
  "use client";
2
2
  import {
3
3
  AssetIcon
4
- } from "./chunk-2REWXJEN.js";
4
+ } from "./chunk-SGXLWU4V.js";
5
5
  import {
6
6
  NetworkBadge
7
- } from "./chunk-IV6AAVUE.js";
8
- import {
9
- GlyphButton
10
- } from "./chunk-JY3H7ZAI.js";
7
+ } from "./chunk-EBQ35SOM.js";
11
8
  import {
12
9
  eyebrow
13
10
  } from "./chunk-MTQOAMDW.js";
14
11
  import {
15
- Edit
16
- } from "./chunk-XXH4TYKZ.js";
12
+ GlyphButton
13
+ } from "./chunk-JY3H7ZAI.js";
17
14
  import {
18
15
  cn
19
16
  } from "./chunk-PMGIJMRO.js";
17
+ import {
18
+ Edit
19
+ } from "./chunk-XXH4TYKZ.js";
20
20
 
21
21
  // src/web/components/info-chip.tsx
22
22
  import { jsx, jsxs } from "react/jsx-runtime";
@@ -1,9 +1,8 @@
1
1
  "use client";
2
2
  import {
3
3
  ChartFrame,
4
- defaultChartFormat,
5
- seriesColor
6
- } from "./chunk-EK5N3ZPW.js";
4
+ defaultChartFormat
5
+ } from "./chunk-CXLGQSHM.js";
7
6
  import {
8
7
  cn
9
8
  } from "./chunk-PMGIJMRO.js";
@@ -17,6 +16,7 @@ function BarList({
17
16
  max,
18
17
  sort = "none",
19
18
  showPercent = true,
19
+ labelWidth,
20
20
  empty,
21
21
  className,
22
22
  ...head
@@ -27,40 +27,54 @@ function BarList({
27
27
  const sum = rows.reduce((acc, item) => acc + Math.max(0, item.value), 0);
28
28
  const percentOf = (item) => formatPercent(item.percent ?? (sum > 0 ? Math.max(0, item.value) / sum : 0));
29
29
  const framed = head.title !== void 0 || (head.timeframes?.length ?? 0) > 0;
30
+ const label_ = labelWidth ? `minmax(0,${labelWidth})` : "auto";
31
+ const wideColumns = showPercent ? `${label_} 1fr auto auto` : `${label_} 1fr auto`;
30
32
  const list = /* @__PURE__ */ jsx(
31
33
  "ol",
32
34
  {
33
35
  "data-slot": "bar-list",
34
36
  "aria-label": label,
35
37
  className: cn(
36
- "m-0 grid list-none items-center gap-x-3 gap-y-2 p-0 text-caption",
38
+ "m-0 grid list-none gap-y-3 p-0 text-caption sm:items-center sm:gap-x-3 sm:gap-y-2",
39
+ "sm:[grid-template-columns:var(--bar-list-columns)]",
37
40
  // Under a head, a little more air than the plots' own top margin.
38
41
  framed && "pt-2",
39
- showPercent ? "grid-cols-[auto_1fr_auto_auto]" : "grid-cols-[auto_1fr_auto]",
40
42
  className
41
43
  ),
44
+ style: { "--bar-list-columns": wideColumns },
42
45
  children: rows.map((item) => {
43
46
  const share = Math.max(0, item.value) / top;
44
47
  return /* @__PURE__ */ jsxs(
45
48
  "li",
46
49
  {
47
50
  "data-slot": "bar-list-row",
48
- className: "col-span-full grid grid-cols-subgrid items-center",
51
+ className: cn(
52
+ // Narrow: label and value on one line, the bar under them.
53
+ "grid items-baseline gap-x-3 gap-y-1.5",
54
+ showPercent ? "grid-cols-[minmax(0,1fr)_auto_auto]" : "grid-cols-[minmax(0,1fr)_auto]",
55
+ "sm:col-span-full sm:grid-cols-subgrid sm:items-center sm:gap-y-0"
56
+ ),
49
57
  children: [
50
- /* @__PURE__ */ jsx("span", { className: "max-w-[10rem] truncate text-muted-foreground", children: item.label }),
51
- /* @__PURE__ */ jsx("span", { className: "h-2 overflow-hidden rounded-full bg-secondary/15 shadow-inner", "aria-hidden": "true", children: /* @__PURE__ */ jsx(
58
+ /* @__PURE__ */ jsx("span", { className: cn("min-w-0 truncate text-muted-foreground", !labelWidth && "sm:max-w-[10rem]"), children: item.label }),
59
+ /* @__PURE__ */ jsx(
52
60
  "span",
53
61
  {
54
- className: "block h-full rounded-full",
55
- style: {
56
- width: `${share * 100}%`,
57
- // A non-zero value keeps a sliver, so it never reads as zero.
58
- minWidth: item.value > 0 ? 4 : 0,
59
- background: seriesColor(0)
60
- }
62
+ className: "order-last col-span-full h-2 overflow-hidden rounded-full bg-primary/15 shadow-inner sm:order-none sm:col-span-1",
63
+ "aria-hidden": "true",
64
+ children: /* @__PURE__ */ jsx(
65
+ "span",
66
+ {
67
+ className: "block h-full rounded-full bg-primary bg-gradient-primary",
68
+ style: {
69
+ width: `${share * 100}%`,
70
+ // A non-zero value keeps a sliver, so it never reads as zero.
71
+ minWidth: item.value > 0 ? 4 : 0
72
+ }
73
+ }
74
+ )
61
75
  }
62
- ) }),
63
- /* @__PURE__ */ jsx("span", { className: "text-right font-semibold tabular-nums text-foreground", children: item.valueText ?? formatValue(item.value) }),
76
+ ),
77
+ /* @__PURE__ */ jsx("span", { className: "whitespace-nowrap text-right font-semibold tabular-nums text-foreground", children: item.valueText ?? formatValue(item.value) }),
64
78
  showPercent && /* @__PURE__ */ jsx("span", { className: "text-right tabular-nums text-muted-foreground", children: percentOf(item) })
65
79
  ]
66
80
  },
@@ -4,7 +4,7 @@ import {
4
4
  CollapsibleChevron,
5
5
  CollapsibleContent,
6
6
  CollapsibleTrigger
7
- } from "./chunk-6IBQJIHT.js";
7
+ } from "./chunk-Q2IXLUSM.js";
8
8
  import {
9
9
  cn
10
10
  } from "./chunk-PMGIJMRO.js";
@@ -1,23 +1,23 @@
1
1
  "use client";
2
2
  import {
3
3
  AssetIcon
4
- } from "./chunk-2REWXJEN.js";
4
+ } from "./chunk-SGXLWU4V.js";
5
5
  import {
6
6
  NETWORK_CONFIG
7
- } from "./chunk-GX7GBHJ6.js";
7
+ } from "./chunk-W4G74KFZ.js";
8
8
  import {
9
9
  Button
10
10
  } from "./chunk-OWSKP527.js";
11
11
  import {
12
12
  IconGlyph
13
13
  } from "./chunk-YQQ7GDLZ.js";
14
+ import {
15
+ cn
16
+ } from "./chunk-PMGIJMRO.js";
14
17
  import {
15
18
  AccountBalanceWallet,
16
19
  CheckCircle
17
20
  } from "./chunk-XXH4TYKZ.js";
18
- import {
19
- cn
20
- } from "./chunk-PMGIJMRO.js";
21
21
 
22
22
  // src/web/components/deposit-success-screen.tsx
23
23
  import { jsx, jsxs } from "react/jsx-runtime";
@@ -1,25 +1,25 @@
1
1
  "use client";
2
- import {
3
- useIsNarrow
4
- } from "./chunk-MTQ22SKE.js";
5
2
  import {
6
3
  Collapsible,
7
4
  CollapsibleChevron,
8
5
  CollapsibleContent,
9
6
  CollapsibleTrigger
10
- } from "./chunk-6IBQJIHT.js";
7
+ } from "./chunk-Q2IXLUSM.js";
11
8
  import {
12
9
  Button
13
10
  } from "./chunk-OWSKP527.js";
14
11
  import {
15
12
  IconGlyph
16
13
  } from "./chunk-YQQ7GDLZ.js";
14
+ import {
15
+ cn
16
+ } from "./chunk-PMGIJMRO.js";
17
17
  import {
18
18
  Tune
19
19
  } from "./chunk-XXH4TYKZ.js";
20
20
  import {
21
- cn
22
- } from "./chunk-PMGIJMRO.js";
21
+ useIsNarrow
22
+ } from "./chunk-MTQ22SKE.js";
23
23
 
24
24
  // src/web/components/filter-bar.tsx
25
25
  import { useState } from "react";
@@ -1,7 +1,7 @@
1
1
  "use client";
2
2
  import {
3
3
  AppIcon
4
- } from "./chunk-PS7Q6MMU.js";
4
+ } from "./chunk-I2N3HZ4M.js";
5
5
  import {
6
6
  eyebrow
7
7
  } from "./chunk-MTQOAMDW.js";
@@ -10,7 +10,7 @@ import {
10
10
  LightningNetworkIcon,
11
11
  OnchainNetworkIcon,
12
12
  SparkNetworkIcon
13
- } from "./chunk-LYCLVP26.js";
13
+ } from "./chunk-WBW5E6LC.js";
14
14
  import {
15
15
  cn
16
16
  } from "./chunk-PMGIJMRO.js";
@@ -1,7 +1,7 @@
1
1
  "use client";
2
2
  import {
3
3
  AssetCard
4
- } from "./chunk-7NS5S2PG.js";
4
+ } from "./chunk-4BTXTIE6.js";
5
5
  import {
6
6
  eyebrow
7
7
  } from "./chunk-MTQOAMDW.js";
@@ -1,20 +1,20 @@
1
1
  "use client";
2
2
  import {
3
3
  AccountHeaderIcons
4
- } from "./chunk-4QLR4ZNK.js";
4
+ } from "./chunk-YFYAMVTL.js";
5
5
  import {
6
6
  eyebrow
7
7
  } from "./chunk-MTQOAMDW.js";
8
8
  import {
9
9
  IconGlyph
10
10
  } from "./chunk-YQQ7GDLZ.js";
11
+ import {
12
+ cn
13
+ } from "./chunk-PMGIJMRO.js";
11
14
  import {
12
15
  ExpandLess,
13
16
  ExpandMore
14
17
  } from "./chunk-XXH4TYKZ.js";
15
- import {
16
- cn
17
- } from "./chunk-PMGIJMRO.js";
18
18
 
19
19
  // src/web/components/account-capabilities-card.tsx
20
20
  import { jsx, jsxs } from "react/jsx-runtime";
@@ -1,19 +1,19 @@
1
1
  "use client";
2
2
  import {
3
3
  COPY_FAILED_MESSAGE
4
- } from "./chunk-QCQRA6L5.js";
4
+ } from "./chunk-GEXPB5CG.js";
5
5
  import {
6
- useCopyToClipboard
7
- } from "./chunk-BGUBHWIO.js";
6
+ eyebrow
7
+ } from "./chunk-MTQOAMDW.js";
8
8
  import {
9
9
  Button
10
10
  } from "./chunk-OWSKP527.js";
11
- import {
12
- eyebrow
13
- } from "./chunk-MTQOAMDW.js";
14
11
  import {
15
12
  IconGlyph
16
13
  } from "./chunk-YQQ7GDLZ.js";
14
+ import {
15
+ cn
16
+ } from "./chunk-PMGIJMRO.js";
17
17
  import {
18
18
  Check,
19
19
  ContentCopy,
@@ -21,8 +21,8 @@ import {
21
21
  VisibilityOff
22
22
  } from "./chunk-XXH4TYKZ.js";
23
23
  import {
24
- cn
25
- } from "./chunk-PMGIJMRO.js";
24
+ useCopyToClipboard
25
+ } from "./chunk-BGUBHWIO.js";
26
26
 
27
27
  // src/web/components/recovery-phrase-card.tsx
28
28
  import { jsx, jsxs } from "react/jsx-runtime";
@@ -1,10 +1,10 @@
1
1
  "use client";
2
2
  import {
3
3
  InlineSelector
4
- } from "./chunk-Z2SS7UJ4.js";
4
+ } from "./chunk-YRRZ22OK.js";
5
5
  import {
6
6
  AssetIcon
7
- } from "./chunk-2REWXJEN.js";
7
+ } from "./chunk-SGXLWU4V.js";
8
8
  import {
9
9
  iconBadgeOverlayClass
10
10
  } from "./chunk-CZPNI33A.js";
@@ -13,22 +13,22 @@ import {
13
13
  } from "./chunk-DCUAE6PX.js";
14
14
  import {
15
15
  NetworkBadge
16
- } from "./chunk-IV6AAVUE.js";
16
+ } from "./chunk-EBQ35SOM.js";
17
17
  import {
18
18
  eyebrow
19
19
  } from "./chunk-MTQOAMDW.js";
20
20
  import {
21
21
  IconGlyph
22
22
  } from "./chunk-YQQ7GDLZ.js";
23
+ import {
24
+ cn
25
+ } from "./chunk-PMGIJMRO.js";
23
26
  import {
24
27
  Check,
25
28
  ExpandMore,
26
29
  Hub,
27
30
  Search
28
31
  } from "./chunk-XXH4TYKZ.js";
29
- import {
30
- cn
31
- } from "./chunk-PMGIJMRO.js";
32
32
 
33
33
  // src/web/components/asset-selector.tsx
34
34
  import { useState } from "react";
@@ -4,32 +4,32 @@ import {
4
4
  } from "./chunk-VM6AGMYO.js";
5
5
  import {
6
6
  AssetSelector
7
- } from "./chunk-QFIGSIXA.js";
7
+ } from "./chunk-SVYDLG2C.js";
8
8
  import {
9
9
  DottedLeader
10
10
  } from "./chunk-CXMCWSWC.js";
11
11
  import {
12
12
  cardSurface
13
13
  } from "./chunk-GZZ5KVON.js";
14
+ import {
15
+ eyebrow
16
+ } from "./chunk-MTQOAMDW.js";
14
17
  import {
15
18
  GlyphButton
16
19
  } from "./chunk-JY3H7ZAI.js";
17
20
  import {
18
21
  Button
19
22
  } from "./chunk-OWSKP527.js";
20
- import {
21
- eyebrow
22
- } from "./chunk-MTQOAMDW.js";
23
23
  import {
24
24
  IconGlyph
25
25
  } from "./chunk-YQQ7GDLZ.js";
26
+ import {
27
+ cn
28
+ } from "./chunk-PMGIJMRO.js";
26
29
  import {
27
30
  SwapVert,
28
31
  Warning
29
32
  } from "./chunk-XXH4TYKZ.js";
30
- import {
31
- cn
32
- } from "./chunk-PMGIJMRO.js";
33
33
 
34
34
  // src/web/components/swap-input-card.tsx
35
35
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
@@ -4,20 +4,20 @@ import {
4
4
  } from "./chunk-CXMCWSWC.js";
5
5
  import {
6
6
  CopyButton
7
- } from "./chunk-QCQRA6L5.js";
7
+ } from "./chunk-GEXPB5CG.js";
8
+ import {
9
+ eyebrow
10
+ } from "./chunk-MTQOAMDW.js";
8
11
  import {
9
12
  GlyphButton
10
13
  } from "./chunk-JY3H7ZAI.js";
11
14
  import {
12
- eyebrow
13
- } from "./chunk-MTQOAMDW.js";
15
+ cn
16
+ } from "./chunk-PMGIJMRO.js";
14
17
  import {
15
18
  Check,
16
19
  ContentCopy
17
20
  } from "./chunk-XXH4TYKZ.js";
18
- import {
19
- cn
20
- } from "./chunk-PMGIJMRO.js";
21
21
 
22
22
  // src/web/components/activity-detail-row.tsx
23
23
  import { jsx, jsxs } from "react/jsx-runtime";
@@ -1,7 +1,7 @@
1
1
  "use client";
2
2
  import {
3
3
  CopyButton
4
- } from "./chunk-QCQRA6L5.js";
4
+ } from "./chunk-GEXPB5CG.js";
5
5
  import {
6
6
  cn
7
7
  } from "./chunk-PMGIJMRO.js";
@@ -1,17 +1,23 @@
1
1
  "use client";
2
2
  import {
3
- GlyphButton
4
- } from "./chunk-JY3H7ZAI.js";
3
+ ActionTile
4
+ } from "./chunk-YXVOFEDT.js";
5
5
  import {
6
6
  eyebrow
7
7
  } from "./chunk-MTQOAMDW.js";
8
8
  import {
9
9
  LiquidNetworkIcon,
10
10
  OnchainNetworkIcon
11
- } from "./chunk-LYCLVP26.js";
11
+ } from "./chunk-WBW5E6LC.js";
12
+ import {
13
+ GlyphButton
14
+ } from "./chunk-JY3H7ZAI.js";
12
15
  import {
13
16
  IconGlyph
14
17
  } from "./chunk-YQQ7GDLZ.js";
18
+ import {
19
+ cn
20
+ } from "./chunk-PMGIJMRO.js";
15
21
  import {
16
22
  ArrowOutward,
17
23
  CallReceived,
@@ -21,12 +27,6 @@ import {
21
27
  Refresh,
22
28
  SwapHoriz
23
29
  } from "./chunk-XXH4TYKZ.js";
24
- import {
25
- ActionTile
26
- } from "./chunk-YXVOFEDT.js";
27
- import {
28
- cn
29
- } from "./chunk-PMGIJMRO.js";
30
30
 
31
31
  // src/web/components/balance-breakdown.tsx
32
32
  import { useState } from "react";
@@ -1,7 +1,7 @@
1
1
  "use client";
2
2
  import {
3
3
  NetworkBadge
4
- } from "./chunk-IV6AAVUE.js";
4
+ } from "./chunk-EBQ35SOM.js";
5
5
  import {
6
6
  cn
7
7
  } from "./chunk-PMGIJMRO.js";
@@ -4,7 +4,7 @@ import {
4
4
  } from "./chunk-A7MPRLJL.js";
5
5
  import {
6
6
  DisclosureCard
7
- } from "./chunk-TMK3SVYI.js";
7
+ } from "./chunk-PIXLIWSO.js";
8
8
  import {
9
9
  eyebrow
10
10
  } from "./chunk-MTQOAMDW.js";
@@ -12,10 +12,13 @@ import {
12
12
  LiquidNetworkIcon,
13
13
  OnchainNetworkIcon,
14
14
  RgbNetworkIcon
15
- } from "./chunk-LYCLVP26.js";
15
+ } from "./chunk-WBW5E6LC.js";
16
16
  import {
17
17
  IconGlyph
18
18
  } from "./chunk-YQQ7GDLZ.js";
19
+ import {
20
+ cn
21
+ } from "./chunk-PMGIJMRO.js";
19
22
  import {
20
23
  Cancel,
21
24
  Check,
@@ -25,9 +28,6 @@ import {
25
28
  ProgressActivity,
26
29
  SwapHoriz
27
30
  } from "./chunk-XXH4TYKZ.js";
28
- import {
29
- cn
30
- } from "./chunk-PMGIJMRO.js";
31
31
 
32
32
  // src/web/components/deposit-ui-shared.tsx
33
33
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
@@ -14,7 +14,7 @@ import {
14
14
  tooltipText,
15
15
  useChartWidth,
16
16
  useSeriesVisibility
17
- } from "./chunk-EK5N3ZPW.js";
17
+ } from "./chunk-CXLGQSHM.js";
18
18
 
19
19
  // src/web/components/charts/bar-chart.tsx
20
20
  import { useState } from "react";
@@ -5,22 +5,25 @@ import {
5
5
  import {
6
6
  AlertBanner
7
7
  } from "./chunk-ZTVV4KBT.js";
8
- import {
9
- GlyphButton
10
- } from "./chunk-JY3H7ZAI.js";
11
- import {
12
- Button
13
- } from "./chunk-OWSKP527.js";
14
8
  import {
15
9
  eyebrow
16
10
  } from "./chunk-MTQOAMDW.js";
17
11
  import {
18
12
  NostrNetworkIcon,
19
13
  RgbNetworkIcon
20
- } from "./chunk-LYCLVP26.js";
14
+ } from "./chunk-WBW5E6LC.js";
15
+ import {
16
+ GlyphButton
17
+ } from "./chunk-JY3H7ZAI.js";
18
+ import {
19
+ Button
20
+ } from "./chunk-OWSKP527.js";
21
21
  import {
22
22
  IconGlyph
23
23
  } from "./chunk-YQQ7GDLZ.js";
24
+ import {
25
+ cn
26
+ } from "./chunk-PMGIJMRO.js";
24
27
  import {
25
28
  ArrowBack,
26
29
  ChevronRight,
@@ -28,9 +31,6 @@ import {
28
31
  ExpandMore,
29
32
  SwapHoriz
30
33
  } from "./chunk-XXH4TYKZ.js";
31
- import {
32
- cn
33
- } from "./chunk-PMGIJMRO.js";
34
34
 
35
35
  // src/web/components/account-settings-shared.tsx
36
36
  import { useEffect, useState } from "react";
@@ -1,14 +1,14 @@
1
1
  "use client";
2
2
  import {
3
3
  DateRangeFilter
4
- } from "./chunk-SJNOBBU5.js";
4
+ } from "./chunk-U2UWLSDG.js";
5
5
  import {
6
6
  Select,
7
7
  SelectContent,
8
8
  SelectItem,
9
9
  SelectTrigger,
10
10
  SelectValue
11
- } from "./chunk-6VKWG5FJ.js";
11
+ } from "./chunk-XMUXOKIP.js";
12
12
  import {
13
13
  cn
14
14
  } from "./chunk-PMGIJMRO.js";