gatsby-matrix-theme 3.2.4 → 3.2.5

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,24 @@
1
+ ## [3.2.5](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/compare/v3.2.4...v3.2.5) (2022-01-05)
2
+
3
+
4
+ ### Code Refactoring
5
+
6
+ * revert score gauge css for svg ([7fa0ffb](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/7fa0ffb36844e4c3138c514f7ab979a3e092d035))
7
+ * update charset, faq container, search close btn ([1237626](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/1237626465c3d6a9ee1319efee2a500aadbac3ce))
8
+ * update main font, empty classes, toplist title container ([3fef52f](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/3fef52fdf4bfcb36dedd0ed41a4dfd387d87eecc))
9
+ * update meta html.js ([2b28e3b](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/2b28e3b29c3a52a0e599f7d150e16fbdc6e3c2ad))
10
+ * update meta viewport for accessibility score ([fee21d7](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/fee21d7080549964eae87017907d465b492e5621))
11
+
12
+
13
+ ### Config
14
+
15
+ * update core version ([c19beba](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/c19bebaed7db3f091eb58595584d21959ecd651f))
16
+
17
+
18
+ * Merge branch 'tm-2567-update-theme-for-w3-validator' into 'master' ([074e89e](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/074e89ef00f88cfe7a589683da6d18af5f76765b))
19
+ * Merge branch 'master' into tm-2567-update-theme-for-w3-validator ([76dd580](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/76dd5804d1adb8de1c1534fb964443cdd25534d6))
20
+ * Merge branch 'master' into tm-2567-update-theme-for-w3-validator ([0ec7c3c](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/0ec7c3c798ad10fcbe698999e376178903972e79))
21
+
1
22
  ## [3.2.4](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/compare/v3.2.3...v3.2.4) (2022-01-05)
2
23
 
3
24
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gatsby-matrix-theme",
3
- "version": "3.2.4",
3
+ "version": "3.2.5",
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.0.14",
34
+ "gatsby-core-theme": "^2.0.15",
35
35
  "gatsby-image": "^3.3.0",
36
36
  "gatsby-plugin-image": "^1.3.1",
37
37
  "gatsby-plugin-postcss": "^4.3.0",
@@ -1,9 +1,10 @@
1
1
  .contain {
2
- @include flex-align(column, center);
2
+ @include flex-align(stretch, center);
3
3
  @include flex-direction(column);
4
4
  min-height: 12rem;
5
5
  .row {
6
- @include flex-align(row, space-between);
6
+ @include flex-align(stretch, space-between);
7
+ @include flex-direction(row);
7
8
  padding: 0 1.5rem;
8
9
  strong {
9
10
  max-width: 12rem;
@@ -26,7 +26,8 @@
26
26
  @include flex-align (center, center);
27
27
  margin-right: 0.5rem;
28
28
  }
29
- > div{
29
+ > span{
30
+ display: block;
30
31
  margin: 0;
31
32
  margin-right: 2rem;
32
33
  font-weight: 700;
@@ -66,10 +66,10 @@ const Faq = ({ module, openAll = true, openItem, closeOthers = false, icon = ''
66
66
  type="button"
67
67
  ref={(el) => (btnRefs.current[index] = el)}
68
68
  >
69
- <div className={styles.icon}>
70
- {icon && <div className={styles.circle}>{icon} </div>}
71
- <div dangerouslySetInnerHTML={{ __html: item.question }} />
72
- </div>
69
+ <span className={styles.icon}>
70
+ {icon && <span className={styles.circle}>{icon} </span>}
71
+ <span dangerouslySetInnerHTML={{ __html: item.question }} />
72
+ </span>
73
73
  </button>
74
74
  <div className={styles.content} ref={(el) => (itemRefs.current[index] = el)}>
75
75
  <div dangerouslySetInnerHTML={{ __html: item.answer }} />
@@ -56,7 +56,7 @@ export default function List({
56
56
  <ul className={styles.list} key={keygen()}>
57
57
  {toplist.items.map((item, index) => (
58
58
  <li
59
- className={index + 1 <= initLoadItems ? styles.show : ''}
59
+ className={index + 1 <= initLoadItems ? styles.show : null}
60
60
  key={keygen()}
61
61
  ref={(el) => addToRefs(el, index)}
62
62
  >
@@ -85,9 +85,9 @@ const ModuleTitle = ({ module, viewMoreIcon = <FaAngleRight />, pageContext = nu
85
85
  module?.style && styles[module.style]
86
86
  }`}
87
87
  >
88
- <span className={styles.spanToplist}>
88
+ <div className={styles.toplistTitle}>
89
89
  {(module?.title || module.module_title) && getTitle(module)}
90
- </span>
90
+ </div>
91
91
 
92
92
  {module.link_label && (
93
93
  <Link to={module.link_value} className={`${styles.viewMore} module-title-gtm`}>
@@ -30,7 +30,8 @@
30
30
  position: relative;
31
31
  left: -217px;
32
32
  }
33
- .spanToplist{
33
+ .toplistTitle{
34
+ display: flex;
34
35
  h2{
35
36
  max-width: 461px;
36
37
  @include min(laptop){
@@ -47,6 +48,3 @@
47
48
  position: relative;
48
49
  bottom: 2px;
49
50
  }
50
- .spanToplist{
51
- display: flex;
52
- }
@@ -51,7 +51,6 @@ const Head = ({ page = {}, siteInfo }) => {
51
51
  return (
52
52
  <>
53
53
  <Helmet>
54
- <meta charSet="utf-8" />
55
54
  <title>{page.meta_title}</title>
56
55
  <html lang={getLanguage(page.language)} />
57
56
  <meta name="description" content={parsedMetaDescr} />
@@ -75,7 +75,7 @@ const SearchForm = ({ className, searchIcon, iconWidth = 24, iconHeight = 24 })
75
75
  ) : (
76
76
  <img alt="search" src={searchIcon} width={iconWidth} height={iconHeight} />
77
77
  )}
78
- <div className={styles.close} />
78
+ {styles.close && <span className={styles.close} />}
79
79
  </button>
80
80
  {showSearch && (
81
81
  <div
@@ -21,7 +21,7 @@
21
21
  --empty-star-border-color: grey;
22
22
  --selling-point-icon-color: #00889e;
23
23
 
24
- --main-font: sans-serif;
24
+ --main-font: Roboto, sans-serif;
25
25
 
26
26
  --module-spacing: 2rem;
27
27
  --side-container: 30rem;
@@ -135,4 +135,4 @@
135
135
 
136
136
 
137
137
 
138
- window['FEATURES'] = {"postcss":true};</script><script src="runtime~main.0dbefcaa.iframe.bundle.js"></script><script src="vendors~main.2b406462.iframe.bundle.js"></script><script src="main.30a5eba0.iframe.bundle.js"></script></body></html>
138
+ window['FEATURES'] = {"postcss":true};</script><script src="runtime~main.0dbefcaa.iframe.bundle.js"></script><script src="vendors~main.465800ba.iframe.bundle.js"></script><script src="main.bf51e1d3.iframe.bundle.js"></script></body></html>