kaleido-ui 0.2.4 → 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/README.md +45 -10
- package/dist/web/{chunk-2GNXC446.js → chunk-255X76ZW.js} +4 -4
- package/dist/web/{chunk-YTXWYWVD.js → chunk-4WUXBF7Q.js} +7 -7
- package/dist/web/{chunk-NSA777UY.js → chunk-536NL4X2.js} +4 -4
- package/dist/web/{chunk-LFAORJQK.js → chunk-5NCVH6N5.js} +2 -2
- package/dist/web/{chunk-M6RXTQEL.js → chunk-6AAKKRZJ.js} +9 -9
- package/dist/web/{chunk-L2UPQLY7.js → chunk-73BRW657.js} +4 -4
- package/dist/web/{chunk-PCKRLEAO.js → chunk-7BPEZ3TA.js} +1 -1
- package/dist/web/{chunk-QXCCUYNY.js → chunk-7IQ4YJZS.js} +1 -1
- package/dist/web/{chunk-CRDCVB5X.js → chunk-AMCV2D3Q.js} +31 -17
- package/dist/web/{chunk-4246Y2F2.js → chunk-ARO323RW.js} +11 -11
- package/dist/web/{chunk-76DAZT7Q.js → chunk-AVJ56TMD.js} +4 -4
- package/dist/web/{chunk-XPHFJPUQ.js → chunk-BAV3MTRA.js} +1 -1
- package/dist/web/{chunk-Z5LVT3BD.js → chunk-BBKINPMF.js} +7 -7
- package/dist/web/{chunk-ZTVV4KBT.js → chunk-BI3WGWOO.js} +1 -1
- package/dist/web/{chunk-QFIGSIXA.js → chunk-CRQ6QCAN.js} +10 -10
- package/dist/web/{chunk-YNB4SSLD.js → chunk-CSOMNAM5.js} +9 -9
- package/dist/web/{chunk-GMJGTSCQ.js → chunk-DUIRXCBO.js} +8 -8
- package/dist/web/{chunk-2Q5SSNFO.js → chunk-ELT34EZJ.js} +1 -1
- package/dist/web/{chunk-R3IIXFGK.js → chunk-EODZVHEU.js} +3 -3
- package/dist/web/{chunk-G373WZMN.js → chunk-EZ34YRLM.js} +1 -1
- package/dist/web/{chunk-DNHRMPKI.js → chunk-G2K423HV.js} +6 -6
- package/dist/web/{chunk-RIOY4LFJ.js → chunk-GJB3GMDE.js} +1 -1
- package/dist/web/{chunk-5BNDC7M4.js → chunk-GPTAAEPK.js} +2 -2
- package/dist/web/{chunk-QCQRA6L5.js → chunk-GQBELVPV.js} +4 -4
- 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-QBZSLR7U.js → chunk-HLPL5AHD.js} +1 -1
- package/dist/web/{chunk-2OGYEUYV.js → chunk-HMHG36RK.js} +4 -11
- package/dist/web/{chunk-TBEKRQGW.js → chunk-HO65ENYH.js} +1 -1
- package/dist/web/{chunk-Y3W6LOOE.js → chunk-HSV2WS2C.js} +4 -4
- package/dist/web/{chunk-LPDB7EHH.js → chunk-I6ESLPWR.js} +1 -1
- package/dist/web/{chunk-2NCH2ZDU.js → chunk-I7MYUZ56.js} +4 -4
- package/dist/web/{chunk-JZ3BUM5L.js → chunk-IEEIIE3Q.js} +13 -13
- package/dist/web/{chunk-O2TTO5FS.js → chunk-KDNTZ2BX.js} +3 -3
- package/dist/web/{chunk-TPGNO74K.js → chunk-KGBJAITC.js} +4 -4
- package/dist/web/{chunk-NEXA6VGG.js → chunk-KIMCXNLP.js} +1 -1
- package/dist/web/{chunk-UK6ZL4MX.js → chunk-M7JNBTLT.js} +21 -8
- package/dist/web/{chunk-STMNX3QT.js → chunk-MRQXL6NY.js} +3 -3
- package/dist/web/{chunk-FWOIRFV5.js → chunk-MUSLMJF3.js} +5 -5
- package/dist/web/{chunk-A3TKIXSI.js → chunk-ND6LNJST.js} +11 -11
- package/dist/web/{chunk-LZ6PIXUO.js → chunk-OITKJK5K.js} +2 -2
- package/dist/web/{chunk-HDLOPDFX.js → chunk-OZB5M3SQ.js} +7 -7
- package/dist/web/{chunk-TMK3SVYI.js → chunk-PIXLIWSO.js} +1 -1
- package/dist/web/{chunk-PTSOVDKH.js → chunk-QFE2KEC2.js} +3 -3
- package/dist/web/{chunk-Z5O67WTL.js → chunk-QNT2GSHF.js} +1 -1
- package/dist/web/{chunk-27CY5EHL.js → chunk-SA6ODI7U.js} +8 -8
- package/dist/web/{chunk-DH7VXKGM.js → chunk-SJW4IXDG.js} +9 -9
- package/dist/web/{chunk-O6NPTMDN.js → chunk-SU32VRD7.js} +1 -1
- package/dist/web/{chunk-S2ICIIH2.js → chunk-TCFHLDRK.js} +10 -10
- package/dist/web/{chunk-GX7GBHJ6.js → chunk-TGYM5AF6.js} +7 -7
- package/dist/web/{chunk-4QLR4ZNK.js → chunk-U4WWGKI5.js} +13 -13
- package/dist/web/{chunk-VUGV3ELU.js → chunk-UNZZVCZY.js} +6 -6
- package/dist/web/{chunk-EK5N3ZPW.js → chunk-UR2Q5DZF.js} +27 -14
- package/dist/web/{chunk-JY73M73T.js → chunk-VNNGXLQC.js} +7 -7
- package/dist/web/{chunk-WOAWUXER.js → chunk-VRMLE4BA.js} +3 -3
- package/dist/web/{chunk-WWF7IJBF.js → chunk-XB4FFFU6.js} +16 -16
- package/dist/web/{chunk-PS7Q6MMU.js → chunk-XHOWUR5T.js} +3 -3
- package/dist/web/{chunk-ZXCT3Y6P.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-IK32AIOS.js → chunk-Y7G7SETL.js} +1 -1
- package/dist/web/{chunk-DXFFYCU3.js → chunk-YPINO6TQ.js} +4 -4
- package/dist/web/{chunk-7NS5S2PG.js → chunk-Z7IFO623.js} +5 -5
- package/dist/web/components/account-capabilities-card.js +10 -10
- package/dist/web/components/account-menu.js +5 -5
- package/dist/web/components/account-settings-shared.js +9 -9
- package/dist/web/components/account-status-tabs.js +6 -6
- package/dist/web/components/activity-detail-row.js +10 -10
- package/dist/web/components/activity-filter-bar.js +10 -10
- package/dist/web/components/activity-list.js +10 -10
- package/dist/web/components/activity-network-filters.js +7 -7
- package/dist/web/components/activity-row.js +6 -6
- package/dist/web/components/activity-type-tabs.js +7 -7
- package/dist/web/components/alert-banner.js +5 -5
- package/dist/web/components/app-icon.js +5 -5
- 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 +6 -6
- package/dist/web/components/basic-collapsible.js +3 -3
- package/dist/web/components/bottom-nav.js +5 -5
- package/dist/web/components/bottom-sheet.js +5 -5
- package/dist/web/components/btc-unified-receive.js +14 -14
- package/dist/web/components/charts/bar-chart.js +10 -10
- package/dist/web/components/charts/bar-list.js +10 -10
- package/dist/web/components/charts/core.js +15 -9
- package/dist/web/components/charts/donut-chart.js +10 -10
- package/dist/web/components/charts/index.js +16 -16
- package/dist/web/components/charts/line-chart.js +10 -10
- package/dist/web/components/charts/meter.js +10 -10
- package/dist/web/components/charts/mixed-chart.js +10 -10
- package/dist/web/components/charts/scatter-chart.js +10 -10
- package/dist/web/components/code-block.js +10 -10
- package/dist/web/components/confirm-dialog.js +3 -3
- package/dist/web/components/copy-button.js +8 -8
- package/dist/web/components/copyable.js +9 -9
- package/dist/web/components/date-range-filter.js +3 -3
- package/dist/web/components/deposit-asset-selection.js +12 -12
- package/dist/web/components/deposit-generated-view.js +10 -10
- package/dist/web/components/deposit-invoice-generation.js +21 -21
- package/dist/web/components/deposit-network-default-modal.js +3 -3
- package/dist/web/components/deposit-pre-generation.js +7 -7
- package/dist/web/components/deposit-success-screen.js +9 -9
- package/dist/web/components/deposit-ui-shared.js +5 -5
- package/dist/web/components/disclosure-card.js +3 -3
- package/dist/web/components/error-boundary.js +1 -1
- package/dist/web/components/extension-page-frame.js +4 -4
- package/dist/web/components/filter-bar.js +4 -4
- package/dist/web/components/filter-dropdown.js +3 -3
- package/dist/web/components/floating-notice.js +2 -2
- package/dist/web/components/info-chip.js +7 -7
- package/dist/web/components/info-panel.js +5 -5
- package/dist/web/components/inline-selector.js +2 -2
- package/dist/web/components/instants-statement.js +9 -9
- package/dist/web/components/list-field.js +2 -2
- package/dist/web/components/metric-card.js +5 -5
- package/dist/web/components/one-time-secret-dialog.js +8 -8
- package/dist/web/components/option-selector.js +3 -3
- package/dist/web/components/page-header.js +2 -2
- package/dist/web/components/page-shell.js +2 -2
- package/dist/web/components/pager.js +2 -2
- package/dist/web/components/period-select.js +6 -6
- package/dist/web/components/query-state.js +6 -6
- package/dist/web/components/read-status.js +2 -2
- package/dist/web/components/record-list.js +3 -3
- package/dist/web/components/recovery-phrase-card.js +9 -9
- package/dist/web/components/secret-reveal-card.js +9 -9
- package/dist/web/components/setting-item.js +5 -5
- package/dist/web/components/settings-tile.js +7 -7
- package/dist/web/components/status-badge.js +5 -5
- package/dist/web/components/status-icon-badge.js +5 -5
- package/dist/web/components/stepper-number-input.js +2 -2
- package/dist/web/components/swap-input-card.js +16 -16
- package/dist/web/components/swap-step-list.js +2 -2
- package/dist/web/components/theme-toggle.js +3 -3
- package/dist/web/components/transaction-card.js +6 -6
- package/dist/web/components/trend-chart.js +10 -10
- package/dist/web/components/value-list.js +9 -9
- package/dist/web/components/wallet-asset-list.js +11 -11
- package/dist/web/components/withdraw-amount-input.js +4 -4
- package/dist/web/components/withdraw-confirmation.js +5 -5
- package/dist/web/components/withdraw-destination-input.js +2 -2
- package/dist/web/components/withdraw-success.js +2 -2
- package/dist/web/icons/index.js +2 -2
- package/dist/web/icons/public.js +12 -12
- package/dist/web/index.cjs +58 -31
- package/dist/web/index.d.cts +16 -4
- package/dist/web/index.d.ts +16 -4
- package/dist/web/index.js +337 -337
- package/dist/web/primitives/collapsible.js +2 -2
- package/dist/web/primitives/dialog.js +2 -2
- package/dist/web/primitives/drawer.js +3 -3
- package/dist/web/primitives/dropdown-menu.js +3 -3
- package/dist/web/primitives/icon-button.js +5 -5
- package/dist/web/primitives/icon.js +4 -4
- package/dist/web/primitives/menu-search.js +1 -1
- package/dist/web/primitives/number-input.js +2 -2
- package/dist/web/primitives/select.js +3 -3
- package/dist/web/primitives/table.js +3 -3
- package/dist/web/primitives/toast.js +2 -2
- package/dist/web/primitives/toaster.js +5 -5
- package/package.json +1 -1
- package/dist/web/{chunk-UHXOPILM.js → chunk-46KGJZSU.js} +3 -3
- package/dist/web/{chunk-2VAS6VYJ.js → chunk-7L35JISL.js} +3 -3
- package/dist/web/{chunk-4MLPMRXA.js → chunk-7L7DQFHJ.js} +3 -3
- package/dist/web/{chunk-VZF5C3C6.js → chunk-7VDPOFP7.js} +6 -6
- package/dist/web/{chunk-5PZ2XVWL.js → chunk-7Y7FEBKK.js} +3 -3
- package/dist/web/{chunk-C7YIQDGQ.js → chunk-A5LNLZWX.js} +3 -3
- package/dist/web/{chunk-DDMDRAD6.js → chunk-CLJMCDUS.js} +6 -6
- package/dist/web/{chunk-LZ723UCB.js → chunk-D2ZG6TZM.js} +3 -3
- package/dist/web/{chunk-ZPNGHBKB.js → chunk-DY72P3EE.js} +5 -5
- package/dist/web/{chunk-JWMFTRDC.js → chunk-ESAYAG7H.js} +7 -7
- package/dist/web/{chunk-VYQHGSK6.js → chunk-GCOOW7Y6.js} +7 -7
- package/dist/web/{chunk-TCFHH5TE.js → chunk-HBPFGIYS.js} +6 -6
- package/dist/web/{chunk-XCQGJYGF.js → chunk-IZCLPO4E.js} +3 -3
- package/dist/web/{chunk-6VKWG5FJ.js → chunk-LXDHO6BZ.js} +6 -6
- package/dist/web/{chunk-62HIDJCD.js → chunk-MKMZH4XD.js} +3 -3
- package/dist/web/{chunk-IMER4KGH.js → chunk-NHOCTXPF.js} +3 -3
- package/dist/web/{chunk-WURSWAKE.js → chunk-NXPVF5WX.js} +3 -3
- package/dist/web/{chunk-BY2KCPTX.js → chunk-OO7Y5FVA.js} +11 -11
- package/dist/web/{chunk-6IBQJIHT.js → chunk-Q2IXLUSM.js} +3 -3
- package/dist/web/{chunk-RV7Z3B3V.js → chunk-RA5YGBRB.js} +3 -3
- package/dist/web/{chunk-ZRIBB4EB.js → chunk-SIE2FP2T.js} +3 -3
- package/dist/web/{chunk-SJNOBBU5.js → chunk-U2UWLSDG.js} +3 -3
- package/dist/web/{chunk-2REWXJEN.js → chunk-Y276JDXI.js} +4 -4
- package/dist/web/{chunk-Z2SS7UJ4.js → chunk-YRRZ22OK.js} +3 -3
- package/dist/web/{chunk-A3XHFJ6J.js → chunk-Z3H2FQVX.js} +3 -3
- package/dist/web/{chunk-KIMWCG5N.js → chunk-ZDCKYQKS.js} +3 -3
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
3
|
-
useCopyToClipboard
|
|
4
|
-
} from "./chunk-BGUBHWIO.js";
|
|
5
2
|
import {
|
|
6
3
|
CopyIcon
|
|
7
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-TGYM5AF6.js";
|
|
8
5
|
import {
|
|
9
6
|
Button
|
|
10
7
|
} from "./chunk-OWSKP527.js";
|
|
11
8
|
import {
|
|
12
9
|
cn
|
|
13
10
|
} from "./chunk-PMGIJMRO.js";
|
|
11
|
+
import {
|
|
12
|
+
useCopyToClipboard
|
|
13
|
+
} from "./chunk-BGUBHWIO.js";
|
|
14
14
|
|
|
15
15
|
// src/web/components/copy-button.tsx
|
|
16
16
|
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,17 +1,17 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
defaultChartFormat
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-UR2Q5DZF.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,18 +1,18 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
StatusIconBadge
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-Y74IX3Z3.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
|
ArrowOutward,
|
|
10
13
|
Info,
|
|
11
14
|
SouthWest
|
|
12
15
|
} from "./chunk-XXH4TYKZ.js";
|
|
13
|
-
import {
|
|
14
|
-
cn
|
|
15
|
-
} from "./chunk-PMGIJMRO.js";
|
|
16
16
|
|
|
17
17
|
// src/web/components/transaction-card.tsx
|
|
18
18
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -1,40 +1,40 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
3
|
-
DepositGeneratedView
|
|
4
|
-
} from "./chunk-DH7VXKGM.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-
|
|
18
|
+
} from "./chunk-TGYM5AF6.js";
|
|
19
|
+
import {
|
|
20
|
+
eyebrow
|
|
21
|
+
} from "./chunk-MTQOAMDW.js";
|
|
19
22
|
import {
|
|
20
23
|
ScrollArea
|
|
21
24
|
} from "./chunk-DCUAE6PX.js";
|
|
22
25
|
import {
|
|
23
26
|
GlyphButton
|
|
24
27
|
} from "./chunk-JY3H7ZAI.js";
|
|
25
|
-
import {
|
|
26
|
-
eyebrow
|
|
27
|
-
} from "./chunk-MTQOAMDW.js";
|
|
28
28
|
import {
|
|
29
29
|
IconGlyph
|
|
30
30
|
} from "./chunk-YQQ7GDLZ.js";
|
|
31
|
+
import {
|
|
32
|
+
cn
|
|
33
|
+
} from "./chunk-PMGIJMRO.js";
|
|
31
34
|
import {
|
|
32
35
|
ArrowBack,
|
|
33
36
|
ProgressActivity
|
|
34
37
|
} from "./chunk-XXH4TYKZ.js";
|
|
35
|
-
import {
|
|
36
|
-
cn
|
|
37
|
-
} from "./chunk-PMGIJMRO.js";
|
|
38
38
|
|
|
39
39
|
// src/web/components/deposit-invoice-generation.tsx
|
|
40
40
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
AccountHeaderIcons
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-U4WWGKI5.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,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,
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
AssetIcon
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-Y276JDXI.js";
|
|
5
5
|
import {
|
|
6
6
|
NETWORK_CONFIG
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-TGYM5AF6.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";
|
|
@@ -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
|
-
} from "./chunk-
|
|
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
|
+
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,13 +1,13 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
CopyButton
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-GQBELVPV.js";
|
|
5
5
|
import {
|
|
6
6
|
Collapsible,
|
|
7
7
|
CollapsibleChevron,
|
|
8
8
|
CollapsibleContent,
|
|
9
9
|
CollapsibleTrigger
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-Q2IXLUSM.js";
|
|
11
11
|
import {
|
|
12
12
|
cn
|
|
13
13
|
} from "./chunk-PMGIJMRO.js";
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
COPY_FAILED_MESSAGE
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import {
|
|
6
|
-
useCopyToClipboard
|
|
7
|
-
} from "./chunk-BGUBHWIO.js";
|
|
4
|
+
} from "./chunk-GQBELVPV.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
|
+
import {
|
|
15
|
+
useCopyToClipboard
|
|
16
|
+
} from "./chunk-BGUBHWIO.js";
|
|
14
17
|
import {
|
|
15
18
|
Check,
|
|
16
19
|
ContentCopy,
|
|
17
20
|
Visibility,
|
|
18
21
|
VisibilityOff
|
|
19
22
|
} from "./chunk-XXH4TYKZ.js";
|
|
20
|
-
import {
|
|
21
|
-
cn
|
|
22
|
-
} from "./chunk-PMGIJMRO.js";
|
|
23
23
|
|
|
24
24
|
// src/web/components/secret-reveal-card.tsx
|
|
25
25
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
"use client";
|
|
2
|
+
import {
|
|
3
|
+
AlertBanner
|
|
4
|
+
} from "./chunk-BI3WGWOO.js";
|
|
2
5
|
import {
|
|
3
6
|
Label
|
|
4
7
|
} from "./chunk-H3GYLFHP.js";
|
|
5
8
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./chunk-
|
|
9
|
+
eyebrow
|
|
10
|
+
} from "./chunk-MTQOAMDW.js";
|
|
8
11
|
import {
|
|
9
12
|
Button
|
|
10
13
|
} from "./chunk-OWSKP527.js";
|
|
11
|
-
import {
|
|
12
|
-
eyebrow
|
|
13
|
-
} from "./chunk-MTQOAMDW.js";
|
|
14
14
|
import {
|
|
15
15
|
IconGlyph
|
|
16
16
|
} from "./chunk-YQQ7GDLZ.js";
|
|
17
|
+
import {
|
|
18
|
+
cn
|
|
19
|
+
} from "./chunk-PMGIJMRO.js";
|
|
17
20
|
import {
|
|
18
21
|
AddCircle,
|
|
19
22
|
ProgressActivity,
|
|
20
23
|
QrCode_2
|
|
21
24
|
} from "./chunk-XXH4TYKZ.js";
|
|
22
|
-
import {
|
|
23
|
-
cn
|
|
24
|
-
} from "./chunk-PMGIJMRO.js";
|
|
25
25
|
|
|
26
26
|
// src/web/components/deposit-pre-generation.tsx
|
|
27
27
|
import { useId } from "react";
|
|
@@ -2,23 +2,26 @@
|
|
|
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
|
CopyIcon,
|
|
10
7
|
InvoiceStatusBanner,
|
|
11
8
|
PaidOverlay
|
|
12
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-TGYM5AF6.js";
|
|
13
10
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./chunk-
|
|
11
|
+
Label
|
|
12
|
+
} from "./chunk-H3GYLFHP.js";
|
|
16
13
|
import {
|
|
17
14
|
eyebrow
|
|
18
15
|
} from "./chunk-MTQOAMDW.js";
|
|
16
|
+
import {
|
|
17
|
+
GlyphButton
|
|
18
|
+
} from "./chunk-JY3H7ZAI.js";
|
|
19
19
|
import {
|
|
20
20
|
IconGlyph
|
|
21
21
|
} from "./chunk-YQQ7GDLZ.js";
|
|
22
|
+
import {
|
|
23
|
+
cn
|
|
24
|
+
} from "./chunk-PMGIJMRO.js";
|
|
22
25
|
import {
|
|
23
26
|
Check,
|
|
24
27
|
ContentCopy,
|
|
@@ -26,9 +29,6 @@ import {
|
|
|
26
29
|
ProgressActivity,
|
|
27
30
|
Refresh
|
|
28
31
|
} from "./chunk-XXH4TYKZ.js";
|
|
29
|
-
import {
|
|
30
|
-
cn
|
|
31
|
-
} from "./chunk-PMGIJMRO.js";
|
|
32
32
|
|
|
33
33
|
// src/web/components/deposit-generated-view.tsx
|
|
34
34
|
import { useId } from "react";
|
|
@@ -2,28 +2,28 @@
|
|
|
2
2
|
import {
|
|
3
3
|
SwapBadge
|
|
4
4
|
} from "./chunk-AP7Q2FCS.js";
|
|
5
|
-
import {
|
|
6
|
-
cardSurface
|
|
7
|
-
} from "./chunk-GZZ5KVON.js";
|
|
8
5
|
import {
|
|
9
6
|
TransactionCard
|
|
10
|
-
} from "./chunk-
|
|
11
|
-
import {
|
|
12
|
-
EmptyState
|
|
13
|
-
} from "./chunk-UZ4LWR4X.js";
|
|
7
|
+
} from "./chunk-I7MYUZ56.js";
|
|
14
8
|
import {
|
|
15
9
|
ErrorCard,
|
|
16
10
|
LoadingCard
|
|
17
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-Z3H2FQVX.js";
|
|
18
12
|
import {
|
|
19
|
-
|
|
20
|
-
} from "./chunk-
|
|
13
|
+
EmptyState
|
|
14
|
+
} from "./chunk-UZ4LWR4X.js";
|
|
21
15
|
import {
|
|
22
16
|
NetworkBadge
|
|
23
17
|
} from "./chunk-IV6AAVUE.js";
|
|
18
|
+
import {
|
|
19
|
+
Icon
|
|
20
|
+
} from "./chunk-HLHCPDCZ.js";
|
|
24
21
|
import {
|
|
25
22
|
Button
|
|
26
23
|
} from "./chunk-OWSKP527.js";
|
|
24
|
+
import {
|
|
25
|
+
cardSurface
|
|
26
|
+
} from "./chunk-GZZ5KVON.js";
|
|
27
27
|
import {
|
|
28
28
|
cn
|
|
29
29
|
} from "./chunk-PMGIJMRO.js";
|