gatsby-core-theme 32.0.2 → 32.0.3
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
|
+
## [32.0.3](https://git.ilcd.rocks/team-floyd/themes/gatsby-themes/compare/v32.0.2...v32.0.3) (2024-05-30)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* updated other bonus templates ([573d206](https://git.ilcd.rocks/team-floyd/themes/gatsby-themes/commit/573d206cb46a660d60da068e05feed31f3b88180))
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
* Merge branch 'tm-4323-pretty-link-props' into 'master' ([9ce3012](https://git.ilcd.rocks/team-floyd/themes/gatsby-themes/commit/9ce3012a335f865dd2b771480678de408a9ca207))
|
|
10
|
+
|
|
1
11
|
## [32.0.2](https://git.ilcd.rocks/team-floyd/themes/gatsby-themes/compare/v32.0.1...v32.0.2) (2024-05-30)
|
|
2
12
|
|
|
3
13
|
|
package/package.json
CHANGED
|
@@ -19,6 +19,7 @@ export default function BonusBox({
|
|
|
19
19
|
feSeparator = '+',
|
|
20
20
|
buttonType = 'primary',
|
|
21
21
|
module = 'bonus_box',
|
|
22
|
+
titleSuffix,
|
|
22
23
|
}) {
|
|
23
24
|
const { translations } = useContext(Context) || {};
|
|
24
25
|
const welcomeBonusTranslation = translate(translations, 'welcome_bonus', 'Welcome Bonus');
|
|
@@ -30,6 +31,7 @@ export default function BonusBox({
|
|
|
30
31
|
pageTemplate={pageTemplate}
|
|
31
32
|
module={module}
|
|
32
33
|
tracker={tracker}
|
|
34
|
+
titleSuffix={titleSuffix}
|
|
33
35
|
clickedElement="oneliner"
|
|
34
36
|
className={`${styles.detailsBox} ${'bonus-box-gtm'}`}
|
|
35
37
|
>
|
|
@@ -77,4 +79,5 @@ BonusBox.propTypes = {
|
|
|
77
79
|
buttonType: PropTypes.string,
|
|
78
80
|
variableInsideContainer: PropTypes.bool,
|
|
79
81
|
module: PropTypes.string,
|
|
82
|
+
titleSuffix: PropTypes.string,
|
|
80
83
|
};
|
|
@@ -14,6 +14,7 @@ export default function BonusBox({
|
|
|
14
14
|
feSeparator = '+',
|
|
15
15
|
buttonType = 'primary',
|
|
16
16
|
module = 'bonus_box',
|
|
17
|
+
titleSuffix,
|
|
17
18
|
}) {
|
|
18
19
|
const data = getBonusData(item, tracker, splitBy);
|
|
19
20
|
|
|
@@ -24,6 +25,7 @@ export default function BonusBox({
|
|
|
24
25
|
pageTemplate={pageTemplate}
|
|
25
26
|
module={module}
|
|
26
27
|
tracker={tracker}
|
|
28
|
+
titleSuffix={titleSuffix}
|
|
27
29
|
clickedElement="oneliner"
|
|
28
30
|
className={`${styles.detailsBox} ${'bonus-box-gtm'}`}
|
|
29
31
|
>
|
|
@@ -51,4 +53,5 @@ BonusBox.propTypes = {
|
|
|
51
53
|
feSeparator: PropTypes.string,
|
|
52
54
|
buttonType: PropTypes.string,
|
|
53
55
|
module: PropTypes.string,
|
|
56
|
+
titleSuffix: PropTypes.string,
|
|
54
57
|
};
|