gatsby-core-theme 11.0.8 → 11.0.9

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
+ ## [11.0.9](https://git.ilcd.rocks/team-floyd/themes/gatsby-themes/compare/v11.0.8...v11.0.9) (2022-09-23)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * add standardised logo ([d971d8f](https://git.ilcd.rocks/team-floyd/themes/gatsby-themes/commit/d971d8fa53becf1af1bce0e2b020fafe2a3d2a4b))
7
+ * add width and height ([59e1f94](https://git.ilcd.rocks/team-floyd/themes/gatsby-themes/commit/59e1f94612c6cf2dd153c3fdf9f261ccf472b8ef))
8
+ * sitemap style isuses ([0fb3850](https://git.ilcd.rocks/team-floyd/themes/gatsby-themes/commit/0fb3850a3c69ae6efe498f5574f55c20c51a2dbd))
9
+
10
+
11
+ * Merge branch 'tm-3022-search-atuocomplet' into 'master' ([1eb21c5](https://git.ilcd.rocks/team-floyd/themes/gatsby-themes/commit/1eb21c5787eb673e828665d1b177085d6acdcdf4))
12
+ * Merge branch 'tm-3017-sitemap' into 'master' ([759cb3b](https://git.ilcd.rocks/team-floyd/themes/gatsby-themes/commit/759cb3b158586515a4b4d0b29c067518c4406eef))
13
+
1
14
  ## [11.0.8](https://git.ilcd.rocks/team-floyd/themes/gatsby-themes/compare/v11.0.7...v11.0.8) (2022-09-21)
2
15
 
3
16
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gatsby-core-theme",
3
- "version": "11.0.8",
3
+ "version": "11.0.9",
4
4
  "description": "Gatsby Theme NPM Package",
5
5
  "main": "index.js",
6
6
  "GATSBY_RECAPTCHA_SITEKEY": "6LfoyvMUAAAAAO4nl_MQnqHb4XdHxEiu5cXgIqeB",
@@ -6,13 +6,18 @@ import { imagePrettyUrl } from '~helpers/getters';
6
6
  import Button from '~atoms/button';
7
7
  import styles from './operator.module.scss';
8
8
 
9
- const Operator = ({ item = {} }) => (
10
- <div className={styles.row}>
11
- <LazyImage src={imagePrettyUrl(item.relation.logo_url, null, 20)} alt={item.title} />
12
- <h3>{item.title}</h3>
13
- <Button to="/#" primaryColor isInternalLink={false} gtmClass="operator-gtm btn-cta" />
14
- </div>
15
- );
9
+ const Operator = ({ item = {} }) => {
10
+ const { relation } = item;
11
+ const img = relation?.standardised_logo_url_object?.filename || relation.logo_url;
12
+
13
+ return (
14
+ <div className={styles.row}>
15
+ <LazyImage width={56} height={56} src={imagePrettyUrl(img, 56, 56)} alt={item.title} />
16
+ <h3>{item.title}</h3>
17
+ <Button to="/#" primaryColor isInternalLink={false} gtmClass="operator-gtm btn-cta" />
18
+ </div>
19
+ );
20
+ };
16
21
 
17
22
  Operator.propTypes = {
18
23
  item: PropTypes.shape({
@@ -28,7 +28,18 @@
28
28
 
29
29
  > div {
30
30
  position: relative;
31
- @include flex-align(center, flex-start);
31
+ @include flex-align(flex-start, flex-start);
32
+
33
+ &::after {
34
+ content: ' ';
35
+ border-right: var(--sitemap-connector-border, dashed 1px #e3e6ef);
36
+ left: -1px;
37
+ position: absolute;
38
+ top: 0%;
39
+ width: 2.5rem;
40
+ height: 103%;
41
+ display: var(--sitemap-header-line-border, block);
42
+ }
32
43
 
33
44
  svg {
34
45
  fill: var(--template-name-icon-color, white);
@@ -45,12 +56,14 @@
45
56
  font-size: var(--template-name-font-size, 2rem);
46
57
  margin-left: 1.6rem;
47
58
  text-transform: capitalize;
59
+ word-break: break-word;
48
60
  }
49
61
 
50
62
  > div {
51
63
  position: relative;
52
64
  display: flex;
53
65
  align-items: center;
66
+ z-index: 3;
54
67
 
55
68
  span {
56
69
  @include flex-align(center, center);