3.3.0 (2022-08-22)
3.2.1 (2022-08-17)
3.2.0 (2022-06-21)
3.1.0 (2022-06-02)
stripe-account
attr (929edb0)
3.0.0 (2022-02-15)
- migrate to stripe npm, with
window.Stripe
fallback
remove ShadyDOM support
remove ReadOnlyMixin
and LitNotifyMixin
in favour of decorators
- private
setReadonlyProperties
removed
move breadcrumb code to a controller.
remove deprecated properties
isComplete
=> `completeisEmpty
=>empty
card
=>element
stripeReady
=>ready
hasError
=>error
remove deprecated events
stripe-ready
=>ready
stripe-error
=>error
stripe-payment-method
=>payment-method
stripe-source
=>source
stripe-token
=>token
3.0.0-next.3 (2022-02-15)
- update docs (e34687d)
3.0.0-next.2 (2022-02-15)
- update deps (2c34c91)
3.0.0-next.1 (2022-02-11)
- feat!: load stripe automatically (eee9c53)
- migrate to stripe npm, with
window.Stripe
fallback
remove ShadyDOM support
remove ReadOnlyMixin
and LitNotifyMixin
in favour of decorators
- private
setReadonlyProperties
removed
move breadcrumb code to a controller.
remove deprecated properties
isComplete
=> `completeisEmpty
=>empty
card
=>element
stripeReady
=>ready
hasError
=>error
remove deprecated events
stripe-ready
=>ready
stripe-error
=>error
stripe-payment-method
=>payment-method
stripe-source
=>source
stripe-token
=>token
2.3.12 (2021-10-03)
- package lib for npm (a22db41)
2.3.11 (2021-10-03)
- package types when building (f3c8d2c)
2.3.10 (2021-10-03)
- typescript types (475a2ac)
2.3.9 (2021-08-31)
2.3.8 (2020-12-30)
- update payment request amount (0c55cf7)
2.3.7 (2020-04-22)
- publish typescript declarations (4ad010a)
2.3.6 (2020-04-22)
- migrate to typescript (1b63924)
2.3.5 (2020-02-25)
- update and unpatch notify mixin (f346dd6)
2.3.4 (2020-02-24)
- some notifying props now fire changed events properly (1046da6)
2.3.3 (2020-02-13)
- unmount element when disconnected from the DOM (1330f45)
2.3.2 (2020-02-09)
2.3.1 (2020-02-08)
- patch types to extend LitElement properly (6b2e8cf)
2.3.0 (2020-01-29)
- prevent typeerror if payment is unsupported (d9f1146)
- payment-request: add
unsupported
event (de6555b)
2.2.4 (2020-01-29)
- more semantic HTML for error output (21443f5)
- unmount element before removing mountpoints when initializing (8f2dd6f)
2.2.3 (2020-01-27)
- fix patch-package script (e347aaa)
2.2.2 (2020-01-27)
- fix typescript typings (f3cb81e)
2.2.1 (2020-01-25)
- export ts typings (487c04c)
2.2.0 (2020-01-25)
- add
stripe
anderror
css shadow parts. (46013a2) - add stripe-payment-request element (32cdd0d)
- adds ready and focused propertie; blur and focus methods (26f6e2a)
- reflect error message to attr (bf3df77)
- stripe-elements: add
ready
readOnly notifying prop (279d603) - stripe-elements: adds
complete
,empty
, &invalid
properties (b7c3f12)
2.1.1 (2020-01-21)
2.1.0 (2020-01-20)
2.0.2 (2020-01-19)
- fix DOM rebuilding for broken light slot template (56b6a69)
2.0.1 (2020-01-06)
- instantiating with a key no longer breaks tree walking (0ab1a56)
2.0.0 (2019-12-22)
- removes
submit
method
Before:
submitButton.addEventListener('click', () => stripeElements.submit())
After:
getTokenButton.addEventListener('click', () => stripeElements.createToken())
getSourceButton.addEventListener('click', () =>
stripeElements.createSource())
- removes error display unless show-error is set.
Previously, stripe elements would display the error message within it's shadow DOM. To continue to use that feature, set
<stripe-elements show-error></stripe-elements>
Also adds a error
CSS Shadow Part
stripe-elements::part(error) {
font-color: red;
}
- add createSource method (5cc03ab)
- add data param to createToken & createSouce (5a1b043)
- add show-error boolean attribute (6fedf77)
- set validation state initially (b4b2b0b)