@everymatrix/casino-search 1.6.0 → 1.7.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-search",
3
- "version": "1.6.0",
3
+ "version": "1.7.0",
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": "e4b57a534bdee7d09fc53a7b49e31338bc1a3f00"
39
+ "gitHead": "b405cf7bcce97b06567550e59f40f2d310be97af"
40
40
  }
@@ -68,6 +68,10 @@
68
68
  playerID = e.data.userid;
69
69
  isLoggedIn = true;
70
70
  }
71
+
72
+ if (e.data.type == 'CategoryChange') {
73
+ cancelSearch();
74
+ }
71
75
  }
72
76
 
73
77
  const onFocus = ():void => {
@@ -455,8 +459,7 @@
455
459
  font-size: 16px;
456
460
  font-weight: 300;
457
461
  padding: 14px 5px 14px 46px;
458
- width: 100%;
459
-
462
+ width:100%;
460
463
  &::placeholder {
461
464
  color: $color-grey;
462
465
  font-size: 16px;
@@ -468,9 +471,9 @@
468
471
  }
469
472
 
470
473
  &::-webkit-search-decoration,
471
- &::-webkit-search-cancel-button,
472
- &::-webkit-search-results-button,
473
- &::-webkit-search-results-decoration {
474
+ &::-webkit-search-cancel-button,
475
+ &::-webkit-search-results-button,
476
+ &::-webkit-search-results-decoration {
474
477
  -webkit-appearance:none;
475
478
  }
476
479
  }
@@ -12,7 +12,7 @@ export const Translations = {
12
12
  noRecentSearches: "No recent searches yet. Search for any of our games.",
13
13
  },
14
14
  },
15
- zh: {
15
+ 'zh-hk': {
16
16
  Translations: {
17
17
  recentSearch: "最近的搜索",
18
18
  loading: "加载请稍候",
@@ -62,7 +62,7 @@ export const Translations = {
62
62
  noRecentSearches: "Pas encore de recherches récentes. Recherchez l'un de nos jeux.",
63
63
  },
64
64
  },
65
-
65
+
66
66
 
67
67
  es: {
68
68
  Translations: {