kaleido-ui 0.2.5 → 0.2.6
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/{chunk-YMM73FLL.js → chunk-255X76ZW.js} +4 -4
- package/dist/web/{chunk-CZGN7SQH.js → chunk-2Z6KFK4Z.js} +1 -1
- package/dist/web/{chunk-O4IIYGDL.js → chunk-4WUXBF7Q.js} +4 -4
- package/dist/web/{chunk-CXPYTWEC.js → chunk-73BRW657.js} +4 -4
- package/dist/web/{chunk-TJGHAD5O.js → chunk-7BPEZ3TA.js} +1 -1
- package/dist/web/{chunk-AMIAAHZM.js → chunk-7IQ4YJZS.js} +1 -1
- package/dist/web/{chunk-HKF7IPXV.js → chunk-7VDPOFP7.js} +4 -4
- package/dist/web/{chunk-CPIM2QKZ.js → chunk-7YUPXESC.js} +1 -1
- package/dist/web/{chunk-OZXDXNMR.js → chunk-AMCV2D3Q.js} +1 -1
- package/dist/web/{chunk-VNL2QI5B.js → chunk-AP7Q2FCS.js} +1 -1
- package/dist/web/{chunk-T2NBG4KF.js → chunk-ARO323RW.js} +6 -6
- package/dist/web/{chunk-5INE4WNW.js → chunk-BAV3MTRA.js} +1 -1
- package/dist/web/{chunk-ZTVV4KBT.js → chunk-BI3WGWOO.js} +1 -1
- package/dist/web/{chunk-SVYDLG2C.js → chunk-CRQ6QCAN.js} +7 -7
- package/dist/web/{chunk-SUOATMIA.js → chunk-CSOMNAM5.js} +4 -4
- package/dist/web/{chunk-G26YNXL3.js → chunk-DUIRXCBO.js} +4 -4
- package/dist/web/{chunk-2Q5SSNFO.js → chunk-ELT34EZJ.js} +1 -1
- package/dist/web/{chunk-EXWE5KM6.js → chunk-EODZVHEU.js} +3 -3
- package/dist/web/{chunk-3CHDKHXW.js → chunk-EZ34YRLM.js} +1 -1
- package/dist/web/{chunk-TAA6PO5V.js → chunk-G2K423HV.js} +1 -1
- package/dist/web/{chunk-RIOY4LFJ.js → chunk-GJB3GMDE.js} +1 -1
- package/dist/web/{chunk-YLP46BJK.js → chunk-GPTAAEPK.js} +1 -1
- package/dist/web/{chunk-GEXPB5CG.js → chunk-GQBELVPV.js} +1 -1
- package/dist/web/{chunk-HWKXZNBN.js → chunk-HIIB5NGX.js} +4 -4
- package/dist/web/{chunk-A6MSV4MA.js → chunk-HLHCPDCZ.js} +4 -4
- package/dist/web/{chunk-XIMTRQZ3.js → chunk-HMHG36RK.js} +4 -11
- package/dist/web/{chunk-LYLWGJ4R.js → chunk-HSV2WS2C.js} +1 -1
- package/dist/web/{chunk-LPDB7EHH.js → chunk-I6ESLPWR.js} +1 -1
- package/dist/web/{chunk-XYNURYMC.js → chunk-I7MYUZ56.js} +1 -1
- package/dist/web/{chunk-DV66AZXI.js → chunk-IEEIIE3Q.js} +10 -10
- package/dist/web/{chunk-EBQ35SOM.js → chunk-IV6AAVUE.js} +4 -4
- package/dist/web/{chunk-O2TTO5FS.js → chunk-KDNTZ2BX.js} +3 -3
- package/dist/web/{chunk-RWJHJMVJ.js → chunk-KGBJAITC.js} +1 -1
- package/dist/web/{chunk-NEXA6VGG.js → chunk-KIMCXNLP.js} +1 -1
- package/dist/web/{chunk-GX5URFML.js → chunk-M7JNBTLT.js} +21 -8
- package/dist/web/{chunk-STMNX3QT.js → chunk-MRQXL6NY.js} +3 -3
- package/dist/web/{chunk-QGWVZ5NG.js → chunk-MUSLMJF3.js} +2 -2
- package/dist/web/{chunk-KDNYIMGR.js → chunk-ND6LNJST.js} +5 -5
- package/dist/web/{chunk-DZMOH67F.js → chunk-OITKJK5K.js} +1 -1
- package/dist/web/{chunk-V3UI2XX7.js → chunk-OO7Y5FVA.js} +4 -4
- package/dist/web/{chunk-K7JVP24O.js → chunk-OZB5M3SQ.js} +4 -4
- package/dist/web/{chunk-D5CPIS6B.js → chunk-QFE2KEC2.js} +3 -3
- package/dist/web/{chunk-RULT57JR.js → chunk-QNT2GSHF.js} +1 -1
- package/dist/web/{chunk-X3MYWPNO.js → chunk-SA6ODI7U.js} +3 -3
- package/dist/web/{chunk-AU5ZGWGA.js → chunk-SJW4IXDG.js} +4 -4
- package/dist/web/{chunk-AWKCO62W.js → chunk-SU32VRD7.js} +1 -1
- package/dist/web/{chunk-I7KNV2UC.js → chunk-TCFHLDRK.js} +12 -12
- package/dist/web/{chunk-W4G74KFZ.js → chunk-TGYM5AF6.js} +4 -4
- package/dist/web/{chunk-YFYAMVTL.js → chunk-U4WWGKI5.js} +7 -7
- package/dist/web/{chunk-NNGVB3US.js → chunk-UNZZVCZY.js} +2 -2
- package/dist/web/{chunk-CXLGQSHM.js → chunk-UR2Q5DZF.js} +24 -11
- package/dist/web/{chunk-HKIYPISK.js → chunk-VNNGXLQC.js} +1 -1
- package/dist/web/{chunk-WOAWUXER.js → chunk-VRMLE4BA.js} +3 -3
- package/dist/web/{chunk-4L55ANVR.js → chunk-XB4FFFU6.js} +11 -11
- package/dist/web/{chunk-I2N3HZ4M.js → chunk-XHOWUR5T.js} +4 -4
- package/dist/web/{chunk-BYHIH2LP.js → chunk-XNLQEGBW.js} +1 -1
- package/dist/web/{chunk-JYM5NHBA.js → chunk-Y4MOWCLO.js} +1 -1
- package/dist/web/{chunk-CZPNI33A.js → chunk-Y74IX3Z3.js} +1 -1
- package/dist/web/{chunk-KMQN66HU.js → chunk-Y7G7SETL.js} +1 -1
- package/dist/web/{chunk-QTZT7QMI.js → chunk-YPINO6TQ.js} +5 -5
- package/dist/web/{chunk-4BTXTIE6.js → chunk-Z7IFO623.js} +6 -6
- package/dist/web/components/account-capabilities-card.js +9 -9
- package/dist/web/components/account-menu.js +4 -4
- package/dist/web/components/account-settings-shared.js +8 -8
- package/dist/web/components/account-status-tabs.js +5 -5
- package/dist/web/components/activity-detail-row.js +7 -7
- package/dist/web/components/activity-filter-bar.js +9 -9
- package/dist/web/components/activity-list.js +12 -12
- package/dist/web/components/activity-network-filters.js +7 -7
- package/dist/web/components/activity-row.js +5 -5
- package/dist/web/components/activity-type-tabs.js +7 -7
- package/dist/web/components/alert-banner.js +4 -4
- package/dist/web/components/app-icon.js +6 -6
- package/dist/web/components/asset-card.js +10 -10
- package/dist/web/components/asset-icon.js +2 -2
- package/dist/web/components/asset-selector.js +11 -11
- package/dist/web/components/balance-breakdown.js +3 -3
- package/dist/web/components/bottom-nav.js +4 -4
- package/dist/web/components/bottom-sheet.js +4 -4
- package/dist/web/components/btc-unified-receive.js +12 -12
- package/dist/web/components/charts/bar-chart.js +9 -9
- package/dist/web/components/charts/bar-list.js +9 -9
- package/dist/web/components/charts/core.js +14 -8
- package/dist/web/components/charts/donut-chart.js +9 -9
- package/dist/web/components/charts/index.js +15 -15
- package/dist/web/components/charts/line-chart.js +9 -9
- package/dist/web/components/charts/meter.js +9 -9
- package/dist/web/components/charts/mixed-chart.js +9 -9
- package/dist/web/components/charts/scatter-chart.js +9 -9
- package/dist/web/components/code-block.js +8 -8
- package/dist/web/components/copy-button.js +6 -6
- package/dist/web/components/copyable.js +7 -7
- package/dist/web/components/deposit-asset-selection.js +11 -11
- package/dist/web/components/deposit-generated-view.js +7 -7
- package/dist/web/components/deposit-invoice-generation.js +19 -19
- package/dist/web/components/deposit-network-default-modal.js +3 -3
- package/dist/web/components/deposit-pre-generation.js +5 -5
- package/dist/web/components/deposit-success-screen.js +7 -7
- package/dist/web/components/deposit-ui-shared.js +4 -4
- package/dist/web/components/filter-bar.js +3 -3
- package/dist/web/components/info-chip.js +6 -6
- package/dist/web/components/info-panel.js +4 -4
- package/dist/web/components/instants-statement.js +7 -7
- package/dist/web/components/kaleidoscope-hero-animation.js +4 -4
- package/dist/web/components/metric-card.js +4 -4
- package/dist/web/components/network-badge.js +3 -3
- package/dist/web/components/network-icon.js +2 -2
- package/dist/web/components/network-status-chip.js +4 -4
- package/dist/web/components/one-time-secret-dialog.js +6 -6
- package/dist/web/components/period-select.js +4 -4
- package/dist/web/components/query-state.js +5 -5
- package/dist/web/components/recovery-phrase-card.js +7 -7
- package/dist/web/components/secret-reveal-card.js +7 -7
- package/dist/web/components/setting-item.js +4 -4
- package/dist/web/components/settings-tile.js +7 -7
- package/dist/web/components/status-badge.js +4 -4
- package/dist/web/components/status-icon-badge.js +4 -4
- package/dist/web/components/swap-badge.js +4 -4
- package/dist/web/components/swap-input-card.js +14 -14
- package/dist/web/components/theme-toggle.js +2 -2
- package/dist/web/components/transaction-card.js +5 -5
- package/dist/web/components/trend-chart.js +9 -9
- package/dist/web/components/value-list.js +7 -7
- package/dist/web/components/wallet-asset-list.js +11 -11
- package/dist/web/components/withdraw-amount-input.js +3 -3
- package/dist/web/components/withdraw-confirmation.js +4 -4
- package/dist/web/icons/index.js +2 -2
- package/dist/web/icons/public.js +11 -11
- package/dist/web/index.cjs +29 -17
- package/dist/web/index.d.cts +0 -1
- package/dist/web/index.d.ts +0 -1
- package/dist/web/index.js +319 -319
- package/dist/web/primitives/drawer.js +2 -2
- package/dist/web/primitives/dropdown-menu.js +2 -2
- package/dist/web/primitives/icon-button.js +4 -4
- package/dist/web/primitives/icon.js +3 -3
- package/dist/web/primitives/select.js +2 -2
- package/dist/web/primitives/table.js +2 -2
- package/dist/web/primitives/toaster.js +2 -2
- package/package.json +1 -1
- package/dist/web/{chunk-UHXOPILM.js → chunk-46KGJZSU.js} +3 -3
- package/dist/web/{chunk-QLUUM53Z.js → chunk-6AAKKRZJ.js} +6 -6
- package/dist/web/{chunk-Y2W5YG6Y.js → chunk-A5LNLZWX.js} +3 -3
- package/dist/web/{chunk-INKE5FS6.js → chunk-BBKINPMF.js} +6 -6
- package/dist/web/{chunk-VAMCLWLF.js → chunk-CLJMCDUS.js} +3 -3
- package/dist/web/{chunk-IWDBETXQ.js → chunk-ESAYAG7H.js} +4 -4
- package/dist/web/{chunk-VYQHGSK6.js → chunk-GCOOW7Y6.js} +7 -7
- package/dist/web/{chunk-DUAFJ3CX.js → chunk-HBPFGIYS.js} +3 -3
- package/dist/web/{chunk-XMUXOKIP.js → chunk-LXDHO6BZ.js} +3 -3
- package/dist/web/{chunk-WBW5E6LC.js → chunk-LYCLVP26.js} +3 -3
- package/dist/web/{chunk-SGXLWU4V.js → chunk-Y276JDXI.js} +3 -3
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
"use client";
|
|
2
|
+
import {
|
|
3
|
+
AppIcon
|
|
4
|
+
} from "./chunk-XHOWUR5T.js";
|
|
2
5
|
import {
|
|
3
6
|
Select,
|
|
4
7
|
SelectContent,
|
|
5
8
|
SelectItem,
|
|
6
9
|
SelectTrigger,
|
|
7
10
|
SelectValue
|
|
8
|
-
} from "./chunk-
|
|
9
|
-
import {
|
|
10
|
-
AppIcon
|
|
11
|
-
} from "./chunk-I2N3HZ4M.js";
|
|
11
|
+
} from "./chunk-LXDHO6BZ.js";
|
|
12
12
|
import {
|
|
13
13
|
GlyphButton
|
|
14
14
|
} from "./chunk-JY3H7ZAI.js";
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
Icon
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import {
|
|
6
|
-
isIconName
|
|
7
|
-
} from "./chunk-VYQHGSK6.js";
|
|
4
|
+
} from "./chunk-HLHCPDCZ.js";
|
|
8
5
|
import {
|
|
9
6
|
IconGlyph
|
|
10
7
|
} from "./chunk-YQQ7GDLZ.js";
|
|
11
8
|
import {
|
|
12
9
|
cn
|
|
13
10
|
} from "./chunk-PMGIJMRO.js";
|
|
11
|
+
import {
|
|
12
|
+
isIconName
|
|
13
|
+
} from "./chunk-GCOOW7Y6.js";
|
|
14
14
|
import {
|
|
15
15
|
ChevronRight
|
|
16
16
|
} from "./chunk-XXH4TYKZ.js";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
CopyButton
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import {
|
|
6
|
-
HorizontalScrollArea
|
|
7
|
-
} from "./chunk-DCUAE6PX.js";
|
|
4
|
+
} from "./chunk-GQBELVPV.js";
|
|
8
5
|
import {
|
|
9
6
|
eyebrow
|
|
10
7
|
} from "./chunk-MTQOAMDW.js";
|
|
8
|
+
import {
|
|
9
|
+
HorizontalScrollArea
|
|
10
|
+
} from "./chunk-DCUAE6PX.js";
|
|
11
11
|
import {
|
|
12
12
|
cn
|
|
13
13
|
} from "./chunk-PMGIJMRO.js";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
3
|
-
eyebrow
|
|
4
|
-
} from "./chunk-MTQOAMDW.js";
|
|
5
2
|
import {
|
|
6
3
|
LiquidNetworkIcon,
|
|
7
4
|
OnchainNetworkIcon
|
|
8
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-LYCLVP26.js";
|
|
6
|
+
import {
|
|
7
|
+
eyebrow
|
|
8
|
+
} from "./chunk-MTQOAMDW.js";
|
|
9
9
|
import {
|
|
10
10
|
IconGlyph
|
|
11
11
|
} from "./chunk-YQQ7GDLZ.js";
|
|
@@ -1,16 +1,13 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
3
|
-
formatDisplayAmountText
|
|
4
|
-
} from "./chunk-VM6AGMYO.js";
|
|
5
2
|
import {
|
|
6
3
|
AssetSelector
|
|
7
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-CRQ6QCAN.js";
|
|
8
5
|
import {
|
|
9
6
|
DottedLeader
|
|
10
7
|
} from "./chunk-CXMCWSWC.js";
|
|
11
8
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./chunk-
|
|
9
|
+
formatDisplayAmountText
|
|
10
|
+
} from "./chunk-VM6AGMYO.js";
|
|
14
11
|
import {
|
|
15
12
|
eyebrow
|
|
16
13
|
} from "./chunk-MTQOAMDW.js";
|
|
@@ -20,6 +17,9 @@ import {
|
|
|
20
17
|
import {
|
|
21
18
|
Button
|
|
22
19
|
} from "./chunk-OWSKP527.js";
|
|
20
|
+
import {
|
|
21
|
+
cardSurface
|
|
22
|
+
} from "./chunk-GZZ5KVON.js";
|
|
23
23
|
import {
|
|
24
24
|
IconGlyph
|
|
25
25
|
} from "./chunk-YQQ7GDLZ.js";
|
|
@@ -2,21 +2,21 @@
|
|
|
2
2
|
import {
|
|
3
3
|
InlineSelector
|
|
4
4
|
} from "./chunk-YRRZ22OK.js";
|
|
5
|
-
import {
|
|
6
|
-
AssetIcon
|
|
7
|
-
} from "./chunk-SGXLWU4V.js";
|
|
8
5
|
import {
|
|
9
6
|
iconBadgeOverlayClass
|
|
10
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-Y74IX3Z3.js";
|
|
11
8
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./chunk-
|
|
9
|
+
AssetIcon
|
|
10
|
+
} from "./chunk-Y276JDXI.js";
|
|
14
11
|
import {
|
|
15
12
|
NetworkBadge
|
|
16
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-IV6AAVUE.js";
|
|
17
14
|
import {
|
|
18
15
|
eyebrow
|
|
19
16
|
} from "./chunk-MTQOAMDW.js";
|
|
17
|
+
import {
|
|
18
|
+
ScrollArea
|
|
19
|
+
} from "./chunk-DCUAE6PX.js";
|
|
20
20
|
import {
|
|
21
21
|
IconGlyph
|
|
22
22
|
} from "./chunk-YQQ7GDLZ.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
COPY_FAILED_MESSAGE
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-GQBELVPV.js";
|
|
5
5
|
import {
|
|
6
6
|
eyebrow
|
|
7
7
|
} from "./chunk-MTQOAMDW.js";
|
|
@@ -14,15 +14,15 @@ import {
|
|
|
14
14
|
import {
|
|
15
15
|
cn
|
|
16
16
|
} from "./chunk-PMGIJMRO.js";
|
|
17
|
+
import {
|
|
18
|
+
useCopyToClipboard
|
|
19
|
+
} from "./chunk-BGUBHWIO.js";
|
|
17
20
|
import {
|
|
18
21
|
Check,
|
|
19
22
|
ContentCopy,
|
|
20
23
|
Visibility,
|
|
21
24
|
VisibilityOff
|
|
22
25
|
} from "./chunk-XXH4TYKZ.js";
|
|
23
|
-
import {
|
|
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,7 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
InfoPanel
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import {
|
|
6
|
-
Icon
|
|
7
|
-
} from "./chunk-A6MSV4MA.js";
|
|
4
|
+
} from "./chunk-ELT34EZJ.js";
|
|
8
5
|
import {
|
|
9
6
|
Dialog,
|
|
10
7
|
DialogContent,
|
|
@@ -13,6 +10,9 @@ import {
|
|
|
13
10
|
DialogHeader,
|
|
14
11
|
DialogTitle
|
|
15
12
|
} from "./chunk-D2ZG6TZM.js";
|
|
13
|
+
import {
|
|
14
|
+
Icon
|
|
15
|
+
} from "./chunk-HLHCPDCZ.js";
|
|
16
16
|
import {
|
|
17
17
|
Button
|
|
18
18
|
} from "./chunk-OWSKP527.js";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use client";
|
|
2
|
+
import {
|
|
3
|
+
AppIcon
|
|
4
|
+
} from "./chunk-XHOWUR5T.js";
|
|
2
5
|
import {
|
|
3
6
|
TabsList,
|
|
4
7
|
TabsTrigger
|
|
5
8
|
} from "./chunk-ZR32WYJA.js";
|
|
6
|
-
import {
|
|
7
|
-
AppIcon
|
|
8
|
-
} from "./chunk-I2N3HZ4M.js";
|
|
9
9
|
|
|
10
10
|
// src/web/components/activity-type-tabs.tsx
|
|
11
11
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
StatusIconBadge
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import {
|
|
6
|
-
Icon
|
|
7
|
-
} from "./chunk-A6MSV4MA.js";
|
|
4
|
+
} from "./chunk-Y74IX3Z3.js";
|
|
8
5
|
import {
|
|
9
6
|
eyebrow
|
|
10
7
|
} from "./chunk-MTQOAMDW.js";
|
|
8
|
+
import {
|
|
9
|
+
Icon
|
|
10
|
+
} from "./chunk-HLHCPDCZ.js";
|
|
11
11
|
import {
|
|
12
12
|
cn
|
|
13
13
|
} from "./chunk-PMGIJMRO.js";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
3
|
-
filledMap,
|
|
4
|
-
outlinedMap
|
|
5
|
-
} from "./chunk-VYQHGSK6.js";
|
|
6
2
|
import {
|
|
7
3
|
IconGlyph
|
|
8
4
|
} from "./chunk-YQQ7GDLZ.js";
|
|
5
|
+
import {
|
|
6
|
+
filledMap,
|
|
7
|
+
outlinedMap
|
|
8
|
+
} from "./chunk-GCOOW7Y6.js";
|
|
9
9
|
|
|
10
10
|
// src/web/primitives/icon.tsx
|
|
11
11
|
import { jsx } from "react/jsx-runtime";
|
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
|
+
BAR_GAP,
|
|
3
4
|
ChartFrame,
|
|
4
5
|
ChartLegend,
|
|
5
6
|
ChartTooltip,
|
|
6
7
|
TICK_FONT,
|
|
7
8
|
axisTextWidth,
|
|
9
|
+
barPath,
|
|
8
10
|
chartLabelIndices,
|
|
9
11
|
chartValueTicks,
|
|
10
12
|
defaultChartFormat,
|
|
@@ -14,22 +16,13 @@ import {
|
|
|
14
16
|
tooltipText,
|
|
15
17
|
useChartWidth,
|
|
16
18
|
useSeriesVisibility
|
|
17
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-UR2Q5DZF.js";
|
|
18
20
|
|
|
19
21
|
// src/web/components/charts/bar-chart.tsx
|
|
20
22
|
import { useState } from "react";
|
|
21
23
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
22
24
|
var MAX_BAR = 24;
|
|
23
|
-
var GAP =
|
|
24
|
-
var RADIUS = 4;
|
|
25
|
-
function barPath(x, y, w, h, end) {
|
|
26
|
-
const r = Math.min(RADIUS, w / 2, h / 2);
|
|
27
|
-
if (end === "none" || r <= 0) return `M${x},${y}h${w}v${h}h${-w}Z`;
|
|
28
|
-
if (end === "top") {
|
|
29
|
-
return `M${x},${y + h}V${y + r}Q${x},${y} ${x + r},${y}H${x + w - r}Q${x + w},${y} ${x + w},${y + r}V${y + h}Z`;
|
|
30
|
-
}
|
|
31
|
-
return `M${x},${y}H${x + w - r}Q${x + w},${y} ${x + w},${y + r}V${y + h - r}Q${x + w},${y + h} ${x + w - r},${y + h}H${x}Z`;
|
|
32
|
-
}
|
|
25
|
+
var GAP = BAR_GAP;
|
|
33
26
|
function BarChart({
|
|
34
27
|
data,
|
|
35
28
|
series: allSeries,
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
3
|
-
DepositGeneratedView
|
|
4
|
-
} from "./chunk-AU5ZGWGA.js";
|
|
5
2
|
import {
|
|
6
3
|
DepositPreGeneration
|
|
7
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-SA6ODI7U.js";
|
|
8
5
|
import {
|
|
9
6
|
DepositSuccessScreen
|
|
10
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-MUSLMJF3.js";
|
|
8
|
+
import {
|
|
9
|
+
DepositGeneratedView
|
|
10
|
+
} from "./chunk-SJW4IXDG.js";
|
|
11
11
|
import {
|
|
12
12
|
BtcUnifiedReceive
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-ND6LNJST.js";
|
|
14
14
|
import {
|
|
15
15
|
AccountChoiceChip,
|
|
16
16
|
MethodChoiceChip,
|
|
17
17
|
NETWORK_CONFIG
|
|
18
|
-
} from "./chunk-
|
|
19
|
-
import {
|
|
20
|
-
ScrollArea
|
|
21
|
-
} from "./chunk-DCUAE6PX.js";
|
|
18
|
+
} from "./chunk-TGYM5AF6.js";
|
|
22
19
|
import {
|
|
23
20
|
eyebrow
|
|
24
21
|
} from "./chunk-MTQOAMDW.js";
|
|
22
|
+
import {
|
|
23
|
+
ScrollArea
|
|
24
|
+
} from "./chunk-DCUAE6PX.js";
|
|
25
25
|
import {
|
|
26
26
|
GlyphButton
|
|
27
27
|
} from "./chunk-JY3H7ZAI.js";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
OnchainNetworkIcon
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import {
|
|
6
|
-
cn
|
|
7
|
-
} from "./chunk-PMGIJMRO.js";
|
|
4
|
+
} from "./chunk-LYCLVP26.js";
|
|
8
5
|
import {
|
|
9
6
|
protocolIcons
|
|
10
7
|
} from "./chunk-WEPSTI3Z.js";
|
|
8
|
+
import {
|
|
9
|
+
cn
|
|
10
|
+
} from "./chunk-PMGIJMRO.js";
|
|
11
11
|
|
|
12
12
|
// src/web/components/network-badge.tsx
|
|
13
13
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -1,13 +1,15 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
|
+
BAR_GAP,
|
|
3
4
|
ChartDataTable,
|
|
4
5
|
ChartHeader,
|
|
5
6
|
ChartLegend,
|
|
6
7
|
ChartLegendRow,
|
|
7
8
|
ChartTooltip,
|
|
9
|
+
barPath,
|
|
8
10
|
tooltipText,
|
|
9
11
|
useSeriesVisibility
|
|
10
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-UR2Q5DZF.js";
|
|
11
13
|
import {
|
|
12
14
|
formatAmount
|
|
13
15
|
} from "./chunk-VM6AGMYO.js";
|
|
@@ -155,7 +157,7 @@ function TrendChart({
|
|
|
155
157
|
const barWidth = band >= 4 ? Math.min(band * 0.72, MAX_BAR_WIDTH) : Math.max(1, band - 0.75);
|
|
156
158
|
const barOffset = (band - barWidth) / 2;
|
|
157
159
|
const labelIndices = trendChartLabelIndices(count, plotWidth / X_LABEL_SPACING);
|
|
158
|
-
const fillFor = (index) => textures[index] === "hatch" ? `url(#${idBase}-hatch-${index})` :
|
|
160
|
+
const fillFor = (index) => textures[index] === "hatch" ? `url(#${idBase}-hatch-${index})` : `url(#${idBase}-fill-${index})`;
|
|
159
161
|
const activePoint = active === null ? null : points[active];
|
|
160
162
|
const readoutId = `${idBase}-readout`;
|
|
161
163
|
const activeRows = activePoint ? series.map((s) => ({
|
|
@@ -217,7 +219,7 @@ function TrendChart({
|
|
|
217
219
|
"aria-hidden": "true",
|
|
218
220
|
children: [
|
|
219
221
|
/* @__PURE__ */ jsx("defs", { children: series.map(
|
|
220
|
-
(s, index) => textures[index] === "hatch" ? /* @__PURE__ */ jsx(Texture, { id: `${idBase}-hatch-${index}`, tone: s.tone, texture: "hatch" }, s.id) :
|
|
222
|
+
(s, index) => textures[index] === "hatch" ? /* @__PURE__ */ jsx(Texture, { id: `${idBase}-hatch-${index}`, tone: s.tone, texture: "hatch" }, s.id) : /* @__PURE__ */ jsx(SolidFill, { id: `${idBase}-fill-${index}`, tone: s.tone }, s.id)
|
|
221
223
|
) }),
|
|
222
224
|
/* @__PURE__ */ jsx("g", { "data-slot": "trend-chart-y-axis", children: ticks.map((tick, index) => /* @__PURE__ */ jsxs("g", { children: [
|
|
223
225
|
/* @__PURE__ */ jsx(
|
|
@@ -265,16 +267,21 @@ function TrendChart({
|
|
|
265
267
|
if (value <= 0) return null;
|
|
266
268
|
const top = y(base + value);
|
|
267
269
|
const bottom = y(base);
|
|
270
|
+
const seam = base > 0 ? BAR_GAP : 0;
|
|
268
271
|
base += value;
|
|
272
|
+
const isTop = series.slice(seriesIndex + 1).every((next) => (point.values[next.id] ?? 0) <= 0);
|
|
269
273
|
const hatched = textures[seriesIndex] === "hatch";
|
|
270
274
|
return /* @__PURE__ */ jsx(
|
|
271
|
-
"
|
|
275
|
+
"path",
|
|
272
276
|
{
|
|
273
277
|
"data-series": s.id,
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
+
d: barPath(
|
|
279
|
+
plotLeft + pointIndex * band + barOffset,
|
|
280
|
+
top,
|
|
281
|
+
barWidth,
|
|
282
|
+
Math.max(0.5, bottom - top - seam),
|
|
283
|
+
isTop ? "top" : "none"
|
|
284
|
+
),
|
|
278
285
|
fill: fillFor(seriesIndex),
|
|
279
286
|
stroke: hatched ? toneFill[s.tone] : void 0,
|
|
280
287
|
strokeWidth: hatched && barWidth >= 4 ? 1 : 0
|
|
@@ -356,6 +363,12 @@ function TrendChart({
|
|
|
356
363
|
}
|
|
357
364
|
);
|
|
358
365
|
}
|
|
366
|
+
function SolidFill({ id, tone }) {
|
|
367
|
+
return /* @__PURE__ */ jsxs("linearGradient", { id, x1: "0", y1: "0", x2: "0", y2: "1", children: [
|
|
368
|
+
/* @__PURE__ */ jsx("stop", { offset: "0%", style: { stopColor: `color-mix(in oklab, ${toneFill[tone]}, white 35%)` } }),
|
|
369
|
+
/* @__PURE__ */ jsx("stop", { offset: "100%", style: { stopColor: toneFill[tone] } })
|
|
370
|
+
] });
|
|
371
|
+
}
|
|
359
372
|
function Texture({
|
|
360
373
|
id,
|
|
361
374
|
tone,
|
|
@@ -4,16 +4,16 @@ import {
|
|
|
4
4
|
} from "./chunk-F2LIZX5K.js";
|
|
5
5
|
import {
|
|
6
6
|
BottomSheet
|
|
7
|
-
} from "./chunk-
|
|
8
|
-
import {
|
|
9
|
-
Label
|
|
10
|
-
} from "./chunk-H3GYLFHP.js";
|
|
7
|
+
} from "./chunk-Y4MOWCLO.js";
|
|
11
8
|
import {
|
|
12
9
|
CopyIcon,
|
|
13
10
|
InvoiceStatusBanner,
|
|
14
11
|
NETWORK_CONFIG,
|
|
15
12
|
PaidOverlay
|
|
16
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-TGYM5AF6.js";
|
|
14
|
+
import {
|
|
15
|
+
Label
|
|
16
|
+
} from "./chunk-H3GYLFHP.js";
|
|
17
17
|
import {
|
|
18
18
|
eyebrow
|
|
19
19
|
} from "./chunk-MTQOAMDW.js";
|