@everymatrix/player-profile-info 0.0.258 → 0.0.261

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-profile-info",
3
- "version": "0.0.258",
3
+ "version": "0.0.261",
4
4
  "main": "dist/player-profile-info.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": "29d9cee256c6fbdf17d95ed82bc3ebcc62241704"
39
+ "gitHead": "a93c0ae8104c039af7d54949a0889c11bca83acb"
40
40
  }
@@ -518,13 +518,6 @@
518
518
  {/if}
519
519
 
520
520
  <style lang="scss">
521
- //This function does a multiplication
522
- // in order to work with px the
523
- // same way as working with em
524
- @function ttp($value) {
525
- $multiplicator: 16px;
526
- @return $value * $multiplicator;
527
- }
528
521
 
529
522
  :host {
530
523
  font-family: system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji';
@@ -563,11 +556,11 @@
563
556
 
564
557
  .PlayerDetailsContent {
565
558
  display: grid;
566
- grid-column-gap: ttp(3.125);
567
- grid-row-gap: ttp(1.25);
559
+ grid-column-gap: 50px;
560
+ grid-row-gap: 24px;
568
561
  grid-template-rows: auto;
569
562
  grid-template-columns: 1fr 1fr;
570
- padding-bottom: ttp(1.875);
563
+ padding-bottom: 30px;
571
564
  }
572
565
 
573
566
  .MenuReturnButton{
@@ -582,16 +575,16 @@
582
575
  display: flex;
583
576
  flex-direction: column;
584
577
  label {
585
- font-size: ttp(0.875);
578
+ font-size: 14px;
586
579
  font-weight: 300;
587
- margin-bottom: ttp(0.625);
580
+ margin-bottom: 10px;
588
581
  }
589
582
  input {
590
- font-size: ttp(0.875);
583
+ font-size: 14px;
591
584
  font-weight: 300;
592
585
  color: var(--emfe-w-color-contrast, #07072A);
593
- padding: ttp(0.625);
594
- line-height: ttp(1);
586
+ padding: 10px;
587
+ line-height: 16px;
595
588
  background: var(--emfe-w-color-white, #FFFFFF);
596
589
  border: 1px solid var(--emfe-w-color-gray-100, #E6E6E6);
597
590
  border-radius: 5px;
@@ -624,16 +617,16 @@
624
617
  .PlayerPhoneNumber {
625
618
  display: grid;
626
619
  grid-template-columns: 2fr 4fr;
627
- column-gap: ttp(0.625);
620
+ column-gap: 10px;
628
621
  position: relative;
629
622
  }
630
623
  select {
631
- font-size: ttp(0.875);
624
+ font-size: 14px;
632
625
  font-weight: 300;
633
- padding: ttp(0.625);
626
+ padding: 10px;
634
627
  color: var(--emfe-w-color-contrast, #07072A);
635
628
  border: 1px solid var(--emfe-w-color-gray-100, #E6E6E6);
636
- border-radius: ttp(0.3125);
629
+ border-radius: 5px;
637
630
  outline: none;
638
631
  transition-duration: 0.3s;
639
632
  -webkit-appearance: none;
@@ -661,47 +654,47 @@
661
654
 
662
655
  .PlayerLocationContent {
663
656
  display: grid;
664
- grid-column-gap: ttp(3.125);
665
- grid-row-gap: ttp(1.25);
657
+ grid-column-gap: 50px;
658
+ grid-row-gap: 24px;
666
659
  grid-template-rows: auto;
667
660
  grid-template-columns: 1fr 1fr;
668
- padding-bottom: ttp(1.875);
661
+ padding-bottom: 30px;
669
662
  }
670
663
 
671
664
  .PlayerNotificationBox {
672
665
  &:first-child {
673
- margin-bottom: ttp(0.625);
666
+ margin-bottom: 10px;
674
667
  }
675
668
  label {
676
669
  display: inline-flex;
677
670
  position: relative;
678
671
  align-items: center;
679
672
  span {
680
- font-size: ttp(0.875);
673
+ font-size: 14px;
681
674
  font-weight: 300;
682
675
  }
683
676
  input {
684
- height: ttp(1.25);
685
- width: ttp(1.25);
677
+ height: 20px;
678
+ width: 20px;
686
679
  -webkit-appearance: none;
687
680
  -moz-appearance: none;
688
681
  -o-appearance: none;
689
682
  appearance: none;
690
- border-radius: ttp(3.125);
683
+ border-radius: 50px;
691
684
  outline: none;
692
685
  transition-duration: 0.3s;
693
686
  background-color: var(--emfe-w-color-gray-100, #E6E6E6);
694
687
  cursor: pointer;
695
- margin-right: ttp(0.625);
688
+ margin-right: 10px;
696
689
  }
697
690
  input:checked {
698
691
  background-color: var(--emfe-w-color-primary, #D0046C);
699
692
  }
700
693
  .Checkmark {
701
- left: ttp(0.6875);
702
- top: ttp(0.4375);
703
- width: ttp(0.25);
704
- height: ttp(0.5);
694
+ left: 10px;
695
+ top: 7px;
696
+ width: 4px;
697
+ height: 8px;
705
698
  border: solid white;
706
699
  border-width: 0 2px 2px 0;
707
700
  -webkit-transform: rotate(45deg);
@@ -713,21 +706,21 @@
713
706
  }
714
707
 
715
708
  .PlayerDetailsButtonsArea {
716
- grid-column-gap: ttp(0.625);
709
+ grid-column-gap: 10px;
717
710
  grid-template-rows: auto;
718
711
  grid-template-columns: 1fr;
719
- margin-top: ttp(1.25);
712
+ margin-top: 20px;
720
713
  width: 50%;
721
714
 
722
715
  .PlayerDetailsSaveButton, .PlayerDetailsCancelButton {
723
716
  cursor: pointer;
724
- border-radius: ttp(0.3125);
717
+ border-radius: 5px;
725
718
  width: 100%;
726
719
  height: 50px;
727
720
  display: flex;
728
721
  align-items: center;
729
722
  justify-content: center;
730
- font-size: ttp(1);
723
+ font-size: 16px;
731
724
  color: var(--emfe-w-color-contrast, #07072A);
732
725
  text-transform: uppercase;
733
726
  transition-duration: 0.3s;
@@ -763,18 +756,18 @@
763
756
  width: 100%;
764
757
  grid-template-columns: 1fr 1fr;
765
758
  .PlayerDetailsSaveButton, .PlayerDetailsCancelButton {
766
- height: ttp(2.5);
767
- font-size: ttp(0.75);
759
+ height: 40px;
760
+ font-size: 12px;
768
761
  }
769
762
  }
770
763
  }
771
764
 
772
765
  .PlayerNotificationsCheckboxArea {
773
- padding-bottom: ttp(1.875);
766
+ padding-bottom: 30px;
774
767
  }
775
768
 
776
769
  .PlayerInfoWrapperMobile {
777
- padding: ttp(1.25) ttp(0.9375);
770
+ padding: 20px 15px;
778
771
  background: var(--emfe-w-color-gray-50, #F9F8F8);
779
772
  max-width: unset;
780
773
  .PlayerDetailsContent {
@@ -783,19 +776,19 @@
783
776
  .PlayerNotificationsHeader, .PlayerDetailsHeader, .PlayerLocationHeader {
784
777
  h3 {
785
778
  color: var(--emfe-w-color-primary, #D0046C);
786
- font-size: ttp(0.875);
779
+ font-size: 14px;
787
780
  font-weight: 400;
788
781
  }
789
782
  }
790
783
  .PlayerInfoBox {
791
784
  label {
792
785
  color: var(--emfe-w-color-gray-300, #58586B);
793
- font-size: ttp(0.75);
786
+ font-size: 12px;
794
787
  font-weight: 400;
795
788
  }
796
789
  input {
797
790
  color: var(--emfe-w-color-gray-300, #58586B);
798
- font-size: ttp(0.75);
791
+ font-size: 12px;
799
792
  font-weight: 300;
800
793
  }
801
794
  select {
@@ -809,17 +802,17 @@
809
802
  .PlayerNotificationBox {
810
803
  label {
811
804
  color: var(--emfe-w-color-contrast, #07072A);
812
- font-size: ttp(0.75);
805
+ font-size: 12px;
813
806
  font-weight: 300;
814
807
  }
815
808
  }
816
809
  }
817
810
  .PlayerDetailsButtonsArea {
818
- grid-column-gap: ttp(0.625);
811
+ grid-column-gap: 10px;
819
812
  }
820
813
  .PlayerDetailsSaveButton, .PlayerDetailsCancelButton {
821
- font-size: ttp(0.75);
822
- height: ttp(2.5);
814
+ font-size: 12px;
815
+ height: 40px;
823
816
  color: var(--emfe-w-color-white, #FFFFFF);
824
817
  &.PlayerButtonDisabled {
825
818
  color: var(--emfe-w-color-gray-300, #58586B);
@@ -831,53 +824,53 @@
831
824
  }
832
825
 
833
826
  .PlayerInfoWrapperTablet {
834
- padding: ttp(2.5) 25% ttp(2.5) 25%;
827
+ padding: 40px 25% 40px 25%;
835
828
  .PlayerDetailsContent {
836
- grid-row-gap: ttp(1.25);
829
+ grid-row-gap: 20px;
837
830
  }
838
831
  .MenuReturnButton {
839
- margin-bottom: ttp(1.875);
832
+ margin-bottom: 30px;
840
833
  span {
841
- font-size: ttp(1.25);
834
+ font-size: 20px;
842
835
  }
843
836
  }
844
837
  .PlayerDetailsHeader, .PlayerLocationHeader, .PlayerNotificationsHeader {
845
838
  h3 {
846
- font-size: ttp(1.5);
839
+ font-size: 24px;
847
840
  }
848
841
  }
849
842
  .PlayerInfoBox {
850
843
  label {
851
- font-size: ttp(1.25);
844
+ font-size: 20px;
852
845
  }
853
846
  input {
854
- height: ttp(1.875);
855
- font-size: ttp(1.25);
856
- line-height: ttp(1.875);
847
+ height: 30px;
848
+ font-size: 20px;
849
+ line-height: 30px;
857
850
  }
858
851
  select {
859
- font-size: ttp(1.25);
852
+ font-size: 20px;
860
853
  }
861
854
  .TogglePasswordVisibility {
862
- width: ttp(1.875);
863
- top: ttp(1.625);
855
+ width: 30px;
856
+ top: 26px;
864
857
  }
865
858
  .InvalidInput {
866
- font-size: ttp(1);
867
- bottom: - ttp(3.125);
859
+ font-size: 16px;
860
+ bottom: - 50px;
868
861
  }
869
862
  &:last-child {
870
863
  .InvalidInput {
871
- font-size: ttp(1);
872
- bottom: - ttp(3.125);
864
+ font-size: 16px;
865
+ bottom: -50px;
873
866
  }
874
867
  }
875
868
  }
876
869
  .PlayerDetailsButtonsArea {
877
- grid-column-gap: ttp(2.5);
870
+ grid-column-gap: 40px;
878
871
  .PlayerDetailsSaveButton, .PlayerDetailsCancelButton {
879
- font-size: ttp(1.25);
880
- height: ttp(3.5);
872
+ font-size: 20px;
873
+ height: 56px;
881
874
  }
882
875
  .PlayerDetailsSaveButton {
883
876
  color: var(--emfe-w-color-white, #FFFFFF);
@@ -889,15 +882,15 @@
889
882
  .PlayerNotificationBox {
890
883
  label {
891
884
  span {
892
- font-size: ttp(1.25);
885
+ font-size: 20px;
893
886
  }
894
887
  input {
895
- height: ttp(1.625);
896
- width: ttp(1.625);
888
+ height: 26px;
889
+ width: 26px;
897
890
  }
898
891
  .Checkmark {
899
- left: ttp(3.125);
900
- top: ttp(0.5625);
892
+ left: 50px;
893
+ top: 9px;
901
894
  }
902
895
  }
903
896
  }
@@ -905,9 +898,9 @@
905
898
  .PlayerDetailsConfirmSave {
906
899
  background: var(--emfe-w-color-green, #48952a);
907
900
  color: var(--emfe-w-color-white, #FFFFFF);
908
- padding: ttp(1);
901
+ padding: 16px;
909
902
  border-radius: 5px;
910
- margin-top: ttp(1);
903
+ margin-top: 16px;
911
904
  .PlayerDetailsConfirmSaveText {
912
905
  padding: 0;
913
906
  margin: 0;
@@ -45,7 +45,7 @@ export const PlayerProfileTranslations = {
45
45
  securityQuestionError: 'Întrebarea de securitate trebuie să aibă cel puțin 1 caracter și maximum 120 de caractere.',
46
46
  firstName: `Prenume:`,
47
47
  securityAnswer: `Răspuns securitate:`,
48
- securityAnswerError: 'Security answer must be at least 1 character long and maximum 120 characters.',
48
+ securityAnswerError: 'Raspunsul de securitate trebuie aibă cel puțin 1 caracter și maximum 120 de caractere.',
49
49
  lastName: `Nume:`,
50
50
  dateOfBirth: `Data nașterii:`,
51
51
  currency: `Monedă:`,
@@ -55,7 +55,7 @@ export const PlayerProfileTranslations = {
55
55
  userCityError: 'Orașul trebuie să aibă cel puțin 1 caracter și maximum 50 de caractere.',
56
56
  userCity: `Oraș:`,
57
57
  userAddress: `Adresă:`,
58
- userAddressError: 'Address must be at least 1 character long and 100 characters maximum.',
58
+ userAddressError: 'Adresa trebuie sa fie cuprinsa intre 1 si 100 de caractere.',
59
59
  userPostalCode: `Cod poștal:`,
60
60
  userPostalCodeError: 'Codul poștal trebuie să aibă cel puțin 1 caracter și maximum 20 de caractere.',
61
61
  userNotifications: `Notificări`,
@@ -75,8 +75,8 @@ export const PlayerProfileTranslations = {
75
75
  userEmail: `E-posta:`,
76
76
  securityQuestion: `Güvenlik Sorusu:`,
77
77
  securityQuestionError: 'Güvenlik sorusu en az 1, en fazla 120 karakter uzunluğunda olmalıdır.',
78
- firstName: `First name:`,
79
- securityAnswer: `İlk adı:`,
78
+ firstName: `İlk adı:`,
79
+ securityAnswer: `Güvenlik cevabı`,
80
80
  securityAnswerError: 'Güvenlik cevabı en az 1 karakter uzunluğunda ve en fazla 120 karakter olmalıdır.',
81
81
  lastName: `Soyadı:`,
82
82
  dateOfBirth: `Doğum tarihi:`,