@ic-pay/icpay-widget 1.2.83 → 1.2.87
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/{amount-input-CxXtbYPB.d.ts → amount-input-3JvxFvnp.d.ts} +3 -2
- package/dist/{chunk-RA6KGDIL.js → chunk-5UZLVWIN.js} +147 -103
- package/dist/chunk-5UZLVWIN.js.map +1 -0
- package/dist/index.d.ts +6 -4
- package/dist/index.js +1 -1
- package/dist/react/index.d.ts +1 -1
- package/dist/react/index.js +1 -1
- package/package.json +6 -3
- package/dist/chunk-RA6KGDIL.js.map +0 -1
|
@@ -56,7 +56,7 @@ type CommonConfig = {
|
|
|
56
56
|
connectedWallet?: any;
|
|
57
57
|
useOwnWallet?: boolean;
|
|
58
58
|
plugNPlay?: PlugNPlayConfig;
|
|
59
|
-
theme?: ThemeConfig;
|
|
59
|
+
theme?: 'light' | 'dark' | ThemeConfig;
|
|
60
60
|
debug?: boolean;
|
|
61
61
|
progressBar?: ProgressBarConfig;
|
|
62
62
|
disablePaymentButton?: boolean;
|
|
@@ -190,7 +190,8 @@ declare class ICPayProgressBar extends LitElement {
|
|
|
190
190
|
private showWalletSelector;
|
|
191
191
|
private isTransitioning;
|
|
192
192
|
private isOnrampFlow;
|
|
193
|
-
theme?: {
|
|
193
|
+
theme?: 'light' | 'dark' | {
|
|
194
|
+
mode?: 'light' | 'dark';
|
|
194
195
|
primaryColor?: string;
|
|
195
196
|
secondaryColor?: string;
|
|
196
197
|
};
|