gatsby-matrix-theme 37.0.6 → 37.0.7
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 +11 -0
- package/package.json +1 -1
- package/src/components/atoms/cards/game-cards/template-one/index.js +0 -2
- package/src/components/molecules/wagering-calculator/index.js +28 -4
- package/src/components/molecules/wagering-calculator/wagering-calculator.module.scss +1 -1
- package/storybook/public/iframe.html +1 -1
- package/storybook/public/main.43caee2d.iframe.bundle.js +2 -0
- package/storybook/public/main.682ac86b.iframe.bundle.js +0 -2
- /package/storybook/public/{main.682ac86b.iframe.bundle.js.LICENSE.txt → main.43caee2d.iframe.bundle.js.LICENSE.txt} +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,14 @@
|
|
|
1
|
+
## [37.0.7](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/compare/v37.0.6...v37.0.7) (2023-11-17)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* button in game cards ([9b1276c](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/9b1276cb7191fbbb89effb01606c2228e02cfa5f))
|
|
7
|
+
* update wagering calculator ([3965b08](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/3965b0884581dd3c91e20c5dbd26e1ac4ba1437c))
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
* Merge branch 'bug-sheet' into 'master' ([4a43bbb](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/4a43bbb31887ee5e6a39b93dead1814692734b73))
|
|
11
|
+
|
|
1
12
|
## [37.0.6](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/compare/v37.0.5...v37.0.6) (2023-11-16)
|
|
2
13
|
|
|
3
14
|
|
package/package.json
CHANGED
|
@@ -2,7 +2,6 @@
|
|
|
2
2
|
import React, { useContext } from 'react';
|
|
3
3
|
import PropTypes from 'prop-types';
|
|
4
4
|
import loadable from '@loadable/component';
|
|
5
|
-
import { FaArrowRight } from '@react-icons/all-files/fa/FaArrowRight';
|
|
6
5
|
import { Context } from 'gatsby-core-theme/src/context/MainProvider';
|
|
7
6
|
import {
|
|
8
7
|
imagePrettyUrl,
|
|
@@ -118,7 +117,6 @@ const TemplateOne = ({
|
|
|
118
117
|
buttonType={!featured ? 'primary' : 'secondary'}
|
|
119
118
|
gtmClass="game-card-gtm btn-cta"
|
|
120
119
|
btnText={translate(translations, button_text, 'Play now')}
|
|
121
|
-
icon={<FaArrowRight title="Right-pointing Arrow Icon" />}
|
|
122
120
|
/>
|
|
123
121
|
)}
|
|
124
122
|
</div>
|
|
@@ -71,7 +71,7 @@ const WageringCalculator = ({
|
|
|
71
71
|
)}
|
|
72
72
|
</span>
|
|
73
73
|
<div className={styles.inputContainer}>
|
|
74
|
-
<label className={styles.label} htmlFor="
|
|
74
|
+
<label className={styles.label} htmlFor="wgc_deposit">
|
|
75
75
|
{translate(translations, 'wagecalc_deposit_amount', 'Deposit amount')}
|
|
76
76
|
</label>
|
|
77
77
|
<input
|
|
@@ -86,16 +86,31 @@ const WageringCalculator = ({
|
|
|
86
86
|
<label className={styles.label} htmlFor="bonus">
|
|
87
87
|
{translate(translations, 'wagecalc_bonus_amount', 'Bonus amount')}
|
|
88
88
|
</label>
|
|
89
|
-
<input
|
|
89
|
+
<input
|
|
90
|
+
className={styles.input}
|
|
91
|
+
ref={wgcBonus}
|
|
92
|
+
type="number"
|
|
93
|
+
min={0}
|
|
94
|
+
required
|
|
95
|
+
id="bonus"
|
|
96
|
+
/>
|
|
90
97
|
</div>
|
|
91
98
|
<div className={styles.inputContainer}>
|
|
92
99
|
<label className={styles.label} htmlFor="wagering">
|
|
93
100
|
{translate(translations, 'wagecalc_wagering', 'Wagering')}
|
|
94
101
|
</label>
|
|
95
|
-
<input
|
|
102
|
+
<input
|
|
103
|
+
className={styles.input}
|
|
104
|
+
ref={wgcWagering}
|
|
105
|
+
type="number"
|
|
106
|
+
min={0}
|
|
107
|
+
required
|
|
108
|
+
id="wagering"
|
|
109
|
+
/>
|
|
96
110
|
</div>
|
|
97
111
|
<div className={styles.inputContainer}>
|
|
98
112
|
<select
|
|
113
|
+
id="wgcCalcSelect"
|
|
99
114
|
className={styles.select}
|
|
100
115
|
ref={wgcCalcSelect}
|
|
101
116
|
onChange={({ target }) => {
|
|
@@ -103,6 +118,7 @@ const WageringCalculator = ({
|
|
|
103
118
|
deposit.required = target.value !== 'bonus';
|
|
104
119
|
deposit.checkValidity();
|
|
105
120
|
}}
|
|
121
|
+
aria-label={translate(translations, 'wagecalc_select_label', 'Select an option')}
|
|
106
122
|
>
|
|
107
123
|
<option value="bonus">{translate(translations, 'wagecalc_bonus', 'Bonus')}</option>
|
|
108
124
|
<option value="bonus_deposit">
|
|
@@ -110,11 +126,19 @@ const WageringCalculator = ({
|
|
|
110
126
|
</option>
|
|
111
127
|
</select>
|
|
112
128
|
</div>
|
|
129
|
+
|
|
113
130
|
<div className={styles.inputContainer}>
|
|
114
131
|
<label className={styles.label} htmlFor="contribution">
|
|
115
132
|
{translate(translations, 'wagecalc_contribution', 'Contribution %')}
|
|
116
133
|
</label>
|
|
117
|
-
<input
|
|
134
|
+
<input
|
|
135
|
+
className={styles.input}
|
|
136
|
+
ref={wgcContribution}
|
|
137
|
+
type="number"
|
|
138
|
+
min={0}
|
|
139
|
+
max={100}
|
|
140
|
+
id="contribution"
|
|
141
|
+
/>
|
|
118
142
|
</div>
|
|
119
143
|
|
|
120
144
|
<Button
|
|
@@ -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.a0ab2ddb.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)$"},{"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.a0ab2ddb.iframe.bundle.js"></script><script src="main.43caee2d.iframe.bundle.js"></script></body></html>
|