react-native-inapp-inspector 2.3.1 → 2.3.3
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/dist/commonjs/components/Inspector/MainScreen.js +1 -1
- package/dist/commonjs/components/Inspector/SkeletonPlaceholder.d.ts +6 -0
- package/dist/commonjs/components/Inspector/SkeletonPlaceholder.js +209 -0
- package/dist/commonjs/components/SkeletonPlaceholder.d.ts +2 -6
- package/dist/commonjs/components/SkeletonPlaceholder.js +10 -195
- package/dist/commonjs/constants/version.d.ts +1 -1
- package/dist/commonjs/constants/version.js +1 -1
- package/dist/commonjs/index.d.ts +1 -0
- package/dist/commonjs/index.js +5 -3
- package/dist/esm/components/Inspector/MainScreen.js +1 -1
- package/dist/esm/components/Inspector/SkeletonPlaceholder.d.ts +6 -0
- package/dist/esm/components/Inspector/SkeletonPlaceholder.js +173 -0
- package/dist/esm/components/SkeletonPlaceholder.d.ts +2 -6
- package/dist/esm/components/SkeletonPlaceholder.js +2 -173
- package/dist/esm/constants/version.d.ts +1 -1
- package/dist/esm/constants/version.js +1 -1
- package/dist/esm/index.d.ts +1 -0
- package/dist/esm/index.js +1 -0
- package/package.json +1 -1
- package/src/components/Inspector/MainScreen.tsx +1 -1
- package/src/components/Inspector/SkeletonPlaceholder.tsx +206 -0
- package/src/components/SkeletonPlaceholder.tsx +2 -206
- package/src/constants/version.ts +1 -1
- package/src/index.tsx +1 -0
|
@@ -49,7 +49,7 @@ const LogDetail_1 = __importDefault(require("./LogDetail"));
|
|
|
49
49
|
const ConsoleTab_1 = __importDefault(require("./ConsoleTab"));
|
|
50
50
|
const AnalyticsTab_1 = __importDefault(require("./AnalyticsTab"));
|
|
51
51
|
const AnalyticsDetail_1 = __importDefault(require("../AnalyticsDetail"));
|
|
52
|
-
const SkeletonPlaceholder_1 = __importDefault(require("
|
|
52
|
+
const SkeletonPlaceholder_1 = __importDefault(require("./SkeletonPlaceholder"));
|
|
53
53
|
const ReduxTab_1 = __importDefault(require("./ReduxTab"));
|
|
54
54
|
const ReduxDetail_1 = __importDefault(require("./ReduxDetail"));
|
|
55
55
|
const BundleTab_1 = __importDefault(require("./BundleTab"));
|
|
@@ -0,0 +1,209 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
+
var ownKeys = function(o) {
|
|
20
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
+
var ar = [];
|
|
22
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
+
return ar;
|
|
24
|
+
};
|
|
25
|
+
return ownKeys(o);
|
|
26
|
+
};
|
|
27
|
+
return function (mod) {
|
|
28
|
+
if (mod && mod.__esModule) return mod;
|
|
29
|
+
var result = {};
|
|
30
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
+
__setModuleDefault(result, mod);
|
|
32
|
+
return result;
|
|
33
|
+
};
|
|
34
|
+
})();
|
|
35
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
|
+
exports.SkeletonPlaceholder = void 0;
|
|
37
|
+
const react_1 = __importStar(require("react"));
|
|
38
|
+
const react_native_1 = require("react-native");
|
|
39
|
+
const AppColors_1 = require("../../styles/AppColors");
|
|
40
|
+
exports.SkeletonPlaceholder = react_1.default.memo(function SkeletonPlaceholder({ cardCount = 4, }) {
|
|
41
|
+
const shimmerAnim = (0, react_1.useRef)(new react_native_1.Animated.Value(0.35)).current;
|
|
42
|
+
(0, react_1.useEffect)(() => {
|
|
43
|
+
const animation = react_native_1.Animated.loop(react_native_1.Animated.sequence([
|
|
44
|
+
react_native_1.Animated.timing(shimmerAnim, {
|
|
45
|
+
toValue: 0.85,
|
|
46
|
+
duration: 750,
|
|
47
|
+
useNativeDriver: true,
|
|
48
|
+
}),
|
|
49
|
+
react_native_1.Animated.timing(shimmerAnim, {
|
|
50
|
+
toValue: 0.35,
|
|
51
|
+
duration: 750,
|
|
52
|
+
useNativeDriver: true,
|
|
53
|
+
}),
|
|
54
|
+
]));
|
|
55
|
+
animation.start();
|
|
56
|
+
return () => animation.stop();
|
|
57
|
+
}, [shimmerAnim]);
|
|
58
|
+
return (<react_native_1.View style={skeletonStyles.container}>
|
|
59
|
+
{/* ─── Search & Scope Toolbar Skeleton ─── */}
|
|
60
|
+
<react_native_1.View style={skeletonStyles.toolbarSkeleton}>
|
|
61
|
+
<react_native_1.Animated.View style={[
|
|
62
|
+
skeletonStyles.searchBarSkeleton,
|
|
63
|
+
{ opacity: shimmerAnim },
|
|
64
|
+
]}/>
|
|
65
|
+
<react_native_1.View style={skeletonStyles.actionButtonsRow}>
|
|
66
|
+
<react_native_1.Animated.View style={[skeletonStyles.iconButtonSkeleton, { opacity: shimmerAnim }]}/>
|
|
67
|
+
<react_native_1.Animated.View style={[skeletonStyles.iconButtonSkeleton, { opacity: shimmerAnim }]}/>
|
|
68
|
+
</react_native_1.View>
|
|
69
|
+
</react_native_1.View>
|
|
70
|
+
|
|
71
|
+
{/* ─── Quick Filter Chips Skeleton Strip ─── */}
|
|
72
|
+
<react_native_1.View style={skeletonStyles.chipStripSkeleton}>
|
|
73
|
+
<react_native_1.Animated.View style={[skeletonStyles.chipSkeleton, { width: 48, opacity: shimmerAnim }]}/>
|
|
74
|
+
<react_native_1.Animated.View style={[skeletonStyles.chipSkeleton, { width: 68, opacity: shimmerAnim }]}/>
|
|
75
|
+
<react_native_1.Animated.View style={[skeletonStyles.chipSkeleton, { width: 76, opacity: shimmerAnim }]}/>
|
|
76
|
+
<react_native_1.Animated.View style={[skeletonStyles.chipSkeleton, { width: 58, opacity: shimmerAnim }]}/>
|
|
77
|
+
</react_native_1.View>
|
|
78
|
+
|
|
79
|
+
{/* ─── List Cards Skeleton ─── */}
|
|
80
|
+
{Array.from({ length: cardCount }).map((_, i) => (<react_native_1.Animated.View key={`skeleton_card_${i}`} style={[skeletonStyles.cardSkeleton, { opacity: shimmerAnim }]}>
|
|
81
|
+
{/* Top row: Status pill + Method + Time */}
|
|
82
|
+
<react_native_1.View style={skeletonStyles.cardTopRow}>
|
|
83
|
+
<react_native_1.View style={skeletonStyles.badgeGroup}>
|
|
84
|
+
<react_native_1.View style={skeletonStyles.statusBadgeSkeleton}/>
|
|
85
|
+
<react_native_1.View style={skeletonStyles.methodBadgeSkeleton}/>
|
|
86
|
+
</react_native_1.View>
|
|
87
|
+
<react_native_1.View style={skeletonStyles.timeSkeleton}/>
|
|
88
|
+
</react_native_1.View>
|
|
89
|
+
|
|
90
|
+
{/* Middle row: URL lines */}
|
|
91
|
+
<react_native_1.View style={skeletonStyles.urlLineLong}/>
|
|
92
|
+
<react_native_1.View style={skeletonStyles.urlLineShort}/>
|
|
93
|
+
|
|
94
|
+
{/* Bottom row: Latency & Size */}
|
|
95
|
+
<react_native_1.View style={skeletonStyles.cardBottomRow}>
|
|
96
|
+
<react_native_1.View style={skeletonStyles.metaPillSkeleton}/>
|
|
97
|
+
<react_native_1.View style={skeletonStyles.metaPillSkeleton}/>
|
|
98
|
+
</react_native_1.View>
|
|
99
|
+
</react_native_1.Animated.View>))}
|
|
100
|
+
</react_native_1.View>);
|
|
101
|
+
});
|
|
102
|
+
const skeletonStyles = react_native_1.StyleSheet.create({
|
|
103
|
+
container: {
|
|
104
|
+
flex: 1,
|
|
105
|
+
paddingHorizontal: 12,
|
|
106
|
+
paddingTop: 8,
|
|
107
|
+
},
|
|
108
|
+
toolbarSkeleton: {
|
|
109
|
+
flexDirection: 'row',
|
|
110
|
+
alignItems: 'center',
|
|
111
|
+
gap: 8,
|
|
112
|
+
marginBottom: 8,
|
|
113
|
+
},
|
|
114
|
+
searchBarSkeleton: {
|
|
115
|
+
flex: 1,
|
|
116
|
+
height: 36,
|
|
117
|
+
borderRadius: 8,
|
|
118
|
+
backgroundColor: AppColors_1.AppColors.graySurface,
|
|
119
|
+
borderWidth: 1,
|
|
120
|
+
borderColor: AppColors_1.AppColors.dividerColor,
|
|
121
|
+
},
|
|
122
|
+
actionButtonsRow: {
|
|
123
|
+
flexDirection: 'row',
|
|
124
|
+
gap: 6,
|
|
125
|
+
},
|
|
126
|
+
iconButtonSkeleton: {
|
|
127
|
+
width: 36,
|
|
128
|
+
height: 36,
|
|
129
|
+
borderRadius: 8,
|
|
130
|
+
backgroundColor: AppColors_1.AppColors.graySurface,
|
|
131
|
+
borderWidth: 1,
|
|
132
|
+
borderColor: AppColors_1.AppColors.dividerColor,
|
|
133
|
+
},
|
|
134
|
+
chipStripSkeleton: {
|
|
135
|
+
flexDirection: 'row',
|
|
136
|
+
gap: 6,
|
|
137
|
+
marginBottom: 10,
|
|
138
|
+
},
|
|
139
|
+
chipSkeleton: {
|
|
140
|
+
height: 24,
|
|
141
|
+
borderRadius: 6,
|
|
142
|
+
backgroundColor: AppColors_1.AppColors.graySurface,
|
|
143
|
+
borderWidth: 1,
|
|
144
|
+
borderColor: AppColors_1.AppColors.dividerColor,
|
|
145
|
+
},
|
|
146
|
+
cardSkeleton: {
|
|
147
|
+
backgroundColor: AppColors_1.AppColors.primaryLight,
|
|
148
|
+
borderRadius: 10,
|
|
149
|
+
padding: 12,
|
|
150
|
+
marginBottom: 8,
|
|
151
|
+
borderWidth: 1,
|
|
152
|
+
borderColor: AppColors_1.AppColors.dividerColor,
|
|
153
|
+
},
|
|
154
|
+
cardTopRow: {
|
|
155
|
+
flexDirection: 'row',
|
|
156
|
+
justifyContent: 'space-between',
|
|
157
|
+
alignItems: 'center',
|
|
158
|
+
marginBottom: 8,
|
|
159
|
+
},
|
|
160
|
+
badgeGroup: {
|
|
161
|
+
flexDirection: 'row',
|
|
162
|
+
alignItems: 'center',
|
|
163
|
+
gap: 6,
|
|
164
|
+
},
|
|
165
|
+
statusBadgeSkeleton: {
|
|
166
|
+
width: 38,
|
|
167
|
+
height: 18,
|
|
168
|
+
borderRadius: 4,
|
|
169
|
+
backgroundColor: AppColors_1.AppColors.graySurface,
|
|
170
|
+
},
|
|
171
|
+
methodBadgeSkeleton: {
|
|
172
|
+
width: 44,
|
|
173
|
+
height: 18,
|
|
174
|
+
borderRadius: 4,
|
|
175
|
+
backgroundColor: AppColors_1.AppColors.graySurface,
|
|
176
|
+
},
|
|
177
|
+
timeSkeleton: {
|
|
178
|
+
width: 48,
|
|
179
|
+
height: 12,
|
|
180
|
+
borderRadius: 4,
|
|
181
|
+
backgroundColor: AppColors_1.AppColors.graySurface,
|
|
182
|
+
},
|
|
183
|
+
urlLineLong: {
|
|
184
|
+
height: 13,
|
|
185
|
+
borderRadius: 4,
|
|
186
|
+
backgroundColor: AppColors_1.AppColors.graySurface,
|
|
187
|
+
marginBottom: 5,
|
|
188
|
+
width: '90%',
|
|
189
|
+
},
|
|
190
|
+
urlLineShort: {
|
|
191
|
+
height: 11,
|
|
192
|
+
borderRadius: 4,
|
|
193
|
+
backgroundColor: AppColors_1.AppColors.graySurface,
|
|
194
|
+
marginBottom: 8,
|
|
195
|
+
width: '55%',
|
|
196
|
+
},
|
|
197
|
+
cardBottomRow: {
|
|
198
|
+
flexDirection: 'row',
|
|
199
|
+
gap: 8,
|
|
200
|
+
marginTop: 2,
|
|
201
|
+
},
|
|
202
|
+
metaPillSkeleton: {
|
|
203
|
+
width: 52,
|
|
204
|
+
height: 14,
|
|
205
|
+
borderRadius: 4,
|
|
206
|
+
backgroundColor: AppColors_1.AppColors.graySurface,
|
|
207
|
+
},
|
|
208
|
+
});
|
|
209
|
+
exports.default = exports.SkeletonPlaceholder;
|
|
@@ -1,6 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
cardCount?: number;
|
|
4
|
-
}
|
|
5
|
-
declare const SkeletonPlaceholder: React.NamedExoticComponent<SkeletonPlaceholderProps>;
|
|
6
|
-
export default SkeletonPlaceholder;
|
|
1
|
+
export * from './Inspector/SkeletonPlaceholder';
|
|
2
|
+
export { default } from './Inspector/SkeletonPlaceholder';
|
|
@@ -10,199 +10,14 @@ var __createBinding = (this && this.__createBinding) || (Object.create ? (functi
|
|
|
10
10
|
if (k2 === undefined) k2 = k;
|
|
11
11
|
o[k2] = m[k];
|
|
12
12
|
}));
|
|
13
|
-
var
|
|
14
|
-
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
var ownKeys = function(o) {
|
|
20
|
-
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
-
var ar = [];
|
|
22
|
-
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
-
return ar;
|
|
24
|
-
};
|
|
25
|
-
return ownKeys(o);
|
|
26
|
-
};
|
|
27
|
-
return function (mod) {
|
|
28
|
-
if (mod && mod.__esModule) return mod;
|
|
29
|
-
var result = {};
|
|
30
|
-
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
-
__setModuleDefault(result, mod);
|
|
32
|
-
return result;
|
|
33
|
-
};
|
|
34
|
-
})();
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
17
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
18
|
+
};
|
|
35
19
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
const shimmerAnim = (0, react_1.useRef)(new react_native_1.Animated.Value(0.35)).current;
|
|
41
|
-
(0, react_1.useEffect)(() => {
|
|
42
|
-
const animation = react_native_1.Animated.loop(react_native_1.Animated.sequence([
|
|
43
|
-
react_native_1.Animated.timing(shimmerAnim, {
|
|
44
|
-
toValue: 0.85,
|
|
45
|
-
duration: 750,
|
|
46
|
-
useNativeDriver: true,
|
|
47
|
-
}),
|
|
48
|
-
react_native_1.Animated.timing(shimmerAnim, {
|
|
49
|
-
toValue: 0.35,
|
|
50
|
-
duration: 750,
|
|
51
|
-
useNativeDriver: true,
|
|
52
|
-
}),
|
|
53
|
-
]));
|
|
54
|
-
animation.start();
|
|
55
|
-
return () => animation.stop();
|
|
56
|
-
}, [shimmerAnim]);
|
|
57
|
-
return (<react_native_1.View style={skeletonStyles.container}>
|
|
58
|
-
{/* ─── Search & Scope Toolbar Skeleton ─── */}
|
|
59
|
-
<react_native_1.View style={skeletonStyles.toolbarSkeleton}>
|
|
60
|
-
<react_native_1.Animated.View style={[
|
|
61
|
-
skeletonStyles.searchBarSkeleton,
|
|
62
|
-
{ opacity: shimmerAnim },
|
|
63
|
-
]}/>
|
|
64
|
-
<react_native_1.View style={skeletonStyles.actionButtonsRow}>
|
|
65
|
-
<react_native_1.Animated.View style={[skeletonStyles.iconButtonSkeleton, { opacity: shimmerAnim }]}/>
|
|
66
|
-
<react_native_1.Animated.View style={[skeletonStyles.iconButtonSkeleton, { opacity: shimmerAnim }]}/>
|
|
67
|
-
</react_native_1.View>
|
|
68
|
-
</react_native_1.View>
|
|
69
|
-
|
|
70
|
-
{/* ─── Quick Filter Chips Skeleton Strip ─── */}
|
|
71
|
-
<react_native_1.View style={skeletonStyles.chipStripSkeleton}>
|
|
72
|
-
<react_native_1.Animated.View style={[skeletonStyles.chipSkeleton, { width: 48, opacity: shimmerAnim }]}/>
|
|
73
|
-
<react_native_1.Animated.View style={[skeletonStyles.chipSkeleton, { width: 68, opacity: shimmerAnim }]}/>
|
|
74
|
-
<react_native_1.Animated.View style={[skeletonStyles.chipSkeleton, { width: 76, opacity: shimmerAnim }]}/>
|
|
75
|
-
<react_native_1.Animated.View style={[skeletonStyles.chipSkeleton, { width: 58, opacity: shimmerAnim }]}/>
|
|
76
|
-
</react_native_1.View>
|
|
77
|
-
|
|
78
|
-
{/* ─── List Cards Skeleton ─── */}
|
|
79
|
-
{Array.from({ length: cardCount }).map((_, i) => (<react_native_1.Animated.View key={`skeleton_card_${i}`} style={[skeletonStyles.cardSkeleton, { opacity: shimmerAnim }]}>
|
|
80
|
-
{/* Top row: Status pill + Method + Time */}
|
|
81
|
-
<react_native_1.View style={skeletonStyles.cardTopRow}>
|
|
82
|
-
<react_native_1.View style={skeletonStyles.badgeGroup}>
|
|
83
|
-
<react_native_1.View style={skeletonStyles.statusBadgeSkeleton}/>
|
|
84
|
-
<react_native_1.View style={skeletonStyles.methodBadgeSkeleton}/>
|
|
85
|
-
</react_native_1.View>
|
|
86
|
-
<react_native_1.View style={skeletonStyles.timeSkeleton}/>
|
|
87
|
-
</react_native_1.View>
|
|
88
|
-
|
|
89
|
-
{/* Middle row: URL lines */}
|
|
90
|
-
<react_native_1.View style={skeletonStyles.urlLineLong}/>
|
|
91
|
-
<react_native_1.View style={skeletonStyles.urlLineShort}/>
|
|
92
|
-
|
|
93
|
-
{/* Bottom row: Latency & Size */}
|
|
94
|
-
<react_native_1.View style={skeletonStyles.cardBottomRow}>
|
|
95
|
-
<react_native_1.View style={skeletonStyles.metaPillSkeleton}/>
|
|
96
|
-
<react_native_1.View style={skeletonStyles.metaPillSkeleton}/>
|
|
97
|
-
</react_native_1.View>
|
|
98
|
-
</react_native_1.Animated.View>))}
|
|
99
|
-
</react_native_1.View>);
|
|
100
|
-
});
|
|
101
|
-
const skeletonStyles = react_native_1.StyleSheet.create({
|
|
102
|
-
container: {
|
|
103
|
-
flex: 1,
|
|
104
|
-
paddingHorizontal: 12,
|
|
105
|
-
paddingTop: 8,
|
|
106
|
-
},
|
|
107
|
-
toolbarSkeleton: {
|
|
108
|
-
flexDirection: 'row',
|
|
109
|
-
alignItems: 'center',
|
|
110
|
-
gap: 8,
|
|
111
|
-
marginBottom: 8,
|
|
112
|
-
},
|
|
113
|
-
searchBarSkeleton: {
|
|
114
|
-
flex: 1,
|
|
115
|
-
height: 36,
|
|
116
|
-
borderRadius: 8,
|
|
117
|
-
backgroundColor: AppColors_1.AppColors.graySurface,
|
|
118
|
-
borderWidth: 1,
|
|
119
|
-
borderColor: AppColors_1.AppColors.dividerColor,
|
|
120
|
-
},
|
|
121
|
-
actionButtonsRow: {
|
|
122
|
-
flexDirection: 'row',
|
|
123
|
-
gap: 6,
|
|
124
|
-
},
|
|
125
|
-
iconButtonSkeleton: {
|
|
126
|
-
width: 36,
|
|
127
|
-
height: 36,
|
|
128
|
-
borderRadius: 8,
|
|
129
|
-
backgroundColor: AppColors_1.AppColors.graySurface,
|
|
130
|
-
borderWidth: 1,
|
|
131
|
-
borderColor: AppColors_1.AppColors.dividerColor,
|
|
132
|
-
},
|
|
133
|
-
chipStripSkeleton: {
|
|
134
|
-
flexDirection: 'row',
|
|
135
|
-
gap: 6,
|
|
136
|
-
marginBottom: 10,
|
|
137
|
-
},
|
|
138
|
-
chipSkeleton: {
|
|
139
|
-
height: 24,
|
|
140
|
-
borderRadius: 6,
|
|
141
|
-
backgroundColor: AppColors_1.AppColors.graySurface,
|
|
142
|
-
borderWidth: 1,
|
|
143
|
-
borderColor: AppColors_1.AppColors.dividerColor,
|
|
144
|
-
},
|
|
145
|
-
cardSkeleton: {
|
|
146
|
-
backgroundColor: AppColors_1.AppColors.primaryLight,
|
|
147
|
-
borderRadius: 10,
|
|
148
|
-
padding: 12,
|
|
149
|
-
marginBottom: 8,
|
|
150
|
-
borderWidth: 1,
|
|
151
|
-
borderColor: AppColors_1.AppColors.dividerColor,
|
|
152
|
-
},
|
|
153
|
-
cardTopRow: {
|
|
154
|
-
flexDirection: 'row',
|
|
155
|
-
justifyContent: 'space-between',
|
|
156
|
-
alignItems: 'center',
|
|
157
|
-
marginBottom: 8,
|
|
158
|
-
},
|
|
159
|
-
badgeGroup: {
|
|
160
|
-
flexDirection: 'row',
|
|
161
|
-
alignItems: 'center',
|
|
162
|
-
gap: 6,
|
|
163
|
-
},
|
|
164
|
-
statusBadgeSkeleton: {
|
|
165
|
-
width: 38,
|
|
166
|
-
height: 18,
|
|
167
|
-
borderRadius: 4,
|
|
168
|
-
backgroundColor: AppColors_1.AppColors.graySurface,
|
|
169
|
-
},
|
|
170
|
-
methodBadgeSkeleton: {
|
|
171
|
-
width: 44,
|
|
172
|
-
height: 18,
|
|
173
|
-
borderRadius: 4,
|
|
174
|
-
backgroundColor: AppColors_1.AppColors.graySurface,
|
|
175
|
-
},
|
|
176
|
-
timeSkeleton: {
|
|
177
|
-
width: 48,
|
|
178
|
-
height: 12,
|
|
179
|
-
borderRadius: 4,
|
|
180
|
-
backgroundColor: AppColors_1.AppColors.graySurface,
|
|
181
|
-
},
|
|
182
|
-
urlLineLong: {
|
|
183
|
-
height: 13,
|
|
184
|
-
borderRadius: 4,
|
|
185
|
-
backgroundColor: AppColors_1.AppColors.graySurface,
|
|
186
|
-
marginBottom: 5,
|
|
187
|
-
width: '90%',
|
|
188
|
-
},
|
|
189
|
-
urlLineShort: {
|
|
190
|
-
height: 11,
|
|
191
|
-
borderRadius: 4,
|
|
192
|
-
backgroundColor: AppColors_1.AppColors.graySurface,
|
|
193
|
-
marginBottom: 8,
|
|
194
|
-
width: '55%',
|
|
195
|
-
},
|
|
196
|
-
cardBottomRow: {
|
|
197
|
-
flexDirection: 'row',
|
|
198
|
-
gap: 8,
|
|
199
|
-
marginTop: 2,
|
|
200
|
-
},
|
|
201
|
-
metaPillSkeleton: {
|
|
202
|
-
width: 52,
|
|
203
|
-
height: 14,
|
|
204
|
-
borderRadius: 4,
|
|
205
|
-
backgroundColor: AppColors_1.AppColors.graySurface,
|
|
206
|
-
},
|
|
207
|
-
});
|
|
208
|
-
exports.default = SkeletonPlaceholder;
|
|
20
|
+
exports.default = void 0;
|
|
21
|
+
__exportStar(require("./Inspector/SkeletonPlaceholder"), exports);
|
|
22
|
+
var SkeletonPlaceholder_1 = require("./Inspector/SkeletonPlaceholder");
|
|
23
|
+
Object.defineProperty(exports, "default", { enumerable: true, get: function () { return __importDefault(SkeletonPlaceholder_1).default; } });
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const LIB_VERSION = "2.3.
|
|
1
|
+
export declare const LIB_VERSION = "2.3.3";
|
|
@@ -3,4 +3,4 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.LIB_VERSION = void 0;
|
|
4
4
|
// AUTO-GENERATED FILE — do not edit by hand.
|
|
5
5
|
// Regenerated from package.json on every build by scripts/gen-version.js.
|
|
6
|
-
exports.LIB_VERSION = '2.3.
|
|
6
|
+
exports.LIB_VERSION = '2.3.3';
|
package/dist/commonjs/index.d.ts
CHANGED
|
@@ -8,6 +8,7 @@ export { setupAnalyticsLogger, logAnalyticsEvent, subscribeAnalyticsEvents, clea
|
|
|
8
8
|
export { setupGlobalCrashHandler, subscribeCrashEvents, emitCrashEvent, getCrashRecords, clearCrashRecords, simulateTestCrash, exportCrashReport, parseCrashStackTrace, recordCustomCrash, addCrashBreadcrumb, recordNavigationBreadcrumb, recordNetworkBreadcrumb, recordReduxBreadcrumb, recordUserActionBreadcrumb, computeCrashFingerprint, type CrashEventPayload, } from './customHooks/crashHandler';
|
|
9
9
|
export { default as CrashTab } from './components/Inspector/CrashTab';
|
|
10
10
|
export { default as ErrorBoundary } from './components/ErrorBoundary';
|
|
11
|
+
export { default as SkeletonPlaceholder } from './components/Inspector/SkeletonPlaceholder';
|
|
11
12
|
export { connectReduxStore, inspectorReduxMiddleware, getReduxState, subscribeReduxState, getActionHistory, clearActionHistory, getLastActionForReducer, } from './customHooks/reduxLogger';
|
|
12
13
|
export { getEventCategory, registerGAPlugin, type GAPlugin, } from './helpers/gaAnalyticsRegistry';
|
|
13
14
|
export { usePerformanceTracker, useComponentProfiler, useNavigationProfiler, trackComponentRender, trackNavigationTransition, trackHeavyTask, measureAsync, getHermesMemoryStats, registerComponentProfile, subscribeRenderProfiles, getRenderProfiles, logPerformanceEvent, clearPerformanceEvents, subscribePerformanceEvents, getPerformanceEvents, getInitialRenderProfiles, getInitialPerformanceEvents, generateFixSnippet, } from './customHooks/performanceTracker';
|
package/dist/commonjs/index.js
CHANGED
|
@@ -36,9 +36,9 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
36
36
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
37
37
|
};
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
exports.
|
|
40
|
-
exports.
|
|
41
|
-
exports.I18nextProvider = exports.setTranslations = exports.addTranslations = exports.setLanguage = exports.useTranslation = exports.i18n = exports.t = exports.updateAppColorsTheme = exports.getThemeColors = exports.setAppColors = exports.AppColors = exports.setAppFonts = exports.AppFonts = exports.BreadcrumbType = exports.CrashFilterType = exports.CrashDetailSubTab = exports.CrashExportFormat = exports.CrashType = exports.PerformanceSubTab = exports.BundleSubTab = exports.DiffResultType = exports.StackFrameType = exports.GAEventCategory = exports.AnalyticsEventSource = exports.ConsoleLogType = exports.LogFilter = exports.SettingsSubTab = exports.SettingsPage = exports.ModalAnimationType = exports.LocalFilter = exports.SortOrder = exports.StatusFilter = exports.Method = exports.ActiveTab = exports.subscribeToStorageChanges = exports.clearStorageDriver = exports.removeStorageEntry = exports.setStorageEntry = exports.fetchStorageEntries = exports.getRegisteredMMKVInstanceIds = exports.isMMKVConnected = exports.isAsyncStorageConnected = void 0;
|
|
39
|
+
exports.getHermesMemoryStats = exports.measureAsync = exports.trackHeavyTask = exports.trackNavigationTransition = exports.trackComponentRender = exports.useNavigationProfiler = exports.useComponentProfiler = exports.usePerformanceTracker = exports.registerGAPlugin = exports.getEventCategory = exports.getLastActionForReducer = exports.clearActionHistory = exports.getActionHistory = exports.subscribeReduxState = exports.getReduxState = exports.inspectorReduxMiddleware = exports.connectReduxStore = exports.SkeletonPlaceholder = exports.ErrorBoundary = exports.CrashTab = exports.computeCrashFingerprint = exports.recordUserActionBreadcrumb = exports.recordReduxBreadcrumb = exports.recordNetworkBreadcrumb = exports.recordNavigationBreadcrumb = exports.addCrashBreadcrumb = exports.recordCustomCrash = exports.parseCrashStackTrace = exports.exportCrashReport = exports.simulateTestCrash = exports.clearCrashRecords = exports.getCrashRecords = exports.emitCrashEvent = exports.subscribeCrashEvents = exports.setupGlobalCrashHandler = exports.getCollectionEnabled = exports.getDefaultEventParameters = exports.getCurrentUserId = exports.getCurrentUserProperties = exports.clearAnalyticsEvents = exports.subscribeAnalyticsEvents = exports.logAnalyticsEvent = exports.setupAnalyticsLogger = exports.subscribeConsoleLogs = exports.clearConsoleLogs = exports.setupConsoleLogger = exports.addAxiosInterceptors = exports.subscribeNetworkLogs = exports.clearNetworkLogs = exports.setupNetworkLogger = void 0;
|
|
40
|
+
exports.connectAsyncStorage = exports.BrandCircleIcon = exports.BrandSquareIcon = exports.prunePerformanceEvents = exports.getMaxPerformanceEventsLimit = exports.setMaxPerformanceEventsLimit = exports.pruneCrashRecords = exports.getMaxCrashLogsLimit = exports.pruneAnalyticsLogs = exports.getMaxAnalyticsLogsLimit = exports.setMaxAnalyticsLogsLimit = exports.pruneReduxHistory = exports.getMaxReduxHistoryLimit = exports.setMaxReduxHistoryLimit = exports.pruneConsoleLogs = exports.getMaxConsoleLogsLimit = exports.setMaxConsoleLogsLimit = exports.pruneNetworkLogs = exports.getMaxNetworkLogsLimit = exports.setMaxNetworkLogsLimit = exports.subscribeMemoryWarning = exports.pruneAllLogs = exports.setupMemoryWarningHandler = exports.isNativeModuleAvailable = exports.setNativeStorageItem = exports.getNativeStorageItem = exports.getNativeFpsMetrics = exports.stopNativeFpsMonitoring = exports.startNativeFpsMonitoring = exports.subscribeNativeDeviceShake = exports.subscribeNativeFloatingButtonPress = exports.setNativeFloatingButtonBadge = exports.hideNativeFloatingButton = exports.showNativeFloatingButton = exports.subscribeNativeCrashes = exports.enableNativeCrashProtection = exports.getNativeDeviceMetrics = exports.InspectCatch = exports.InspectTrackTime = exports.InspectLog = exports.generateFixSnippet = exports.getInitialPerformanceEvents = exports.getInitialRenderProfiles = exports.getPerformanceEvents = exports.subscribePerformanceEvents = exports.clearPerformanceEvents = exports.logPerformanceEvent = exports.getRenderProfiles = exports.subscribeRenderProfiles = exports.registerComponentProfile = void 0;
|
|
41
|
+
exports.I18nextProvider = exports.setTranslations = exports.addTranslations = exports.setLanguage = exports.useTranslation = exports.i18n = exports.t = exports.updateAppColorsTheme = exports.getThemeColors = exports.setAppColors = exports.AppColors = exports.setAppFonts = exports.AppFonts = exports.BreadcrumbType = exports.CrashFilterType = exports.CrashDetailSubTab = exports.CrashExportFormat = exports.CrashType = exports.PerformanceSubTab = exports.BundleSubTab = exports.DiffResultType = exports.StackFrameType = exports.GAEventCategory = exports.AnalyticsEventSource = exports.ConsoleLogType = exports.LogFilter = exports.SettingsSubTab = exports.SettingsPage = exports.ModalAnimationType = exports.LocalFilter = exports.SortOrder = exports.StatusFilter = exports.Method = exports.ActiveTab = exports.subscribeToStorageChanges = exports.clearStorageDriver = exports.removeStorageEntry = exports.setStorageEntry = exports.fetchStorageEntries = exports.getRegisteredMMKVInstanceIds = exports.isMMKVConnected = exports.isAsyncStorageConnected = exports.connectMMKV = void 0;
|
|
42
42
|
const react_1 = __importStar(require("react"));
|
|
43
43
|
const react_native_1 = require("react-native");
|
|
44
44
|
const native_1 = require("@react-navigation/native");
|
|
@@ -1939,6 +1939,8 @@ var CrashTab_1 = require("./components/Inspector/CrashTab");
|
|
|
1939
1939
|
Object.defineProperty(exports, "CrashTab", { enumerable: true, get: function () { return __importDefault(CrashTab_1).default; } });
|
|
1940
1940
|
var ErrorBoundary_2 = require("./components/ErrorBoundary");
|
|
1941
1941
|
Object.defineProperty(exports, "ErrorBoundary", { enumerable: true, get: function () { return __importDefault(ErrorBoundary_2).default; } });
|
|
1942
|
+
var SkeletonPlaceholder_1 = require("./components/Inspector/SkeletonPlaceholder");
|
|
1943
|
+
Object.defineProperty(exports, "SkeletonPlaceholder", { enumerable: true, get: function () { return __importDefault(SkeletonPlaceholder_1).default; } });
|
|
1942
1944
|
var reduxLogger_2 = require("./customHooks/reduxLogger");
|
|
1943
1945
|
Object.defineProperty(exports, "connectReduxStore", { enumerable: true, get: function () { return reduxLogger_2.connectReduxStore; } });
|
|
1944
1946
|
Object.defineProperty(exports, "inspectorReduxMiddleware", { enumerable: true, get: function () { return reduxLogger_2.inspectorReduxMiddleware; } });
|
|
@@ -11,7 +11,7 @@ import LogDetail from './LogDetail';
|
|
|
11
11
|
import ConsoleTab from './ConsoleTab';
|
|
12
12
|
import AnalyticsTab from './AnalyticsTab';
|
|
13
13
|
import AnalyticsDetail from '../AnalyticsDetail';
|
|
14
|
-
import SkeletonPlaceholder from '
|
|
14
|
+
import SkeletonPlaceholder from './SkeletonPlaceholder';
|
|
15
15
|
import ReduxTab from './ReduxTab';
|
|
16
16
|
import ReduxDetail from './ReduxDetail';
|
|
17
17
|
import BundleTab from './BundleTab';
|