gatsby-matrix-theme 28.0.15 → 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 CHANGED
@@ -1,3 +1,10 @@
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
+
1
8
  ## [28.0.15](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/compare/v28.0.14...v28.0.15) (2023-08-08)
2
9
 
3
10
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gatsby-matrix-theme",
3
- "version": "28.0.15",
3
+ "version": "28.0.16",
4
4
  "main": "index.js",
5
5
  "description": "Matrix Theme NPM Package",
6
6
  "author": "",
@@ -65,7 +65,8 @@
65
65
  border: var(--cookie-consent-first-button-border, 2px solid #262629);
66
66
 
67
67
  &:hover {
68
- background: none;
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
  <>
@@ -106,6 +107,7 @@ CookieConsent.propTypes = {
106
107
  acceptText: PropTypes.string,
107
108
  settingsCookie: PropTypes.bool,
108
109
  location: PropTypes.oneOf(['bottom', 'top']),
110
+ type: PropTypes.string,
109
111
  cookieName: PropTypes.string,
110
112
  showOnScroll: PropTypes.bool,
111
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.7ae8e82b.iframe.bundle.js"></script></body></html>
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>