gatsby-core-theme 34.0.6 → 35.0.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,25 @@
|
|
|
1
|
+
## [35.0.1](https://git.ilcd.rocks/team-floyd/themes/gatsby-themes/compare/v35.0.0...v35.0.1) (2024-07-17)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* rename excludePopup to disablePopup ([124fe43](https://git.ilcd.rocks/team-floyd/themes/gatsby-themes/commit/124fe432256099fe5d567a17fa0c2e541c8150b4))
|
|
7
|
+
* update site settings navigation ([83d4838](https://git.ilcd.rocks/team-floyd/themes/gatsby-themes/commit/83d4838fc8de8e10167f793f4524f81e2305db34))
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
* Merge branch 'tm-4420-info-page-type' into 'master' ([c008de3](https://git.ilcd.rocks/team-floyd/themes/gatsby-themes/commit/c008de39b8d63b2f52c824eefd893e0a487bbcb3))
|
|
11
|
+
|
|
12
|
+
# [35.0.0](https://git.ilcd.rocks/team-floyd/themes/gatsby-themes/compare/v34.0.6...v35.0.0) (2024-07-16)
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
### Bug Fixes
|
|
16
|
+
|
|
17
|
+
* correction to accessibility tab index on tnc ([2fcfdd6](https://git.ilcd.rocks/team-floyd/themes/gatsby-themes/commit/2fcfdd60686a9b44259918c67a1df63720a3ee76))
|
|
18
|
+
* update show logo with link to false for ppc pages ([7f01b8d](https://git.ilcd.rocks/team-floyd/themes/gatsby-themes/commit/7f01b8dfb8e2a884a58b168d632e000d7341dfab))
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
* Merge branch 'master' of https://git.ilcd.rocks/team-floyd/themes/gatsby-themes ([207480e](https://git.ilcd.rocks/team-floyd/themes/gatsby-themes/commit/207480e9333c576286e6047bf4073fa43962dcb3))
|
|
22
|
+
|
|
1
23
|
## [34.0.6](https://git.ilcd.rocks/team-floyd/themes/gatsby-themes/compare/v34.0.5...v34.0.6) (2024-07-16)
|
|
2
24
|
|
|
3
25
|
|
package/package.json
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/* eslint-disable react/no-danger */
|
|
1
2
|
import React from 'react';
|
|
2
3
|
import PropTypes from 'prop-types';
|
|
3
4
|
import styles from './tnc.module.scss';
|
|
@@ -9,17 +10,13 @@ const Tnc = ({ operator, isFixed = false }) => {
|
|
|
9
10
|
termsConditions &&
|
|
10
11
|
((!isFixed && (
|
|
11
12
|
<div
|
|
12
|
-
tabIndex={`${isFixed ? 0 : -1}`}
|
|
13
13
|
className={`${styles.container} ${styles.tnc || ''}`}
|
|
14
|
-
// eslint-disable-next-line react/no-danger
|
|
15
14
|
dangerouslySetInnerHTML={{ __html: termsConditions }}
|
|
16
15
|
/>
|
|
17
16
|
)) || (
|
|
18
|
-
<div
|
|
19
|
-
tabIndex={`${isFixed ? 0 : -1}`}
|
|
20
|
-
className={`${styles.container} ${styles.tnc || ''} ${isFixed ? styles.isFixed : ''}`}
|
|
21
|
-
>
|
|
17
|
+
<div className={`${styles.container} ${styles.tnc || ''} ${isFixed ? styles.isFixed : ''}`}>
|
|
22
18
|
<div
|
|
19
|
+
tabIndex={`${isFixed ? 0 : -1}`}
|
|
23
20
|
className={`${styles.innerTnc || ''}`}
|
|
24
21
|
dangerouslySetInnerHTML={{ __html: termsConditions }}
|
|
25
22
|
/>
|
|
@@ -8,6 +8,7 @@ export const pageTypes = {
|
|
|
8
8
|
exclusiveOperator: false,
|
|
9
9
|
navMenu: 'main_menu',
|
|
10
10
|
showNavMenu: true,
|
|
11
|
+
disablePopup: true,
|
|
11
12
|
},
|
|
12
13
|
responsible_gambling_guide: {
|
|
13
14
|
section: 'rg_navigation',
|
|
@@ -17,9 +18,15 @@ export const pageTypes = {
|
|
|
17
18
|
exclusiveOperator: false,
|
|
18
19
|
navMenu: 'rg_menu',
|
|
19
20
|
showNavMenu: true,
|
|
21
|
+
disablePopup: true,
|
|
20
22
|
},
|
|
21
23
|
ppc: {
|
|
22
24
|
showNavMenu: false,
|
|
25
|
+
showLogoWithLink: false,
|
|
26
|
+
disablePopup: true,
|
|
27
|
+
},
|
|
28
|
+
sports: {
|
|
29
|
+
disablePopup: true,
|
|
23
30
|
},
|
|
24
31
|
default: {
|
|
25
32
|
section: 'navigation',
|
|
@@ -29,5 +36,6 @@ export const pageTypes = {
|
|
|
29
36
|
exclusiveOperator: true,
|
|
30
37
|
navMenu: 'main_menu',
|
|
31
38
|
showNavMenu: true,
|
|
39
|
+
disablePopup: false,
|
|
32
40
|
},
|
|
33
41
|
};
|