toggle-components-library 1.28.5 → 1.28.6-beta.1

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.
@@ -6,7 +6,8 @@
6
6
  .toggle-input-radio-label,
7
7
  .toggle-input-checkbox-label,
8
8
  .toggle-input-search-options,
9
- .toggle-input-select{
9
+ .toggle-input-select,
10
+ .toggle-contact-search-container{
10
11
  @include toggle-global-font-config;
11
12
  }
12
13
 
@@ -417,7 +418,7 @@
417
418
  .toggle-input-radio-label, .toggle-input-checkbox-label{
418
419
  opacity: 0.5;
419
420
  }
420
- .toggle-input-label, .toggle-input{
421
+ .toggle-input-label, .toggle-input, .toggle-contact-search-container{
421
422
  opacity: 0.5;
422
423
  }
423
424
  .toggle-input-select-container{
@@ -936,4 +937,241 @@ $iconWidth:20px;
936
937
  top: 50%;
937
938
  transform: translate(0, -50%);
938
939
  }
940
+ }
941
+
942
+ //
943
+ // Contact Search Styles
944
+ //
945
+
946
+ .toggle-contact-search-input-container {
947
+ width: 100%;
948
+ height: 40px;
949
+ background-color: $toggle-white;
950
+ border-radius: 8px;
951
+ min-width: 550px;
952
+ }
953
+
954
+ .toggle-contact-search-input-container-active {
955
+ border-radius: 8px 8px 0 0;
956
+ }
957
+
958
+ .toggle-contact-search-icon-input-container {
959
+ display: flex;
960
+ flex-direction: row;
961
+ width: 100%;
962
+ }
963
+
964
+ .toggle-contact-search-dropdown-container {
965
+ min-width: 550px;
966
+ background-color: $toggle-white;
967
+ border-radius: 0 0 8px 8px;
968
+ overflow: hidden;
969
+ position: absolute;
970
+ z-index: 1;
971
+ }
972
+
973
+ .toggle-contact-search-input {
974
+ width: 100%;
975
+ border: 0;
976
+ border-radius: 0px;
977
+ height: 30px;
978
+ margin: 4px 5px 0px 14px;
979
+ color: #3A4A62;
980
+ font-weight: 700;
981
+ font-size: 16px;
982
+ background-color: #FFFFFF;
983
+ }
984
+
985
+ .toggle-contact-search-input::placeholder,
986
+ .toggle-contact-search-input:-ms-input-placeholder,
987
+ .toggle-contact-search-input::-ms-input-placeholder {
988
+ color: #C5CED8;
989
+ opacity: 1;
990
+ }
991
+
992
+ .toggle-contact-search-icon {
993
+ max-width: 20px;
994
+ max-height: 20px;
995
+ margin: 10px 16px 0 0;
996
+ transition: transform .2s ease-in-out;
997
+ width: 25px;
998
+ height: 25px;
999
+ background-repeat: no-repeat;
1000
+ background-size: contain;
1001
+ }
1002
+
1003
+ .toggle-contact-search-icon-email {
1004
+ background-image: url('../assets/icons/email-icon.svg');
1005
+ }
1006
+
1007
+ .toggle-contact-search-icon-mobile {
1008
+ background-image: url('../assets/icons/mobile-icon.svg');
1009
+ }
1010
+
1011
+ .toggle-contact-search-icon-arrow-container:hover {
1012
+ .toggle-contact-search-icon {
1013
+ transform: scale(1.1);
1014
+ }
1015
+ }
1016
+
1017
+ .toggle-contact-search-icon-arrow-container {
1018
+ display: flex;
1019
+ width: 100px;
1020
+ min-width: 60px;
1021
+ flex-direction: row;
1022
+ justify-content: center;
1023
+ cursor: pointer;
1024
+ }
1025
+
1026
+ .toggle-contact-search-icon-arrow-container-disabled {
1027
+ cursor: default !important;
1028
+ opacity: 0.5;
1029
+ }
1030
+
1031
+ .toggle-contact-search-magnifying-glass-icon {
1032
+ cursor: pointer;
1033
+ margin: 10px 15px 0 3px;
1034
+ width: 25px;
1035
+ height: 25px;
1036
+ background-image: url('../assets/icons/magnifying-glass-icon.svg');
1037
+ background-repeat: no-repeat;
1038
+ background-size: contain;
1039
+ transition: transform .2s ease-in-out;
1040
+ }
1041
+
1042
+ .toggle-contact-search-magnifying-glass-icon:hover {
1043
+ transform: scale(1.1);
1044
+ }
1045
+
1046
+ .toggle-contact-search-magnifying-glass-icon-disabled {
1047
+ cursor: default;
1048
+ opacity: 0.5;
1049
+ }
1050
+
1051
+ .toggle-contact-search-arrow {
1052
+ margin: 17px 0px 0px;
1053
+ width: 10px;
1054
+ height: 10px;
1055
+ background-image: url('../assets/icons/arrow-icon.svg');
1056
+ background-repeat: no-repeat;
1057
+ background-size: contain;
1058
+ }
1059
+
1060
+ .toggle-contact-search-arrow-active {
1061
+ transition: all .2s ease;
1062
+ transform: rotate(-3.1416rad) translateY(5px);
1063
+ }
1064
+
1065
+ .toggle-contact-search-divider {
1066
+ height: 28px;
1067
+ margin: 7px 0 0 0;
1068
+ border-right: 2px solid #D9D9D9;
1069
+ }
1070
+
1071
+ .toggle-contact-search-dropdown-item {
1072
+ margin: 5px 5px 5px 10px;
1073
+ border-radius: 8px;
1074
+ cursor: pointer;
1075
+ font-size: 16px;
1076
+ display: flex;
1077
+ flex-direction: row;
1078
+ justify-content: left;
1079
+ align-items: center;
1080
+ padding: 5px;
1081
+ }
1082
+
1083
+ .toggle-contact-search-dropdown-item-label {
1084
+ cursor: pointer;
1085
+ font-weight: 700;
1086
+ color: #3A4A62;
1087
+ }
1088
+
1089
+ .toggle-contact-search-dropwdown-item-highlighted {
1090
+ color: #547DEE;
1091
+ }
1092
+
1093
+ .toggle-contact-search-dropdown-item:hover {
1094
+ background-color: #F5F5F5;
1095
+ color: #3A4A62;
1096
+
1097
+ .toggle-contact-search-icon-dropdown {
1098
+ transform: scale(1.1);
1099
+ }
1100
+
1101
+ .toggle-contact-search-dropdown-item-label {
1102
+ color: #3A4A62;
1103
+ }
1104
+ }
1105
+
1106
+ .toggle-contact-search-icon-dropdown {
1107
+ width: 25px;
1108
+ height: 25px;
1109
+ background-repeat: no-repeat;
1110
+ background-size: contain;
1111
+ max-width: 20px;
1112
+ max-height: 20px;
1113
+ margin: 2px 14px 0 0;
1114
+ transition: transform .2s ease-in-out;
1115
+ }
1116
+
1117
+ .toggle-contact-search-error {
1118
+ height: 16.8px;
1119
+ text-align: right;
1120
+ color: #FF6F6F;
1121
+ font-size: 12px;
1122
+ margin: 0 0 10px 0;
1123
+ }
1124
+
1125
+ .toggle-contact-search-input-disabled {
1126
+ color: #D3D9DF !important;
1127
+ }
1128
+
1129
+ .toggle-contact-search-input-disabled::placeholder,
1130
+ .toggle-contact-search-input-disabled:-ms-input-placeholder,
1131
+ .toggle-contact-search-input-disabled::-ms-input-placeholder {
1132
+ color: #D3D9DF !important;
1133
+ opacity: 1;
1134
+ }
1135
+
1136
+ .toggle-contact-search-spinner-container {
1137
+ margin: 2px 25px 0 0;
1138
+ max-width: 18px;
1139
+ max-height: 20px;
1140
+ }
1141
+ //
1142
+ // Contact Search Transition Styles
1143
+ //
1144
+
1145
+ .drop-down-enter-active {
1146
+ -moz-transition-duration: 0.4s;
1147
+ -webkit-transition-duration: 0.4s;
1148
+ -o-transition-duration: 0.4s;
1149
+ transition-duration: 0.4s;
1150
+ -moz-transition-timing-function: ease-in;
1151
+ -webkit-transition-timing-function: ease-in;
1152
+ -o-transition-timing-function: ease-in;
1153
+ transition-timing-function: ease-in;
1154
+ }
1155
+
1156
+ .drop-down-leave-active {
1157
+ -moz-transition-duration: 0.4s;
1158
+ -webkit-transition-duration: 0.4s;
1159
+ -o-transition-duration: 0.4s;
1160
+ transition-duration: 0.4s;
1161
+ -moz-transition-timing-function: cubic-bezier(0, 1, 0.5, 1);
1162
+ -webkit-transition-timing-function: cubic-bezier(0, 1, 0.5, 1);
1163
+ -o-transition-timing-function: cubic-bezier(0, 1, 0.5, 1);
1164
+ transition-timing-function: cubic-bezier(0, 1, 0.5, 1);
1165
+ }
1166
+
1167
+ .drop-down-enter-to,
1168
+ .drop-down-leave {
1169
+ max-height: 100px;
1170
+ overflow: hidden;
1171
+ }
1172
+
1173
+ .drop-down-enter,
1174
+ .drop-down-leave-to {
1175
+ overflow: hidden;
1176
+ max-height: 0;
939
1177
  }
@@ -41,4 +41,19 @@
41
41
  margin-left:-1rem;
42
42
  width: 2rem;
43
43
  height: 2rem;
44
+ }
45
+
46
+ .toggle-inline-loader-container {
47
+ position: relative;
48
+ display: inline-block;
49
+ }
50
+
51
+ .toggle-inline-loader {
52
+ border-radius: 50%;
53
+ border: .25rem solid $toggle-button-disabled;
54
+ border-top-color: $toggle-white;
55
+ animation: spin 1s infinite linear;
56
+ width: 1rem;
57
+ height: 1rem;
58
+ margin: 8px 12px 0 0;
44
59
  }
@@ -46,6 +46,18 @@ $booster-loyalty-colour-light:#aacc00;
46
46
  $booster-loyalty-colour-med:#97b500;
47
47
  $booster-loyalty-colour-dark:#7da400;
48
48
 
49
+ $booster-champions-colour-light:#ffffff;
50
+ $booster-champions-colour-med:#D89A02;
51
+ $booster-champions-colour-dark: black;
52
+
53
+ $booster-fulfilment-colour-light:#ffffff;
54
+ $booster-fulfilment-colour-med:#3180FF;
55
+ $booster-fulfilment-colour-dark:black;
56
+
57
+ $booster-tickets-colour-light:#ffffff;
58
+ $booster-tickets-colour-med:#3180FF;
59
+ $booster-tickets-colour-dark:black;
60
+
49
61
  $booster-test-colour-light:#02add3;
50
62
  $booster-test-colour-med:#0098ac;
51
63
  $booster-test-colour-dark:#008ba4;
package/src/.DS_Store DELETED
Binary file