gatsby-matrix-theme 19.0.12 → 20.0.1
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 +35 -0
- package/package.json +2 -2
- package/src/components/atoms/cards/article-card/template-one/article-card.module.scss +12 -2
- package/src/components/atoms/cards/article-card/template-one/template-one.stories.js +6 -0
- package/src/components/atoms/cards/comparison-table/table/table.module.scss +1 -1
- package/src/components/atoms/cards/operator-card/template-four/template-four.module.scss +2 -14
- package/src/components/atoms/cards/operator-card/template-one/template-one.module.scss +2 -14
- package/src/components/atoms/cards/operator-card/template-three/template-three.module.scss +2 -14
- package/src/components/atoms/cards/operator-card/template-two/template-two.module.scss +1 -13
- package/src/components/molecules/footer/variants/template-one/template-one.stories.js +1 -1
- package/src/components/molecules/footer/variants/template-three/template-three.stories.js +1 -1
- package/src/components/molecules/footer/variants/template-two/template-two.stories.js +1 -1
- package/src/gatsby-core-theme/components/molecules/footer/index.js +1 -1
- package/src/gatsby-core-theme/hooks/tabs/tab/tab-list.js +0 -4
- package/src/gatsby-core-theme/hooks/tabs/tab/tab-list.module.scss +2 -0
- package/src/gatsby-core-theme/hooks/tabs/tab/tab.module.scss +4 -1
- package/src/gatsby-core-theme/hooks/tabs/tabs.module.scss +1 -0
- package/storybook/public/iframe.html +1 -1
- package/storybook/public/main.574da9bb.iframe.bundle.js +1 -0
- package/storybook/public/main.d1c22672.iframe.bundle.js +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,38 @@
|
|
|
1
|
+
## [20.0.1](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/compare/v20.0.0...v20.0.1) (2023-04-24)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* remove isMobile ([befe963](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/befe963a221573c8ff859580109977955a5ab935))
|
|
7
|
+
* updated to latest core theme ([b0a3c81](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/b0a3c8149d009ebe63cffd3e959ac2e58e28af8a))
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
* Merge branch 'master' of git.ilcd.rocks:team-floyd/themes/matrix-theme ([48570f2](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/48570f203ec0a8e0e3ced3a9fff62658d5977c0f))
|
|
11
|
+
* Merge branch 'tm-3350-tabs' into 'master' ([cf86cfb](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/cf86cfbc6a3379131ac4700e31e31abaccd138ee))
|
|
12
|
+
|
|
13
|
+
# [20.0.0](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/compare/v19.0.12...v20.0.0) (2023-04-20)
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
### Code Refactoring
|
|
17
|
+
|
|
18
|
+
* changes to article author as link styles ([2cf5eaa](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/2cf5eaaadbe1ad34616d3d5ffae2bc70cb789c9d))
|
|
19
|
+
* changes to bonus on operator and article cards ([006c7be](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/006c7befa3f6d2c7143772d6bd523dae2cf21051))
|
|
20
|
+
* reverse temp ([595e0fa](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/595e0fa573f9177e4bbb3d05c74f10659099bbb7))
|
|
21
|
+
* temp ([aa172b2](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/aa172b2c49642e4949c7818d0ed68c66fcef652b))
|
|
22
|
+
* update comparison table bonus flex align for w3c ([de03e02](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/de03e02a82cb8eb7affe343bce35a77448c00bd9))
|
|
23
|
+
* update footer templates anchor class for w3c ([016392b](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/016392bbf770d61596ff7abdcdcb62941bb0ce5d))
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
### Config
|
|
27
|
+
|
|
28
|
+
* update core version ([4138be9](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/4138be91fb02ef847398811ffb2adab8458bc2fb))
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
* Merge branch 'tm-3386-w3-validator-fixes' into 'master' ([2c0f950](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/2c0f95038fde6b66cab24ba0c1f449ad543ee2da))
|
|
32
|
+
* Merge branch 'tm-3309-operator-cards' into 'master' ([e43c67e](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/e43c67e9b6961937b5caa0276be14b6be419825e))
|
|
33
|
+
* Merge branch 'master' into tm-3309-operator-cards ([c8e8c70](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/c8e8c7052a44a00b8b8ad63a5d2116aca3bda990))
|
|
34
|
+
* Merge branch 'master' into tm-3309-operator-cards ([7b455f4](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/7b455f4a4d8ab57b3f8b326e75ab0b6ad4eb3a3f))
|
|
35
|
+
|
|
1
36
|
## [19.0.12](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/compare/v19.0.11...v19.0.12) (2023-04-19)
|
|
2
37
|
|
|
3
38
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "gatsby-matrix-theme",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "20.0.1",
|
|
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": "
|
|
28
|
+
"gatsby-core-theme": "21.0.1",
|
|
29
29
|
"gatsby-plugin-sharp": "^4.10.2",
|
|
30
30
|
"gatsby-plugin-sitemap": "^3.3.0",
|
|
31
31
|
"gatsby-transformer-sharp": "^4.10.0",
|
|
@@ -53,9 +53,19 @@
|
|
|
53
53
|
@include flex-align(flex-start, flex-start);
|
|
54
54
|
gap: .2rem;
|
|
55
55
|
flex-grow: 1;
|
|
56
|
-
>span {
|
|
56
|
+
> span {
|
|
57
57
|
flex-grow: 1;
|
|
58
|
-
@include flex-align(flex-
|
|
58
|
+
@include flex-align(flex-start, flex-start);
|
|
59
|
+
|
|
60
|
+
+ span {
|
|
61
|
+
justify-content: flex-end;
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
> a {
|
|
66
|
+
+ span {
|
|
67
|
+
justify-content: flex-end;
|
|
68
|
+
}
|
|
59
69
|
}
|
|
60
70
|
}
|
|
61
71
|
}
|
|
@@ -10,6 +10,12 @@ export default {
|
|
|
10
10
|
description: 'Set true to show the Template 2',
|
|
11
11
|
name: 'Template 2',
|
|
12
12
|
},
|
|
13
|
+
showAuthorAsLink: {
|
|
14
|
+
name: 'showAuthorAsLink',
|
|
15
|
+
type: { name: 'boolean', required: false },
|
|
16
|
+
defaultValue: false,
|
|
17
|
+
description: 'Show author as a link?',
|
|
18
|
+
},
|
|
13
19
|
showDate: {
|
|
14
20
|
name: 'showDate',
|
|
15
21
|
type: { name: 'boolean', required: false },
|
|
@@ -51,23 +51,11 @@
|
|
|
51
51
|
}
|
|
52
52
|
|
|
53
53
|
.casinoText {
|
|
54
|
-
@include flex-align(
|
|
54
|
+
@include flex-align(center, space-between);
|
|
55
55
|
width: 100%;
|
|
56
56
|
flex-direction: column;
|
|
57
57
|
overflow: hidden;
|
|
58
|
-
|
|
59
|
-
span {
|
|
60
|
-
width: 100%;
|
|
61
|
-
font-style: normal;
|
|
62
|
-
font-weight: 600;
|
|
63
|
-
font-size: 1.6rem;
|
|
64
|
-
line-height: 2.7rem;
|
|
65
|
-
@include flex-align(center, center);
|
|
66
|
-
text-align: center;
|
|
67
|
-
text-transform: capitalize;
|
|
68
|
-
color: var(--color-50);
|
|
69
|
-
padding: 0;
|
|
70
|
-
}
|
|
58
|
+
text-align: center;
|
|
71
59
|
}
|
|
72
60
|
|
|
73
61
|
.cardFooter {
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
}
|
|
23
23
|
|
|
24
24
|
.casinoText {
|
|
25
|
-
@include flex-align(
|
|
25
|
+
@include flex-align(center, center);
|
|
26
26
|
width: 100%;
|
|
27
27
|
flex-direction: column;
|
|
28
28
|
padding: 1.6rem;
|
|
@@ -31,19 +31,7 @@
|
|
|
31
31
|
border: 1.5px dashed var(--color-55);
|
|
32
32
|
border-radius: 1.2rem;
|
|
33
33
|
flex: 1;
|
|
34
|
-
|
|
35
|
-
span {
|
|
36
|
-
width: 100%;
|
|
37
|
-
font-style: normal;
|
|
38
|
-
font-weight: 600;
|
|
39
|
-
font-size: 1.6rem;
|
|
40
|
-
line-height: 2.7rem;
|
|
41
|
-
@include flex-align(center, center);
|
|
42
|
-
text-align: center;
|
|
43
|
-
text-transform: capitalize;
|
|
44
|
-
color: var(--color-50);
|
|
45
|
-
padding: 0;
|
|
46
|
-
}
|
|
34
|
+
text-align: center;
|
|
47
35
|
}
|
|
48
36
|
|
|
49
37
|
.cardFooter {
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
}
|
|
22
22
|
|
|
23
23
|
.casinoText {
|
|
24
|
-
@include flex-align(
|
|
24
|
+
@include flex-align(center, space-between);
|
|
25
25
|
width: 100%;
|
|
26
26
|
flex-direction: column;
|
|
27
27
|
padding: 1.6rem;
|
|
@@ -29,19 +29,7 @@
|
|
|
29
29
|
background: var(--color-54);
|
|
30
30
|
border: 1.5px dashed var(--color-55);
|
|
31
31
|
border-radius: 1.2rem;
|
|
32
|
-
|
|
33
|
-
span {
|
|
34
|
-
width: 100%;
|
|
35
|
-
font-style: normal;
|
|
36
|
-
font-weight: 600;
|
|
37
|
-
font-size: 1.6rem;
|
|
38
|
-
line-height: 2.7rem;
|
|
39
|
-
@include flex-align(center, center);
|
|
40
|
-
text-align: center;
|
|
41
|
-
text-transform: capitalize;
|
|
42
|
-
color: var(--color-50);
|
|
43
|
-
padding: 0;
|
|
44
|
-
}
|
|
32
|
+
text-align: center;
|
|
45
33
|
}
|
|
46
34
|
|
|
47
35
|
.cardFooter {
|
|
@@ -27,19 +27,7 @@
|
|
|
27
27
|
width: 100%;
|
|
28
28
|
flex-direction: column;
|
|
29
29
|
overflow: hidden;
|
|
30
|
-
|
|
31
|
-
span {
|
|
32
|
-
width: 100%;
|
|
33
|
-
font-style: normal;
|
|
34
|
-
font-weight: 600;
|
|
35
|
-
font-size: 1.6rem;
|
|
36
|
-
line-height: 2.7rem;
|
|
37
|
-
@include flex-align(center, center);
|
|
38
|
-
text-align: center;
|
|
39
|
-
text-transform: capitalize;
|
|
40
|
-
color: var(--color-50);
|
|
41
|
-
padding: 0;
|
|
42
|
-
}
|
|
30
|
+
text-align: center;
|
|
43
31
|
}
|
|
44
32
|
|
|
45
33
|
.cardFooter {
|
|
@@ -6,7 +6,6 @@ import PropTypes from 'prop-types';
|
|
|
6
6
|
import Tab from 'gatsby-core-theme/src/hooks/tabs/tab/tab';
|
|
7
7
|
import styles from './tab-list.module.scss';
|
|
8
8
|
import keygen from '~helpers/keygen';
|
|
9
|
-
import useWindowSize from '~hooks/useWindowSize';
|
|
10
9
|
import { closeOtherSelects } from '~helpers/select';
|
|
11
10
|
|
|
12
11
|
const TabList = ({
|
|
@@ -35,8 +34,6 @@ const TabList = ({
|
|
|
35
34
|
filterBtn.current.classList.toggle(styles.flip);
|
|
36
35
|
}
|
|
37
36
|
|
|
38
|
-
const [width] = useWindowSize();
|
|
39
|
-
const isMobile = width < 992;
|
|
40
37
|
return (
|
|
41
38
|
<div className={`${styles.tabList} ${alignRight && styles.right}`}>
|
|
42
39
|
<button
|
|
@@ -52,7 +49,6 @@ const TabList = ({
|
|
|
52
49
|
{tabItems.map((item, index) => {
|
|
53
50
|
if (item === null) return null;
|
|
54
51
|
const { label } = item.props;
|
|
55
|
-
if (isMobile && label === activeTab.split('_')[0]) return null;
|
|
56
52
|
return (
|
|
57
53
|
<Tab
|
|
58
54
|
activeTab={activeTab}
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
@include flex-align(center, flex-start);
|
|
3
3
|
position: relative;
|
|
4
4
|
margin: 0 0 2rem 0;
|
|
5
|
+
height: fit-content;
|
|
5
6
|
&.right {
|
|
6
7
|
display: unset;
|
|
7
8
|
@include min(tablet){
|
|
@@ -49,6 +50,7 @@
|
|
|
49
50
|
.list {
|
|
50
51
|
width: 100%;
|
|
51
52
|
top: 100%;
|
|
53
|
+
margin-top: 0.5rem;
|
|
52
54
|
@include max(tablet) {
|
|
53
55
|
@include visibility;
|
|
54
56
|
transition: visibility 0s linear 0s, opacity 0s linear;
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
|
|
12
12
|
button {
|
|
13
13
|
background: white;
|
|
14
|
-
padding: 1.5rem
|
|
14
|
+
padding: 1.5rem 1rem;
|
|
15
15
|
text-transform: capitalize;
|
|
16
16
|
font-weight: bold;
|
|
17
17
|
color: #08202e;
|
|
@@ -27,6 +27,9 @@
|
|
|
27
27
|
}
|
|
28
28
|
|
|
29
29
|
.active {
|
|
30
|
+
@include max(tablet){
|
|
31
|
+
display: none;
|
|
32
|
+
}
|
|
30
33
|
@include min(laptop) {
|
|
31
34
|
background: #00889e;
|
|
32
35
|
box-shadow: 0 0.2rem 0.4rem rgba(21, 14, 6, 0.15);
|
|
@@ -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.411e0a84.iframe.bundle.js"></script><script src="627.5f6bcbc9.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.411e0a84.iframe.bundle.js"></script><script src="627.5f6bcbc9.iframe.bundle.js"></script><script src="main.574da9bb.iframe.bundle.js"></script></body></html>
|