react-native-inapp-inspector 1.1.13 → 1.1.15

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.
Files changed (250) hide show
  1. package/README.md +9 -34
  2. package/dist/commonjs/assets/svgAssets.d.ts +3 -0
  3. package/dist/commonjs/assets/svgAssets.js +17 -0
  4. package/dist/commonjs/components/AnalyticsEventCard.d.ts +1 -14
  5. package/dist/commonjs/components/AnalyticsEventCard.js +120 -50
  6. package/dist/commonjs/components/AnalyticsGraph.d.ts +2 -6
  7. package/dist/commonjs/components/AnalyticsGraph.js +8 -8
  8. package/dist/commonjs/components/AnalyticsTabView.d.ts +15 -0
  9. package/dist/commonjs/components/AnalyticsTabView.js +157 -0
  10. package/dist/commonjs/components/AnimatedEntrance.d.ts +1 -1
  11. package/dist/commonjs/components/AnimatedEntrance.js +2 -2
  12. package/dist/commonjs/components/ApiDetailView.d.ts +22 -0
  13. package/dist/commonjs/components/ApiDetailView.js +304 -0
  14. package/dist/commonjs/components/ApisTabView.d.ts +33 -0
  15. package/dist/commonjs/components/ApisTabView.js +235 -0
  16. package/dist/commonjs/components/CodeSnippet.d.ts +1 -5
  17. package/dist/commonjs/components/CodeSnippet.js +34 -34
  18. package/dist/commonjs/components/ConsoleLogCard.d.ts +1 -8
  19. package/dist/commonjs/components/ConsoleLogCard.js +262 -442
  20. package/dist/commonjs/components/ConsoleLogDetailView.d.ts +9 -0
  21. package/dist/commonjs/components/ConsoleLogDetailView.js +278 -0
  22. package/dist/commonjs/components/ConsoleLogsTabView.d.ts +24 -0
  23. package/dist/commonjs/components/ConsoleLogsTabView.js +354 -0
  24. package/dist/commonjs/components/DiffViewer.js +4 -2
  25. package/dist/commonjs/components/DomainHeader.js +66 -41
  26. package/dist/commonjs/components/EmptyState.d.ts +2 -2
  27. package/dist/commonjs/components/EmptyState.js +2 -2
  28. package/dist/commonjs/components/EndOfListFooter.d.ts +8 -0
  29. package/dist/commonjs/components/EndOfListFooter.js +90 -0
  30. package/dist/commonjs/components/ErrorBoundary.d.ts +5 -14
  31. package/dist/commonjs/components/ErrorBoundary.js +28 -28
  32. package/dist/commonjs/components/FloatingBubble.d.ts +14 -0
  33. package/dist/commonjs/components/FloatingBubble.js +75 -0
  34. package/dist/commonjs/components/HeadersSection.js +5 -3
  35. package/dist/commonjs/components/HighlightText.d.ts +1 -1
  36. package/dist/commonjs/components/HighlightText.js +5 -7
  37. package/dist/commonjs/components/Inspector/AnalyticsTab.d.ts +3 -0
  38. package/dist/commonjs/components/Inspector/AnalyticsTab.js +232 -0
  39. package/dist/commonjs/components/Inspector/ConsoleTab.d.ts +3 -0
  40. package/dist/commonjs/components/Inspector/ConsoleTab.js +410 -0
  41. package/dist/commonjs/components/Inspector/FabLauncher.d.ts +3 -0
  42. package/dist/commonjs/components/Inspector/FabLauncher.js +54 -0
  43. package/dist/commonjs/components/Inspector/InsightsDashboard.d.ts +3 -0
  44. package/dist/commonjs/components/Inspector/InsightsDashboard.js +619 -0
  45. package/dist/commonjs/components/Inspector/InspectorContext.d.ts +5 -0
  46. package/dist/commonjs/components/Inspector/InspectorContext.js +18 -0
  47. package/dist/commonjs/components/Inspector/InspectorHeader.d.ts +3 -0
  48. package/dist/commonjs/components/Inspector/InspectorHeader.js +452 -0
  49. package/dist/commonjs/components/Inspector/LogDetail.d.ts +3 -0
  50. package/dist/commonjs/components/Inspector/LogDetail.js +963 -0
  51. package/dist/commonjs/components/Inspector/MainScreen.d.ts +3 -0
  52. package/dist/commonjs/components/Inspector/MainScreen.js +68 -0
  53. package/dist/commonjs/components/Inspector/NavigationTracker.d.ts +3 -0
  54. package/dist/commonjs/components/Inspector/NavigationTracker.js +12 -0
  55. package/dist/commonjs/components/Inspector/NetworkDetail.d.ts +3 -0
  56. package/dist/commonjs/components/Inspector/NetworkDetail.js +405 -0
  57. package/dist/commonjs/components/Inspector/NetworkTab.d.ts +3 -0
  58. package/dist/commonjs/components/Inspector/NetworkTab.js +281 -0
  59. package/dist/commonjs/components/Inspector/ReduxTab.d.ts +3 -0
  60. package/dist/commonjs/components/Inspector/ReduxTab.js +75 -0
  61. package/dist/commonjs/components/Inspector/SettingsPanel.d.ts +3 -0
  62. package/dist/commonjs/components/Inspector/SettingsPanel.js +1476 -0
  63. package/dist/commonjs/components/Inspector/TabBar.d.ts +3 -0
  64. package/dist/commonjs/components/Inspector/TabBar.js +95 -0
  65. package/dist/commonjs/components/Inspector/WebViewTab.d.ts +3 -0
  66. package/dist/commonjs/components/Inspector/WebViewTab.js +757 -0
  67. package/dist/commonjs/components/InspectorHeader.d.ts +19 -0
  68. package/dist/commonjs/components/InspectorHeader.js +329 -0
  69. package/dist/commonjs/components/InspectorTabBar.d.ts +16 -0
  70. package/dist/commonjs/components/InspectorTabBar.js +90 -0
  71. package/dist/commonjs/components/JsonViewer.d.ts +4 -1
  72. package/dist/commonjs/components/JsonViewer.js +110 -171
  73. package/dist/commonjs/components/LogCard.js +109 -86
  74. package/dist/commonjs/components/MetaAccordion.d.ts +1 -10
  75. package/dist/commonjs/components/MetaAccordion.js +23 -21
  76. package/dist/commonjs/components/NavigationTracker.d.ts +7 -0
  77. package/dist/commonjs/components/NavigationTracker.js +76 -0
  78. package/dist/commonjs/components/NetworkIcons.d.ts +6 -0
  79. package/dist/commonjs/components/NetworkIcons.js +54 -8
  80. package/dist/commonjs/components/ReduxTabView.d.ts +9 -0
  81. package/dist/commonjs/components/ReduxTabView.js +56 -0
  82. package/dist/commonjs/components/ReduxTreeView.js +241 -200
  83. package/dist/commonjs/components/SegmentedTabs.d.ts +15 -0
  84. package/dist/commonjs/components/SegmentedTabs.js +52 -0
  85. package/dist/commonjs/components/SettingsView.d.ts +13 -0
  86. package/dist/commonjs/components/SettingsView.js +328 -0
  87. package/dist/commonjs/components/TouchableScale.d.ts +2 -2
  88. package/dist/commonjs/components/TouchableScale.js +2 -2
  89. package/dist/commonjs/components/TreeNode.js +2 -2
  90. package/dist/commonjs/constants/index.js +1 -12
  91. package/dist/commonjs/constants/version.d.ts +1 -1
  92. package/dist/commonjs/constants/version.js +1 -1
  93. package/dist/commonjs/customHooks/analyticsLogger.d.ts +8 -0
  94. package/dist/commonjs/customHooks/analyticsLogger.js +42 -1
  95. package/dist/commonjs/customHooks/consoleLogger.js +137 -13
  96. package/dist/commonjs/customHooks/networkLogger.d.ts +0 -1
  97. package/dist/commonjs/customHooks/networkLogger.js +0 -1
  98. package/dist/commonjs/customHooks/reduxLogger.d.ts +2 -9
  99. package/dist/commonjs/enums/index.d.ts +39 -0
  100. package/dist/commonjs/enums/index.js +50 -0
  101. package/dist/commonjs/helpers/index.d.ts +27 -1
  102. package/dist/commonjs/helpers/index.js +187 -12
  103. package/dist/commonjs/helpers/settingsStore.d.ts +2 -24
  104. package/dist/commonjs/i18n/en.json +144 -0
  105. package/dist/commonjs/i18n/index.d.ts +2 -0
  106. package/dist/commonjs/i18n/index.js +27 -0
  107. package/dist/commonjs/i18n/locales/en.json +314 -0
  108. package/dist/commonjs/index.d.ts +2 -3
  109. package/dist/commonjs/index.js +207 -4927
  110. package/dist/commonjs/styles/AppColors.d.ts +148 -0
  111. package/dist/commonjs/styles/AppColors.js +176 -0
  112. package/dist/commonjs/styles/common.d.ts +3 -0
  113. package/dist/commonjs/styles/common.js +201 -0
  114. package/dist/commonjs/styles/index.d.ts +219 -435
  115. package/dist/commonjs/styles/index.js +312 -488
  116. package/dist/commonjs/types/enums.d.ts +9 -0
  117. package/dist/commonjs/types/enums.js +4 -0
  118. package/dist/commonjs/types/index.d.ts +4 -111
  119. package/dist/commonjs/types/index.js +16 -0
  120. package/dist/commonjs/types/interfaces.d.ts +337 -0
  121. package/dist/commonjs/types/interfaces.js +2 -0
  122. package/dist/esm/assets/svgAssets.d.ts +3 -0
  123. package/dist/esm/assets/svgAssets.js +14 -0
  124. package/dist/esm/components/AnalyticsEventCard.d.ts +1 -14
  125. package/dist/esm/components/AnalyticsEventCard.js +118 -48
  126. package/dist/esm/components/AnalyticsGraph.d.ts +2 -6
  127. package/dist/esm/components/AnalyticsGraph.js +8 -8
  128. package/dist/esm/components/AnalyticsTabView.d.ts +15 -0
  129. package/dist/esm/components/AnalyticsTabView.js +151 -0
  130. package/dist/esm/components/AnimatedEntrance.d.ts +1 -1
  131. package/dist/esm/components/AnimatedEntrance.js +2 -2
  132. package/dist/esm/components/ApiDetailView.d.ts +22 -0
  133. package/dist/esm/components/ApiDetailView.js +264 -0
  134. package/dist/esm/components/ApisTabView.d.ts +33 -0
  135. package/dist/esm/components/ApisTabView.js +196 -0
  136. package/dist/esm/components/CodeSnippet.d.ts +1 -5
  137. package/dist/esm/components/CodeSnippet.js +34 -34
  138. package/dist/esm/components/ConsoleLogCard.d.ts +1 -8
  139. package/dist/esm/components/ConsoleLogCard.js +262 -409
  140. package/dist/esm/components/ConsoleLogDetailView.d.ts +9 -0
  141. package/dist/esm/components/ConsoleLogDetailView.js +271 -0
  142. package/dist/esm/components/ConsoleLogsTabView.d.ts +24 -0
  143. package/dist/esm/components/ConsoleLogsTabView.js +348 -0
  144. package/dist/esm/components/DiffViewer.js +4 -2
  145. package/dist/esm/components/DomainHeader.js +66 -41
  146. package/dist/esm/components/EmptyState.d.ts +2 -2
  147. package/dist/esm/components/EmptyState.js +2 -2
  148. package/dist/esm/components/EndOfListFooter.d.ts +8 -0
  149. package/dist/esm/components/EndOfListFooter.js +83 -0
  150. package/dist/esm/components/ErrorBoundary.d.ts +5 -14
  151. package/dist/esm/components/ErrorBoundary.js +29 -29
  152. package/dist/esm/components/FloatingBubble.d.ts +14 -0
  153. package/dist/esm/components/FloatingBubble.js +68 -0
  154. package/dist/esm/components/HeadersSection.js +5 -3
  155. package/dist/esm/components/HighlightText.d.ts +1 -1
  156. package/dist/esm/components/HighlightText.js +5 -7
  157. package/dist/esm/components/Inspector/AnalyticsTab.d.ts +3 -0
  158. package/dist/esm/components/Inspector/AnalyticsTab.js +194 -0
  159. package/dist/esm/components/Inspector/ConsoleTab.d.ts +3 -0
  160. package/dist/esm/components/Inspector/ConsoleTab.js +372 -0
  161. package/dist/esm/components/Inspector/FabLauncher.d.ts +3 -0
  162. package/dist/esm/components/Inspector/FabLauncher.js +49 -0
  163. package/dist/esm/components/Inspector/InsightsDashboard.d.ts +3 -0
  164. package/dist/esm/components/Inspector/InsightsDashboard.js +614 -0
  165. package/dist/esm/components/Inspector/InspectorContext.d.ts +5 -0
  166. package/dist/esm/components/Inspector/InspectorContext.js +13 -0
  167. package/dist/esm/components/Inspector/InspectorHeader.d.ts +3 -0
  168. package/dist/esm/components/Inspector/InspectorHeader.js +447 -0
  169. package/dist/esm/components/Inspector/LogDetail.d.ts +3 -0
  170. package/dist/esm/components/Inspector/LogDetail.js +925 -0
  171. package/dist/esm/components/Inspector/MainScreen.d.ts +3 -0
  172. package/dist/esm/components/Inspector/MainScreen.js +63 -0
  173. package/dist/esm/components/Inspector/NavigationTracker.d.ts +3 -0
  174. package/dist/esm/components/Inspector/NavigationTracker.js +10 -0
  175. package/dist/esm/components/Inspector/NetworkDetail.d.ts +3 -0
  176. package/dist/esm/components/Inspector/NetworkDetail.js +367 -0
  177. package/dist/esm/components/Inspector/NetworkTab.d.ts +3 -0
  178. package/dist/esm/components/Inspector/NetworkTab.js +243 -0
  179. package/dist/esm/components/Inspector/ReduxTab.d.ts +3 -0
  180. package/dist/esm/components/Inspector/ReduxTab.js +70 -0
  181. package/dist/esm/components/Inspector/SettingsPanel.d.ts +3 -0
  182. package/dist/esm/components/Inspector/SettingsPanel.js +1438 -0
  183. package/dist/esm/components/Inspector/TabBar.d.ts +3 -0
  184. package/dist/esm/components/Inspector/TabBar.js +90 -0
  185. package/dist/esm/components/Inspector/WebViewTab.d.ts +3 -0
  186. package/dist/esm/components/Inspector/WebViewTab.js +752 -0
  187. package/dist/esm/components/InspectorHeader.d.ts +19 -0
  188. package/dist/esm/components/InspectorHeader.js +323 -0
  189. package/dist/esm/components/InspectorTabBar.d.ts +16 -0
  190. package/dist/esm/components/InspectorTabBar.js +84 -0
  191. package/dist/esm/components/JsonViewer.d.ts +4 -1
  192. package/dist/esm/components/JsonViewer.js +111 -172
  193. package/dist/esm/components/LogCard.js +111 -88
  194. package/dist/esm/components/MetaAccordion.d.ts +1 -10
  195. package/dist/esm/components/MetaAccordion.js +23 -21
  196. package/dist/esm/components/NavigationTracker.d.ts +7 -0
  197. package/dist/esm/components/NavigationTracker.js +39 -0
  198. package/dist/esm/components/NetworkIcons.d.ts +6 -0
  199. package/dist/esm/components/NetworkIcons.js +46 -6
  200. package/dist/esm/components/ReduxTabView.d.ts +9 -0
  201. package/dist/esm/components/ReduxTabView.js +50 -0
  202. package/dist/esm/components/ReduxTreeView.js +243 -202
  203. package/dist/esm/components/SegmentedTabs.d.ts +15 -0
  204. package/dist/esm/components/SegmentedTabs.js +47 -0
  205. package/dist/esm/components/SettingsView.d.ts +13 -0
  206. package/dist/esm/components/SettingsView.js +321 -0
  207. package/dist/esm/components/TouchableScale.d.ts +2 -2
  208. package/dist/esm/components/TouchableScale.js +2 -2
  209. package/dist/esm/components/TreeNode.js +2 -2
  210. package/dist/esm/constants/index.js +1 -12
  211. package/dist/esm/constants/version.d.ts +1 -1
  212. package/dist/esm/constants/version.js +1 -1
  213. package/dist/esm/customHooks/analyticsLogger.d.ts +8 -0
  214. package/dist/esm/customHooks/analyticsLogger.js +37 -0
  215. package/dist/esm/customHooks/consoleLogger.js +137 -13
  216. package/dist/esm/customHooks/networkLogger.d.ts +0 -1
  217. package/dist/esm/customHooks/networkLogger.js +0 -1
  218. package/dist/esm/customHooks/reduxLogger.d.ts +2 -9
  219. package/dist/esm/enums/index.d.ts +39 -0
  220. package/dist/esm/enums/index.js +47 -0
  221. package/dist/esm/helpers/index.d.ts +27 -1
  222. package/dist/esm/helpers/index.js +180 -11
  223. package/dist/esm/helpers/settingsStore.d.ts +2 -24
  224. package/dist/esm/i18n/en.json +144 -0
  225. package/dist/esm/i18n/index.d.ts +2 -0
  226. package/dist/esm/i18n/index.js +22 -0
  227. package/dist/esm/i18n/locales/en.json +314 -0
  228. package/dist/esm/index.d.ts +2 -3
  229. package/dist/esm/index.js +207 -4923
  230. package/dist/esm/styles/AppColors.d.ts +148 -0
  231. package/dist/esm/styles/AppColors.js +176 -0
  232. package/dist/esm/styles/common.d.ts +3 -0
  233. package/dist/esm/styles/common.js +197 -0
  234. package/dist/esm/styles/index.d.ts +219 -435
  235. package/dist/esm/styles/index.js +312 -488
  236. package/dist/esm/types/enums.d.ts +9 -0
  237. package/dist/esm/types/enums.js +3 -0
  238. package/dist/esm/types/index.d.ts +4 -111
  239. package/dist/esm/types/index.js +2 -1
  240. package/dist/esm/types/interfaces.d.ts +337 -0
  241. package/dist/esm/types/interfaces.js +1 -0
  242. package/example/App.tsx +88 -1
  243. package/example/android/app/build.gradle +29 -1
  244. package/example/android/app/src/main/java/com/example/MainApplication.kt +25 -0
  245. package/example/android/build.gradle +31 -4
  246. package/example/android/gradle/wrapper/gradle-wrapper.properties +1 -1
  247. package/example/android/gradle.properties +1 -0
  248. package/example/android/settings.gradle +20 -1
  249. package/example/package-lock.json +1 -1
  250. package/package.json +3 -1
@@ -1,6 +1,8 @@
1
- import { StyleSheet, Platform, StatusBar } from 'react-native';
1
+ import { StyleSheet, Platform } from 'react-native';
2
2
  import AppColors, { updateAppColorsTheme, getThemeColors } from './AppColors';
3
3
  import { AppFonts } from './AppFonts';
4
+ import commonStyles, { rebuildCommonStyles } from './common';
5
+ export { commonStyles };
4
6
  export const getRawStyles = (colors) => ({
5
7
  header: {
6
8
  flexDirection: 'row',
@@ -9,7 +11,7 @@ export const getRawStyles = (colors) => ({
9
11
  paddingVertical: 10,
10
12
  zIndex: 10,
11
13
  minHeight: 64,
12
- shadowColor: '#000000',
14
+ shadowColor: colors.black,
13
15
  shadowOffset: { width: 0, height: 2 },
14
16
  shadowOpacity: 0.08,
15
17
  shadowRadius: 4,
@@ -30,37 +32,6 @@ export const getRawStyles = (colors) => ({
30
32
  letterSpacing: 0.3,
31
33
  paddingBottom: 4,
32
34
  },
33
- headerButtonGroup: {
34
- flexDirection: 'row',
35
- alignItems: 'center',
36
- backgroundColor: 'rgba(255, 255, 255, 0.1)',
37
- borderRadius: 10,
38
- padding: 3,
39
- borderWidth: 1,
40
- borderColor: 'rgba(255, 255, 255, 0.08)',
41
- },
42
- headerGroupButton: {
43
- flexDirection: 'row',
44
- alignItems: 'center',
45
- paddingHorizontal: 8,
46
- paddingVertical: 6,
47
- borderRadius: 8,
48
- gap: 4,
49
- },
50
- headerGroupButtonActive: {
51
- backgroundColor: 'rgba(255, 255, 255, 0.22)',
52
- shadowColor: '#000000',
53
- shadowOffset: { width: 0, height: 1 },
54
- shadowOpacity: 0.12,
55
- shadowRadius: 2,
56
- elevation: 2,
57
- },
58
- headerGroupButtonText: {
59
- fontFamily: AppFonts.interMedium,
60
- fontSize: 10.5,
61
- color: 'rgba(255, 255, 255, 0.65)',
62
- letterSpacing: 0.1,
63
- },
64
35
  headerDetailCenter: {
65
36
  alignItems: 'center',
66
37
  justifyContent: 'center',
@@ -76,7 +47,7 @@ export const getRawStyles = (colors) => ({
76
47
  paddingHorizontal: 6,
77
48
  paddingVertical: 3,
78
49
  borderRadius: 6,
79
- shadowColor: '#000000',
50
+ shadowColor: colors.black,
80
51
  shadowOffset: { width: 0, height: 1 },
81
52
  shadowOpacity: 0.1,
82
53
  shadowRadius: 2,
@@ -105,7 +76,7 @@ export const getRawStyles = (colors) => ({
105
76
  width: 7,
106
77
  height: 7,
107
78
  borderRadius: 3.5,
108
- shadowColor: '#000000',
79
+ shadowColor: colors.black,
109
80
  shadowOffset: { width: 0, height: 1 },
110
81
  shadowOpacity: 0.2,
111
82
  shadowRadius: 1,
@@ -121,14 +92,14 @@ export const getRawStyles = (colors) => ({
121
92
  headerCountBadge: {
122
93
  flexDirection: 'row',
123
94
  alignItems: 'center',
124
- backgroundColor: 'rgba(0,0,0,0.2)',
95
+ backgroundColor: `${colors.black}33`,
125
96
  paddingHorizontal: 12,
126
97
  paddingVertical: 6,
127
98
  borderRadius: 16,
128
99
  gap: 6,
129
100
  borderWidth: 0.5,
130
- borderColor: 'rgba(255,255,255,0.2)',
131
- shadowColor: '#000000',
101
+ borderColor: `${colors.white}33`,
102
+ shadowColor: colors.black,
132
103
  shadowOffset: { width: 0, height: 1 },
133
104
  shadowOpacity: 0.1,
134
105
  shadowRadius: 2,
@@ -136,21 +107,10 @@ export const getRawStyles = (colors) => ({
136
107
  },
137
108
  headerCountText: {
138
109
  fontFamily: AppFonts.interMedium,
139
- color: 'rgba(255,255,255,0.95)',
110
+ color: `${colors.white}F2`,
140
111
  fontSize: 12,
141
112
  letterSpacing: 0.2,
142
113
  },
143
- iconBtnMinimal: { padding: 6 },
144
- closeButtonSquare: {
145
- width: 32,
146
- height: 32,
147
- borderRadius: 8,
148
- backgroundColor: 'rgba(255, 255, 255, 0.15)',
149
- alignItems: 'center',
150
- justifyContent: 'center',
151
- borderWidth: 1,
152
- borderColor: 'rgba(255, 255, 255, 0.08)',
153
- },
154
114
  listContent: { paddingBottom: 12 },
155
115
  // #2 — scroll-to-top button, always shown at the bottom right.
156
116
  scrollTopBtn: {
@@ -163,7 +123,7 @@ export const getRawStyles = (colors) => ({
163
123
  backgroundColor: colors.purple,
164
124
  alignItems: 'center',
165
125
  justifyContent: 'center',
166
- shadowColor: '#000000',
126
+ shadowColor: colors.black,
167
127
  shadowOffset: { width: 0, height: 3 },
168
128
  shadowOpacity: 0.25,
169
129
  shadowRadius: 5,
@@ -171,7 +131,16 @@ export const getRawStyles = (colors) => ({
171
131
  zIndex: 50,
172
132
  },
173
133
  detailScroll: { flex: 1 },
174
- detailContent: { paddingHorizontal: 6, paddingTop: 8, paddingBottom: 20 },
134
+ closeButtonSquare: {
135
+ width: 32,
136
+ height: 32,
137
+ borderRadius: 8,
138
+ backgroundColor: `${colors.white}26`,
139
+ alignItems: 'center',
140
+ justifyContent: 'center',
141
+ borderWidth: 1,
142
+ borderColor: `${colors.white}14`,
143
+ },
175
144
  fabWrapper: {
176
145
  position: 'absolute',
177
146
  bottom: 180,
@@ -185,16 +154,6 @@ export const getRawStyles = (colors) => ({
185
154
  shadowOpacity: 0.4,
186
155
  shadowRadius: 12,
187
156
  },
188
- fabIconContainer: {
189
- backgroundColor: '#FFFFFF',
190
- borderRadius: 28,
191
- width: 56,
192
- height: 56,
193
- borderWidth: 1.5,
194
- borderColor: colors.purple,
195
- alignItems: 'center',
196
- justifyContent: 'center',
197
- },
198
157
  fabPulseRing: {
199
158
  position: 'absolute',
200
159
  width: 60,
@@ -218,72 +177,21 @@ export const getRawStyles = (colors) => ({
218
177
  height: 102,
219
178
  transform: [{ rotate: '25deg' }],
220
179
  },
221
- fab: {
222
- width: 56,
223
- height: 56,
224
- borderRadius: 28,
225
- alignItems: 'center',
226
- justifyContent: 'center',
227
- backgroundColor: colors.purple,
228
- shadowColor: colors.shadowColorString,
229
- shadowOffset: { width: 0, height: 6 },
230
- shadowOpacity: 0.35,
231
- shadowRadius: 10,
232
- elevation: 12,
233
- },
234
- fabText: {
235
- fontFamily: AppFonts.interBold,
236
- color: colors.primaryLight,
237
- fontSize: 14,
238
- },
239
- fabBadge: {
180
+ fabGreenDot: {
240
181
  position: 'absolute',
241
- top: -6,
242
- right: -6,
243
- minWidth: 24,
244
- height: 24,
245
- borderRadius: 12,
246
- alignItems: 'center',
247
- justifyContent: 'center',
248
- paddingHorizontal: 6,
249
- borderWidth: 2.5,
182
+ top: 2,
183
+ right: 2,
184
+ width: 12,
185
+ height: 12,
186
+ borderRadius: 6,
187
+ backgroundColor: colors.greenA400,
188
+ borderWidth: 2,
250
189
  borderColor: colors.primaryLight,
251
- shadowColor: colors.shadowColorString,
252
- shadowOffset: { width: 0, height: 2 },
190
+ shadowColor: colors.black,
191
+ shadowOffset: { width: 0, height: 1 },
253
192
  shadowOpacity: 0.2,
254
- shadowRadius: 3,
255
- elevation: 3,
256
- },
257
- fabBadgeNormal: { backgroundColor: colors.purple },
258
- fabBadgeError: { backgroundColor: colors.errorColor },
259
- fabBadgeText: {
260
- fontFamily: AppFonts.interBold,
261
- color: colors.primaryLight,
262
- fontSize: 11,
263
- },
264
- statBox: {
265
- flex: 1,
266
- alignItems: 'center',
267
- justifyContent: 'center',
268
- },
269
- statValue: {
270
- fontFamily: AppFonts.interBold,
271
- color: colors.primaryBlack,
272
- fontSize: 14,
273
- },
274
- statLabel: {
275
- fontFamily: AppFonts.interMedium,
276
- color: colors.grayTextWeak,
277
- fontSize: 10,
278
- marginTop: 4,
279
- textTransform: 'uppercase',
280
- letterSpacing: 0.5,
281
- },
282
- miniGraphWrap: {
283
- marginTop: 8,
284
- height: 16,
285
- alignItems: 'center',
286
- justifyContent: 'center',
193
+ shadowRadius: 1.5,
194
+ elevation: 2,
287
195
  },
288
196
  toolbarRow: {
289
197
  flexDirection: 'row',
@@ -299,12 +207,6 @@ export const getRawStyles = (colors) => ({
299
207
  alignItems: 'center',
300
208
  gap: 10,
301
209
  },
302
- toolbarDivider: {
303
- width: 1,
304
- height: 20,
305
- backgroundColor: colors.dividerColor,
306
- marginHorizontal: 2,
307
- },
308
210
  toolbarBtn: {
309
211
  width: 34,
310
212
  height: 34,
@@ -314,7 +216,7 @@ export const getRawStyles = (colors) => ({
314
216
  backgroundColor: colors.primaryLight,
315
217
  borderWidth: 1.5,
316
218
  borderColor: colors.grayBorderSecondary,
317
- shadowColor: '#000000',
219
+ shadowColor: colors.black,
318
220
  shadowOffset: { width: 0, height: 1 },
319
221
  shadowOpacity: 0.04,
320
222
  shadowRadius: 2,
@@ -363,17 +265,18 @@ export const getRawStyles = (colors) => ({
363
265
  },
364
266
  statusFilterWrap: { marginRight: 6 },
365
267
  statusFilterChip: {
366
- paddingHorizontal: 10,
367
- height: 30,
368
- justifyContent: 'center',
268
+ flexDirection: 'row',
369
269
  alignItems: 'center',
270
+ paddingHorizontal: 9,
271
+ height: 32,
272
+ justifyContent: 'center',
370
273
  borderRadius: 24,
371
274
  borderWidth: 1.5,
372
275
  borderColor: colors.grayBorderSecondary,
373
276
  backgroundColor: colors.primaryLight,
374
- shadowColor: '#000000',
277
+ shadowColor: colors.black,
375
278
  shadowOffset: { width: 0, height: 1 },
376
- shadowOpacity: 0.03,
279
+ shadowOpacity: 0.04,
377
280
  shadowRadius: 2,
378
281
  elevation: 1,
379
282
  },
@@ -381,6 +284,29 @@ export const getRawStyles = (colors) => ({
381
284
  borderColor: colors.purple,
382
285
  backgroundColor: colors.purpleShade50,
383
286
  },
287
+ filterCheckbox: {
288
+ width: 13,
289
+ height: 13,
290
+ borderRadius: 3,
291
+ borderWidth: 1.5,
292
+ borderColor: colors.grayBorderSecondary,
293
+ backgroundColor: colors.primaryLight,
294
+ alignItems: 'center',
295
+ justifyContent: 'center',
296
+ marginRight: 6,
297
+ },
298
+ filterCheckboxActive: {
299
+ borderColor: 'transparent',
300
+ },
301
+ filterChipIcon: {
302
+ marginRight: 5,
303
+ },
304
+ methodBadgeMini: {
305
+ width: 4.5,
306
+ height: 13,
307
+ borderRadius: 2,
308
+ marginRight: 6,
309
+ },
384
310
  statusFilterText: {
385
311
  fontFamily: AppFonts.interMedium,
386
312
  color: colors.grayText,
@@ -405,7 +331,7 @@ export const getRawStyles = (colors) => ({
405
331
  paddingVertical: 4,
406
332
  borderWidth: 1.5,
407
333
  borderColor: colors.grayBorderSecondary,
408
- shadowColor: '#000000',
334
+ shadowColor: colors.black,
409
335
  shadowOffset: { width: 0, height: 1 },
410
336
  shadowOpacity: 0.04,
411
337
  shadowRadius: 2,
@@ -420,97 +346,84 @@ export const getRawStyles = (colors) => ({
420
346
  fontSize: 14,
421
347
  },
422
348
  clearBtn: { padding: 4 },
423
- clearBtnText: {
424
- fontFamily: AppFonts.interRegular,
425
- color: colors.grayTextWeak,
426
- fontSize: 14,
427
- },
428
- menuDropdown: {
429
- position: 'absolute',
430
- top: Platform.OS === 'android' ? (StatusBar.currentHeight || 24) + 60 : 90,
431
- width: 170,
432
- backgroundColor: colors.primaryLight,
433
- borderRadius: 14,
349
+ domainHeaderCard: {
350
+ marginHorizontal: 12,
351
+ marginTop: 12,
352
+ marginBottom: 4,
353
+ paddingHorizontal: 12,
354
+ paddingVertical: 8,
355
+ borderRadius: 10,
356
+ backgroundColor: colors.grayBackground,
434
357
  borderWidth: 1,
435
358
  borderColor: colors.grayBorderSecondary,
436
- zIndex: 999,
437
- shadowColor: '#000000',
438
- shadowOffset: { width: 0, height: 8 },
439
- shadowOpacity: 0.15,
440
- shadowRadius: 12,
441
- elevation: 8,
442
- overflow: 'hidden',
443
359
  },
444
- dropdownItem: {
445
- padding: 13,
446
- borderBottomWidth: 1,
447
- borderBottomColor: colors.dividerColor,
448
- },
449
- domainHeaderSeparator: {
450
- marginTop: 12,
451
- paddingTop: 16,
452
- borderTopWidth: 1,
453
- borderTopColor: colors.dividerColor,
454
- },
455
- domainHeaderRow: {
360
+ domainHeaderTopRow: {
456
361
  flexDirection: 'row',
457
362
  alignItems: 'center',
458
363
  justifyContent: 'space-between',
459
- paddingLeft: 20,
460
- paddingRight: 16,
461
- marginTop: 12,
462
- marginBottom: 6,
463
364
  },
464
365
  domainHeaderLeft: {
465
366
  flexDirection: 'row',
466
367
  alignItems: 'center',
467
368
  flex: 1,
468
- paddingRight: 10,
469
- gap: 6,
369
+ gap: 8,
370
+ },
371
+ domainIconWrap: {
372
+ width: 26,
373
+ height: 26,
374
+ borderRadius: 6,
375
+ alignItems: 'center',
376
+ justifyContent: 'center',
470
377
  },
471
- domainHeaderText: {
378
+ domainTitleText: {
472
379
  fontFamily: AppFonts.interBold,
473
- fontSize: 14,
380
+ fontSize: 13.5,
474
381
  fontWeight: '700',
382
+ color: colors.primaryBlack,
475
383
  textTransform: 'capitalize',
476
- flexShrink: 1,
477
- marginLeft: 2,
478
384
  },
479
- domainSubRow: {
385
+ domainSummaryRow: {
480
386
  flexDirection: 'row',
481
387
  alignItems: 'center',
482
- flexWrap: 'wrap',
483
- marginTop: 2,
388
+ gap: 6,
389
+ marginTop: 1,
484
390
  },
485
- domainTimestamp: {
391
+ domainSummaryText: {
486
392
  fontFamily: AppFonts.interRegular,
487
393
  fontSize: 10,
488
394
  color: colors.grayTextWeak,
489
395
  },
490
- domainMethodCount: {
396
+ domainPctText: {
491
397
  fontFamily: AppFonts.interBold,
492
- fontSize: 9,
493
- marginLeft: 4,
398
+ fontSize: 9.5,
494
399
  },
495
- domainStatsGroup: {
400
+ domainProgressTrack: {
496
401
  flexDirection: 'row',
497
- alignItems: 'center',
498
- borderRadius: 8,
499
- borderWidth: 1,
500
- borderColor: colors.grayBorderSecondary,
402
+ height: 2.5,
403
+ borderRadius: 1.25,
501
404
  overflow: 'hidden',
502
- backgroundColor: colors.grayBackground,
405
+ backgroundColor: 'rgba(148, 163, 184, 0.2)',
406
+ marginTop: 6,
407
+ width: '100%',
408
+ },
409
+ domainProgressSegment: {
410
+ height: '100%',
503
411
  },
504
- groupBtnItem: {
412
+ domainStatsGroup: {
505
413
  flexDirection: 'row',
506
414
  alignItems: 'center',
507
415
  gap: 4,
508
- paddingHorizontal: 8,
509
- paddingVertical: 5,
510
416
  },
511
- groupBtnBorderRight: {
512
- borderRightWidth: 1,
513
- borderRightColor: colors.grayBorderSecondary,
417
+ domainStatPill: {
418
+ flexDirection: 'row',
419
+ alignItems: 'center',
420
+ gap: 3,
421
+ paddingHorizontal: 6,
422
+ paddingVertical: 3,
423
+ borderRadius: 6,
424
+ borderWidth: 1,
425
+ borderColor: colors.grayBorderSecondary,
426
+ backgroundColor: colors.primaryLight,
514
427
  },
515
428
  domainStatText: {
516
429
  fontFamily: AppFonts.interBold,
@@ -519,17 +432,18 @@ export const getRawStyles = (colors) => ({
519
432
  treeNodeRow: {
520
433
  flexDirection: 'row',
521
434
  alignItems: 'stretch',
522
- paddingRight: 16,
435
+ paddingLeft: 12,
436
+ paddingRight: 12,
523
437
  },
524
438
  treeLines: {
525
- width: 40,
439
+ width: 28,
526
440
  position: 'relative',
527
441
  },
528
442
  modernTreeLine: {
529
443
  position: 'absolute',
530
- left: 23,
444
+ left: 14,
531
445
  top: 0,
532
- width: 16,
446
+ width: 14,
533
447
  height: '100%',
534
448
  borderLeftWidth: 1.5,
535
449
  opacity: 0.5,
@@ -537,39 +451,56 @@ export const getRawStyles = (colors) => ({
537
451
  modernTreeLineLast: {
538
452
  height: '50%',
539
453
  borderBottomWidth: 1.5,
540
- borderBottomLeftRadius: 12,
454
+ borderBottomLeftRadius: 10,
541
455
  },
542
456
  modernTreeBranch: {
543
457
  position: 'absolute',
544
- left: 23,
458
+ left: 14,
545
459
  top: '50%',
546
- width: 16,
460
+ width: 14,
547
461
  borderTopWidth: 1.5,
548
462
  opacity: 0.5,
549
463
  },
550
464
  treeCardWrapper: {
551
465
  flex: 1,
552
- paddingVertical: 4,
466
+ paddingVertical: 3.5,
553
467
  },
554
468
  card: {
555
469
  marginHorizontal: 0,
556
470
  marginVertical: 0,
557
- borderRadius: 14,
471
+ borderRadius: 12,
558
472
  overflow: 'hidden',
559
- shadowColor: '#000000',
560
- shadowOffset: { width: 0, height: 3 },
561
- shadowOpacity: 0.08,
562
- shadowRadius: 6,
563
- elevation: 3,
473
+ shadowColor: colors.black,
474
+ shadowOffset: { width: 0, height: 2 },
475
+ shadowOpacity: 0.05,
476
+ shadowRadius: 4,
477
+ elevation: 2,
564
478
  borderWidth: 1,
565
479
  borderColor: colors.grayBorderSecondary,
566
480
  backgroundColor: colors.primaryLight,
567
481
  },
568
- cardBody: { paddingHorizontal: 10, paddingTop: 8, paddingBottom: 8 },
569
- cardTopRow: {
482
+ cardBody: {
483
+ paddingHorizontal: 12,
484
+ paddingTop: 10,
485
+ paddingBottom: 9,
486
+ },
487
+ cardHeaderRow: {
570
488
  flexDirection: 'row',
571
489
  alignItems: 'center',
572
- marginBottom: 6,
490
+ justifyContent: 'space-between',
491
+ marginBottom: 4,
492
+ },
493
+ cardHeaderLeft: {
494
+ flexDirection: 'row',
495
+ alignItems: 'center',
496
+ flex: 1,
497
+ marginRight: 8,
498
+ gap: 6,
499
+ },
500
+ cardHeaderRight: {
501
+ flexDirection: 'row',
502
+ alignItems: 'center',
503
+ gap: 5,
573
504
  },
574
505
  smallCheckbox: {
575
506
  width: 13,
@@ -579,8 +510,7 @@ export const getRawStyles = (colors) => ({
579
510
  borderColor: colors.grayTextWeak,
580
511
  alignItems: 'center',
581
512
  justifyContent: 'center',
582
- backgroundColor: '#fff',
583
- marginRight: 8,
513
+ backgroundColor: colors.white,
584
514
  },
585
515
  smallCheckboxChecked: {
586
516
  backgroundColor: colors.purple,
@@ -590,102 +520,118 @@ export const getRawStyles = (colors) => ({
590
520
  fontFamily: AppFonts.interBold,
591
521
  color: colors.grayTextWeak,
592
522
  fontSize: 10,
593
- marginRight: 6,
594
- minWidth: 20,
595
523
  },
596
- chip: {
597
- flexDirection: 'row',
524
+ methodBadge: {
525
+ paddingHorizontal: 6,
526
+ paddingVertical: 2.5,
527
+ borderRadius: 6,
598
528
  alignItems: 'center',
599
- gap: 4,
529
+ justifyContent: 'center',
530
+ shadowColor: colors.black,
531
+ shadowOffset: { width: 0, height: 1 },
532
+ shadowOpacity: 0.08,
533
+ shadowRadius: 2,
534
+ elevation: 1,
535
+ },
536
+ methodBadgeText: {
537
+ fontFamily: AppFonts.interBold,
538
+ fontSize: 9.5,
539
+ letterSpacing: 0.4,
540
+ },
541
+ cardHostText: {
542
+ fontFamily: AppFonts.interMedium,
543
+ fontSize: 12,
544
+ color: colors.primaryBlack,
545
+ flexShrink: 1,
546
+ },
547
+ statusPill: {
600
548
  paddingHorizontal: 6,
601
- paddingVertical: 3,
602
- borderRadius: 8,
549
+ paddingVertical: 2,
550
+ borderRadius: 6,
603
551
  borderWidth: 1,
552
+ alignItems: 'center',
553
+ justifyContent: 'center',
604
554
  },
605
- chipText: {
555
+ statusPillText: {
606
556
  fontFamily: AppFonts.interBold,
607
557
  fontSize: 10,
608
558
  },
609
- cardMiddleRow: {
559
+ cardSlugBox: {
610
560
  flexDirection: 'row',
611
561
  alignItems: 'center',
612
562
  justifyContent: 'space-between',
613
- marginBottom: 6,
563
+ backgroundColor: colors.grayBackground,
564
+ borderRadius: 7,
565
+ borderWidth: 1,
566
+ borderColor: colors.grayBorderSecondary,
567
+ paddingHorizontal: 8,
568
+ paddingVertical: 5,
569
+ marginVertical: 5,
570
+ gap: 6,
614
571
  },
615
- cardBottomRow: {
572
+ slugLeft: {
573
+ flexDirection: 'row',
574
+ alignItems: 'center',
575
+ flex: 1,
576
+ gap: 6,
577
+ },
578
+ slugTag: {
579
+ fontFamily: AppFonts.interBold,
580
+ fontSize: 8.5,
581
+ color: colors.grayTextWeak,
582
+ letterSpacing: 0.5,
583
+ },
584
+ slugText: {
585
+ fontFamily: AppFonts.interBold,
586
+ fontSize: 12.5,
587
+ color: colors.primaryBlack,
588
+ flexShrink: 1,
589
+ },
590
+ slugRight: {
591
+ flexDirection: 'row',
592
+ alignItems: 'center',
593
+ gap: 4,
594
+ },
595
+ cardFooterRow: {
616
596
  flexDirection: 'row',
617
597
  alignItems: 'center',
618
598
  justifyContent: 'space-between',
619
- marginBottom: 6,
599
+ marginTop: 2,
620
600
  },
621
601
  cardDateRow: {
622
602
  flexDirection: 'row',
623
603
  alignItems: 'center',
624
- gap: 4,
604
+ gap: 3.5,
625
605
  },
626
606
  cardDateText: {
627
607
  fontFamily: AppFonts.interRegular,
628
608
  color: colors.grayTextWeak,
629
609
  fontSize: 10,
630
- letterSpacing: 0.2,
610
+ letterSpacing: 0.1,
631
611
  },
632
- cardMetaRow: {
612
+ cardFooterRight: {
633
613
  flexDirection: 'row',
634
614
  alignItems: 'center',
635
- gap: 6,
636
- flexShrink: 0,
637
- },
638
- urlPathText: {
639
- fontFamily: AppFonts.interMedium,
640
- color: colors.primaryBlack,
641
- fontSize: 13,
642
- flexShrink: 1,
615
+ gap: 5,
643
616
  },
644
- urlDomainText: {
645
- fontFamily: AppFonts.interRegular,
646
- color: colors.grayText,
647
- fontSize: 11,
648
- flex: 1,
649
- },
650
- requestTypeText: {
651
- fontFamily: AppFonts.interRegular,
652
- color: colors.grayText,
653
- fontSize: 10,
654
- },
655
- methodBadge: {
656
- paddingHorizontal: 6,
657
- paddingVertical: 3,
658
- borderRadius: 6,
659
- marginRight: 6,
660
- minWidth: 46,
617
+ chip: {
618
+ flexDirection: 'row',
661
619
  alignItems: 'center',
662
- justifyContent: 'center',
663
- shadowColor: '#000000',
664
- shadowOffset: { width: 0, height: 1 },
665
- shadowOpacity: 0.08,
666
- shadowRadius: 2,
667
- elevation: 1,
620
+ gap: 3.5,
621
+ paddingHorizontal: 5,
622
+ paddingVertical: 2,
623
+ borderRadius: 5,
624
+ borderWidth: 1,
668
625
  },
669
- methodBadgeText: {
626
+ chipText: {
670
627
  fontFamily: AppFonts.interBold,
671
628
  fontSize: 9.5,
672
- letterSpacing: 0.4,
673
- },
674
- timelineTrack: {
675
- height: 3,
676
- backgroundColor: colors.graySurface,
677
- marginTop: 4,
678
- borderRadius: 1.5,
679
- overflow: 'hidden',
680
- position: 'relative',
681
629
  },
682
- timelineBar: { position: 'absolute', height: '100%', borderRadius: 1.5 },
683
630
  empty: {
684
631
  flex: 1,
685
632
  alignItems: 'center',
686
633
  justifyContent: 'center',
687
634
  },
688
- emptyIcon: { fontSize: 32, color: colors.grayTextWeak },
689
635
  emptyContainer: {
690
636
  flex: 1,
691
637
  alignItems: 'center',
@@ -701,7 +647,7 @@ export const getRawStyles = (colors) => ({
701
647
  alignItems: 'center',
702
648
  justifyContent: 'center',
703
649
  marginBottom: 20,
704
- shadowColor: '#000000',
650
+ shadowColor: colors.black,
705
651
  shadowOffset: { width: 0, height: 2 },
706
652
  shadowOpacity: 0.06,
707
653
  shadowRadius: 4,
@@ -735,7 +681,7 @@ export const getRawStyles = (colors) => ({
735
681
  elevation: 5,
736
682
  },
737
683
  reloadBtnText: {
738
- color: '#FFF',
684
+ color: colors.white,
739
685
  fontFamily: AppFonts.interBold,
740
686
  fontSize: 14,
741
687
  letterSpacing: 0.3,
@@ -748,7 +694,7 @@ export const getRawStyles = (colors) => ({
748
694
  borderWidth: 1,
749
695
  borderColor: colors.grayBorderSecondary,
750
696
  backgroundColor: colors.primaryLight,
751
- shadowColor: '#000000',
697
+ shadowColor: colors.black,
752
698
  shadowOffset: { width: 0, height: 2 },
753
699
  shadowOpacity: 0.05,
754
700
  shadowRadius: 4,
@@ -761,31 +707,6 @@ export const getRawStyles = (colors) => ({
761
707
  paddingBottom: 10,
762
708
  },
763
709
  detailInfoRight: { flexDirection: 'row', alignItems: 'center', gap: 6 },
764
- detailMethodLabel: {
765
- fontFamily: AppFonts.interBold,
766
- fontSize: 14,
767
- letterSpacing: 0.5,
768
- },
769
- detailUrlContainer: {
770
- backgroundColor: colors.grayBackground,
771
- borderRadius: 10,
772
- padding: 13,
773
- borderWidth: 1,
774
- borderColor: colors.grayBorderSecondary,
775
- shadowColor: '#000000',
776
- shadowOffset: { width: 0, height: 1 },
777
- shadowOpacity: 0.04,
778
- shadowRadius: 2,
779
- elevation: 1,
780
- },
781
- detailUrl: {
782
- fontFamily: AppFonts.interRegular,
783
- color: colors.purple,
784
- fontSize: 13,
785
- lineHeight: 20,
786
- textDecorationLine: 'underline',
787
- letterSpacing: 0.2,
788
- },
789
710
  metaContainer: {
790
711
  backgroundColor: colors.primaryLight,
791
712
  borderWidth: 1,
@@ -793,7 +714,7 @@ export const getRawStyles = (colors) => ({
793
714
  borderRadius: 14,
794
715
  marginBottom: 12,
795
716
  overflow: 'hidden',
796
- shadowColor: '#000000',
717
+ shadowColor: colors.black,
797
718
  shadowOffset: { width: 0, height: 2 },
798
719
  shadowOpacity: 0.05,
799
720
  shadowRadius: 4,
@@ -816,11 +737,6 @@ export const getRawStyles = (colors) => ({
816
737
  letterSpacing: 0.6,
817
738
  textTransform: 'uppercase',
818
739
  },
819
- metaChevron: {
820
- fontFamily: AppFonts.interRegular,
821
- color: colors.grayTextWeak,
822
- fontSize: 11,
823
- },
824
740
  metaBody: { paddingHorizontal: 12, paddingBottom: 8, paddingTop: 4 },
825
741
  metaRow: {
826
742
  flexDirection: 'row',
@@ -831,7 +747,7 @@ export const getRawStyles = (colors) => ({
831
747
  metaDivider: { height: 1, backgroundColor: colors.dividerColor },
832
748
  metaLabelRow: { flexDirection: 'row', alignItems: 'center', gap: 8 },
833
749
  metaLabel: {
834
- fontFamily: AppFonts.interRegular,
750
+ fontFamily: AppFonts.interBold,
835
751
  color: colors.grayText,
836
752
  fontSize: 13,
837
753
  },
@@ -851,11 +767,6 @@ export const getRawStyles = (colors) => ({
851
767
  fontFamily: AppFonts.interBold,
852
768
  fontSize: 11,
853
769
  },
854
- seperator: {
855
- height: 1,
856
- backgroundColor: colors.dividerColor,
857
- marginVertical: 10,
858
- },
859
770
  detailSearchRow: {
860
771
  flexDirection: 'row',
861
772
  alignItems: 'center',
@@ -887,7 +798,7 @@ export const getRawStyles = (colors) => ({
887
798
  overflow: 'hidden',
888
799
  },
889
800
  sectionHeaderGradient: {
890
- backgroundColor: '#f9f9fa',
801
+ backgroundColor: colors.grayBackground,
891
802
  paddingVertical: 12,
892
803
  paddingHorizontal: 8,
893
804
  borderBottomWidth: 1,
@@ -1070,26 +981,29 @@ export const getRawStyles = (colors) => ({
1070
981
  },
1071
982
  codeSyntax: {
1072
983
  color: colors.grayTextWeak,
1073
- fontFamily: Platform.OS === 'ios' ? 'Menlo' : 'monospace',
984
+ fontFamily: AppFonts.interRegular,
985
+ fontSize: 12.5,
986
+ lineHeight: 18,
1074
987
  },
1075
988
  codeKey: {
1076
989
  color: colors.purple,
1077
- fontFamily: Platform.OS === 'ios' ? 'Menlo' : 'monospace',
990
+ fontFamily: AppFonts.interBold,
991
+ fontSize: 12.5,
992
+ lineHeight: 18,
1078
993
  },
1079
994
  codeText: {
1080
995
  color: colors.greenBaggageText,
1081
- fontFamily: Platform.OS === 'ios' ? 'Menlo' : 'monospace',
996
+ fontFamily: AppFonts.interRegular,
997
+ fontSize: 12.5,
998
+ lineHeight: 18,
1082
999
  },
1083
1000
  codeTextNil: {
1084
1001
  color: colors.errorColor,
1085
- fontFamily: Platform.OS === 'ios' ? 'Menlo' : 'monospace',
1002
+ fontFamily: AppFonts.interMedium,
1003
+ fontSize: 12.5,
1004
+ lineHeight: 18,
1086
1005
  },
1087
1006
  treeRow: { flexDirection: 'row', alignItems: 'center', paddingVertical: 6 },
1088
- treeChevron: {
1089
- fontFamily: AppFonts.interRegular,
1090
- color: colors.grayTextWeak,
1091
- marginRight: 8,
1092
- },
1093
1007
  treeKeyMargin: { marginRight: 6 },
1094
1008
  highlight: {
1095
1009
  backgroundColor: colors.paleYellow,
@@ -1129,17 +1043,17 @@ export const getRawStyles = (colors) => ({
1129
1043
  },
1130
1044
  diffAdded: {
1131
1045
  color: colors.greenColor,
1132
- fontFamily: Platform.OS === 'ios' ? 'Menlo' : 'monospace',
1046
+ fontFamily: AppFonts.interRegular,
1133
1047
  fontSize: 12,
1134
1048
  },
1135
1049
  diffRemoved: {
1136
1050
  color: colors.errorColor,
1137
- fontFamily: Platform.OS === 'ios' ? 'Menlo' : 'monospace',
1051
+ fontFamily: AppFonts.interRegular,
1138
1052
  fontSize: 12,
1139
1053
  },
1140
1054
  diffChanged: {
1141
1055
  color: colors.lightOrange,
1142
- fontFamily: Platform.OS === 'ios' ? 'Menlo' : 'monospace',
1056
+ fontFamily: AppFonts.interRegular,
1143
1057
  fontSize: 12,
1144
1058
  },
1145
1059
  filePreviewNode: { paddingVertical: 8, marginVertical: 4 },
@@ -1200,10 +1114,10 @@ export const getRawStyles = (colors) => ({
1200
1114
  width: 36,
1201
1115
  height: 36,
1202
1116
  borderRadius: 18,
1203
- backgroundColor: 'rgba(255, 255, 255, 0.9)',
1117
+ backgroundColor: `${colors.white}E6`,
1204
1118
  alignItems: 'center',
1205
1119
  justifyContent: 'center',
1206
- shadowColor: '#000',
1120
+ shadowColor: colors.black,
1207
1121
  shadowOffset: { width: 0, height: 2 },
1208
1122
  shadowOpacity: 0.2,
1209
1123
  shadowRadius: 4,
@@ -1271,7 +1185,7 @@ export const getRawStyles = (colors) => ({
1271
1185
  paddingVertical: 10,
1272
1186
  borderBottomWidth: 1,
1273
1187
  borderBottomColor: colors.dividerColor,
1274
- backgroundColor: '#fafafa',
1188
+ backgroundColor: colors.grayBackground,
1275
1189
  },
1276
1190
  paramsAccordionLeft: {
1277
1191
  flexDirection: 'row',
@@ -1344,64 +1258,10 @@ export const getRawStyles = (colors) => ({
1344
1258
  fontSize: 12,
1345
1259
  },
1346
1260
  // ─── Tab Bar ───────────────────────────────────────────────────────────────
1347
- tabBar: {
1348
- flexDirection: 'row',
1349
- backgroundColor: colors.grayBackground,
1350
- paddingHorizontal: 12,
1351
- paddingTop: 10,
1352
- paddingBottom: 4,
1353
- gap: 8,
1354
- },
1355
- tabItem: {
1356
- paddingHorizontal: 16,
1357
- paddingVertical: 8,
1358
- borderRadius: 10,
1359
- alignItems: 'center',
1360
- justifyContent: 'center',
1361
- backgroundColor: '#EDEDF4',
1362
- },
1363
- tabItemActive: {
1364
- backgroundColor: colors.purple,
1365
- shadowColor: colors.purple,
1366
- shadowOpacity: 0.3,
1367
- shadowRadius: 6,
1368
- shadowOffset: { width: 0, height: 2 },
1369
- elevation: 3,
1370
- },
1371
- tabText: {
1372
- fontFamily: AppFonts.interBold,
1373
- fontSize: 13,
1374
- color: colors.grayText,
1375
- },
1376
- tabTextActive: {
1377
- color: '#FFFFFF',
1378
- },
1379
1261
  // ─── Screen Grouping Headers ───────────────────────────────────────────────
1380
- screenSectionHeader: {
1381
- flexDirection: 'row',
1382
- alignItems: 'center',
1383
- justifyContent: 'space-between',
1384
- paddingHorizontal: 16,
1385
- paddingVertical: 12,
1386
- backgroundColor: '#F7F7FA',
1387
- borderTopWidth: 1,
1388
- borderBottomWidth: 1,
1389
- borderColor: colors.grayBorderSecondary,
1390
- marginTop: 8,
1391
- },
1392
- screenSectionTitle: {
1393
- fontFamily: AppFonts.interBold,
1394
- fontSize: 13,
1395
- color: colors.primaryBlack,
1396
- },
1397
- screenSectionCount: {
1398
- fontFamily: AppFonts.interMedium,
1399
- fontSize: 12,
1400
- color: colors.grayText,
1401
- },
1402
1262
  modalBackdrop: {
1403
1263
  flex: 1,
1404
- backgroundColor: 'rgba(0, 0, 0, 0.45)',
1264
+ backgroundColor: `${colors.black}73`,
1405
1265
  justifyContent: 'flex-end',
1406
1266
  },
1407
1267
  modalBackdropPressable: {
@@ -1413,7 +1273,7 @@ export const getRawStyles = (colors) => ({
1413
1273
  borderTopLeftRadius: 20,
1414
1274
  borderTopRightRadius: 20,
1415
1275
  overflow: 'hidden',
1416
- shadowColor: '#000000',
1276
+ shadowColor: colors.black,
1417
1277
  shadowOffset: { width: 0, height: -4 },
1418
1278
  shadowOpacity: 0.15,
1419
1279
  shadowRadius: 10,
@@ -1452,149 +1312,112 @@ export const getRawStyles = (colors) => ({
1452
1312
  color: colors.grayText,
1453
1313
  },
1454
1314
  contentTabButtonTextActive: {
1455
- color: '#FFFFFF',
1456
- fontWeight: 'bold',
1457
- },
1458
- insightsContainer: {
1459
- flex: 1,
1460
- backgroundColor: colors.grayBackground,
1461
- },
1462
- insightsContent: {
1463
- padding: 10,
1464
- paddingBottom: 24,
1465
- },
1466
- dashboardContainer: {
1467
- gap: 10,
1315
+ color: colors.white,
1316
+ fontFamily: AppFonts.interBold,
1468
1317
  },
1469
- dashboardModuleCard: {
1318
+ analyticsHeaderCard: {
1470
1319
  backgroundColor: colors.primaryLight,
1471
- borderRadius: 10,
1320
+ borderRadius: 12,
1472
1321
  borderWidth: 1,
1473
1322
  borderColor: colors.grayBorderSecondary,
1474
- padding: 12,
1475
- shadowColor: '#000000',
1323
+ padding: 14,
1324
+ marginHorizontal: 12,
1325
+ marginTop: 8,
1326
+ marginBottom: 8,
1327
+ shadowColor: colors.black,
1476
1328
  shadowOpacity: 0.03,
1477
1329
  shadowRadius: 4,
1478
1330
  shadowOffset: { width: 0, height: 1 },
1479
1331
  elevation: 1,
1480
1332
  },
1481
- dashboardModuleHeader: {
1333
+ analyticsHeaderTop: {
1482
1334
  flexDirection: 'row',
1483
1335
  justifyContent: 'space-between',
1484
1336
  alignItems: 'center',
1485
1337
  marginBottom: 10,
1486
- borderBottomWidth: 1,
1487
- borderBottomColor: colors.dividerColor,
1488
- paddingBottom: 8,
1489
1338
  },
1490
- dashboardModuleTitle: {
1339
+ analyticsHeaderTitle: {
1491
1340
  fontFamily: AppFonts.interBold,
1492
- fontSize: 13,
1341
+ fontSize: 14,
1493
1342
  color: colors.primaryBlack,
1494
1343
  },
1495
- dashboardModuleGoText: {
1496
- fontFamily: AppFonts.interBold,
1344
+ statusDot: {
1345
+ width: 6,
1346
+ height: 6,
1347
+ borderRadius: 3,
1348
+ },
1349
+ analyticsHeaderSubtitle: {
1350
+ fontFamily: AppFonts.interMedium,
1497
1351
  fontSize: 11,
1352
+ color: colors.grayText,
1353
+ marginTop: 2,
1354
+ },
1355
+ analyticsHeaderToggle: {
1356
+ paddingVertical: 4,
1357
+ paddingHorizontal: 8,
1358
+ borderRadius: 4,
1359
+ backgroundColor: colors.grayBackground,
1360
+ borderWidth: 1,
1361
+ borderColor: colors.grayBorderSecondary,
1362
+ },
1363
+ analyticsHeaderToggleText: {
1364
+ fontFamily: AppFonts.interBold,
1365
+ fontSize: 10,
1498
1366
  color: colors.purple,
1499
1367
  },
1500
- dashboardModuleGrid: {
1368
+ analyticsStatsRow: {
1501
1369
  flexDirection: 'row',
1502
- flexWrap: 'wrap',
1503
- justifyContent: 'space-between',
1504
1370
  gap: 8,
1371
+ borderTopWidth: 1,
1372
+ borderTopColor: colors.dividerColor,
1373
+ paddingTop: 10,
1505
1374
  },
1506
- dashboardGridItem: {
1375
+ analyticsStatBox: {
1507
1376
  flex: 1,
1508
- minWidth: '22%',
1509
1377
  backgroundColor: colors.grayBackground,
1510
- borderRadius: 8,
1511
- paddingVertical: 8,
1512
- paddingHorizontal: 4,
1378
+ borderRadius: 6,
1379
+ paddingVertical: 6,
1513
1380
  alignItems: 'center',
1514
- justifyContent: 'center',
1515
1381
  },
1516
- dashboardGridVal: {
1382
+ analyticsStatValue: {
1517
1383
  fontFamily: AppFonts.interBold,
1518
- fontSize: 13,
1384
+ fontSize: 14,
1519
1385
  color: colors.primaryBlack,
1520
1386
  },
1521
- dashboardGridLbl: {
1522
- fontFamily: AppFonts.interMedium,
1523
- fontSize: 10,
1524
- color: colors.grayTextWeak,
1525
- marginTop: 2,
1526
- },
1527
- analyticsCardRow: {},
1528
- analyticsTopEventsCard: {
1529
- marginHorizontal: 16,
1530
- marginBottom: 12,
1531
- backgroundColor: colors.primaryLight,
1532
- borderRadius: 12,
1533
- borderWidth: 1,
1534
- borderColor: colors.grayBorderSecondary,
1535
- paddingHorizontal: 16,
1536
- paddingVertical: 12,
1537
- shadowColor: '#000',
1538
- shadowOpacity: 0.04,
1539
- shadowRadius: 4,
1540
- shadowOffset: { width: 0, height: 1 },
1541
- elevation: 1,
1387
+ analyticsStatLabel: {
1388
+ fontFamily: AppFonts.interRegular,
1389
+ fontSize: 9,
1390
+ color: colors.grayText,
1391
+ marginTop: 1,
1542
1392
  },
1543
- analyticsTopEventsHeaderRow: {
1544
- flexDirection: 'row',
1545
- alignItems: 'center',
1546
- justifyContent: 'space-between',
1547
- marginBottom: 12,
1393
+ analyticsHeaderDetails: {
1394
+ borderTopWidth: 1,
1395
+ borderTopColor: colors.dividerColor,
1396
+ paddingTop: 10,
1397
+ marginTop: 10,
1548
1398
  },
1549
- analyticsTopEventsTitle: {
1399
+ detailsGroupTitle: {
1550
1400
  fontFamily: AppFonts.interBold,
1551
- fontSize: 10,
1552
- color: colors.grayTextWeak,
1553
- letterSpacing: 0.8,
1554
- textTransform: 'uppercase',
1555
- },
1556
- analyticsTopEventsSubtitle: {
1557
- fontFamily: AppFonts.interMedium,
1558
- fontSize: 9,
1559
- color: colors.grayTextWeak,
1560
- letterSpacing: 0.4,
1401
+ fontSize: 11,
1402
+ color: colors.purple,
1403
+ marginBottom: 6,
1561
1404
  },
1562
- analyticsTopEventRow: {
1405
+ detailsRow: {
1563
1406
  flexDirection: 'row',
1564
- alignItems: 'center',
1565
- marginBottom: 8,
1566
- gap: 8,
1407
+ justifyContent: 'space-between',
1408
+ paddingVertical: 4,
1409
+ borderBottomWidth: 0.5,
1410
+ borderBottomColor: colors.dividerColor,
1567
1411
  },
1568
- analyticsTopEventName: {
1412
+ detailsKey: {
1569
1413
  fontFamily: AppFonts.interMedium,
1570
- fontSize: 12,
1414
+ fontSize: 11,
1571
1415
  color: colors.primaryBlack,
1572
- flex: 1,
1573
1416
  },
1574
- analyticsTopEventBarWrap: {
1575
- flex: 0.8,
1576
- height: 3,
1577
- backgroundColor: colors.grayBackground,
1578
- borderRadius: 2,
1579
- overflow: 'hidden',
1580
- },
1581
- analyticsTopEventBar: {
1582
- height: '100%',
1583
- borderRadius: 2,
1584
- },
1585
- analyticsTopEventCount: {
1586
- fontFamily: AppFonts.interBold,
1417
+ detailsValue: {
1418
+ fontFamily: AppFonts.interRegular,
1587
1419
  fontSize: 11,
1588
1420
  color: colors.grayText,
1589
- width: 24,
1590
- textAlign: 'right',
1591
- },
1592
- analyticsIconCircle: {
1593
- width: 24,
1594
- height: 24,
1595
- borderRadius: 12,
1596
- alignItems: 'center',
1597
- justifyContent: 'center',
1598
1421
  },
1599
1422
  });
1600
1423
  const styles = {};
@@ -1610,5 +1433,6 @@ rebuildStyles(false);
1610
1433
  export const toggleGlobalTheme = (isDark) => {
1611
1434
  updateAppColorsTheme(isDark);
1612
1435
  rebuildStyles(isDark);
1436
+ rebuildCommonStyles(isDark ? getThemeColors(true) : AppColors);
1613
1437
  };
1614
1438
  export default styles;