react-native-in-app-debugger 1.0.67 → 1.0.69

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/Api/index.jsx CHANGED
@@ -275,7 +275,7 @@ const styles = StyleSheet.create({
275
275
  container: {
276
276
  flexDirection: "row",
277
277
  flexWrap: "wrap",
278
- paddingLeft: 5,
278
+ paddingHorizontal: 5,
279
279
  alignItems: "center",
280
280
  gap: 5,
281
281
  },
@@ -305,5 +305,12 @@ const styles = StyleSheet.create({
305
305
  elevation: 10,
306
306
  zIndex: 99,
307
307
  },
308
- textInput: { padding: 5, color: "white", flex: 1, minWidth: 100 },
308
+ textInput: {
309
+ padding: 5,
310
+ color: "white",
311
+ flex: 1,
312
+ minWidth: 100,
313
+ backgroundColor: "#333",
314
+ borderRadius: 8,
315
+ },
309
316
  });
package/Libs.jsx CHANGED
@@ -1,10 +1,18 @@
1
1
  import React, { useState } from "react";
2
- import { FlatList, TextInput, TouchableHighlight } from "react-native";
2
+ import {
3
+ FlatList,
4
+ StyleSheet,
5
+ TextInput,
6
+ TouchableHighlight,
7
+ } from "react-native";
3
8
  import Text from "./Text";
4
9
  import Highlight from "./Highlight";
5
- import packageJson from '../../package.json';
10
+ import packageJson from "../../package.json";
6
11
 
7
- const libs = Object.entries(packageJson.dependencies).reduce((arr,[name, version])=>[...arr,{name,version}],[]);
12
+ const libs = Object.entries(packageJson.dependencies).reduce(
13
+ (arr, [name, version]) => [...arr, { name, version }],
14
+ []
15
+ );
8
16
 
9
17
  export default () => {
10
18
  const [filter, setFilter] = useState("");
@@ -15,7 +23,7 @@ export default () => {
15
23
  value={filter}
16
24
  placeholder="Filter..."
17
25
  placeholderTextColor="grey"
18
- style={{ paddingHorizontal: 5, color: "white" }}
26
+ style={styles.textInput}
19
27
  onChangeText={(t) => setFilter(t.toLowerCase())}
20
28
  clearButtonMode="always"
21
29
  />
@@ -31,14 +39,24 @@ export default () => {
31
39
  keyExtractor={(i) => i.name}
32
40
  renderItem={({ item }) => (
33
41
  <TouchableHighlight underlayColor="#ffffff44" onPress={() => null}>
34
- <Text selectable style={{ color: "white", marginVertical: 10 }}>
35
- <Highlight text={item.name} filter={filter} />
36
- {" : "}
37
- <Highlight text={item.version} filter={filter} />
38
- </Text>
42
+ <Text selectable style={{ color: "white", marginVertical: 10 }}>
43
+ <Highlight text={item.name} filter={filter} />
44
+ {" : "}
45
+ <Highlight text={item.version} filter={filter} />
46
+ </Text>
39
47
  </TouchableHighlight>
40
48
  )}
41
49
  />
42
50
  </>
43
51
  );
44
52
  };
53
+
54
+ const styles = StyleSheet.create({
55
+ textInput: {
56
+ marginHorizontal: 5,
57
+ padding: 5,
58
+ color: "white",
59
+ backgroundColor: "#333",
60
+ borderRadius: 8,
61
+ },
62
+ });
package/Variables.jsx CHANGED
@@ -1,5 +1,5 @@
1
1
  import React, { useState } from "react";
2
- import { FlatList, TextInput } from "react-native";
2
+ import { FlatList, StyleSheet, TextInput } from "react-native";
3
3
  import Text from "./Text";
4
4
  import Highlight from "./Highlight";
5
5
 
@@ -12,7 +12,7 @@ export default ({ variables }) => {
12
12
  value={filter}
13
13
  placeholder="Filter..."
14
14
  placeholderTextColor="grey"
15
- style={{ paddingHorizontal: 5, color: "white" }}
15
+ style={styles.textInput}
16
16
  onChangeText={(t) => setFilter(t.toLowerCase())}
17
17
  clearButtonMode="always"
18
18
  />
@@ -37,3 +37,13 @@ export default ({ variables }) => {
37
37
  </>
38
38
  );
39
39
  };
40
+
41
+ const styles = StyleSheet.create({
42
+ textInput: {
43
+ marginHorizontal: 5,
44
+ padding: 5,
45
+ color: "white",
46
+ backgroundColor: "#333",
47
+ borderRadius: 8,
48
+ },
49
+ });
package/index.jsx CHANGED
@@ -140,6 +140,8 @@ export default ({
140
140
  transform: [{ translateX }, { translateY }],
141
141
  position: "absolute",
142
142
  borderRadius,
143
+ borderColor: 'white',
144
+ borderWidth: .5,
143
145
  backgroundColor: "#000000" + (isOpen ? "ee" : "bb"),
144
146
  height,
145
147
  width,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-in-app-debugger",
3
- "version": "1.0.67",
3
+ "version": "1.0.69",
4
4
  "description": "This library's main usage is to be used by Non-Technical testers during UAT, SIT or any testing phase.",
5
5
  "main": "index.jsx",
6
6
  "scripts": {