gatsby-matrix-theme 25.1.1 → 25.1.3
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 +25 -0
- package/package.json +2 -2
- package/src/components/atoms/cards/operator-card/template-three/index.js +5 -0
- package/src/components/molecules/wagering-calculator/index.js +10 -4
- package/src/components/molecules/wagering-calculator/wagering-calculator.module.scss +1 -1
- package/src/gatsby-core-theme/components/atoms/info-grid/index.js +3 -1
- package/storybook/public/iframe.html +1 -1
- package/storybook/public/main.0c963906.iframe.bundle.js +1 -0
- package/storybook/public/main.acece55b.iframe.bundle.js +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,28 @@
|
|
|
1
|
+
## [25.1.3](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/compare/v25.1.2...v25.1.3) (2023-06-05)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* add extra field prop for template 3 ([33a6861](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/33a6861732a8af80f6dbd411ef2a951acbdbe778))
|
|
7
|
+
* updated to latest core version ([a19f027](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/a19f02754b572e45626d01fbf97237171fc2d82b))
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
### Code Refactoring
|
|
11
|
+
|
|
12
|
+
* add max height property to match with FC ([485b62c](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/485b62c10a04d955da9613d4a33a11a63d41faa8))
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
* Merge branch 'tm-3235-cardsv2-freecasino' into 'master' ([59f1b12](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/59f1b12724b6b1677568cdb2bfae4164b92f5fd4))
|
|
16
|
+
* Merge branch 'tm-3225-info-grid' into 'master' ([c33dc99](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/c33dc99b36d9731a9c3ee0af9cd5fcc759bad64e))
|
|
17
|
+
|
|
18
|
+
## [25.1.2](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/compare/v25.1.1...v25.1.2) (2023-06-02)
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
### Bug Fixes
|
|
22
|
+
|
|
23
|
+
* limited reccommended casinos ([d6dfdfc](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/d6dfdfc09e51d864a3d1b9e43980bd683da99d25))
|
|
24
|
+
* limited reccommended casinos ([edaad36](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/edaad368472dc084fad75417ec6a00984788dd93))
|
|
25
|
+
|
|
1
26
|
## [25.1.1](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/compare/v25.1.0...v25.1.1) (2023-06-02)
|
|
2
27
|
|
|
3
28
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "gatsby-matrix-theme",
|
|
3
|
-
"version": "25.1.
|
|
3
|
+
"version": "25.1.3",
|
|
4
4
|
"main": "index.js",
|
|
5
5
|
"description": "Matrix Theme NPM Package",
|
|
6
6
|
"author": "",
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
"dependencies": {
|
|
26
26
|
"@react-icons/all-files": "^4.1.0",
|
|
27
27
|
"gatsby": "^4.20.0",
|
|
28
|
-
"gatsby-core-theme": "22.0.
|
|
28
|
+
"gatsby-core-theme": "22.0.7",
|
|
29
29
|
"gatsby-plugin-sharp": "^4.10.2",
|
|
30
30
|
"gatsby-plugin-sitemap": "^3.3.0",
|
|
31
31
|
"gatsby-transformer-sharp": "^4.10.0",
|
|
@@ -30,6 +30,7 @@ const TemplateThree = ({
|
|
|
30
30
|
showRatingLabel = false,
|
|
31
31
|
showRatingDecimal = false,
|
|
32
32
|
verifyIcon = '../../../images/verify.svg',
|
|
33
|
+
hasVariableComponent = false,
|
|
33
34
|
}) => {
|
|
34
35
|
const { ribbons } = item?.relation;
|
|
35
36
|
const { relation, path } = item;
|
|
@@ -42,6 +43,8 @@ const TemplateThree = ({
|
|
|
42
43
|
? loadable(() => import('gatsby-core-theme/src/components/molecules/star-rating/one-star'))
|
|
43
44
|
: loadable(() => import('gatsby-core-theme/src/components/molecules/star-rating'));
|
|
44
45
|
|
|
46
|
+
const VariableComponent = hasVariableComponent ? loadable(() => import('../variables')) : null;
|
|
47
|
+
|
|
45
48
|
return (
|
|
46
49
|
<div className={styles?.operatorCard || ''}>
|
|
47
50
|
<div className={styles?.cardHeader || ''}>
|
|
@@ -134,6 +137,7 @@ const TemplateThree = ({
|
|
|
134
137
|
icon={<FaArrowRight />}
|
|
135
138
|
/>
|
|
136
139
|
)}
|
|
140
|
+
{VariableComponent && <VariableComponent item={item} page={page} featured={false} />}
|
|
137
141
|
</div>
|
|
138
142
|
</div>
|
|
139
143
|
<div className={styles?.feedback || ''}>
|
|
@@ -191,6 +195,7 @@ TemplateThree.propTypes = {
|
|
|
191
195
|
showRatingDecimal: PropTypes.bool,
|
|
192
196
|
verifyIcon: PropTypes.string,
|
|
193
197
|
showRibbon: PropTypes.bool,
|
|
198
|
+
hasVariableComponent: PropTypes.bool,
|
|
194
199
|
};
|
|
195
200
|
|
|
196
201
|
export default TemplateThree;
|
|
@@ -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,14 +115,20 @@ const WageringCalculator = ({
|
|
|
115
115
|
</form>
|
|
116
116
|
{isInfoOpen && (
|
|
117
117
|
<div className={styles.info}>
|
|
118
|
-
<h2 className={styles.infoTitle}>
|
|
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}>
|
|
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>
|
|
129
|
+
<h3>
|
|
130
|
+
{translate(translations, 'wagecalc_recommended_casinos', 'Recommended Casinos')}
|
|
131
|
+
</h3>
|
|
126
132
|
{operators.slice(0, 3).map((operator) => {
|
|
127
133
|
const prettyLink = prettyTracker(operator, 'main', false);
|
|
128
134
|
const imageObject =
|
|
@@ -24,6 +24,7 @@ const InfoGrid = ({
|
|
|
24
24
|
infoIcon = <MdInfo />,
|
|
25
25
|
detailsIcon = <MdPortrait />,
|
|
26
26
|
showEmojis = false,
|
|
27
|
+
maxHeight = 400,
|
|
27
28
|
}) => {
|
|
28
29
|
const ref = useRef();
|
|
29
30
|
const { translations } = useContext(Context) || {};
|
|
@@ -135,7 +136,7 @@ const InfoGrid = ({
|
|
|
135
136
|
buttonText={translate(translations, 'information-grid', 'Information')}
|
|
136
137
|
contentText={showGridItems()}
|
|
137
138
|
onlyMobile={onlyMobile}
|
|
138
|
-
maxHeight={
|
|
139
|
+
maxHeight={maxHeight}
|
|
139
140
|
/>
|
|
140
141
|
)}
|
|
141
142
|
</div>
|
|
@@ -154,6 +155,7 @@ InfoGrid.propTypes = {
|
|
|
154
155
|
infoIcon: PropTypes.element,
|
|
155
156
|
detailsIcon: PropTypes.element,
|
|
156
157
|
showEmojis: PropTypes.bool,
|
|
158
|
+
maxHeight: PropTypes.number,
|
|
157
159
|
};
|
|
158
160
|
|
|
159
161
|
export default InfoGrid;
|
|
@@ -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.
|
|
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.0c963906.iframe.bundle.js"></script></body></html>
|