gatsby-matrix-theme 7.1.3 → 7.1.6
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/CHANGELOG.md +24 -0
- package/package.json +1 -1
- package/src/components/atoms/cards/comparison-table/table/index.js +26 -20
- package/src/components/atoms/cards/comparison-table/table/table.module.scss +4 -1
- package/src/components/atoms/newsletter/form/index.js +1 -1
- package/storybook/public/iframe.html +1 -1
- package/storybook/public/main.c4cc6768.iframe.bundle.js +1 -0
- package/storybook/public/main.0d604e58.iframe.bundle.js +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,27 @@
|
|
|
1
|
+
## [7.1.6](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/compare/v7.1.5...v7.1.6) (2022-05-20)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* comparison table null image fix ([8fb35c9](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/8fb35c9e531e86c4bc9a570e2e09d462eb85753e))
|
|
7
|
+
|
|
8
|
+
## [7.1.5](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/compare/v7.1.4...v7.1.5) (2022-05-19)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Bug Fixes
|
|
12
|
+
|
|
13
|
+
* omparison table payment method fixes and table zindex ([9865d1b](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/9865d1b5b20a4193bdb84fd23623a373dc5e9592))
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
* Merge branch 'tm-2904-general-fixes' into 'master' ([3644ec8](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/3644ec8c4d2cf5d079db3245cae95e7c84e474fd))
|
|
17
|
+
|
|
18
|
+
## [7.1.4](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/compare/v7.1.3...v7.1.4) (2022-05-19)
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
### Bug Fixes
|
|
22
|
+
|
|
23
|
+
* minor typo ([2df37e9](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/2df37e910b67a973df0db0e7ceebefa4a55e6deb))
|
|
24
|
+
|
|
1
25
|
## [7.1.3](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/compare/v7.1.2...v7.1.3) (2022-05-19)
|
|
2
26
|
|
|
3
27
|
|
package/package.json
CHANGED
|
@@ -134,17 +134,20 @@ export default function ComparisonTable({
|
|
|
134
134
|
{item?.relation?.bonus?.deposit_methods &&
|
|
135
135
|
// eslint-disable-next-line array-callback-return
|
|
136
136
|
item?.relation?.bonus?.deposit_methods.map((deposit, i, list) => {
|
|
137
|
-
|
|
137
|
+
let itemsLength = list.length === 6 ? 6 : 5;
|
|
138
138
|
if (i < (showAllPayment.includes(index) ? list.length : itemsLength)) {
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
139
|
+
if (deposit?.logo_filename) {
|
|
140
|
+
return (
|
|
141
|
+
<LazyImg
|
|
142
|
+
key={`${key}-${deposit.name}`}
|
|
143
|
+
src={imagePrettyUrl(deposit?.logo_filename)}
|
|
144
|
+
width={72}
|
|
145
|
+
height={72}
|
|
146
|
+
alt={deposit.name}
|
|
147
|
+
/>
|
|
148
|
+
);
|
|
149
|
+
}
|
|
150
|
+
itemsLength -= 1;
|
|
148
151
|
}
|
|
149
152
|
})}
|
|
150
153
|
{item?.relation?.bonus?.deposit_methods?.length > 6 &&
|
|
@@ -191,16 +194,19 @@ export default function ComparisonTable({
|
|
|
191
194
|
return (
|
|
192
195
|
<td key={key} className={styles.licenses}>
|
|
193
196
|
{item?.relation?.bonus?.license_objects &&
|
|
194
|
-
item?.relation?.bonus?.license_objects
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
197
|
+
item?.relation?.bonus?.license_objects.slice(0, 3).map((license) => {
|
|
198
|
+
if (license?.logo_filename) {
|
|
199
|
+
return (
|
|
200
|
+
<LazyImg
|
|
201
|
+
key={license.name}
|
|
202
|
+
src={imagePrettyUrl(license?.logo_filename)}
|
|
203
|
+
height={32}
|
|
204
|
+
alt={license.name}
|
|
205
|
+
/>
|
|
206
|
+
);
|
|
207
|
+
}
|
|
208
|
+
return <></>;
|
|
209
|
+
})}
|
|
204
210
|
</td>
|
|
205
211
|
);
|
|
206
212
|
default:
|
|
@@ -32,7 +32,6 @@
|
|
|
32
32
|
|
|
33
33
|
@include min(laptop) {
|
|
34
34
|
position: sticky;
|
|
35
|
-
z-index: 1;
|
|
36
35
|
left: 0;
|
|
37
36
|
}
|
|
38
37
|
}
|
|
@@ -81,6 +80,10 @@
|
|
|
81
80
|
.raiting {
|
|
82
81
|
@include flex-align(center, space-between);
|
|
83
82
|
|
|
83
|
+
> div >div >span {
|
|
84
|
+
position: inherit;
|
|
85
|
+
}
|
|
86
|
+
|
|
84
87
|
a {
|
|
85
88
|
font-weight: bold;
|
|
86
89
|
font-size: 1.6rem;
|
|
@@ -345,4 +345,4 @@
|
|
|
345
345
|
|
|
346
346
|
|
|
347
347
|
|
|
348
|
-
window['STORIES'] = [{"titlePrefix":"","directory":"./src","files":"**/**/**/*.stories.js","importPathMatcher":"^\\.[\\\\/](?:src(?:\\/(?!\\.)(?:(?:(?!(?:^|\\/)\\.).)*?)\\/|\\/|$)(?!\\.)(?=.)[^/]*?\\.stories\\.js)$"},{"titlePrefix":"","directory":"./src","files":"**/**/**/**/*.stories.js","importPathMatcher":"^\\.[\\\\/](?:src(?:\\/(?!\\.)(?:(?:(?!(?:^|\\/)\\.).)*?)\\/|\\/|$)(?!\\.)(?=.)[^/]*?\\.stories\\.js)$"},{"titlePrefix":"","directory":"./src","files":"**/**/**/**/**/*.stories.js","importPathMatcher":"^\\.[\\\\/](?:src(?:\\/(?!\\.)(?:(?:(?!(?:^|\\/)\\.).)*?)\\/|\\/|$)(?!\\.)(?=.)[^/]*?\\.stories\\.js)$"}];</script><script src="runtime~main.7aedec23.iframe.bundle.js"></script><script src="152.cf98088f.iframe.bundle.js"></script><script src="main.
|
|
348
|
+
window['STORIES'] = [{"titlePrefix":"","directory":"./src","files":"**/**/**/*.stories.js","importPathMatcher":"^\\.[\\\\/](?:src(?:\\/(?!\\.)(?:(?:(?!(?:^|\\/)\\.).)*?)\\/|\\/|$)(?!\\.)(?=.)[^/]*?\\.stories\\.js)$"},{"titlePrefix":"","directory":"./src","files":"**/**/**/**/*.stories.js","importPathMatcher":"^\\.[\\\\/](?:src(?:\\/(?!\\.)(?:(?:(?!(?:^|\\/)\\.).)*?)\\/|\\/|$)(?!\\.)(?=.)[^/]*?\\.stories\\.js)$"},{"titlePrefix":"","directory":"./src","files":"**/**/**/**/**/*.stories.js","importPathMatcher":"^\\.[\\\\/](?:src(?:\\/(?!\\.)(?:(?:(?!(?:^|\\/)\\.).)*?)\\/|\\/|$)(?!\\.)(?=.)[^/]*?\\.stories\\.js)$"}];</script><script src="runtime~main.7aedec23.iframe.bundle.js"></script><script src="152.cf98088f.iframe.bundle.js"></script><script src="main.c4cc6768.iframe.bundle.js"></script></body></html>
|