@everymatrix/player-account-gaming-limits-wrapper-2 0.0.387 → 0.0.389

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/index.html CHANGED
@@ -8,11 +8,6 @@
8
8
  player-account-gaming-limits-wrapper-2
9
9
  </title>
10
10
  <link rel="stylesheet" href="public/reset.css">
11
- <style>
12
- body {
13
- background: #E8E9EB;
14
- }
15
- </style>
16
11
  <script src='dist/player-account-gaming-limits-wrapper-2.js'></script>
17
12
  </head>
18
13
 
@@ -23,36 +18,11 @@
23
18
  .header__logo svg { height: 50px; width: 50px; margin-right: 5px; }
24
19
  .header__name { color: #fff; }
25
20
  .header__name span { margin-right: 10px; font-weight: bold; }
26
- .webcomponent { padding: 10px 20px; width: 740px; height: 440px }
21
+ .webcomponent { padding: 10px 20px; }
27
22
  </style>
28
23
 
29
24
  <div class="webcomponent">
30
- <player-account-gaming-limits-wrapper-2
31
- userid="4506704"
32
- session="aaa2d102-2b4a-44da-adfe-fec3cce02934"
33
- endpoint="https://betathome-de-stage-api.stage.norway.everymatrix.com/"
34
- apiversion="gm16"
35
- currency = 'EUR'
36
- lang="en"
37
-
38
- includedlimits = "lugas, stake"
39
- tablabels = 'Lugas Limit, Slots Limit, Other'
40
- historyenabled = "true"
41
-
42
- ></player-account-gaming-limits-wrapper-2>-->
43
- <player-account-gaming-limits-wrapper-2
44
- userid="4500790"
45
- session="f7442ef8-ef79-469b-aadd-01cf21c7f79e"
46
- endpoint="https://betathome-com-stage-api.stage.norway.everymatrix.com/"
47
- apiversion="gmcore"
48
- currency="EUR"
49
- lang="en"
50
- includedlimits="deposit"
51
- tablabels="Deposit"
52
- historyenabled="false"
53
- >
54
- </player-account-gaming-limits-wrapper-2>
55
-
25
+ <player-account-gaming-limits-wrapper-2 endpoint="https://betathome-de-stage-api.stage.norway.everymatrix.com/" session="499b548a-73fd-45d1-a56e-2256b609513e" userid="4229869" currency="EUR" includedlimits="deposit, wager, deposit wager loss" tablabels="Deposit limit, Slots limit, Other limits" historyenabled="true" apiversion="gm16" lang="en"></player-account-gaming-limits-wrapper-2>
56
26
  </div>
57
27
 
58
28
  </body>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@everymatrix/player-account-gaming-limits-wrapper-2",
3
- "version": "0.0.387",
3
+ "version": "0.0.389",
4
4
  "main": "dist/player-account-gaming-limits-wrapper-2.js",
5
5
  "svelte": "src/index.ts",
6
6
  "scripts": {
@@ -29,9 +29,9 @@
29
29
  "typescript": "^3.9.3"
30
30
  },
31
31
  "dependencies": {
32
- "@everymatrix/player-account-gaming-limits-history-2": "^0.0.387",
33
- "@everymatrix/player-account-gaming-limits-page-2-gm16": "^0.0.387",
34
- "@everymatrix/player-account-gaming-limits-page-2-gmcore": "^0.0.387",
32
+ "@everymatrix/player-account-gaming-limits-history-2": "^0.0.389",
33
+ "@everymatrix/player-account-gaming-limits-page-2-gm16": "^0.0.389",
34
+ "@everymatrix/player-account-gaming-limits-page-2-gmcore": "^0.0.389",
35
35
  "cross-env": "^7.0.3",
36
36
  "sirv-cli": "^1.0.0",
37
37
  "svelte": "^3.0.0"
@@ -39,5 +39,5 @@
39
39
  "publishConfig": {
40
40
  "access": "public"
41
41
  },
42
- "gitHead": "c51e312c8807f68d36a64a93632f4e7230a2414e"
42
+ "gitHead": "2b565e2e539a72c0d78cdcfc1ffc87929474ff44"
43
43
  }
@@ -36,7 +36,7 @@
36
36
  }
37
37
 
38
38
  const selectTab = (index:number):void => {
39
- if (mainContainer.children.length > 0){
39
+ if (mainContainer.children.length > 0) {
40
40
  for (let i:number = 0; i < mainContainer.children.length; i++) {
41
41
  if (index === i) {
42
42
  mainContainer.children[i].classList.remove('hidden');
@@ -83,6 +83,10 @@
83
83
  $: clientstyling && setClientStyling();
84
84
  </script>
85
85
 
86
+ <svelte:head>
87
+ <meta name="viewport" content="width=device-width, initial-scale=1" />
88
+ </svelte:head>
89
+
86
90
  <div bind:this={customStylingContainer}>
87
91
  {#if isLoading}
88
92
  <!-- Just show nothing, this is loading exposed attributes, not making a fetch. It takes an instant, but prevents nested widgets from rendering with empty attributes -->
@@ -90,7 +94,7 @@
90
94
  {#if limitTabs.length > 1}
91
95
  <div class="TabsContainer" bind:this={tabsContainer}>
92
96
  {#each limitTabs as limit,i}
93
- <div class="LimitsTab" style="width: {100 / limitTabs.length}%" on:click={() => selectTab(i)}>{tabLabelArray[i] ?? limit}</div>
97
+ <div class="LimitsTab" on:click={() => selectTab(i)}>{tabLabelArray[i] ?? limit}</div>
94
98
  {/each}
95
99
  </div>
96
100
  {/if}
@@ -149,20 +153,25 @@
149
153
  }
150
154
 
151
155
  .TabsContainer {
152
- height: 42px;
156
+ height: 50px;
153
157
  display: flex;
154
158
  margin-bottom: 12px;
155
159
  cursor: pointer;
156
160
  border-bottom: 1px solid #ccc;
161
+ justify-content: center;
162
+ background: #fff;
163
+ box-shadow: 0 0.15rem 0.2rem 0 rgba(0, 0, 0, 0.12);
157
164
  }
158
165
 
159
166
  .LimitsTab {
160
- font-size: 18px;
167
+ font-size: 1.3rem;
168
+ line-height: 1.4rem;
161
169
  margin-bottom: 3px;
162
170
 
163
171
  display: flex;
164
172
  justify-content: center;
165
173
  align-items: center;
174
+ padding: 0 1rem;
166
175
 
167
176
  box-sizing: content-box;
168
177
  }
@@ -172,8 +181,8 @@
172
181
  }
173
182
 
174
183
  .selected {
175
- border-bottom: 3px solid #7ac317;
176
- color: #7ac317;
184
+ border-bottom: 0.2rem solid #002554;
185
+ color: #002554;
177
186
  margin: 0;
178
187
  }
179
188
  </style>