@everymatrix/casino-categories-slider 1.5.2 → 1.5.4

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/index.html CHANGED
@@ -30,7 +30,8 @@
30
30
  </header>
31
31
 
32
32
  <div class="webcomponent">
33
- <casino-categories-slider endpoint="https://demo-api.stage.norway.everymatrix.com/v1" datasource="RNG" lang="en">
33
+ <casino-categories-slider endpoint="https://demo-api.stage.norway.everymatrix.com/v1" datasource="RNG" lang="en"
34
+ showsubgroups="true" filteredcategories="collection,vendor">
34
35
  </casino-categories-slider>
35
36
  </casino-categories-slider>
36
37
  </div>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@everymatrix/casino-categories-slider",
3
- "version": "1.5.2",
3
+ "version": "1.5.4",
4
4
  "main": "dist/casino-categories-slider.js",
5
5
  "svelte": "src/index.ts",
6
6
  "scripts": {
@@ -36,5 +36,5 @@
36
36
  "publishConfig": {
37
37
  "access": "public"
38
38
  },
39
- "gitHead": "c0184ad3edaaa8f9ce54289cf544bb0589ef1fbe"
39
+ "gitHead": "0515078fefc5290a183afcfb2608cf265f2322c7"
40
40
  }
@@ -147,6 +147,7 @@
147
147
  }
148
148
  }
149
149
 
150
+
150
151
  const setActiveCategory = ():void => {
151
152
  let checkIfSubcategory = activecategory.split('$');
152
153
  activecategory = (checkIfSubcategory.length > 2) ? activecategory.split('$').slice(0, 2).join('$') : activecategory;