This repository has been archived by the owner on Apr 11, 2024. It is now read-only.
Releases: alma/alma-widgets
Releases · alma/alma-widgets
v2.0.0
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
- complete readme (f2b4036)
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
v1.1.1
v1.1.0
v1.0.2
v1.0.1
v1.0.0
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.
- The widget imposes its design/layout and, to maintain
- 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 itsshow
property.
- Heavy refactoring introduces multiple breaking changes:
WidgetsController.create
renamed toadd
- 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