gatsby-matrix-theme 7.1.43 → 7.1.46
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 +40 -0
- package/package.json +2 -2
- package/src/components/molecules/toplist/row/variant-one.js +8 -1
- package/src/components/molecules/toplist/row/variant-one.module.scss +8 -0
- package/src/gatsby-core-theme/components/atoms/spotlights/index.js +2 -0
- package/src/gatsby-core-theme/components/organisms/cards/index.js +1 -6
- package/src/gatsby-core-theme/components/organisms/toplist/list/index.js +3 -1
- package/src/gatsby-core-theme/components/pages/search/index.js +2 -0
- package/src/gatsby-core-theme/constants/spotlight-image-dimensions.js +16 -0
- package/src/hooks/tabs/tab/tab-list.module.scss +1 -0
- package/storybook/public/{139.bcea9d6e.iframe.bundle.js → 139.b52b53e9.iframe.bundle.js} +3 -3
- package/storybook/public/{139.bcea9d6e.iframe.bundle.js.LICENSE.txt → 139.b52b53e9.iframe.bundle.js.LICENSE.txt} +0 -0
- package/storybook/public/{139.bcea9d6e.iframe.bundle.js.map → 139.b52b53e9.iframe.bundle.js.map} +1 -1
- package/storybook/public/409.f37c0087.iframe.bundle.js +1 -0
- package/storybook/public/500.a1e5c8d8.iframe.bundle.js +1 -0
- package/storybook/public/iframe.html +1 -1
- package/storybook/public/main.d44da61e.iframe.bundle.js +1 -0
- package/storybook/public/{runtime~main.c79754d5.iframe.bundle.js → runtime~main.7cadc342.iframe.bundle.js} +1 -1
- package/storybook/public/409.4390bdde.iframe.bundle.js +0 -1
- package/storybook/public/500.80972e07.iframe.bundle.js +0 -1
- package/storybook/public/main.f5d8e990.iframe.bundle.js +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,43 @@
|
|
|
1
|
+
## [7.1.46](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/compare/v7.1.45...v7.1.46) (2022-08-01)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* update core theme and update variant-one ([41f27e5](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/41f27e58bdf53a7499aad37a744a678f5bb01a5a))
|
|
7
|
+
* update review link in toplist ([6590cb0](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/6590cb08bc8c7dbe8ef50117b3a8bdb0a7b07c1a))
|
|
8
|
+
* update spotlight module and spotlight image constant ([6680a17](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/6680a17971de01e043aef5dc619a5dc903103b47))
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
* Merge branch 'tm-2979-spotlight-module' into 'master' ([317d4e2](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/317d4e261cdb7ba44593f412f8c652857d224b84))
|
|
12
|
+
* Merge branch 'tm-2971-adding-expert-rating-to-toplist' into 'master' ([94fc548](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/94fc5489d0ffe3b2b4b67db2ef1b8c330e3f5489))
|
|
13
|
+
|
|
14
|
+
## [7.1.45](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/compare/v7.1.44...v7.1.45) (2022-07-29)
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
### Bug Fixes
|
|
18
|
+
|
|
19
|
+
* add default type in search results ([33e7ca5](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/33e7ca5e07ef9cef39f403a15353807fc3e03de8))
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
### Code Refactoring
|
|
23
|
+
|
|
24
|
+
* search dropdown alignment ([232ce70](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/232ce709cf7d3220804eeb2e6e545cca8151c6c4))
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
### Config
|
|
28
|
+
|
|
29
|
+
* update core theme ([e1ff96a](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/e1ff96ac93b2f040543461be642b7add425d5cdc))
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
* Merge branch 'tm-2968-search-dropdown-alignment1' into 'master' ([17ba106](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/17ba10670d0a0f9e552c93aa6f07ee67211e0dd4))
|
|
33
|
+
|
|
34
|
+
## [7.1.44](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/compare/v7.1.43...v7.1.44) (2022-07-25)
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
### Bug Fixes
|
|
38
|
+
|
|
39
|
+
* updated to latest core version ([0c4e2b8](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/0c4e2b8e638ae372891b5f323f6243910656ab7b))
|
|
40
|
+
|
|
1
41
|
## [7.1.43](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/compare/v7.1.42...v7.1.43) (2022-07-25)
|
|
2
42
|
|
|
3
43
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "gatsby-matrix-theme",
|
|
3
|
-
"version": "7.1.
|
|
3
|
+
"version": "7.1.46",
|
|
4
4
|
"main": "index.js",
|
|
5
5
|
"description": "Matrix Theme NPM Package",
|
|
6
6
|
"author": "",
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
},
|
|
25
25
|
"dependencies": {
|
|
26
26
|
"gatsby": "^4.15.0",
|
|
27
|
-
"gatsby-core-theme": "^
|
|
27
|
+
"gatsby-core-theme": "^9.0.1",
|
|
28
28
|
"gatsby-plugin-sharp": "^4.10.2",
|
|
29
29
|
"gatsby-plugin-sitemap": "^3.3.0",
|
|
30
30
|
"gatsby-transformer-sharp": "^4.10.0",
|
|
@@ -141,7 +141,14 @@ export default function Row({
|
|
|
141
141
|
)}
|
|
142
142
|
</div>
|
|
143
143
|
)}
|
|
144
|
-
<
|
|
144
|
+
<span className={styles.ctaAndReview}>
|
|
145
|
+
<OperatorCta operator={item} tracker={tracker} gtmClass="toplist-operator-cta-gtm" />
|
|
146
|
+
{!isPPC && (
|
|
147
|
+
<Link className={`${styles.reviewLink} toplist-variant-one-gtm`} to={reviewPath}>
|
|
148
|
+
{`${itemName} ${translate(translations, 'read_review', 'Review')}`}
|
|
149
|
+
</Link>
|
|
150
|
+
)}
|
|
151
|
+
</span>
|
|
145
152
|
|
|
146
153
|
{tandcEnabled && <Tnc onlyMobile={layout === 'list'} operator={item} />}
|
|
147
154
|
</li>
|
|
@@ -2,10 +2,12 @@ import React from 'react';
|
|
|
2
2
|
import Spotlights from 'gatsby-core-theme/src/components/atoms/spotlights/index';
|
|
3
3
|
import styleTheme from './spotlights-theme.module.scss';
|
|
4
4
|
import styleSite from './spotlights-site.module.scss';
|
|
5
|
+
import imgSize from '../../../constants/spotlight-image-dimensions';
|
|
5
6
|
|
|
6
7
|
export default (props) => (
|
|
7
8
|
<Spotlights
|
|
8
9
|
{...props}
|
|
10
|
+
imgSize={imgSize}
|
|
9
11
|
themeStyles={{
|
|
10
12
|
...styleTheme,
|
|
11
13
|
...styleSite,
|
|
@@ -42,22 +42,17 @@ export default (props) => {
|
|
|
42
42
|
}
|
|
43
43
|
break;
|
|
44
44
|
case 'payment_method':
|
|
45
|
-
// TODO change BaseCard to PaymetMethodCard
|
|
46
45
|
customCardComponent = loadable(() =>
|
|
47
46
|
import(`../../../../components/atoms/cards/payment-method-card/index`)
|
|
48
47
|
);
|
|
49
48
|
break;
|
|
50
49
|
case 'software_provider':
|
|
51
|
-
// TODO change BaseCard to SoftwareProviderCard
|
|
52
50
|
customCardComponent = loadable(() =>
|
|
53
51
|
import(`../../../../components/atoms/cards/software-provider-card/index`)
|
|
54
52
|
);
|
|
55
53
|
break;
|
|
56
|
-
case 'page':
|
|
57
|
-
// TODO change BaseCard to PageCard
|
|
58
|
-
customCardComponent = loadable(() => import(`../../../../components/atoms/cards/base-card`));
|
|
59
|
-
break;
|
|
60
54
|
case 'article':
|
|
55
|
+
case 'page':
|
|
61
56
|
customCardComponent = loadable(() =>
|
|
62
57
|
import(`../../../../components/atoms/cards/article-card`)
|
|
63
58
|
);
|
|
@@ -3,11 +3,11 @@
|
|
|
3
3
|
/* eslint-disable react/prop-types */
|
|
4
4
|
import React, { useRef, useContext } from 'react';
|
|
5
5
|
import PropTypes from 'prop-types';
|
|
6
|
+
import loadable from '@loadable/component';
|
|
6
7
|
import { forceCheck } from 'react-lazyload';
|
|
7
8
|
import { translate } from 'gatsby-core-theme/src/helpers/getters';
|
|
8
9
|
import { Context } from 'gatsby-core-theme/src/context/TranslationsProvider';
|
|
9
10
|
import keygen from '~helpers/keygen';
|
|
10
|
-
import Row from '~molecules/toplist/default-row';
|
|
11
11
|
import Button from '~atoms/button';
|
|
12
12
|
import styles from './list.module.scss';
|
|
13
13
|
|
|
@@ -63,6 +63,8 @@ export default function List({
|
|
|
63
63
|
}
|
|
64
64
|
}
|
|
65
65
|
|
|
66
|
+
const Row = !CustomRow && loadable(() => import('~molecules/toplist/default-row'));
|
|
67
|
+
|
|
66
68
|
return (
|
|
67
69
|
<>
|
|
68
70
|
<ul className={styles.list} key={keygen()}>
|
|
@@ -41,6 +41,7 @@ const SearchContent = ({ page }) => {
|
|
|
41
41
|
type: 'software_provider',
|
|
42
42
|
title: translate(translations, 'software_provider', 'Software Provider'),
|
|
43
43
|
},
|
|
44
|
+
{ type: 'page', title: translate(translations, 'default_pages', 'Default') },
|
|
44
45
|
],
|
|
45
46
|
includeOptions: {
|
|
46
47
|
desktop_num_of_columns: '3',
|
|
@@ -83,6 +84,7 @@ const SearchContent = ({ page }) => {
|
|
|
83
84
|
<div type="article">{/* <CardArticle item={item} /> */}</div>
|
|
84
85
|
<div type="payment_method">{/* <PaymentMethods item={item} /> */}</div>
|
|
85
86
|
<div type="software_provider">{/* <SoftwareProvider item={item} /> */}</div>
|
|
87
|
+
<div type="page">{/* <CardArticle item={item} /> */}</div>
|
|
86
88
|
</>
|
|
87
89
|
)}
|
|
88
90
|
</Search>
|