@everymatrix/player-account-gaming-limits-popup 0.0.245 → 0.0.249

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-account-gaming-limits-popup",
3
- "version": "0.0.245",
3
+ "version": "0.0.249",
4
4
  "main": "dist/player-account-gaming-limits-popup.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": "d96554d716d8c3b41f947c85c9b8cae8f03aa5bf"
39
+ "gitHead": "38af455e241b6ef7ccabb2367be2be59e6b24352"
40
40
  }
@@ -51,20 +51,20 @@
51
51
  </script>
52
52
 
53
53
  {#if showPopup}
54
- <section class={isMobile ? 'InfoCardPopupMobileModal' : ''}>
55
- <div class="InfoCardPopupWrapper {isMobile ? 'InfoCardPopupMobileWrapper' : ''} {iteminfoamount ? 'InfoCardPopupLimitChanged' : ''}">
56
- <div class="InfoCardPopupHeader">
57
- <div class="InfoCardPopupIcon">i</div>
58
- <div class="InfoCardPopupTitle">{$_('popupText.name')}</div>
59
- <div class="InfoCardPopupCloseButton" on:click|preventDefault={closeInfoPopup}>
60
- <svg class="w-6 h-6" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M6 18L18 6M6 6l12 12"></path></svg>
54
+ <section class="{isMobile ? 'InfoCardPopupMobileModal' : ''}" part="{isMobile ? 'InfoCardPopupMobileModal' : ''}">
55
+ <div class="InfoCardPopupWrapper {isMobile ? 'InfoCardPopupMobileWrapper' : ''} {iteminfoamount ? 'InfoCardPopupLimitChanged' : ''}" part="InfoCardPopupWrapper {isMobile ? 'InfoCardPopupMobileWrapper' : ''} {iteminfoamount ? 'InfoCardPopupLimitChanged' : ''}">
56
+ <div class="InfoCardPopupHeader" part="InfoCardPopupHeader">
57
+ <div class="InfoCardPopupIcon" part="InfoCardPopupIcon">i</div>
58
+ <div class="InfoCardPopupTitle" part="InfoCardPopupTitle">{$_('popupText.name')}</div>
59
+ <div class="InfoCardPopupCloseButton" part="InfoCardPopupCloseButton" on:click|preventDefault={closeInfoPopup}>
60
+ <svg class="w-6 h-6" part="w-6 h-6" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M6 18L18 6M6 6l12 12"></path></svg>
61
61
  </div>
62
62
  </div>
63
- <div class="InfoCardPopupContentArea">
63
+ <div class="InfoCardPopupContentArea" part="InfoCardPopupContentArea">
64
64
  {#if iteminfoamount}
65
- <p class="InfoCardPopupContent">{$_('popupText.amountChanged', { values: { amount: iteminfoamount, currency: playercurrency}})}</p>
65
+ <p class="InfoCardPopupContent" part="InfoCardPopupContent">{$_('popupText.amountChanged', { values: { amount: iteminfoamount, currency: playercurrency}})}</p>
66
66
  {:else}
67
- <p class="InfoCardPopupContent">{$_('popupText.defaultText')}</p>
67
+ <p class="InfoCardPopupContent" part="InfoCardPopupContent">{$_('popupText.defaultText')}</p>
68
68
  {/if}
69
69
  </div>
70
70
  </div>
@@ -87,7 +87,7 @@
87
87
 
88
88
  .InfoCardPopupMobileModal {
89
89
  &:after {
90
- position: absolute;
90
+ position: fixed;
91
91
  top: 0;
92
92
  left: 0;
93
93
  right: 0;