@everymatrix/casino-games-category-section 1.13.24 → 1.14.0
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-games-category-section",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.14.0",
|
|
4
4
|
"main": "dist/casino-games-category-section.js",
|
|
5
5
|
"svelte": "src/index.ts",
|
|
6
6
|
"scripts": {
|
|
@@ -35,5 +35,5 @@
|
|
|
35
35
|
"publishConfig": {
|
|
36
36
|
"access": "public"
|
|
37
37
|
},
|
|
38
|
-
"gitHead": "
|
|
38
|
+
"gitHead": "50859415bac3b0cca7863e545b1edd43a68938cb"
|
|
39
39
|
}
|
|
@@ -37,6 +37,7 @@
|
|
|
37
37
|
export let addfilterselector:string = 'false';
|
|
38
38
|
export let addsortingselector:string = 'false';
|
|
39
39
|
export let filterbylogo:string = '';
|
|
40
|
+
export let casinogamesgridslider:string = 'false';
|
|
40
41
|
|
|
41
42
|
export let once = true;
|
|
42
43
|
export let top = 0;
|
|
@@ -640,7 +641,7 @@
|
|
|
640
641
|
{/if}
|
|
641
642
|
{:else}
|
|
642
643
|
{#if searched}
|
|
643
|
-
<div class="CasinoGamesContainer"
|
|
644
|
+
<div class="CasinoGamesContainer">
|
|
644
645
|
<div class="CasinoGamesHeader Searched {isMobile(userAgent) ? 'CasinoGamesHeaderMobile' : ''}">
|
|
645
646
|
{#if recentSearched}
|
|
646
647
|
<h3 class="StatusText">
|
|
@@ -709,7 +710,7 @@
|
|
|
709
710
|
{#if showLoadCategory}
|
|
710
711
|
<!-- svelte-ignore a11y-missing-attribute -->
|
|
711
712
|
<a class="CategoryNameLink" on:click="{e => showCategory(categoryData.id, categoryData)}">
|
|
712
|
-
<span class="CategoryLoadMore"
|
|
713
|
+
<span class="CategoryLoadMore">
|
|
713
714
|
{$_('viewAll')} ({categoryData.games.total})
|
|
714
715
|
</span>
|
|
715
716
|
</a>
|
|
@@ -744,8 +745,8 @@
|
|
|
744
745
|
{#if isLoading && !isLazyLoading}
|
|
745
746
|
<div class="lds-dual-ring" part="lds-dual-ring"></div>
|
|
746
747
|
{:else}
|
|
747
|
-
{#if shownCategoryData.length !== 0}
|
|
748
|
-
<ul class="{(favoriteGamesData.items.length === 0 && showFavGamesCategory) ? '' : 'CasinoGamesGrid'} GamesListIncreasedGap" bind:this={container}>
|
|
748
|
+
{#if shownCategoryData.length !== 0 }
|
|
749
|
+
<ul class="{(favoriteGamesData.items.length === 0 && showFavGamesCategory) ? '' : 'CasinoGamesGrid'} {(lobbyView && casinogamesgridslider == 'true') ? 'CasinoGamesGridSlider CustomScroll' : '' } GamesListIncreasedGap" bind:this={container}>
|
|
749
750
|
{#each shownCategoryData as gameprops, index}
|
|
750
751
|
{#if intersecting || nativeLoading}
|
|
751
752
|
<casino-game-thumbnail
|
|
@@ -789,7 +790,7 @@
|
|
|
789
790
|
<div class="CasinoGamesContainer">
|
|
790
791
|
{#if casinomygames !== 'true'}
|
|
791
792
|
<div class="CasinoGamesHeader">
|
|
792
|
-
<h3 class="CategoryName">
|
|
793
|
+
<h3 class="CategoryName" bind:this={categoryName}>
|
|
793
794
|
{$_('favorites')}
|
|
794
795
|
<span class="CategoryFavName">({favoriteGamesData.items.length})</span>
|
|
795
796
|
</h3>
|
|
@@ -915,9 +916,32 @@
|
|
|
915
916
|
|
|
916
917
|
$grid-gap: 16px;
|
|
917
918
|
$grid-cell-size: 192px;
|
|
919
|
+
$grid-cell-size-scroll: 182px;
|
|
918
920
|
$grid-cell-size-small: 110px;
|
|
919
921
|
$grid-cell-size-medium: 122px;
|
|
920
922
|
|
|
923
|
+
|
|
924
|
+
.CustomScroll:-webkit-scrollbar-track
|
|
925
|
+
{
|
|
926
|
+
-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
|
|
927
|
+
border-radius: 5px;
|
|
928
|
+
background-color: transparent;
|
|
929
|
+
}
|
|
930
|
+
|
|
931
|
+
.CustomScroll::-webkit-scrollbar
|
|
932
|
+
{
|
|
933
|
+
height: 5px;
|
|
934
|
+
background-color: transparent;
|
|
935
|
+
}
|
|
936
|
+
|
|
937
|
+
.CustomScroll::-webkit-scrollbar-thumb
|
|
938
|
+
{
|
|
939
|
+
border-radius: 5px;
|
|
940
|
+
height: 5px;
|
|
941
|
+
-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,.3);
|
|
942
|
+
background-color: rgba(255,255,255,.3);
|
|
943
|
+
}
|
|
944
|
+
|
|
921
945
|
.CategoryName,
|
|
922
946
|
.StatusText {
|
|
923
947
|
color: var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF));
|
|
@@ -1047,6 +1071,49 @@
|
|
|
1047
1071
|
}
|
|
1048
1072
|
}
|
|
1049
1073
|
|
|
1074
|
+
.CasinoGamesGridSlider {
|
|
1075
|
+
display: grid;
|
|
1076
|
+
gap: $grid-gap;
|
|
1077
|
+
grid-template-columns: repeat(auto-fill, minmax(Min($grid-cell-size-scroll, 46%), 2fr));
|
|
1078
|
+
grid-template-rows: repeat(auto-fill, $grid-cell-size-scroll);
|
|
1079
|
+
grid-auto-rows: $grid-cell-size-scroll;
|
|
1080
|
+
grid-auto-columns: $grid-cell-size-scroll;
|
|
1081
|
+
grid-auto-flow: column;
|
|
1082
|
+
overflow-x: auto;
|
|
1083
|
+
overflow-y: hidden;
|
|
1084
|
+
padding-bottom: 5px;
|
|
1085
|
+
|
|
1086
|
+
.game-tile-2x1 {
|
|
1087
|
+
grid-row: span 2;
|
|
1088
|
+
|
|
1089
|
+
@media screen and (max-width: 375px) {
|
|
1090
|
+
grid-row: span 1;
|
|
1091
|
+
}
|
|
1092
|
+
}
|
|
1093
|
+
|
|
1094
|
+
.game-tile-2x2 {
|
|
1095
|
+
grid-row: span 2;
|
|
1096
|
+
grid-column: span 2;
|
|
1097
|
+
|
|
1098
|
+
@media screen and (max-width: 375px) {
|
|
1099
|
+
grid-row: span 2;
|
|
1100
|
+
grid-column: span 2;
|
|
1101
|
+
}
|
|
1102
|
+
}
|
|
1103
|
+
|
|
1104
|
+
.game-tile-1x2 {
|
|
1105
|
+
grid-column: span 2;
|
|
1106
|
+
|
|
1107
|
+
@media screen and (max-width: 375px) {
|
|
1108
|
+
grid-column: span 1;
|
|
1109
|
+
}
|
|
1110
|
+
}
|
|
1111
|
+
|
|
1112
|
+
&.GamesListIncreasedGap {
|
|
1113
|
+
gap: $grid-gap + 12;
|
|
1114
|
+
}
|
|
1115
|
+
}
|
|
1116
|
+
|
|
1050
1117
|
.CategoryFilterContainer {
|
|
1051
1118
|
display: grid;
|
|
1052
1119
|
grid-template-columns: 1fr 1fr;
|
package/src/translations.js
CHANGED
|
@@ -103,10 +103,15 @@ export const TRANSLATIONS = {
|
|
|
103
103
|
"hr": {
|
|
104
104
|
"showMore": "Više",
|
|
105
105
|
"viewAll": "Pokaži sve",
|
|
106
|
-
"searchedItems": "
|
|
107
|
-
"recentSearchedItems": "
|
|
108
|
-
"noRecentSearch": "
|
|
109
|
-
"noResults": "
|
|
106
|
+
"searchedItems": "Rezultat pretraživanja",
|
|
107
|
+
"recentSearchedItems": "Nedavno Pretraženo",
|
|
108
|
+
"noRecentSearch": "Još nema započetih pretraživanja. Jednostavno pretražite igru",
|
|
109
|
+
"noResults": "Oprostite, nema rezultata. Molimo pokušajte ponovo",
|
|
110
|
+
"favorites": "Favoriti",
|
|
111
|
+
"noFavoritesMobile": "Stisnite na ikonu zvjezdice u gornjem desnom kutu kako bi je dodali u favorite",
|
|
112
|
+
"noFavorites": "Stisnite na ikonu zvjezdice u gornjem desnom kutu kako bi je dodali u favorite",
|
|
113
|
+
"noFavoritesTitle": "Nemate favoriziranih igara",
|
|
114
|
+
"waiting": "Čekanje"
|
|
110
115
|
},
|
|
111
116
|
"hu": {
|
|
112
117
|
"showMore": "Több",
|