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.
- package/README.md +45 -10
- package/dist/web/{chunk-G373WZMN.js → chunk-3CHDKHXW.js} +1 -1
- package/dist/web/{chunk-7NS5S2PG.js → chunk-4BTXTIE6.js} +2 -2
- package/dist/web/{chunk-WWF7IJBF.js → chunk-4L55ANVR.js} +11 -11
- package/dist/web/{chunk-NSA777UY.js → chunk-536NL4X2.js} +4 -4
- package/dist/web/{chunk-XPHFJPUQ.js → chunk-5INE4WNW.js} +1 -1
- package/dist/web/{chunk-LFAORJQK.js → chunk-5NCVH6N5.js} +2 -2
- package/dist/web/{chunk-QXCCUYNY.js → chunk-AMIAAHZM.js} +1 -1
- package/dist/web/{chunk-DH7VXKGM.js → chunk-AU5ZGWGA.js} +7 -7
- package/dist/web/{chunk-76DAZT7Q.js → chunk-AVJ56TMD.js} +4 -4
- package/dist/web/{chunk-O6NPTMDN.js → chunk-AWKCO62W.js} +1 -1
- package/dist/web/{chunk-ZXCT3Y6P.js → chunk-BYHIH2LP.js} +1 -1
- package/dist/web/{chunk-7YUPXESC.js → chunk-CPIM2QKZ.js} +1 -1
- package/dist/web/{chunk-EK5N3ZPW.js → chunk-CXLGQSHM.js} +4 -4
- package/dist/web/{chunk-L2UPQLY7.js → chunk-CXPYTWEC.js} +1 -1
- package/dist/web/{chunk-2Z6KFK4Z.js → chunk-CZGN7SQH.js} +1 -1
- package/dist/web/{chunk-PTSOVDKH.js → chunk-D5CPIS6B.js} +1 -1
- package/dist/web/{chunk-JZ3BUM5L.js → chunk-DV66AZXI.js} +11 -11
- package/dist/web/{chunk-LZ6PIXUO.js → chunk-DZMOH67F.js} +2 -2
- package/dist/web/{chunk-IV6AAVUE.js → chunk-EBQ35SOM.js} +4 -4
- package/dist/web/{chunk-R3IIXFGK.js → chunk-EXWE5KM6.js} +1 -1
- package/dist/web/{chunk-GMJGTSCQ.js → chunk-G26YNXL3.js} +4 -4
- package/dist/web/{chunk-QCQRA6L5.js → chunk-GEXPB5CG.js} +4 -4
- package/dist/web/{chunk-UK6ZL4MX.js → chunk-GX5URFML.js} +1 -1
- package/dist/web/{chunk-VZF5C3C6.js → chunk-HKF7IPXV.js} +4 -4
- package/dist/web/{chunk-JY73M73T.js → chunk-HKIYPISK.js} +8 -8
- package/dist/web/{chunk-QBZSLR7U.js → chunk-HLPL5AHD.js} +1 -1
- package/dist/web/{chunk-TBEKRQGW.js → chunk-HO65ENYH.js} +1 -1
- package/dist/web/{chunk-PS7Q6MMU.js → chunk-I2N3HZ4M.js} +1 -1
- package/dist/web/{chunk-S2ICIIH2.js → chunk-I7KNV2UC.js} +6 -6
- package/dist/web/{chunk-Z5LVT3BD.js → chunk-INKE5FS6.js} +7 -7
- package/dist/web/{chunk-HDLOPDFX.js → chunk-K7JVP24O.js} +6 -6
- package/dist/web/{chunk-A3TKIXSI.js → chunk-KDNYIMGR.js} +10 -10
- package/dist/web/{chunk-IK32AIOS.js → chunk-KMQN66HU.js} +1 -1
- package/dist/web/{chunk-Y3W6LOOE.js → chunk-LYLWGJ4R.js} +4 -4
- package/dist/web/{chunk-VUGV3ELU.js → chunk-NNGVB3US.js} +7 -7
- package/dist/web/{chunk-CRDCVB5X.js → chunk-OZXDXNMR.js} +31 -17
- package/dist/web/{chunk-TMK3SVYI.js → chunk-PIXLIWSO.js} +1 -1
- package/dist/web/{chunk-FWOIRFV5.js → chunk-QGWVZ5NG.js} +5 -5
- package/dist/web/{chunk-M6RXTQEL.js → chunk-QLUUM53Z.js} +6 -6
- package/dist/web/{chunk-DXFFYCU3.js → chunk-QTZT7QMI.js} +2 -2
- package/dist/web/{chunk-Z5O67WTL.js → chunk-RULT57JR.js} +1 -1
- package/dist/web/{chunk-TPGNO74K.js → chunk-RWJHJMVJ.js} +4 -4
- package/dist/web/{chunk-YNB4SSLD.js → chunk-SUOATMIA.js} +8 -8
- package/dist/web/{chunk-QFIGSIXA.js → chunk-SVYDLG2C.js} +6 -6
- package/dist/web/{chunk-4246Y2F2.js → chunk-T2NBG4KF.js} +7 -7
- package/dist/web/{chunk-DNHRMPKI.js → chunk-TAA6PO5V.js} +6 -6
- package/dist/web/{chunk-PCKRLEAO.js → chunk-TJGHAD5O.js} +1 -1
- package/dist/web/{chunk-BY2KCPTX.js → chunk-V3UI2XX7.js} +9 -9
- package/dist/web/{chunk-AP7Q2FCS.js → chunk-VNL2QI5B.js} +1 -1
- package/dist/web/{chunk-GX7GBHJ6.js → chunk-W4G74KFZ.js} +5 -5
- package/dist/web/{chunk-2OGYEUYV.js → chunk-XIMTRQZ3.js} +1 -1
- package/dist/web/{chunk-4QLR4ZNK.js → chunk-YFYAMVTL.js} +10 -10
- package/dist/web/{chunk-5BNDC7M4.js → chunk-YLP46BJK.js} +2 -2
- package/dist/web/{chunk-2GNXC446.js → chunk-YMM73FLL.js} +2 -2
- package/dist/web/components/account-capabilities-card.js +6 -6
- package/dist/web/components/account-menu.js +1 -1
- package/dist/web/components/account-settings-shared.js +5 -5
- package/dist/web/components/account-status-tabs.js +8 -8
- package/dist/web/components/activity-detail-row.js +10 -10
- package/dist/web/components/activity-filter-bar.js +6 -6
- package/dist/web/components/activity-list.js +8 -8
- package/dist/web/components/activity-network-filters.js +5 -5
- package/dist/web/components/activity-row.js +1 -1
- package/dist/web/components/activity-type-tabs.js +5 -5
- package/dist/web/components/alert-banner.js +1 -1
- package/dist/web/components/app-icon.js +4 -4
- package/dist/web/components/asset-card.js +7 -7
- package/dist/web/components/asset-icon.js +3 -3
- package/dist/web/components/asset-selector.js +8 -8
- 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 +1 -1
- package/dist/web/components/bottom-sheet.js +1 -1
- package/dist/web/components/btc-unified-receive.js +10 -10
- package/dist/web/components/charts/bar-chart.js +5 -5
- package/dist/web/components/charts/bar-list.js +5 -5
- package/dist/web/components/charts/core.js +4 -4
- package/dist/web/components/charts/donut-chart.js +5 -5
- package/dist/web/components/charts/index.js +11 -11
- package/dist/web/components/charts/line-chart.js +5 -5
- package/dist/web/components/charts/meter.js +5 -5
- package/dist/web/components/charts/mixed-chart.js +5 -5
- package/dist/web/components/charts/scatter-chart.js +5 -5
- 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 +9 -9
- package/dist/web/components/copyable.js +10 -10
- package/dist/web/components/date-range-filter.js +3 -3
- package/dist/web/components/deposit-asset-selection.js +8 -8
- package/dist/web/components/deposit-generated-view.js +9 -9
- package/dist/web/components/deposit-invoice-generation.js +16 -16
- package/dist/web/components/deposit-network-default-modal.js +4 -4
- package/dist/web/components/deposit-pre-generation.js +3 -3
- package/dist/web/components/deposit-success-screen.js +10 -10
- package/dist/web/components/deposit-ui-shared.js +6 -6
- 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 +8 -8
- package/dist/web/components/info-panel.js +1 -1
- package/dist/web/components/inline-selector.js +2 -2
- package/dist/web/components/instants-statement.js +10 -10
- package/dist/web/components/kaleidoscope-hero-animation.js +4 -4
- package/dist/web/components/list-field.js +2 -2
- package/dist/web/components/metric-card.js +1 -1
- 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 +4 -4
- 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 +5 -5
- package/dist/web/components/query-state.js +1 -1
- 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 +10 -10
- package/dist/web/components/secret-reveal-card.js +10 -10
- package/dist/web/components/setting-item.js +2 -2
- package/dist/web/components/settings-tile.js +5 -5
- package/dist/web/components/status-badge.js +1 -1
- package/dist/web/components/status-icon-badge.js +1 -1
- package/dist/web/components/stepper-number-input.js +2 -2
- package/dist/web/components/swap-badge.js +4 -4
- package/dist/web/components/swap-input-card.js +10 -10
- 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 +2 -2
- package/dist/web/components/trend-chart.js +5 -5
- package/dist/web/components/value-list.js +10 -10
- package/dist/web/components/wallet-asset-list.js +8 -8
- package/dist/web/components/withdraw-amount-input.js +2 -2
- 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/public.js +1 -1
- package/dist/web/index.cjs +29 -14
- package/dist/web/index.d.cts +16 -3
- package/dist/web/index.d.ts +16 -3
- package/dist/web/index.js +137 -137
- 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 +1 -1
- package/dist/web/primitives/icon-button.js +1 -1
- package/dist/web/primitives/icon.js +1 -1
- package/dist/web/primitives/menu-search.js +1 -1
- package/dist/web/primitives/number-input.js +2 -2
- package/dist/web/primitives/select.js +2 -2
- 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-2VAS6VYJ.js → chunk-7L35JISL.js} +3 -3
- package/dist/web/{chunk-4MLPMRXA.js → chunk-7L7DQFHJ.js} +3 -3
- package/dist/web/{chunk-5PZ2XVWL.js → chunk-7Y7FEBKK.js} +3 -3
- package/dist/web/{chunk-LZ723UCB.js → chunk-D2ZG6TZM.js} +3 -3
- package/dist/web/{chunk-TCFHH5TE.js → chunk-DUAFJ3CX.js} +6 -6
- package/dist/web/{chunk-ZPNGHBKB.js → chunk-DY72P3EE.js} +5 -5
- package/dist/web/{chunk-JWMFTRDC.js → chunk-IWDBETXQ.js} +3 -3
- package/dist/web/{chunk-XCQGJYGF.js → chunk-IZCLPO4E.js} +3 -3
- 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-YTXWYWVD.js → chunk-O4IIYGDL.js} +3 -3
- 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-2REWXJEN.js → chunk-SGXLWU4V.js} +5 -5
- 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-DDMDRAD6.js → chunk-VAMCLWLF.js} +6 -6
- package/dist/web/{chunk-LYCLVP26.js → chunk-WBW5E6LC.js} +3 -3
- package/dist/web/{chunk-27CY5EHL.js → chunk-X3MYWPNO.js} +6 -6
- package/dist/web/{chunk-6VKWG5FJ.js → chunk-XMUXOKIP.js} +3 -3
- package/dist/web/{chunk-2NCH2ZDU.js → chunk-XYNURYMC.js} +3 -3
- package/dist/web/{chunk-C7YIQDGQ.js → chunk-Y2W5YG6Y.js} +3 -3
- 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
package/README.md
CHANGED
|
@@ -147,10 +147,10 @@ console.log(typeScale.body) // ['16px', '24px']
|
|
|
147
147
|
|
|
148
148
|
| Component | Description |
|
|
149
149
|
|-----------|-------------|
|
|
150
|
-
| `Button` |
|
|
150
|
+
| `Button` | 17 variants (default, destructive, outline, secondary, ghost, link, glow, surface, cta, cta-gradient, danger-subtle, danger-quiet, hyperlink, h1, h2, h3, quiet), 11 sizes |
|
|
151
151
|
| `Card` | Compositional: Card, CardHeader, CardTitle, CardDescription, CardContent, CardFooter |
|
|
152
152
|
| `Input` | Form text input with focus ring |
|
|
153
|
-
| `Select` | Select (Radix): Select, SelectTrigger, SelectContent, SelectItem, etc. Past four items the list caps its height, scrolls and shows a search field |
|
|
153
|
+
| `Select` | Select (Radix): Select, SelectTrigger, SelectContent, SelectItem, etc. Past four items, the list caps its height, scrolls, and shows a search field |
|
|
154
154
|
| `DropdownMenu` | Dropdown menu (Radix): DropdownMenu, DropdownMenuTrigger, DropdownMenuContent, DropdownMenuItem, etc. Searchable past four items, like `Select` |
|
|
155
155
|
| `Table` | Table, TableHeader, TableBody, TableRow, TableHead, TableCell, etc. `TableHead` takes `sortable`, `sortDirection` (`'asc' \| 'desc' \| 'none'`) and `onSort`, and sets `aria-sort` |
|
|
156
156
|
| `Dialog` | Modal dialog (Radix): Dialog, DialogContent, DialogHeader, DialogTitle, etc. |
|
|
@@ -201,18 +201,53 @@ and `IconGlyph` draws one glyph at the icon scale (`<IconGlyph glyph={Close} siz
|
|
|
201
201
|
| `TrendChart` | Line/area trend chart with a chart/table switch; pass `view` + `onViewChange` to control the view from the host, or leave them out |
|
|
202
202
|
| `WithdrawAmountInput` | Amount card for the withdraw flow; `unitSlot` replaces the unit label with your own control (e.g. a unit picker) inside the card |
|
|
203
203
|
|
|
204
|
-
### Hooks
|
|
204
|
+
### Hooks and functions
|
|
205
|
+
|
|
206
|
+
Every function and hook `kaleido-ui` exports. `tests/docs-accuracy.test.tsx`
|
|
207
|
+
fails when one is missing here.
|
|
205
208
|
|
|
206
209
|
| Hook | Description |
|
|
207
210
|
|------|-------------|
|
|
208
|
-
| `useToast` | Toast state management
|
|
209
|
-
| `useAssetIcon` | Resolves asset ticker to CDN icon URL |
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
|
214
|
-
|
|
211
|
+
| `useToast` | Toast state management; `toast()` shows one |
|
|
212
|
+
| `useAssetIcon` | Resolves an asset ticker to its CDN icon URL |
|
|
213
|
+
| `useCopyToClipboard` | `{ state: 'idle' \| 'copied' \| 'failed', copy, reset }`: a missing or refused clipboard is `failed`, never `copied` |
|
|
214
|
+
| `useMediaQuery` | Whether a media query matches, kept up to date; `false` on the server and in jsdom |
|
|
215
|
+
| `useIsNarrow` | Narrower than the `sm` breakpoint (40rem): a phone |
|
|
216
|
+
| `useThemeMode` | The light/dark mode on the document root, remembered in localStorage (`kaleido-ui:theme`) |
|
|
217
|
+
| `useDiscardGuard` | For a dialog holding unsaved input: closing asks first when there is something to lose |
|
|
218
|
+
| `useDrawerCollapsed` | Whether the surrounding drawer is folded to its icon rail |
|
|
219
|
+
|
|
220
|
+
| Function | Description |
|
|
221
|
+
|----------|-------------|
|
|
215
222
|
| `cn()` | `clsx` + `tailwind-merge`, configured with kaleido-ui's custom scales (`text-title`, `text-icon-md`, `rounded-card`, `shadow-glow-*`, `tracking-eyebrow`) so they are not mistaken for colours and dropped. Use it instead of a local `twMerge`. |
|
|
223
|
+
| `toast()` | Shows a toast (see `useToast`) |
|
|
224
|
+
| `applyThemeMode(mode)` | Puts `.dark` or `.light` on the document root, without the hook |
|
|
225
|
+
| `formatAmount(value, { locale, maximumFractionDigits })` | Groups a number in an explicit locale (default `en-US`): the formatter the amount components share |
|
|
226
|
+
| `formatDisplayAmountText(value, { unit, maxDecimals })` | Formats an amount string for display, keeping its unit suffix (`BTC`, `sats`, `mBTC`) and leaving locale-formatted strings intact |
|
|
227
|
+
| `getAssetIconUrl(ticker, cdnBaseUrl?)` | The CDN icon URL for a ticker (what `useAssetIcon` returns, without React) |
|
|
228
|
+
| `getFallbackAssetIconUrl(seed)` | A generated gradient placeholder icon URL for an asset with no CDN icon |
|
|
229
|
+
| `createIcon(outlined, filled?)` | Builds an `Icon` that ships only the glyphs you pass (see above) |
|
|
230
|
+
| `isIconName(value)` | Whether a string names a glyph in the set |
|
|
231
|
+
| `buttonVariants` | `Button`'s variant classes (cva), for an element that must look like a button |
|
|
232
|
+
| `avatarVariants` | `Avatar`'s size classes (cva) |
|
|
233
|
+
| `cardSurface` | The two card surfaces' classes: `primary` (glass card with edge) and `secondary` (no edge, ranks under a primary card) |
|
|
234
|
+
| `networkChipStyle(network)` | A network's chip fill and ink (`{ backgroundColor, color }`), for any surface that stands for that network |
|
|
235
|
+
| `getActivityNetworkFilterIcon(filter)` | The icon element for an activity network filter |
|
|
236
|
+
| `getAccountNetworkLabel(network)` | `'Mainnet'`, `'Testnet'`, `'Regtest'` or `'Signet'` |
|
|
237
|
+
| `getAccountNetworkUi(network)` | Label plus badge and banner classes for an account's network |
|
|
238
|
+
| `getAccountStatusUi(status)` | Label and classes for an account status (`ready`, `offline`, `optional`) |
|
|
239
|
+
| `defaultClassifyError(error)` | `QueryState`'s fallback classifier: a retryable "Could not load" with the error's message |
|
|
240
|
+
| `activeFiltersLabel(count)` | "1 filter applied", "3 filters applied" |
|
|
241
|
+
| `seriesColor(slot)` | The chart series colour for a slot (`var(--series-N)`) |
|
|
242
|
+
| `chartValueTicks(max, { integer })` | Value-axis ticks from zero whose top is the largest value |
|
|
243
|
+
| `chartLabelIndices(count, maxLabels)` | Category indices that get a label: first and last, evenly spaced between |
|
|
244
|
+
| `foldSegments(segments)` | Keeps the largest five donut segments and folds the rest into "Other" |
|
|
245
|
+
| `trendChartTicks(max)` | `TrendChart`'s value-axis ticks (top = peak) |
|
|
246
|
+
| `trendChartLabelIndices(count, maxLabels)` | `TrendChart`'s time-axis label indices |
|
|
247
|
+
| `kaleidoswapMarkArtwork`, `kaleidoswapLogoHorizontalArtwork`, `kaleidoswapLogoVerticalArtwork` | The logo's `viewBox` and paths, for drawing it outside React |
|
|
248
|
+
|
|
249
|
+
The chart helpers are what the chart components use; they are exported for a
|
|
250
|
+
custom chart that should follow the same axis and colour rules.
|
|
216
251
|
|
|
217
252
|
### Brand utilities (from `kaleido-ui/css`)
|
|
218
253
|
|
|
@@ -7,10 +7,10 @@ import {
|
|
|
7
7
|
} from "./chunk-LPDB7EHH.js";
|
|
8
8
|
import {
|
|
9
9
|
AssetIcon
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-SGXLWU4V.js";
|
|
11
11
|
import {
|
|
12
12
|
NetworkBadge
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-EBQ35SOM.js";
|
|
14
14
|
import {
|
|
15
15
|
eyebrow
|
|
16
16
|
} from "./chunk-MTQOAMDW.js";
|
|
@@ -2,30 +2,33 @@
|
|
|
2
2
|
import {
|
|
3
3
|
DotPagination
|
|
4
4
|
} from "./chunk-6PNGSAJB.js";
|
|
5
|
-
import {
|
|
6
|
-
AssetIcon
|
|
7
|
-
} from "./chunk-2REWXJEN.js";
|
|
8
5
|
import {
|
|
9
6
|
BottomSheet
|
|
10
7
|
} from "./chunk-JYM5NHBA.js";
|
|
8
|
+
import {
|
|
9
|
+
AssetIcon
|
|
10
|
+
} from "./chunk-SGXLWU4V.js";
|
|
11
11
|
import {
|
|
12
12
|
ScrollArea
|
|
13
13
|
} from "./chunk-DCUAE6PX.js";
|
|
14
14
|
import {
|
|
15
15
|
NetworkBadge
|
|
16
|
-
} from "./chunk-
|
|
17
|
-
import {
|
|
18
|
-
GlyphButton
|
|
19
|
-
} from "./chunk-JY3H7ZAI.js";
|
|
16
|
+
} from "./chunk-EBQ35SOM.js";
|
|
20
17
|
import {
|
|
21
18
|
eyebrow
|
|
22
19
|
} from "./chunk-MTQOAMDW.js";
|
|
23
20
|
import {
|
|
24
21
|
LiquidNetworkIcon
|
|
25
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-WBW5E6LC.js";
|
|
23
|
+
import {
|
|
24
|
+
GlyphButton
|
|
25
|
+
} from "./chunk-JY3H7ZAI.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
|
Add,
|
|
31
34
|
ArrowBack,
|
|
@@ -35,9 +38,6 @@ import {
|
|
|
35
38
|
Search,
|
|
36
39
|
SwapCalls
|
|
37
40
|
} from "./chunk-XXH4TYKZ.js";
|
|
38
|
-
import {
|
|
39
|
-
cn
|
|
40
|
-
} from "./chunk-PMGIJMRO.js";
|
|
41
41
|
|
|
42
42
|
// src/web/components/deposit-asset-selection.tsx
|
|
43
43
|
import { useEffect, useState } from "react";
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
InlineSelector
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-YRRZ22OK.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
|
Check,
|
|
10
13
|
ExpandMore
|
|
11
14
|
} from "./chunk-XXH4TYKZ.js";
|
|
12
|
-
import {
|
|
13
|
-
cn
|
|
14
|
-
} from "./chunk-PMGIJMRO.js";
|
|
15
15
|
|
|
16
16
|
// src/web/components/option-selector.tsx
|
|
17
17
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -9,16 +9,19 @@ import {
|
|
|
9
9
|
CopyIcon,
|
|
10
10
|
InvoiceStatusBanner,
|
|
11
11
|
PaidOverlay
|
|
12
|
-
} from "./chunk-
|
|
13
|
-
import {
|
|
14
|
-
GlyphButton
|
|
15
|
-
} from "./chunk-JY3H7ZAI.js";
|
|
12
|
+
} from "./chunk-W4G74KFZ.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";
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
InlineSelector
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-YRRZ22OK.js";
|
|
5
5
|
import {
|
|
6
6
|
IconGlyph
|
|
7
7
|
} from "./chunk-YQQ7GDLZ.js";
|
|
8
|
-
import {
|
|
9
|
-
ExpandMore
|
|
10
|
-
} from "./chunk-XXH4TYKZ.js";
|
|
11
8
|
import {
|
|
12
9
|
cn
|
|
13
10
|
} from "./chunk-PMGIJMRO.js";
|
|
11
|
+
import {
|
|
12
|
+
ExpandMore
|
|
13
|
+
} from "./chunk-XXH4TYKZ.js";
|
|
14
14
|
|
|
15
15
|
// src/web/components/filter-dropdown.tsx
|
|
16
16
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
TableHead,
|
|
7
7
|
TableHeader,
|
|
8
8
|
TableRow
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-DUAFJ3CX.js";
|
|
10
10
|
import {
|
|
11
11
|
DropdownMenu,
|
|
12
12
|
DropdownMenuContent,
|
|
@@ -28,6 +28,9 @@ import {
|
|
|
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
|
BarChart,
|
|
33
36
|
Check,
|
|
@@ -35,9 +38,6 @@ import {
|
|
|
35
38
|
TableRows,
|
|
36
39
|
Tune
|
|
37
40
|
} from "./chunk-XXH4TYKZ.js";
|
|
38
|
-
import {
|
|
39
|
-
cn
|
|
40
|
-
} from "./chunk-PMGIJMRO.js";
|
|
41
41
|
|
|
42
42
|
// src/web/components/charts/core.tsx
|
|
43
43
|
import {
|
|
@@ -1,40 +1,40 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
DepositGeneratedView
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-AU5ZGWGA.js";
|
|
5
5
|
import {
|
|
6
6
|
DepositPreGeneration
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-X3MYWPNO.js";
|
|
8
8
|
import {
|
|
9
9
|
DepositSuccessScreen
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-QGWVZ5NG.js";
|
|
11
11
|
import {
|
|
12
12
|
BtcUnifiedReceive
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-KDNYIMGR.js";
|
|
14
14
|
import {
|
|
15
15
|
AccountChoiceChip,
|
|
16
16
|
MethodChoiceChip,
|
|
17
17
|
NETWORK_CONFIG
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-W4G74KFZ.js";
|
|
19
19
|
import {
|
|
20
20
|
ScrollArea
|
|
21
21
|
} from "./chunk-DCUAE6PX.js";
|
|
22
|
-
import {
|
|
23
|
-
GlyphButton
|
|
24
|
-
} from "./chunk-JY3H7ZAI.js";
|
|
25
22
|
import {
|
|
26
23
|
eyebrow
|
|
27
24
|
} from "./chunk-MTQOAMDW.js";
|
|
25
|
+
import {
|
|
26
|
+
GlyphButton
|
|
27
|
+
} from "./chunk-JY3H7ZAI.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,13 +1,13 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
CopyButton
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-GEXPB5CG.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,13 +1,13 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
OnchainNetworkIcon
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import {
|
|
6
|
-
protocolIcons
|
|
7
|
-
} from "./chunk-WEPSTI3Z.js";
|
|
4
|
+
} from "./chunk-WBW5E6LC.js";
|
|
8
5
|
import {
|
|
9
6
|
cn
|
|
10
7
|
} from "./chunk-PMGIJMRO.js";
|
|
8
|
+
import {
|
|
9
|
+
protocolIcons
|
|
10
|
+
} from "./chunk-WEPSTI3Z.js";
|
|
11
11
|
|
|
12
12
|
// src/web/components/network-badge.tsx
|
|
13
13
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -2,9 +2,6 @@
|
|
|
2
2
|
import {
|
|
3
3
|
InfoPanel
|
|
4
4
|
} from "./chunk-2Q5SSNFO.js";
|
|
5
|
-
import {
|
|
6
|
-
useCopyToClipboard
|
|
7
|
-
} from "./chunk-BGUBHWIO.js";
|
|
8
5
|
import {
|
|
9
6
|
Icon
|
|
10
7
|
} from "./chunk-A6MSV4MA.js";
|
|
@@ -15,10 +12,13 @@ import {
|
|
|
15
12
|
DialogFooter,
|
|
16
13
|
DialogHeader,
|
|
17
14
|
DialogTitle
|
|
18
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-D2ZG6TZM.js";
|
|
19
16
|
import {
|
|
20
17
|
Button
|
|
21
18
|
} from "./chunk-OWSKP527.js";
|
|
19
|
+
import {
|
|
20
|
+
useCopyToClipboard
|
|
21
|
+
} from "./chunk-BGUBHWIO.js";
|
|
22
22
|
|
|
23
23
|
// src/web/components/one-time-secret-dialog.tsx
|
|
24
24
|
import { useEffect } from "react";
|
|
@@ -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-W4G74KFZ.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";
|
|
@@ -5,16 +5,16 @@ import {
|
|
|
5
5
|
import {
|
|
6
6
|
LiquidNetworkIcon,
|
|
7
7
|
OnchainNetworkIcon
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-WBW5E6LC.js";
|
|
9
9
|
import {
|
|
10
10
|
IconGlyph
|
|
11
11
|
} from "./chunk-YQQ7GDLZ.js";
|
|
12
|
-
import {
|
|
13
|
-
ChevronRight
|
|
14
|
-
} from "./chunk-XXH4TYKZ.js";
|
|
15
12
|
import {
|
|
16
13
|
cn
|
|
17
14
|
} from "./chunk-PMGIJMRO.js";
|
|
15
|
+
import {
|
|
16
|
+
ChevronRight
|
|
17
|
+
} from "./chunk-XXH4TYKZ.js";
|
|
18
18
|
|
|
19
19
|
// src/web/components/deposit-network-default-modal.tsx
|
|
20
20
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
NetworkStatusChip
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-CZGN7SQH.js";
|
|
5
5
|
import {
|
|
6
6
|
Dialog,
|
|
7
7
|
DialogContent,
|
|
8
8
|
DialogDescription,
|
|
9
9
|
DialogHeader,
|
|
10
10
|
DialogTitle
|
|
11
|
-
} from "./chunk-
|
|
12
|
-
import {
|
|
13
|
-
Button
|
|
14
|
-
} from "./chunk-OWSKP527.js";
|
|
11
|
+
} from "./chunk-D2ZG6TZM.js";
|
|
15
12
|
import {
|
|
16
13
|
eyebrow
|
|
17
14
|
} from "./chunk-MTQOAMDW.js";
|
|
15
|
+
import {
|
|
16
|
+
Button
|
|
17
|
+
} from "./chunk-OWSKP527.js";
|
|
18
18
|
import {
|
|
19
19
|
IconGlyph
|
|
20
20
|
} from "./chunk-YQQ7GDLZ.js";
|
|
21
|
-
import {
|
|
22
|
-
Settings
|
|
23
|
-
} from "./chunk-XXH4TYKZ.js";
|
|
24
21
|
import {
|
|
25
22
|
cn
|
|
26
23
|
} from "./chunk-PMGIJMRO.js";
|
|
24
|
+
import {
|
|
25
|
+
Settings
|
|
26
|
+
} from "./chunk-XXH4TYKZ.js";
|
|
27
27
|
|
|
28
28
|
// src/web/components/account-status-tabs.tsx
|
|
29
29
|
import { useState } from "react";
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
"use client";
|
|
2
|
+
import {
|
|
3
|
+
TransactionCard
|
|
4
|
+
} from "./chunk-XYNURYMC.js";
|
|
2
5
|
import {
|
|
3
6
|
SwapBadge
|
|
4
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-VNL2QI5B.js";
|
|
5
8
|
import {
|
|
6
9
|
cardSurface
|
|
7
10
|
} from "./chunk-GZZ5KVON.js";
|
|
8
|
-
import {
|
|
9
|
-
TransactionCard
|
|
10
|
-
} from "./chunk-2NCH2ZDU.js";
|
|
11
11
|
import {
|
|
12
12
|
EmptyState
|
|
13
13
|
} from "./chunk-UZ4LWR4X.js";
|
|
14
14
|
import {
|
|
15
15
|
ErrorCard,
|
|
16
16
|
LoadingCard
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-Z3H2FQVX.js";
|
|
18
18
|
import {
|
|
19
19
|
Icon
|
|
20
20
|
} from "./chunk-A6MSV4MA.js";
|
|
21
21
|
import {
|
|
22
22
|
NetworkBadge
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-EBQ35SOM.js";
|
|
24
24
|
import {
|
|
25
25
|
Button
|
|
26
26
|
} from "./chunk-OWSKP527.js";
|
|
@@ -6,13 +6,7 @@ import {
|
|
|
6
6
|
ToastProvider,
|
|
7
7
|
ToastTitle,
|
|
8
8
|
ToastViewport
|
|
9
|
-
} from "./chunk-
|
|
10
|
-
import {
|
|
11
|
-
useToast
|
|
12
|
-
} from "./chunk-TS4UYWJJ.js";
|
|
13
|
-
import {
|
|
14
|
-
useCopyToClipboard
|
|
15
|
-
} from "./chunk-BGUBHWIO.js";
|
|
9
|
+
} from "./chunk-7L35JISL.js";
|
|
16
10
|
import {
|
|
17
11
|
GlyphButton
|
|
18
12
|
} from "./chunk-JY3H7ZAI.js";
|
|
@@ -25,6 +19,12 @@ import {
|
|
|
25
19
|
ContentCopy,
|
|
26
20
|
Error
|
|
27
21
|
} from "./chunk-XXH4TYKZ.js";
|
|
22
|
+
import {
|
|
23
|
+
useCopyToClipboard
|
|
24
|
+
} from "./chunk-BGUBHWIO.js";
|
|
25
|
+
import {
|
|
26
|
+
useToast
|
|
27
|
+
} from "./chunk-TS4UYWJJ.js";
|
|
28
28
|
|
|
29
29
|
// src/web/primitives/toaster.tsx
|
|
30
30
|
import { useEffect, useState } from "react";
|