@everymatrix/player-active-bonuses 0.0.257 → 0.0.260

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/player-active-bonuses",
3
- "version": "0.0.257",
3
+ "version": "0.0.260",
4
4
  "main": "dist/player-active-bonuses",
5
5
  "svelte": "src/index.ts",
6
6
  "scripts": {
@@ -36,5 +36,5 @@
36
36
  "publishConfig": {
37
37
  "access": "public"
38
38
  },
39
- "gitHead": "fb390d6a11e469b9d59db7cf11f59937a32a2555"
39
+ "gitHead": "a30fdd6f6180c69aabbc0daf1bf2a2e1342bf0e2"
40
40
  }
@@ -21,7 +21,7 @@
21
21
 
22
22
  let bonusCode:string = '';
23
23
 
24
- let filter:string = 'status=active,type=standard,type=cashback,type=freeround,type=freebet,type=wagering';
24
+ let filter:string = 'status=active,type=standard,type=freeround,type=freebet';
25
25
 
26
26
  let bonusesPrevPage:number = 0;
27
27
  let bonusesNextPage:number = 0;
@@ -54,7 +54,7 @@
54
54
  }
55
55
  }
56
56
  const toggleScreen = () => {
57
- window.postMessage({ type: 'ReturnToMenu' }, window.location.href);
57
+ window.postMessage({type: 'PlayerAccountMenuActive', isMobile}, window.location.href);
58
58
  }
59
59
 
60
60
  const checkBonusCode = () => {
@@ -270,13 +270,6 @@
270
270
  {/if}
271
271
 
272
272
  <style lang="scss">
273
- //This function does a multiplication
274
- // in order to work with px the
275
- // same way as working with em
276
- @function ttp($value) {
277
- $multiplicator: 16px;
278
- @return $value * $multiplicator;
279
- }
280
273
 
281
274
  :host {
282
275
  font-family: system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji';
@@ -322,14 +315,14 @@
322
315
  color: var(--emfe-w-color-gray-300, #58586B);
323
316
  display: flex;
324
317
  flex-direction: column;
325
- padding-bottom: ttp(1.875);
318
+ padding-bottom: 30px;
326
319
  position: relative;
327
320
  width: 70%;
328
321
 
329
322
  label {
330
- font-size: ttp(0.875);
323
+ font-size: 14px;
331
324
  font-weight: 300;
332
- padding-bottom: ttp(0.3125);
325
+ padding-bottom: 5px;
333
326
  }
334
327
 
335
328
  &.BonusCodeContainerMobile {
@@ -345,15 +338,13 @@
345
338
 
346
339
  .BonusCodeInput {
347
340
  width: 70%;
348
- height: ttp(2.75);
341
+ height: 44px;
349
342
  border: 1px solid var(--emfe-w-color-gray-100, #E6E6E6);
350
- border-radius: ttp(0.3125);
351
- padding: ttp(0.3125);
352
- font-size: ttp(0.875);
343
+ border-radius: 5px;
353
344
  box-sizing: border-box;
354
- padding: ttp(0.3125) ttp(0.9375);
355
- font-size: ttp(1);
356
- line-height: ttp(1.125);
345
+ padding: 5px 15px;
346
+ font-size: 16px;
347
+ line-height: 18px;
357
348
  &:focus {
358
349
  outline-color: var(--emfe-w-color-primary, #D0046C);
359
350
  }