gatsby-matrix-theme 37.0.1 → 37.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,17 @@
1
+ ## [37.0.3](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/compare/v37.0.2...v37.0.3) (2023-11-15)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * buttons cookie ([d6beef4](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/d6beef40eea6cbeea4d5f0c0bb62b6465e7097ec))
7
+
8
+ ## [37.0.2](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/compare/v37.0.1...v37.0.2) (2023-11-15)
9
+
10
+
11
+ ### Bug Fixes
12
+
13
+ * added prop for cookie modal ([5410c92](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/5410c9222abbe1589ee116d33a1ef2b6d39d5837))
14
+
1
15
  ## [37.0.1](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/compare/v37.0.0...v37.0.1) (2023-11-15)
2
16
 
3
17
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gatsby-matrix-theme",
3
- "version": "37.0.1",
3
+ "version": "37.0.3",
4
4
  "main": "index.js",
5
5
  "description": "Matrix Theme NPM Package",
6
6
  "author": "",
@@ -15,6 +15,7 @@ const CookieModal = ({
15
15
  handleAcceptCookies,
16
16
  handleDeclineCookies,
17
17
  declineButtonType = 'secondary',
18
+ buttonSize = 'm',
18
19
  closeModal,
19
20
  cookieLink = {
20
21
  title: '',
@@ -125,7 +126,7 @@ const CookieModal = ({
125
126
  btnText={translate(translations, 'cookie_accept_all_button', 'Accept All Cookies')}
126
127
  isInternalLink={false}
127
128
  buttonType="primary"
128
- buttonSize="m"
129
+ buttonSize={buttonSize}
129
130
  gtmClass="cookie-consent-gtm btn-cta"
130
131
  />
131
132
  )}
@@ -138,7 +139,7 @@ const CookieModal = ({
138
139
  )}
139
140
  isInternalLink={false}
140
141
  buttonType={declineButtonType}
141
- buttonSize="m"
142
+ buttonSize={buttonSize}
142
143
  gtmClass="cookie-consent-gtm btn-cta"
143
144
  />
144
145
  </div>
@@ -190,7 +191,7 @@ const CookieModal = ({
190
191
  btnText={translate(translations, 'cookie_confirm_button', 'Confirm my choices')}
191
192
  isInternalLink={false}
192
193
  buttonType="primary"
193
- buttonSize="m"
194
+ buttonSize={buttonSize}
194
195
  gtmClass="cookie-consent-gtm btn-cta"
195
196
  />
196
197
  </div>
@@ -205,6 +206,7 @@ CookieModal.propTypes = {
205
206
  handleDeclineCookies: PropTypes.func,
206
207
  closeModal: PropTypes.func,
207
208
  logo: PropTypes.string,
209
+ buttonSize: PropTypes.string,
208
210
  declineButtonType: PropTypes.string,
209
211
  templateTwo: PropTypes.bool,
210
212
  cookieLink: PropTypes.shape({
@@ -20,6 +20,7 @@ const CookieConsent = ({
20
20
  settingsCookie,
21
21
  settingsButtonType = 'secondary',
22
22
  isPageHomepage,
23
+ buttonSize = 'm',
23
24
  type,
24
25
  cookieImage = '../../../images/cookie.png',
25
26
  children,
@@ -66,7 +67,7 @@ const CookieConsent = ({
66
67
  onClick={() => setShowModal(!showModal)}
67
68
  btnText={translate(translations, 'cookie_setting_button', 'Cookie Setting')}
68
69
  buttonType={settingsButtonType}
69
- buttonSize="m"
70
+ buttonSize={buttonSize}
70
71
  gtmClass="cookie-consent-gtm btn-cta"
71
72
  />
72
73
  )}
@@ -75,7 +76,7 @@ const CookieConsent = ({
75
76
  btnText={translate(translations, 'cookie_accept_button', acceptText)}
76
77
  isInternalLink={false}
77
78
  buttonType="primary"
78
- buttonSize="m"
79
+ buttonSize={buttonSize}
79
80
  gtmClass="cookie-consent-gtm btn-cta"
80
81
  />
81
82
  </div>
@@ -116,6 +117,7 @@ CookieConsent.propTypes = {
116
117
  showOnScroll: PropTypes.bool,
117
118
  settingsButtonType: PropTypes.string,
118
119
  isPageHomepage: PropTypes.bool,
120
+ buttonSize: PropTypes.string,
119
121
  cookieImage: PropTypes.string,
120
122
  logo: PropTypes.string,
121
123
  children: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.node), PropTypes.node, PropTypes.any]),
@@ -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)$"},{"titlePrefix":"","directory":"../node_modules/gatsby-core-theme/src/components/molecules/content","files":"text.stories.js","importPathMatcher":"^(?:\\.\\.\\/node_modules\\/gatsby-core-theme\\/src\\/components\\/molecules\\/content\\/text\\.stories\\.js)$"},{"titlePrefix":"","directory":"../node_modules/gatsby-core-theme/src/components/molecules/content","files":"show-more.stories.js","importPathMatcher":"^(?:\\.\\.\\/node_modules\\/gatsby-core-theme\\/src\\/components\\/molecules\\/content\\/show-more\\.stories\\.js)$"},{"titlePrefix":"","directory":"../node_modules/gatsby-core-theme/src/components/molecules/content","files":"content.stories.js","importPathMatcher":"^(?:\\.\\.\\/node_modules\\/gatsby-core-theme\\/src\\/components\\/molecules\\/content\\/content\\.stories\\.js)$"},{"titlePrefix":"","directory":"../node_modules/gatsby-core-theme/src/components/molecules/content/lists","files":"lists.stories.js","importPathMatcher":"^(?:\\.\\.\\/node_modules\\/gatsby-core-theme\\/src\\/components\\/molecules\\/content\\/lists\\/lists\\.stories\\.js)$"},{"titlePrefix":"","directory":"../node_modules/gatsby-core-theme/src/components/molecules/content/frame","files":"frame.stories.js","importPathMatcher":"^(?:\\.\\.\\/node_modules\\/gatsby-core-theme\\/src\\/components\\/molecules\\/content\\/frame\\/frame\\.stories\\.js)$"},{"titlePrefix":"","directory":"../node_modules/gatsby-core-theme/src/components/molecules/content/table","files":"table-one.stories.js","importPathMatcher":"^(?:\\.\\.\\/node_modules\\/gatsby-core-theme\\/src\\/components\\/molecules\\/content\\/table\\/table-one\\.stories\\.js)$"},{"titlePrefix":"","directory":"../node_modules/gatsby-core-theme/src/components/molecules/content/table","files":"table-two.stories.js","importPathMatcher":"^(?:\\.\\.\\/node_modules\\/gatsby-core-theme\\/src\\/components\\/molecules\\/content\\/table\\/table-two\\.stories\\.js)$"},{"titlePrefix":"","directory":"../node_modules/gatsby-core-theme/src/components/molecules/pagination","files":"pagination.stories.js","importPathMatcher":"^(?:\\.\\.\\/node_modules\\/gatsby-core-theme\\/src\\/components\\/molecules\\/pagination\\/pagination\\.stories\\.js)$"}];</script><script src="runtime~main.daeb2a8f.iframe.bundle.js"></script><script src="487.2d630f0c.iframe.bundle.js"></script><script src="main.6563717e.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)$"},{"titlePrefix":"","directory":"../node_modules/gatsby-core-theme/src/components/molecules/content","files":"text.stories.js","importPathMatcher":"^(?:\\.\\.\\/node_modules\\/gatsby-core-theme\\/src\\/components\\/molecules\\/content\\/text\\.stories\\.js)$"},{"titlePrefix":"","directory":"../node_modules/gatsby-core-theme/src/components/molecules/content","files":"show-more.stories.js","importPathMatcher":"^(?:\\.\\.\\/node_modules\\/gatsby-core-theme\\/src\\/components\\/molecules\\/content\\/show-more\\.stories\\.js)$"},{"titlePrefix":"","directory":"../node_modules/gatsby-core-theme/src/components/molecules/content","files":"content.stories.js","importPathMatcher":"^(?:\\.\\.\\/node_modules\\/gatsby-core-theme\\/src\\/components\\/molecules\\/content\\/content\\.stories\\.js)$"},{"titlePrefix":"","directory":"../node_modules/gatsby-core-theme/src/components/molecules/content/lists","files":"lists.stories.js","importPathMatcher":"^(?:\\.\\.\\/node_modules\\/gatsby-core-theme\\/src\\/components\\/molecules\\/content\\/lists\\/lists\\.stories\\.js)$"},{"titlePrefix":"","directory":"../node_modules/gatsby-core-theme/src/components/molecules/content/frame","files":"frame.stories.js","importPathMatcher":"^(?:\\.\\.\\/node_modules\\/gatsby-core-theme\\/src\\/components\\/molecules\\/content\\/frame\\/frame\\.stories\\.js)$"},{"titlePrefix":"","directory":"../node_modules/gatsby-core-theme/src/components/molecules/content/table","files":"table-one.stories.js","importPathMatcher":"^(?:\\.\\.\\/node_modules\\/gatsby-core-theme\\/src\\/components\\/molecules\\/content\\/table\\/table-one\\.stories\\.js)$"},{"titlePrefix":"","directory":"../node_modules/gatsby-core-theme/src/components/molecules/content/table","files":"table-two.stories.js","importPathMatcher":"^(?:\\.\\.\\/node_modules\\/gatsby-core-theme\\/src\\/components\\/molecules\\/content\\/table\\/table-two\\.stories\\.js)$"},{"titlePrefix":"","directory":"../node_modules/gatsby-core-theme/src/components/molecules/pagination","files":"pagination.stories.js","importPathMatcher":"^(?:\\.\\.\\/node_modules\\/gatsby-core-theme\\/src\\/components\\/molecules\\/pagination\\/pagination\\.stories\\.js)$"}];</script><script src="runtime~main.daeb2a8f.iframe.bundle.js"></script><script src="487.2d630f0c.iframe.bundle.js"></script><script src="main.d7d353ae.iframe.bundle.js"></script></body></html>