toggle-components-library 1.29.0 → 1.30.0-beta.0
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/dist/img/arrow-icon.6b7bdc31.svg +3 -0
- package/dist/img/email-icon.3c44b236.svg +3 -0
- package/dist/img/magnifying-glass-icon.9a2b42a1.svg +3 -0
- package/dist/img/mobile-icon.9e16ffcd.svg +6 -0
- package/dist/toggle-components-library.common.js +315 -69
- package/dist/toggle-components-library.common.js.map +1 -1
- package/dist/toggle-components-library.css +1 -1
- package/dist/toggle-components-library.umd.js +315 -69
- package/dist/toggle-components-library.umd.js.map +1 -1
- package/dist/toggle-components-library.umd.min.js +1 -1
- package/dist/toggle-components-library.umd.min.js.map +1 -1
- package/package.json +1 -1
- package/src/assets/icons/arrow-icon.svg +3 -0
- package/src/assets/icons/email-icon.svg +3 -0
- package/src/assets/icons/magnifying-glass-icon.svg +3 -0
- package/src/assets/icons/mobile-icon.svg +6 -0
- package/src/components/forms/ToggleContactSearch.vue +156 -0
- package/src/components/forms/ToggleInputCrudField.vue +6 -1
- package/src/index.js +3 -1
- package/src/sass/includes/_as_inputs.scss +268 -2
- package/src/sass/includes/_as_loaders.scss +16 -0
- package/package-lock.json +0 -20275
package/package.json
CHANGED
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="18" height="11" viewBox="0 0 18 11">
|
|
2
|
+
<path id="Polygon_8" data-name="Polygon 8" d="M7.452,1.892a2,2,0,0,1,3.1,0l4.78,5.842A2,2,0,0,1,13.78,11H4.22A2,2,0,0,1,2.673,7.734Z" transform="translate(18 11) rotate(180)" fill="#3a4a62"/>
|
|
3
|
+
</svg>
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="31.001" height="31.001" viewBox="0 0 31.001 31.001">
|
|
2
|
+
<path id="at-solid" d="M15.5,3.875a11.625,11.625,0,0,0,0,23.251A1.938,1.938,0,1,1,15.5,31,15.5,15.5,0,1,1,31,15.5v1.938A5.812,5.812,0,0,1,20.756,21.2a7.753,7.753,0,1,1-.733-11.989,1.938,1.938,0,0,1,3.227,1.447v6.781a1.938,1.938,0,0,0,3.875,0V15.5A11.628,11.628,0,0,0,15.5,3.875ZM19.376,15.5A3.875,3.875,0,1,0,15.5,19.376,3.875,3.875,0,0,0,19.376,15.5Z" fill="#3a4a62"/>
|
|
3
|
+
</svg>
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="24.674" height="24.678" viewBox="0 0 24.674 24.678">
|
|
2
|
+
<path id="magnifying-glass-solid" d="M20.048,10.024a10,10,0,0,1-1.928,5.913l6.1,6.106a1.544,1.544,0,0,1-2.183,2.183l-6.1-6.106a10.026,10.026,0,1,1,4.111-8.1Zm-10.024,6.94a6.94,6.94,0,1,0-6.94-6.94A6.94,6.94,0,0,0,10.024,16.964Z" fill="#3a4a62"/>
|
|
3
|
+
</svg>
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="31.001" height="32.921" viewBox="0 0 23.131 32.921">
|
|
2
|
+
<g id="Rectangle_1084" data-name="Rectangle 1084" transform="matrix(0.995, -0.105, 0.105, 0.995, 0, 2.091)" fill="none" stroke="#3a4a62" stroke-width="4">
|
|
3
|
+
<rect width="20" height="31" rx="5" stroke="none"/>
|
|
4
|
+
<rect x="2" y="2" width="16" height="27" rx="3" fill="none"/>
|
|
5
|
+
</g>
|
|
6
|
+
</svg>
|
|
@@ -0,0 +1,156 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div class="toggle-contact-search-container">
|
|
3
|
+
|
|
4
|
+
<div class="toggle-contact-search-error" >
|
|
5
|
+
{{isInvalid ? errorMessage : ''}}
|
|
6
|
+
</div>
|
|
7
|
+
|
|
8
|
+
<div class="toggle-contact-search-input-container"
|
|
9
|
+
:class="{'toggle-input-is-invalid': isInvalid, 'toggle-contact-search-input-container-active': showDropdown}">
|
|
10
|
+
<div class="toggle-contact-search-icon-input-container">
|
|
11
|
+
<div :class="{'toggle-contact-search-icon-arrow-container': true, 'toggle-contact-search-icon-arrow-container-disabled': disabled}"
|
|
12
|
+
@click="showDropdown = !disabled && !loading ? !showDropdown : false">
|
|
13
|
+
<div class="toggle-contact-search-icon"
|
|
14
|
+
:class="{
|
|
15
|
+
'toggle-contact-search-icon-email': inputType == 'email',
|
|
16
|
+
'toggle-contact-search-icon-mobile': inputType == 'mobile'
|
|
17
|
+
}"
|
|
18
|
+
></div>
|
|
19
|
+
<div class="toggle-contact-search-arrow" :class="{'toggle-contact-search-arrow-active': showDropdown}"></div>
|
|
20
|
+
</div>
|
|
21
|
+
|
|
22
|
+
<div class="toggle-contact-search-divider"></div>
|
|
23
|
+
|
|
24
|
+
<input :class="{'toggle-contact-search-input': true, 'toggle-contact-search-disabled': disabled}" v-model="inputVal" :disabled="disabled || loading" type="text" :placeholder="placeholder" @keyup.enter="onEnter">
|
|
25
|
+
|
|
26
|
+
<div v-if="loading" class="toggle-contact-search-loading-container">
|
|
27
|
+
<div class="toggle-inline-loader"></div>
|
|
28
|
+
</div>
|
|
29
|
+
<div v-else :class="{'toggle-contact-search-magnifying-glass-icon': true, 'toggle-contact-search-magnifying-glass-icon-disabled': disabled}" @click="onSearch"></div>
|
|
30
|
+
</div>
|
|
31
|
+
|
|
32
|
+
<Transition name="drop-down">
|
|
33
|
+
<div v-if="showDropdown" class="toggle-contact-search-dropdown-container">
|
|
34
|
+
<div v-for="type, i in types" @click="inputType = type; showDropdown = false; loading = false" :key="i">
|
|
35
|
+
<div class="toggle-contact-search-dropdown-item">
|
|
36
|
+
<div class="toggle-contact-search-icon-dropdown" :class="iconForType(type)"></div>
|
|
37
|
+
<label class="toggle-contact-search-dropdown-item-label" :class="{'toggle-contact-search-dropwdown-item-highlighted': type == inputType}">
|
|
38
|
+
{{textForType(type)}}
|
|
39
|
+
</label>
|
|
40
|
+
</div>
|
|
41
|
+
</div>
|
|
42
|
+
</div>
|
|
43
|
+
</Transition>
|
|
44
|
+
|
|
45
|
+
</div>
|
|
46
|
+
</div>
|
|
47
|
+
</template>
|
|
48
|
+
|
|
49
|
+
<script>
|
|
50
|
+
|
|
51
|
+
import { mixins } from '../mixins/mixins';
|
|
52
|
+
|
|
53
|
+
export default {
|
|
54
|
+
mixins: [mixins],
|
|
55
|
+
props: {
|
|
56
|
+
value: {
|
|
57
|
+
type: [Number,String]
|
|
58
|
+
},
|
|
59
|
+
types: {
|
|
60
|
+
type: Array,
|
|
61
|
+
default: function () {
|
|
62
|
+
return ['email', 'mobile'];
|
|
63
|
+
}
|
|
64
|
+
},
|
|
65
|
+
isInvalid: {
|
|
66
|
+
type: Boolean,
|
|
67
|
+
default: false
|
|
68
|
+
},
|
|
69
|
+
errorMessage: {
|
|
70
|
+
type: String,
|
|
71
|
+
default: 'No contact found with these details'
|
|
72
|
+
},
|
|
73
|
+
loading: {
|
|
74
|
+
type: Boolean,
|
|
75
|
+
default: false
|
|
76
|
+
},
|
|
77
|
+
disabled: {
|
|
78
|
+
type: Boolean,
|
|
79
|
+
default: false
|
|
80
|
+
}
|
|
81
|
+
},
|
|
82
|
+
data() {
|
|
83
|
+
return {
|
|
84
|
+
inputType: 'email',
|
|
85
|
+
showDropdown: false
|
|
86
|
+
}
|
|
87
|
+
},
|
|
88
|
+
watch: {
|
|
89
|
+
showDropdown: function (val) {
|
|
90
|
+
if (val) {
|
|
91
|
+
this.isInvalid = false;
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
},
|
|
95
|
+
created() {
|
|
96
|
+
window.addEventListener('click', this.windowClick, true);
|
|
97
|
+
},
|
|
98
|
+
beforeDestroy() {
|
|
99
|
+
window.removeEventListener('click', this.windowClick, true);
|
|
100
|
+
},
|
|
101
|
+
computed: {
|
|
102
|
+
inputVal: {
|
|
103
|
+
get: function () {
|
|
104
|
+
return this.value;
|
|
105
|
+
},
|
|
106
|
+
|
|
107
|
+
set: function (value) {
|
|
108
|
+
this.$emit('input', value);
|
|
109
|
+
}
|
|
110
|
+
},
|
|
111
|
+
placeholder: function () {
|
|
112
|
+
return this.inputType == 'email' ? 'Enter contact email address' : 'Enter contact mobile number';
|
|
113
|
+
}
|
|
114
|
+
},
|
|
115
|
+
methods: {
|
|
116
|
+
textForType(type) {
|
|
117
|
+
switch (type) {
|
|
118
|
+
case 'email':
|
|
119
|
+
return 'Search for a contact by email address';
|
|
120
|
+
case 'mobile':
|
|
121
|
+
return 'Search for a contact by mobile';
|
|
122
|
+
default:
|
|
123
|
+
return 'Search for a contact by ' + this.inputType;
|
|
124
|
+
}
|
|
125
|
+
},
|
|
126
|
+
iconForType(type) {
|
|
127
|
+
switch (type) {
|
|
128
|
+
case 'email':
|
|
129
|
+
return 'toggle-contact-search-icon-email'
|
|
130
|
+
case 'mobile':
|
|
131
|
+
return 'toggle-contact-search-icon-mobile'
|
|
132
|
+
default:
|
|
133
|
+
return 'toggle-contact-search-icon-email'
|
|
134
|
+
}
|
|
135
|
+
},
|
|
136
|
+
onEnter(e) {
|
|
137
|
+
this.$emit('enterPressed', {
|
|
138
|
+
type: this.inputType,
|
|
139
|
+
value: e.target.value
|
|
140
|
+
});
|
|
141
|
+
},
|
|
142
|
+
onSearch() {
|
|
143
|
+
this.$emit('clickSearch', {
|
|
144
|
+
type: this.inputType,
|
|
145
|
+
value: this.inputVal
|
|
146
|
+
});
|
|
147
|
+
},
|
|
148
|
+
windowClick(e) {
|
|
149
|
+
if (!e.target.matches('.toggle-contact-search-container *')) {
|
|
150
|
+
this.showDropdown = false;
|
|
151
|
+
}
|
|
152
|
+
}
|
|
153
|
+
}
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
</script>
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
> {{ label }}
|
|
14
14
|
</button>
|
|
15
15
|
<label
|
|
16
|
-
class="toggle-input-crud-container-description"
|
|
16
|
+
:class="['toggle-input-crud-container-description', {'toggle-input-crud-container-description-hide-overflow':hideDescriptionOverflow}]"
|
|
17
17
|
> {{ description ? description : ' ' }}
|
|
18
18
|
</label>
|
|
19
19
|
|
|
@@ -65,7 +65,12 @@ export default {
|
|
|
65
65
|
empty:{
|
|
66
66
|
type: Boolean,
|
|
67
67
|
default: false
|
|
68
|
+
},
|
|
69
|
+
hideDescriptionOverflow:{
|
|
70
|
+
type: Boolean,
|
|
71
|
+
default: false
|
|
68
72
|
}
|
|
73
|
+
|
|
69
74
|
},
|
|
70
75
|
|
|
71
76
|
created : function(){
|
package/src/index.js
CHANGED
|
@@ -22,6 +22,7 @@ import ToggleInputGroup from "./components/forms/ToggleInputGroup.vue";
|
|
|
22
22
|
import ToggleInputNumber from "./components/forms/ToggleInputNumber.vue";
|
|
23
23
|
import ToggleColourPicker from "./components/forms/ToggleColourPicker.vue";
|
|
24
24
|
import ToggleModal from "./components/modals/ToggleModal.vue";
|
|
25
|
+
import ToggleContactSearch from "./components/forms/ToggleContactSearch.vue";
|
|
25
26
|
|
|
26
27
|
import ToggleBoosterButton from "./components/boosters/ToggleBoosterButton.vue";
|
|
27
28
|
import ToggleBoosterBasicButton from "./components/boosters/ToggleBoosterBasicButton.vue";
|
|
@@ -143,7 +144,8 @@ const Components = {
|
|
|
143
144
|
ToggleThreeDotsButton,
|
|
144
145
|
ToggleBoosterButton,
|
|
145
146
|
ToggleBoosterBasicButton,
|
|
146
|
-
ToggleBoosterModal
|
|
147
|
+
ToggleBoosterModal,
|
|
148
|
+
ToggleContactSearch
|
|
147
149
|
}
|
|
148
150
|
|
|
149
151
|
Object.keys(Components).forEach(name => {
|
|
@@ -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{
|
|
@@ -719,6 +720,14 @@ $iconWidth:20px;
|
|
|
719
720
|
}
|
|
720
721
|
}
|
|
721
722
|
|
|
723
|
+
|
|
724
|
+
.toggle-input-crud-container-description-hide-overflow{
|
|
725
|
+
overflow: hidden;
|
|
726
|
+
text-overflow: ellipsis;
|
|
727
|
+
white-space: nowrap;
|
|
728
|
+
width: inherit;
|
|
729
|
+
}
|
|
730
|
+
|
|
722
731
|
.toggle-input-crud-container-buttons{
|
|
723
732
|
.toggle-button-container{
|
|
724
733
|
display: block;
|
|
@@ -936,4 +945,261 @@ $iconWidth:20px;
|
|
|
936
945
|
top: 50%;
|
|
937
946
|
transform: translate(0, -50%);
|
|
938
947
|
}
|
|
948
|
+
}
|
|
949
|
+
|
|
950
|
+
//
|
|
951
|
+
// Contact Search Styles
|
|
952
|
+
//
|
|
953
|
+
|
|
954
|
+
.toggle-contact-search-input-container {
|
|
955
|
+
width: 100%;
|
|
956
|
+
height: 40px;
|
|
957
|
+
background-color: $toggle-white;
|
|
958
|
+
border-radius: 8px;
|
|
959
|
+
min-width: 500px;
|
|
960
|
+
}
|
|
961
|
+
|
|
962
|
+
.toggle-contact-search-input-container-active {
|
|
963
|
+
border-radius: 8px 8px 0 0;
|
|
964
|
+
}
|
|
965
|
+
|
|
966
|
+
.toggle-contact-search-icon-input-container {
|
|
967
|
+
display: flex;
|
|
968
|
+
flex-direction: row;
|
|
969
|
+
width: 100%;
|
|
970
|
+
}
|
|
971
|
+
|
|
972
|
+
.toggle-contact-search-dropdown-container {
|
|
973
|
+
min-width: 550px;
|
|
974
|
+
background-color: $toggle-white;
|
|
975
|
+
border-radius: 0 0 8px 8px;
|
|
976
|
+
overflow: hidden;
|
|
977
|
+
position: absolute;
|
|
978
|
+
z-index: 1;
|
|
979
|
+
}
|
|
980
|
+
|
|
981
|
+
.toggle-contact-search-input {
|
|
982
|
+
width: 100%;
|
|
983
|
+
border: 0;
|
|
984
|
+
border-radius: 0px;
|
|
985
|
+
height: 30px;
|
|
986
|
+
margin: 4px 5px 0px 14px;
|
|
987
|
+
color: #3A4A62;
|
|
988
|
+
font-family: $toggle-font-family;
|
|
989
|
+
font-weight: 700;
|
|
990
|
+
font-size: 16px;
|
|
991
|
+
background-color: #FFFFFF;
|
|
992
|
+
}
|
|
993
|
+
|
|
994
|
+
.toggle-contact-search-input::placeholder {
|
|
995
|
+
color: #C5CED8;
|
|
996
|
+
opacity: 1;
|
|
997
|
+
}
|
|
998
|
+
.toggle-contact-search-input:-ms-input-placeholder {
|
|
999
|
+
color: #C5CED8;
|
|
1000
|
+
opacity: 1;
|
|
1001
|
+
}
|
|
1002
|
+
.toggle-contact-search-input::-ms-input-placeholder {
|
|
1003
|
+
color: #C5CED8;
|
|
1004
|
+
opacity: 1;
|
|
1005
|
+
}
|
|
1006
|
+
.toggle-contact-search-input::-webkit-input-placeholder {
|
|
1007
|
+
color: #C5CED8;
|
|
1008
|
+
opacity: 1;
|
|
1009
|
+
}
|
|
1010
|
+
.toggle-contact-search-input:-moz-placeholder {
|
|
1011
|
+
color: #C5CED8;
|
|
1012
|
+
opacity: 1;
|
|
1013
|
+
}
|
|
1014
|
+
.toggle-contact-search-input::-ms-placeholder {
|
|
1015
|
+
color: #C5CED8;
|
|
1016
|
+
opacity: 1;
|
|
1017
|
+
}
|
|
1018
|
+
|
|
1019
|
+
.toggle-contact-search-icon {
|
|
1020
|
+
max-width: 20px;
|
|
1021
|
+
max-height: 20px;
|
|
1022
|
+
margin: 10px 16px 0 0;
|
|
1023
|
+
transition: transform .2s ease-in-out;
|
|
1024
|
+
width: 25px;
|
|
1025
|
+
height: 25px;
|
|
1026
|
+
background-repeat: no-repeat;
|
|
1027
|
+
background-size: contain;
|
|
1028
|
+
}
|
|
1029
|
+
|
|
1030
|
+
.toggle-contact-search-icon-email {
|
|
1031
|
+
background-image: url('../assets/icons/email-icon.svg');
|
|
1032
|
+
}
|
|
1033
|
+
|
|
1034
|
+
.toggle-contact-search-icon-mobile {
|
|
1035
|
+
background-image: url('../assets/icons/mobile-icon.svg');
|
|
1036
|
+
}
|
|
1037
|
+
|
|
1038
|
+
.toggle-contact-search-icon-arrow-container:hover {
|
|
1039
|
+
.toggle-contact-search-icon {
|
|
1040
|
+
transform: scale(1.1);
|
|
1041
|
+
}
|
|
1042
|
+
}
|
|
1043
|
+
|
|
1044
|
+
.toggle-contact-search-icon-arrow-container {
|
|
1045
|
+
display: flex;
|
|
1046
|
+
width: 100px;
|
|
1047
|
+
min-width: 60px;
|
|
1048
|
+
flex-direction: row;
|
|
1049
|
+
justify-content: center;
|
|
1050
|
+
cursor: pointer;
|
|
1051
|
+
}
|
|
1052
|
+
|
|
1053
|
+
.toggle-contact-search-icon-arrow-container-disabled {
|
|
1054
|
+
cursor: default !important;
|
|
1055
|
+
opacity: 0.5;
|
|
1056
|
+
}
|
|
1057
|
+
|
|
1058
|
+
.toggle-contact-search-magnifying-glass-icon {
|
|
1059
|
+
cursor: pointer;
|
|
1060
|
+
margin: 10px 15px 0 3px;
|
|
1061
|
+
width: 25px;
|
|
1062
|
+
height: 25px;
|
|
1063
|
+
background-image: url('../assets/icons/magnifying-glass-icon.svg');
|
|
1064
|
+
background-repeat: no-repeat;
|
|
1065
|
+
background-size: contain;
|
|
1066
|
+
transition: transform .2s ease-in-out;
|
|
1067
|
+
}
|
|
1068
|
+
|
|
1069
|
+
.toggle-contact-search-magnifying-glass-icon:hover {
|
|
1070
|
+
transform: scale(1.1);
|
|
1071
|
+
}
|
|
1072
|
+
|
|
1073
|
+
.toggle-contact-search-magnifying-glass-icon-disabled {
|
|
1074
|
+
cursor: default;
|
|
1075
|
+
opacity: 0.5;
|
|
1076
|
+
}
|
|
1077
|
+
|
|
1078
|
+
.toggle-contact-search-arrow {
|
|
1079
|
+
margin: 17px 0px 0px;
|
|
1080
|
+
width: 10px;
|
|
1081
|
+
height: 10px;
|
|
1082
|
+
background-image: url('../assets/icons/arrow-icon.svg');
|
|
1083
|
+
background-repeat: no-repeat;
|
|
1084
|
+
background-size: contain;
|
|
1085
|
+
}
|
|
1086
|
+
|
|
1087
|
+
.toggle-contact-search-arrow-active {
|
|
1088
|
+
transition: all .2s ease;
|
|
1089
|
+
transform: rotate(-3.1416rad) translateY(5px);
|
|
1090
|
+
}
|
|
1091
|
+
|
|
1092
|
+
.toggle-contact-search-divider {
|
|
1093
|
+
height: 28px;
|
|
1094
|
+
margin: 7px 0 0 0;
|
|
1095
|
+
border-right: 2px solid #D9D9D9;
|
|
1096
|
+
}
|
|
1097
|
+
|
|
1098
|
+
.toggle-contact-search-dropdown-item {
|
|
1099
|
+
margin: 5px 5px 5px 10px;
|
|
1100
|
+
border-radius: 8px;
|
|
1101
|
+
cursor: pointer;
|
|
1102
|
+
font-size: 16px;
|
|
1103
|
+
display: flex;
|
|
1104
|
+
flex-direction: row;
|
|
1105
|
+
justify-content: left;
|
|
1106
|
+
align-items: center;
|
|
1107
|
+
padding: 5px;
|
|
1108
|
+
}
|
|
1109
|
+
|
|
1110
|
+
.toggle-contact-search-dropdown-item-label {
|
|
1111
|
+
cursor: pointer;
|
|
1112
|
+
font-weight: 700;
|
|
1113
|
+
color: #3A4A62;
|
|
1114
|
+
}
|
|
1115
|
+
|
|
1116
|
+
.toggle-contact-search-dropwdown-item-highlighted {
|
|
1117
|
+
color: #547DEE;
|
|
1118
|
+
}
|
|
1119
|
+
|
|
1120
|
+
.toggle-contact-search-dropdown-item:hover {
|
|
1121
|
+
background-color: #F5F5F5;
|
|
1122
|
+
color: #3A4A62;
|
|
1123
|
+
|
|
1124
|
+
.toggle-contact-search-icon-dropdown {
|
|
1125
|
+
transform: scale(1.1);
|
|
1126
|
+
}
|
|
1127
|
+
|
|
1128
|
+
.toggle-contact-search-dropdown-item-label {
|
|
1129
|
+
color: #3A4A62;
|
|
1130
|
+
}
|
|
1131
|
+
}
|
|
1132
|
+
|
|
1133
|
+
.toggle-contact-search-icon-dropdown {
|
|
1134
|
+
width: 25px;
|
|
1135
|
+
height: 25px;
|
|
1136
|
+
background-repeat: no-repeat;
|
|
1137
|
+
background-size: contain;
|
|
1138
|
+
max-width: 20px;
|
|
1139
|
+
max-height: 20px;
|
|
1140
|
+
margin: 2px 14px 0 0;
|
|
1141
|
+
transition: transform .2s ease-in-out;
|
|
1142
|
+
}
|
|
1143
|
+
|
|
1144
|
+
.toggle-contact-search-error {
|
|
1145
|
+
height: 16.8px;
|
|
1146
|
+
text-align: right;
|
|
1147
|
+
color: #FF6F6F;
|
|
1148
|
+
font-size: 12px;
|
|
1149
|
+
margin: 0 0 10px 0;
|
|
1150
|
+
}
|
|
1151
|
+
|
|
1152
|
+
.toggle-contact-search-input-disabled {
|
|
1153
|
+
color: #D3D9DF !important;
|
|
1154
|
+
}
|
|
1155
|
+
|
|
1156
|
+
.toggle-contact-search-input-disabled::placeholder,
|
|
1157
|
+
.toggle-contact-search-input-disabled:-ms-input-placeholder,
|
|
1158
|
+
.toggle-contact-search-input-disabled::-ms-input-placeholder {
|
|
1159
|
+
color: #D3D9DF !important;
|
|
1160
|
+
opacity: 1;
|
|
1161
|
+
}
|
|
1162
|
+
|
|
1163
|
+
.toggle-contact-search-loading-container {
|
|
1164
|
+
display: flex;
|
|
1165
|
+
align-items: center;
|
|
1166
|
+
margin: 0 0 3px 0;
|
|
1167
|
+
}
|
|
1168
|
+
|
|
1169
|
+
//
|
|
1170
|
+
// Contact Search Transition Styles
|
|
1171
|
+
//
|
|
1172
|
+
|
|
1173
|
+
.drop-down-enter-active {
|
|
1174
|
+
-moz-transition-duration: 0.4s;
|
|
1175
|
+
-webkit-transition-duration: 0.4s;
|
|
1176
|
+
-o-transition-duration: 0.4s;
|
|
1177
|
+
transition-duration: 0.4s;
|
|
1178
|
+
-moz-transition-timing-function: ease-in;
|
|
1179
|
+
-webkit-transition-timing-function: ease-in;
|
|
1180
|
+
-o-transition-timing-function: ease-in;
|
|
1181
|
+
transition-timing-function: ease-in;
|
|
1182
|
+
}
|
|
1183
|
+
|
|
1184
|
+
.drop-down-leave-active {
|
|
1185
|
+
-moz-transition-duration: 0.4s;
|
|
1186
|
+
-webkit-transition-duration: 0.4s;
|
|
1187
|
+
-o-transition-duration: 0.4s;
|
|
1188
|
+
transition-duration: 0.4s;
|
|
1189
|
+
-moz-transition-timing-function: cubic-bezier(0, 1, 0.5, 1);
|
|
1190
|
+
-webkit-transition-timing-function: cubic-bezier(0, 1, 0.5, 1);
|
|
1191
|
+
-o-transition-timing-function: cubic-bezier(0, 1, 0.5, 1);
|
|
1192
|
+
transition-timing-function: cubic-bezier(0, 1, 0.5, 1);
|
|
1193
|
+
}
|
|
1194
|
+
|
|
1195
|
+
.drop-down-enter-to,
|
|
1196
|
+
.drop-down-leave {
|
|
1197
|
+
max-height: 100px;
|
|
1198
|
+
overflow: hidden;
|
|
1199
|
+
}
|
|
1200
|
+
|
|
1201
|
+
.drop-down-enter,
|
|
1202
|
+
.drop-down-leave-to {
|
|
1203
|
+
overflow: hidden;
|
|
1204
|
+
max-height: 0;
|
|
939
1205
|
}
|
|
@@ -43,6 +43,22 @@
|
|
|
43
43
|
height: 2rem;
|
|
44
44
|
}
|
|
45
45
|
|
|
46
|
+
.toggle-inline-loader-container {
|
|
47
|
+
position: relative;
|
|
48
|
+
display: inline-block;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
.toggle-inline-loader {
|
|
52
|
+
box-sizing: content-box;
|
|
53
|
+
border-radius: 50%;
|
|
54
|
+
border: .25rem solid $toggle-button-disabled;
|
|
55
|
+
border-top-color: $toggle-white;
|
|
56
|
+
animation: spin 1s infinite linear;
|
|
57
|
+
width: 16px;
|
|
58
|
+
height: 16px;
|
|
59
|
+
margin: 8px 12px 0 0;
|
|
60
|
+
}
|
|
61
|
+
|
|
46
62
|
/*
|
|
47
63
|
* ToggleProgressLoader
|
|
48
64
|
*/
|