gatsby-matrix-theme 37.0.24 → 37.0.25
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/.storybook/main.js +4 -1
- package/CHANGELOG.md +16 -0
- package/package.json +2 -2
- package/src/components/atoms/recommended-operators/index.js +7 -8
- package/src/components/atoms/recommended-operators/recommended-operators.module.scss +25 -23
- package/src/gatsby-core-theme/components/molecules/module/index.js +7 -4
- package/storybook/public/{28.ed292934.iframe.bundle.js → 182.47d823d2.iframe.bundle.js} +4 -4
- package/storybook/public/182.47d823d2.iframe.bundle.js.map +1 -0
- package/storybook/public/43.3fe696b4.iframe.bundle.js +1 -0
- package/storybook/public/555.6eba6df4.iframe.bundle.js +1 -0
- package/storybook/public/60.ff674703.iframe.bundle.js +1 -0
- package/storybook/public/809.09ed93ec.iframe.bundle.js +1 -0
- package/storybook/public/866.e7c9a1aa.iframe.bundle.js +1 -0
- package/storybook/public/933.e56e01a1.iframe.bundle.js +1 -0
- package/storybook/public/iframe.html +1 -1
- package/storybook/public/main.1b3593c6.iframe.bundle.js +2 -0
- package/storybook/public/runtime~main.90de754d.iframe.bundle.js +1 -0
- package/src/components/molecules/carousel/screenshot-slide/index.js +0 -34
- package/src/components/molecules/carousel/screenshot-slide/screenshot-slide.module.scss +0 -0
- package/src/components/molecules/carousel/screenshot-slide/screenshot-slide.test.js +0 -34
- package/src/components/organisms/anchor/template-two/index.js +0 -104
- package/src/components/organisms/anchor/template-two/template-two.module.scss +0 -138
- package/src/components/organisms/anchor/template-two/template-two.stories.js +0 -120
- package/src/components/organisms/anchor/template-two/template-two.test.js +0 -38
- package/src/gatsby-core-theme/components/organisms/carousel/carousel.module.scss +0 -29
- package/src/gatsby-core-theme/components/organisms/carousel/index.js +0 -88
- package/storybook/public/128.1d816ef4.iframe.bundle.js +0 -1
- package/storybook/public/28.ed292934.iframe.bundle.js.map +0 -1
- package/storybook/public/355.98fe7319.iframe.bundle.js +0 -1
- package/storybook/public/43.8ea1c894.iframe.bundle.js +0 -1
- package/storybook/public/555.3898ed1b.iframe.bundle.js +0 -1
- package/storybook/public/60.c3ac15e1.iframe.bundle.js +0 -1
- package/storybook/public/809.764e8392.iframe.bundle.js +0 -1
- package/storybook/public/866.df95c862.iframe.bundle.js +0 -1
- package/storybook/public/main.88889240.iframe.bundle.js +0 -2
- package/storybook/public/runtime~main.9cf9d9a4.iframe.bundle.js +0 -1
- /package/storybook/public/{28.ed292934.iframe.bundle.js.LICENSE.txt → 182.47d823d2.iframe.bundle.js.LICENSE.txt} +0 -0
- /package/storybook/public/{main.88889240.iframe.bundle.js.LICENSE.txt → main.1b3593c6.iframe.bundle.js.LICENSE.txt} +0 -0
package/.storybook/main.js
CHANGED
|
@@ -7,7 +7,8 @@ module.exports = {
|
|
|
7
7
|
'../src/**/**/**/**/*.stories.js',
|
|
8
8
|
'../src/**/**/**/**/**/*.stories.js',
|
|
9
9
|
'../../node_modules/gatsby-core-theme/src/components/organisms/navigation/navigation.stories.js',
|
|
10
|
-
'../../node_modules/gatsby-core-theme/src/components/organisms/anchor/anchor.stories
|
|
10
|
+
'../../node_modules/gatsby-core-theme/src/components/organisms/anchor/template-one/anchor.stories',
|
|
11
|
+
'../../node_modules/gatsby-core-theme/src/components/organisms/anchor/template-two/template-two.stories',
|
|
11
12
|
'../../node_modules/gatsby-core-theme/src/components/molecules/bonus/template-one/bonus.stories.js',
|
|
12
13
|
'../../node_modules/gatsby-core-theme/src/components/molecules/bonus/template-two/bonus.stories.js',
|
|
13
14
|
'../../node_modules/gatsby-core-theme/src/components/molecules/content/text.stories.js',
|
|
@@ -18,6 +19,8 @@ module.exports = {
|
|
|
18
19
|
'../../node_modules/gatsby-core-theme/src/components/molecules/content/table/table-one.stories.js',
|
|
19
20
|
'../../node_modules/gatsby-core-theme/src/components/molecules/content/table/table-two.stories.js',
|
|
20
21
|
'../../node_modules/gatsby-core-theme/src/components/molecules/pagination/pagination.stories.js',
|
|
22
|
+
'../../node_modules/gatsby-core-theme/src/components/organisms/carousel/template-one/template-one.stories',
|
|
23
|
+
'../../node_modules/gatsby-core-theme/src/components/organisms/carousel/template-two/template-two.stories',
|
|
21
24
|
],
|
|
22
25
|
addons: ['@storybook/addon-links', '@storybook/addon-essentials'],
|
|
23
26
|
env: (config) => ({
|
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,19 @@
|
|
|
1
|
+
## [37.0.25](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/compare/v37.0.24...v37.0.25) (2023-12-05)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* added more props to the recommended casinos ([25b1141](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/25b1141f48c5279c6d6b14f4a3f3a8138944360b))
|
|
7
|
+
* align matrix ([70ab63f](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/70ab63f8f7dfbacf3b36e815d86533d48dc318ff))
|
|
8
|
+
* remove import ([5b2a74c](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/5b2a74c0f756a639d776d0914898407e6e0fb212))
|
|
9
|
+
* removed extra terms ([7c8b7ed](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/7c8b7ed790d7b76d1379d6f5d487c8bb95b7535a))
|
|
10
|
+
* turned off terms by default ([d94d556](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/d94d5565ee79f08fd12708bd070a263e33391f4e))
|
|
11
|
+
* update theme ([470fad0](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/470fad064b4c917825deb796a6fa8e2d860f552a))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
* Merge branch 'align-matrix' into 'master' ([7dc4aa9](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/7dc4aa9065212d261a1429ce9a1ddcbaef3b06b6))
|
|
15
|
+
* Merge branch 'tm-3828-wagering-calculator' into 'master' ([6ea0934](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/6ea0934fc4d6310c158fa3cab0eec17341204ca6))
|
|
16
|
+
|
|
1
17
|
## [37.0.24](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/compare/v37.0.23...v37.0.24) (2023-12-04)
|
|
2
18
|
|
|
3
19
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "gatsby-matrix-theme",
|
|
3
|
-
"version": "37.0.
|
|
3
|
+
"version": "37.0.25",
|
|
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": "^5.11.0",
|
|
28
|
-
"gatsby-core-theme": "30.0.
|
|
28
|
+
"gatsby-core-theme": "30.0.30",
|
|
29
29
|
"gatsby-plugin-sharp": "^5.11.0",
|
|
30
30
|
"gatsby-plugin-sitemap": "^3.3.0",
|
|
31
31
|
"gatsby-transformer-sharp": "^5.11.0",
|
|
@@ -5,17 +5,18 @@ import { prettyTracker, getExtraField } from 'gatsby-core-theme/src/helpers/gett
|
|
|
5
5
|
|
|
6
6
|
import Bonus from 'gatsby-core-theme/src/components/molecules/bonus-box/template-four';
|
|
7
7
|
import OperatorCta from 'gatsby-core-theme/src/components/atoms/button/operator-cta';
|
|
8
|
+
import TermsConditions from 'gatsby-core-theme/src/components/molecules/tnc';
|
|
8
9
|
import OperatorDetails from '../../molecules/operator-details';
|
|
9
10
|
import Coupon from '../coupon';
|
|
10
11
|
import styles from './recommended-operators.module.scss';
|
|
11
12
|
|
|
12
13
|
const RecommendedOperators = ({
|
|
13
14
|
showCouponCode = false,
|
|
15
|
+
showTerms = false,
|
|
14
16
|
showRating = false,
|
|
15
17
|
showAuthor = false,
|
|
16
18
|
title = 'Recommended Casinos:',
|
|
17
19
|
buttonType = 'primary',
|
|
18
|
-
groupCouponCta = true,
|
|
19
20
|
operators,
|
|
20
21
|
}) => (
|
|
21
22
|
<div className={styles.reccommendedCasinos}>
|
|
@@ -42,16 +43,14 @@ const RecommendedOperators = ({
|
|
|
42
43
|
</a>
|
|
43
44
|
<div className={styles.operatorBonus}>
|
|
44
45
|
<Bonus item={operator} tracker="main" />
|
|
46
|
+
{showTerms && <TermsConditions operator={operator} hasCollapse={false} />}
|
|
45
47
|
</div>
|
|
46
|
-
{
|
|
48
|
+
{showCouponCode && (
|
|
47
49
|
<div className={styles.couponCtaContainer}>
|
|
48
|
-
{showCouponCode &&
|
|
49
|
-
{
|
|
50
|
-
<OperatorCta operator={operator} tracker="main" buttonType={buttonType} />
|
|
51
|
-
)}
|
|
50
|
+
{showCouponCode && <Coupon code={couponCode} />}
|
|
51
|
+
<OperatorCta operator={operator} tracker="main" buttonType={buttonType} />
|
|
52
52
|
</div>
|
|
53
53
|
)}
|
|
54
|
-
{showCouponCode && !groupCouponCta && <Coupon code={couponCode} />}
|
|
55
54
|
{!showCouponCode && (
|
|
56
55
|
<OperatorCta operator={operator} tracker="main" buttonType={buttonType} />
|
|
57
56
|
)}
|
|
@@ -66,7 +65,7 @@ export default RecommendedOperators;
|
|
|
66
65
|
RecommendedOperators.propTypes = {
|
|
67
66
|
showCouponCode: PropTypes.bool,
|
|
68
67
|
showRating: PropTypes.bool,
|
|
69
|
-
|
|
68
|
+
showTerms: PropTypes.bool,
|
|
70
69
|
showAuthor: PropTypes.bool,
|
|
71
70
|
title: PropTypes.string,
|
|
72
71
|
buttonType: PropTypes.string,
|
|
@@ -28,35 +28,25 @@
|
|
|
28
28
|
color: #fff;
|
|
29
29
|
padding: 0.8rem;
|
|
30
30
|
column-gap: 0.8rem;
|
|
31
|
-
|
|
31
|
+
flex-wrap: wrap;
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
@include min(mobile) {
|
|
35
|
+
flex-wrap: nowrap;
|
|
32
36
|
row-gap: 1.6rem;
|
|
33
37
|
padding: 1.2rem;
|
|
34
38
|
}
|
|
35
|
-
|
|
36
|
-
@include min(mobile-s)
|
|
37
|
-
{
|
|
38
|
-
flex-wrap: wrap;
|
|
39
|
-
}
|
|
40
39
|
|
|
41
40
|
&:last-child {
|
|
42
41
|
margin-bottom: 0;
|
|
43
42
|
}
|
|
44
43
|
|
|
45
|
-
a:first-child{
|
|
44
|
+
& > a:first-child{
|
|
46
45
|
@include min(tablet){
|
|
47
|
-
flex-basis:
|
|
48
|
-
}
|
|
49
|
-
.Logo.cta{
|
|
50
|
-
height: 4rem;
|
|
51
|
-
width: 4rem;
|
|
52
|
-
@include min(tablet) {
|
|
53
|
-
height: 6.4rem;
|
|
54
|
-
width: auto;
|
|
55
|
-
}
|
|
46
|
+
flex-basis: 35%;
|
|
56
47
|
}
|
|
57
48
|
}
|
|
58
49
|
|
|
59
|
-
|
|
60
50
|
a:nth-child(2) {
|
|
61
51
|
width: unset;
|
|
62
52
|
> span{
|
|
@@ -74,7 +64,7 @@
|
|
|
74
64
|
border-radius: 0.8rem;
|
|
75
65
|
height: 100%;
|
|
76
66
|
}
|
|
77
|
-
a:
|
|
67
|
+
a:nth-child(3){
|
|
78
68
|
padding: 0.8rem 1.6rem;
|
|
79
69
|
font-size: 1.4rem;
|
|
80
70
|
font-weight: 700;
|
|
@@ -86,20 +76,19 @@
|
|
|
86
76
|
padding: 0.9rem 3rem;
|
|
87
77
|
width: unset;
|
|
88
78
|
}
|
|
89
|
-
|
|
79
|
+
}
|
|
90
80
|
|
|
91
81
|
> div {
|
|
92
82
|
&.operatorBonus{
|
|
93
|
-
// flex-grow: inherit;
|
|
94
83
|
flex-grow: 1;
|
|
84
|
+
flex-basis: 50%;
|
|
95
85
|
@include flex-align(flex-start, center);
|
|
96
86
|
@include flex-direction(column);
|
|
87
|
+
|
|
97
88
|
@include min(tablet) {
|
|
98
|
-
flex-basis: auto;
|
|
99
|
-
flex-grow: 1;
|
|
100
89
|
@include flex-align(center, flex-start);
|
|
101
90
|
background-color: #fff;
|
|
102
|
-
|
|
91
|
+
padding: .8rem;
|
|
103
92
|
min-height: 6.4rem;
|
|
104
93
|
align-items: center;
|
|
105
94
|
justify-content: center;
|
|
@@ -118,6 +107,19 @@
|
|
|
118
107
|
line-height: 2.2rem;
|
|
119
108
|
}
|
|
120
109
|
}
|
|
110
|
+
|
|
111
|
+
> div{
|
|
112
|
+
font-size: 1rem;
|
|
113
|
+
color: #515156;
|
|
114
|
+
font-weight: 400;
|
|
115
|
+
text-align: left;
|
|
116
|
+
|
|
117
|
+
@include min(mobile){
|
|
118
|
+
padding: 0.4rem 0;
|
|
119
|
+
text-align: center;
|
|
120
|
+
display: inline-block;
|
|
121
|
+
}
|
|
122
|
+
}
|
|
121
123
|
}
|
|
122
124
|
&.couponCtaContainer{
|
|
123
125
|
> div{ width: 100%; }
|
|
@@ -39,18 +39,21 @@ const Modules = ({ module, pageContext, index, exclOperator }) => {
|
|
|
39
39
|
case 'anchor':
|
|
40
40
|
if (items && items.length > 0) {
|
|
41
41
|
if (style === 'template_two') {
|
|
42
|
-
return loadable(() =>
|
|
42
|
+
return loadable(() =>
|
|
43
|
+
import('gatsby-core-theme/src/components/organisms/anchor/template-two')
|
|
44
|
+
);
|
|
43
45
|
}
|
|
44
|
-
return loadable(() =>
|
|
46
|
+
return loadable(() =>
|
|
47
|
+
import('gatsby-core-theme/src/components/organisms/anchor/template-one')
|
|
48
|
+
);
|
|
45
49
|
}
|
|
46
|
-
|
|
47
50
|
return null;
|
|
48
51
|
case 'carousel':
|
|
49
52
|
if (
|
|
50
53
|
items.length > 0 && // has items
|
|
51
54
|
items.filter((item) => item.image === null).length === 0 // not filled with null items
|
|
52
55
|
) {
|
|
53
|
-
return loadable(() => import('
|
|
56
|
+
return loadable(() => import('gatsby-core-theme/src/components/organisms/carousel'));
|
|
54
57
|
}
|
|
55
58
|
return null;
|
|
56
59
|
case 'bonus':
|