@chainberry/ui-components 1.0.30 → 1.0.32
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.cjs +1 -1
- package/dist/index.d.ts +34 -6
- package/dist/index.mjs +21143 -21312
- package/dist/styles.css +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -414,7 +414,7 @@ declare const COINS_2: Coin_2[];
|
|
|
414
414
|
/** Withdrawable assets and the networks each can move over. */
|
|
415
415
|
declare const COINS_3: Coin_3[];
|
|
416
416
|
|
|
417
|
-
/**
|
|
417
|
+
/** The asset logo for a code, or undefined when we have no artwork for it. */
|
|
418
418
|
export declare function coinSrc(code: string): string | undefined;
|
|
419
419
|
|
|
420
420
|
export declare type Column<T> = {
|
|
@@ -536,9 +536,11 @@ export declare namespace convertData {
|
|
|
536
536
|
}
|
|
537
537
|
}
|
|
538
538
|
|
|
539
|
-
export declare function ConvertHistoryTable({ data, className, }: {
|
|
539
|
+
export declare function ConvertHistoryTable({ data, className, onRowClick, }: {
|
|
540
540
|
data: ConversionRecord[];
|
|
541
541
|
className?: string;
|
|
542
|
+
/** click a row to open its Activity details panel */
|
|
543
|
+
onRowClick?: (row: ConversionRecord) => void;
|
|
542
544
|
}): JSX.Element;
|
|
543
545
|
|
|
544
546
|
export declare function ConvertPanel({ currentUser, onSubmit, className, }: {
|
|
@@ -735,9 +737,11 @@ export declare namespace depositData {
|
|
|
735
737
|
}
|
|
736
738
|
}
|
|
737
739
|
|
|
738
|
-
export declare function DepositHistoryTable({ data, className, }: {
|
|
740
|
+
export declare function DepositHistoryTable({ data, className, onRowClick, }: {
|
|
739
741
|
data: DepositRecord[];
|
|
740
742
|
className?: string;
|
|
743
|
+
/** click a row to open its Activity details panel */
|
|
744
|
+
onRowClick?: (row: DepositRecord) => void;
|
|
741
745
|
}): JSX.Element;
|
|
742
746
|
|
|
743
747
|
export declare function DepositPanel({ className }: {
|
|
@@ -1137,6 +1141,16 @@ export declare const ICONS: {
|
|
|
1137
1141
|
}][] | readonly (readonly [string, {
|
|
1138
1142
|
readonly [key: string]: string | number;
|
|
1139
1143
|
}])[];
|
|
1144
|
+
wallet03: [string, {
|
|
1145
|
+
[key: string]: string | number;
|
|
1146
|
+
}][] | readonly (readonly [string, {
|
|
1147
|
+
readonly [key: string]: string | number;
|
|
1148
|
+
}])[];
|
|
1149
|
+
arrowupright: [string, {
|
|
1150
|
+
[key: string]: string | number;
|
|
1151
|
+
}][] | readonly (readonly [string, {
|
|
1152
|
+
readonly [key: string]: string | number;
|
|
1153
|
+
}])[];
|
|
1140
1154
|
useraccount: [string, {
|
|
1141
1155
|
[key: string]: string | number;
|
|
1142
1156
|
}][] | readonly (readonly [string, {
|
|
@@ -1270,6 +1284,16 @@ declare const icons: {
|
|
|
1270
1284
|
}][] | readonly (readonly [string, {
|
|
1271
1285
|
readonly [key: string]: string | number;
|
|
1272
1286
|
}])[];
|
|
1287
|
+
wallet03: [string, {
|
|
1288
|
+
[key: string]: string | number;
|
|
1289
|
+
}][] | readonly (readonly [string, {
|
|
1290
|
+
readonly [key: string]: string | number;
|
|
1291
|
+
}])[];
|
|
1292
|
+
arrowupright: [string, {
|
|
1293
|
+
[key: string]: string | number;
|
|
1294
|
+
}][] | readonly (readonly [string, {
|
|
1295
|
+
readonly [key: string]: string | number;
|
|
1296
|
+
}])[];
|
|
1273
1297
|
useraccount: [string, {
|
|
1274
1298
|
[key: string]: string | number;
|
|
1275
1299
|
}][] | readonly (readonly [string, {
|
|
@@ -1789,8 +1813,9 @@ export declare type RiskLevel = "low" | "medium" | "high";
|
|
|
1789
1813
|
|
|
1790
1814
|
declare type RiskLevel_2 = 'low' | 'medium' | 'high';
|
|
1791
1815
|
|
|
1792
|
-
export declare function RiskSignal({ level }: {
|
|
1816
|
+
export declare function RiskSignal({ level, score }: {
|
|
1793
1817
|
level: RiskLevel;
|
|
1818
|
+
score?: number;
|
|
1794
1819
|
}): JSX.Element;
|
|
1795
1820
|
|
|
1796
1821
|
export declare const SAMPLE_NOTIFICATIONS: NotificationItemData[];
|
|
@@ -1810,9 +1835,10 @@ declare type SavedAddress = {
|
|
|
1810
1835
|
address: string;
|
|
1811
1836
|
};
|
|
1812
1837
|
|
|
1813
|
-
export declare function SavedPresetsBar({ presets, activeId,
|
|
1838
|
+
export declare function SavedPresetsBar({ presets, activeId, onToggle, onDelete, onCreateView, onReset, resetDisabled, }: {
|
|
1814
1839
|
presets: PresetDef[];
|
|
1815
1840
|
activeId: string | null;
|
|
1841
|
+
/** reserved for the per-preset count badge (currently commented out below) */
|
|
1816
1842
|
getCount: (preset: PresetDef) => number;
|
|
1817
1843
|
onToggle: (id: string) => void;
|
|
1818
1844
|
onDelete: (id: string) => void;
|
|
@@ -2577,9 +2603,11 @@ export declare namespace withdrawData {
|
|
|
2577
2603
|
}
|
|
2578
2604
|
}
|
|
2579
2605
|
|
|
2580
|
-
export declare function WithdrawHistoryTable({ data, className, }: {
|
|
2606
|
+
export declare function WithdrawHistoryTable({ data, className, onRowClick, }: {
|
|
2581
2607
|
data: WithdrawalRecord[];
|
|
2582
2608
|
className?: string;
|
|
2609
|
+
/** click a row to open its Activity details panel */
|
|
2610
|
+
onRowClick?: (row: WithdrawalRecord) => void;
|
|
2583
2611
|
}): JSX.Element;
|
|
2584
2612
|
|
|
2585
2613
|
export declare function WithdrawPanel({ currentUser, onSubmit, className, }: {
|