@deframe-sdk/components 0.1.19 → 0.1.20
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.mts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -1250,6 +1250,8 @@ interface SwapFromCardViewProps {
|
|
|
1250
1250
|
maxFractionDigits?: number;
|
|
1251
1251
|
amountUsdFormatted: string;
|
|
1252
1252
|
isAmountUsdLoading: boolean;
|
|
1253
|
+
/** Optional inline error message consumed by simple variants. */
|
|
1254
|
+
errorMessage?: string;
|
|
1253
1255
|
/** react-hook-form field registration (name, onBlur, ref) */
|
|
1254
1256
|
field?: InputFieldRegistration;
|
|
1255
1257
|
}
|
|
@@ -1377,8 +1379,6 @@ interface SwapFromCardViewSimpleProps extends SwapFromCardViewProps {
|
|
|
1377
1379
|
selectedPercentage?: number | null;
|
|
1378
1380
|
/** Label for the last (100 %) chip. Default: 'Max.' */
|
|
1379
1381
|
maxLabel?: string;
|
|
1380
|
-
/** Custom error message shown in the inline notification */
|
|
1381
|
-
errorMessage?: string;
|
|
1382
1382
|
/** Custom label for the error action button */
|
|
1383
1383
|
errorActionLabel?: string;
|
|
1384
1384
|
/** Called when the error action button is clicked */
|
package/dist/index.d.ts
CHANGED
|
@@ -1250,6 +1250,8 @@ interface SwapFromCardViewProps {
|
|
|
1250
1250
|
maxFractionDigits?: number;
|
|
1251
1251
|
amountUsdFormatted: string;
|
|
1252
1252
|
isAmountUsdLoading: boolean;
|
|
1253
|
+
/** Optional inline error message consumed by simple variants. */
|
|
1254
|
+
errorMessage?: string;
|
|
1253
1255
|
/** react-hook-form field registration (name, onBlur, ref) */
|
|
1254
1256
|
field?: InputFieldRegistration;
|
|
1255
1257
|
}
|
|
@@ -1377,8 +1379,6 @@ interface SwapFromCardViewSimpleProps extends SwapFromCardViewProps {
|
|
|
1377
1379
|
selectedPercentage?: number | null;
|
|
1378
1380
|
/** Label for the last (100 %) chip. Default: 'Max.' */
|
|
1379
1381
|
maxLabel?: string;
|
|
1380
|
-
/** Custom error message shown in the inline notification */
|
|
1381
|
-
errorMessage?: string;
|
|
1382
1382
|
/** Custom label for the error action button */
|
|
1383
1383
|
errorActionLabel?: string;
|
|
1384
1384
|
/** Called when the error action button is clicked */
|