ripal-ui 1.0.78 → 1.0.81

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.
@@ -13,6 +13,7 @@ interface InputProps {
13
13
  placeholder?: string | null;
14
14
  mode?: TextInputProps["keyboardType"]; // Use keyboardType from TextInputProps
15
15
  secureTextEntry?: boolean;
16
+ multiline?: boolean;
16
17
  onChangeText: (text: string) => void; // Function to handle text changes
17
18
  }
18
19
 
@@ -24,6 +25,7 @@ const Input: React.FC<InputProps> = ({
24
25
  height = 50,
25
26
  placeholder = null,
26
27
  mode = "default",
28
+ multiline = false,
27
29
  secureTextEntry = false,
28
30
  onChangeText,
29
31
  }) => {
@@ -47,7 +49,7 @@ const Input: React.FC<InputProps> = ({
47
49
  value={value}
48
50
  placeholder={placeholder}
49
51
  style={{
50
- height,
52
+ height: multiline ? 'auto' : height,
51
53
  flexGrow: 1,
52
54
  }}
53
55
  onFocus={() => setFocused(true)}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ripal-ui",
3
- "version": "1.0.78",
3
+ "version": "1.0.81",
4
4
  "description": "A collection of React elements and components",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -8,8 +8,8 @@
8
8
  "postinstall": "node ./scripts/generateConfig.js"
9
9
  },
10
10
  "dependencies": {
11
- "react": "18.3.1",
12
- "react-native": "0.76.7",
11
+ "react": "19.0.0",
12
+ "react-native": "0.79.2",
13
13
  "expo-secure-store": "~13.0.2"
14
14
  },
15
15
  "devDependencies": {
@@ -17,8 +17,7 @@
17
17
  "@babel/core": "^7.25.2",
18
18
  "@babel/preset-env": "^7.25.4",
19
19
  "@babel/preset-react": "^7.24.7",
20
- "@types/react": "^18.3.10",
21
- "@types/react-native": "^0.73.0",
20
+ "@types/react": "^19.0.0",
22
21
  "typescript": "^5.6.2"
23
22
  }
24
23
  }