@chainberry/ui-components 1.0.21 → 1.0.22

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/index.d.ts CHANGED
@@ -218,10 +218,8 @@ declare type AssetOption = {
218
218
  declare type AssetSlice = {
219
219
  /** asset code, e.g. "USDT" */
220
220
  code: string;
221
- /** whole-number percentage of the total */
222
- percent: number;
223
- /** formatted fiat value for this slice, e.g. "$359.68" (for tooltips) */
224
- amount?: string;
221
+ amount: number;
222
+ label: string;
225
223
  };
226
224
 
227
225
  export declare function AssetValue({ value, code, icon, className, }: {
@@ -347,7 +345,7 @@ declare interface BlockchainDetails_2 {
347
345
  direction: string;
348
346
  }
349
347
 
350
- export declare type BlockchainField = 'from' | 'fromWallet' | 'fromTag' | 'to' | 'toWallet' | 'toTag' | 'hash' | 'fee';
348
+ export declare type BlockchainField = 'from' | 'fromWallet' | 'fromTag' | 'to' | 'toWallet' | 'toTag' | 'hash';
351
349
 
352
350
  export declare function Button({ className, variant, size, asChild, ...props }: React_2.ComponentProps<"button"> & VariantProps<typeof buttonVariants> & {
353
351
  asChild?: boolean;
@@ -495,10 +493,20 @@ declare type ConversionRecord = {
495
493
  time: string;
496
494
  /** team member who initiated it */
497
495
  initiator: string;
498
- /** wallet the funds were converted from */
499
- wallet: string;
496
+ /** named source wallet the funds were converted from, e.g. "Low Risk Wallet" */
497
+ fromWallet: string;
498
+ /** source wallet's on-chain address (rendered truncated, copyable in full) */
499
+ fromAddress: string;
500
500
  fromCoin: string;
501
+ /** network the source coin sat on, e.g. "ETH" / "TRON" */
502
+ fromNetwork: string;
503
+ /** named destination wallet that received the converted asset */
504
+ toWallet: string;
505
+ /** destination wallet's on-chain address */
506
+ toAddress: string;
501
507
  toCoin: string;
508
+ /** network the destination coin lands on */
509
+ toNetwork: string;
502
510
  /** signed from figure — an outflow, e.g. "-2.00" */
503
511
  fromAmount: string;
504
512
  /** signed to figure — an inflow, e.g. "+6,229.32" */
@@ -633,10 +641,9 @@ declare type DailyBalance = {
633
641
  otherWithdrawals: string;
634
642
  };
635
643
 
636
- export declare function DailyBalancesTable({ data, pageSize, }: {
644
+ export declare function DailyBalancesTable({ data, show, }: {
637
645
  data: DailyBalance[];
638
- /** paginate when set; omit to render every row */
639
- pageSize?: number;
646
+ show?: Record<string, boolean>;
640
647
  }): JSX.Element;
641
648
 
642
649
  export declare function DataTable<T>({ columns, data, getRowId, layout, density, pageSize, totalItems, currentPage, onPageChange, loading, skeletonRows, columnVisibility: columnVisibilityProp, onRowClick, rowLeading, emptyMessage, toolbarBelow, sort, onSortChange, }: DataTableProps<T>): JSX.Element;
@@ -1525,10 +1532,10 @@ export declare function PeriodPicker({ value, onChange, today, className, }: {
1525
1532
  pinned to the first of the month; ranges carry an inclusive from/to and, when
1526
1533
  chosen from a preset (e.g. "Last 7 days"), the preset's label for display. */
1527
1534
  declare type PeriodSelection = {
1528
- mode: "month";
1535
+ mode: 'month';
1529
1536
  month: Date;
1530
1537
  } | {
1531
- mode: "range";
1538
+ mode: 'range';
1532
1539
  from: Date;
1533
1540
  to: Date;
1534
1541
  label?: string;
@@ -1721,7 +1728,7 @@ export declare function ReportSummaryGroup({ summaries, className, }: {
1721
1728
  className?: string;
1722
1729
  }): JSX.Element;
1723
1730
 
1724
- declare type ReportView = "volume" | "transactions";
1731
+ declare type ReportView = 'volume' | 'transactions';
1725
1732
 
1726
1733
  declare const RISK_OPTIONS: {
1727
1734
  value: RiskLevel_2;