gatsby-matrix-theme 28.0.14 → 28.0.16
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 +14 -0
- package/package.json +1 -1
- package/src/gatsby-core-theme/components/organisms/cookie-consent/cookie-consent.module.scss +2 -1
- package/src/gatsby-core-theme/components/organisms/cookie-consent/index.js +4 -3
- package/storybook/public/iframe.html +1 -1
- package/storybook/public/{main.3af06989.iframe.bundle.js → main.3ff6f216.iframe.bundle.js} +2 -2
- /package/storybook/public/{main.3af06989.iframe.bundle.js.LICENSE.txt → main.3ff6f216.iframe.bundle.js.LICENSE.txt} +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,17 @@
|
|
|
1
|
+
## [28.0.16](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/compare/v28.0.15...v28.0.16) (2023-08-09)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* some cookie style for site ([f601354](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/f6013546ce38592d842a9e610531faf33945ea83))
|
|
7
|
+
|
|
8
|
+
## [28.0.15](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/compare/v28.0.14...v28.0.15) (2023-08-08)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Bug Fixes
|
|
12
|
+
|
|
13
|
+
* cookie ([cf54006](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/cf540064585884844976841c84fd21ea7e0e3727))
|
|
14
|
+
|
|
1
15
|
## [28.0.14](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/compare/v28.0.13...v28.0.14) (2023-08-08)
|
|
2
16
|
|
|
3
17
|
|
package/package.json
CHANGED
package/src/gatsby-core-theme/components/organisms/cookie-consent/cookie-consent.module.scss
CHANGED
|
@@ -65,7 +65,8 @@
|
|
|
65
65
|
border: var(--cookie-consent-first-button-border, 2px solid #262629);
|
|
66
66
|
|
|
67
67
|
&:hover {
|
|
68
|
-
background:
|
|
68
|
+
background: var(--cookie-consent-first-button-bg, white) !important;
|
|
69
|
+
background-color: var(--cookie-consent-first-button-bg, white) !important;
|
|
69
70
|
}
|
|
70
71
|
}
|
|
71
72
|
|
|
@@ -18,6 +18,7 @@ const CookieConsent = ({
|
|
|
18
18
|
showOnScroll = true,
|
|
19
19
|
settingsCookie,
|
|
20
20
|
isPageHomepage,
|
|
21
|
+
type,
|
|
21
22
|
cookieImage = '../../../images/cookie.png',
|
|
22
23
|
children,
|
|
23
24
|
cookieName = 'CookieConsent',
|
|
@@ -51,7 +52,7 @@ const CookieConsent = ({
|
|
|
51
52
|
{!cookieAccepted && (
|
|
52
53
|
<Sticky
|
|
53
54
|
showOnScroll={showOnScroll}
|
|
54
|
-
className={styles?.cookieConsent || ''}
|
|
55
|
+
className={`${styles?.cookieConsent || ''} ${type === 'operator' && styles.bottom}`}
|
|
55
56
|
position={location}
|
|
56
57
|
>
|
|
57
58
|
<>
|
|
@@ -78,8 +79,7 @@ const CookieConsent = ({
|
|
|
78
79
|
</>
|
|
79
80
|
</Sticky>
|
|
80
81
|
)}
|
|
81
|
-
|
|
82
|
-
{isPageHomepage && cookieAccepted && (
|
|
82
|
+
{settingsCookie && isPageHomepage && cookieAccepted && (
|
|
83
83
|
<div
|
|
84
84
|
role="button"
|
|
85
85
|
tabIndex={0}
|
|
@@ -107,6 +107,7 @@ CookieConsent.propTypes = {
|
|
|
107
107
|
acceptText: PropTypes.string,
|
|
108
108
|
settingsCookie: PropTypes.bool,
|
|
109
109
|
location: PropTypes.oneOf(['bottom', 'top']),
|
|
110
|
+
type: PropTypes.string,
|
|
110
111
|
cookieName: PropTypes.string,
|
|
111
112
|
showOnScroll: PropTypes.bool,
|
|
112
113
|
isPageHomepage: PropTypes.bool,
|
|
@@ -361,4 +361,4 @@
|
|
|
361
361
|
|
|
362
362
|
|
|
363
363
|
|
|
364
|
-
window['STORIES'] = [{"titlePrefix":"","directory":"./src","files":"**/**/**/*.stories.js","importPathMatcher":"^\\.[\\\\/](?:src(?:\\/(?!\\.)(?:(?:(?!(?:^|\\/)\\.).)*?)\\/|\\/|$)(?!\\.)(?=.)[^/]*?\\.stories\\.js)$"},{"titlePrefix":"","directory":"./src","files":"**/**/**/**/*.stories.js","importPathMatcher":"^\\.[\\\\/](?:src(?:\\/(?!\\.)(?:(?:(?!(?:^|\\/)\\.).)*?)\\/|\\/|$)(?!\\.)(?=.)[^/]*?\\.stories\\.js)$"},{"titlePrefix":"","directory":"./src","files":"**/**/**/**/**/*.stories.js","importPathMatcher":"^\\.[\\\\/](?:src(?:\\/(?!\\.)(?:(?:(?!(?:^|\\/)\\.).)*?)\\/|\\/|$)(?!\\.)(?=.)[^/]*?\\.stories\\.js)$"},{"titlePrefix":"","directory":"../node_modules/gatsby-core-theme/src/components/organisms/navigation","files":"navigation.stories.js","importPathMatcher":"^(?:\\.\\.\\/node_modules\\/gatsby-core-theme\\/src\\/components\\/organisms\\/navigation\\/navigation\\.stories\\.js)$"},{"titlePrefix":"","directory":"../node_modules/gatsby-core-theme/src/components/organisms/anchor","files":"anchor.stories.js","importPathMatcher":"^(?:\\.\\.\\/node_modules\\/gatsby-core-theme\\/src\\/components\\/organisms\\/anchor\\/anchor\\.stories\\.js)$"},{"titlePrefix":"","directory":"../node_modules/gatsby-core-theme/src/components/molecules/bonus/template-one","files":"bonus.stories.js","importPathMatcher":"^(?:\\.\\.\\/node_modules\\/gatsby-core-theme\\/src\\/components\\/molecules\\/bonus\\/template-one\\/bonus\\.stories\\.js)$"},{"titlePrefix":"","directory":"../node_modules/gatsby-core-theme/src/components/molecules/bonus/template-two","files":"bonus.stories.js","importPathMatcher":"^(?:\\.\\.\\/node_modules\\/gatsby-core-theme\\/src\\/components\\/molecules\\/bonus\\/template-two\\/bonus\\.stories\\.js)$"}];</script><script src="runtime~main.bcbb6c21.iframe.bundle.js"></script><script src="503.57cf4c62.iframe.bundle.js"></script><script src="main.
|
|
364
|
+
window['STORIES'] = [{"titlePrefix":"","directory":"./src","files":"**/**/**/*.stories.js","importPathMatcher":"^\\.[\\\\/](?:src(?:\\/(?!\\.)(?:(?:(?!(?:^|\\/)\\.).)*?)\\/|\\/|$)(?!\\.)(?=.)[^/]*?\\.stories\\.js)$"},{"titlePrefix":"","directory":"./src","files":"**/**/**/**/*.stories.js","importPathMatcher":"^\\.[\\\\/](?:src(?:\\/(?!\\.)(?:(?:(?!(?:^|\\/)\\.).)*?)\\/|\\/|$)(?!\\.)(?=.)[^/]*?\\.stories\\.js)$"},{"titlePrefix":"","directory":"./src","files":"**/**/**/**/**/*.stories.js","importPathMatcher":"^\\.[\\\\/](?:src(?:\\/(?!\\.)(?:(?:(?!(?:^|\\/)\\.).)*?)\\/|\\/|$)(?!\\.)(?=.)[^/]*?\\.stories\\.js)$"},{"titlePrefix":"","directory":"../node_modules/gatsby-core-theme/src/components/organisms/navigation","files":"navigation.stories.js","importPathMatcher":"^(?:\\.\\.\\/node_modules\\/gatsby-core-theme\\/src\\/components\\/organisms\\/navigation\\/navigation\\.stories\\.js)$"},{"titlePrefix":"","directory":"../node_modules/gatsby-core-theme/src/components/organisms/anchor","files":"anchor.stories.js","importPathMatcher":"^(?:\\.\\.\\/node_modules\\/gatsby-core-theme\\/src\\/components\\/organisms\\/anchor\\/anchor\\.stories\\.js)$"},{"titlePrefix":"","directory":"../node_modules/gatsby-core-theme/src/components/molecules/bonus/template-one","files":"bonus.stories.js","importPathMatcher":"^(?:\\.\\.\\/node_modules\\/gatsby-core-theme\\/src\\/components\\/molecules\\/bonus\\/template-one\\/bonus\\.stories\\.js)$"},{"titlePrefix":"","directory":"../node_modules/gatsby-core-theme/src/components/molecules/bonus/template-two","files":"bonus.stories.js","importPathMatcher":"^(?:\\.\\.\\/node_modules\\/gatsby-core-theme\\/src\\/components\\/molecules\\/bonus\\/template-two\\/bonus\\.stories\\.js)$"}];</script><script src="runtime~main.bcbb6c21.iframe.bundle.js"></script><script src="503.57cf4c62.iframe.bundle.js"></script><script src="main.3ff6f216.iframe.bundle.js"></script></body></html>
|