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

v1.0.0

Compare
Choose a tag to compare
@olance olance released this 09 Dec 11:23
· 80 commits to master since this release

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