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.
Files changed (2) hide show
  1. package/blocks.js +50 -26
  2. 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" variant="outline" h={40} px="$3" rounded="$md" bg="$white" borderColor="$trueGray300">
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
- <TextInput
369
- style={nbStyles.input}
370
- placeholder={mgFunctionsLib.i18nString('password', props.language)}
371
- placeholderTextColor="#888"
372
- onChangeText={onChange}
373
- value={value}
374
- secureTextEntry
375
- maxLength={12}
376
- keyboardType="numeric"
377
- autoCapitalize="none"
378
- autoCorrect={false}
379
- returnKeyType="done"
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
- <TextInput
390
- style={nbStyles.input}
391
- placeholder={mgFunctionsLib.i18nString('password', props.language)}
392
- placeholderTextColor="#888"
393
- onChangeText={onChange}
394
- value={value}
395
- secureTextEntry
396
- maxLength={12}
397
- autoCapitalize="none"
398
- autoCorrect={false}
399
- returnKeyType="done"
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
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mg-library",
3
- "version": "1.0.682",
3
+ "version": "1.0.684",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {