allaw-ui 4.0.3 → 4.0.4
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.
|
@@ -142,9 +142,10 @@ var ContactCardEdit = function (_a) {
|
|
|
142
142
|
}, disableAutofill: true }))),
|
|
143
143
|
React.createElement("div", { className: styles.infoItem },
|
|
144
144
|
React.createElement("i", { className: "allaw-icon-mail ".concat(styles.infoIcon) }),
|
|
145
|
-
React.createElement(
|
|
146
|
-
|
|
147
|
-
|
|
145
|
+
React.createElement("div", { className: styles.emailInputContainer },
|
|
146
|
+
React.createElement(Input, { title: "", placeholder: "Email", type: "email", value: editData.email, onChange: function (value) {
|
|
147
|
+
return updateEditData(function (prev) { return (__assign(__assign({}, prev), { email: value })); });
|
|
148
|
+
}, disableAutofill: true }))),
|
|
148
149
|
birthDate && (React.createElement("div", { className: styles.infoItem },
|
|
149
150
|
React.createElement("i", { className: "allaw-icon-user ".concat(styles.infoIcon) }),
|
|
150
151
|
React.createElement(Datepicker, { value: editData.birthDate, onChange: function (date) {
|
|
@@ -107,6 +107,12 @@
|
|
|
107
107
|
max-width: 160px;
|
|
108
108
|
}
|
|
109
109
|
|
|
110
|
+
.emailInputContainer {
|
|
111
|
+
width: 160px;
|
|
112
|
+
min-width: 160px;
|
|
113
|
+
max-width: 160px;
|
|
114
|
+
}
|
|
115
|
+
|
|
110
116
|
.clientTypeSelectContainer {
|
|
111
117
|
padding-left: 0px;
|
|
112
118
|
max-width: 160px;
|
|
@@ -121,6 +127,12 @@
|
|
|
121
127
|
max-width: 190px;
|
|
122
128
|
}
|
|
123
129
|
|
|
130
|
+
.emailInputContainer {
|
|
131
|
+
width: 200px;
|
|
132
|
+
min-width: 200px;
|
|
133
|
+
max-width: 200px;
|
|
134
|
+
}
|
|
135
|
+
|
|
124
136
|
.clientTypeSelectContainer {
|
|
125
137
|
max-width: 190px;
|
|
126
138
|
min-width: 190px;
|
|
@@ -132,6 +144,10 @@
|
|
|
132
144
|
.phoneInputContainer {
|
|
133
145
|
max-width: 100%;
|
|
134
146
|
}
|
|
147
|
+
|
|
148
|
+
.emailInputContainer {
|
|
149
|
+
max-width: 100%;
|
|
150
|
+
}
|
|
135
151
|
}
|
|
136
152
|
|
|
137
153
|
@media (max-width: 900px) {
|