mg-library 1.0.589 → 1.0.590

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 +6 -23
  2. package/package.json +1 -1
package/blocks.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import { useCallback, useState, useEffect } from 'react';
2
2
  import { useForm, Controller } from 'react-hook-form';
3
3
  import { View, ActivityIndicator, Pressable, Image, FlatList, Keyboard, Dimensions } from 'react-native';
4
- import { Card, Input } from '@ui-kitten/components';
4
+ import { Card } from '@ui-kitten/components';
5
5
  import MaterialCommunityIcons from 'react-native-vector-icons/MaterialCommunityIcons';
6
6
  import * as ImageManipulator from 'expo-image-manipulator';
7
7
  import { Camera, CameraType, CameraView } from 'expo-camera';
@@ -245,13 +245,6 @@ export function MGLogin(props) {
245
245
  control={control}
246
246
  rules={{ maxLength: 50 }}
247
247
  render={({ field: { onChange, value } }) => (
248
-
249
- /*<Input
250
- size='large'
251
- placeholder={mgFunctionsLib.i18nString('userName', props.language)}
252
- onChangeText={onChange}
253
- value={value}
254
- /> */
255
248
  <NBInput
256
249
  size="lg"
257
250
  py={3}
@@ -259,7 +252,6 @@ export function MGLogin(props) {
259
252
  onChangeText={onChange}
260
253
  value={value}
261
254
  />
262
-
263
255
  )}
264
256
  name="userName" />
265
257
  {props.useNumericKeyboardOnPassword &&
@@ -267,15 +259,6 @@ export function MGLogin(props) {
267
259
  control={control}
268
260
  rules={{ maxLength: 50 }}
269
261
  render={({ field: { onChange, value } }) => (
270
- /* <Input
271
- size='large'
272
- placeholder={mgFunctionsLib.i18nString('password', props.language)}
273
- onChangeText={onChange}
274
- secureTextEntry={true}
275
- maxLength={12}
276
- keyboardType='numeric'
277
- value={value}
278
- /> */
279
262
  <NBInput
280
263
  size="lg"
281
264
  py={3}
@@ -286,7 +269,6 @@ export function MGLogin(props) {
286
269
  maxLength={12}
287
270
  keyboardType='numeric'
288
271
  />
289
-
290
272
  )}
291
273
  name='password' />
292
274
  }
@@ -295,13 +277,14 @@ export function MGLogin(props) {
295
277
  control={control}
296
278
  rules={{ maxLength: 50 }}
297
279
  render={({ field: { onChange, value } }) => (
298
- <Input
299
- size='large'
280
+ <NBInput
281
+ size="lg"
282
+ py={3}
300
283
  placeholder={mgFunctionsLib.i18nString('password', props.language)}
301
284
  onChangeText={onChange}
302
- secureTextEntry={true}
303
- maxLength={12}
304
285
  value={value}
286
+ secureTextEntry
287
+ maxLength={12}
305
288
  />
306
289
  )}
307
290
  name="password" />
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mg-library",
3
- "version": "1.0.589",
3
+ "version": "1.0.590",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {