@stripe/stripe-js 1.22.0 → 1.23.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 +1 -1
- package/dist/pure.js +1 -1
- package/dist/stripe.esm.js +1 -1
- package/dist/stripe.js +1 -1
- package/package.json +1 -1
- package/types/stripe-js/elements/affirm-message.d.ts +5 -0
- package/types/stripe-js/elements/link-authentication.d.ts +7 -0
- package/types/stripe-js/elements-group.d.ts +4 -0
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
|
@@ -57,4 +57,9 @@ export interface StripeAffirmMessageElementOptions {
|
|
|
57
57
|
* The font size of the promotional message.
|
|
58
58
|
*/
|
|
59
59
|
fontSize?: string;
|
|
60
|
+
|
|
61
|
+
/**
|
|
62
|
+
* The text alignment of the promotional message.
|
|
63
|
+
*/
|
|
64
|
+
textAlign?: 'start' | 'end' | 'left' | 'right' | 'center' | 'justify';
|
|
60
65
|
}
|
|
@@ -107,4 +107,11 @@ export interface StripeLinkAuthenticationElementChangeEvent
|
|
|
107
107
|
* Whether or not the LinkAuthentication Element is complete.
|
|
108
108
|
*/
|
|
109
109
|
complete: boolean;
|
|
110
|
+
|
|
111
|
+
/**
|
|
112
|
+
* An object containing the current email.
|
|
113
|
+
*/
|
|
114
|
+
value: {
|
|
115
|
+
email: string;
|
|
116
|
+
};
|
|
110
117
|
}
|
|
@@ -537,6 +537,8 @@ export interface CustomFontSource {
|
|
|
537
537
|
* @docs https://stripe.com/docs/stripe-js/appearance-api
|
|
538
538
|
*/
|
|
539
539
|
export interface Appearance {
|
|
540
|
+
disableAnimations?: boolean;
|
|
541
|
+
|
|
540
542
|
theme?: 'stripe' | 'night' | 'flat' | 'none';
|
|
541
543
|
|
|
542
544
|
variables?: {
|
|
@@ -620,4 +622,6 @@ export interface Appearance {
|
|
|
620
622
|
[cssPropertyName: string]: string;
|
|
621
623
|
};
|
|
622
624
|
};
|
|
625
|
+
|
|
626
|
+
labels?: 'above' | 'floating';
|
|
623
627
|
}
|