@chainberry/ui-components 1.0.43 → 1.0.44

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
@@ -1915,6 +1915,8 @@ export declare function ReportSummaryGroup({ summaries, className, }: {
1915
1915
 
1916
1916
  declare type ReportView = 'volume' | 'transactions';
1917
1917
 
1918
+ export declare const RISK_ICONS: Record<RiskLevel, string>;
1919
+
1918
1920
  declare const RISK_OPTIONS: {
1919
1921
  value: RiskLevel_2;
1920
1922
  label: string;
@@ -1945,10 +1947,16 @@ declare interface RiskAssessment_2 {
1945
1947
  /** Outcome of the KYT/risk engine — drives the RiskAssessment status chip. */
1946
1948
  declare type RiskDecision = 'auto-approved' | 'approved' | 'manual-review' | 'flagged' | 'rejected' | 'pending';
1947
1949
 
1950
+ export declare const riskHighSrc: string;
1951
+
1948
1952
  export declare type RiskLevel = "low" | "medium" | "high";
1949
1953
 
1950
1954
  declare type RiskLevel_2 = 'low' | 'medium' | 'high';
1951
1955
 
1956
+ export declare const riskLowSrc: string;
1957
+
1958
+ export declare const riskMediumSrc: string;
1959
+
1952
1960
  export declare function RiskSignal({ level, score, colored, className, }: {
1953
1961
  level: RiskLevel;
1954
1962
  score?: number;
@@ -1957,6 +1965,9 @@ export declare function RiskSignal({ level, score, colored, className, }: {
1957
1965
  className?: string;
1958
1966
  }): JSX.Element;
1959
1967
 
1968
+ /** Asset src for a risk level; `undefined` for anything off the scale. */
1969
+ export declare function riskSrc(level: string): string | undefined;
1970
+
1960
1971
  export declare const SAMPLE_NOTIFICATIONS: NotificationItemData[];
1961
1972
 
1962
1973
  /** Saved / named destination addresses (allow-list). Scoped per coin+network. */