@chainberry/ui-components 1.0.39 → 1.0.40

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
@@ -1841,9 +1841,12 @@ export declare type RiskLevel = "low" | "medium" | "high";
1841
1841
 
1842
1842
  declare type RiskLevel_2 = 'low' | 'medium' | 'high';
1843
1843
 
1844
- export declare function RiskSignal({ level, score }: {
1844
+ export declare function RiskSignal({ level, score, colored, className, }: {
1845
1845
  level: RiskLevel;
1846
1846
  score?: number;
1847
+ /** Paint the lit bars in the level's tone instead of slate. */
1848
+ colored?: boolean;
1849
+ className?: string;
1847
1850
  }): JSX.Element;
1848
1851
 
1849
1852
  export declare const SAMPLE_NOTIFICATIONS: NotificationItemData[];
@@ -2713,11 +2716,14 @@ export declare namespace withdrawData {
2713
2716
  }
2714
2717
  }
2715
2718
 
2716
- export declare function WithdrawHistoryTable({ data, className, onRowClick, }: {
2719
+ export declare function WithdrawHistoryTable({ data, className, onRowClick, amountTone, emptyMessage, }: {
2717
2720
  data: WithdrawalRecord[];
2718
2721
  className?: string;
2719
2722
  /** click a row to open its Activity details panel */
2720
2723
  onRowClick?: (row: WithdrawalRecord) => void;
2724
+ /** "outflow" paints the figure red; "neutral" leaves it in the body colour */
2725
+ amountTone?: "outflow" | "neutral";
2726
+ emptyMessage?: string;
2721
2727
  }): JSX.Element;
2722
2728
 
2723
2729
  export declare function WithdrawPanel({ currentUser, onSubmit, className, }: {
@@ -2728,7 +2734,9 @@ export declare function WithdrawPanel({ currentUser, onSubmit, className, }: {
2728
2734
  className?: string;
2729
2735
  }): JSX.Element;
2730
2736
 
2731
- export declare function WithdrawSummary({ coin, network, networkName, amount, amountFiat, from, to, footer, className, }: {
2737
+ export declare function WithdrawSummary({ title, description, coin, network, networkName, amount, amountFiat, from, to, footer, className, }: {
2738
+ title?: string;
2739
+ description?: string;
2732
2740
  coin: string | null;
2733
2741
  network: string | null;
2734
2742
  networkName?: string;