@stripe/stripe-js 1.45.0 → 1.46.0
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/pure.esm.js
CHANGED
package/dist/pure.js
CHANGED
package/dist/stripe.esm.js
CHANGED
package/dist/stripe.js
CHANGED
package/package.json
CHANGED
|
@@ -183,6 +183,15 @@ export interface PaymentWalletsOption {
|
|
|
183
183
|
googlePay?: PaymentWalletOption;
|
|
184
184
|
}
|
|
185
185
|
|
|
186
|
+
export type Layout = 'tabs' | 'accordion' | 'auto';
|
|
187
|
+
|
|
188
|
+
export interface LayoutObject {
|
|
189
|
+
type: Layout;
|
|
190
|
+
defaultCollapsed?: boolean;
|
|
191
|
+
radios?: boolean;
|
|
192
|
+
spacedAccordionItems?: boolean;
|
|
193
|
+
}
|
|
194
|
+
|
|
186
195
|
export interface StripePaymentElementOptions {
|
|
187
196
|
/**
|
|
188
197
|
* Provide initial customer information that will be displayed in the Payment Element.
|
|
@@ -221,6 +230,11 @@ export interface StripePaymentElementOptions {
|
|
|
221
230
|
* Control wallets display in the Payment Element.
|
|
222
231
|
*/
|
|
223
232
|
wallets?: PaymentWalletsOption;
|
|
233
|
+
|
|
234
|
+
/**
|
|
235
|
+
* Specify a layout to use when rendering a Payment Element.
|
|
236
|
+
*/
|
|
237
|
+
layout?: Layout | LayoutObject;
|
|
224
238
|
}
|
|
225
239
|
|
|
226
240
|
export interface StripePaymentElementChangeEvent {
|