dhre-ui-kit 0.0.94 → 0.0.95

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dhre-ui-kit",
3
- "version": "0.0.94",
3
+ "version": "0.0.95",
4
4
  "main": "src/index.ts",
5
5
  "files": [
6
6
  "src",
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import {Pressable, StyleSheet, View, ViewStyle} from 'react-native';
2
+ import {Pressable, StyleSheet, ViewStyle} from 'react-native';
3
3
  import {TextInput} from 'react-native-paper';
4
4
  import {DHRE_COLORS_TEXT, DHRE_DEFAULT} from '../../theme/colors';
5
5
  import {verticalScale, moderateScale} from '../../utils/stylehelper';
@@ -45,8 +45,7 @@ const CommonTextInput: React.FC<CommonTextInputProps> = ({
45
45
  pointerEvents,
46
46
  }) => {
47
47
  return (
48
- <View style={styles.container}>
49
- <Pressable onPress={handlePress} style={styles.touchable}>
48
+ <Pressable onPress={handlePress} style={styles.container}>
50
49
  <TextInput
51
50
  mode="outlined"
52
51
  outlineStyle={{
@@ -82,19 +81,16 @@ const CommonTextInput: React.FC<CommonTextInputProps> = ({
82
81
  }}
83
82
  />
84
83
  ) : null}
85
- </Pressable>
86
- </View>
84
+ </Pressable>
87
85
  );
88
86
  };
89
87
 
90
88
  const styles = StyleSheet.create({
91
89
  container: {
92
- flex: 1,
93
90
  justifyContent: 'center',
94
- alignItems: 'center',
95
91
  },
96
92
  touchable: {
97
- width: '100%', // Adjust width as needed
93
+ width: '100%',
98
94
  },
99
95
 
100
96
  input: {