@everymatrix/casino-slider 0.0.365 → 0.0.368

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@everymatrix/casino-slider",
3
- "version": "0.0.365",
3
+ "version": "0.0.368",
4
4
  "main": "dist/casino-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": "f4dabfce4df55a591981f327a670cc250a2ed257"
39
+ "gitHead": "8de3cc787cc97aec99916dfedb01ec69ac55ba98"
40
40
  }
@@ -19,6 +19,7 @@
19
19
  export let issecondarymenu:boolean = false;
20
20
  export let lang:string = '';
21
21
  export let activeindex:string = '0';
22
+ export let showsubgroups:string = '';
22
23
 
23
24
  setupI18n({ withLocale: 'en', translations: {}});
24
25
 
@@ -130,8 +131,8 @@
130
131
  {category.name} {category.id === "FAVORITES" ? "(" + favoritesnumber + ")" : ''}
131
132
  {/if}
132
133
 
133
- {#if category?.subGroups}
134
- <div class="dropdown-content">
134
+ {#if category?.subGroups && showsubgroups == 'true'}
135
+ <div class="DropdownContent">
135
136
  {#each category?.subGroups?.items as subCategory}
136
137
  <a>{subCategory?.name}</a>
137
138
  {/each}
@@ -189,7 +190,7 @@
189
190
  flex-direction: row;
190
191
  flex-wrap: nowrap;
191
192
  align-items: center;
192
- //overflow-y: scroll;
193
+ overflow-y: scroll;
193
194
  list-style-type: none;
194
195
  -ms-overflow-style: none;
195
196
  scrollbar-width: none;
@@ -219,32 +220,31 @@
219
220
  }
220
221
  }
221
222
 
222
- .dropdown-content {
223
+ .DropdownContent {
224
+ position: absolute;
223
225
  transition: all 1s ease-in;
224
226
  display: none;
225
- position: absolute;
226
227
  min-width: 100px;
227
- height: auto;
228
228
  top: 52px;
229
229
  left: 0;
230
230
  padding: 10px 11px;
231
231
  background: var(--emfe-w-color-contrast, #07072A); /* fallback for old browsers */
232
232
  background: -webkit-linear-gradient(var(--emfe-w-color-contrast, #07072A), var(--emfe-w-color-primary, #D0046C)); /* Chrome 10-25, Safari 5.1-6 */
233
233
  background: linear-gradient(var(--emfe-w-color-contrast, #07072A), var(--emfe-w-color-primary, #D0046C)); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
234
-
235
234
  & a {
236
235
  display: block;
237
236
  font-weight: 400;
238
237
  line-height: 30px;
238
+ text-align: left;
239
239
  }
240
240
  }
241
241
 
242
-
243
- .dropdown:hover .dropdown-content {
244
- transition: all 1s ease-in;
245
- display: block;
246
- opacity: 1;
247
- z-index: 999;
242
+ .CarouselItem {
243
+ &:hover {
244
+ .DropdownContent {
245
+ display: block;
246
+ }
247
+ }
248
248
  }
249
249
 
250
250
  .CarouselLeftArrow,