gatsby-matrix-theme 3.2.11 → 3.2.12
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 +27 -0
- package/package.json +2 -2
- package/src/components/atoms/cards/comparison-table/table/table.module.scss +7 -6
- package/src/components/atoms/newsletter/form/index.js +2 -2
- package/src/gatsby-core-theme/components/molecules/footer/index.js +3 -1
- package/src/gatsby-core-theme/components/organisms/anchor/anchor.module.scss +14 -1
- package/src/gatsby-core-theme/components/organisms/anchor/index.js +3 -17
- package/storybook/public/iframe.html +1 -1
- package/storybook/public/main.cb46f94c.iframe.bundle.js +1 -0
- package/storybook/public/{vendors~main.8e6f3896.iframe.bundle.js → vendors~main.7fc7de06.iframe.bundle.js} +3 -3
- package/storybook/public/{vendors~main.8e6f3896.iframe.bundle.js.LICENSE.txt → vendors~main.7fc7de06.iframe.bundle.js.LICENSE.txt} +0 -0
- package/storybook/public/vendors~main.7fc7de06.iframe.bundle.js.map +1 -0
- package/storybook/public/main.35c61ead.iframe.bundle.js +0 -1
- package/storybook/public/vendors~main.8e6f3896.iframe.bundle.js.map +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,30 @@
|
|
|
1
|
+
## [3.2.12](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/compare/v3.2.11...v3.2.12) (2022-01-18)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* make style ([7bdee3c](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/7bdee3cca0ed0734030933a28704dbb70c7c61ad))
|
|
7
|
+
* removed slider from anchor module ([f0ed893](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/f0ed893e51c19ec7264827f1dc6a30f2c91c0c2e))
|
|
8
|
+
* small fix ([5c331cf](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/5c331cf2de55270811ffa316cd3d39c98c013176))
|
|
9
|
+
* update aria-label on newsletter inputs ([23b9bb9](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/23b9bb91aab8ea57291989b01423ca27ee97c3b4))
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
### Code Refactoring
|
|
13
|
+
|
|
14
|
+
* update html.js for w3 validator ([ffb2aa5](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/ffb2aa5ae3051657dd427571f99e9feed1eca642))
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
### Config
|
|
18
|
+
|
|
19
|
+
* updated theme version ([98954f3](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/98954f3a11f851ee66d620a32b1feac013f2642f))
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
* Merge branch 'tm-2567-update-theme-for-w3-validator' into 'master' ([1bb11dd](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/1bb11dded1f44fce70f0ac22bcc151f19cb92cfe))
|
|
23
|
+
* Merge branch 'tm-2655-anchor-module' into 'master' ([cfd8d53](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/cfd8d538e7b450fd1cf49e0ba10cd7f575d482f7))
|
|
24
|
+
* Merge branch 'tm-2567-update-theme-for-w3-validator' into 'master' ([7038322](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/703832269572f3bd5791d56c3a7747a72e1f4fb7))
|
|
25
|
+
* Merge branch 'master' of git.ilcd.rocks:team-floyd/themes/matrix-theme ([e0925b2](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/e0925b293b241bfbe7ba2138838270ac2ad465d1))
|
|
26
|
+
* Merge branch 'tm-2585-comparisonTabel' into 'master' ([f36ce52](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/f36ce52fc6f847cc89c03fc83269d023fcb1774d))
|
|
27
|
+
|
|
1
28
|
## [3.2.11](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/compare/v3.2.10...v3.2.11) (2022-01-13)
|
|
2
29
|
|
|
3
30
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "gatsby-matrix-theme",
|
|
3
|
-
"version": "3.2.
|
|
3
|
+
"version": "3.2.12",
|
|
4
4
|
"main": "index.js",
|
|
5
5
|
"description": "Matrix Theme NPM Package",
|
|
6
6
|
"author": "",
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
"cross-env": "^7.0.2",
|
|
32
32
|
"dotenv": "8.2.0",
|
|
33
33
|
"gatsby": "^3.3.1",
|
|
34
|
-
"gatsby-core-theme": "^2.
|
|
34
|
+
"gatsby-core-theme": "^2.2.0",
|
|
35
35
|
"gatsby-image": "^3.3.0",
|
|
36
36
|
"gatsby-plugin-image": "^1.3.1",
|
|
37
37
|
"gatsby-plugin-postcss": "^4.3.0",
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
.table {
|
|
2
2
|
cursor: grabbing;
|
|
3
3
|
tr {
|
|
4
|
-
grid-template-columns: 15.2rem
|
|
5
|
-
grid-auto-columns:
|
|
4
|
+
grid-template-columns: 15.2rem 30rem;
|
|
5
|
+
grid-auto-columns: 30rem;
|
|
6
6
|
grid-auto-flow: column;
|
|
7
7
|
display: grid;
|
|
8
8
|
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
}
|
|
45
45
|
.casinoName {
|
|
46
46
|
@include flex-direction(row);
|
|
47
|
-
@include flex-align(center,
|
|
47
|
+
@include flex-align(center, flex-start);
|
|
48
48
|
padding: 1.6rem;
|
|
49
49
|
img {
|
|
50
50
|
border: 1px solid var(--color-9);
|
|
@@ -131,7 +131,7 @@
|
|
|
131
131
|
width: 4.4rem;
|
|
132
132
|
height: 2.4rem;
|
|
133
133
|
padding: 0.499rem 0.8rem;
|
|
134
|
-
|
|
134
|
+
display: inline-block;
|
|
135
135
|
}
|
|
136
136
|
}
|
|
137
137
|
.paymentMethods {
|
|
@@ -144,7 +144,7 @@
|
|
|
144
144
|
font-size: 14px;
|
|
145
145
|
line-height: 18px;
|
|
146
146
|
object-fit: contain;
|
|
147
|
-
color:
|
|
147
|
+
color: black;
|
|
148
148
|
margin-bottom: 0.5rem;
|
|
149
149
|
margin-top: 0.5rem;
|
|
150
150
|
img {
|
|
@@ -175,7 +175,8 @@
|
|
|
175
175
|
.licenses {
|
|
176
176
|
padding: 1.1rem;
|
|
177
177
|
img {
|
|
178
|
-
|
|
178
|
+
display: inline-block;
|
|
179
|
+
height: 3.2rem;
|
|
179
180
|
width: 7.2rem;
|
|
180
181
|
object-fit: contain;
|
|
181
182
|
background-color: #fff;
|
|
@@ -45,8 +45,8 @@ const NewsletterForm =({
|
|
|
45
45
|
}
|
|
46
46
|
return(
|
|
47
47
|
<form action={formAction} method="post" ref={form} onSubmit={handelSubmit}>
|
|
48
|
-
<input type="hidden" name="listname" aria-label="listname
|
|
49
|
-
<input type="hidden" name="redirect" aria-label="redirect
|
|
48
|
+
<input type="hidden" name="listname" aria-label="listname-hidden" value={newsletterListId} />
|
|
49
|
+
<input type="hidden" name="redirect" aria-label="redirect-hidden" value={redirectUrl} />
|
|
50
50
|
<input className={styles.input} placeholder={placeholderName} type="text" name="name" />
|
|
51
51
|
<input className={styles.input} placeholder={placeholderEmail} type="email" name="email" />
|
|
52
52
|
<button className={styles.button} type="submit">{buttonText}</button>
|
|
@@ -16,6 +16,7 @@ const Footer = ({
|
|
|
16
16
|
template,
|
|
17
17
|
page,
|
|
18
18
|
hasFooterLinks = false,
|
|
19
|
+
hasDisclaimer = true,
|
|
19
20
|
}) => {
|
|
20
21
|
const TopSection = footerTopCustom;
|
|
21
22
|
const BottomSection = footerBottomCustom;
|
|
@@ -62,7 +63,7 @@ const Footer = ({
|
|
|
62
63
|
gtmClass="mobile-menu-gtm logo-cta"
|
|
63
64
|
/>
|
|
64
65
|
)}
|
|
65
|
-
<Disclaimer image={dmcaImg} />
|
|
66
|
+
{hasDisclaimer && <Disclaimer image={dmcaImg} />}
|
|
66
67
|
</div>
|
|
67
68
|
</div>
|
|
68
69
|
</footer>
|
|
@@ -91,4 +92,5 @@ Footer.propTypes = {
|
|
|
91
92
|
// eslint-disable-next-line react/forbid-prop-types
|
|
92
93
|
page: PropTypes.object,
|
|
93
94
|
hasFooterLinks: PropTypes.bool,
|
|
95
|
+
hasDisclaimer: PropTypes.bool,
|
|
94
96
|
};
|
|
@@ -1,4 +1,15 @@
|
|
|
1
|
-
.
|
|
1
|
+
.anchor {
|
|
2
|
+
@include flex-direction(row);
|
|
3
|
+
&::-webkit-scrollbar {
|
|
4
|
+
height: 0.5rem;
|
|
5
|
+
}
|
|
6
|
+
&::-webkit-scrollbar-track {
|
|
7
|
+
background: #fff;
|
|
8
|
+
}
|
|
9
|
+
&::-webkit-scrollbar-thumb {
|
|
10
|
+
background: var(--anchor-thumb-color);
|
|
11
|
+
}
|
|
12
|
+
overflow-x: scroll;
|
|
2
13
|
.link {
|
|
3
14
|
word-break: inherit;
|
|
4
15
|
white-space: nowrap;
|
|
@@ -8,6 +19,8 @@
|
|
|
8
19
|
color: #000;
|
|
9
20
|
font-weight: 400;
|
|
10
21
|
@include flex-align(center, center);
|
|
22
|
+
margin-right: 1.6rem;
|
|
23
|
+
margin-bottom: 0.5rem;
|
|
11
24
|
|
|
12
25
|
svg {
|
|
13
26
|
margin-left: 1rem;
|
|
@@ -1,17 +1,10 @@
|
|
|
1
1
|
import React, { useState } from 'react';
|
|
2
2
|
import PropTypes from 'prop-types';
|
|
3
|
-
import Slider from '~molecules/slider';
|
|
4
3
|
import keygen from '~helpers/keygen';
|
|
5
4
|
import { anchorLink } from '~helpers/strings';
|
|
6
5
|
import styles from './anchor.module.scss';
|
|
7
6
|
|
|
8
|
-
function Anchor({
|
|
9
|
-
module: { items },
|
|
10
|
-
headerOffset = 80,
|
|
11
|
-
sliderGap = 0,
|
|
12
|
-
isFixed = false,
|
|
13
|
-
icon = null,
|
|
14
|
-
}) {
|
|
7
|
+
function Anchor({ module: { items }, headerOffset = 80, isFixed = false, icon = null }) {
|
|
15
8
|
const [isFixedMenu, setIsFixedMenu] = useState(false);
|
|
16
9
|
if (isFixed && typeof window !== 'undefined') {
|
|
17
10
|
window.addEventListener('scroll', () => {
|
|
@@ -48,13 +41,7 @@ function Anchor({
|
|
|
48
41
|
return (
|
|
49
42
|
<div id="faq-container">
|
|
50
43
|
<div className={isFixedMenu && styles.isFixed}>
|
|
51
|
-
<
|
|
52
|
-
useArrows={false}
|
|
53
|
-
usePagination={false}
|
|
54
|
-
settings={{ numberOfSlides: 0, sliderGap }}
|
|
55
|
-
className={styles.sliderWrapper}
|
|
56
|
-
gtmClass="anchor-carousel-gtm"
|
|
57
|
-
>
|
|
44
|
+
<div className={styles.anchor} gtmClass="anchor-carousel-gtm">
|
|
58
45
|
{items?.map((anchor) => (
|
|
59
46
|
<a
|
|
60
47
|
className={`${styles.link} anchor-carousel-gtm anchor-menu-gtm`}
|
|
@@ -66,7 +53,7 @@ function Anchor({
|
|
|
66
53
|
{icon}
|
|
67
54
|
</a>
|
|
68
55
|
))}
|
|
69
|
-
</
|
|
56
|
+
</div>
|
|
70
57
|
</div>
|
|
71
58
|
</div>
|
|
72
59
|
);
|
|
@@ -81,7 +68,6 @@ Anchor.propTypes = {
|
|
|
81
68
|
),
|
|
82
69
|
}).isRequired,
|
|
83
70
|
headerOffset: PropTypes.number.isRequired,
|
|
84
|
-
sliderGap: PropTypes.number,
|
|
85
71
|
styles: PropTypes.shape({}),
|
|
86
72
|
isFixed: PropTypes.bool,
|
|
87
73
|
icon: PropTypes.element,
|
|
@@ -135,4 +135,4 @@
|
|
|
135
135
|
|
|
136
136
|
|
|
137
137
|
|
|
138
|
-
window['FEATURES'] = {"postcss":true};</script><script src="runtime~main.ce98447d.iframe.bundle.js"></script><script src="vendors~main.
|
|
138
|
+
window['FEATURES'] = {"postcss":true};</script><script src="runtime~main.ce98447d.iframe.bundle.js"></script><script src="vendors~main.7fc7de06.iframe.bundle.js"></script><script src="main.cb46f94c.iframe.bundle.js"></script></body></html>
|