gatsby-matrix-theme 25.1.0 → 25.1.2

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,20 @@
1
+ ## [25.1.2](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/compare/v25.1.1...v25.1.2) (2023-06-02)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * limited reccommended casinos ([d6dfdfc](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/d6dfdfc09e51d864a3d1b9e43980bd683da99d25))
7
+ * limited reccommended casinos ([edaad36](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/edaad368472dc084fad75417ec6a00984788dd93))
8
+
9
+ ## [25.1.1](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/compare/v25.1.0...v25.1.1) (2023-06-02)
10
+
11
+
12
+ ### Bug Fixes
13
+
14
+ * limited reccommended casinos ([aa8b10e](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/aa8b10e35c842c62aa5a4167679aa6b7c4cf97f4))
15
+ * limited reccommended casinos ([d9b7741](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/d9b77414b46bc6517aefa18f1e79485dfea39409))
16
+ * limited reccommended casinos ([fc23123](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/fc231237ac400a603ff169469b92406cf80571ea))
17
+
1
18
  # [25.1.0](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/compare/v25.0.0...v25.1.0) (2023-06-02)
2
19
 
3
20
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gatsby-matrix-theme",
3
- "version": "25.1.0",
3
+ "version": "25.1.2",
4
4
  "main": "index.js",
5
5
  "description": "Matrix Theme NPM Package",
6
6
  "author": "",
@@ -57,7 +57,7 @@ const WageringCalculator = ({
57
57
  target="_self"
58
58
  >
59
59
  <h2 className={styles.mainTitle}>
60
- {mainTitle}
60
+ {translate(translations, 'wagecalc_main_title', mainTitle)}
61
61
  {infoTitle && infoText && <InfoIcon onClick={() => setIsInfoOpen(true)} />}
62
62
  </h2>
63
63
  <div className={styles.inputContainer}>
@@ -115,15 +115,21 @@ const WageringCalculator = ({
115
115
  </form>
116
116
  {isInfoOpen && (
117
117
  <div className={styles.info}>
118
- <h2 className={styles.infoTitle}>{infoTitle}</h2>
118
+ <h2 className={styles.infoTitle}>
119
+ {translate(translations, 'wagecalc_info_title', infoTitle)}
120
+ </h2>
119
121
  <MdClose onClick={() => setIsInfoOpen(false)} />
120
- <p className={styles.infoText}>{infoText}</p>
122
+ <p className={styles.infoText}>
123
+ {translate(translations, 'wagecalc_info_text', infoText)}
124
+ </p>
121
125
  </div>
122
126
  )}
123
127
  {operators.length > 0 && isRecommendedOperators && (
124
128
  <div className={styles.reccommendedCasinos}>
125
- <h3>{translate(translations, 'recommended_casinos', 'Recommended Casinos')}</h3>
126
- {operators.map((operator) => {
129
+ <h3>
130
+ {translate(translations, 'wagecalc_recommended_casinos', 'Recommended Casinos')}
131
+ </h3>
132
+ {operators.slice(0, 3).map((operator) => {
127
133
  const prettyLink = prettyTracker(operator, 'main', false);
128
134
  const imageObject =
129
135
  operator?.standardised_logo_url_object || operator?.logo_url_object;
@@ -28,7 +28,7 @@
28
28
 
29
29
  button {
30
30
  align-self: end;
31
- height: 5.9rem;
31
+ height: 4.8rem !important;
32
32
  width: 100%;
33
33
  }
34
34
 
@@ -97,8 +97,8 @@
97
97
 
98
98
  .input,
99
99
  .select {
100
- padding: 16px;
101
- height: 5.9rem;
100
+ padding: 14px;
101
+ height: 4.8rem;
102
102
  background: #f8f7f5;
103
103
  border-radius: 4px;
104
104
  }
@@ -163,6 +163,10 @@
163
163
  }
164
164
 
165
165
  .reccommendedCasinos {
166
+ > h3 {
167
+ margin-top: 1rem;
168
+ }
169
+
166
170
  > div {
167
171
  margin-bottom: 0.8rem;
168
172
  background: #f1efec;
@@ -42,7 +42,7 @@ export default {
42
42
  {
43
43
  items: [
44
44
  {
45
- items: [getOperatorData(), getOperatorData()],
45
+ items: [getOperatorData(), getOperatorData(), getOperatorData()],
46
46
  },
47
47
  ],
48
48
  },
@@ -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.349b6fb9.iframe.bundle.js"></script><script src="134.19897eea.iframe.bundle.js"></script><script src="main.c44f4334.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.349b6fb9.iframe.bundle.js"></script><script src="134.19897eea.iframe.bundle.js"></script><script src="main.15209727.iframe.bundle.js"></script></body></html>