react-native-inapp-inspector 2.3.18 → 2.3.20

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 (358) hide show
  1. package/android/src/main/java/com/inappinspector/NetworkInspectorModule.kt +57 -0
  2. package/dist/commonjs/analytics.js +1 -24
  3. package/dist/commonjs/bundle.js +1 -16
  4. package/dist/commonjs/capture.d.ts +2 -0
  5. package/dist/commonjs/capture.js +1 -32
  6. package/dist/commonjs/components/AnalyticsDetail.js +92 -623
  7. package/dist/commonjs/components/AnalyticsEventCard.js +54 -350
  8. package/dist/commonjs/components/AnalyticsGraph.js +70 -370
  9. package/dist/commonjs/components/AnimatedEntrance.js +1 -11
  10. package/dist/commonjs/components/AppHeaderLogo.js +7 -134
  11. package/dist/commonjs/components/BrandCircleIcon.js +73 -118
  12. package/dist/commonjs/components/BrandSquareIcon.js +63 -108
  13. package/dist/commonjs/components/CodeSnippet.js +48 -623
  14. package/dist/commonjs/components/ConsoleLogCard.js +63 -537
  15. package/dist/commonjs/components/CopyButton.js +3 -89
  16. package/dist/commonjs/components/DiffViewer.js +19 -83
  17. package/dist/commonjs/components/DomainHeader.js +27 -127
  18. package/dist/commonjs/components/EmptyState.d.ts +1 -0
  19. package/dist/commonjs/components/EmptyState.js +10 -87
  20. package/dist/commonjs/components/EndOfListFooter.js +7 -81
  21. package/dist/commonjs/components/ErrorBoundary.js +72 -566
  22. package/dist/commonjs/components/HeadersSection.js +31 -110
  23. package/dist/commonjs/components/HighlightText.js +17 -58
  24. package/dist/commonjs/components/Inspector/AboutModal.d.ts +6 -0
  25. package/dist/commonjs/components/Inspector/AboutModal.js +351 -0
  26. package/dist/commonjs/components/Inspector/AnalyticsFilterModal.js +98 -797
  27. package/dist/commonjs/components/Inspector/AnalyticsTab.js +284 -930
  28. package/dist/commonjs/components/Inspector/BundleTab.js +551 -2918
  29. package/dist/commonjs/components/Inspector/ConsoleTab.js +79 -492
  30. package/dist/commonjs/components/Inspector/CrashDetail.js +123 -672
  31. package/dist/commonjs/components/Inspector/CrashFilterModal.js +66 -498
  32. package/dist/commonjs/components/Inspector/CrashTab.js +98 -670
  33. package/dist/commonjs/components/Inspector/DebuggingTab.js +64 -871
  34. package/dist/commonjs/components/Inspector/DeviceInfoTab.js +143 -907
  35. package/dist/commonjs/components/Inspector/FabLauncher.js +85 -54
  36. package/dist/commonjs/components/Inspector/FeatureUnderDevNotice.js +6 -99
  37. package/dist/commonjs/components/Inspector/FeedbackModal.d.ts +9 -0
  38. package/dist/commonjs/components/Inspector/FeedbackModal.js +167 -521
  39. package/dist/commonjs/components/Inspector/InspectorContext.js +1 -21
  40. package/dist/commonjs/components/Inspector/InspectorHeader.js +219 -1093
  41. package/dist/commonjs/components/Inspector/LogDetail.js +168 -994
  42. package/dist/commonjs/components/Inspector/MainScreen.js +60 -332
  43. package/dist/commonjs/components/Inspector/MediaGalleryTab.js +136 -278
  44. package/dist/commonjs/components/Inspector/MediaPreviewModal.js +134 -361
  45. package/dist/commonjs/components/Inspector/NavigationTracker.js +1 -12
  46. package/dist/commonjs/components/Inspector/NetworkDetail.js +96 -432
  47. package/dist/commonjs/components/Inspector/NetworkFilterModal.js +60 -576
  48. package/dist/commonjs/components/Inspector/NetworkTab.js +84 -514
  49. package/dist/commonjs/components/Inspector/NpmStarPrompt.js +17 -433
  50. package/dist/commonjs/components/Inspector/NpmUpdateToast.js +25 -298
  51. package/dist/commonjs/components/Inspector/PerformanceTab.js +182 -1397
  52. package/dist/commonjs/components/Inspector/ReduxDetail.js +188 -1089
  53. package/dist/commonjs/components/Inspector/ReduxTab.js +85 -701
  54. package/dist/commonjs/components/Inspector/SettingsPanel.js +431 -3431
  55. package/dist/commonjs/components/Inspector/SkeletonPlaceholder.js +11 -180
  56. package/dist/commonjs/components/Inspector/StorageTab.js +93 -826
  57. package/dist/commonjs/components/Inspector/TabBar.js +47 -183
  58. package/dist/commonjs/components/Inspector/UpdateAvailableModal.js +34 -408
  59. package/dist/commonjs/components/JsonViewer.js +168 -380
  60. package/dist/commonjs/components/LogCard.js +57 -567
  61. package/dist/commonjs/components/LogSyntaxHighlighter.js +11 -130
  62. package/dist/commonjs/components/MetaAccordion.js +69 -238
  63. package/dist/commonjs/components/MiniBarChart.js +3 -56
  64. package/dist/commonjs/components/MiniLineChart.js +3 -58
  65. package/dist/commonjs/components/NetworkIcons.d.ts +7 -0
  66. package/dist/commonjs/components/NetworkIcons.js +479 -997
  67. package/dist/commonjs/components/QRCodeView.js +5 -79
  68. package/dist/commonjs/components/SectionHeader.js +15 -37
  69. package/dist/commonjs/components/SegmentedTabs.js +7 -61
  70. package/dist/commonjs/components/SkeletonPlaceholder.js +11 -180
  71. package/dist/commonjs/components/Slider.js +15 -243
  72. package/dist/commonjs/components/SourcePageCard.js +30 -89
  73. package/dist/commonjs/components/Toast.js +5 -147
  74. package/dist/commonjs/components/TouchableScale.js +3 -24
  75. package/dist/commonjs/components/TreeNode.js +55 -130
  76. package/dist/commonjs/console.js +1 -16
  77. package/dist/commonjs/constants/index.js +1 -32
  78. package/dist/commonjs/constants/telemetryConfig.js +1 -6
  79. package/dist/commonjs/constants/version.d.ts +1 -1
  80. package/dist/commonjs/constants/version.js +1 -4
  81. package/dist/commonjs/crash.js +1 -23
  82. package/dist/commonjs/customHooks/analyticsLogger.js +1 -250
  83. package/dist/commonjs/customHooks/bundleAnalyzer.js +1 -957
  84. package/dist/commonjs/customHooks/consoleLogger.js +6 -445
  85. package/dist/commonjs/customHooks/crashHandler.js +7 -656
  86. package/dist/commonjs/customHooks/logFilters.js +1 -23
  87. package/dist/commonjs/customHooks/networkLogger.js +2 -536
  88. package/dist/commonjs/customHooks/performanceTracker.js +63 -750
  89. package/dist/commonjs/customHooks/reduxLogger.js +2 -313
  90. package/dist/commonjs/customHooks/storageInspector.js +1 -435
  91. package/dist/commonjs/customHooks/useAccordion.js +1 -18
  92. package/dist/commonjs/decorators/index.js +1 -100
  93. package/dist/commonjs/helpers/gaAnalyticsRegistry.js +1 -148
  94. package/dist/commonjs/helpers/index.js +8 -921
  95. package/dist/commonjs/helpers/memoryManager.js +1 -99
  96. package/dist/commonjs/helpers/qrGenerator.js +1 -367
  97. package/dist/commonjs/helpers/remoteConfig.js +1 -165
  98. package/dist/commonjs/helpers/searchQueryParser.js +1 -62
  99. package/dist/commonjs/helpers/settingsStore.js +1 -144
  100. package/dist/commonjs/helpers/telemetry.js +1 -501
  101. package/dist/commonjs/helpers/toast.js +1 -20
  102. package/dist/commonjs/i18n/index.js +1 -90
  103. package/dist/commonjs/i18n/locales/en.json +1 -1122
  104. package/dist/commonjs/index.js +5 -2153
  105. package/dist/commonjs/metro.js +6 -468
  106. package/dist/commonjs/native/NativeInspector.d.ts +3 -0
  107. package/dist/commonjs/native/NativeInspector.js +1 -402
  108. package/dist/commonjs/native/NativeNetworkInspector.d.ts +1 -0
  109. package/dist/commonjs/native/NativeNetworkInspector.js +1 -4
  110. package/dist/commonjs/network.js +1 -13
  111. package/dist/commonjs/performance.js +1 -29
  112. package/dist/commonjs/redux.js +1 -20
  113. package/dist/commonjs/storage.js +1 -14
  114. package/dist/commonjs/styles/AppColors.js +1 -423
  115. package/dist/commonjs/styles/AppFonts.js +1 -17
  116. package/dist/commonjs/styles/common.js +1 -190
  117. package/dist/commonjs/styles/index.d.ts +6 -0
  118. package/dist/commonjs/styles/index.js +1 -1589
  119. package/dist/commonjs/types/enums.d.ts +2 -1
  120. package/dist/commonjs/types/enums.js +1 -150
  121. package/dist/commonjs/types/index.js +1 -18
  122. package/dist/commonjs/types/interfaces.d.ts +7 -0
  123. package/dist/commonjs/types/interfaces.js +1 -2
  124. package/dist/esm/analytics.js +1 -2
  125. package/dist/esm/bundle.js +1 -2
  126. package/dist/esm/capture.d.ts +2 -0
  127. package/dist/esm/capture.js +1 -29
  128. package/dist/esm/components/AnalyticsDetail.js +171 -664
  129. package/dist/esm/components/AnalyticsEventCard.js +77 -335
  130. package/dist/esm/components/AnalyticsGraph.js +95 -357
  131. package/dist/esm/components/AnimatedEntrance.js +1 -6
  132. package/dist/esm/components/AppHeaderLogo.js +7 -94
  133. package/dist/esm/components/BrandCircleIcon.js +114 -119
  134. package/dist/esm/components/BrandSquareIcon.js +73 -78
  135. package/dist/esm/components/CodeSnippet.js +58 -595
  136. package/dist/esm/components/ConsoleLogCard.js +91 -526
  137. package/dist/esm/components/CopyButton.js +3 -51
  138. package/dist/esm/components/DiffViewer.js +22 -48
  139. package/dist/esm/components/DomainHeader.js +43 -138
  140. package/dist/esm/components/EmptyState.d.ts +1 -0
  141. package/dist/esm/components/EmptyState.js +17 -56
  142. package/dist/esm/components/EndOfListFooter.js +15 -83
  143. package/dist/esm/components/ErrorBoundary.js +125 -582
  144. package/dist/esm/components/HeadersSection.js +52 -93
  145. package/dist/esm/components/HighlightText.js +17 -53
  146. package/dist/esm/components/Inspector/AboutModal.d.ts +6 -0
  147. package/dist/esm/components/Inspector/AboutModal.js +351 -0
  148. package/dist/esm/components/Inspector/AnalyticsFilterModal.js +225 -886
  149. package/dist/esm/components/Inspector/AnalyticsTab.js +296 -904
  150. package/dist/esm/components/Inspector/BundleTab.js +1175 -3502
  151. package/dist/esm/components/Inspector/ConsoleTab.js +113 -488
  152. package/dist/esm/components/Inspector/CrashDetail.js +236 -747
  153. package/dist/esm/components/Inspector/CrashFilterModal.js +149 -541
  154. package/dist/esm/components/Inspector/CrashTab.js +177 -711
  155. package/dist/esm/components/Inspector/DebuggingTab.js +156 -923
  156. package/dist/esm/components/Inspector/DeviceInfoTab.js +199 -924
  157. package/dist/esm/components/Inspector/FabLauncher.js +85 -49
  158. package/dist/esm/components/Inspector/FeatureUnderDevNotice.js +14 -70
  159. package/dist/esm/components/Inspector/FeedbackModal.d.ts +9 -0
  160. package/dist/esm/components/Inspector/FeedbackModal.js +182 -499
  161. package/dist/esm/components/Inspector/InspectorContext.js +1 -12
  162. package/dist/esm/components/Inspector/InspectorHeader.js +309 -1145
  163. package/dist/esm/components/Inspector/LogDetail.js +235 -1023
  164. package/dist/esm/components/Inspector/MainScreen.js +86 -320
  165. package/dist/esm/components/Inspector/MediaGalleryTab.js +157 -259
  166. package/dist/esm/components/Inspector/MediaPreviewModal.js +153 -340
  167. package/dist/esm/components/Inspector/NavigationTracker.js +1 -10
  168. package/dist/esm/components/Inspector/NetworkDetail.js +141 -472
  169. package/dist/esm/components/Inspector/NetworkFilterModal.js +122 -597
  170. package/dist/esm/components/Inspector/NetworkTab.js +125 -517
  171. package/dist/esm/components/Inspector/NpmStarPrompt.js +58 -434
  172. package/dist/esm/components/Inspector/NpmUpdateToast.js +45 -281
  173. package/dist/esm/components/Inspector/PerformanceTab.js +393 -1570
  174. package/dist/esm/components/Inspector/ReduxDetail.js +307 -1170
  175. package/dist/esm/components/Inspector/ReduxTab.js +144 -722
  176. package/dist/esm/components/Inspector/SettingsPanel.js +647 -3609
  177. package/dist/esm/components/Inspector/SkeletonPlaceholder.js +30 -163
  178. package/dist/esm/components/Inspector/StorageTab.js +172 -866
  179. package/dist/esm/components/Inspector/TabBar.js +52 -183
  180. package/dist/esm/components/Inspector/UpdateAvailableModal.js +79 -416
  181. package/dist/esm/components/JsonViewer.js +179 -353
  182. package/dist/esm/components/LogCard.js +93 -565
  183. package/dist/esm/components/LogSyntaxHighlighter.js +11 -123
  184. package/dist/esm/components/MetaAccordion.js +136 -267
  185. package/dist/esm/components/MiniBarChart.js +3 -18
  186. package/dist/esm/components/MiniLineChart.js +3 -20
  187. package/dist/esm/components/NetworkIcons.d.ts +7 -0
  188. package/dist/esm/components/NetworkIcons.js +481 -817
  189. package/dist/esm/components/QRCodeView.js +8 -45
  190. package/dist/esm/components/SectionHeader.js +22 -39
  191. package/dist/esm/components/SegmentedTabs.js +8 -57
  192. package/dist/esm/components/SkeletonPlaceholder.js +30 -163
  193. package/dist/esm/components/Slider.js +24 -213
  194. package/dist/esm/components/SourcePageCard.js +65 -86
  195. package/dist/esm/components/Toast.js +10 -117
  196. package/dist/esm/components/TouchableScale.js +3 -19
  197. package/dist/esm/components/TreeNode.js +58 -95
  198. package/dist/esm/console.js +1 -2
  199. package/dist/esm/constants/index.js +1 -28
  200. package/dist/esm/constants/telemetryConfig.js +1 -3
  201. package/dist/esm/constants/version.d.ts +1 -1
  202. package/dist/esm/constants/version.js +1 -1
  203. package/dist/esm/crash.js +1 -2
  204. package/dist/esm/customHooks/analyticsLogger.js +1 -230
  205. package/dist/esm/customHooks/bundleAnalyzer.js +1 -944
  206. package/dist/esm/customHooks/consoleLogger.js +6 -432
  207. package/dist/esm/customHooks/crashHandler.js +7 -630
  208. package/dist/esm/customHooks/logFilters.js +1 -20
  209. package/dist/esm/customHooks/networkLogger.js +2 -519
  210. package/dist/esm/customHooks/performanceTracker.js +63 -723
  211. package/dist/esm/customHooks/reduxLogger.js +2 -293
  212. package/dist/esm/customHooks/storageInspector.js +1 -418
  213. package/dist/esm/customHooks/useAccordion.js +1 -16
  214. package/dist/esm/decorators/index.js +1 -95
  215. package/dist/esm/helpers/gaAnalyticsRegistry.js +1 -143
  216. package/dist/esm/helpers/index.js +8 -861
  217. package/dist/esm/helpers/memoryManager.js +1 -91
  218. package/dist/esm/helpers/qrGenerator.js +1 -364
  219. package/dist/esm/helpers/remoteConfig.js +1 -160
  220. package/dist/esm/helpers/searchQueryParser.js +1 -59
  221. package/dist/esm/helpers/settingsStore.js +1 -134
  222. package/dist/esm/helpers/telemetry.js +1 -489
  223. package/dist/esm/helpers/toast.js +1 -15
  224. package/dist/esm/i18n/index.js +1 -78
  225. package/dist/esm/i18n/locales/en.json +1 -1122
  226. package/dist/esm/index.js +7 -1967
  227. package/dist/esm/metro.js +6 -459
  228. package/dist/esm/native/NativeInspector.d.ts +3 -0
  229. package/dist/esm/native/NativeInspector.js +1 -370
  230. package/dist/esm/native/NativeNetworkInspector.d.ts +1 -0
  231. package/dist/esm/native/NativeNetworkInspector.js +1 -2
  232. package/dist/esm/network.js +1 -1
  233. package/dist/esm/performance.js +1 -2
  234. package/dist/esm/redux.js +1 -1
  235. package/dist/esm/storage.js +1 -1
  236. package/dist/esm/styles/AppColors.js +1 -417
  237. package/dist/esm/styles/AppFonts.js +1 -13
  238. package/dist/esm/styles/common.js +1 -186
  239. package/dist/esm/styles/index.d.ts +6 -0
  240. package/dist/esm/styles/index.js +1 -1551
  241. package/dist/esm/types/enums.d.ts +2 -1
  242. package/dist/esm/types/enums.js +1 -147
  243. package/dist/esm/types/index.js +1 -2
  244. package/dist/esm/types/interfaces.d.ts +7 -0
  245. package/dist/esm/types/interfaces.js +1 -1
  246. package/ios/NetworkInspectorModule.mm +253 -136
  247. package/package.json +5 -3
  248. package/react-native-inapp-inspector.podspec +1 -1
  249. package/src/native/NativeInspector.ts +17 -0
  250. package/src/native/NativeNetworkInspector.ts +1 -0
  251. package/src/analytics.ts +0 -35
  252. package/src/bundle.ts +0 -25
  253. package/src/capture.ts +0 -101
  254. package/src/components/AnalyticsDetail.tsx +0 -870
  255. package/src/components/AnalyticsEventCard.tsx +0 -444
  256. package/src/components/AnalyticsGraph.tsx +0 -583
  257. package/src/components/AnimatedEntrance.tsx +0 -20
  258. package/src/components/AppHeaderLogo.tsx +0 -143
  259. package/src/components/BrandCircleIcon.tsx +0 -144
  260. package/src/components/BrandSquareIcon.tsx +0 -184
  261. package/src/components/CodeSnippet.tsx +0 -725
  262. package/src/components/ConsoleLogCard.tsx +0 -679
  263. package/src/components/CopyButton.tsx +0 -87
  264. package/src/components/DiffViewer.tsx +0 -82
  265. package/src/components/DomainHeader.tsx +0 -224
  266. package/src/components/EmptyState.tsx +0 -95
  267. package/src/components/EndOfListFooter.tsx +0 -100
  268. package/src/components/ErrorBoundary.tsx +0 -688
  269. package/src/components/HeadersSection.tsx +0 -172
  270. package/src/components/HighlightText.tsx +0 -100
  271. package/src/components/Inspector/AnalyticsFilterModal.tsx +0 -1250
  272. package/src/components/Inspector/AnalyticsTab.tsx +0 -1362
  273. package/src/components/Inspector/BundleTab.tsx +0 -4768
  274. package/src/components/Inspector/ConsoleTab.tsx +0 -726
  275. package/src/components/Inspector/CrashDetail.tsx +0 -997
  276. package/src/components/Inspector/CrashFilterModal.tsx +0 -721
  277. package/src/components/Inspector/CrashTab.tsx +0 -933
  278. package/src/components/Inspector/DebuggingTab.tsx +0 -1103
  279. package/src/components/Inspector/DeviceInfoTab.tsx +0 -1397
  280. package/src/components/Inspector/FabLauncher.tsx +0 -80
  281. package/src/components/Inspector/FeatureUnderDevNotice.tsx +0 -94
  282. package/src/components/Inspector/FeedbackModal.tsx +0 -626
  283. package/src/components/Inspector/InspectorContext.tsx +0 -28
  284. package/src/components/Inspector/InspectorHeader.tsx +0 -1545
  285. package/src/components/Inspector/LogDetail.tsx +0 -1431
  286. package/src/components/Inspector/MainScreen.tsx +0 -459
  287. package/src/components/Inspector/MediaGalleryTab.tsx +0 -355
  288. package/src/components/Inspector/MediaPreviewModal.tsx +0 -435
  289. package/src/components/Inspector/NavigationTracker.tsx +0 -13
  290. package/src/components/Inspector/NetworkDetail.tsx +0 -795
  291. package/src/components/Inspector/NetworkFilterModal.tsx +0 -730
  292. package/src/components/Inspector/NetworkTab.tsx +0 -820
  293. package/src/components/Inspector/NpmStarPrompt.tsx +0 -532
  294. package/src/components/Inspector/NpmUpdateToast.tsx +0 -387
  295. package/src/components/Inspector/PerformanceTab.tsx +0 -1967
  296. package/src/components/Inspector/ReduxDetail.tsx +0 -1651
  297. package/src/components/Inspector/ReduxTab.tsx +0 -987
  298. package/src/components/Inspector/SettingsPanel.tsx +0 -4580
  299. package/src/components/Inspector/SkeletonPlaceholder.tsx +0 -206
  300. package/src/components/Inspector/StorageTab.tsx +0 -1159
  301. package/src/components/Inspector/TabBar.tsx +0 -263
  302. package/src/components/Inspector/UpdateAvailableModal.tsx +0 -555
  303. package/src/components/JsonViewer.tsx +0 -547
  304. package/src/components/LogCard.tsx +0 -694
  305. package/src/components/LogSyntaxHighlighter.tsx +0 -178
  306. package/src/components/MetaAccordion.tsx +0 -355
  307. package/src/components/MiniBarChart.tsx +0 -42
  308. package/src/components/MiniLineChart.tsx +0 -33
  309. package/src/components/NetworkIcons.tsx +0 -2599
  310. package/src/components/QRCodeView.tsx +0 -75
  311. package/src/components/SectionHeader.tsx +0 -101
  312. package/src/components/SegmentedTabs.tsx +0 -83
  313. package/src/components/SkeletonPlaceholder.tsx +0 -206
  314. package/src/components/Slider.tsx +0 -300
  315. package/src/components/SourcePageCard.tsx +0 -150
  316. package/src/components/Toast.tsx +0 -131
  317. package/src/components/TouchableScale.tsx +0 -61
  318. package/src/components/TreeNode.tsx +0 -171
  319. package/src/console.ts +0 -24
  320. package/src/constants/index.ts +0 -41
  321. package/src/constants/telemetryConfig.ts +0 -4
  322. package/src/constants/version.ts +0 -3
  323. package/src/crash.ts +0 -32
  324. package/src/customHooks/analyticsLogger.ts +0 -336
  325. package/src/customHooks/bundleAnalyzer.ts +0 -1256
  326. package/src/customHooks/consoleLogger.ts +0 -530
  327. package/src/customHooks/crashHandler.ts +0 -944
  328. package/src/customHooks/logFilters.ts +0 -32
  329. package/src/customHooks/networkLogger.ts +0 -624
  330. package/src/customHooks/performanceTracker.ts +0 -1014
  331. package/src/customHooks/reduxLogger.ts +0 -406
  332. package/src/customHooks/storageInspector.ts +0 -513
  333. package/src/customHooks/useAccordion.tsx +0 -27
  334. package/src/decorators/index.ts +0 -184
  335. package/src/helpers/gaAnalyticsRegistry.ts +0 -204
  336. package/src/helpers/index.ts +0 -1092
  337. package/src/helpers/memoryManager.ts +0 -138
  338. package/src/helpers/qrGenerator.ts +0 -430
  339. package/src/helpers/remoteConfig.ts +0 -212
  340. package/src/helpers/searchQueryParser.ts +0 -84
  341. package/src/helpers/settingsStore.ts +0 -171
  342. package/src/helpers/telemetry.ts +0 -568
  343. package/src/helpers/toast.ts +0 -17
  344. package/src/i18n/index.ts +0 -104
  345. package/src/i18n/locales/en.json +0 -1125
  346. package/src/index.tsx +0 -2635
  347. package/src/metro.ts +0 -598
  348. package/src/network.ts +0 -22
  349. package/src/performance.ts +0 -38
  350. package/src/redux.ts +0 -23
  351. package/src/storage.ts +0 -18
  352. package/src/styles/AppColors.ts +0 -455
  353. package/src/styles/AppFonts.ts +0 -26
  354. package/src/styles/common.ts +0 -209
  355. package/src/styles/index.ts +0 -1606
  356. package/src/types/enums.ts +0 -208
  357. package/src/types/index.ts +0 -34
  358. package/src/types/interfaces.ts +0 -530
@@ -1,1606 +0,0 @@
1
- import {StyleSheet, Platform} from 'react-native';
2
- import AppColors, {updateAppColorsTheme, getThemeColors} from './AppColors';
3
- import {AppFonts} from './AppFonts';
4
- import commonStyles, {rebuildCommonStyles} from './common';
5
-
6
- export {commonStyles};
7
-
8
- export const getRawStyles = (colors: typeof AppColors) => ({
9
- header: {
10
- flexDirection: 'row',
11
- alignItems: 'center',
12
- paddingHorizontal: 10,
13
- paddingVertical: 8,
14
- zIndex: 10,
15
- minHeight: 52,
16
- shadowColor: colors.black,
17
- shadowOffset: {width: 0, height: 2},
18
- shadowOpacity: 0.08,
19
- shadowRadius: 4,
20
- elevation: 3,
21
- },
22
- headerLeft: {
23
- flex: 1,
24
- minWidth: 0,
25
- alignItems: 'flex-start',
26
- },
27
- headerCenter: {
28
- flex: 1,
29
- minWidth: 0,
30
- alignItems: 'center',
31
- justifyContent: 'center',
32
- paddingHorizontal: 4,
33
- },
34
- headerRight: {
35
- flexShrink: 0,
36
- flexDirection: 'row',
37
- alignItems: 'center',
38
- justifyContent: 'flex-end',
39
- gap: 5,
40
- },
41
- headerTitle: {
42
- fontFamily: AppFonts.interBold,
43
- color: colors.primaryLight,
44
- fontSize: 15,
45
- letterSpacing: 0.3,
46
- paddingBottom: 4,
47
- },
48
- envBadge: {
49
- paddingHorizontal: 6,
50
- paddingVertical: 2,
51
- borderRadius: 6,
52
- borderWidth: 1,
53
- alignItems: 'center',
54
- justifyContent: 'center',
55
- marginBottom: 4,
56
- },
57
- envBadgeText: {
58
- fontFamily: AppFonts.interBold,
59
- fontSize: 9.5,
60
- letterSpacing: 0.5,
61
- },
62
- headerDetailCenter: {
63
- alignItems: 'center',
64
- justifyContent: 'center',
65
- flex: 1,
66
- minWidth: 0,
67
- },
68
- headerDetailRow: {
69
- flexDirection: 'row',
70
- alignItems: 'center',
71
- gap: 8,
72
- maxWidth: '100%',
73
- },
74
- headerMethodBadge: {
75
- paddingHorizontal: 6,
76
- paddingVertical: 3,
77
- borderRadius: 6,
78
- shadowColor: colors.black,
79
- shadowOffset: {width: 0, height: 1},
80
- shadowOpacity: 0.1,
81
- shadowRadius: 2,
82
- elevation: 1,
83
- },
84
- headerMethodText: {
85
- fontFamily: AppFonts.interBold,
86
- color: colors.primaryLight,
87
- fontSize: 10,
88
- letterSpacing: 0.5,
89
- },
90
- headerDetailTitle: {
91
- fontFamily: AppFonts.interMedium,
92
- color: colors.primaryLight,
93
- fontSize: 15,
94
- flexShrink: 1,
95
- letterSpacing: 0.2,
96
- },
97
- headerDetailSubRow: {
98
- flexDirection: 'row',
99
- alignItems: 'center',
100
- gap: 6,
101
- marginTop: 4,
102
- },
103
- headerStatusDot: {
104
- width: 7,
105
- height: 7,
106
- borderRadius: 3.5,
107
- shadowColor: colors.black,
108
- shadowOffset: {width: 0, height: 1},
109
- shadowOpacity: 0.2,
110
- shadowRadius: 1,
111
- elevation: 1,
112
- },
113
- headerSubTitle: {
114
- fontFamily: AppFonts.interMedium,
115
- color: colors.primaryLight,
116
- fontSize: 11,
117
- opacity: 0.95,
118
- letterSpacing: 0.2,
119
- },
120
- headerCountBadge: {
121
- flexDirection: 'row',
122
- alignItems: 'center',
123
- backgroundColor: `${colors.black}33`,
124
- paddingHorizontal: 12,
125
- paddingVertical: 6,
126
- borderRadius: 16,
127
- gap: 6,
128
- borderWidth: 0.5,
129
- borderColor: `${colors.white}33`,
130
- shadowColor: colors.black,
131
- shadowOffset: {width: 0, height: 1},
132
- shadowOpacity: 0.1,
133
- shadowRadius: 2,
134
- elevation: 2,
135
- },
136
- headerCountText: {
137
- fontFamily: AppFonts.interMedium,
138
- color: `${colors.white}F2`,
139
- fontSize: 12,
140
- letterSpacing: 0.2,
141
- },
142
-
143
- listContent: {paddingBottom: Platform.OS === 'ios' ? 44 : 32},
144
- // Floating Support & Feedback FAB, in place of scroll-to-top button
145
- supportFab: {
146
- position: 'absolute',
147
- bottom: 22,
148
- right: 16,
149
- width: 42,
150
- height: 42,
151
- borderRadius: 21,
152
- backgroundColor: colors.purple,
153
- alignItems: 'center',
154
- justifyContent: 'center',
155
- shadowColor: colors.purple,
156
- shadowOffset: {width: 0, height: 4},
157
- shadowOpacity: 0.45,
158
- shadowRadius: 8,
159
- elevation: 14,
160
- zIndex: 999,
161
- borderWidth: 1.5,
162
- borderColor: 'rgba(255, 255, 255, 0.25)',
163
- },
164
- scrollTopBtn: {
165
- position: 'absolute',
166
- bottom: 22,
167
- right: 16,
168
- width: 38,
169
- height: 38,
170
- borderRadius: 19,
171
- backgroundColor: colors.purple,
172
- alignItems: 'center',
173
- justifyContent: 'center',
174
- shadowColor: colors.black,
175
- shadowOffset: {width: 0, height: 3},
176
- shadowOpacity: 0.3,
177
- shadowRadius: 6,
178
- elevation: 12,
179
- zIndex: 999,
180
- },
181
- detailScroll: {flex: 1},
182
-
183
- closeButtonSquare: {
184
- width: 30,
185
- height: 30,
186
- borderRadius: 7,
187
- backgroundColor: `${colors.white}2B`,
188
- alignItems: 'center',
189
- justifyContent: 'center',
190
- borderWidth: 1,
191
- borderColor: `${colors.white}33`,
192
- overflow: 'hidden',
193
- },
194
-
195
- fabWrapper: {
196
- position: 'absolute',
197
- bottom: 180,
198
- right: 20,
199
- alignItems: 'center',
200
- justifyContent: 'center',
201
- zIndex: 99999,
202
- elevation: 15,
203
- shadowColor: colors.purple,
204
- shadowOffset: {width: 0, height: 8},
205
- shadowOpacity: 0.4,
206
- shadowRadius: 12,
207
- },
208
- fabPulseRing: {
209
- position: 'absolute',
210
- width: 60,
211
- height: 60,
212
- borderRadius: 30,
213
- backgroundColor: `${colors.purple}25`,
214
- },
215
- // #4 — circular clipping mask for the FAB shine sweep.
216
- fabShineClip: {
217
- position: 'absolute',
218
- width: 62,
219
- height: 62,
220
- borderRadius: 31,
221
- overflow: 'hidden',
222
- },
223
- // #4 — diagonal light streak that sweeps across the launcher.
224
- fabShineStreak: {
225
- position: 'absolute',
226
- top: -20,
227
- width: 26,
228
- height: 102,
229
- transform: [{rotate: '25deg'}],
230
- },
231
- fabGreenDot: {
232
- position: 'absolute',
233
- top: 2,
234
- right: 2,
235
- width: 12,
236
- height: 12,
237
- borderRadius: 6,
238
- backgroundColor: colors.greenA400,
239
- borderWidth: 2,
240
- borderColor: colors.primaryLight,
241
- shadowColor: colors.black,
242
- shadowOffset: {width: 0, height: 1},
243
- shadowOpacity: 0.2,
244
- shadowRadius: 1.5,
245
- elevation: 2,
246
- },
247
-
248
-
249
- toolbarRow: {
250
- flexDirection: 'row',
251
- alignItems: 'center',
252
- justifyContent: 'space-between',
253
- paddingHorizontal: 12,
254
- marginBottom: 10,
255
- gap: 10,
256
- marginTop: 4,
257
- },
258
- toolbarRight: {
259
- flexDirection: 'row',
260
- alignItems: 'center',
261
- gap: 10,
262
- },
263
- toolbarBtn: {
264
- width: 34,
265
- height: 34,
266
- borderRadius: 17,
267
- alignItems: 'center',
268
- justifyContent: 'center',
269
- backgroundColor: colors.primaryLight,
270
- borderWidth: 1.5,
271
- borderColor: colors.grayBorderSecondary,
272
- ...(Platform.OS === 'ios'
273
- ? {
274
- shadowColor: colors.black,
275
- shadowOffset: {width: 0, height: 1},
276
- shadowOpacity: 0.04,
277
- shadowRadius: 2,
278
- }
279
- : {
280
- elevation: 0,
281
- }),
282
- },
283
- toolbarBtnActive: {
284
- borderColor: colors.purple,
285
- backgroundColor: colors.purpleShade50,
286
- shadowOpacity: 0.08,
287
- shadowRadius: 3,
288
- elevation: 2,
289
- },
290
- trashBadge: {
291
- position: 'absolute',
292
- top: -4,
293
- right: -4,
294
- backgroundColor: colors.errorColor,
295
- borderRadius: 10,
296
- minWidth: 18,
297
- height: 18,
298
- alignItems: 'center',
299
- justifyContent: 'center',
300
- borderWidth: 1.5,
301
- borderColor: colors.primaryLight,
302
- },
303
- trashBadgeText: {
304
- color: colors.primaryLight,
305
- fontFamily: AppFonts.interBold,
306
- fontSize: 9,
307
- },
308
-
309
- filtersContainer: {
310
- paddingHorizontal: 12,
311
- paddingBottom: 10,
312
- },
313
- filtersHeading: {
314
- fontFamily: AppFonts.interBold,
315
- color: colors.grayTextStrong,
316
- fontSize: 11,
317
- textTransform: 'uppercase',
318
- letterSpacing: 0.6,
319
- marginBottom: 6,
320
- },
321
- statusRowContent: {
322
- alignItems: 'center',
323
- paddingVertical: 2,
324
- },
325
- statusFilterWrap: {marginRight: 6},
326
- statusFilterChip: {
327
- flexDirection: 'row',
328
- alignItems: 'center',
329
- paddingHorizontal: 9,
330
- height: 32,
331
- justifyContent: 'center',
332
- borderRadius: 24,
333
- borderWidth: 1.5,
334
- borderColor: colors.grayBorderSecondary,
335
- backgroundColor: colors.primaryLight,
336
- shadowColor: colors.black,
337
- shadowOffset: {width: 0, height: 1},
338
- shadowOpacity: 0.04,
339
- shadowRadius: 2,
340
- elevation: 1,
341
- },
342
- statusFilterActive: {
343
- borderColor: colors.purple,
344
- backgroundColor: colors.purpleShade50,
345
- },
346
- filterCheckbox: {
347
- width: 13,
348
- height: 13,
349
- borderRadius: 3,
350
- borderWidth: 1.5,
351
- borderColor: colors.grayBorderSecondary,
352
- backgroundColor: colors.primaryLight,
353
- alignItems: 'center',
354
- justifyContent: 'center',
355
- marginRight: 6,
356
- },
357
- filterCheckboxActive: {
358
- borderColor: 'transparent',
359
- },
360
- filterChipIcon: {
361
- marginRight: 5,
362
- },
363
- methodBadgeMini: {
364
- width: 4.5,
365
- height: 13,
366
- borderRadius: 2,
367
- marginRight: 6,
368
- },
369
- statusFilterText: {
370
- fontFamily: AppFonts.interMedium,
371
- color: colors.grayText,
372
- fontSize: 11.5,
373
- },
374
-
375
- resultCount: {
376
- fontFamily: AppFonts.interRegular,
377
- color: colors.grayTextWeak,
378
- fontSize: 12,
379
- marginHorizontal: 16,
380
- marginBottom: 8,
381
- marginTop: 4,
382
- letterSpacing: 0.2,
383
- },
384
-
385
- searchContainer: {
386
- flex: 1,
387
- flexDirection: 'row',
388
- alignItems: 'center',
389
- backgroundColor: colors.primaryLight,
390
- borderRadius: 24,
391
- paddingHorizontal: 10,
392
- paddingVertical: 4,
393
- borderWidth: 1.5,
394
- borderColor: colors.grayBorderSecondary,
395
- shadowColor: colors.black,
396
- shadowOffset: {width: 0, height: 1},
397
- shadowOpacity: 0.04,
398
- shadowRadius: 2,
399
- elevation: 1,
400
- },
401
- searchInput: {
402
- flex: 1,
403
- fontFamily: AppFonts.interRegular,
404
- color: colors.primaryBlack,
405
- paddingVertical: Platform.OS === 'ios' ? 5 : 2,
406
- marginLeft: 6,
407
- fontSize: 14,
408
- },
409
- clearBtn: {padding: 4},
410
-
411
- domainHeaderCard: {
412
- marginHorizontal: 8,
413
- marginTop: 10,
414
- marginBottom: 4,
415
- paddingHorizontal: 8,
416
- paddingVertical: 7,
417
- borderRadius: 9,
418
- backgroundColor: colors.grayBackground,
419
- borderWidth: 1,
420
- borderColor: colors.grayBorderSecondary,
421
- },
422
- domainHeaderCardExpanded: {
423
- borderBottomLeftRadius: 0,
424
- borderBottomRightRadius: 0,
425
- borderBottomWidth: 0,
426
- marginBottom: 0,
427
- },
428
- domainHeaderTopRow: {
429
- flexDirection: 'row',
430
- alignItems: 'center',
431
- justifyContent: 'space-between',
432
- },
433
- domainHeaderLeft: {
434
- flexDirection: 'row',
435
- alignItems: 'center',
436
- flex: 1,
437
- minWidth: 0,
438
- marginRight: 6,
439
- gap: 6,
440
- },
441
- domainIconWrap: {
442
- width: 22,
443
- height: 22,
444
- borderRadius: 5,
445
- alignItems: 'center',
446
- justifyContent: 'center',
447
- },
448
- domainTitleText: {
449
- fontFamily: AppFonts.interBold,
450
- fontSize: 13,
451
- fontWeight: '700',
452
- color: colors.primaryBlack,
453
- textTransform: 'capitalize',
454
- },
455
- domainSummaryRow: {
456
- flexDirection: 'row',
457
- alignItems: 'center',
458
- gap: 6,
459
- marginTop: 1,
460
- },
461
- domainSummaryText: {
462
- fontFamily: AppFonts.interRegular,
463
- fontSize: 10,
464
- color: colors.grayTextWeak,
465
- },
466
- domainPctText: {
467
- fontFamily: AppFonts.interBold,
468
- fontSize: 9.5,
469
- },
470
- domainProgressSection: {
471
- marginTop: 8,
472
- gap: 4,
473
- width: '100%',
474
- },
475
- domainProgressTrack: {
476
- flexDirection: 'row',
477
- height: 4,
478
- borderRadius: 2,
479
- overflow: 'hidden',
480
- backgroundColor: '#E2E8F0',
481
- width: '100%',
482
- },
483
- domainProgressSegment: {
484
- height: '100%',
485
- },
486
- domainProgressLabelsRow: {
487
- flexDirection: 'row',
488
- alignItems: 'center',
489
- justifyContent: 'space-between',
490
- paddingHorizontal: 2,
491
- },
492
- domainProgressRateText: {
493
- fontFamily: AppFonts.interBold,
494
- fontSize: 9.5,
495
- color: colors.grayTextStrong,
496
- },
497
- domainProgressSummaryText: {
498
- fontFamily: AppFonts.interMedium,
499
- fontSize: 9,
500
- color: colors.grayTextWeak,
501
- },
502
- domainStatsGroup: {
503
- flexDirection: 'row',
504
- alignItems: 'center',
505
- flexShrink: 0,
506
- gap: 4,
507
- },
508
- domainStatPill: {
509
- flexDirection: 'row',
510
- alignItems: 'center',
511
- gap: 3,
512
- paddingHorizontal: 5,
513
- paddingVertical: 2.5,
514
- borderRadius: 5,
515
- borderWidth: 1,
516
- borderColor: colors.grayBorderSecondary,
517
- backgroundColor: colors.primaryLight,
518
- },
519
- domainStatText: {
520
- fontFamily: AppFonts.interBold,
521
- fontSize: 9.5,
522
- },
523
-
524
- treeNodeRow: {
525
- flexDirection: 'row',
526
- alignItems: 'stretch',
527
- marginHorizontal: 8,
528
- paddingRight: 4,
529
- paddingLeft: 0,
530
- backgroundColor: colors.grayBackground,
531
- borderLeftWidth: 1,
532
- borderRightWidth: 1,
533
- borderColor: colors.grayBorderSecondary,
534
- },
535
- treeNodeRowLast: {
536
- borderBottomWidth: 1,
537
- borderBottomLeftRadius: 10,
538
- borderBottomRightRadius: 10,
539
- marginBottom: 8,
540
- paddingBottom: 6,
541
- },
542
- treeLines: {
543
- width: 14,
544
- position: 'relative',
545
- },
546
- modernTreeLine: {
547
- position: 'absolute',
548
- left: 7,
549
- top: 0,
550
- width: 7,
551
- height: '100%',
552
- borderLeftWidth: 1.5,
553
- opacity: 0.5,
554
- },
555
- modernTreeLineLast: {
556
- height: '50%',
557
- borderBottomWidth: 1.5,
558
- borderBottomLeftRadius: 8,
559
- },
560
- modernTreeBranch: {
561
- position: 'absolute',
562
- left: 7,
563
- top: '50%',
564
- width: 7,
565
- borderTopWidth: 1.5,
566
- opacity: 0.5,
567
- },
568
- treeCardWrapper: {
569
- flex: 1,
570
- paddingVertical: 3,
571
- },
572
-
573
- card: {
574
- marginHorizontal: 0,
575
- marginVertical: 0,
576
- borderRadius: 12,
577
- overflow: 'hidden',
578
- shadowColor: colors.black,
579
- shadowOffset: {width: 0, height: 2},
580
- shadowOpacity: 0.05,
581
- shadowRadius: 4,
582
- elevation: 2,
583
- borderWidth: 1,
584
- borderColor: colors.grayBorderSecondary,
585
- backgroundColor: colors.primaryLight,
586
- },
587
- cardBody: {
588
- paddingHorizontal: 12,
589
- paddingTop: 10,
590
- paddingBottom: 9,
591
- },
592
-
593
- cardHeaderRow: {
594
- flexDirection: 'row',
595
- alignItems: 'center',
596
- justifyContent: 'space-between',
597
- marginBottom: 4,
598
- minHeight: 22,
599
- },
600
- cardHeaderLeft: {
601
- flexDirection: 'row',
602
- alignItems: 'center',
603
- flex: 1,
604
- marginRight: 6,
605
- gap: 5,
606
- minWidth: 0,
607
- },
608
- cardHeaderRight: {
609
- flexDirection: 'row',
610
- alignItems: 'center',
611
- gap: 5,
612
- flexShrink: 0,
613
- },
614
-
615
- smallCheckbox: {
616
- width: 15,
617
- height: 15,
618
- borderRadius: 4,
619
- borderWidth: 1.8,
620
- borderColor: colors.grayTextWeak,
621
- alignItems: 'center',
622
- justifyContent: 'center',
623
- backgroundColor: colors.white,
624
- },
625
- smallCheckboxChecked: {
626
- backgroundColor: colors.purple,
627
- borderColor: colors.purple,
628
- },
629
-
630
- serialNumber: {
631
- fontFamily: AppFonts.interBold,
632
- color: colors.grayTextWeak,
633
- fontSize: 10,
634
- },
635
-
636
- methodBadge: {
637
- paddingHorizontal: 6.5,
638
- paddingVertical: 2.5,
639
- borderRadius: 5,
640
- alignItems: 'center',
641
- justifyContent: 'center',
642
- borderWidth: 1,
643
- borderColor: 'rgba(255, 255, 255, 0.3)',
644
- ...(Platform.OS === 'ios'
645
- ? {
646
- shadowColor: colors.black,
647
- shadowOffset: {width: 0, height: 1},
648
- shadowOpacity: 0.12,
649
- shadowRadius: 2,
650
- }
651
- : {
652
- elevation: 1,
653
- }),
654
- },
655
- methodBadgeText: {
656
- fontFamily: AppFonts.interBold,
657
- fontSize: 9.5,
658
- letterSpacing: 0.6,
659
- color: colors.white,
660
- },
661
-
662
- cardHostText: {
663
- fontFamily: AppFonts.interMedium,
664
- fontSize: 12,
665
- color: colors.primaryBlack,
666
- flexShrink: 1,
667
- },
668
-
669
- statusPill: {
670
- paddingHorizontal: 6,
671
- paddingVertical: 2,
672
- borderRadius: 6,
673
- borderWidth: 1,
674
- alignItems: 'center',
675
- justifyContent: 'center',
676
- },
677
- statusPillText: {
678
- fontFamily: AppFonts.interBold,
679
- fontSize: 10,
680
- },
681
-
682
- cardSlugBox: {
683
- flexDirection: 'row',
684
- alignItems: 'center',
685
- justifyContent: 'space-between',
686
- backgroundColor: `${colors.brandPurple}08`,
687
- borderRadius: 8,
688
- borderWidth: 1,
689
- borderColor: `${colors.brandPurple}18`,
690
- paddingHorizontal: 8,
691
- paddingVertical: 6,
692
- marginVertical: 5,
693
- gap: 6,
694
- },
695
- slugLeft: {
696
- flexDirection: 'row',
697
- alignItems: 'flex-start',
698
- flex: 1,
699
- minWidth: 0,
700
- gap: 6,
701
- },
702
- slugTag: {
703
- fontFamily: AppFonts.interBold,
704
- fontSize: 8.5,
705
- color: colors.brandPurple,
706
- letterSpacing: 0.5,
707
- backgroundColor: `${colors.brandPurple}15`,
708
- paddingHorizontal: 4,
709
- paddingVertical: 1.5,
710
- borderRadius: 4,
711
- marginTop: 1,
712
- flexShrink: 0,
713
- },
714
- slugText: {
715
- fontFamily: AppFonts.interMedium,
716
- fontSize: 11.5,
717
- lineHeight: 15.5,
718
- color: colors.primaryBlack,
719
- flex: 1,
720
- },
721
- slugRight: {
722
- flexDirection: 'row',
723
- alignItems: 'center',
724
- gap: 4,
725
- flexShrink: 0,
726
- },
727
-
728
- cardFooterRow: {
729
- flexDirection: 'row',
730
- alignItems: 'center',
731
- justifyContent: 'space-between',
732
- marginTop: 4,
733
- minHeight: 18,
734
- },
735
- cardDateRow: {
736
- flexDirection: 'row',
737
- alignItems: 'center',
738
- gap: 3.5,
739
- flexShrink: 0,
740
- },
741
- cardDateText: {
742
- fontFamily: AppFonts.interRegular,
743
- color: colors.grayTextWeak,
744
- fontSize: 10,
745
- letterSpacing: 0.1,
746
- },
747
- cardFooterRight: {
748
- flexDirection: 'row',
749
- alignItems: 'center',
750
- gap: 5,
751
- flexShrink: 0,
752
- },
753
-
754
- chip: {
755
- flexDirection: 'row',
756
- alignItems: 'center',
757
- gap: 3.5,
758
- paddingHorizontal: 5,
759
- paddingVertical: 2,
760
- borderRadius: 5,
761
- borderWidth: 1,
762
- },
763
- chipText: {
764
- fontFamily: AppFonts.interBold,
765
- fontSize: 9.5,
766
- },
767
-
768
- empty: {
769
- flex: 1,
770
- alignItems: 'center',
771
- justifyContent: 'center',
772
- },
773
- emptyContainer: {
774
- flex: 1,
775
- alignItems: 'center',
776
- justifyContent: 'center',
777
- paddingVertical: 80,
778
- paddingHorizontal: 20,
779
- },
780
- emptyIconWrap: {
781
- width: 72,
782
- height: 72,
783
- borderRadius: 36,
784
- backgroundColor: colors.purpleShade50,
785
- alignItems: 'center',
786
- justifyContent: 'center',
787
- marginBottom: 20,
788
- shadowColor: colors.black,
789
- shadowOffset: {width: 0, height: 2},
790
- shadowOpacity: 0.06,
791
- shadowRadius: 4,
792
- elevation: 1,
793
- },
794
- emptyTitle: {
795
- fontFamily: AppFonts.interBold,
796
- color: colors.grayTextStrong,
797
- fontSize: 18,
798
- marginBottom: 8,
799
- letterSpacing: 0.3,
800
- },
801
- emptySub: {
802
- fontFamily: AppFonts.interRegular,
803
- color: colors.grayTextWeak,
804
- fontSize: 14,
805
- textAlign: 'center',
806
- lineHeight: 20,
807
- letterSpacing: 0.2,
808
- },
809
- reloadBtn: {
810
- marginTop: 28,
811
- paddingHorizontal: 24,
812
- paddingVertical: 12,
813
- backgroundColor: colors.purple,
814
- borderRadius: 24,
815
- shadowColor: colors.purple,
816
- shadowOffset: {width: 0, height: 4},
817
- shadowOpacity: 0.35,
818
- shadowRadius: 8,
819
- elevation: 5,
820
- },
821
- reloadBtnText: {
822
- color: colors.white,
823
- fontFamily: AppFonts.interBold,
824
- fontSize: 14,
825
- letterSpacing: 0.3,
826
- },
827
-
828
- detailInfoBar: {
829
- borderRadius: 14,
830
- paddingVertical: 14,
831
- paddingHorizontal: 10,
832
- marginBottom: 12,
833
- borderWidth: 1,
834
- borderColor: colors.grayBorderSecondary,
835
- backgroundColor: colors.primaryLight,
836
- shadowColor: colors.black,
837
- shadowOffset: {width: 0, height: 2},
838
- shadowOpacity: 0.05,
839
- shadowRadius: 4,
840
- elevation: 2,
841
- },
842
- detailInfoTop: {
843
- flexDirection: 'row',
844
- alignItems: 'center',
845
- justifyContent: 'space-between',
846
- paddingBottom: 8,
847
- gap: 8,
848
- },
849
- detailInfoRight: {
850
- flexDirection: 'row',
851
- alignItems: 'center',
852
- gap: 5,
853
- flexShrink: 0,
854
- },
855
-
856
- metaContainer: {
857
- backgroundColor: colors.primaryLight,
858
- borderWidth: 1,
859
- borderColor: colors.grayBorderSecondary,
860
- borderRadius: 14,
861
- marginBottom: 12,
862
- overflow: 'hidden',
863
- shadowColor: colors.black,
864
- shadowOffset: {width: 0, height: 2},
865
- shadowOpacity: 0.05,
866
- shadowRadius: 4,
867
- elevation: 2,
868
- },
869
- metaHeader: {
870
- flexDirection: 'row',
871
- alignItems: 'center',
872
- justifyContent: 'space-between',
873
- paddingHorizontal: 12,
874
- paddingVertical: 10,
875
- borderBottomWidth: 1,
876
- borderBottomColor: colors.dividerColor,
877
- backgroundColor: colors.primaryLight,
878
- },
879
- metaTitle: {
880
- fontFamily: AppFonts.interBold,
881
- color: colors.grayTextStrong,
882
- fontSize: 12,
883
- letterSpacing: 0.6,
884
- textTransform: 'uppercase',
885
- },
886
- metaBody: {paddingHorizontal: 12, paddingBottom: 8, paddingTop: 4},
887
- metaRow: {
888
- flexDirection: 'row',
889
- alignItems: 'center',
890
- justifyContent: 'space-between',
891
- paddingVertical: 8,
892
- },
893
- metaDivider: {height: 1, backgroundColor: colors.dividerColor},
894
- metaLabelRow: {flexDirection: 'row', alignItems: 'center', gap: 8},
895
- metaLabel: {
896
- fontFamily: AppFonts.interBold,
897
- color: colors.grayText,
898
- fontSize: 13,
899
- },
900
- metaValue: {
901
- fontFamily: AppFonts.interMedium,
902
- color: colors.primaryBlack,
903
- fontSize: 13,
904
- },
905
- metaValueRow: {flexDirection: 'row', alignItems: 'center', gap: 8},
906
-
907
- perfBadge: {
908
- paddingHorizontal: 8,
909
- paddingVertical: 2,
910
- borderRadius: 6,
911
- borderWidth: 1,
912
- },
913
- perfBadgeText: {
914
- fontFamily: AppFonts.interBold,
915
- fontSize: 11,
916
- },
917
-
918
-
919
- detailSearchRow: {
920
- flexDirection: 'row',
921
- alignItems: 'center',
922
- marginBottom: 10,
923
- },
924
- detailSearchBox: {
925
- flex: 1,
926
- flexDirection: 'row',
927
- alignItems: 'center',
928
- justifyContent: 'space-between',
929
- backgroundColor: colors.primaryLight,
930
- borderRadius: 12,
931
- paddingLeft: 16,
932
- borderWidth: 1,
933
- borderColor: colors.grayBorderSecondary,
934
- },
935
- detailSearchInput: {
936
- flex: 1,
937
- fontFamily: AppFonts.interRegular,
938
- color: colors.primaryBlack,
939
- height: 40,
940
- },
941
-
942
- sectionContainer: {
943
- backgroundColor: colors.primaryLight,
944
- borderWidth: 1,
945
- borderColor: colors.grayBorderSecondary,
946
- borderRadius: 12,
947
- marginBottom: 10,
948
- overflow: 'hidden',
949
- },
950
- sectionHeaderGradient: {
951
- backgroundColor: colors.grayBackground,
952
- paddingVertical: 12,
953
- paddingHorizontal: 8,
954
- borderBottomWidth: 1,
955
- borderBottomColor: colors.dividerColor,
956
- },
957
- sectionHeaderRow: {
958
- flexDirection: 'row',
959
- alignItems: 'center',
960
- justifyContent: 'space-between',
961
- },
962
- sectionTitleRow: {
963
- flexDirection: 'row',
964
- alignItems: 'center',
965
- gap: 8,
966
- flex: 1,
967
- marginRight: 8,
968
- },
969
- sectionTitle: {
970
- fontFamily: AppFonts.interBold,
971
- color: colors.grayTextStrong,
972
- fontSize: 14,
973
- flexShrink: 1,
974
- },
975
- sectionHeaderActions: {flexDirection: 'row', alignItems: 'center', gap: 6},
976
-
977
- htCard: {
978
- backgroundColor: colors.primaryLight,
979
- borderRadius: 12,
980
- borderWidth: 1,
981
- borderColor: colors.grayBorderSecondary,
982
- borderLeftWidth: 3,
983
- marginBottom: 10,
984
- overflow: 'hidden',
985
- },
986
- htCardHeader: {
987
- flexDirection: 'row',
988
- alignItems: 'center',
989
- paddingHorizontal: 8,
990
- paddingVertical: 10,
991
- gap: 8,
992
- borderBottomWidth: 1,
993
- borderBottomColor: colors.dividerColor,
994
- backgroundColor: colors.primaryLight,
995
- },
996
- htIconWrap: {
997
- width: 28,
998
- height: 28,
999
- borderRadius: 8,
1000
- alignItems: 'center',
1001
- justifyContent: 'center',
1002
- },
1003
- htTitle: {
1004
- fontFamily: AppFonts.interBold,
1005
- color: colors.grayTextStrong,
1006
- fontSize: 13,
1007
- flexShrink: 1,
1008
- },
1009
- htBadge: {
1010
- borderRadius: 10,
1011
- paddingHorizontal: 7,
1012
- paddingVertical: 2,
1013
- borderWidth: 1,
1014
- },
1015
- htBadgeText: {
1016
- fontFamily: AppFonts.interBold,
1017
- fontSize: 10,
1018
- },
1019
- htHeaderSpacer: {flex: 1},
1020
- htChevronBtn: {
1021
- width: 30,
1022
- height: 30,
1023
- borderRadius: 8,
1024
- borderWidth: 1,
1025
- borderColor: colors.grayBorderSecondary,
1026
- backgroundColor: colors.primaryLight,
1027
- alignItems: 'center',
1028
- justifyContent: 'center',
1029
- },
1030
- htColHeadRow: {
1031
- flexDirection: 'row',
1032
- paddingHorizontal: 8,
1033
- paddingVertical: 6,
1034
- backgroundColor: colors.graySurface,
1035
- borderBottomWidth: 1,
1036
- borderBottomColor: colors.dividerColor,
1037
- },
1038
- htColHead: {
1039
- fontFamily: AppFonts.interBold,
1040
- color: colors.grayTextWeak,
1041
- fontSize: 10,
1042
- letterSpacing: 0.8,
1043
- textTransform: 'uppercase',
1044
- },
1045
- htRow: {
1046
- flexDirection: 'row',
1047
- paddingHorizontal: 8,
1048
- paddingVertical: 0,
1049
- alignItems: 'flex-start',
1050
- },
1051
- htRowBorder: {
1052
- borderBottomWidth: StyleSheet.hairlineWidth,
1053
- borderBottomColor: colors.dividerColor,
1054
- },
1055
- htKeyCell: {
1056
- width: '30%',
1057
- paddingVertical: 10,
1058
- paddingRight: 4,
1059
- },
1060
- htKey: {
1061
- fontFamily: AppFonts.interMedium,
1062
- color: colors.purple,
1063
- fontSize: 11,
1064
- lineHeight: 16,
1065
- },
1066
- htCellDivider: {
1067
- width: StyleSheet.hairlineWidth,
1068
- backgroundColor: colors.dividerColor,
1069
- alignSelf: 'stretch',
1070
- marginVertical: 4,
1071
- },
1072
- htValueCell: {
1073
- flex: 1,
1074
- paddingVertical: 10,
1075
- paddingLeft: 6,
1076
- },
1077
- htValue: {
1078
- fontFamily: AppFonts.interRegular,
1079
- color: colors.primaryBlack,
1080
- fontSize: 11,
1081
- lineHeight: 17,
1082
- },
1083
- htExpandRow: {
1084
- marginTop: 4,
1085
- },
1086
- htExpandText: {
1087
- fontFamily: AppFonts.interBold,
1088
- color: colors.purple,
1089
- fontSize: 10,
1090
- letterSpacing: 0.3,
1091
- },
1092
- htCopyBtn: {
1093
- paddingHorizontal: 6,
1094
- paddingVertical: 12,
1095
- alignItems: 'center',
1096
- justifyContent: 'center',
1097
- },
1098
- htEmpty: {
1099
- paddingHorizontal: 12,
1100
- paddingVertical: 16,
1101
- alignItems: 'center',
1102
- },
1103
- htEmptyText: {
1104
- fontFamily: AppFonts.interRegular,
1105
- color: colors.grayTextWeak,
1106
- fontSize: 12,
1107
- },
1108
-
1109
- iconSquareBtn: {
1110
- width: 30,
1111
- height: 30,
1112
- borderRadius: 8,
1113
- borderWidth: 1,
1114
- borderColor: colors.grayBorderSecondary,
1115
- backgroundColor: colors.grayBackground,
1116
- alignItems: 'center',
1117
- justifyContent: 'center',
1118
- },
1119
- iconSquareBtnSuccess: {
1120
- borderColor: colors.greenColor,
1121
- backgroundColor: colors.greenStatus,
1122
- },
1123
- iconSquareBtnActive: {
1124
- borderColor: colors.skyBlue,
1125
- backgroundColor: colors.purpleShade50,
1126
- },
1127
-
1128
- codeBlockScroll: {width: '100%', backgroundColor: 'transparent'},
1129
- codeBlock: {
1130
- paddingTop: 12,
1131
- paddingHorizontal: 8,
1132
- paddingBottom: 16,
1133
- minWidth: '100%',
1134
- },
1135
- codeSyntax: {
1136
- color: colors.grayTextWeak,
1137
- fontFamily: AppFonts.interRegular,
1138
- fontSize: 12.5,
1139
- lineHeight: 18,
1140
- },
1141
- codeKey: {
1142
- color: colors.purple,
1143
- fontFamily: AppFonts.interBold,
1144
- fontSize: 12.5,
1145
- lineHeight: 18,
1146
- },
1147
- codeText: {
1148
- color: colors.greenBaggageText,
1149
- fontFamily: AppFonts.interRegular,
1150
- fontSize: 12.5,
1151
- lineHeight: 18,
1152
- },
1153
- codeTextNil: {
1154
- color: colors.errorColor,
1155
- fontFamily: AppFonts.interMedium,
1156
- fontSize: 12.5,
1157
- lineHeight: 18,
1158
- },
1159
-
1160
- treeRow: {flexDirection: 'row', alignItems: 'center', paddingVertical: 6},
1161
- treeKeyMargin: {marginRight: 6},
1162
-
1163
- highlight: {
1164
- backgroundColor: colors.paleYellow,
1165
- color: colors.primaryBlack,
1166
- },
1167
- arrayBadge: {
1168
- backgroundColor: colors.purpleShade50,
1169
- borderColor: colors.purple,
1170
- borderWidth: 1,
1171
- borderRadius: 6,
1172
- paddingHorizontal: 6,
1173
- paddingVertical: 2,
1174
- },
1175
- arrayBadgeText: {
1176
- fontFamily: AppFonts.interMedium,
1177
- color: colors.purple,
1178
- fontSize: 11,
1179
- },
1180
- objectBadge: {
1181
- backgroundColor: colors.grayBackground,
1182
- borderColor: colors.grayTextWeak,
1183
- borderWidth: 1,
1184
- borderRadius: 6,
1185
- paddingHorizontal: 6,
1186
- paddingVertical: 2,
1187
- },
1188
- objectBadgeText: {
1189
- fontFamily: AppFonts.interMedium,
1190
- color: colors.grayTextWeak,
1191
- fontSize: 11,
1192
- },
1193
-
1194
- diffBlock: {
1195
- paddingTop: 12,
1196
- paddingHorizontal: 12,
1197
- paddingBottom: 16,
1198
- gap: 4,
1199
- },
1200
- diffAdded: {
1201
- color: colors.greenColor,
1202
- fontFamily: AppFonts.interRegular,
1203
- fontSize: 12,
1204
- },
1205
- diffRemoved: {
1206
- color: colors.errorColor,
1207
- fontFamily: AppFonts.interRegular,
1208
- fontSize: 12,
1209
- },
1210
- diffChanged: {
1211
- color: colors.lightOrange,
1212
- fontFamily: AppFonts.interRegular,
1213
- fontSize: 12,
1214
- },
1215
-
1216
- filePreviewNode: {paddingVertical: 8, marginVertical: 4},
1217
- filePreviewCard: {
1218
- flexDirection: 'row',
1219
- alignItems: 'center',
1220
- backgroundColor: colors.grayBackground,
1221
- borderRadius: 10,
1222
- padding: 10,
1223
- borderWidth: 1,
1224
- borderColor: colors.grayBorderSecondary,
1225
- gap: 12,
1226
- maxWidth: 300,
1227
- },
1228
- filePreviewThumb: {
1229
- width: 44,
1230
- height: 44,
1231
- borderRadius: 6,
1232
- backgroundColor: colors.grayBorderSecondary,
1233
- },
1234
- filePreviewDoc: {
1235
- width: 44,
1236
- height: 44,
1237
- borderRadius: 6,
1238
- backgroundColor: colors.graySurface,
1239
- alignItems: 'center',
1240
- justifyContent: 'center',
1241
- },
1242
- filePreviewName: {
1243
- fontFamily: AppFonts.interMedium,
1244
- color: colors.primaryBlack,
1245
- fontSize: 13,
1246
- marginBottom: 2,
1247
- },
1248
- filePreviewType: {
1249
- fontFamily: AppFonts.interRegular,
1250
- color: colors.grayText,
1251
- fontSize: 11,
1252
- },
1253
-
1254
- imagePreviewWrapper: {
1255
- width: '100%',
1256
- height: 200,
1257
- borderRadius: 12,
1258
- overflow: 'hidden',
1259
- marginBottom: 16,
1260
- backgroundColor: colors.grayBackground,
1261
- borderWidth: 1,
1262
- borderColor: colors.grayBorderSecondary,
1263
- },
1264
- imagePreview: {
1265
- width: '100%',
1266
- height: '100%',
1267
- },
1268
- imageDownloadBtn: {
1269
- position: 'absolute',
1270
- bottom: 12,
1271
- right: 12,
1272
- width: 36,
1273
- height: 36,
1274
- borderRadius: 18,
1275
- backgroundColor: `${colors.white}E6`,
1276
- alignItems: 'center',
1277
- justifyContent: 'center',
1278
- shadowColor: colors.black,
1279
- shadowOffset: {width: 0, height: 2},
1280
- shadowOpacity: 0.2,
1281
- shadowRadius: 4,
1282
- elevation: 3,
1283
- },
1284
-
1285
- sourcePageCard: {
1286
- backgroundColor: colors.primaryLight,
1287
- borderWidth: 1,
1288
- borderColor: colors.grayBorderSecondary,
1289
- borderRadius: 12,
1290
- marginBottom: 10,
1291
- overflow: 'hidden',
1292
- },
1293
- sourcePageAccordionHeader: {
1294
- flexDirection: 'row',
1295
- alignItems: 'center',
1296
- justifyContent: 'space-between',
1297
- paddingHorizontal: 12,
1298
- paddingVertical: 10,
1299
- borderBottomWidth: 1,
1300
- borderBottomColor: colors.dividerColor,
1301
- backgroundColor: colors.primaryLight,
1302
- },
1303
- sourcePageTop: {
1304
- flexDirection: 'row',
1305
- alignItems: 'center',
1306
- gap: 10,
1307
- flex: 1,
1308
- },
1309
- sourcePageHeaderRight: {
1310
- flexDirection: 'row',
1311
- alignItems: 'center',
1312
- gap: 6,
1313
- },
1314
- sourcePageIcon: {
1315
- width: 36,
1316
- height: 36,
1317
- borderRadius: 10,
1318
- backgroundColor: colors.purpleShade50,
1319
- borderWidth: 1,
1320
- borderColor: `${colors.purple}30`,
1321
- alignItems: 'center',
1322
- justifyContent: 'center',
1323
- },
1324
- sourcePageLabel: {
1325
- fontFamily: AppFonts.interRegular,
1326
- color: colors.grayText,
1327
- fontSize: 11,
1328
- marginBottom: 2,
1329
- },
1330
- sourcePageValue: {
1331
- fontFamily: AppFonts.interBold,
1332
- color: colors.purple,
1333
- fontSize: 14,
1334
- },
1335
- sourceParamsBox: {
1336
- borderTopWidth: 1,
1337
- borderTopColor: colors.dividerColor,
1338
- },
1339
- paramsAccordionHeader: {
1340
- flexDirection: 'row',
1341
- alignItems: 'center',
1342
- justifyContent: 'space-between',
1343
- paddingHorizontal: 12,
1344
- paddingVertical: 10,
1345
- borderBottomWidth: 1,
1346
- borderBottomColor: colors.dividerColor,
1347
- backgroundColor: colors.grayBackground,
1348
- },
1349
- paramsAccordionLeft: {
1350
- flexDirection: 'row',
1351
- alignItems: 'center',
1352
- gap: 8,
1353
- },
1354
- paramsAccordionRight: {
1355
- flexDirection: 'row',
1356
- alignItems: 'center',
1357
- gap: 6,
1358
- },
1359
- sourceParamsLabel: {
1360
- fontFamily: AppFonts.interBold,
1361
- color: colors.grayTextStrong,
1362
- fontSize: 12,
1363
- letterSpacing: 0.4,
1364
- textTransform: 'uppercase',
1365
- },
1366
- paramsBody: {
1367
- paddingHorizontal: 12,
1368
- paddingBottom: 8,
1369
- paddingTop: 4,
1370
- },
1371
- paramRow: {
1372
- flexDirection: 'row',
1373
- alignItems: 'center',
1374
- justifyContent: 'space-between',
1375
- paddingVertical: 10,
1376
- gap: 8,
1377
- },
1378
- paramRowBorder: {
1379
- borderBottomWidth: 1,
1380
- borderBottomColor: colors.dividerColor,
1381
- },
1382
- paramKey: {
1383
- fontFamily: AppFonts.Sfprotext,
1384
- color: colors.purple,
1385
- fontSize: 12,
1386
- flex: 1,
1387
- },
1388
- paramValueRow: {
1389
- flexDirection: 'row',
1390
- alignItems: 'center',
1391
- gap: 8,
1392
- flex: 2,
1393
- justifyContent: 'flex-end',
1394
- },
1395
- paramValue: {
1396
- fontFamily: AppFonts.Sfprotext,
1397
- color: colors.greenBaggageText,
1398
- fontSize: 12,
1399
- textAlign: 'right',
1400
- flexShrink: 1,
1401
- },
1402
- headerGradient: {
1403
- width: '100%',
1404
- borderTopLeftRadius: 20,
1405
- borderTopRightRadius: 20,
1406
- overflow: 'hidden',
1407
- flexShrink: 0,
1408
- },
1409
-
1410
- // Status chip used in MetaAccordion
1411
- statusChip: {
1412
- paddingHorizontal: 10,
1413
- paddingVertical: 4,
1414
- borderRadius: 8,
1415
- borderWidth: 1,
1416
- },
1417
- statusText: {
1418
- fontFamily: AppFonts.interBold,
1419
- fontSize: 12,
1420
- },
1421
-
1422
- // ─── Tab Bar ───────────────────────────────────────────────────────────────
1423
-
1424
- // ─── Screen Grouping Headers ───────────────────────────────────────────────
1425
- modalBackdrop: {
1426
- flex: 1,
1427
- backgroundColor: `${colors.black}73`,
1428
- justifyContent: 'flex-end',
1429
- },
1430
- modalBackdropPressable: {
1431
- ...StyleSheet.absoluteFillObject,
1432
- },
1433
- modalContentCard: {
1434
- height: '90%',
1435
- backgroundColor: colors.grayBackground,
1436
- borderTopLeftRadius: 20,
1437
- borderTopRightRadius: 20,
1438
- overflow: 'hidden',
1439
- shadowColor: colors.black,
1440
- shadowOffset: {width: 0, height: -4},
1441
- shadowOpacity: 0.15,
1442
- shadowRadius: 10,
1443
- elevation: 24,
1444
- },
1445
- tabBarContainer: {
1446
- backgroundColor: colors.primaryLight,
1447
- borderBottomWidth: 1,
1448
- borderBottomColor: colors.dividerColor,
1449
- paddingVertical: 8,
1450
- paddingHorizontal: 12,
1451
- },
1452
- contentTabButton: {
1453
- flexDirection: 'row',
1454
- alignItems: 'center',
1455
- paddingHorizontal: 10,
1456
- paddingVertical: 5,
1457
- borderRadius: 8,
1458
- marginRight: 10,
1459
- backgroundColor: colors.grayBackground,
1460
- borderWidth: 1,
1461
- borderColor: colors.dividerColor,
1462
- },
1463
- contentTabButtonActive: {
1464
- backgroundColor: colors.purple,
1465
- borderColor: colors.purple,
1466
- shadowColor: colors.purple,
1467
- shadowOffset: {width: 0, height: 2},
1468
- shadowOpacity: 0.12,
1469
- shadowRadius: 3,
1470
- elevation: 3,
1471
- },
1472
- contentTabButtonText: {
1473
- fontFamily: AppFonts.interMedium,
1474
- fontSize: 11.5,
1475
- color: colors.grayText,
1476
- },
1477
- contentTabButtonTextActive: {
1478
- color: colors.white,
1479
- fontFamily: AppFonts.interBold,
1480
- },
1481
- analyticsHeaderCard: {
1482
- backgroundColor: colors.primaryLight,
1483
- borderRadius: 12,
1484
- borderWidth: 1,
1485
- borderColor: `${colors.brandPurple}20`,
1486
- padding: 12,
1487
- marginHorizontal: 10,
1488
- marginTop: 8,
1489
- marginBottom: 6,
1490
- shadowColor: colors.black,
1491
- shadowOpacity: 0.03,
1492
- shadowRadius: 4,
1493
- shadowOffset: {width: 0, height: 1},
1494
- elevation: 1,
1495
- },
1496
- analyticsHeaderTop: {
1497
- flexDirection: 'row',
1498
- justifyContent: 'space-between',
1499
- alignItems: 'center',
1500
- },
1501
- analyticsHeaderTitle: {
1502
- fontFamily: AppFonts.interBold,
1503
- fontSize: 13.5,
1504
- color: colors.primaryBlack,
1505
- },
1506
- statusDot: {
1507
- width: 6,
1508
- height: 6,
1509
- borderRadius: 3,
1510
- },
1511
- analyticsHeaderSubtitle: {
1512
- fontFamily: AppFonts.interMedium,
1513
- fontSize: 11,
1514
- color: colors.grayTextWeak,
1515
- marginTop: 2,
1516
- },
1517
- analyticsHeaderToggle: {
1518
- paddingVertical: 4.5,
1519
- paddingHorizontal: 9,
1520
- borderRadius: 7,
1521
- backgroundColor: `${colors.brandPurple}12`,
1522
- borderWidth: 1,
1523
- borderColor: `${colors.brandPurple}25`,
1524
- },
1525
- analyticsHeaderToggleText: {
1526
- fontFamily: AppFonts.interBold,
1527
- fontSize: 10.5,
1528
- color: colors.brandPurple,
1529
- },
1530
- analyticsStatsRow: {
1531
- flexDirection: 'row',
1532
- gap: 8,
1533
- borderTopWidth: 1,
1534
- borderTopColor: colors.dividerColor,
1535
- paddingTop: 10,
1536
- },
1537
- analyticsStatBox: {
1538
- flex: 1,
1539
- backgroundColor: colors.grayBackground,
1540
- borderRadius: 6,
1541
- paddingVertical: 6,
1542
- alignItems: 'center',
1543
- },
1544
- analyticsStatValue: {
1545
- fontFamily: AppFonts.interBold,
1546
- fontSize: 14,
1547
- color: colors.primaryBlack,
1548
- },
1549
- analyticsStatLabel: {
1550
- fontFamily: AppFonts.interRegular,
1551
- fontSize: 9,
1552
- color: colors.grayText,
1553
- marginTop: 1,
1554
- },
1555
- analyticsHeaderDetails: {
1556
- borderTopWidth: 1,
1557
- borderTopColor: colors.dividerColor,
1558
- paddingTop: 10,
1559
- marginTop: 10,
1560
- },
1561
- detailsGroupTitle: {
1562
- fontFamily: AppFonts.interBold,
1563
- fontSize: 11,
1564
- color: colors.purple,
1565
- marginBottom: 6,
1566
- },
1567
- detailsRow: {
1568
- flexDirection: 'row',
1569
- justifyContent: 'space-between',
1570
- paddingVertical: 4,
1571
- borderBottomWidth: 0.5,
1572
- borderBottomColor: colors.dividerColor,
1573
- },
1574
- detailsKey: {
1575
- fontFamily: AppFonts.interMedium,
1576
- fontSize: 11,
1577
- color: colors.primaryBlack,
1578
- },
1579
- detailsValue: {
1580
- fontFamily: AppFonts.interRegular,
1581
- fontSize: 11,
1582
- color: colors.grayText,
1583
- },
1584
- });
1585
-
1586
- const styles = {} as any;
1587
-
1588
- const rebuildStyles = (isDark: boolean) => {
1589
- const colors = isDark ? getThemeColors(true) : AppColors;
1590
- const newStyles = getRawStyles(colors);
1591
-
1592
- // Clear old keys and copy new ones
1593
- Object.keys(styles).forEach(key => delete styles[key]);
1594
- Object.assign(styles, newStyles);
1595
- };
1596
-
1597
- // Initial build
1598
- rebuildStyles(false);
1599
-
1600
- export const toggleGlobalTheme = (isDark: boolean) => {
1601
- updateAppColorsTheme(isDark);
1602
- rebuildStyles(isDark);
1603
- rebuildCommonStyles(isDark ? getThemeColors(true) : AppColors);
1604
- };
1605
-
1606
- export default styles;