gatsby-core-theme 17.0.7 → 17.0.8

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,11 @@
1
+ ## [17.0.8](https://git.ilcd.rocks/team-floyd/themes/gatsby-themes/compare/v17.0.7...v17.0.8) (2023-01-02)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * added animation to tracker progress bar ([6df067e](https://git.ilcd.rocks/team-floyd/themes/gatsby-themes/commit/6df067e8ab6ae525621434abc94ca5e9d409b6bc))
7
+ * card filter inactive ([2de397d](https://git.ilcd.rocks/team-floyd/themes/gatsby-themes/commit/2de397d09495d4affea10261997b2d79a2dc212c))
8
+
1
9
  ## [17.0.7](https://git.ilcd.rocks/team-floyd/themes/gatsby-themes/compare/v17.0.6...v17.0.7) (2022-12-28)
2
10
 
3
11
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gatsby-core-theme",
3
- "version": "17.0.7",
3
+ "version": "17.0.8",
4
4
  "description": "Gatsby Theme NPM Package",
5
5
  "main": "index.js",
6
6
  "GATSBY_RECAPTCHA_SITEKEY": "6LfoyvMUAAAAAO4nl_MQnqHb4XdHxEiu5cXgIqeB",
@@ -11,6 +11,11 @@
11
11
  object-fit: cover;
12
12
  }
13
13
 
14
+ @keyframes load {
15
+ 0% { width: 0; }
16
+ 100% { width: 100%; }
17
+ }
18
+
14
19
  .content {
15
20
  width: 90%;
16
21
  background: var(--color-16);
@@ -70,10 +75,11 @@
70
75
  &:before {
71
76
  content: ' ';
72
77
  height: 0.8rem;
73
- width: 70%;
78
+ width: 0;
74
79
  background: linear-gradient(270deg, #17d6cc 0.34%, #17d68a 86.37%);
75
80
  border-radius: 10rem;
76
81
  display: block;
82
+ animation: load 5s normal forwards;
77
83
  }
78
84
  }
79
85
 
@@ -87,12 +87,15 @@ export function filterGames(pages, selectedCategories, selectedProviders) {
87
87
  }
88
88
 
89
89
  export function filterInactiveOperators(items) {
90
- return items.filter(
91
- (page) =>
92
- !settings.filter_cards_modules[process.env.GATSBY_SITE_NAME].includes(
93
- page.relation && page.relation.status
94
- )
95
- );
90
+ return items.filter((page) => {
91
+ if (!settings.filter_cards_modules[process.env.GATSBY_SITE_NAME]) {
92
+ return false;
93
+ }
94
+
95
+ return !settings.filter_cards_modules[process.env.GATSBY_SITE_NAME].includes(
96
+ page.relation && page.relation.status
97
+ );
98
+ });
96
99
  }
97
100
 
98
101
  export function filterOperators(pages, selectedProviders, selectedTypes) {