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,136 +1,24 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
- Object.defineProperty(o, "default", { enumerable: true, value: v });
15
- }) : function(o, v) {
16
- o["default"] = v;
17
- });
18
- var __importStar = (this && this.__importStar) || (function () {
19
- var ownKeys = function(o) {
20
- ownKeys = Object.getOwnPropertyNames || function (o) {
21
- var ar = [];
22
- for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
23
- return ar;
24
- };
25
- return ownKeys(o);
26
- };
27
- return function (mod) {
28
- if (mod && mod.__esModule) return mod;
29
- var result = {};
30
- if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
31
- __setModuleDefault(result, mod);
32
- return result;
33
- };
34
- })();
35
- Object.defineProperty(exports, "__esModule", { value: true });
36
- exports.UpdateAvailableModal = void 0;
37
- const react_1 = __importStar(require("react"));
38
- const react_native_1 = require("react-native");
39
- const react_native_svg_1 = __importStar(require("react-native-svg"));
40
- const BrandSquareIcon_1 = require("../BrandSquareIcon");
41
- const NetworkIcons_1 = require("../NetworkIcons");
42
- const constants_1 = require("../../constants");
43
- const helpers_1 = require("../../helpers");
44
- const toast_1 = require("../../helpers/toast");
45
- const AppFonts_1 = require("../../styles/AppFonts");
46
- const CopySvg = ({ size = 14, color = '#64748B' }) => (<react_native_svg_1.default width={size} height={size} viewBox="0 0 24 24" fill="none">
47
- <react_native_svg_1.Path d="M8 4v12a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V4a2 2 0 0 0-2-2h-8a2 2 0 0 0-2 2z" stroke={color} strokeWidth="2" strokeLinecap="round" strokeLinejoin="round"/>
48
- <react_native_svg_1.Path d="M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2" stroke={color} strokeWidth="2" strokeLinecap="round" strokeLinejoin="round"/>
49
- </react_native_svg_1.default>);
50
- const CheckSvg = ({ size = 14, color = '#10B981' }) => (<react_native_svg_1.default width={size} height={size} viewBox="0 0 24 24" fill="none">
51
- <react_native_svg_1.Path d="M20 6L9 17l-5-5" stroke={color} strokeWidth="2.4" strokeLinecap="round" strokeLinejoin="round"/>
52
- </react_native_svg_1.default>);
53
- const ExternalLinkSvg = ({ size = 13, color = '#FFFFFF' }) => (<react_native_svg_1.default width={size} height={size} viewBox="0 0 24 24" fill="none">
54
- <react_native_svg_1.Path d="M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6" stroke={color} strokeWidth="2" strokeLinecap="round" strokeLinejoin="round"/>
55
- <react_native_svg_1.Path d="M15 3h6v6" stroke={color} strokeWidth="2" strokeLinecap="round" strokeLinejoin="round"/>
56
- <react_native_svg_1.Path d="M10 14L21 3" stroke={color} strokeWidth="2" strokeLinecap="round" strokeLinejoin="round"/>
57
- </react_native_svg_1.default>);
58
- const CloseSvg = ({ size = 13, color = '#64748B' }) => (<react_native_svg_1.default width={size} height={size} viewBox="0 0 24 24" fill="none">
59
- <react_native_svg_1.Path d="M18 6L6 18M6 6l12 12" stroke={color} strokeWidth="2.2" strokeLinecap="round" strokeLinejoin="round"/>
60
- </react_native_svg_1.default>);
61
- const SparkleSvg = ({ size = 14, color = '#F59E0B' }) => (<react_native_svg_1.default width={size} height={size} viewBox="0 0 24 24" fill="none">
62
- <react_native_svg_1.Path d="M12 2l2.4 6.6L21 11l-6.6 2.4L12 20l-2.4-6.6L3 11l6.6-2.4L12 2z" fill={color}/>
63
- </react_native_svg_1.default>);
64
- const ArrowRightSvg = ({ size = 14, color = '#94A3B8' }) => (<react_native_svg_1.default width={size} height={size} viewBox="0 0 24 24" fill="none">
65
- <react_native_svg_1.Path d="M5 12h14M12 5l7 7-7 7" stroke={color} strokeWidth="2.2" strokeLinecap="round" strokeLinejoin="round"/>
66
- </react_native_svg_1.default>);
67
- const UpdateAvailableModal = ({ visible, latestVersion, onClose, }) => {
68
- const [copied, setCopied] = (0, react_1.useState)(false);
69
- const fadeAnim = (0, react_1.useState)(new react_native_1.Animated.Value(0))[0];
70
- const scaleAnim = (0, react_1.useState)(new react_native_1.Animated.Value(0.92))[0];
71
- const installCommand = `npm install react-native-inapp-inspector@latest`;
72
- if (typeof __DEV__ === 'undefined' || !__DEV__)
73
- return null;
74
- (0, react_1.useEffect)(() => {
75
- if (visible) {
76
- setCopied(false);
77
- react_native_1.Animated.parallel([
78
- react_native_1.Animated.timing(fadeAnim, {
79
- toValue: 1,
80
- duration: 220,
81
- useNativeDriver: true,
82
- }),
83
- react_native_1.Animated.spring(scaleAnim, {
84
- toValue: 1,
85
- friction: 8,
86
- tension: 50,
87
- useNativeDriver: true,
88
- }),
89
- ]).start();
90
- }
91
- }, [visible, fadeAnim, scaleAnim]);
92
- const handleClose = () => {
93
- react_native_1.Animated.parallel([
94
- react_native_1.Animated.timing(fadeAnim, {
95
- toValue: 0,
96
- duration: 160,
97
- useNativeDriver: true,
98
- }),
99
- react_native_1.Animated.timing(scaleAnim, {
100
- toValue: 0.92,
101
- duration: 160,
102
- useNativeDriver: true,
103
- }),
104
- ]).start(() => {
105
- onClose();
106
- });
107
- };
108
- const handleCopyCommand = () => {
109
- (0, helpers_1.copyToClipboard)(installCommand, 'Install Command');
110
- setCopied(true);
111
- (0, toast_1.showToast)('Copied npm install command to clipboard!');
112
- setTimeout(() => {
113
- setCopied(false);
114
- }, 2500);
115
- };
116
- const handleOpenNpm = () => {
117
- react_native_1.Linking.openURL('https://www.npmjs.com/package/react-native-inapp-inspector').catch(() => { });
118
- handleClose();
119
- };
120
- if (!visible)
121
- return null;
122
- return (<react_native_1.Modal transparent visible={visible} animationType="none" statusBarTranslucent onRequestClose={handleClose}>
1
+ "use strict";var __createBinding=this&&this.__createBinding||(Object.create?(function(t,e,n,o){o===void 0&&(o=n);var i=Object.getOwnPropertyDescriptor(e,n);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return e[n]}}),Object.defineProperty(t,o,i)}):(function(t,e,n,o){o===void 0&&(o=n),t[o]=e[n]})),__setModuleDefault=this&&this.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),__importStar=this&&this.__importStar||(function(){var t=function(e){return t=Object.getOwnPropertyNames||function(n){var o=[];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(o[o.length]=i);return o},t(e)};return function(e){if(e&&e.__esModule)return e;var n={};if(e!=null)for(var o=t(e),i=0;i<o.length;i++)o[i]!=="default"&&__createBinding(n,e,o[i]);return __setModuleDefault(n,e),n}})();Object.defineProperty(exports,"__esModule",{value:!0}),exports.UpdateAvailableModal=void 0;const react_1=__importStar(require("react")),react_native_1=require("react-native"),react_native_svg_1=__importStar(require("react-native-svg")),BrandSquareIcon_1=require("../BrandSquareIcon"),NetworkIcons_1=require("../NetworkIcons"),constants_1=require("../../constants"),helpers_1=require("../../helpers"),toast_1=require("../../helpers/toast"),AppFonts_1=require("../../styles/AppFonts"),CopySvg=({size:t=14,color:e="#64748B"})=><react_native_svg_1.default width={t}height={t}viewBox="0 0 24 24"fill="none">
2
+ <react_native_svg_1.Path d="M8 4v12a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V4a2 2 0 0 0-2-2h-8a2 2 0 0 0-2 2z"stroke={e}strokeWidth="2"strokeLinecap="round"strokeLinejoin="round"/>
3
+ <react_native_svg_1.Path d="M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2"stroke={e}strokeWidth="2"strokeLinecap="round"strokeLinejoin="round"/>
4
+ </react_native_svg_1.default>,CheckSvg=({size:t=14,color:e="#10B981"})=><react_native_svg_1.default width={t}height={t}viewBox="0 0 24 24"fill="none">
5
+ <react_native_svg_1.Path d="M20 6L9 17l-5-5"stroke={e}strokeWidth="2.4"strokeLinecap="round"strokeLinejoin="round"/>
6
+ </react_native_svg_1.default>,ExternalLinkSvg=({size:t=13,color:e="#FFFFFF"})=><react_native_svg_1.default width={t}height={t}viewBox="0 0 24 24"fill="none">
7
+ <react_native_svg_1.Path d="M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6"stroke={e}strokeWidth="2"strokeLinecap="round"strokeLinejoin="round"/>
8
+ <react_native_svg_1.Path d="M15 3h6v6"stroke={e}strokeWidth="2"strokeLinecap="round"strokeLinejoin="round"/>
9
+ <react_native_svg_1.Path d="M10 14L21 3"stroke={e}strokeWidth="2"strokeLinecap="round"strokeLinejoin="round"/>
10
+ </react_native_svg_1.default>,CloseSvg=({size:t=13,color:e="#64748B"})=><react_native_svg_1.default width={t}height={t}viewBox="0 0 24 24"fill="none">
11
+ <react_native_svg_1.Path d="M18 6L6 18M6 6l12 12"stroke={e}strokeWidth="2.2"strokeLinecap="round"strokeLinejoin="round"/>
12
+ </react_native_svg_1.default>,SparkleSvg=({size:t=14,color:e="#F59E0B"})=><react_native_svg_1.default width={t}height={t}viewBox="0 0 24 24"fill="none">
13
+ <react_native_svg_1.Path d="M12 2l2.4 6.6L21 11l-6.6 2.4L12 20l-2.4-6.6L3 11l6.6-2.4L12 2z"fill={e}/>
14
+ </react_native_svg_1.default>,ArrowRightSvg=({size:t=14,color:e="#94A3B8"})=><react_native_svg_1.default width={t}height={t}viewBox="0 0 24 24"fill="none">
15
+ <react_native_svg_1.Path d="M5 12h14M12 5l7 7-7 7"stroke={e}strokeWidth="2.2"strokeLinecap="round"strokeLinejoin="round"/>
16
+ </react_native_svg_1.default>,UpdateAvailableModal=({visible:t,latestVersion:e,onClose:n})=>{const[o,i]=(0,react_1.useState)(!1),a=(0,react_1.useState)(new react_native_1.Animated.Value(0))[0],r=(0,react_1.useState)(new react_native_1.Animated.Value(.92))[0],s="npm install react-native-inapp-inspector@latest";if(typeof __DEV__>"u"||!__DEV__)return null;(0,react_1.useEffect)(()=>{t&&(i(!1),react_native_1.Animated.parallel([react_native_1.Animated.timing(a,{toValue:1,duration:220,useNativeDriver:!0}),react_native_1.Animated.spring(r,{toValue:1,friction:8,tension:50,useNativeDriver:!0})]).start())},[t,a,r]);const l=()=>{react_native_1.Animated.parallel([react_native_1.Animated.timing(a,{toValue:0,duration:160,useNativeDriver:!0}),react_native_1.Animated.timing(r,{toValue:.92,duration:160,useNativeDriver:!0})]).start(()=>{n()})},d=()=>{(0,helpers_1.copyToClipboard)(s,"Install Command"),i(!0),(0,toast_1.showToast)("Copied npm install command to clipboard!"),setTimeout(()=>{i(!1)},2500)},c=()=>{react_native_1.Linking.openURL("https://www.npmjs.com/package/react-native-inapp-inspector").catch(()=>{}),l()};return t?<react_native_1.Modal transparent visible={t}animationType="none"statusBarTranslucent onRequestClose={l}>
123
17
  <react_native_1.View style={styles.overlay}>
124
- <react_native_1.Animated.View style={[
125
- styles.card,
126
- {
127
- opacity: fadeAnim,
128
- transform: [{ scale: scaleAnim }],
129
- },
130
- ]}>
18
+ <react_native_1.Animated.View style={[styles.card,{opacity:a,transform:[{scale:r}]}]}>
131
19
 
132
- <react_native_1.TouchableOpacity style={styles.topCloseButton} onPress={handleClose} hitSlop={10} activeOpacity={0.7}>
133
- <CloseSvg size={13} color="#64748B"/>
20
+ <react_native_1.TouchableOpacity style={styles.topCloseButton}onPress={l}hitSlop={10}activeOpacity={.7}>
21
+ <CloseSvg size={13}color="#64748B"/>
134
22
  </react_native_1.TouchableOpacity>
135
23
 
136
24
 
@@ -138,7 +26,7 @@ const UpdateAvailableModal = ({ visible, latestVersion, onClose, }) => {
138
26
  <react_native_1.View style={styles.iconHaloRing}>
139
27
  <BrandSquareIcon_1.BrandSquareIcon size={52}/>
140
28
  <react_native_1.View style={styles.sparkleBadge}>
141
- <SparkleSvg size={13} color="#F59E0B"/>
29
+ <SparkleSvg size={13}color="#F59E0B"/>
142
30
  </react_native_1.View>
143
31
  </react_native_1.View>
144
32
 
@@ -158,14 +46,14 @@ const UpdateAvailableModal = ({ visible, latestVersion, onClose, }) => {
158
46
  </react_native_1.View>
159
47
 
160
48
  <react_native_1.View style={styles.arrowContainer}>
161
- <ArrowRightSvg size={14} color="#94A3B8"/>
49
+ <ArrowRightSvg size={14}color="#94A3B8"/>
162
50
  </react_native_1.View>
163
51
 
164
52
  <react_native_1.View style={styles.versionColumn}>
165
53
  <react_native_1.Text style={styles.versionLabel}>LATEST ON NPM</react_native_1.Text>
166
54
  <react_native_1.View style={styles.latestChip}>
167
- <NetworkIcons_1.NpmIcon size={12} color="#CB3837"/>
168
- <react_native_1.Text style={styles.latestText}>v{latestVersion || 'latest'}</react_native_1.Text>
55
+ <NetworkIcons_1.NpmIcon size={12}color="#CB3837"/>
56
+ <react_native_1.Text style={styles.latestText}>v{e||"latest"}</react_native_1.Text>
169
57
  </react_native_1.View>
170
58
  </react_native_1.View>
171
59
  </react_native_1.View>
@@ -174,295 +62,33 @@ const UpdateAvailableModal = ({ visible, latestVersion, onClose, }) => {
174
62
  <react_native_1.View style={styles.codeSnippetBox}>
175
63
  <react_native_1.View style={styles.codeSnippetHeader}>
176
64
  <react_native_1.Text style={styles.codeSnippetLabel}>UPGRADE COMMAND</react_native_1.Text>
177
- {copied && (<react_native_1.View style={styles.copiedIndicator}>
178
- <CheckSvg size={11} color="#10B981"/>
65
+ {o&&<react_native_1.View style={styles.copiedIndicator}>
66
+ <CheckSvg size={11}color="#10B981"/>
179
67
  <react_native_1.Text style={styles.copiedText}>Copied</react_native_1.Text>
180
- </react_native_1.View>)}
68
+ </react_native_1.View>}
181
69
  </react_native_1.View>
182
70
 
183
- <react_native_1.TouchableOpacity style={styles.commandRow} onPress={handleCopyCommand} activeOpacity={0.75}>
184
- <react_native_1.Text style={styles.commandText} numberOfLines={1}>
185
- {installCommand}
71
+ <react_native_1.TouchableOpacity style={styles.commandRow}onPress={d}activeOpacity={.75}>
72
+ <react_native_1.Text style={styles.commandText}numberOfLines={1}>
73
+ {s}
186
74
  </react_native_1.Text>
187
75
  <react_native_1.View style={styles.copyIconWrapper}>
188
- {copied ? <CheckSvg size={14} color="#10B981"/> : <CopySvg size={14} color="#64748B"/>}
76
+ {o?<CheckSvg size={14}color="#10B981"/>:<CopySvg size={14}color="#64748B"/>}
189
77
  </react_native_1.View>
190
78
  </react_native_1.TouchableOpacity>
191
79
  </react_native_1.View>
192
80
 
193
81
 
194
82
  <react_native_1.View style={styles.buttonRow}>
195
- <react_native_1.TouchableOpacity style={styles.secondaryButton} onPress={handleClose} activeOpacity={0.7}>
83
+ <react_native_1.TouchableOpacity style={styles.secondaryButton}onPress={l}activeOpacity={.7}>
196
84
  <react_native_1.Text style={styles.secondaryButtonText}>Later</react_native_1.Text>
197
85
  </react_native_1.TouchableOpacity>
198
86
 
199
- <react_native_1.TouchableOpacity style={styles.primaryButton} onPress={handleOpenNpm} activeOpacity={0.85}>
87
+ <react_native_1.TouchableOpacity style={styles.primaryButton}onPress={c}activeOpacity={.85}>
200
88
  <react_native_1.Text style={styles.primaryButtonText}>View on NPM</react_native_1.Text>
201
- <ExternalLinkSvg size={12} color="#FFFFFF"/>
89
+ <ExternalLinkSvg size={12}color="#FFFFFF"/>
202
90
  </react_native_1.TouchableOpacity>
203
91
  </react_native_1.View>
204
92
  </react_native_1.Animated.View>
205
93
  </react_native_1.View>
206
- </react_native_1.Modal>);
207
- };
208
- exports.UpdateAvailableModal = UpdateAvailableModal;
209
- const fontStack = {
210
- fontFamily: AppFonts_1.AppFonts.interRegular,
211
- };
212
- const styles = react_native_1.StyleSheet.create({
213
- overlay: {
214
- flex: 1,
215
- backgroundColor: 'rgba(15, 23, 42, 0.62)',
216
- justifyContent: 'center',
217
- alignItems: 'center',
218
- paddingHorizontal: 20,
219
- zIndex: 999999,
220
- },
221
- card: {
222
- width: '100%',
223
- maxWidth: 360,
224
- backgroundColor: '#FFFFFF',
225
- borderRadius: 24,
226
- borderWidth: 1,
227
- borderColor: '#E2E8F0',
228
- paddingHorizontal: 20,
229
- paddingTop: 22,
230
- paddingBottom: 20,
231
- alignItems: 'center',
232
- shadowColor: '#0F172A',
233
- shadowOffset: { width: 0, height: 18 },
234
- shadowOpacity: 0.24,
235
- shadowRadius: 36,
236
- elevation: 24,
237
- },
238
- topCloseButton: {
239
- position: 'absolute',
240
- top: 14,
241
- right: 14,
242
- width: 28,
243
- height: 28,
244
- borderRadius: 14,
245
- backgroundColor: '#F8FAFC',
246
- justifyContent: 'center',
247
- alignItems: 'center',
248
- borderWidth: 1,
249
- borderColor: '#E2E8F0',
250
- zIndex: 10,
251
- },
252
- headerSection: {
253
- alignItems: 'center',
254
- width: '100%',
255
- marginBottom: 12,
256
- },
257
- iconHaloRing: {
258
- width: 66,
259
- height: 66,
260
- borderRadius: 20,
261
- backgroundColor: '#FAF5FF',
262
- justifyContent: 'center',
263
- alignItems: 'center',
264
- borderWidth: 1.5,
265
- borderColor: '#F3E8FF',
266
- marginBottom: 8,
267
- shadowColor: '#7C3AED',
268
- shadowOffset: { width: 0, height: 4 },
269
- shadowOpacity: 0.16,
270
- shadowRadius: 10,
271
- elevation: 4,
272
- },
273
- sparkleBadge: {
274
- position: 'absolute',
275
- top: -4,
276
- right: -4,
277
- width: 22,
278
- height: 22,
279
- borderRadius: 11,
280
- backgroundColor: '#FEF3C7',
281
- justifyContent: 'center',
282
- alignItems: 'center',
283
- borderWidth: 1.5,
284
- borderColor: '#FFFFFF',
285
- },
286
- title: {
287
- fontSize: 17.5,
288
- fontWeight: '800',
289
- color: '#0F172A',
290
- letterSpacing: -0.4,
291
- textAlign: 'center',
292
- lineHeight: 22,
293
- marginBottom: 2,
294
- ...fontStack,
295
- },
296
- subtitle: {
297
- fontSize: 12,
298
- fontWeight: '500',
299
- color: '#64748B',
300
- textAlign: 'center',
301
- lineHeight: 16,
302
- paddingHorizontal: 8,
303
- ...fontStack,
304
- },
305
- versionComparisonCard: {
306
- flexDirection: 'row',
307
- alignItems: 'center',
308
- justifyContent: 'space-between',
309
- backgroundColor: '#F8FAFC',
310
- borderRadius: 14,
311
- borderWidth: 1,
312
- borderColor: '#E2E8F0',
313
- paddingVertical: 10,
314
- paddingHorizontal: 14,
315
- marginBottom: 12,
316
- width: '100%',
317
- },
318
- versionColumn: {
319
- alignItems: 'center',
320
- gap: 4,
321
- },
322
- versionLabel: {
323
- fontSize: 9.5,
324
- fontWeight: '700',
325
- color: '#94A3B8',
326
- letterSpacing: 0.6,
327
- ...fontStack,
328
- },
329
- installedChip: {
330
- backgroundColor: '#E2E8F0',
331
- paddingHorizontal: 8,
332
- paddingVertical: 3,
333
- borderRadius: 6,
334
- },
335
- installedText: {
336
- fontSize: 12,
337
- fontWeight: '700',
338
- color: '#475569',
339
- ...fontStack,
340
- },
341
- arrowContainer: {
342
- paddingHorizontal: 6,
343
- },
344
- arrowText: {
345
- fontSize: 14,
346
- color: '#94A3B8',
347
- fontWeight: '700',
348
- },
349
- latestChip: {
350
- flexDirection: 'row',
351
- alignItems: 'center',
352
- gap: 4,
353
- backgroundColor: '#EDE9FE',
354
- paddingHorizontal: 8,
355
- paddingVertical: 3,
356
- borderRadius: 6,
357
- borderWidth: 1,
358
- borderColor: '#DDD6FE',
359
- },
360
- latestText: {
361
- fontSize: 12,
362
- fontWeight: '800',
363
- color: '#6D28D9',
364
- ...fontStack,
365
- },
366
- codeSnippetBox: {
367
- backgroundColor: '#0F172A',
368
- borderRadius: 12,
369
- padding: 10,
370
- width: '100%',
371
- marginBottom: 14,
372
- borderWidth: 1,
373
- borderColor: '#1E293B',
374
- },
375
- codeSnippetHeader: {
376
- flexDirection: 'row',
377
- justifyContent: 'space-between',
378
- alignItems: 'center',
379
- marginBottom: 6,
380
- },
381
- codeSnippetLabel: {
382
- fontSize: 9.5,
383
- fontWeight: '700',
384
- color: '#64748B',
385
- letterSpacing: 0.6,
386
- ...fontStack,
387
- },
388
- copiedIndicator: {
389
- flexDirection: 'row',
390
- alignItems: 'center',
391
- gap: 3,
392
- },
393
- copiedText: {
394
- fontSize: 9.5,
395
- fontWeight: '600',
396
- color: '#10B981',
397
- ...fontStack,
398
- },
399
- commandRow: {
400
- flexDirection: 'row',
401
- alignItems: 'center',
402
- justifyContent: 'space-between',
403
- backgroundColor: '#1E293B',
404
- borderRadius: 8,
405
- paddingVertical: 7,
406
- paddingHorizontal: 9,
407
- gap: 8,
408
- },
409
- commandText: {
410
- flex: 1,
411
- fontSize: 11,
412
- fontFamily: AppFonts_1.AppFonts.interRegular,
413
- color: '#38BDF8',
414
- },
415
- copyIconWrapper: {
416
- width: 22,
417
- height: 22,
418
- borderRadius: 6,
419
- backgroundColor: '#334155',
420
- justifyContent: 'center',
421
- alignItems: 'center',
422
- },
423
- buttonRow: {
424
- flexDirection: 'row',
425
- justifyContent: 'space-between',
426
- alignItems: 'center',
427
- gap: 10,
428
- width: '100%',
429
- },
430
- secondaryButton: {
431
- flex: 1,
432
- alignItems: 'center',
433
- justifyContent: 'center',
434
- paddingVertical: 11,
435
- borderRadius: 12,
436
- backgroundColor: '#F1F5F9',
437
- borderWidth: 1,
438
- borderColor: '#E2E8F0',
439
- },
440
- secondaryButtonText: {
441
- fontSize: 13,
442
- fontWeight: '600',
443
- color: '#475569',
444
- ...fontStack,
445
- },
446
- primaryButton: {
447
- flex: 1.3,
448
- flexDirection: 'row',
449
- alignItems: 'center',
450
- justifyContent: 'center',
451
- gap: 6,
452
- paddingVertical: 11,
453
- borderRadius: 12,
454
- backgroundColor: '#7C3AED',
455
- shadowColor: '#7C3AED',
456
- shadowOffset: { width: 0, height: 3 },
457
- shadowOpacity: 0.28,
458
- shadowRadius: 6,
459
- elevation: 4,
460
- },
461
- primaryButtonText: {
462
- fontSize: 13,
463
- fontWeight: '700',
464
- color: '#FFFFFF',
465
- ...fontStack,
466
- },
467
- });
468
- exports.default = exports.UpdateAvailableModal;
94
+ </react_native_1.Modal>:null};exports.UpdateAvailableModal=UpdateAvailableModal;const fontStack={fontFamily:AppFonts_1.AppFonts.interRegular},styles=react_native_1.StyleSheet.create({overlay:{flex:1,backgroundColor:"rgba(15, 23, 42, 0.62)",justifyContent:"center",alignItems:"center",paddingHorizontal:20,zIndex:999999},card:{width:"100%",maxWidth:360,backgroundColor:"#FFFFFF",borderRadius:24,borderWidth:1,borderColor:"#E2E8F0",paddingHorizontal:20,paddingTop:22,paddingBottom:20,alignItems:"center",shadowColor:"#0F172A",shadowOffset:{width:0,height:18},shadowOpacity:.24,shadowRadius:36,elevation:24},topCloseButton:{position:"absolute",top:14,right:14,width:28,height:28,borderRadius:14,backgroundColor:"#F8FAFC",justifyContent:"center",alignItems:"center",borderWidth:1,borderColor:"#E2E8F0",zIndex:10},headerSection:{alignItems:"center",width:"100%",marginBottom:12},iconHaloRing:{width:66,height:66,borderRadius:20,backgroundColor:"#FAF5FF",justifyContent:"center",alignItems:"center",borderWidth:1.5,borderColor:"#F3E8FF",marginBottom:8,shadowColor:"#7C3AED",shadowOffset:{width:0,height:4},shadowOpacity:.16,shadowRadius:10,elevation:4},sparkleBadge:{position:"absolute",top:-4,right:-4,width:22,height:22,borderRadius:11,backgroundColor:"#FEF3C7",justifyContent:"center",alignItems:"center",borderWidth:1.5,borderColor:"#FFFFFF"},title:{fontSize:17.5,fontWeight:"800",color:"#0F172A",letterSpacing:-.4,textAlign:"center",lineHeight:22,marginBottom:2,...fontStack},subtitle:{fontSize:12,fontWeight:"500",color:"#64748B",textAlign:"center",lineHeight:16,paddingHorizontal:8,...fontStack},versionComparisonCard:{flexDirection:"row",alignItems:"center",justifyContent:"space-between",backgroundColor:"#F8FAFC",borderRadius:14,borderWidth:1,borderColor:"#E2E8F0",paddingVertical:10,paddingHorizontal:14,marginBottom:12,width:"100%"},versionColumn:{alignItems:"center",gap:4},versionLabel:{fontSize:9.5,fontWeight:"700",color:"#94A3B8",letterSpacing:.6,...fontStack},installedChip:{backgroundColor:"#E2E8F0",paddingHorizontal:8,paddingVertical:3,borderRadius:6},installedText:{fontSize:12,fontWeight:"700",color:"#475569",...fontStack},arrowContainer:{paddingHorizontal:6},arrowText:{fontSize:14,color:"#94A3B8",fontWeight:"700"},latestChip:{flexDirection:"row",alignItems:"center",gap:4,backgroundColor:"#EDE9FE",paddingHorizontal:8,paddingVertical:3,borderRadius:6,borderWidth:1,borderColor:"#DDD6FE"},latestText:{fontSize:12,fontWeight:"800",color:"#6D28D9",...fontStack},codeSnippetBox:{backgroundColor:"#0F172A",borderRadius:12,padding:10,width:"100%",marginBottom:14,borderWidth:1,borderColor:"#1E293B"},codeSnippetHeader:{flexDirection:"row",justifyContent:"space-between",alignItems:"center",marginBottom:6},codeSnippetLabel:{fontSize:9.5,fontWeight:"700",color:"#64748B",letterSpacing:.6,...fontStack},copiedIndicator:{flexDirection:"row",alignItems:"center",gap:3},copiedText:{fontSize:9.5,fontWeight:"600",color:"#10B981",...fontStack},commandRow:{flexDirection:"row",alignItems:"center",justifyContent:"space-between",backgroundColor:"#1E293B",borderRadius:8,paddingVertical:7,paddingHorizontal:9,gap:8},commandText:{flex:1,fontSize:11,fontFamily:AppFonts_1.AppFonts.interRegular,color:"#38BDF8"},copyIconWrapper:{width:22,height:22,borderRadius:6,backgroundColor:"#334155",justifyContent:"center",alignItems:"center"},buttonRow:{flexDirection:"row",justifyContent:"space-between",alignItems:"center",gap:10,width:"100%"},secondaryButton:{flex:1,alignItems:"center",justifyContent:"center",paddingVertical:11,borderRadius:12,backgroundColor:"#F1F5F9",borderWidth:1,borderColor:"#E2E8F0"},secondaryButtonText:{fontSize:13,fontWeight:"600",color:"#475569",...fontStack},primaryButton:{flex:1.3,flexDirection:"row",alignItems:"center",justifyContent:"center",gap:6,paddingVertical:11,borderRadius:12,backgroundColor:"#7C3AED",shadowColor:"#7C3AED",shadowOffset:{width:0,height:3},shadowOpacity:.28,shadowRadius:6,elevation:4},primaryButtonText:{fontSize:13,fontWeight:"700",color:"#FFFFFF",...fontStack}});exports.default=exports.UpdateAvailableModal;