react-native-in-app-debugger 1.0.66 → 1.0.68

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
@@ -143,7 +143,7 @@ export default ({
143
143
  backgroundColor: "#000000" + (isOpen ? "ee" : "bb"),
144
144
  height,
145
145
  width,
146
- zIndex: 999999999999999,
146
+ zIndex: 999999999,
147
147
  borderTopRightRadius: numPendingApiCalls || errors ? 0 : undefined,
148
148
  }}
149
149
  {...(isOpen ? {} : panResponder.panHandlers)}
package/package.json CHANGED
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "react-native-in-app-debugger",
3
- "version": "1.0.66",
3
+ "version": "1.0.68",
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": {
7
7
  "test": "echo \"Error: no test specified\" && exit 1",
8
- "deploy": "npm publish --access=public"
8
+ "pub": "npm publish --access=public"
9
9
  },
10
10
  "keywords": [
11
11
  "debugger"