@alma/widgets 2.3.3 → 2.3.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/raw/widgets.js +712 -392
- package/dist/raw/widgets.js.map +1 -1
- package/dist/raw/widgets.m.js +712 -392
- package/dist/raw/widgets.m.js.map +1 -1
- package/dist/raw/widgets.modern.js +713 -393
- package/dist/raw/widgets.modern.js.map +1 -1
- package/dist/raw/widgets.umd.js +1170 -798
- package/dist/raw/widgets.umd.js.map +1 -1
- package/dist/widgets.js +1 -1
- package/dist/widgets.js.map +1 -1
- package/dist/widgets.m.js +1 -1
- package/dist/widgets.m.js.map +1 -1
- package/dist/widgets.modern.js +1 -1
- package/dist/widgets.modern.js.map +1 -1
- package/dist/widgets.umd.js +1 -1
- package/dist/widgets.umd.js.map +1 -1
- package/package.json +7 -13
- package/CHANGELOG.md +0 -256
- package/dist/types/Widgets/EligibilityModal/ModalContainer.test.d.ts +0 -1
- package/dist/types/Widgets/EligibilityModal/modal.test.d.ts +0 -1
- package/dist/types/Widgets/PaymentPlans/__tests__/Basics.test.d.ts +0 -1
- package/dist/types/Widgets/PaymentPlans/__tests__/Credit.test.d.ts +0 -1
- package/dist/types/Widgets/PaymentPlans/__tests__/CustomTransitionDelay.test.d.ts +0 -1
- package/dist/types/Widgets/PaymentPlans/__tests__/HideWidget.test.d.ts +0 -1
- package/dist/types/Widgets/PaymentPlans/__tests__/IneligibleOptions.test.d.ts +0 -1
- package/dist/types/Widgets/PaymentPlans/__tests__/LanguageCheck.test.d.ts +0 -1
- package/dist/types/Widgets/PaymentPlans/__tests__/LaunchModal.test.d.ts +0 -1
- package/dist/types/Widgets/PaymentPlans/__tests__/SuggestedPaymentPlan.test.d.ts +0 -1
- package/dist/types/Widgets/PaymentPlans/__tests__/WithoutPlans.test.d.ts +0 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@alma/widgets",
|
|
3
|
-
"version": "2.3.
|
|
3
|
+
"version": "2.3.4",
|
|
4
4
|
"description": "Widgets to easily display information from Alma - https://getalma.eu",
|
|
5
5
|
"keywords": [],
|
|
6
6
|
"main": "dist/widgets.js",
|
|
@@ -55,13 +55,13 @@
|
|
|
55
55
|
"@semantic-release/git": "^9.0.0",
|
|
56
56
|
"@testing-library/jest-dom": "^5.14.1",
|
|
57
57
|
"@testing-library/react": "^12.1.2",
|
|
58
|
-
"@types/classnames": "^2.
|
|
58
|
+
"@types/classnames": "^2.3.1",
|
|
59
59
|
"@types/jest": "^26.0.16",
|
|
60
|
-
"@types/lodash.isplainobject": "^4.0.6",
|
|
61
60
|
"@types/no-scroll": "^2.1.0",
|
|
62
61
|
"@types/node": "^14.14.10",
|
|
63
62
|
"@types/react": "^17.0.30",
|
|
64
63
|
"@types/react-dom": "^17.0.9",
|
|
64
|
+
"@types/react-modal": "^3.13.1",
|
|
65
65
|
"@typescript-eslint/eslint-plugin": "^4.9.1",
|
|
66
66
|
"@typescript-eslint/parser": "^4.9.1",
|
|
67
67
|
"babel-plugin-css-modules-transform": "^1.6.2",
|
|
@@ -76,31 +76,25 @@
|
|
|
76
76
|
"jest": "^26.6.0",
|
|
77
77
|
"jest-config": "^26.6.0",
|
|
78
78
|
"lint-staged": "^10.5.3",
|
|
79
|
-
"lodash.get": "^4.4.2",
|
|
80
79
|
"microbundle": "github:olance/microbundle#rollup/config-override",
|
|
81
80
|
"postcss-assets": "^5.0.0",
|
|
82
81
|
"prettier": "^2.2.1",
|
|
83
82
|
"rollup": "^1.32.1",
|
|
84
83
|
"rollup-plugin-copy": "^3.4.0",
|
|
85
|
-
"sass": "^1.30.0",
|
|
86
84
|
"semantic-release": "^17.3.0",
|
|
87
|
-
"tailwindcss": "^1.9.6",
|
|
88
85
|
"ts-essentials": "^7.0.1",
|
|
89
86
|
"ts-jest": "^26.4.1",
|
|
90
|
-
"typedoc": "^0.19.2",
|
|
91
87
|
"typescript": "^4.1.2"
|
|
92
88
|
},
|
|
93
89
|
"dependencies": {
|
|
94
90
|
"@alma/client": "^1.1.1",
|
|
95
|
-
"
|
|
96
|
-
"
|
|
97
|
-
"date-fns": "^2.25.0",
|
|
98
|
-
"lodash.isplainobject": "^4.0.6",
|
|
91
|
+
"classnames": "^2.3.1",
|
|
92
|
+
"date-fns": "^2.28.0",
|
|
99
93
|
"no-scroll": "^2.1.1",
|
|
100
94
|
"react": "^17.0.2",
|
|
101
95
|
"react-dom": "^17.0.2",
|
|
102
|
-
"react-intl": "^5.
|
|
103
|
-
"react-modal": "^3.14.
|
|
96
|
+
"react-intl": "^5.25.0",
|
|
97
|
+
"react-modal": "^3.14.4",
|
|
104
98
|
"react-responsive": "^9.0.0-beta.6"
|
|
105
99
|
},
|
|
106
100
|
"commitlint": {
|
package/CHANGELOG.md
DELETED
|
@@ -1,256 +0,0 @@
|
|
|
1
|
-
## [2.3.3](https://github.com/alma/widgets/compare/v2.3.2...v2.3.3) (2022-05-04)
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
### Bug Fixes
|
|
5
|
-
|
|
6
|
-
* **sonar:** duplicate code ([82c8cab](https://github.com/alma/widgets/commit/82c8cabe92150a95a5fe7f2b51511f293cefbced))
|
|
7
|
-
* **sonar:** duplicate code in tests ([4c25672](https://github.com/alma/widgets/commit/4c256723049589d5587b13da4697ad308d31a019))
|
|
8
|
-
* **tests:** update files to have a .test suffix and renaming the folder tests into __tests__ ([0aa1336](https://github.com/alma/widgets/commit/0aa1336318fa39a80eacfea8a22de2b71a3e8d0e))
|
|
9
|
-
|
|
10
|
-
## [2.3.2](https://github.com/alma/widgets/compare/v2.3.1...v2.3.2) (2022-05-02)
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
### Bug Fixes
|
|
14
|
-
|
|
15
|
-
* **eligibility:** filter plans that have no payment_plan and a reason ([#32](https://github.com/alma/widgets/issues/32)) ([7f8e3ac](https://github.com/alma/widgets/commit/7f8e3ac95f8c38f7a79d2058e2d072f7b5598fe7))
|
|
16
|
-
|
|
17
|
-
## [2.3.1](https://github.com/alma/widgets/compare/v2.3.0...v2.3.1) (2022-05-02)
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
### Bug Fixes
|
|
21
|
-
|
|
22
|
-
* update wrong translation ([#33](https://github.com/alma/widgets/issues/33)) ([578e6cd](https://github.com/alma/widgets/commit/578e6cd7550df6cc01fd7ad9968a4e8c9bb745e8))
|
|
23
|
-
|
|
24
|
-
# [2.3.0](https://github.com/alma/widgets/compare/v2.2.10...v2.3.0) (2022-04-21)
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
### Features
|
|
28
|
-
|
|
29
|
-
* **payment-plan:** add firstDisplayedPaymentPlan option ([#26](https://github.com/alma/widgets/issues/26)) ([f16fa4a](https://github.com/alma/widgets/commit/f16fa4a068a9e06aec261489065bc1282acee666))
|
|
30
|
-
|
|
31
|
-
## [2.2.10](https://github.com/alma/widgets/compare/v2.2.9...v2.2.10) (2022-04-12)
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
### Bug Fixes
|
|
35
|
-
|
|
36
|
-
* updated build command to generate a raw folder with unminified JS/CSS ([#21](https://github.com/alma/widgets/issues/21)) ([e1729c1](https://github.com/alma/widgets/commit/e1729c1fd959eeee2e0fda1113db6ff2050b0ddb))
|
|
37
|
-
|
|
38
|
-
## [2.2.9](https://github.com/alma/widgets/compare/v2.2.8...v2.2.9) (2022-03-21)
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
### Bug Fixes
|
|
42
|
-
|
|
43
|
-
* schedule not displaying properly when many plans are eligible ([#20](https://github.com/alma/widgets/issues/20)) ([1e80565](https://github.com/alma/widgets/commit/1e805658c6488c7fe371170c36ed6dd8b1446500))
|
|
44
|
-
|
|
45
|
-
## [2.2.8](https://github.com/alma/widgets/compare/v2.2.7...v2.2.8) (2022-03-10)
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
### Bug Fixes
|
|
49
|
-
|
|
50
|
-
* update node in ci-cd script and nvm version ([#14](https://github.com/alma/widgets/issues/14)) ([201e192](https://github.com/alma/widgets/commit/201e1920f4251ced9f05214216e9eca95ce35b62))
|
|
51
|
-
|
|
52
|
-
## [2.2.7](https://github.com/alma/widgets/compare/v2.2.6...v2.2.7) (2022-03-02)
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
### Bug Fixes
|
|
56
|
-
|
|
57
|
-
* implicit return in renderWithProviders ([#11](https://github.com/alma/widgets/issues/11)) ([91dd95f](https://github.com/alma/widgets/commit/91dd95f7f069f143ff4c0ca4730eaad1e88f27c9))
|
|
58
|
-
|
|
59
|
-
## [2.2.6](https://github.com/alma/widgets/compare/v2.2.5...v2.2.6) (2022-01-11)
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
### Bug Fixes
|
|
63
|
-
|
|
64
|
-
* improve modal's behavior, wording and styles, fix i18n options ([#9](https://github.com/alma/widgets/issues/9)) ([1a12fb2](https://github.com/alma/widgets/commit/1a12fb291d482c2ee3b836516b2859042e5390e2))
|
|
65
|
-
|
|
66
|
-
## [2.2.5](https://github.com/alma/widgets/compare/v2.2.4...v2.2.5) (2021-12-20)
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
### Bug Fixes
|
|
70
|
-
|
|
71
|
-
* update spanish translations ([6c9cf7d](https://github.com/alma/widgets/commit/6c9cf7d3f26cd310d59f3a412a8bb453fedd6a5e))
|
|
72
|
-
|
|
73
|
-
## [2.2.4](https://github.com/alma/widgets/compare/v2.2.3...v2.2.4) (2021-12-15)
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
### Bug Fixes
|
|
77
|
-
|
|
78
|
-
* z-index issue with prestashop header ([e9b2ffe](https://github.com/alma/widgets/commit/e9b2ffef6ad7baf6352916a48cabdfcbd6dbb62b))
|
|
79
|
-
|
|
80
|
-
## [2.2.3](https://github.com/alma/widgets/compare/v2.2.2...v2.2.3) (2021-12-15)
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
### Bug Fixes
|
|
84
|
-
|
|
85
|
-
* **payment-plan-button:** add prevent default on click ([3c228e5](https://github.com/alma/widgets/commit/3c228e5c96c4316fd915b5877ebf533a3d831cd4))
|
|
86
|
-
|
|
87
|
-
## [2.2.2](https://github.com/alma/widgets/compare/v2.2.1...v2.2.2) (2021-12-15)
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
### Bug Fixes
|
|
91
|
-
|
|
92
|
-
* **eligibility:** handle deferred days and months in eligibility request ([48a3e96](https://github.com/alma/widgets/commit/48a3e96f67e776a6aaa73142e3c9799966454592))
|
|
93
|
-
|
|
94
|
-
## [2.2.1](https://github.com/alma/widgets/compare/v2.2.0...v2.2.1) (2021-12-14)
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
### Bug Fixes
|
|
98
|
-
|
|
99
|
-
* **eligibity-modal:** update missing div ([fa1d2b5](https://github.com/alma/widgets/commit/fa1d2b5e17f8adaf18ff4fbc7a2b40d0fb913877))
|
|
100
|
-
|
|
101
|
-
# [2.2.0](https://github.com/alma/widgets/compare/v2.1.1...v2.2.0) (2021-12-14)
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
### Features
|
|
105
|
-
|
|
106
|
-
* update ui to fit figma design ([2e169ca](https://github.com/alma/widgets/commit/2e169ca2c3dff3334b9c6fc3977372bcad21dcfc))
|
|
107
|
-
|
|
108
|
-
## [2.1.1](https://github.com/alma/widgets/compare/v2.1.0...v2.1.1) (2021-12-13)
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
### Bug Fixes
|
|
112
|
-
|
|
113
|
-
* css update to keep layout consistent ([#2](https://github.com/alma/widgets/issues/2)) ([4856af2](https://github.com/alma/widgets/commit/4856af25226b08fc5d6c01a162ecea34762cc13f))
|
|
114
|
-
|
|
115
|
-
# [2.1.0](https://github.com/alma/widgets/compare/v2.0.0...v2.1.0) (2021-12-09)
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
### Features
|
|
119
|
-
|
|
120
|
-
* trigger release ([9f34015](https://github.com/alma/widgets/commit/9f340150382328b12529f5b67d0b34d76ad32094))
|
|
121
|
-
|
|
122
|
-
# [2.0.0](https://github.com/alma/widgets/compare/v1.1.2...v2.0.0) (2021-12-09)
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
### Bug Fixes
|
|
126
|
-
|
|
127
|
-
* **(widget):** fix css & eligibility filter ([b2c2399](https://github.com/alma/widgets/commit/b2c2399191e0e7b5854b0a4480ee61f6f609d1a9))
|
|
128
|
-
* **button:** fix animation ([930b830](https://github.com/alma/widgets/commit/930b830a15febf9c58326c5eed4f4a6b9ecfe249))
|
|
129
|
-
* **button:** fix animation + tests ([ea3616b](https://github.com/alma/widgets/commit/ea3616b4cb143f5e5ed602737f44353a662c898a))
|
|
130
|
-
* **button:** prevent opening modal when there is no eligible plan ([ec352f3](https://github.com/alma/widgets/commit/ec352f3c4fc50f492b0550e9ffc018b07f2a3ade))
|
|
131
|
-
* **dist:** remove dist from gitignore ([797d746](https://github.com/alma/widgets/commit/797d7462f8739a107e0bec6f2d0e8da8fcf379aa))
|
|
132
|
-
* **example:** remove old background ([d2d18f8](https://github.com/alma/widgets/commit/d2d18f8d5b174ff877fd01a05b216c10afcb4921))
|
|
133
|
-
* **example:** simpler example page ([75bef6d](https://github.com/alma/widgets/commit/75bef6d3b7f4d73dc0581be01f7335ac44efa4ad))
|
|
134
|
-
* **general:** fixed render ([0ddd9f8](https://github.com/alma/widgets/commit/0ddd9f893c96a2e6fff1b49c3c9578fe92286bb5))
|
|
135
|
-
* **gitignore:** remove dist from git cache ([c14dbb2](https://github.com/alma/widgets/commit/c14dbb22c2fab1d8fd3da06d21b42bae1ff22718))
|
|
136
|
-
* **i18n:** use IntlProvider ([d48811d](https://github.com/alma/widgets/commit/d48811daa9735d71665d9d8dd3b3990b40a234e2))
|
|
137
|
-
* **modal:** display customer fee for pnx ([b20497e](https://github.com/alma/widgets/commit/b20497ef1cbeec4a766746c93d144033a2efea52))
|
|
138
|
-
* **style:** repair broken CSS ([4228091](https://github.com/alma/widgets/commit/4228091a9e4a263a070ea771b1096c6c8448fd99))
|
|
139
|
-
* **widget:** remove default plans - fixed loader - remove reload ([95612af](https://github.com/alma/widgets/commit/95612af47d4dda348e7b4a50c7b28adcc98d0326))
|
|
140
|
-
* remove useless code ([8b1e371](https://github.com/alma/widgets/commit/8b1e371bbb681c1c56b8de0e450869ea1a6f2261))
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
### Documentation
|
|
144
|
-
|
|
145
|
-
* complete readme ([f2b4036](https://github.com/alma/widgets/commit/f2b4036df3f54a26b3673378faee0745c262a8ab))
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
### Features
|
|
149
|
-
|
|
150
|
-
* **(widgets):** added basic widgets ([2e53ea4](https://github.com/alma/widgets/commit/2e53ea4e0f78a11617ab1b66a1f73ac372b817ec))
|
|
151
|
-
* **button:** added active option handling & info msg ([d3bada5](https://github.com/alma/widgets/commit/d3bada53b822403df0c119db4c1dfee8f732ddcb))
|
|
152
|
-
* **button:** added default config + transition delay ([3ad73a4](https://github.com/alma/widgets/commit/3ad73a485f20ce594a1cf65f1d10fad992187460))
|
|
153
|
-
* **button:** added plan configuration ([47e7bfc](https://github.com/alma/widgets/commit/47e7bfc2d46e01ae476bdedd4daa5dd19088eaaf))
|
|
154
|
-
* **button:** filter p1x and send only active plans to modal ([6189bf0](https://github.com/alma/widgets/commit/6189bf0b808a586819104acda5d990f84c01bdf2))
|
|
155
|
-
* **button:** hide if not applicable ([8336fef](https://github.com/alma/widgets/commit/8336fef091798c708c6f59ce0a81a915225c2fc3))
|
|
156
|
-
* **fetch:** handle pending and error on api call ([99bb8a4](https://github.com/alma/widgets/commit/99bb8a4c8c85aab0e74fd39ab2668ad06c062bc6))
|
|
157
|
-
* **i18n:** add crowdin with translations ([3fe699e](https://github.com/alma/widgets/commit/3fe699ea15b4da8a4e70ca5fd0c8616f78005c54))
|
|
158
|
-
* **i18n:** add locale in options and add all translations ([5d51331](https://github.com/alma/widgets/commit/5d513312283a68eff506bf26d6828f78d6cfa0db))
|
|
159
|
-
* **modal:** add modal content ([80b60e7](https://github.com/alma/widgets/commit/80b60e76ebfc4f48d6cde731ce1650eabd8fe4f5))
|
|
160
|
-
* **paymentplanwidget:** added paymentplan button ([19a3af1](https://github.com/alma/widgets/commit/19a3af12995c9a9278e6516a0d173ec8b35b36ed))
|
|
161
|
-
* **readme:** trigger release ([8b22c04](https://github.com/alma/widgets/commit/8b22c04bbf958dc28e5b412a4ca822c78fe4c868))
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
### Reverts
|
|
165
|
-
|
|
166
|
-
* **general:** restart from basics ([692fdc3](https://github.com/alma/widgets/commit/692fdc37773062813e14cb1435de6a9f1c0320ed))
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
### BREAKING CHANGES
|
|
170
|
-
|
|
171
|
-
* Provide a new API. See README.md
|
|
172
|
-
|
|
173
|
-
## [1.1.2](https://github.com/alma/alma-widgets/compare/v1.1.1...v1.1.2) (2021-11-19)
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
### Bug Fixes
|
|
177
|
-
|
|
178
|
-
* **widget:** add customer interest in first and next amount ([2a54db7](https://github.com/alma/alma-widgets/commit/2a54db7ee7a81449b482bbb57108374b8d46875b))
|
|
179
|
-
|
|
180
|
-
## [1.1.1](https://github.com/alma/alma-widgets/compare/v1.1.0...v1.1.1) (2021-10-13)
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
### Bug Fixes
|
|
184
|
-
|
|
185
|
-
* **eligibility:** change default minAmount rules ([504f623](https://github.com/alma/alma-widgets/commit/504f623f164ee1a8eeb4ced013143a927819119b))
|
|
186
|
-
|
|
187
|
-
# [1.1.0](https://github.com/alma/alma-widgets/compare/v1.0.2...v1.1.0) (2021-09-28)
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
### Bug Fixes
|
|
191
|
-
|
|
192
|
-
* **multiply-sign:** replace by a svg ([acb2581](https://github.com/alma/alma-widgets/commit/acb25812e1c8f484584b12ef72f7e592f41f4c3f))
|
|
193
|
-
* **p10x:** handle customer_interest ([0f6b97b](https://github.com/alma/alma-widgets/commit/0f6b97bf8dcf1d58013ac444773de47abdc0bd7c))
|
|
194
|
-
* **p10x:** use customer_interest in total amount calculation ([f39a0e1](https://github.com/alma/alma-widgets/commit/f39a0e168e237ef343b0015f726260d90903d811))
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
### Features
|
|
198
|
-
|
|
199
|
-
* **p10x:** add legal credit text ([89985a8](https://github.com/alma/alma-widgets/commit/89985a879c33c5882e7dbbf6e33ceac01915cf51))
|
|
200
|
-
|
|
201
|
-
## [1.0.2](https://github.com/alma/alma-widgets/compare/v1.0.1...v1.0.2) (2020-12-10)
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
### Bug Fixes
|
|
205
|
-
|
|
206
|
-
* add some more styles reset to protect widgets from host's CSS ([c2a560a](https://github.com/alma/alma-widgets/commit/c2a560acb97e11427e3a2224b92de6453bbfd445))
|
|
207
|
-
* change rem for px on all dimensions to avoid depending on host's CSS ([ddf486d](https://github.com/alma/alma-widgets/commit/ddf486d11a0e5d32cd8cfcc7fde918080b59caca))
|
|
208
|
-
|
|
209
|
-
## [1.0.1](https://github.com/alma/alma-widgets/compare/v1.0.0...v1.0.1) (2020-12-09)
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
### Bug Fixes
|
|
213
|
-
|
|
214
|
-
* **readme:** remove TypeScript starter lib's readme and re-release to NPM ([7952cc4](https://github.com/alma/alma-widgets/commit/7952cc422ecaecc9884197a4b51a639460f2572c))
|
|
215
|
-
|
|
216
|
-
# 1.0.0 (2020-12-09)
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
### Bug Fixes
|
|
220
|
-
|
|
221
|
-
* fix modal close callback not being bound to `this` ([f064300](https://github.com/alma/alma-widgets/commit/f0643007fab9e91a1e3a42d1498ae65c6ae69f1a))
|
|
222
|
-
* fix modal showing a vertical scrollbar because of card logos ([9f3b4c1](https://github.com/alma/alma-widgets/commit/9f3b4c127990d01900c200dda62a8652013620c0))
|
|
223
|
-
* **payment-plans:** make it clearer, which plan is active ([753b687](https://github.com/alma/alma-widgets/commit/753b68775fbab5eefd571a4af99c306d4dfaf1a2))
|
|
224
|
-
* improve display for smaller widths ([597ed44](https://github.com/alma/alma-widgets/commit/597ed44951238f29f5d4f71fd52c4a68874c3073))
|
|
225
|
-
* various fixes ([2ed56c5](https://github.com/alma/alma-widgets/commit/2ed56c527e2d87ef0057f8a83f52bc3909f8062a))
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
### Features
|
|
229
|
-
|
|
230
|
-
* **payment-plans:** allow deactivation of auto transition between plans ([2ddb1d0](https://github.com/alma/alma-widgets/commit/2ddb1d0e929063425a05ae4609a4260495558038))
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
* feat(payment-plans)!: display payment plans information in a compact way ([ce3d1eb](https://github.com/alma/alma-widgets/commit/ce3d1eb6425807a83c413546b31ded30c5b8dbf6))
|
|
234
|
-
* refactor!: make PaymentPlans widget follow new architecture for preact rendering ([5749be5](https://github.com/alma/alma-widgets/commit/5749be5b8d123417e493bdcb5c8de4b31bede020))
|
|
235
|
-
* feat!: complete overhaul of the "How It Works" widget ([6bef49a](https://github.com/alma/alma-widgets/commit/6bef49a05478edcbec8717bbe77804ecaa4c90b2))
|
|
236
|
-
* refactor!: make Widget render a preact-based renderer component ([ea771c2](https://github.com/alma/alma-widgets/commit/ea771c2f3f91c9a910935045664802c04f16abfa))
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
### BREAKING CHANGES
|
|
240
|
-
|
|
241
|
-
* new design for the widget means its external API & settings
|
|
242
|
-
have changed completely.
|
|
243
|
-
* because of its new design, the widget now accepts less settings
|
|
244
|
-
and is prepared for more complex use cases to come such as PayLater support
|
|
245
|
-
* - The widget imposes its design/layout and, to maintain
|
|
246
|
-
Alma's branding, is not customizable anymore.
|
|
247
|
-
- Settings have been reduced to the bare necessary.
|
|
248
|
-
- The widget now only generates a modal (used to render a clickable
|
|
249
|
-
title that triggered the modal); it must be controlled by the
|
|
250
|
-
implementer using its `show` property.
|
|
251
|
-
* Heavy refactoring introduces multiple breaking changes:
|
|
252
|
-
- `WidgetsController.create` renamed to `add`
|
|
253
|
-
- Widget class internal methods have change; `refresh` is removed and
|
|
254
|
-
`render` made the main rendering entrypoint
|
|
255
|
-
- Widget subclasses must now implement a `renderComponent` method to
|
|
256
|
-
implement their rendering
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|