@unifold/ui-react 0.1.18 → 0.1.19
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 +271 -154
- package/dist/index.mjs +285 -158
- package/dist/styles-base.css +1 -1
- package/dist/styles.css +1 -1
- package/package.json +2 -2
package/dist/index.d.mts
CHANGED
|
@@ -30,7 +30,7 @@ interface DepositModalProps {
|
|
|
30
30
|
error?: unknown;
|
|
31
31
|
code?: string;
|
|
32
32
|
}) => void;
|
|
33
|
-
theme?:
|
|
33
|
+
theme?: "light" | "dark" | "auto";
|
|
34
34
|
}
|
|
35
35
|
declare function DepositModal({ open, onOpenChange, userId, publishableKey, modalTitle, destinationTokenSymbol, recipientAddress, destinationChainType, destinationChainId, destinationTokenAddress, hideDepositTracker, onDepositSuccess, onDepositError, theme, }: DepositModalProps): react_jsx_runtime.JSX.Element;
|
|
36
36
|
|
|
@@ -313,7 +313,7 @@ declare function useAllowedCountry(publishableKey?: string): AllowedCountryResul
|
|
|
313
313
|
interface ThemeContextValue {
|
|
314
314
|
themeClass: string;
|
|
315
315
|
}
|
|
316
|
-
declare function ThemeProvider({ children, themeClass }: {
|
|
316
|
+
declare function ThemeProvider({ children, themeClass, }: {
|
|
317
317
|
children: React.ReactNode;
|
|
318
318
|
themeClass: string;
|
|
319
319
|
}): react_jsx_runtime.JSX.Element;
|
package/dist/index.d.ts
CHANGED
|
@@ -30,7 +30,7 @@ interface DepositModalProps {
|
|
|
30
30
|
error?: unknown;
|
|
31
31
|
code?: string;
|
|
32
32
|
}) => void;
|
|
33
|
-
theme?:
|
|
33
|
+
theme?: "light" | "dark" | "auto";
|
|
34
34
|
}
|
|
35
35
|
declare function DepositModal({ open, onOpenChange, userId, publishableKey, modalTitle, destinationTokenSymbol, recipientAddress, destinationChainType, destinationChainId, destinationTokenAddress, hideDepositTracker, onDepositSuccess, onDepositError, theme, }: DepositModalProps): react_jsx_runtime.JSX.Element;
|
|
36
36
|
|
|
@@ -313,7 +313,7 @@ declare function useAllowedCountry(publishableKey?: string): AllowedCountryResul
|
|
|
313
313
|
interface ThemeContextValue {
|
|
314
314
|
themeClass: string;
|
|
315
315
|
}
|
|
316
|
-
declare function ThemeProvider({ children, themeClass }: {
|
|
316
|
+
declare function ThemeProvider({ children, themeClass, }: {
|
|
317
317
|
children: React.ReactNode;
|
|
318
318
|
themeClass: string;
|
|
319
319
|
}): react_jsx_runtime.JSX.Element;
|