gatsby-core-theme 44.8.2 → 44.9.0

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
+ # [44.9.0](https://gitlab.com/g2m-gentoo/team-floyd/themes/gatsby-themes/compare/v44.8.2...v44.9.0) (2025-11-24)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * cleanup ([26b25f2](https://gitlab.com/g2m-gentoo/team-floyd/themes/gatsby-themes/commit/26b25f2a5ddd5aa2cdd302aaa7b1e443cc890615))
7
+
8
+
9
+ * Merge branch 'EN-255/author-box-template' into 'master' ([2c48951](https://gitlab.com/g2m-gentoo/team-floyd/themes/gatsby-themes/commit/2c489514cabd4102942dbde1f8e53c722bc7cf31))
10
+ * Merge branch 'EN-246/bonus-customclass' into 'master' ([7e9b107](https://gitlab.com/g2m-gentoo/team-floyd/themes/gatsby-themes/commit/7e9b1079be7f7433416d1e9729b587fa8cae1728))
11
+
12
+
13
+ ### Features
14
+
15
+ * add custom class to template one ([743cd7b](https://gitlab.com/g2m-gentoo/team-floyd/themes/gatsby-themes/commit/743cd7b9cda355af8221e765e74f351e5bfab94a))
16
+ * author box christmas ([659e691](https://gitlab.com/g2m-gentoo/team-floyd/themes/gatsby-themes/commit/659e6914c5a366bf3fdf1781fe520d6fa813cb77))
17
+ * bonus custom class ([6be9faa](https://gitlab.com/g2m-gentoo/team-floyd/themes/gatsby-themes/commit/6be9faae2c48ca09da79800cbcddf7bea892333e))
18
+ * pass page template prop ([f2eb70d](https://gitlab.com/g2m-gentoo/team-floyd/themes/gatsby-themes/commit/f2eb70d46adfda9c81b7558ea61a5be359a7e08c))
19
+ * send page data ([00227f6](https://gitlab.com/g2m-gentoo/team-floyd/themes/gatsby-themes/commit/00227f6fc2137405750c09ec43d931a0c2992126))
20
+ * send template prop ([ce302d1](https://gitlab.com/g2m-gentoo/team-floyd/themes/gatsby-themes/commit/ce302d1e8a05257b08885a680860ffb2e0775573))
21
+
1
22
  ## [44.8.2](https://gitlab.com/g2m-gentoo/team-floyd/themes/gatsby-themes/compare/v44.8.1...v44.8.2) (2025-11-20)
2
23
 
3
24
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gatsby-core-theme",
3
- "version": "44.8.2",
3
+ "version": "44.9.0",
4
4
  "description": "Gatsby Theme NPM Package",
5
5
  "author": "",
6
6
  "license": "ISC",
@@ -6,11 +6,11 @@ import AuthorDescription from '../description';
6
6
  import FactCheck from './fact-check';
7
7
  import Expertion from './expertion';
8
8
 
9
- export default function AuthorBox({ author, reviewer, readingTime, date = '' }) {
9
+ export default function AuthorBox({ author, reviewer, readingTime, date = '', template }) {
10
10
  return (
11
11
  <div className={styles.container || ''} id="authorbox">
12
12
  {author?.ribbon_label && <div className={styles.ribbon || ''}>{author?.ribbon_label}</div>}
13
- <AuthorDetails author={author} template="templateThree" />
13
+ <AuthorDetails author={author} pageTemplate={template} template="templateThree" />
14
14
  <AuthorDescription author={author} />
15
15
  <Expertion expertise={author?.expertise} />
16
16
  <FactCheck author={author} reviewer={reviewer} readingTime={readingTime} date={date} />
@@ -26,4 +26,5 @@ AuthorBox.propTypes = {
26
26
  reviewer: PropTypes.shape({}),
27
27
  readingTime: PropTypes.number,
28
28
  date: PropTypes.string,
29
+ template: PropTypes.string,
29
30
  };
@@ -26,11 +26,12 @@ export default function Bonus({
26
26
  ctaIcon = <FaArrowRight fontSize={20} title="Right-pointing Arrow Icon" />,
27
27
  modulePosition,
28
28
  showRibbon = false,
29
+ customClass='',
29
30
  }) {
30
31
 
31
32
  const { logo, bonus, name } = operator || {};
32
33
  return (
33
- <div className={`${styles.operatorBanner || ""}`}>
34
+ <div className={`${styles.operatorBanner || ""} ${customClass && styles[customClass]}`}>
34
35
  <div className={styles.container}>
35
36
  {showRibbon && <Ribbons item={operator.ribbons} />}
36
37
  <div>
@@ -121,4 +122,5 @@ Bonus.propTypes = {
121
122
  ctaIcon: PropTypes.elementType,
122
123
  modulePosition: PropTypes.number,
123
124
  showRibbon: PropTypes.bool,
125
+ customClass: PropTypes.string
124
126
  };
@@ -79,6 +79,7 @@ const Main = ({
79
79
  date={page.updated_at ? page.updated_at : page.created_at}
80
80
  readingTime={page.reading_time}
81
81
  reviewer={page.reviewer_id && page.reviewer}
82
+ template={page?.template}
82
83
  />
83
84
  )}
84
85
  {pathPrefixes && (