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

Releases: alma/alma-widgets

v2.0.0

01 Dec 11:13
Compare
Choose a tag to compare

2.0.0 (2021-12-01)

Bug Fixes

  • (widget): fix css & eligibility filter (b2c2399)
  • button: fix animation (930b830)
  • button: fix animation + tests (ea3616b)
  • button: prevent opening modal when there is no eligible plan (ec352f3)
  • dist: remove dist from gitignore (797d746)
  • example: remove old background (d2d18f8)
  • example: simpler example page (75bef6d)
  • general: fixed render (0ddd9f8)
  • gitignore: remove dist from git cache (c14dbb2)
  • i18n: use IntlProvider (d48811d)
  • modal: display customer fee for pnx (b20497e)
  • style: repair broken CSS (4228091)
  • widget: remove default plans - fixed loader - remove reload (95612af)
  • remove useless code (8b1e371)

Documentation

Features

  • (widgets): added basic widgets (2e53ea4)
  • button: added active option handling & info msg (d3bada5)
  • button: added default config + transition delay (3ad73a4)
  • button: added plan configuration (47e7bfc)
  • button: filter p1x and send only active plans to modal (6189bf0)
  • button: hide if not applicable (8336fef)
  • fetch: handle pending and error on api call (99bb8a4)
  • i18n: add crowdin with translations (3fe699e)
  • i18n: add locale in options and add all translations (5d51331)
  • modal: add modal content (80b60e7)
  • paymentplanwidget: added paymentplan button (19a3af1)
  • readme: trigger release (8b22c04)

Reverts

  • general: restart from basics (692fdc3)

BREAKING CHANGES

  • Provide a new API. See README.md

v1.1.2

19 Nov 09:15
Compare
Choose a tag to compare

1.1.2 (2021-11-19)

Bug Fixes

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

v1.1.1

13 Oct 14:44
Compare
Choose a tag to compare

1.1.1 (2021-10-13)

Bug Fixes

  • eligibility: change default minAmount rules (504f623)

v1.1.0

28 Sep 14:09
Compare
Choose a tag to compare

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)

v1.0.2

10 Dec 04:32
Compare
Choose a tag to compare

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)

v1.0.1

09 Dec 11:35
Compare
Choose a tag to compare

1.0.1 (2020-12-09)

Bug Fixes

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

v1.0.0

09 Dec 11:23
Compare
Choose a tag to compare

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