gatsby-matrix-theme 7.1.4 → 7.1.5

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 CHANGED
@@ -1,3 +1,13 @@
1
+ ## [7.1.5](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/compare/v7.1.4...v7.1.5) (2022-05-19)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * omparison table payment method fixes and table zindex ([9865d1b](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/9865d1b5b20a4193bdb84fd23623a373dc5e9592))
7
+
8
+
9
+ * Merge branch 'tm-2904-general-fixes' into 'master' ([3644ec8](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/3644ec8c4d2cf5d079db3245cae95e7c84e474fd))
10
+
1
11
  ## [7.1.4](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/compare/v7.1.3...v7.1.4) (2022-05-19)
2
12
 
3
13
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gatsby-matrix-theme",
3
- "version": "7.1.4",
3
+ "version": "7.1.5",
4
4
  "main": "index.js",
5
5
  "description": "Matrix Theme NPM Package",
6
6
  "author": "",
@@ -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
- const itemsLength = list.length === 6 ? 6 : 5;
137
+ let itemsLength = list.length === 6 ? 6 : 5;
138
138
  if (i < (showAllPayment.includes(index) ? list.length : itemsLength)) {
139
- return (
140
- <LazyImg
141
- key={`${key}-${deposit.name}`}
142
- src={imagePrettyUrl(deposit?.logo_filename)}
143
- width={72}
144
- height={72}
145
- alt={deposit.name}
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 &&
@@ -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.a84cf40d.iframe.bundle.js"></script></body></html>
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.4827d8d6.iframe.bundle.js"></script></body></html>