@everymatrix/casino-search 1.4.0 → 1.4.1

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-search",
3
- "version": "1.4.0",
3
+ "version": "1.4.1",
4
4
  "main": "index.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": "be1fa07132bd9efec772e8532a8bc54c82eb1cb6"
39
+ "gitHead": "1d59a96e434455c55cc56d4e7655e9fbd4de8141"
40
40
  }
@@ -76,6 +76,7 @@
76
76
 
77
77
  if (endpoint && datasource && lang) {
78
78
  if (searchValue.length < 2) {
79
+ searchArray = [];
79
80
  let recentSearchedGames = localStorage.getItem(`searchedGamesWds_casino`);
80
81
  let recentSearchedGamesArray:Array<any> = [];
81
82
 
@@ -305,7 +306,7 @@
305
306
 
306
307
  return item;
307
308
  });
308
- });
309
+ });
309
310
  } else {
310
311
  if (!searchCancelled) {
311
312
  onFocus();
@@ -421,11 +422,11 @@
421
422
  }
422
423
 
423
424
  .CasinoSearchPc{
424
- margin: 16px;
425
+ margin: 30px 16px;
425
426
  }
426
427
 
427
428
  .CasinoSearch {
428
- margin: 16px;
429
+ margin: 30px 16px;
429
430
  }
430
431
 
431
432
  .SearchPc{
@@ -507,12 +508,14 @@
507
508
  position: absolute;
508
509
  top: 30%;
509
510
  right: 15px;
511
+ cursor: pointer;
510
512
  }
511
513
 
512
514
  &CancelButton {
513
515
  color: $color-grey;
514
516
  font-weight: 300;
515
517
  margin-left: 8px;
518
+ cursor: pointer;
516
519
  }
517
520
 
518
521
  &MessagePc {
@@ -61,16 +61,19 @@ export const Translations = {
61
61
  noRecentSearches: "Pas encore de recherches récentes. Recherchez l'un de nos jeux.",
62
62
  },
63
63
  },
64
+
65
+
64
66
  es: {
65
67
  Translations: {
66
- recentSearch: "Recent search",
67
- loading: "Loading, please wait",
68
- searchResult: "Search result",
69
- cancel: "Cancel",
70
- notFound: "Game not found!",
68
+ recentSearch: "Busqueda reciente",
69
+ placeHolderSearchGames: 'Buscar juegos',
70
+ loading: "Cargando",
71
+ searchResult: "Resultado de busqueda",
72
+ cancel: "Cancelar",
73
+ notFound: "Juego no encontrado!",
71
74
  notFoundText:
72
- "Please type the correct name of the game to start to play.",
73
- noRecentSearches: "No recent searches yet. Search for any of our games.",
75
+ "Por favor escriba el nombre correcto del juego para empezar a jugar.",
76
+ noRecentSearches: "No hay búsquedas recientes. Busca cualquiera de nuestros juegos",
74
77
  },
75
78
  },
76
79
  gr: {