Richard Hulm
6e4734614d
react-stripe-elements - Add correct typings to creating a source object ( #25169 )
...
* Update typings. Ensure the createSource typings are better, using the types from the main stripe package. Also update the injectStripe type to be more flexible in how it can be used, ensuring it allows components with state to be used
* Tabs not spaces
2018-04-21 05:31:33 +12:00
Ray Vanderborght
d6aa691771
Give elementRef an argument
...
In order to support doing things like clearing card input fields.
See: https://github.com/stripe/react-stripe-elements/issues/26
2018-03-16 16:13:22 -07:00
Thomas Chia
37d658df18
[react-stripe-elements] - allow id prop to be passed to *Element components.
2018-03-04 11:02:36 +08:00
Benjamin Lichtman
ce28a52d41
Merge pull request #23890 from 9Y5/add-stripe-props-provider
...
@types/stripe-react-elements: add `stripe` to `props` on `StripeProvider`
2018-03-02 16:18:01 -08:00
Benjamin Lichtman
ea6076a192
Merge pull request #23563 from benstevens48/update-stripe-v3
...
Add 3D Secure and Payment Request types to stripe-v3
2018-02-26 09:36:41 -08:00
Andrew G
9e629aa4b5
Use back StripeProps instead of stripe.Stripe. It's more accurate.
2018-02-25 02:31:19 +08:00
Andrew G
f284533041
It should allow nullable props.stripe also.
2018-02-25 01:26:34 +08:00
Andrew G
bc31f6523b
* Removed StripeProps and use stripe.Stripe from @types/stripe-v3.
...
* Add `props.stripe` to StripeProviderProps
* Updated tests.
2018-02-25 00:47:27 +08:00
Andy Hanson
45c9246c09
Remove esModuleInterop from tsconfigs (no longer mandatory)
2018-02-14 14:55:13 -08:00
Forbes Lindesay
8f8f6c4392
[react] Use HTMLDialogElement for the dialog node ( #23053 )
...
* [react] Use HTMLDialogElement for the dialog node
* Actually add the `open` property
* This update requires typescript 2.6
* Update dependents of react to also require typescript 2.6
2018-02-12 12:55:52 +00:00
Ben Stevens
7f68bf98d7
fix react-stripe-elements compatibility with updated stripe-v3
2018-02-11 20:55:56 +00:00
Andy
bef4d2b27d
Enable "esModuleInterop" in all tsconfigs ( #23354 )
2018-02-05 11:01:56 -08:00
sonnysangha
117bff6e3c
Update @types/react-stripe-elements/index.d.ts ( #21830 )
...
* Update index.d.ts for PaymentRequestButtonElement
Update the type definitions to support the PaymentRequestButtonElement in react-stripe-elements as currently they are outdated.
* Fix lint errors
2018-01-02 22:51:42 -08:00
Santiago Doldan
fe6e2272bb
Add missing Elements props to react-stripe-elements
2017-12-14 13:07:21 -03:00
Andy
ff3e5a7d37
react-stripe-elements: Fix lint ( #20940 )
2017-10-23 16:49:29 -07:00
Andy
947a8fb761
Enable strictFunctionTypes ( #20373 )
2017-10-06 14:03:03 -07:00
Dan
cbc7de114f
Added dependency on typescript 2.3
2017-09-20 12:34:23 +10:00
Dan
188780ba18
Added definitions for 'react-stripe-elements'
2017-09-20 11:57:42 +10:00