1.1.2 (2021-11-19)
- widget: add customer interest in first and next amount (2a54db7)
1.1.1 (2021-10-13)
- eligibility: change default minAmount rules (504f623)
1.1.0 (2021-09-28)
- multiply-sign: replace by a svg (acb2581)
- p10x: handle customer_interest (0f6b97b)
- p10x: use customer_interest in total amount calculation (f39a0e1)
- p10x: add legal credit text (89985a8)
1.0.2 (2020-12-10)
- add some more styles reset to protect widgets from host's CSS (c2a560a)
- change rem for px on all dimensions to avoid depending on host's CSS (ddf486d)
1.0.1 (2020-12-09)
- readme: remove TypeScript starter lib's readme and re-release to NPM (7952cc4)
- fix modal close callback not being bound to
this
(f064300) - fix modal showing a vertical scrollbar because of card logos (9f3b4c1)
- payment-plans: make it clearer, which plan is active (753b687)
- improve display for smaller widths (597ed44)
- various fixes (2ed56c5)
-
payment-plans: allow deactivation of auto transition between plans (2ddb1d0)
-
feat(payment-plans)!: display payment plans information in a compact way (ce3d1eb)
-
refactor!: make PaymentPlans widget follow new architecture for preact rendering (5749be5)
-
feat!: complete overhaul of the "How It Works" widget (6bef49a)
-
refactor!: make Widget render a preact-based renderer component (ea771c2)
- new design for the widget means its external API & settings have changed completely.
- because of its new design, the widget now accepts less settings and is prepared for more complex use cases to come such as PayLater support
-
- The widget imposes its design/layout and, to maintain Alma's branding, is not customizable anymore.
- Settings have been reduced to the bare necessary.
- The widget now only generates a modal (used to render a clickable
title that triggered the modal); it must be controlled by the
implementer using its
show
property.
- Heavy refactoring introduces multiple breaking changes:
WidgetsController.create
renamed toadd
- Widget class internal methods have change;
refresh
is removed andrender
made the main rendering entrypoint - Widget subclasses must now implement a
renderComponent
method to implement their rendering