Skip to content
This repository has been archived by the owner on Apr 11, 2024. It is now read-only.

Latest commit

 

History

History
84 lines (50 loc) · 4.32 KB

CHANGELOG.md

File metadata and controls

84 lines (50 loc) · 4.32 KB

1.1.2 (2021-11-19)

Bug Fixes

  • widget: add customer interest in first and next amount (2a54db7)

1.1.1 (2021-10-13)

Bug Fixes

  • eligibility: change default minAmount rules (504f623)

1.1.0 (2021-09-28)

Bug Fixes

  • multiply-sign: replace by a svg (acb2581)
  • p10x: handle customer_interest (0f6b97b)
  • p10x: use customer_interest in total amount calculation (f39a0e1)

Features

  • p10x: add legal credit text (89985a8)

1.0.2 (2020-12-10)

Bug Fixes

  • 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)

Bug Fixes

  • readme: remove TypeScript starter lib's readme and re-release to NPM (7952cc4)

1.0.0 (2020-12-09)

Bug Fixes

  • 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)

Features

  • 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)

BREAKING CHANGES

  • 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 to add
  • Widget class internal methods have change; refresh is removed and render made the main rendering entrypoint
  • Widget subclasses must now implement a renderComponent method to implement their rendering