gatsby-matrix-theme 9.0.1 → 9.0.2

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 CHANGED
@@ -1,3 +1,16 @@
1
+ ## [9.0.2](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/compare/v9.0.1...v9.0.2) (2022-11-07)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * horse calculator styling ([124798a](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/124798aba7dd1b89086e8a901373ce5417c2ce17))
7
+ * updaet date ([58e2916](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/58e29166ebdc5ac4262362c36962aaa32f33de7c))
8
+ * updated to latest core version ([42998d1](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/42998d1e7a291cbfe0a090b71efa7dd69f23a79b))
9
+
10
+
11
+ * Merge branch 'master' of git.ilcd.rocks:team-floyd/themes/matrix-theme ([e003101](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/e0031010e5aed9304d06051a71dd74e2f2e35537))
12
+ * Merge branch 'tm-3061-update-date' into 'master' ([26a28f0](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/26a28f086f9be1f111831f2df8b77c4f0aac6656))
13
+
1
14
  ## [9.0.1](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/compare/v9.0.0...v9.0.1) (2022-11-03)
2
15
 
3
16
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gatsby-matrix-theme",
3
- "version": "9.0.1",
3
+ "version": "9.0.2",
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.20.0",
27
- "gatsby-core-theme": "14.0.2",
27
+ "gatsby-core-theme": "14.0.3",
28
28
  "gatsby-plugin-sharp": "^4.10.2",
29
29
  "gatsby-plugin-sitemap": "^3.3.0",
30
30
  "gatsby-transformer-sharp": "^4.10.0",
@@ -18,7 +18,7 @@ import BaseCard from '../base-card';
18
18
  import styles from './article-card.module.scss';
19
19
 
20
20
  const ArticleCard = ({ item, width, height, authorImage = false }) => {
21
- const { author, created_at, title, path, banner } = item;
21
+ const { author, updated_at, created_at, title, path, banner } = item;
22
22
  const pictureSource = {
23
23
  webp: '../../../../../../../images/default-article.webp',
24
24
  fallback: '../../../../../../../images/default-article.jpg',
@@ -61,7 +61,7 @@ const ArticleCard = ({ item, width, height, authorImage = false }) => {
61
61
  <Author
62
62
  prefix="by"
63
63
  name={AuthorName}
64
- date={created_at}
64
+ date={updated_at || created_at}
65
65
  isCardsAuthor
66
66
  authorImg={authorImage ? item?.author?.image : false}
67
67
  />
@@ -80,6 +80,7 @@ ArticleCard.propTypes = {
80
80
  image: PropTypes.string,
81
81
  }),
82
82
  title: PropTypes.string,
83
+ updated_at: PropTypes.string,
83
84
  created_at: PropTypes.string,
84
85
  path: PropTypes.string,
85
86
  banner: PropTypes.string,
@@ -227,3 +227,7 @@
227
227
  .outcomeColumn {
228
228
  min-width: 20rem;
229
229
  }
230
+
231
+ .oddsColumn {
232
+ min-width: 9rem;
233
+ }
@@ -341,7 +341,7 @@ const HorseCalculator = () => {
341
341
  <tr>
342
342
  <th>#</th>
343
343
  <th className={styles.outcomeColumn}>Outcome</th>
344
- <th>Odds</th>
344
+ <th className={styles.oddsColumn}>Odds</th>
345
345
  {eachWay === 'Yes' && <th>Place Odds</th>}
346
346
  {ruleFour === 'Yes' && <th>Rule 4</th>}
347
347
  </tr>
@@ -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.c0611b49.iframe.bundle.js"></script><script src="579.ab2ea34c.iframe.bundle.js"></script><script src="main.72927738.iframe.bundle.js"></script></body></html>
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.c0611b49.iframe.bundle.js"></script><script src="579.ab2ea34c.iframe.bundle.js"></script><script src="main.bb87da37.iframe.bundle.js"></script></body></html>