mg-library 1.0.682 → 1.0.684
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/blocks.js +50 -26
- package/package.json +1 -1
package/blocks.js
CHANGED
|
@@ -349,7 +349,13 @@ export function MGLogin(props) {
|
|
|
349
349
|
control={control}
|
|
350
350
|
rules={{ maxLength: 50 }}
|
|
351
351
|
render={({ field: { onChange, value } }) => (
|
|
352
|
-
<Input size="lg"
|
|
352
|
+
<Input size="lg"
|
|
353
|
+
variant="outline"
|
|
354
|
+
h={40}
|
|
355
|
+
px="$3"
|
|
356
|
+
rounded="$md"
|
|
357
|
+
bg="$white"
|
|
358
|
+
borderColor="$trueGray300">
|
|
353
359
|
<InputField
|
|
354
360
|
placeholder={mgFunctionsLib.i18nString('userName', props.language)}
|
|
355
361
|
placeholderTextColor="$trueGray300"
|
|
@@ -365,19 +371,28 @@ export function MGLogin(props) {
|
|
|
365
371
|
control={control}
|
|
366
372
|
rules={{ maxLength: 50 }}
|
|
367
373
|
render={({ field: { onChange, value } }) => (
|
|
368
|
-
<
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
374
|
+
<Input
|
|
375
|
+
size="lg"
|
|
376
|
+
variant="outline"
|
|
377
|
+
h={40}
|
|
378
|
+
px="$3"
|
|
379
|
+
rounded="$md"
|
|
380
|
+
bg="$white"
|
|
381
|
+
borderColor="$trueGray300"
|
|
382
|
+
>
|
|
383
|
+
<InputField
|
|
384
|
+
placeholder={mgFunctionsLib.i18nString('password', language)}
|
|
385
|
+
placeholderTextColor="$trueGray300"
|
|
386
|
+
value={value}
|
|
387
|
+
onChangeText={onChange}
|
|
388
|
+
secureTextEntry
|
|
389
|
+
maxLength={12}
|
|
390
|
+
keyboardType="numeric"
|
|
391
|
+
autoCapitalize="none"
|
|
392
|
+
autoCorrect={false}
|
|
393
|
+
returnKeyType="done"
|
|
394
|
+
/>
|
|
395
|
+
</Input>
|
|
381
396
|
)}
|
|
382
397
|
name='password' />
|
|
383
398
|
}
|
|
@@ -386,18 +401,27 @@ export function MGLogin(props) {
|
|
|
386
401
|
control={control}
|
|
387
402
|
rules={{ maxLength: 50 }}
|
|
388
403
|
render={({ field: { onChange, value } }) => (
|
|
389
|
-
<
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
404
|
+
<Input
|
|
405
|
+
size="lg"
|
|
406
|
+
variant="outline"
|
|
407
|
+
h={40}
|
|
408
|
+
px="$3"
|
|
409
|
+
rounded="$md"
|
|
410
|
+
bg="$white"
|
|
411
|
+
borderColor="$trueGray300"
|
|
412
|
+
>
|
|
413
|
+
<InputField
|
|
414
|
+
placeholder={mgFunctionsLib.i18nString('password', language)}
|
|
415
|
+
placeholderTextColor="$trueGray300"
|
|
416
|
+
value={value}
|
|
417
|
+
onChangeText={onChange}
|
|
418
|
+
secureTextEntry
|
|
419
|
+
maxLength={12}
|
|
420
|
+
autoCapitalize="none"
|
|
421
|
+
autoCorrect={false}
|
|
422
|
+
returnKeyType="done"
|
|
423
|
+
/>
|
|
424
|
+
</Input>
|
|
401
425
|
)}
|
|
402
426
|
name="password" />
|
|
403
427
|
}
|