@designcrowd/fe-shared-lib 1.0.8-ml-82-1 → 1.0.8-ml-82-2
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/package.json
CHANGED
|
@@ -85,7 +85,7 @@
|
|
|
85
85
|
aria-required="true"
|
|
86
86
|
:aria-invalid="!!passwordError"
|
|
87
87
|
autocomplete="current-password"
|
|
88
|
-
placeholder="
|
|
88
|
+
:placeholder="passwordPlaceholderLabel"
|
|
89
89
|
class="password-input tw-h-12 tw-mb-4 tw-bg-no-repeat tw-w-full tw-rounded tw-shadow-inner tw-outline-none tw-py-4 tw-pl-10-important tw-pr-2 tw-text-grayscale-600 tw-border tw-border-grayscale-500 focus:tw-border-grayscale-700"
|
|
90
90
|
:class="{ 'tw-border-error-500': !!passwordError }"
|
|
91
91
|
/>
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
</h2>
|
|
35
35
|
<form id="signup" method="post" @submit="validate">
|
|
36
36
|
<input name="__RequestVerificationToken" type="hidden" :value="antiForgeryToken" />
|
|
37
|
-
<label for="userName" class="tw-sr-only"> {{
|
|
37
|
+
<label for="userName" class="tw-sr-only"> {{ emailLabel }} </label>
|
|
38
38
|
<input
|
|
39
39
|
v-model="aUserName"
|
|
40
40
|
name="userName"
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
aria-required="true"
|
|
43
43
|
:aria-invalid="!!userNameError"
|
|
44
44
|
autocomplete="”email”"
|
|
45
|
-
placeholder="
|
|
45
|
+
:placeholder="emailPlaceholderLabel"
|
|
46
46
|
class="email-input tw-mb-3 tw-h-12 tw-bg-no-repeat tw-w-full tw-rounded tw-shadow-inner tw-outline-none tw-py-4 tw-pl-10-important tw-pr-2 tw-text-grayscale-600 tw-border tw-border-grayscale-500 focus:tw-border-grayscale-700"
|
|
47
47
|
:class="{ 'tw-border-error-500': !!userNameError }"
|
|
48
48
|
/>
|
|
@@ -57,7 +57,7 @@
|
|
|
57
57
|
aria-required="true"
|
|
58
58
|
:aria-invalid="!!passwordError"
|
|
59
59
|
autocomplete="new-password"
|
|
60
|
-
placeholder="
|
|
60
|
+
:placeholder="passwordPlaceholderLabel"
|
|
61
61
|
class="password-input tw-mb-3 tw-h-12 tw-bg-no-repeat tw-w-full tw-rounded tw-shadow-inner tw-outline-none tw-py-4 tw-pl-10-important tw-pr-2 tw-text-grayscale-600 tw-border tw-border-grayscale-500 focus:tw-border-grayscale-700"
|
|
62
62
|
:class="{ 'tw-border-error-500': !!passwordError }"
|
|
63
63
|
/>
|
|
@@ -177,6 +177,11 @@ export default {
|
|
|
177
177
|
type: Boolean,
|
|
178
178
|
default: false,
|
|
179
179
|
},
|
|
180
|
+
emailLabel: {
|
|
181
|
+
type: String,
|
|
182
|
+
requiured: false,
|
|
183
|
+
default: 'Email'
|
|
184
|
+
},
|
|
180
185
|
emailPlaceholderLabel: {
|
|
181
186
|
type: String,
|
|
182
187
|
requiured: false,
|