@rebilly/instruments 16.271.6 → 16.271.8
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/CHANGELOG.md +3 -3
- package/dist/index.d.ts +7 -16
- package/dist/index.js +4 -4
- package/dist/index.min.js +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
package/dist/index.d.ts
CHANGED
|
@@ -66,17 +66,19 @@ export interface PaymentInstrumentsOptionFlags {
|
|
|
66
66
|
allowDeactivate?: boolean;
|
|
67
67
|
allowUpdate?: boolean;
|
|
68
68
|
allowMakeDefault?: boolean;
|
|
69
|
-
allowCreate?: boolean;
|
|
70
69
|
}
|
|
71
70
|
export interface PaymentCardConfiguration {
|
|
72
71
|
input?: "default" | "split";
|
|
73
72
|
}
|
|
73
|
+
export interface PayPalConfiguration {
|
|
74
|
+
buttonColor?: "gold" | "blue" | "silver" | "white" | "black";
|
|
75
|
+
buttonShape?: "rect" | "pill";
|
|
76
|
+
buttonHeight?: number;
|
|
77
|
+
}
|
|
74
78
|
export interface PaymentInstrumentsDisplayOptions extends PaymentInstrumentsOptionFlags {
|
|
75
79
|
address?: Address;
|
|
76
80
|
paymentCard?: PaymentCardConfiguration;
|
|
77
|
-
paypal?:
|
|
78
|
-
buttonHeight?: number;
|
|
79
|
-
};
|
|
81
|
+
paypal?: PayPalConfiguration;
|
|
80
82
|
googlePay?: DigitalWalletConfiguration;
|
|
81
83
|
applePay?: DigitalWalletConfiguration;
|
|
82
84
|
additionalFields?: {
|
|
@@ -104,7 +106,6 @@ export interface ThemeProperties {
|
|
|
104
106
|
fontSizeBase?: string;
|
|
105
107
|
fontWeightBase?: string;
|
|
106
108
|
fontLineHeightBase?: string;
|
|
107
|
-
fontSmooth?: "auto" | "never" | "always";
|
|
108
109
|
headingFontFamily?: string;
|
|
109
110
|
headingFontWeight?: string;
|
|
110
111
|
headingColorText?: string;
|
|
@@ -129,7 +130,6 @@ export interface ThemeProperties {
|
|
|
129
130
|
buttonSecondaryBorderColor?: string;
|
|
130
131
|
buttonSecondaryBorderWidth?: string;
|
|
131
132
|
buttonSecondaryBorderType?: string;
|
|
132
|
-
buttonSecondaryBorderRadius?: string;
|
|
133
133
|
buttonSecondaryBoxShadow?: string;
|
|
134
134
|
buttonHoverColorBackground?: string;
|
|
135
135
|
buttonHoverColorText?: string;
|
|
@@ -153,7 +153,6 @@ export interface ThemeProperties {
|
|
|
153
153
|
buttonSecondaryHoverBorderColor?: string;
|
|
154
154
|
buttonSecondaryHoverBorderWidth?: string;
|
|
155
155
|
buttonSecondaryHoverBorderType?: string;
|
|
156
|
-
buttonSecondaryHoverBorderRadius?: string;
|
|
157
156
|
buttonSecondaryHoverBoxShadow?: string;
|
|
158
157
|
buttonActiveColorBackground?: string;
|
|
159
158
|
buttonActiveColorText?: string;
|
|
@@ -162,9 +161,6 @@ export interface ThemeProperties {
|
|
|
162
161
|
buttonActiveFontLineHeight?: string;
|
|
163
162
|
buttonActiveFontWeight?: string;
|
|
164
163
|
buttonActiveBorder?: string;
|
|
165
|
-
buttonActiveBorderColor?: string;
|
|
166
|
-
buttonActiveBorderWidth?: string;
|
|
167
|
-
buttonActiveBorderType?: string;
|
|
168
164
|
buttonActiveBorderRadius?: string;
|
|
169
165
|
buttonActiveBoxShadow?: string;
|
|
170
166
|
buttonSecondaryActiveColorBackground?: string;
|
|
@@ -172,12 +168,7 @@ export interface ThemeProperties {
|
|
|
172
168
|
buttonSecondaryActiveFontFamily?: string;
|
|
173
169
|
buttonSecondaryActiveFontSize?: string;
|
|
174
170
|
buttonSecondaryActiveFontLineHeight?: string;
|
|
175
|
-
buttonSecondaryActiveFontWeight?: string;
|
|
176
171
|
buttonSecondaryActiveBorder?: string;
|
|
177
|
-
buttonSecondaryActiveBorderColor?: string;
|
|
178
|
-
buttonSecondaryActiveBorderWidth?: string;
|
|
179
|
-
buttonSecondaryActiveBorderType?: string;
|
|
180
|
-
buttonSecondaryActiveBorderRadius?: string;
|
|
181
172
|
buttonSecondaryActiveBoxShadow?: string;
|
|
182
173
|
inputColorBackground?: string;
|
|
183
174
|
inputColorText?: string;
|
|
@@ -282,7 +273,7 @@ declare class RebillyInstruments {
|
|
|
282
273
|
setup: (data: any) => Promise<void>;
|
|
283
274
|
on: (eventName: string, callback: Function) => void;
|
|
284
275
|
show: (componentName: string, data: any) => Promise<void>;
|
|
285
|
-
version:
|
|
276
|
+
version: string;
|
|
286
277
|
}
|
|
287
278
|
declare const RebillyInstrumentsInstance: RebillyInstruments;
|
|
288
279
|
|