react-native-in-app-debugger 1.0.67 → 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 +9 -2
- package/Libs.jsx +27 -9
- package/Variables.jsx +12 -2
- package/package.json +1 -1
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
|
-
|
|
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: {
|
|
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 {
|
|
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
|
|
10
|
+
import packageJson from "../../package.json";
|
|
6
11
|
|
|
7
|
-
const libs = Object.entries(packageJson.dependencies).reduce(
|
|
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={
|
|
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
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
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={
|
|
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/package.json
CHANGED