@everymatrix/casino-game-page 1.8.4 → 1.9.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-game-page",
3
- "version": "1.8.4",
3
+ "version": "1.9.0",
4
4
  "main": "dist/casino-game-page.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": "58b0374c9527cbfb3a070ac6fb1744bc670aba27"
39
+ "gitHead": "931b121e18fe00e97d089fdc4f642515337a7091"
40
40
  }
@@ -184,14 +184,6 @@
184
184
  createGameURL(e.data.gameId, true);
185
185
  break;
186
186
 
187
- case 'ShowGameModal':
188
- showModal = 'true';
189
- break;
190
-
191
- case 'OpenGameFrame':
192
- showModal = 'true';
193
- break;
194
-
195
187
  case 'LaunchGameFrame':
196
188
  openGameFrame(e.data.gameId, e.data.gameFunMode);
197
189
  break;
@@ -665,6 +657,8 @@
665
657
  l61.023,123.645c2.186,4.427,6.408,7.496,11.294,8.206l136.447,19.828L366.023,308.608z"/></svg>
666
658
  </div>
667
659
  {/if}
660
+ {:else}
661
+ <div class="LoaderRipple"><div></div><div></div></div>
668
662
  {/if}
669
663
  {/if}
670
664
  <div class="GameDetails" part="GameDetails">
@@ -1017,4 +1011,54 @@
1017
1011
  background-position: 280px;
1018
1012
  }
1019
1013
  }
1020
- </style>
1014
+
1015
+ // Loader for favorites
1016
+ .LoaderRipple {
1017
+ width: 80px;
1018
+ height: 80px;
1019
+ position: absolute;
1020
+ top: 40px;
1021
+ left: -8px;
1022
+ div {
1023
+ position: absolute;
1024
+ border: 4px solid #fff;
1025
+ opacity: 1;
1026
+ border-radius: 50%;
1027
+ animation: ripple-effect 1s cubic-bezier(0, 0.2, 0.8, 1) infinite;
1028
+ &:nth-child(2) {
1029
+ animation-delay: -0.5s;
1030
+ }
1031
+ }
1032
+ }
1033
+
1034
+ @keyframes ripple-effect {
1035
+ 0% {
1036
+ top: 36px;
1037
+ left: 36px;
1038
+ width: 0;
1039
+ height: 0;
1040
+ opacity: 0;
1041
+ }
1042
+ 4.9% {
1043
+ top: 36px;
1044
+ left: 36px;
1045
+ width: 0;
1046
+ height: 0;
1047
+ opacity: 0;
1048
+ }
1049
+ 5% {
1050
+ top: 36px;
1051
+ left: 36px;
1052
+ width: 0;
1053
+ height: 0;
1054
+ opacity: 1;
1055
+ }
1056
+ 100% {
1057
+ top: 0px;
1058
+ left: 0px;
1059
+ width: 72px;
1060
+ height: 72px;
1061
+ opacity: 0;
1062
+ }
1063
+ }
1064
+ </style>