gatsby-core-theme 44.9.0 → 44.9.1

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,13 @@
1
+ ## [44.9.1](https://gitlab.com/g2m-gentoo/team-floyd/themes/gatsby-themes/compare/v44.9.0...v44.9.1) (2025-11-24)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * update anchor module ([c984cbe](https://gitlab.com/g2m-gentoo/team-floyd/themes/gatsby-themes/commit/c984cbe971a50f67b331860803a120562d7ebc26))
7
+
8
+
9
+ * Merge branch 'custom-anchor' into 'master' ([1797bc0](https://gitlab.com/g2m-gentoo/team-floyd/themes/gatsby-themes/commit/1797bc0614708b1f025c6240c765e197e0babd8f))
10
+
1
11
  # [44.9.0](https://gitlab.com/g2m-gentoo/team-floyd/themes/gatsby-themes/compare/v44.8.2...v44.9.0) (2025-11-24)
2
12
 
3
13
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gatsby-core-theme",
3
- "version": "44.9.0",
3
+ "version": "44.9.1",
4
4
  "description": "Gatsby Theme NPM Package",
5
5
  "author": "",
6
6
  "license": "ISC",
@@ -23,6 +23,7 @@ function Anchor({
23
23
  rightButtonIcon = <IoIosArrowForward />,
24
24
  hasAdmin = false,
25
25
  offset = 132,
26
+ customClass = '',
26
27
  }) {
27
28
  const [scrollX, setScrollX] = useState(0);
28
29
  const [scrollEnd, setScrollEnd] = useState(false);
@@ -128,7 +129,7 @@ function Anchor({
128
129
  ));
129
130
 
130
131
  return (
131
- <div className={styles.containerAnchor || ""} ref={anchorContainerRef}>
132
+ <div className={`${styles.containerAnchor || ""} ${customClass && customClass || ""}`} ref={anchorContainerRef}>
132
133
  {showTitle && (
133
134
  <div className={`${styles.anchorTitle || ""}`}>
134
135
  <span>{useTranslate("anchor_title", "Table of Contents")}</span>
@@ -192,6 +193,7 @@ Anchor.propTypes = {
192
193
  setShowButtons: PropTypes.bool,
193
194
  hasAdmin: PropTypes.bool,
194
195
  offset: PropTypes.number,
196
+ customClass: PropTypes.string,
195
197
  };
196
198
 
197
199
  export default Anchor;