@magicfeedback/native 2.1.7-alpha.7 → 2.1.7-alpha.9

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.
@@ -845,142 +845,149 @@ textarea.error {
845
845
  ======================================== */
846
846
  /* Modal backdrop */
847
847
  .magicfeedback-modal-backdrop {
848
- position: fixed;
849
- top: 0;
850
- left: 0;
851
- width: 100vw;
852
- height: 100vh;
853
- background: rgba(0,0,0,0.4);
854
- display: none; /* toggled to flex when open */
855
- align-items: center;
856
- justify-content: center;
857
- z-index: 9999;
848
+ position: fixed;
849
+ top: 0;
850
+ left: 0;
851
+ width: 100vw;
852
+ height: 100vh;
853
+ background: rgba(0, 0, 0, 0.4);
854
+ display: none; /* toggled to flex when open */
855
+ align-items: center;
856
+ justify-content: center;
857
+ z-index: 9999;
858
858
  }
859
859
 
860
860
  /* Modal container */
861
861
  .magicfeedback-modal {
862
- background: #fff;
863
- border-radius: 8px;
864
- box-shadow: 0 8px 24px rgba(0,0,0,0.2);
865
- max-width: 520px;
866
- width: 90%;
867
- max-height: 80vh;
868
- overflow: auto;
869
- padding: 16px;
862
+ background: #fff;
863
+ border-radius: 8px;
864
+ box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
865
+ max-width: 520px;
866
+ width: 90%;
867
+ max-height: 80vh;
868
+ overflow: auto;
869
+ padding: 16px;
870
870
  }
871
871
 
872
872
  /* Modal actions */
873
873
  .magicfeedback-modal-actions {
874
- display: flex;
875
- justify-content: flex-end;
876
- gap: 8px;
877
- margin-top: 12px;
874
+ display: flex;
875
+ justify-content: flex-end;
876
+ gap: 8px;
877
+ margin-top: 12px;
878
878
  }
879
879
 
880
880
  .magicfeedback-modal-counter {
881
- margin-right: auto;
882
- display: flex;
883
- align-items: center;
884
- font-size: 14px;
885
- color: #444;
881
+ margin-right: auto;
882
+ display: flex;
883
+ align-items: center;
884
+ font-size: 14px;
885
+ color: #444;
886
886
  }
887
887
 
888
888
  /* Modal list */
889
889
  .magicfeedback-modal-list {
890
- display: flex;
891
- flex-direction: column;
892
- gap: 8px;
890
+ display: flex;
891
+ flex-direction: column;
892
+ gap: 8px;
893
893
  }
894
894
 
895
895
  .magicfeedback-modal-row {
896
- display: flex;
897
- align-items: center;
898
- gap: 10px;
899
- cursor: pointer;
896
+ display: flex;
897
+ align-items: center;
898
+ gap: 10px;
899
+ cursor: pointer;
900
900
  }
901
901
 
902
902
  /* Priority list header */
903
903
  .magicfeedback-priority-list-header {
904
- display: flex;
905
- align-items: center;
906
- justify-content: space-between;
907
- gap: 12px;
908
- margin-bottom: 8px;
904
+ display: flex;
905
+ flex-direction: row-reverse;
906
+ align-items: center;
907
+ justify-content: space-between;
908
+ gap: 12px;
909
+ margin-bottom: 8px;
909
910
  }
910
911
 
911
912
  .magicfeedback-priority-list-reorder {
912
- margin-top: 8px;
913
+ margin-top: 8px;
913
914
  }
914
915
 
915
916
  .magicfeedback-priority-list-list {
916
- padding: 0;
917
- list-style: none;
917
+ padding: 0;
918
+ list-style: none;
918
919
  }
919
920
 
920
921
  .magicfeedback-priority-list-item {
921
- display: flex;
922
- justify-content: space-between;
923
- align-items: center;
924
- margin: 5px 0;
922
+ display: flex;
923
+ justify-content: space-between;
924
+ align-items: center;
925
+ margin: 5px 0;
925
926
  }
926
927
 
927
928
  .magicfeedback-priority-list-item-label {
928
- font-size: 15px;
929
+ font-size: 15px;
929
930
  }
930
931
 
931
932
  .magicfeedback-priority-list-arrows {
932
- display: flex;
933
- align-items: center;
934
- gap: 6px;
933
+ display: flex;
934
+ align-items: center;
935
+ gap: 6px;
935
936
  }
936
937
 
937
938
  /* Buttons */
938
939
  .magicfeedback-button {
939
- appearance: none;
940
- border: 1px solid #ccc;
941
- border-radius: 6px;
942
- background: #f7f7f7;
943
- color: #222;
944
- padding: 8px 12px;
945
- font-size: 14px;
946
- cursor: pointer;
940
+ appearance: none;
941
+ border: 1px solid #ccc;
942
+ border-radius: 6px;
943
+ background: #f7f7f7;
944
+ color: #222;
945
+ padding: 8px 12px;
946
+ font-size: 14px;
947
+ cursor: pointer;
947
948
  }
949
+
948
950
  .magicfeedback-button:hover {
949
- background: #efefef;
951
+ background: #efefef;
950
952
  }
953
+
951
954
  .magicfeedback-button:active {
952
- background: #e8e8e8;
955
+ background: #e8e8e8;
953
956
  }
957
+
954
958
  .magicfeedback-button-primary {
955
- border-color: #2e6bf7;
956
- background: #2e6bf7;
957
- color: #fff;
959
+ border-color: #2e6bf7;
960
+ background: #2e6bf7;
961
+ color: #fff;
958
962
  }
963
+
959
964
  .magicfeedback-button-primary:hover {
960
- background: #255bd6;
965
+ background: #255bd6;
961
966
  }
967
+
962
968
  .magicfeedback-button-primary:active {
963
- background: #1f4fb5;
969
+ background: #1f4fb5;
964
970
  }
965
971
 
966
972
  /* Warning flash */
967
973
  .magicfeedback-warning {
968
- color: #C70039;
974
+ color: #C70039;
969
975
  }
970
976
 
971
977
  /* Start message button */
972
978
  .magicfeedback-start-message-button {
973
- appearance: none;
974
- border: 1px solid #2e6bf7;
975
- border-radius: 6px;
976
- background: #2e6bf7;
977
- color: #fff;
978
- padding: 10px 16px;
979
- font-size: 15px;
980
- cursor: pointer;
979
+ appearance: none;
980
+ border: 1px solid #2e6bf7;
981
+ border-radius: 6px;
982
+ background: #2e6bf7;
983
+ color: #fff;
984
+ padding: 10px 16px;
985
+ font-size: 15px;
986
+ cursor: pointer;
981
987
  }
988
+
982
989
  .magicfeedback-start-message-button:hover {
983
- background: #255bd6;
990
+ background: #255bd6;
984
991
  }
985
992
 
986
993
  /* ========================================
@@ -1054,18 +1061,19 @@ textarea.error {
1054
1061
  }
1055
1062
 
1056
1063
  .magicfeedback-modal-close {
1057
- position: absolute;
1058
- top: 8px;
1059
- right: 8px;
1060
- background: transparent;
1061
- border: none;
1062
- font-size: 20px;
1063
- line-height: 1;
1064
- cursor: pointer;
1065
- color: #666;
1064
+ position: absolute;
1065
+ top: 8px;
1066
+ right: 8px;
1067
+ background: transparent;
1068
+ border: none;
1069
+ font-size: 20px;
1070
+ line-height: 1;
1071
+ cursor: pointer;
1072
+ color: #666;
1066
1073
  }
1074
+
1067
1075
  .magicfeedback-modal-close:hover,
1068
1076
  .magicfeedback-modal-close:focus {
1069
- color: #000;
1070
- outline: none;
1077
+ color: #000;
1078
+ outline: none;
1071
1079
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@magicfeedback/native",
3
- "version": "2.1.7-alpha.7",
3
+ "version": "2.1.7-alpha.9",
4
4
  "main": "./dist/magicfeedback-sdk.node.js",
5
5
  "browser": "./dist/magicfeedback-sdk.browser.js",
6
6
  "types": "./dist/types/src/index.d.ts",