@everymatrix/player-profile-info 1.17.1 → 1.17.3

Sign up to get free protection for your applications and to get access to all the features.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@everymatrix/player-profile-info",
3
- "version": "1.17.1",
3
+ "version": "1.17.3",
4
4
  "main": "dist/player-profile-info.js",
5
5
  "svelte": "src/index.ts",
6
6
  "scripts": {
@@ -35,5 +35,5 @@
35
35
  "publishConfig": {
36
36
  "access": "public"
37
37
  },
38
- "gitHead": "f2155458138e80c61c668cc7e75c645d6f16709c"
38
+ "gitHead": "89baba5648f1fb1c1ff4fbe9369eb83965480ce7"
39
39
  }
@@ -208,7 +208,7 @@
208
208
  }
209
209
 
210
210
  const getCountriesList = ():void => {
211
- fetch(`${endpoint}/player/countries`)
211
+ fetch(`${endpoint}/v1/player/countries`)
212
212
  .then((res:any) => {
213
213
  if (res.status >= 300) {
214
214
  return new Error('Error while fetching the countries');
@@ -217,7 +217,7 @@
217
217
  return res.json();
218
218
  })
219
219
  .then((countryList:any) => {
220
- fetch(`${endpoint}/player/operatorSupportedCountries`).then((res:any) => {
220
+ fetch(`${endpoint}/v1/player/operatorSupportedCountries`).then((res:any) => {
221
221
  if (res.status >= 300) {
222
222
  return new Error('Error while fetching the supported countries');
223
223
  }
@@ -236,7 +236,7 @@
236
236
  }
237
237
 
238
238
  const getPhoneCodes = ():void => {
239
- fetch(`${endpoint}/player/phonecodes`)
239
+ fetch(`${endpoint}/v1/player/phonecodes`)
240
240
  .then((res:any) => res.json())
241
241
  .then(data => {
242
242
  prefixesArray = data.phoneCodes;
@@ -481,7 +481,7 @@
481
481
 
482
482
  {#if isMobile}
483
483
  <div class="MenuReturnButton" on:click={() => toggleScreen()}>
484
- <svg xmlns="http://www.w3.org/2000/svg" width="15" height="15" viewBox="0 0 15 15"><defs><style>.aaa{fill:var(--emfe-w-pam-color-primary, var(--emfe-w-color-pink-500, #D0046C));}</style></defs><g transform="translate(-20 -158)">
484
+ <svg xmlns="http://www.w3.org/2000/svg" width="15" height="15" viewBox="0 0 15 15"><defs><style>.aaa{fill:var(--emfe-w-pam-color-primary, var(--emfe-w-color-primary, #D0046C));}</style></defs><g transform="translate(-20 -158)">
485
485
  <g transform="translate(20 158)">
486
486
  <path class="aaa" d="M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z" transform="translate(15 15) rotate(180)"/>
487
487
  </g></g>
@@ -646,13 +646,13 @@
646
646
 
647
647
  .MyAccountCategoryTitle {
648
648
  font-size: 26px;
649
- color: var(--emfe-w-pam-color-primary, var(--emfe-w-color-pink-500, #D0046C));
649
+ color: var(--emfe-w-pam-color-primary, var(--emfe-w-color-primary, #D0046C));
650
650
  font-weight: 400;
651
651
  }
652
652
 
653
653
  .MyAccountCategoryTitleMobile {
654
654
  font-size: 16px;
655
- color: var(--emfe-w-pam-color-primary, var(--emfe-w-color-pink-500, #D0046C));
655
+ color: var(--emfe-w-pam-color-primary, var(--emfe-w-color-primary, #D0046C));
656
656
  }
657
657
 
658
658
  .MyAccountCategoryTitleNone {
@@ -660,7 +660,7 @@
660
660
  }
661
661
 
662
662
  .PlayerInfoWrapper {
663
- color: var(--emfe-w-pam-typography, var(--emfe-w-color-dunkel, #07072A));
663
+ color: var(--emfe-w-pam-typography, var(--emfe-w-color-contrast, #07072A));
664
664
  background: var(--emfe-w-color-gray-50, #F9F8F8);
665
665
  padding: 50px;
666
666
  max-width: 760px;
@@ -669,7 +669,7 @@
669
669
  .PlayerNotificationsHeader, .PlayerDetailsHeader, .PlayerLocationHeader {
670
670
  h3 {
671
671
  font-size: 16px;
672
- color: var(--emfe-w-pam-color-primary, var(--emfe-w-color-pink-500, #D0046C));
672
+ color: var(--emfe-w-pam-color-primary, var(--emfe-w-color-primary, #D0046C));
673
673
  text-transform: capitalize;
674
674
  font-weight: 400;
675
675
  }
@@ -703,7 +703,7 @@
703
703
  input {
704
704
  font-size: 14px;
705
705
  font-weight: 300;
706
- color: var(--emfe-w-pam-contrast, var(--emfe-w-color-dunkel, #07072A));
706
+ color: var(--emfe-w-pam-contrast, var(--emfe-w-color-contrast, #07072A));
707
707
  padding: 10px;
708
708
  line-height: 16px;
709
709
  background: var(--emfe-w-color-white, #FFFFFF);
@@ -712,8 +712,8 @@
712
712
  outline: none;
713
713
  transition-duration: 0.3s;
714
714
  &:focus, :focus-within, :focus-visible, :visited {
715
- border: 1px solid var(--emfe-w-pam-color-primary, var(--emfe-w-color-pink-500, #D0046C));
716
- box-shadow: 0 0 0 1pt var(--emfe-w-pam-color-primary, var(--emfe-w-color-pink-500, #D0046C));
715
+ border: 1px solid var(--emfe-w-pam-color-primary, var(--emfe-w-color-primary, #D0046C));
716
+ box-shadow: 0 0 0 1pt var(--emfe-w-pam-color-primary, var(--emfe-w-color-primary, #D0046C));
717
717
  }
718
718
  }
719
719
 
@@ -745,7 +745,7 @@
745
745
  font-size: 14px;
746
746
  font-weight: 300;
747
747
  padding: 10px;
748
- color: var(--emfe-w-pam-contrast, var(--emfe-w-color-dunkel, #07072A));
748
+ color: var(--emfe-w-pam-contrast, var(--emfe-w-color-contrast, #07072A));
749
749
  border: 1px solid var(--emfe-w-color-gray-100, #E6E6E6);
750
750
  border-radius: 5px;
751
751
  outline: none;
@@ -756,8 +756,8 @@
756
756
  background: url("data:image/svg+xml,<svg height='10px' width='10px' viewBox='0 0 16 16' fill='%23000000' xmlns='http://www.w3.org/2000/svg'><path d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/></svg>") no-repeat var(--emfe-w-color-white, #FFFFFF);
757
757
  background-position: calc(100% - 0.75rem) center;
758
758
  &:focus, :focus-within, :focus-visible, :visited {
759
- border: 1px solid var(--emfe-w-pam-color-primary, var(--emfe-w-color-pink-500, #D0046C));
760
- box-shadow: 0 0 0 1pt var(--emfe-w-pam-color-primary, var(--emfe-w-color-pink-500, #D0046C));
759
+ border: 1px solid var(--emfe-w-pam-color-primary, var(--emfe-w-color-primary, #D0046C));
760
+ box-shadow: 0 0 0 1pt var(--emfe-w-pam-color-primary, var(--emfe-w-color-primary, #D0046C));
761
761
  }
762
762
  }
763
763
  /* Chrome, Safari, Edge, Opera */
@@ -809,7 +809,7 @@
809
809
  margin-right: 10px;
810
810
  }
811
811
  input:checked {
812
- background-color: var(--emfe-w-pam-color-primary, var(--emfe-w-color-pink-500, #D0046C));
812
+ background-color: var(--emfe-w-pam-color-primary, var(--emfe-w-color-primary, #D0046C));
813
813
  }
814
814
  .Checkmark {
815
815
  left: 10px;
@@ -842,17 +842,17 @@
842
842
  align-items: center;
843
843
  justify-content: center;
844
844
  font-size: 16px;
845
- color: var(--emfe-w-pam-contrast, var(--emfe-w-color-dunkel, #07072A));
845
+ color: var(--emfe-w-pam-contrast, var(--emfe-w-color-contrast, #07072A));
846
846
  text-transform: uppercase;
847
847
  transition-duration: 0.3s;
848
848
  box-sizing: border-box;
849
849
  }
850
850
  .PlayerDetailsSaveButton {
851
- background: var(--emfe-w-pam-color-primary, var(--emfe-w-color-pink-500, #D0046C));
852
- border: 1px solid var(--emfe-w-pam-color-primary, var(--emfe-w-color-pink-500, #D0046C));
851
+ background: var(--emfe-w-pam-color-primary, var(--emfe-w-color-primary, #D0046C));
852
+ border: 1px solid var(--emfe-w-pam-color-primary, var(--emfe-w-color-primary, #D0046C));
853
853
  color: var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));
854
854
  &:active {
855
- background: var(--emfe-w-pam-color-primary, var(--emfe-w-color-pink-500, #D0046C));
855
+ background: var(--emfe-w-pam-color-primary, var(--emfe-w-color-primary, #D0046C));
856
856
  }
857
857
  &.PlayerButtonDisabled {
858
858
  opacity: 0.3;
@@ -864,7 +864,7 @@
864
864
  background: transparent;
865
865
  border: 1px solid var(--emfe-w-color-gray-300, #58586B);
866
866
  &:active {
867
- background: var(--emfe-w-pam-color-primary, var(--emfe-w-color-pink-500, #D0046C));
867
+ background: var(--emfe-w-pam-color-primary, var(--emfe-w-color-primary, #D0046C));
868
868
  }
869
869
  &.PlayerButtonDisabled {
870
870
  background: transparent;
@@ -896,7 +896,7 @@
896
896
  }
897
897
  .PlayerNotificationsHeader, .PlayerDetailsHeader, .PlayerLocationHeader {
898
898
  h3 {
899
- color: var(--emfe-w-pam-color-primary, var(--emfe-w-color-pink-500, #D0046C));
899
+ color: var(--emfe-w-pam-color-primary, var(--emfe-w-color-primary, #D0046C));
900
900
  font-size: 14px;
901
901
  font-weight: 400;
902
902
  }
@@ -922,7 +922,7 @@
922
922
  .PlayerNotificationsCheckboxArea {
923
923
  .PlayerNotificationBox {
924
924
  label {
925
- color: var(--emfe-w-pam-typography, var(--emfe-w-color-dunkel, #07072A));
925
+ color: var(--emfe-w-pam-typography, var(--emfe-w-color-contrast, #07072A));
926
926
  font-size: 12px;
927
927
  font-weight: 300;
928
928
  }