gatsby-core-theme 35.1.2 → 35.1.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,19 @@
1
+ ## [35.1.3](https://git.ilcd.rocks/team-floyd/themes/gatsby-themes/compare/v35.1.2...v35.1.3) (2024-08-06)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * add payout time ([7c0ba73](https://git.ilcd.rocks/team-floyd/themes/gatsby-themes/commit/7c0ba733207e119e9be70e1b2aa4a2b07e662e19))
7
+
8
+
9
+ ### Code Refactoring
10
+
11
+ * add style ([3c5b7e5](https://git.ilcd.rocks/team-floyd/themes/gatsby-themes/commit/3c5b7e54fba0fd69a2142556f64322b835a0b057))
12
+ * change to ratings rtp value if 0 ([8b8eb92](https://git.ilcd.rocks/team-floyd/themes/gatsby-themes/commit/8b8eb92a51419c4c94206351dadb91bc75b0e5e2))
13
+
14
+
15
+ * Merge branch 'tm-4666-ratings' into 'master' ([0362956](https://git.ilcd.rocks/team-floyd/themes/gatsby-themes/commit/0362956a9d525ffd394ac8b77832ec39dd40bc9f))
16
+
1
17
  ## [35.1.2](https://git.ilcd.rocks/team-floyd/themes/gatsby-themes/compare/v35.1.1...v35.1.2) (2024-08-05)
2
18
 
3
19
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gatsby-core-theme",
3
- "version": "35.1.2",
3
+ "version": "35.1.3",
4
4
  "description": "Gatsby Theme NPM Package",
5
5
  "author": "",
6
6
  "license": "ISC",
@@ -81,7 +81,7 @@ export default function Ratings({
81
81
  ) : (
82
82
  <>
83
83
  {valueDiplayed}
84
- {fieldValue === "rtp" && "%"}
84
+ {(typeof valueDiplayed === 'number' && fieldValue === "rtp" )&& "%"}
85
85
  </>
86
86
  )}
87
87
  </li>
@@ -1,5 +1,6 @@
1
1
  .ratingList {
2
2
  @include flex-direction(row);
3
+
3
4
  overflow-x: scroll;
4
5
  gap: 0.8rem;
5
6
 
@@ -28,26 +29,27 @@
28
29
  flex-direction: column;
29
30
  font-weight: 700;
30
31
  font-size: 1.4rem;
31
- background-color: #fbfbfb;
32
- border: 1px solid #e9e9e9;
32
+ background-color: var(--ratings-bg-color, #fbfbfb);
33
+ border: var(--ratings-border, 1px solid #e9e9e9);
33
34
  border-radius: 8px;
34
35
  padding: 16px 8px;
35
36
  min-height: 9.6rem;
36
37
  min-width: 10.4rem;
38
+ color: var(--ratings-active-color, #515156);
37
39
 
38
40
  @include min(tablet) {
39
41
  margin-bottom: inherit;
40
42
  width: -webkit-fill-available;
41
43
  }
42
44
 
43
- // Star rating
45
+ // NOTE Star rating
44
46
  >div {
45
47
  display: inline-flex;
46
48
  align-items: center;
47
49
  font-weight: 800;
48
50
  font-size: 18px;
49
51
  line-height: 28px;
50
- border: none;
52
+ border: 0;
51
53
  background-color: #fbfbfb;
52
54
 
53
55
  >svg {
@@ -92,11 +94,6 @@
92
94
  color: #1c1a28;
93
95
  display: flex;
94
96
 
95
- >svg {
96
- width: 2rem;
97
- height: 2rem;
98
- }
99
-
100
97
  @include min(tablet) {
101
98
  font-weight: 800;
102
99
  }
@@ -72,7 +72,8 @@ export const pickRelationKeys = {
72
72
  'email',
73
73
  'url',
74
74
  'games_amount',
75
- 'review_link'
75
+ 'review_link',
76
+ 'payout_time'
76
77
  ],
77
78
  game: [
78
79
  'game_provider',