@everymatrix/user-login 1.46.1 → 1.47.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.
@@ -19,7 +19,7 @@ var patchBrowser = () => {
19
19
 
20
20
  patchBrowser().then(async (options) => {
21
21
  await appGlobals.globalScripts();
22
- return index.bootstrapLazy([["user-login.cjs",[[1,"user-login",{"endpoint":[513],"lang":[1537],"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"translationUrl":[513,"translation-url"],"passwordReset":[513,"password-reset"],"userEmailRegex":[513,"user-email-regex"],"userEmailRegexOptions":[513,"user-email-regex-options"],"passwordRegex":[513,"password-regex"],"passwordRegexOptions":[513,"password-regex-options"],"userNameEmail":[32],"userPassword":[32],"isValidUserEmail":[32],"isValidPassword":[32],"isPasswordVisible":[32],"limitStylingAppends":[32],"errorMessage":[32],"hasError":[32]},null,{"translationUrl":["handleNewTranslations"]}]]]], options);
22
+ return index.bootstrapLazy([["user-login.cjs",[[1,"user-login",{"endpoint":[513],"lang":[1537],"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"translationUrl":[513,"translation-url"],"passwordReset":[513,"password-reset"],"userEmailRegex":[513,"user-email-regex"],"userEmailRegexOptions":[513,"user-email-regex-options"],"userPhoneRegex":[513,"user-phone-regex"],"userPhoneRegexOptions":[513,"user-phone-regex-options"],"passwordRegex":[513,"password-regex"],"passwordRegexOptions":[513,"password-regex-options"],"version":[513],"loginByPhoneNumber":[513,"login-by-phone-number"],"userNameEmail":[32],"userPassword":[32],"isValidUserEmail":[32],"userPhone":[32],"userPrefix":[32],"isValidPassword":[32],"isValidUserPhone":[32],"isPasswordVisible":[32],"limitStylingAppends":[32],"errorMessage":[32],"hasError":[32],"userPrefixOptions":[32]},null,{"translationUrl":["handleNewTranslations"],"clientStyling":["handleStylingChange"],"clientStylingUrl":["handleStylingUrlChange"]}]]]], options);
23
23
  });
24
24
 
25
25
  exports.setNonce = index.setNonce;
@@ -30,6 +30,18 @@ section {
30
30
  width: 100%;
31
31
  border-bottom: 2px solid var(--emfe-w-registration-color-primary, var(--emfe-w-color-primary, #22B04E));
32
32
  }
33
+ .InputBox .PhoneInputBox {
34
+ display: flex;
35
+ flex-direction: row;
36
+ }
37
+ .InputBox .PhoneInputBox .PhoneBox {
38
+ position: relative;
39
+ width: 100%;
40
+ }
41
+ .InputBox .PhoneInputBox .PrefixBox {
42
+ position: relative;
43
+ width: fit-content;
44
+ }
33
45
  .InputBox.InputInvalidBox .PasswordVisibilityIcon {
34
46
  fill: var(--emfw-w-color-error, var(--emfe-w-color-red, #FD2839));
35
47
  }
@@ -69,7 +81,7 @@ section {
69
81
  left: 5px;
70
82
  transform: translateY(-50%);
71
83
  color: var(--emfe-w-registration-color-primary, var(--emfe-w-color-primary, #22B04E));
72
- font-size: 1em;
84
+ font-size: var(--emw--font-size-medium, 16px);
73
85
  pointer-events: none;
74
86
  transition: 0.5s;
75
87
  }
@@ -82,9 +94,9 @@ section {
82
94
  background: transparent;
83
95
  border: none;
84
96
  outline: none;
85
- font-size: 1em;
97
+ font-size: var(--emw--font-size-medium, 16px);
86
98
  padding: 0 35px 0 5px;
87
- color: var(--emfe-w-registration-typography, var(--emfe-w-color-typography, #FFFFFF));
99
+ color: var(--emfe-w-registration-typography, var(--emfe-w-color-typography, #000000));
88
100
  box-sizing: border-box;
89
101
  }
90
102
 
@@ -92,13 +104,19 @@ section {
92
104
  input:focus ~ label,
93
105
  label.FieldFilledIn {
94
106
  top: -3px;
95
- font-size: 0.7em;
107
+ font-size: var(--emw--font-size-x-small, 16px);
108
+ }
109
+
110
+ vaadin-combo-box:focus-within ~ label,
111
+ label.FieldFilledIn {
112
+ top: -3px;
113
+ font-size: var(--emw--font-size-x-small, 16px);
96
114
  }
97
115
 
98
116
  /* animation:end */
99
117
  .ForgotPassword button {
100
118
  margin: -10px 0 17px;
101
- font-size: 0.9em;
119
+ font-size: var(--emw--font-size-medium, 16px);
102
120
  color: var(--emfe-w-registration-color-primary, var(--emfe-w-color-primary, #22B04E));
103
121
  display: flex;
104
122
  justify-content: space-between;
@@ -127,7 +145,7 @@ label.FieldFilledIn {
127
145
  }
128
146
 
129
147
  .Register {
130
- font-size: 0.9em;
148
+ font-size: var(--emw--font-size-medium, 16px);
131
149
  color: var(--emfe-w-registration-typography, var(--emfe-w-color-typography, #FFFFFF));
132
150
  text-align: center;
133
151
  margin: 25px 0 10px;
@@ -142,9 +160,8 @@ label.FieldFilledIn {
142
160
 
143
161
  .InvalidField {
144
162
  position: absolute;
145
- top: 45px;
146
163
  color: var(--emfw-w-color-error, var(--emfe-w-color-red, #FD2839));
147
- font-size: 0.7em;
164
+ font-size: var(--emw--font-size-x-small, 12px);
148
165
  }
149
166
 
150
167
  .SubmitCredentials {
@@ -153,7 +170,7 @@ label.FieldFilledIn {
153
170
 
154
171
  .CredentialsError {
155
172
  color: var(--emfw-w-color-error, var(--emfe-w-color-red, #FD2839));
156
- font-size: 0.7em;
173
+ font-size: var(--emw--font-size-x-small, 12px);
157
174
  padding: 0 0 20px 0;
158
175
  margin: 0;
159
176
  }