react-native-inapp-inspector 2.5.11 → 2.5.13

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 (412) hide show
  1. package/README.ar.md +0 -8
  2. package/README.de.md +0 -8
  3. package/README.es.md +0 -8
  4. package/README.fr.md +0 -8
  5. package/README.hi.md +0 -8
  6. package/README.ja.md +0 -8
  7. package/README.ko.md +0 -8
  8. package/README.md +54 -26
  9. package/README.pt-BR.md +0 -8
  10. package/README.ru.md +0 -8
  11. package/README.zh-CN.md +0 -8
  12. package/android/.gradle/9.2.0/fileHashes/fileHashes.bin +0 -0
  13. package/android/.gradle/9.2.0/fileHashes/fileHashes.lock +0 -0
  14. package/android/.gradle/buildOutputCleanup/buildOutputCleanup.lock +0 -0
  15. package/android/.gradle/buildOutputCleanup/cache.properties +2 -2
  16. package/android/src/main/AndroidManifest.xml +11 -0
  17. package/android/src/main/java/com/inappinspector/NetworkInspectorModule.kt +379 -19
  18. package/android/src/main/res/xml/inappinspector_file_paths.xml +7 -0
  19. package/dist/commonjs/components/ConsoleLogCard.js +32 -26
  20. package/dist/commonjs/components/Inspector/AboutModal.js +1 -4
  21. package/dist/commonjs/components/Inspector/AnalyticsFilterModal.js +47 -49
  22. package/dist/commonjs/components/Inspector/BoxModelVisualizer.d.ts +8 -0
  23. package/dist/commonjs/components/Inspector/BoxModelVisualizer.js +76 -0
  24. package/dist/commonjs/components/Inspector/ConsoleExportModal.js +51 -51
  25. package/dist/commonjs/components/Inspector/ConsoleTab.js +19 -14
  26. package/dist/commonjs/components/Inspector/CrashTab.js +17 -17
  27. package/dist/commonjs/components/Inspector/DebuggingTab.js +24 -24
  28. package/dist/commonjs/components/Inspector/DeviceInfoTab.js +2 -2
  29. package/dist/commonjs/components/Inspector/FabLauncher.js +2 -2
  30. package/dist/commonjs/components/Inspector/FloatingCaptureWidget.js +2 -2
  31. package/dist/commonjs/components/Inspector/InspectorHeader.js +15 -15
  32. package/dist/commonjs/components/Inspector/MainScreen.js +9 -6
  33. package/dist/commonjs/components/Inspector/MediaGalleryTab.js +187 -90
  34. package/dist/commonjs/components/Inspector/MediaPreviewModal.d.ts +1 -0
  35. package/dist/commonjs/components/Inspector/MediaPreviewModal.js +222 -222
  36. package/dist/commonjs/components/Inspector/NetworkDetail.js +11 -8
  37. package/dist/commonjs/components/Inspector/NetworkExportModal.d.ts +10 -0
  38. package/dist/commonjs/components/Inspector/NetworkExportModal.js +333 -0
  39. package/dist/commonjs/components/Inspector/NetworkTab.js +48 -42
  40. package/dist/commonjs/components/Inspector/NpmStarPrompt.js +11 -12
  41. package/dist/commonjs/components/Inspector/PerformanceTab.d.ts +2 -0
  42. package/dist/commonjs/components/Inspector/PerformanceTab.js +652 -0
  43. package/dist/commonjs/components/Inspector/ReduxDetail.js +17 -19
  44. package/dist/commonjs/components/Inspector/ReduxTab.js +5 -5
  45. package/dist/commonjs/components/Inspector/SettingsPanel.js +259 -255
  46. package/dist/commonjs/components/Inspector/SocketCard.js +2 -2
  47. package/dist/commonjs/components/Inspector/SupportPage.js +5 -5
  48. package/dist/commonjs/components/Inspector/TabBar.js +17 -16
  49. package/dist/commonjs/components/Inspector/UiA11yAuditPanel.d.ts +7 -0
  50. package/dist/commonjs/components/Inspector/UiA11yAuditPanel.js +97 -0
  51. package/dist/commonjs/components/Inspector/UiInspectorDetail.d.ts +2 -0
  52. package/dist/commonjs/components/Inspector/UiInspectorDetail.js +485 -0
  53. package/dist/commonjs/components/Inspector/UiInspectorOverlay.d.ts +2 -0
  54. package/dist/commonjs/components/Inspector/UiInspectorOverlay.js +199 -0
  55. package/dist/commonjs/components/Inspector/UiInspectorTab.d.ts +2 -0
  56. package/dist/commonjs/components/Inspector/UiInspectorTab.js +117 -0
  57. package/dist/commonjs/components/Inspector/UiLiveStyleTweaker.d.ts +10 -0
  58. package/dist/commonjs/components/Inspector/UiLiveStyleTweaker.js +148 -0
  59. package/dist/commonjs/components/Inspector/index.d.ts +28 -0
  60. package/dist/commonjs/components/Inspector/index.js +1 -0
  61. package/dist/commonjs/components/LogCard.js +15 -10
  62. package/dist/commonjs/components/NetworkIcons.d.ts +6 -0
  63. package/dist/commonjs/components/NetworkIcons.js +35 -3
  64. package/dist/commonjs/constants/index.d.ts +1 -0
  65. package/dist/commonjs/constants/index.js +1 -1
  66. package/dist/commonjs/constants/version.d.ts +1 -1
  67. package/dist/commonjs/constants/version.js +1 -1
  68. package/dist/commonjs/customHooks/crashHandler.d.ts +1 -1
  69. package/dist/commonjs/customHooks/crashHandler.js +6 -6
  70. package/dist/commonjs/customHooks/uiInspectorManager.d.ts +22 -0
  71. package/dist/commonjs/customHooks/uiInspectorManager.js +1 -0
  72. package/dist/commonjs/helpers/index.d.ts +3 -0
  73. package/dist/commonjs/helpers/index.js +6 -6
  74. package/dist/commonjs/helpers/performanceSampler.d.ts +88 -0
  75. package/dist/commonjs/helpers/performanceSampler.js +1 -0
  76. package/dist/commonjs/helpers/remoteConfig.d.ts +0 -2
  77. package/dist/commonjs/helpers/remoteConfig.js +1 -1
  78. package/dist/commonjs/helpers/searchQueryParser.d.ts +1 -0
  79. package/dist/commonjs/helpers/searchQueryParser.js +7 -5
  80. package/dist/commonjs/helpers/shareFormatter.d.ts +16 -0
  81. package/dist/commonjs/helpers/shareFormatter.js +16 -9
  82. package/dist/commonjs/helpers/uiInspectorEngine.d.ts +62 -0
  83. package/dist/commonjs/helpers/uiInspectorEngine.js +19 -0
  84. package/dist/commonjs/i18n/locales/ar.json +1 -1
  85. package/dist/commonjs/i18n/locales/bn.json +1 -1
  86. package/dist/commonjs/i18n/locales/de.json +1 -1
  87. package/dist/commonjs/i18n/locales/en.json +1 -1
  88. package/dist/commonjs/i18n/locales/es.json +1 -1
  89. package/dist/commonjs/i18n/locales/fr.json +1 -1
  90. package/dist/commonjs/i18n/locales/gu.json +1 -1
  91. package/dist/commonjs/i18n/locales/hi.json +1 -1
  92. package/dist/commonjs/i18n/locales/id.json +1 -1
  93. package/dist/commonjs/i18n/locales/it.json +1 -1
  94. package/dist/commonjs/i18n/locales/ja.json +1 -1
  95. package/dist/commonjs/i18n/locales/kn.json +1 -1
  96. package/dist/commonjs/i18n/locales/ko.json +1 -1
  97. package/dist/commonjs/i18n/locales/ml.json +1 -1
  98. package/dist/commonjs/i18n/locales/mr.json +1 -1
  99. package/dist/commonjs/i18n/locales/nl.json +1 -1
  100. package/dist/commonjs/i18n/locales/pa.json +1 -1
  101. package/dist/commonjs/i18n/locales/pl.json +1 -1
  102. package/dist/commonjs/i18n/locales/pt.json +1 -1
  103. package/dist/commonjs/i18n/locales/ru.json +1 -1
  104. package/dist/commonjs/i18n/locales/ta.json +1 -1
  105. package/dist/commonjs/i18n/locales/te.json +1 -1
  106. package/dist/commonjs/i18n/locales/tr.json +1 -1
  107. package/dist/commonjs/i18n/locales/vi.json +1 -1
  108. package/dist/commonjs/i18n/locales/zh.json +1 -1
  109. package/dist/commonjs/index.d.ts +6 -4
  110. package/dist/commonjs/index.js +3 -3
  111. package/dist/commonjs/native/NativeInspector.d.ts +2 -0
  112. package/dist/commonjs/native/NativeInspector.js +1 -1
  113. package/dist/commonjs/native/NativeNetworkInspector.d.ts +2 -0
  114. package/dist/commonjs/styles/index.js +1 -1
  115. package/dist/commonjs/types/editor.d.ts +31 -0
  116. package/dist/commonjs/types/enums.d.ts +1 -0
  117. package/dist/commonjs/types/enums.js +1 -1
  118. package/dist/commonjs/types/interfaces.d.ts +8 -0
  119. package/dist/esm/components/ConsoleLogCard.js +67 -61
  120. package/dist/esm/components/Inspector/AboutModal.js +14 -17
  121. package/dist/esm/components/Inspector/AnalyticsFilterModal.js +73 -75
  122. package/dist/esm/components/Inspector/BoxModelVisualizer.d.ts +8 -0
  123. package/dist/esm/components/Inspector/BoxModelVisualizer.js +76 -0
  124. package/dist/esm/components/Inspector/ConsoleExportModal.js +67 -67
  125. package/dist/esm/components/Inspector/ConsoleTab.js +33 -28
  126. package/dist/esm/components/Inspector/CrashTab.js +58 -58
  127. package/dist/esm/components/Inspector/DebuggingTab.js +89 -89
  128. package/dist/esm/components/Inspector/DeviceInfoTab.js +2 -2
  129. package/dist/esm/components/Inspector/FabLauncher.js +21 -21
  130. package/dist/esm/components/Inspector/FloatingCaptureWidget.js +23 -23
  131. package/dist/esm/components/Inspector/InspectorHeader.js +31 -31
  132. package/dist/esm/components/Inspector/MainScreen.js +61 -58
  133. package/dist/esm/components/Inspector/MediaGalleryTab.js +244 -147
  134. package/dist/esm/components/Inspector/MediaPreviewModal.d.ts +1 -0
  135. package/dist/esm/components/Inspector/MediaPreviewModal.js +468 -468
  136. package/dist/esm/components/Inspector/NetworkDetail.js +62 -59
  137. package/dist/esm/components/Inspector/NetworkExportModal.d.ts +10 -0
  138. package/dist/esm/components/Inspector/NetworkExportModal.js +333 -0
  139. package/dist/esm/components/Inspector/NetworkTab.js +76 -70
  140. package/dist/esm/components/Inspector/NpmStarPrompt.js +32 -33
  141. package/dist/esm/components/Inspector/PerformanceTab.d.ts +2 -0
  142. package/dist/esm/components/Inspector/PerformanceTab.js +652 -0
  143. package/dist/esm/components/Inspector/ReduxDetail.js +54 -56
  144. package/dist/esm/components/Inspector/ReduxTab.js +9 -9
  145. package/dist/esm/components/Inspector/SettingsPanel.js +302 -298
  146. package/dist/esm/components/Inspector/SocketCard.js +13 -13
  147. package/dist/esm/components/Inspector/SupportPage.js +5 -5
  148. package/dist/esm/components/Inspector/TabBar.js +4 -3
  149. package/dist/esm/components/Inspector/UiA11yAuditPanel.d.ts +7 -0
  150. package/dist/esm/components/Inspector/UiA11yAuditPanel.js +97 -0
  151. package/dist/esm/components/Inspector/UiInspectorDetail.d.ts +2 -0
  152. package/dist/esm/components/Inspector/UiInspectorDetail.js +422 -0
  153. package/dist/esm/components/Inspector/UiInspectorOverlay.d.ts +2 -0
  154. package/dist/esm/components/Inspector/UiInspectorOverlay.js +138 -0
  155. package/dist/esm/components/Inspector/UiInspectorTab.d.ts +2 -0
  156. package/dist/esm/components/Inspector/UiInspectorTab.js +117 -0
  157. package/dist/esm/components/Inspector/UiLiveStyleTweaker.d.ts +10 -0
  158. package/dist/esm/components/Inspector/UiLiveStyleTweaker.js +148 -0
  159. package/dist/esm/components/Inspector/index.d.ts +28 -0
  160. package/dist/esm/components/Inspector/index.js +1 -0
  161. package/dist/esm/components/LogCard.js +60 -55
  162. package/dist/esm/components/NetworkIcons.d.ts +6 -0
  163. package/dist/esm/components/NetworkIcons.js +32 -0
  164. package/dist/esm/constants/index.d.ts +1 -0
  165. package/dist/esm/constants/index.js +1 -1
  166. package/dist/esm/constants/version.d.ts +1 -1
  167. package/dist/esm/constants/version.js +1 -1
  168. package/dist/esm/customHooks/crashHandler.d.ts +1 -1
  169. package/dist/esm/customHooks/crashHandler.js +6 -6
  170. package/dist/esm/customHooks/uiInspectorManager.d.ts +22 -0
  171. package/dist/esm/customHooks/uiInspectorManager.js +1 -0
  172. package/dist/esm/helpers/index.d.ts +3 -0
  173. package/dist/esm/helpers/index.js +6 -6
  174. package/dist/esm/helpers/performanceSampler.d.ts +88 -0
  175. package/dist/esm/helpers/performanceSampler.js +1 -0
  176. package/dist/esm/helpers/remoteConfig.d.ts +0 -2
  177. package/dist/esm/helpers/remoteConfig.js +1 -1
  178. package/dist/esm/helpers/searchQueryParser.d.ts +1 -0
  179. package/dist/esm/helpers/searchQueryParser.js +7 -5
  180. package/dist/esm/helpers/shareFormatter.d.ts +16 -0
  181. package/dist/esm/helpers/shareFormatter.js +20 -13
  182. package/dist/esm/helpers/uiInspectorEngine.d.ts +48 -0
  183. package/dist/esm/helpers/uiInspectorEngine.js +19 -0
  184. package/dist/esm/i18n/locales/ar.json +1 -1
  185. package/dist/esm/i18n/locales/bn.json +1 -1
  186. package/dist/esm/i18n/locales/de.json +1 -1
  187. package/dist/esm/i18n/locales/en.json +1 -1
  188. package/dist/esm/i18n/locales/es.json +1 -1
  189. package/dist/esm/i18n/locales/fr.json +1 -1
  190. package/dist/esm/i18n/locales/gu.json +1 -1
  191. package/dist/esm/i18n/locales/hi.json +1 -1
  192. package/dist/esm/i18n/locales/id.json +1 -1
  193. package/dist/esm/i18n/locales/it.json +1 -1
  194. package/dist/esm/i18n/locales/ja.json +1 -1
  195. package/dist/esm/i18n/locales/kn.json +1 -1
  196. package/dist/esm/i18n/locales/ko.json +1 -1
  197. package/dist/esm/i18n/locales/ml.json +1 -1
  198. package/dist/esm/i18n/locales/mr.json +1 -1
  199. package/dist/esm/i18n/locales/nl.json +1 -1
  200. package/dist/esm/i18n/locales/pa.json +1 -1
  201. package/dist/esm/i18n/locales/pl.json +1 -1
  202. package/dist/esm/i18n/locales/pt.json +1 -1
  203. package/dist/esm/i18n/locales/ru.json +1 -1
  204. package/dist/esm/i18n/locales/ta.json +1 -1
  205. package/dist/esm/i18n/locales/te.json +1 -1
  206. package/dist/esm/i18n/locales/tr.json +1 -1
  207. package/dist/esm/i18n/locales/vi.json +1 -1
  208. package/dist/esm/i18n/locales/zh.json +1 -1
  209. package/dist/esm/index.d.ts +6 -4
  210. package/dist/esm/index.js +8 -8
  211. package/dist/esm/native/NativeInspector.d.ts +2 -0
  212. package/dist/esm/native/NativeInspector.js +1 -1
  213. package/dist/esm/native/NativeNetworkInspector.d.ts +2 -0
  214. package/dist/esm/styles/index.js +1 -1
  215. package/dist/esm/types/editor.d.ts +31 -0
  216. package/dist/esm/types/enums.d.ts +1 -0
  217. package/dist/esm/types/enums.js +1 -1
  218. package/dist/esm/types/interfaces.d.ts +8 -0
  219. package/ios/NetworkInspectorModule.mm +314 -16
  220. package/package.json +24 -1
  221. package/src/native/NativeInspector.ts +37 -0
  222. package/src/native/NativeNetworkInspector.ts +2 -0
  223. package/android/build/.transforms/ad628164ecef2a7cc593f0fd2f4050ce/results.bin +0 -1
  224. package/android/build/.transforms/ad628164ecef2a7cc593f0fd2f4050ce/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/inappinspector/BuildConfig.dex +0 -0
  225. package/android/build/.transforms/ad628164ecef2a7cc593f0fd2f4050ce/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/inappinspector/InAppInspectorFloatingView$iconView$1.dex +0 -0
  226. package/android/build/.transforms/ad628164ecef2a7cc593f0fd2f4050ce/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/inappinspector/InAppInspectorFloatingView.dex +0 -0
  227. package/android/build/.transforms/ad628164ecef2a7cc593f0fd2f4050ce/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/inappinspector/NativeNetworkInspectorSpec.dex +0 -0
  228. package/android/build/.transforms/ad628164ecef2a7cc593f0fd2f4050ce/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/inappinspector/NetworkInspectorModule$Companion.dex +0 -0
  229. package/android/build/.transforms/ad628164ecef2a7cc593f0fd2f4050ce/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/inappinspector/NetworkInspectorModule$activityEventListener$1.dex +0 -0
  230. package/android/build/.transforms/ad628164ecef2a7cc593f0fd2f4050ce/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/inappinspector/NetworkInspectorModule$frameCallback$1.dex +0 -0
  231. package/android/build/.transforms/ad628164ecef2a7cc593f0fd2f4050ce/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/inappinspector/NetworkInspectorModule$getCapturedMedia$lambda$57$$inlined$sortedByDescending$1.dex +0 -0
  232. package/android/build/.transforms/ad628164ecef2a7cc593f0fd2f4050ce/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/inappinspector/NetworkInspectorModule$shakeListener$1.dex +0 -0
  233. package/android/build/.transforms/ad628164ecef2a7cc593f0fd2f4050ce/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/inappinspector/NetworkInspectorModule$startVideoRecording$2$1.dex +0 -0
  234. package/android/build/.transforms/ad628164ecef2a7cc593f0fd2f4050ce/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/inappinspector/NetworkInspectorModule.dex +0 -0
  235. package/android/build/.transforms/ad628164ecef2a7cc593f0fd2f4050ce/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/inappinspector/NetworkInspectorPackage.dex +0 -0
  236. package/android/build/.transforms/ad628164ecef2a7cc593f0fd2f4050ce/transformed/bundleLibRuntimeToDirDebug/desugar_graph.bin +0 -0
  237. package/android/build/.transforms/c93e459e24d856bde563ebb048265732/results.bin +0 -1
  238. package/android/build/.transforms/c93e459e24d856bde563ebb048265732/transformed/classes/classes_dex/classes.dex +0 -0
  239. package/android/build/generated/source/buildConfig/debug/com/inappinspector/BuildConfig.java +0 -10
  240. package/android/build/generated/source/codegen/java/com/inappinspector/NativeNetworkInspectorSpec.java +0 -160
  241. package/android/build/generated/source/codegen/jni/CMakeLists.txt +0 -28
  242. package/android/build/generated/source/codegen/jni/RNInAppInspectorSpec-generated.cpp +0 -212
  243. package/android/build/generated/source/codegen/jni/RNInAppInspectorSpec.h +0 -31
  244. package/android/build/generated/source/codegen/jni/react/renderer/components/RNInAppInspectorSpec/ComponentDescriptors.cpp +0 -22
  245. package/android/build/generated/source/codegen/jni/react/renderer/components/RNInAppInspectorSpec/ComponentDescriptors.h +0 -24
  246. package/android/build/generated/source/codegen/jni/react/renderer/components/RNInAppInspectorSpec/EventEmitters.cpp +0 -16
  247. package/android/build/generated/source/codegen/jni/react/renderer/components/RNInAppInspectorSpec/EventEmitters.h +0 -17
  248. package/android/build/generated/source/codegen/jni/react/renderer/components/RNInAppInspectorSpec/Props.cpp +0 -19
  249. package/android/build/generated/source/codegen/jni/react/renderer/components/RNInAppInspectorSpec/Props.h +0 -18
  250. package/android/build/generated/source/codegen/jni/react/renderer/components/RNInAppInspectorSpec/RNInAppInspectorSpecJSI.h +0 -300
  251. package/android/build/generated/source/codegen/jni/react/renderer/components/RNInAppInspectorSpec/ShadowNodes.cpp +0 -17
  252. package/android/build/generated/source/codegen/jni/react/renderer/components/RNInAppInspectorSpec/ShadowNodes.h +0 -23
  253. package/android/build/generated/source/codegen/jni/react/renderer/components/RNInAppInspectorSpec/States.cpp +0 -16
  254. package/android/build/generated/source/codegen/jni/react/renderer/components/RNInAppInspectorSpec/States.h +0 -20
  255. package/android/build/generated/source/codegen/schema.json +0 -1
  256. package/android/build/intermediates/aapt_friendly_merged_manifests/debug/processDebugManifest/aapt/AndroidManifest.xml +0 -7
  257. package/android/build/intermediates/aapt_friendly_merged_manifests/debug/processDebugManifest/aapt/output-metadata.json +0 -18
  258. package/android/build/intermediates/aar_metadata/debug/writeDebugAarMetadata/aar-metadata.properties +0 -6
  259. package/android/build/intermediates/annotation_processor_list/debug/javaPreCompileDebug/annotationProcessors.json +0 -1
  260. package/android/build/intermediates/compile_library_classes_jar/debug/bundleLibCompileToJarDebug/classes.jar +0 -0
  261. package/android/build/intermediates/compile_r_class_jar/debug/generateDebugRFile/R.jar +0 -0
  262. package/android/build/intermediates/compile_symbol_list/debug/generateDebugRFile/R.txt +0 -0
  263. package/android/build/intermediates/incremental/debug/packageDebugResources/compile-file-map.properties +0 -1
  264. package/android/build/intermediates/incremental/debug/packageDebugResources/merger.xml +0 -2
  265. package/android/build/intermediates/incremental/mergeDebugJniLibFolders/merger.xml +0 -2
  266. package/android/build/intermediates/incremental/mergeDebugShaders/merger.xml +0 -2
  267. package/android/build/intermediates/incremental/packageDebugAssets/merger.xml +0 -2
  268. package/android/build/intermediates/java_res/debug/processDebugJavaRes/out/META-INF/react-native-inapp-inspector_debug.kotlin_module +0 -0
  269. package/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/inappinspector/BuildConfig.class +0 -0
  270. package/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/inappinspector/NativeNetworkInspectorSpec.class +0 -0
  271. package/android/build/intermediates/local_only_symbol_list/debug/parseDebugLocalResources/R-def.txt +0 -2
  272. package/android/build/intermediates/manifest_merge_blame_file/debug/processDebugManifest/manifest-merger-blame-debug-report.txt +0 -7
  273. package/android/build/intermediates/merged_manifest/debug/processDebugManifest/AndroidManifest.xml +0 -7
  274. package/android/build/intermediates/navigation_json/debug/extractDeepLinksDebug/navigation.json +0 -1
  275. package/android/build/intermediates/nested_resources_validation_report/debug/generateDebugResources/nestedResourcesValidationReport.txt +0 -1
  276. package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/META-INF/react-native-inapp-inspector_debug.kotlin_module +0 -0
  277. package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/inappinspector/BuildConfig.class +0 -0
  278. package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/inappinspector/InAppInspectorFloatingView$iconView$1.class +0 -0
  279. package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/inappinspector/InAppInspectorFloatingView.class +0 -0
  280. package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/inappinspector/NativeNetworkInspectorSpec.class +0 -0
  281. package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/inappinspector/NetworkInspectorModule$Companion.class +0 -0
  282. package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/inappinspector/NetworkInspectorModule$activityEventListener$1.class +0 -0
  283. package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/inappinspector/NetworkInspectorModule$frameCallback$1.class +0 -0
  284. package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/inappinspector/NetworkInspectorModule$getCapturedMedia$lambda$57$$inlined$sortedByDescending$1.class +0 -0
  285. package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/inappinspector/NetworkInspectorModule$shakeListener$1.class +0 -0
  286. package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/inappinspector/NetworkInspectorModule$startVideoRecording$2$1.class +0 -0
  287. package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/inappinspector/NetworkInspectorModule.class +0 -0
  288. package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/inappinspector/NetworkInspectorPackage.class +0 -0
  289. package/android/build/intermediates/runtime_library_classes_jar/debug/bundleLibRuntimeToJarDebug/classes.jar +0 -0
  290. package/android/build/intermediates/symbol_list_with_package_name/debug/generateDebugRFile/package-aware-r.txt +0 -1
  291. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab +0 -0
  292. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab.keystream +0 -0
  293. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab.keystream.len +0 -0
  294. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab.len +0 -0
  295. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab.values.at +0 -0
  296. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab_i +0 -0
  297. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab_i.len +0 -0
  298. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab +0 -0
  299. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab.keystream +0 -0
  300. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab.keystream.len +0 -0
  301. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab.len +0 -0
  302. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab.values.at +0 -0
  303. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab_i +0 -0
  304. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab_i.len +0 -0
  305. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab +0 -0
  306. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.keystream +0 -0
  307. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.keystream.len +0 -0
  308. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.len +0 -0
  309. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.values.at +0 -0
  310. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab_i +0 -0
  311. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab_i.len +0 -0
  312. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/constants.tab +0 -0
  313. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/constants.tab.keystream +0 -0
  314. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/constants.tab.keystream.len +0 -0
  315. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/constants.tab.len +0 -0
  316. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/constants.tab.values.at +0 -0
  317. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/constants.tab_i +0 -0
  318. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/constants.tab_i.len +0 -0
  319. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab +0 -0
  320. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab.keystream +0 -0
  321. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab.keystream.len +0 -0
  322. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab.len +0 -0
  323. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab.values.at +0 -0
  324. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab_i +0 -0
  325. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab_i.len +0 -0
  326. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab +0 -0
  327. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab.keystream +0 -0
  328. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab.keystream.len +0 -0
  329. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab.len +0 -0
  330. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab.values.at +0 -0
  331. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab_i +0 -0
  332. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab_i.len +0 -0
  333. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab +0 -0
  334. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab.keystream +0 -0
  335. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab.keystream.len +0 -0
  336. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab.len +0 -0
  337. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab.values.at +0 -0
  338. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab_i +0 -0
  339. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab_i.len +0 -0
  340. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab +0 -0
  341. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab.keystream +0 -0
  342. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab.keystream.len +0 -0
  343. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab.len +0 -0
  344. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab.values.at +0 -0
  345. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab_i +0 -0
  346. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab_i.len +0 -0
  347. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab +0 -0
  348. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab.keystream +0 -0
  349. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab.keystream.len +0 -0
  350. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab.len +0 -0
  351. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab.values.at +0 -0
  352. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab_i +0 -0
  353. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab_i.len +0 -0
  354. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/counters.tab +0 -2
  355. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/file-to-id.tab +0 -0
  356. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/file-to-id.tab.keystream +0 -0
  357. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/file-to-id.tab.keystream.len +0 -0
  358. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/file-to-id.tab.len +0 -0
  359. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/file-to-id.tab.values.at +0 -0
  360. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/file-to-id.tab_i +0 -0
  361. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/file-to-id.tab_i.len +0 -0
  362. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab +0 -0
  363. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab.keystream +0 -0
  364. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab.keystream.len +0 -0
  365. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab.len +0 -0
  366. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab.values.at +0 -0
  367. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab_i +0 -0
  368. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab_i.len +0 -0
  369. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab +0 -0
  370. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab.keystream +0 -0
  371. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab.keystream.len +0 -0
  372. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab.len +0 -0
  373. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab.values.at +0 -0
  374. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab_i +0 -0
  375. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab_i.len +0 -0
  376. package/android/build/kotlin/compileDebugKotlin/cacheable/last-build.bin +0 -0
  377. package/android/build/kotlin/compileDebugKotlin/classpath-snapshot/shrunk-classpath-snapshot.bin +0 -0
  378. package/android/build/kotlin/compileDebugKotlin/local-state/build-history.bin +0 -0
  379. package/android/build/outputs/logs/manifest-merger-debug-report.txt +0 -17
  380. package/android/build/reports/problems/problems-report.html +0 -659
  381. package/android/build/tmp/compileDebugJavaWithJavac/previous-compilation-data.bin +0 -0
  382. package/android/build/tmp/kotlin-classes/debug/META-INF/react-native-inapp-inspector_debug.kotlin_module +0 -0
  383. package/android/build/tmp/kotlin-classes/debug/com/inappinspector/InAppInspectorFloatingView$iconView$1.class +0 -0
  384. package/android/build/tmp/kotlin-classes/debug/com/inappinspector/InAppInspectorFloatingView.class +0 -0
  385. package/android/build/tmp/kotlin-classes/debug/com/inappinspector/NetworkInspectorModule$Companion.class +0 -0
  386. package/android/build/tmp/kotlin-classes/debug/com/inappinspector/NetworkInspectorModule$activityEventListener$1.class +0 -0
  387. package/android/build/tmp/kotlin-classes/debug/com/inappinspector/NetworkInspectorModule$frameCallback$1.class +0 -0
  388. package/android/build/tmp/kotlin-classes/debug/com/inappinspector/NetworkInspectorModule$getCapturedMedia$lambda$57$$inlined$sortedByDescending$1.class +0 -0
  389. package/android/build/tmp/kotlin-classes/debug/com/inappinspector/NetworkInspectorModule$shakeListener$1.class +0 -0
  390. package/android/build/tmp/kotlin-classes/debug/com/inappinspector/NetworkInspectorModule$startVideoRecording$2$1.class +0 -0
  391. package/android/build/tmp/kotlin-classes/debug/com/inappinspector/NetworkInspectorModule.class +0 -0
  392. package/android/build/tmp/kotlin-classes/debug/com/inappinspector/NetworkInspectorPackage.class +0 -0
  393. package/dist/commonjs/a11y.d.ts +0 -2
  394. package/dist/commonjs/a11y.js +0 -1
  395. package/dist/commonjs/components/Inspector/A11yTab.d.ts +0 -2
  396. package/dist/commonjs/components/Inspector/A11yTab.js +0 -268
  397. package/dist/commonjs/components/Inspector/DeveloperSponsorCard.d.ts +0 -9
  398. package/dist/commonjs/components/Inspector/DeveloperSponsorCard.js +0 -52
  399. package/dist/commonjs/customHooks/a11yAdapter.d.ts +0 -11
  400. package/dist/commonjs/customHooks/a11yAdapter.js +0 -1
  401. package/dist/commonjs/helpers/sponsorService.d.ts +0 -20
  402. package/dist/commonjs/helpers/sponsorService.js +0 -1
  403. package/dist/esm/a11y.d.ts +0 -2
  404. package/dist/esm/a11y.js +0 -1
  405. package/dist/esm/components/Inspector/A11yTab.d.ts +0 -2
  406. package/dist/esm/components/Inspector/A11yTab.js +0 -268
  407. package/dist/esm/components/Inspector/DeveloperSponsorCard.d.ts +0 -9
  408. package/dist/esm/components/Inspector/DeveloperSponsorCard.js +0 -52
  409. package/dist/esm/customHooks/a11yAdapter.d.ts +0 -11
  410. package/dist/esm/customHooks/a11yAdapter.js +0 -1
  411. package/dist/esm/helpers/sponsorService.d.ts +0 -20
  412. package/dist/esm/helpers/sponsorService.js +0 -1
@@ -1,2 +0,0 @@
1
- export { connectA11ySuite, getA11ySuiteInstance, getA11yState, subscribeA11yState, syncA11yTelemetry, announceA11y, calculateContrastRatio, evaluateTouchTarget, WCAG_RULES, } from './customHooks/a11yAdapter';
2
- export type { A11yTelemetryState, WcagRule, ColorContrastResult, TouchTargetEvaluation, } from './types';
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.WCAG_RULES=exports.evaluateTouchTarget=exports.calculateContrastRatio=exports.announceA11y=exports.syncA11yTelemetry=exports.subscribeA11yState=exports.getA11yState=exports.getA11ySuiteInstance=exports.connectA11ySuite=void 0;var a11yAdapter_1=require("./customHooks/a11yAdapter");Object.defineProperty(exports,"connectA11ySuite",{enumerable:!0,get:function(){return a11yAdapter_1.connectA11ySuite}}),Object.defineProperty(exports,"getA11ySuiteInstance",{enumerable:!0,get:function(){return a11yAdapter_1.getA11ySuiteInstance}}),Object.defineProperty(exports,"getA11yState",{enumerable:!0,get:function(){return a11yAdapter_1.getA11yState}}),Object.defineProperty(exports,"subscribeA11yState",{enumerable:!0,get:function(){return a11yAdapter_1.subscribeA11yState}}),Object.defineProperty(exports,"syncA11yTelemetry",{enumerable:!0,get:function(){return a11yAdapter_1.syncA11yTelemetry}}),Object.defineProperty(exports,"announceA11y",{enumerable:!0,get:function(){return a11yAdapter_1.announceA11y}}),Object.defineProperty(exports,"calculateContrastRatio",{enumerable:!0,get:function(){return a11yAdapter_1.calculateContrastRatio}}),Object.defineProperty(exports,"evaluateTouchTarget",{enumerable:!0,get:function(){return a11yAdapter_1.evaluateTouchTarget}}),Object.defineProperty(exports,"WCAG_RULES",{enumerable:!0,get:function(){return a11yAdapter_1.WCAG_RULES}});
@@ -1,2 +0,0 @@
1
- import React from 'react';
2
- export declare const A11yTab: React.FC;
@@ -1,268 +0,0 @@
1
- "use strict";var __createBinding=this&&this.__createBinding||(Object.create?(function(o,t,a,r){r===void 0&&(r=a);var i=Object.getOwnPropertyDescriptor(t,a);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[a]}}),Object.defineProperty(o,r,i)}):(function(o,t,a,r){r===void 0&&(r=a),o[r]=t[a]})),__setModuleDefault=this&&this.__setModuleDefault||(Object.create?(function(o,t){Object.defineProperty(o,"default",{enumerable:!0,value:t})}):function(o,t){o.default=t}),__importStar=this&&this.__importStar||(function(){var o=function(t){return o=Object.getOwnPropertyNames||function(a){var r=[];for(var i in a)Object.prototype.hasOwnProperty.call(a,i)&&(r[r.length]=i);return r},o(t)};return function(t){if(t&&t.__esModule)return t;var a={};if(t!=null)for(var r=o(t),i=0;i<r.length;i++)r[i]!=="default"&&__createBinding(a,t,r[i]);return __setModuleDefault(a,t),a}})(),__importDefault=this&&this.__importDefault||function(o){return o&&o.__esModule?o:{default:o}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.A11yTab=void 0;const react_1=__importStar(require("react")),react_native_1=require("react-native"),a11yAdapter_1=require("../../customHooks/a11yAdapter"),helpers_1=require("../../helpers"),toast_1=require("../../helpers/toast"),i18n_1=require("../../i18n"),AppColors_1=require("../../styles/AppColors"),AppFonts_1=require("../../styles/AppFonts"),NetworkIcons_1=require("../NetworkIcons"),TouchableScale_1=__importDefault(require("../TouchableScale")),A11yTab=()=>{const{t:o}=(0,i18n_1.useTranslation)(),[t,a]=(0,react_1.useState)("status"),[r,i]=(0,react_1.useState)((0,a11yAdapter_1.getA11yState)()),[s,x]=(0,react_1.useState)("Accessibility announcement test"),[y,C]=(0,react_1.useState)("#FFFFFF"),[g,A]=(0,react_1.useState)("#4F46E5"),[T,m]=(0,react_1.useState)("44"),[b,v]=(0,react_1.useState)("44"),[d,f]=(0,react_1.useState)(""),[c,w]=(0,react_1.useState)("ALL"),[_,I]=(0,react_1.useState)("ALL"),[S,h]=(0,react_1.useState)({});(0,react_1.useEffect)(()=>((0,a11yAdapter_1.syncA11yTelemetry)(),(0,a11yAdapter_1.subscribeA11yState)(e=>{i(e)})),[]);const V=(0,react_1.useCallback)(async()=>{const e=await(0,a11yAdapter_1.syncA11yTelemetry)();i(e),(0,toast_1.showToast)(`A11y Telemetry Updated (VoiceOver/TalkBack: ${e.isScreenReaderEnabled?"Active":"Inactive"})`)},[]),F=(0,react_1.useCallback)(()=>{if(!s.trim()){(0,toast_1.showToast)("Please enter text to announce");return}(0,a11yAdapter_1.announceA11y)(s)?(0,toast_1.showToast)(`Announced: "${s}"`):(0,toast_1.showToast)("Dispatched via AccessibilityInfo fallback")},[s]),l=(0,react_1.useMemo)(()=>(0,a11yAdapter_1.calculateContrastRatio)(y,g),[y,g]),u=(0,react_1.useMemo)(()=>{const e=parseFloat(T)||0,n=parseFloat(b)||0;return(0,a11yAdapter_1.evaluateTouchTarget)(e,n)},[T,b]),B=(0,react_1.useMemo)(()=>a11yAdapter_1.WCAG_RULES.filter(e=>{if(c!=="ALL"&&e.level!==c||_!=="ALL"&&e.principle!==_)return!1;if(d.trim()){const n=d.toLowerCase();return e.id.toLowerCase().includes(n)||e.title.toLowerCase().includes(n)||e.description.toLowerCase().includes(n)||e.mobileRecommendation.toLowerCase().includes(n)}return!0}),[d,c,_]),k=(0,react_1.useCallback)(e=>{h(n=>({...n,[e]:!n[e]}))},[]),p=!!(0,a11yAdapter_1.getA11ySuiteInstance)();return<react_native_1.View style={styles.container}>
2
-
3
- <react_native_1.View style={styles.subTabBar}>
4
- <react_native_1.TouchableOpacity style={[styles.subTabItem,t==="status"&&styles.subTabItemActive]}onPress={()=>a("status")}activeOpacity={.7}>
5
- <NetworkIcons_1.SignalIcon size={14}color={t==="status"?AppColors_1.AppColors.brandPurple:AppColors_1.AppColors.grayTextWeak}/>
6
- <react_native_1.Text style={[styles.subTabText,t==="status"&&styles.subTabTextActive]}>
7
- Status & Telemetry
8
- </react_native_1.Text>
9
- </react_native_1.TouchableOpacity>
10
-
11
- <react_native_1.TouchableOpacity style={[styles.subTabItem,t==="tools"&&styles.subTabItemActive]}onPress={()=>a("tools")}activeOpacity={.7}>
12
- <NetworkIcons_1.TerminalIcon size={14}color={t==="tools"?AppColors_1.AppColors.brandPurple:AppColors_1.AppColors.grayTextWeak}/>
13
- <react_native_1.Text style={[styles.subTabText,t==="tools"&&styles.subTabTextActive]}>
14
- A11y Tools
15
- </react_native_1.Text>
16
- </react_native_1.TouchableOpacity>
17
-
18
- <react_native_1.TouchableOpacity style={[styles.subTabItem,t==="wcag"&&styles.subTabItemActive]}onPress={()=>a("wcag")}activeOpacity={.7}>
19
- <NetworkIcons_1.AccessibilityIcon size={14}color={t==="wcag"?AppColors_1.AppColors.brandPurple:AppColors_1.AppColors.grayTextWeak}/>
20
- <react_native_1.Text style={[styles.subTabText,t==="wcag"&&styles.subTabTextActive]}>
21
- WCAG 2.2 Standards
22
- </react_native_1.Text>
23
- </react_native_1.TouchableOpacity>
24
- </react_native_1.View>
25
-
26
- <react_native_1.ScrollView style={styles.scrollContent}contentContainerStyle={styles.scrollContainer}showsVerticalScrollIndicator={!1}>
27
-
28
- {t==="status"&&<react_native_1.View>
29
-
30
- <react_native_1.View style={[styles.bannerCard,{backgroundColor:p?`${AppColors_1.AppColors.greenColor}14`:`${AppColors_1.AppColors.brandPurple}14`,borderColor:p?`${AppColors_1.AppColors.greenColor}33`:`${AppColors_1.AppColors.brandPurple}33`}]}>
31
- <react_native_1.View style={{flexDirection:"row",alignItems:"center",gap:8}}>
32
- <NetworkIcons_1.AccessibilityIcon size={20}color={p?AppColors_1.AppColors.greenColor:AppColors_1.AppColors.brandPurple}/>
33
- <react_native_1.View style={{flex:1}}>
34
- <react_native_1.Text style={styles.bannerTitle}>
35
- {p?"react-native-a11y-suite Active":"react-native-inapp-inspector A11y Engine"}
36
- </react_native_1.Text>
37
- <react_native_1.Text style={styles.bannerSubtitle}>
38
- {p?"Connected to native TurboModules for enhanced assistive telemetry.":"Running in zero-config mode with native AccessibilityInfo bridge."}
39
- </react_native_1.Text>
40
- </react_native_1.View>
41
- </react_native_1.View>
42
- </react_native_1.View>
43
-
44
-
45
- <react_native_1.View style={styles.metricsGrid}>
46
- <react_native_1.View style={styles.metricCard}>
47
- <react_native_1.Text style={styles.metricLabel}>Screen Reader</react_native_1.Text>
48
- <react_native_1.View style={styles.badgeRow}>
49
- <react_native_1.View style={[styles.statusDot,{backgroundColor:r.isScreenReaderEnabled?AppColors_1.AppColors.greenColor:AppColors_1.AppColors.grayTextWeak}]}/>
50
- <react_native_1.Text style={[styles.metricValue,{color:r.isScreenReaderEnabled?AppColors_1.AppColors.greenColor:AppColors_1.AppColors.grayTextStrong}]}>
51
- {r.isScreenReaderEnabled?react_native_1.Platform.OS==="ios"?"VoiceOver ON":"TalkBack ON":"Inactive"}
52
- </react_native_1.Text>
53
- </react_native_1.View>
54
- </react_native_1.View>
55
-
56
- <react_native_1.View style={styles.metricCard}>
57
- <react_native_1.Text style={styles.metricLabel}>Font Scale Multiplier</react_native_1.Text>
58
- <react_native_1.Text style={[styles.metricValue,{color:AppColors_1.AppColors.brandPurple}]}>
59
- {r.fontScale}x
60
- </react_native_1.Text>
61
- <react_native_1.Text style={styles.metricSub}>
62
- {r.fontScale>=1.5?"Accessibility Size":r.fontScale>1?"Large Scale":"Default (1.0x)"}
63
- </react_native_1.Text>
64
- </react_native_1.View>
65
-
66
- <react_native_1.View style={styles.metricCard}>
67
- <react_native_1.Text style={styles.metricLabel}>Reduced Motion</react_native_1.Text>
68
- <react_native_1.Text style={[styles.metricValue,{color:r.isReduceMotionEnabled?AppColors_1.AppColors.lightOrange:AppColors_1.AppColors.grayTextStrong}]}>
69
- {r.isReduceMotionEnabled?"Enabled (No Anim)":"Disabled"}
70
- </react_native_1.Text>
71
- </react_native_1.View>
72
-
73
- <react_native_1.View style={styles.metricCard}>
74
- <react_native_1.Text style={styles.metricLabel}>Bold Text</react_native_1.Text>
75
- <react_native_1.Text style={[styles.metricValue,{color:r.isBoldTextEnabled?AppColors_1.AppColors.skyBlue:AppColors_1.AppColors.grayTextStrong}]}>
76
- {r.isBoldTextEnabled?"Enabled":"Default"}
77
- </react_native_1.Text>
78
- </react_native_1.View>
79
-
80
- <react_native_1.View style={styles.metricCard}>
81
- <react_native_1.Text style={styles.metricLabel}>High Contrast</react_native_1.Text>
82
- <react_native_1.Text style={[styles.metricValue,{color:r.isHighContrastEnabled?AppColors_1.AppColors.brandPurple:AppColors_1.AppColors.grayTextStrong}]}>
83
- {r.isHighContrastEnabled?"Enabled":"Default"}
84
- </react_native_1.Text>
85
- </react_native_1.View>
86
-
87
- <react_native_1.View style={styles.metricCard}>
88
- <react_native_1.Text style={styles.metricLabel}>Invert Colors</react_native_1.Text>
89
- <react_native_1.Text style={[styles.metricValue,{color:r.isInvertColorsEnabled?AppColors_1.AppColors.lightOrange:AppColors_1.AppColors.grayTextStrong}]}>
90
- {r.isInvertColorsEnabled?"Enabled":"Default"}
91
- </react_native_1.Text>
92
- </react_native_1.View>
93
- </react_native_1.View>
94
-
95
-
96
- <TouchableScale_1.default style={styles.actionButton}onPress={V}>
97
- <NetworkIcons_1.SignalIcon size={16}color={AppColors_1.AppColors.white}/>
98
- <react_native_1.Text style={styles.actionButtonText}>Sync Accessibility Telemetry</react_native_1.Text>
99
- </TouchableScale_1.default>
100
- </react_native_1.View>}
101
-
102
-
103
- {t==="tools"&&<react_native_1.View>
104
-
105
- <react_native_1.View style={styles.toolCard}>
106
- <react_native_1.View style={styles.toolHeader}>
107
- <NetworkIcons_1.AccessibilityIcon size={18}color={AppColors_1.AppColors.brandPurple}/>
108
- <react_native_1.Text style={styles.toolTitle}>Live Speech & Announcement Tester</react_native_1.Text>
109
- </react_native_1.View>
110
- <react_native_1.Text style={styles.toolDesc}>
111
- Dispatches announcements directly to active assistive technologies
112
- (VoiceOver on iOS, TalkBack on Android).
113
- </react_native_1.Text>
114
-
115
- <react_native_1.TextInput style={styles.input}value={s}onChangeText={x}placeholder="Enter message to announce..."placeholderTextColor={AppColors_1.AppColors.grayTextWeak}/>
116
-
117
- <TouchableScale_1.default style={[styles.actionButton,{marginTop:10}]}onPress={F}>
118
- <react_native_1.Text style={styles.actionButtonText}>📢 Dispatch Announcement</react_native_1.Text>
119
- </TouchableScale_1.default>
120
- </react_native_1.View>
121
-
122
-
123
- <react_native_1.View style={styles.toolCard}>
124
- <react_native_1.View style={styles.toolHeader}>
125
- <NetworkIcons_1.AccessibilityIcon size={18}color={AppColors_1.AppColors.skyBlue}/>
126
- <react_native_1.Text style={styles.toolTitle}>WCAG 2.2 Color Contrast Checker</react_native_1.Text>
127
- </react_native_1.View>
128
- <react_native_1.Text style={styles.toolDesc}>
129
- Calculates relative luminance and contrast ratio between foreground text
130
- and background surfaces.
131
- </react_native_1.Text>
132
-
133
- <react_native_1.View style={{flexDirection:"row",gap:10,marginTop:10}}>
134
- <react_native_1.View style={{flex:1}}>
135
- <react_native_1.Text style={styles.inputLabel}>Text Hex</react_native_1.Text>
136
- <react_native_1.TextInput style={styles.input}value={y}onChangeText={C}placeholder="#FFFFFF"placeholderTextColor={AppColors_1.AppColors.grayTextWeak}autoCapitalize="characters"/>
137
- </react_native_1.View>
138
- <react_native_1.View style={{flex:1}}>
139
- <react_native_1.Text style={styles.inputLabel}>Background Hex</react_native_1.Text>
140
- <react_native_1.TextInput style={styles.input}value={g}onChangeText={A}placeholder="#4F46E5"placeholderTextColor={AppColors_1.AppColors.grayTextWeak}autoCapitalize="characters"/>
141
- </react_native_1.View>
142
- </react_native_1.View>
143
-
144
-
145
- <react_native_1.View style={[styles.contrastPreviewBox,{backgroundColor:l.bgHex||"#4F46E5"}]}>
146
- <react_native_1.Text style={[styles.contrastPreviewText,{color:l.fgHex||"#FFFFFF"}]}>
147
- Sample Text Preview
148
- </react_native_1.Text>
149
- </react_native_1.View>
150
-
151
-
152
- <react_native_1.View style={styles.ratioRow}>
153
- <react_native_1.Text style={styles.ratioValue}>{l.ratio}:1</react_native_1.Text>
154
- <react_native_1.View style={styles.badgeContainer}>
155
- <react_native_1.View style={[styles.complianceBadge,l.aaNormal?styles.badgePass:styles.badgeFail]}>
156
- <react_native_1.Text style={[styles.badgeText,l.aaNormal?styles.textPass:styles.textFail]}>
157
- AA (4.5:1) {l.aaNormal?"\u2713":"\u2717"}
158
- </react_native_1.Text>
159
- </react_native_1.View>
160
- <react_native_1.View style={[styles.complianceBadge,l.aaLarge?styles.badgePass:styles.badgeFail]}>
161
- <react_native_1.Text style={[styles.badgeText,l.aaLarge?styles.textPass:styles.textFail]}>
162
- AA Large (3:1) {l.aaLarge?"\u2713":"\u2717"}
163
- </react_native_1.Text>
164
- </react_native_1.View>
165
- <react_native_1.View style={[styles.complianceBadge,l.aaaNormal?styles.badgePass:styles.badgeFail]}>
166
- <react_native_1.Text style={[styles.badgeText,l.aaaNormal?styles.textPass:styles.textFail]}>
167
- AAA (7:1) {l.aaaNormal?"\u2713":"\u2717"}
168
- </react_native_1.Text>
169
- </react_native_1.View>
170
- </react_native_1.View>
171
- </react_native_1.View>
172
- </react_native_1.View>
173
-
174
-
175
- <react_native_1.View style={styles.toolCard}>
176
- <react_native_1.View style={styles.toolHeader}>
177
- <NetworkIcons_1.AccessibilityIcon size={18}color={AppColors_1.AppColors.greenColor}/>
178
- <react_native_1.Text style={styles.toolTitle}>Touch Target Evaluator (WCAG 2.5.5/2.5.8)</react_native_1.Text>
179
- </react_native_1.View>
180
- <react_native_1.Text style={styles.toolDesc}>
181
- Validates interactive component dimensions against Apple HIG (44pt) and
182
- Android Material (48dp) minimums.
183
- </react_native_1.Text>
184
-
185
- <react_native_1.View style={{flexDirection:"row",gap:10,marginTop:10}}>
186
- <react_native_1.View style={{flex:1}}>
187
- <react_native_1.Text style={styles.inputLabel}>Width (dp/pt)</react_native_1.Text>
188
- <react_native_1.TextInput style={styles.input}value={T}onChangeText={m}keyboardType="numeric"/>
189
- </react_native_1.View>
190
- <react_native_1.View style={{flex:1}}>
191
- <react_native_1.Text style={styles.inputLabel}>Height (dp/pt)</react_native_1.Text>
192
- <react_native_1.TextInput style={styles.input}value={b}onChangeText={v}keyboardType="numeric"/>
193
- </react_native_1.View>
194
- </react_native_1.View>
195
-
196
- <react_native_1.View style={styles.targetResultsRow}>
197
- <react_native_1.View style={styles.targetStatusBox}>
198
- <react_native_1.Text style={styles.targetPlatformLabel}>iOS HIG (44x44pt)</react_native_1.Text>
199
- <react_native_1.Text style={[styles.targetStatusValue,{color:u.iosMinMet?AppColors_1.AppColors.greenColor:AppColors_1.AppColors.errorColor}]}>
200
- {u.iosMinMet?"\u2713 Compliant":"\u2717 Too Small"}
201
- </react_native_1.Text>
202
- </react_native_1.View>
203
- <react_native_1.View style={styles.targetStatusBox}>
204
- <react_native_1.Text style={styles.targetPlatformLabel}>Android Material (48x48dp)</react_native_1.Text>
205
- <react_native_1.Text style={[styles.targetStatusValue,{color:u.androidMinMet?AppColors_1.AppColors.greenColor:AppColors_1.AppColors.errorColor}]}>
206
- {u.androidMinMet?"\u2713 Compliant":"\u2717 Too Small"}
207
- </react_native_1.Text>
208
- </react_native_1.View>
209
- </react_native_1.View>
210
- </react_native_1.View>
211
- </react_native_1.View>}
212
-
213
-
214
- {t==="wcag"&&<react_native_1.View>
215
-
216
- <react_native_1.View style={styles.searchBar}>
217
- <NetworkIcons_1.SearchIcon size={16}color={AppColors_1.AppColors.grayTextWeak}/>
218
- <react_native_1.TextInput style={styles.searchInput}value={d}onChangeText={f}placeholder="Search WCAG 2.2 rules..."placeholderTextColor={AppColors_1.AppColors.grayTextWeak}/>
219
- </react_native_1.View>
220
-
221
-
222
- <react_native_1.ScrollView horizontal showsHorizontalScrollIndicator={!1}style={{marginBottom:12}}>
223
- {["ALL","A","AA","AAA"].map(e=><react_native_1.TouchableOpacity key={e}style={[styles.filterChip,c===e&&styles.filterChipActive]}onPress={()=>w(e)}>
224
- <react_native_1.Text style={[styles.filterChipText,c===e&&styles.filterChipTextActive]}>
225
- Level {e}
226
- </react_native_1.Text>
227
- </react_native_1.TouchableOpacity>)}
228
- </react_native_1.ScrollView>
229
-
230
-
231
- {B.map(e=>{const n=!!S[e.id];return<react_native_1.View key={e.id}style={styles.ruleCard}>
232
- <react_native_1.TouchableOpacity style={styles.ruleCardHeader}onPress={()=>k(e.id)}activeOpacity={.7}>
233
- <react_native_1.View style={{flex:1}}>
234
- <react_native_1.View style={{flexDirection:"row",alignItems:"center",gap:6}}>
235
- <react_native_1.Text style={styles.ruleId}>{e.id}</react_native_1.Text>
236
- <react_native_1.View style={[styles.levelBadge,{backgroundColor:e.level==="AAA"?`${AppColors_1.AppColors.brandPurple}22`:e.level==="AA"?`${AppColors_1.AppColors.skyBlue}22`:`${AppColors_1.AppColors.greenColor}22`}]}>
237
- <react_native_1.Text style={[styles.levelBadgeText,{color:e.level==="AAA"?AppColors_1.AppColors.brandPurple:e.level==="AA"?AppColors_1.AppColors.skyBlue:AppColors_1.AppColors.greenColor}]}>
238
- Level {e.level}
239
- </react_native_1.Text>
240
- </react_native_1.View>
241
- <react_native_1.Text style={styles.principleTag}>{e.principle}</react_native_1.Text>
242
- </react_native_1.View>
243
- <react_native_1.Text style={styles.ruleTitle}>{e.title}</react_native_1.Text>
244
- </react_native_1.View>
245
- <NetworkIcons_1.ChevronIcon direction={n?"up":"down"}size={16}color={AppColors_1.AppColors.grayTextWeak}/>
246
- </react_native_1.TouchableOpacity>
247
-
248
- {n&&<react_native_1.View style={styles.ruleBody}>
249
- <react_native_1.Text style={styles.ruleDescLabel}>Criterion Definition:</react_native_1.Text>
250
- <react_native_1.Text style={styles.ruleDesc}>{e.description}</react_native_1.Text>
251
-
252
- <react_native_1.Text style={[styles.ruleDescLabel,{marginTop:8}]}>
253
- Mobile / React Native Recommendation:
254
- </react_native_1.Text>
255
- <react_native_1.Text style={styles.ruleRec}>{e.mobileRecommendation}</react_native_1.Text>
256
-
257
- <react_native_1.TouchableOpacity style={styles.copyRuleBtn}onPress={()=>{(0,helpers_1.copyToClipboard)(`WCAG ${e.id} ${e.title} (Level ${e.level}):
258
- ${e.description}
259
-
260
- Mobile: ${e.mobileRecommendation}`),(0,toast_1.showToast)(`Copied WCAG ${e.id} rule guidance`)}}>
261
- <NetworkIcons_1.CopyIcon size={14}color={AppColors_1.AppColors.brandPurple}/>
262
- <react_native_1.Text style={styles.copyRuleBtnText}>Copy Rule Guidance</react_native_1.Text>
263
- </react_native_1.TouchableOpacity>
264
- </react_native_1.View>}
265
- </react_native_1.View>})}
266
- </react_native_1.View>}
267
- </react_native_1.ScrollView>
268
- </react_native_1.View>};exports.A11yTab=A11yTab;const styles=react_native_1.StyleSheet.create({container:{flex:1,backgroundColor:AppColors_1.AppColors.grayBackground},subTabBar:{flexDirection:"row",backgroundColor:AppColors_1.AppColors.graySurface,borderBottomWidth:react_native_1.StyleSheet.hairlineWidth,borderBottomColor:AppColors_1.AppColors.grayBorderSecondary,paddingHorizontal:8,paddingVertical:4,gap:4},subTabItem:{flex:1,flexDirection:"row",alignItems:"center",justifyContent:"center",paddingVertical:8,borderRadius:8,gap:6},subTabItemActive:{backgroundColor:`${AppColors_1.AppColors.brandPurple}1F`},subTabText:{fontFamily:AppFonts_1.AppFonts.interMedium,fontSize:12,color:AppColors_1.AppColors.grayTextWeak},subTabTextActive:{color:AppColors_1.AppColors.brandPurple,fontFamily:AppFonts_1.AppFonts.interBold},scrollContent:{flex:1},scrollContainer:{padding:14,paddingBottom:40},bannerCard:{borderRadius:10,borderWidth:1,padding:12,marginBottom:14},bannerTitle:{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:13,color:AppColors_1.AppColors.grayTextStrong},bannerSubtitle:{fontFamily:AppFonts_1.AppFonts.interRegular,fontSize:11,color:AppColors_1.AppColors.grayTextWeak,marginTop:2},metricsGrid:{flexDirection:"row",flexWrap:"wrap",gap:10,marginBottom:14},metricCard:{flexBasis:"48%",flexGrow:1,backgroundColor:AppColors_1.AppColors.primaryLight,borderRadius:10,borderWidth:1,borderColor:AppColors_1.AppColors.grayBorderSecondary,padding:12},metricLabel:{fontFamily:AppFonts_1.AppFonts.interMedium,fontSize:11,color:AppColors_1.AppColors.grayTextWeak,marginBottom:4},metricValue:{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:14,color:AppColors_1.AppColors.grayTextStrong},metricSub:{fontFamily:AppFonts_1.AppFonts.interRegular,fontSize:10,color:AppColors_1.AppColors.grayTextWeak,marginTop:2},badgeRow:{flexDirection:"row",alignItems:"center",gap:6},statusDot:{width:8,height:8,borderRadius:4},actionButton:{flexDirection:"row",alignItems:"center",justifyContent:"center",backgroundColor:AppColors_1.AppColors.brandPurple,paddingVertical:12,borderRadius:8,gap:8},actionButtonText:{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:13,color:AppColors_1.AppColors.white},toolCard:{backgroundColor:AppColors_1.AppColors.primaryLight,borderRadius:10,borderWidth:1,borderColor:AppColors_1.AppColors.grayBorderSecondary,padding:14,marginBottom:14},toolHeader:{flexDirection:"row",alignItems:"center",gap:8,marginBottom:4},toolTitle:{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:13,color:AppColors_1.AppColors.grayTextStrong},toolDesc:{fontFamily:AppFonts_1.AppFonts.interRegular,fontSize:11,color:AppColors_1.AppColors.grayTextWeak,marginBottom:8},inputLabel:{fontFamily:AppFonts_1.AppFonts.interMedium,fontSize:11,color:AppColors_1.AppColors.grayTextWeak,marginBottom:4},input:{backgroundColor:AppColors_1.AppColors.graySurface,borderWidth:1,borderColor:AppColors_1.AppColors.grayBorderSecondary,borderRadius:8,paddingHorizontal:12,paddingVertical:8,fontFamily:AppFonts_1.AppFonts.interRegular,fontSize:13,color:AppColors_1.AppColors.grayTextStrong},contrastPreviewBox:{marginTop:12,borderRadius:8,padding:16,alignItems:"center",justifyContent:"center"},contrastPreviewText:{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:15},ratioRow:{flexDirection:"row",alignItems:"center",justifyContent:"space-between",marginTop:12},ratioValue:{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:18,color:AppColors_1.AppColors.grayTextStrong},badgeContainer:{flexDirection:"row",gap:6},complianceBadge:{paddingHorizontal:8,paddingVertical:4,borderRadius:6,borderWidth:1},badgePass:{backgroundColor:`${AppColors_1.AppColors.greenColor}1A`,borderColor:`${AppColors_1.AppColors.greenColor}33`},badgeFail:{backgroundColor:`${AppColors_1.AppColors.errorColor}1A`,borderColor:`${AppColors_1.AppColors.errorColor}33`},badgeText:{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:10},textPass:{color:AppColors_1.AppColors.greenColor},textFail:{color:AppColors_1.AppColors.errorColor},targetResultsRow:{flexDirection:"row",gap:10,marginTop:12},targetStatusBox:{flex:1,backgroundColor:AppColors_1.AppColors.graySurface,padding:10,borderRadius:8,borderWidth:1,borderColor:AppColors_1.AppColors.grayBorderSecondary,alignItems:"center"},targetPlatformLabel:{fontFamily:AppFonts_1.AppFonts.interMedium,fontSize:10,color:AppColors_1.AppColors.grayTextWeak},targetStatusValue:{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:12,marginTop:4},searchBar:{flexDirection:"row",alignItems:"center",backgroundColor:AppColors_1.AppColors.primaryLight,borderRadius:8,borderWidth:1,borderColor:AppColors_1.AppColors.grayBorderSecondary,paddingHorizontal:10,paddingVertical:6,gap:6,marginBottom:10},searchInput:{flex:1,fontFamily:AppFonts_1.AppFonts.interRegular,fontSize:12,color:AppColors_1.AppColors.grayTextStrong,padding:0},filterChip:{paddingHorizontal:10,paddingVertical:5,borderRadius:6,backgroundColor:AppColors_1.AppColors.graySurface,borderWidth:1,borderColor:AppColors_1.AppColors.grayBorderSecondary,marginRight:6},filterChipActive:{backgroundColor:AppColors_1.AppColors.brandPurple,borderColor:AppColors_1.AppColors.brandPurple},filterChipText:{fontFamily:AppFonts_1.AppFonts.interMedium,fontSize:11,color:AppColors_1.AppColors.grayTextWeak},filterChipTextActive:{color:AppColors_1.AppColors.white,fontFamily:AppFonts_1.AppFonts.interBold},ruleCard:{backgroundColor:AppColors_1.AppColors.primaryLight,borderRadius:10,borderWidth:1,borderColor:AppColors_1.AppColors.grayBorderSecondary,padding:12,marginBottom:10},ruleCardHeader:{flexDirection:"row",alignItems:"center",justifyContent:"space-between"},ruleId:{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:11,color:AppColors_1.AppColors.brandPurple},levelBadge:{paddingHorizontal:6,paddingVertical:2,borderRadius:4},levelBadgeText:{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:9},principleTag:{fontFamily:AppFonts_1.AppFonts.interRegular,fontSize:10,color:AppColors_1.AppColors.grayTextWeak},ruleTitle:{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:13,color:AppColors_1.AppColors.grayTextStrong,marginTop:4},ruleBody:{marginTop:10,paddingTop:10,borderTopWidth:react_native_1.StyleSheet.hairlineWidth,borderTopColor:AppColors_1.AppColors.grayBorderSecondary},ruleDescLabel:{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:10,color:AppColors_1.AppColors.grayTextWeak,textTransform:"uppercase"},ruleDesc:{fontFamily:AppFonts_1.AppFonts.interRegular,fontSize:12,color:AppColors_1.AppColors.grayTextStrong,marginTop:2,lineHeight:16},ruleRec:{fontFamily:AppFonts_1.AppFonts.interMedium,fontSize:12,color:AppColors_1.AppColors.brandPurple,marginTop:2,lineHeight:16},copyRuleBtn:{flexDirection:"row",alignItems:"center",gap:6,marginTop:10,alignSelf:"flex-start",paddingVertical:4,paddingHorizontal:8,borderRadius:6,backgroundColor:`${AppColors_1.AppColors.brandPurple}14`},copyRuleBtnText:{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:11,color:AppColors_1.AppColors.brandPurple}});
@@ -1,9 +0,0 @@
1
- import React from 'react';
2
- export interface DeveloperSponsorCardProps {
3
- publisherId?: string;
4
- customEndpoint?: string;
5
- containerStyle?: object;
6
- compact?: boolean;
7
- }
8
- export declare const DeveloperSponsorCard: React.FC<DeveloperSponsorCardProps>;
9
- export default DeveloperSponsorCard;
@@ -1,52 +0,0 @@
1
- "use strict";var __createBinding=this&&this.__createBinding||(Object.create?(function(o,t,n,r){r===void 0&&(r=n);var e=Object.getOwnPropertyDescriptor(t,n);(!e||("get"in e?!t.__esModule:e.writable||e.configurable))&&(e={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(o,r,e)}):(function(o,t,n,r){r===void 0&&(r=n),o[r]=t[n]})),__setModuleDefault=this&&this.__setModuleDefault||(Object.create?(function(o,t){Object.defineProperty(o,"default",{enumerable:!0,value:t})}):function(o,t){o.default=t}),__importStar=this&&this.__importStar||(function(){var o=function(t){return o=Object.getOwnPropertyNames||function(n){var r=[];for(var e in n)Object.prototype.hasOwnProperty.call(n,e)&&(r[r.length]=e);return r},o(t)};return function(t){if(t&&t.__esModule)return t;var n={};if(t!=null)for(var r=o(t),e=0;e<r.length;e++)r[e]!=="default"&&__createBinding(n,t,r[e]);return __setModuleDefault(n,t),n}})(),__importDefault=this&&this.__importDefault||function(o){return o&&o.__esModule?o:{default:o}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.DeveloperSponsorCard=void 0;const react_1=__importStar(require("react")),react_native_1=require("react-native"),TouchableScale_1=__importDefault(require("../TouchableScale")),AppColors_1=require("../../styles/AppColors"),AppFonts_1=require("../../styles/AppFonts"),sponsorService_1=require("../../helpers/sponsorService"),NetworkIcons_1=require("../NetworkIcons"),DeveloperSponsorCard=({publisherId:o,customEndpoint:t,containerStyle:n,compact:r=!1})=>{const[e,s]=(0,react_1.useState)(null);if((0,react_1.useEffect)(()=>{let l=!0;return(0,sponsorService_1.fetchDeveloperSponsor)(o,t).then(a=>{l&&a&&(s(a),(0,sponsorService_1.trackSponsorImpression)(a))}),()=>{l=!1}},[o,t]),!e)return null;const i=e.accentColor||AppColors_1.AppColors.indigo600;return<TouchableScale_1.default onPress={()=>(0,sponsorService_1.handleSponsorClick)(e)}style={[styles.cardContainer,{borderColor:`${i}40`},n]}>
2
-
3
- <react_native_1.View style={[styles.glowBackground,{backgroundColor:`${i}0A`}]}/>
4
-
5
-
6
- <react_native_1.View style={styles.headerRow}>
7
- <react_native_1.View style={styles.badgeRow}>
8
- <react_native_1.View style={[styles.sponsorBadge,{backgroundColor:`${i}1F`,borderColor:`${i}44`}]}>
9
- <NetworkIcons_1.SparklesIcon size={10}color={i}/>
10
- <react_native_1.Text style={[styles.sponsorBadgeText,{color:i}]}>
11
- {e.badgeText||"SPONSORED"}
12
- </react_native_1.Text>
13
- </react_native_1.View>
14
- {e.sponsorName?<react_native_1.Text style={styles.sponsorNameText}>· {e.sponsorName}</react_native_1.Text>:null}
15
- </react_native_1.View>
16
-
17
- <react_native_1.View style={styles.verifiedRow}>
18
- {e.type==="ethicalads"?<react_native_1.Pressable hitSlop={8}onPress={()=>react_native_1.Linking.openURL("https://www.ethicalads.io/?ref=react-native-inapp-inspector").catch(()=>{})}style={{flexDirection:"row",alignItems:"center",gap:3.5}}>
19
- <react_native_1.Text style={styles.verifiedText}>Ad by EthicalAds</react_native_1.Text>
20
- <NetworkIcons_1.ExternalLinkIcon size={10}color={AppColors_1.AppColors.grayTextWeak}/>
21
- </react_native_1.Pressable>:<>
22
- <NetworkIcons_1.ShieldCheckIcon size={11}color={AppColors_1.AppColors.emerald500}/>
23
- <react_native_1.Text style={styles.verifiedText}>Verified Dev Tool</react_native_1.Text>
24
- <NetworkIcons_1.ExternalLinkIcon size={11}color={AppColors_1.AppColors.grayTextWeak}/>
25
- </>}
26
- </react_native_1.View>
27
- </react_native_1.View>
28
-
29
-
30
- <react_native_1.View style={styles.contentRow}>
31
- {e.logoUrl?<react_native_1.Image source={{uri:e.logoUrl}}style={styles.logoImage}resizeMode="contain"/>:<react_native_1.View style={[styles.iconPlaceholder,{backgroundColor:`${i}18`}]}>
32
- <NetworkIcons_1.GlobeIcon size={18}color={i}/>
33
- </react_native_1.View>}
34
-
35
- <react_native_1.View style={styles.textColumn}>
36
- <react_native_1.Text style={[styles.headlineText,r&&{fontSize:12.5,lineHeight:16}]}numberOfLines={r?1:2}>
37
- {e.title}
38
- </react_native_1.Text>
39
- {e.description&&!r?<react_native_1.Text style={styles.descText}numberOfLines={2}>
40
- {e.description}
41
- </react_native_1.Text>:null}
42
- </react_native_1.View>
43
- </react_native_1.View>
44
-
45
-
46
- <react_native_1.View style={styles.footerRow}>
47
- <react_native_1.View style={[styles.ctaButton,{backgroundColor:i,shadowColor:i}]}>
48
- <react_native_1.Text style={styles.ctaButtonText}>{e.ctaText||"Learn More"}</react_native_1.Text>
49
- <NetworkIcons_1.ExternalLinkIcon size={11}color={AppColors_1.AppColors.white}/>
50
- </react_native_1.View>
51
- </react_native_1.View>
52
- </TouchableScale_1.default>};exports.DeveloperSponsorCard=DeveloperSponsorCard;const styles=react_native_1.StyleSheet.create({cardContainer:{backgroundColor:AppColors_1.AppColors.primaryLight,borderRadius:14,padding:13,borderWidth:1.2,position:"relative",overflow:"hidden",shadowColor:AppColors_1.AppColors.shadowColorString,shadowOffset:{width:0,height:2},shadowOpacity:.06,shadowRadius:8,elevation:2,gap:10},glowBackground:{position:"absolute",top:0,left:0,right:0,bottom:0},headerRow:{flexDirection:"row",alignItems:"center",justifyContent:"space-between"},badgeRow:{flexDirection:"row",alignItems:"center",gap:6},sponsorBadge:{flexDirection:"row",alignItems:"center",gap:4,paddingHorizontal:7,paddingVertical:2.5,borderRadius:6,borderWidth:1},sponsorBadgeText:{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:9,lineHeight:12,letterSpacing:.6},sponsorNameText:{fontFamily:AppFonts_1.AppFonts.interSemiBold,fontSize:11,color:AppColors_1.AppColors.grayTextWeak},verifiedRow:{flexDirection:"row",alignItems:"center",gap:3.5},verifiedText:{fontFamily:AppFonts_1.AppFonts.interMedium,fontSize:9.5,color:AppColors_1.AppColors.grayTextWeak},contentRow:{flexDirection:"row",alignItems:"center",gap:10},logoImage:{width:38,height:38,borderRadius:8},iconPlaceholder:{width:38,height:38,borderRadius:8,alignItems:"center",justifyContent:"center"},textColumn:{flex:1,gap:2},headlineText:{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:13.5,lineHeight:18,color:AppColors_1.AppColors.primaryBlack,letterSpacing:-.2},descText:{fontFamily:AppFonts_1.AppFonts.interRegular,fontSize:11,lineHeight:15,color:AppColors_1.AppColors.grayTextWeak},footerRow:{flexDirection:"row",alignItems:"center",justifyContent:"flex-end",marginTop:2},ctaButton:{flexDirection:"row",alignItems:"center",justifyContent:"center",gap:5,paddingHorizontal:12,paddingVertical:6.5,borderRadius:8,shadowOffset:{width:0,height:2},shadowOpacity:.25,shadowRadius:4,elevation:2},ctaButtonText:{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:11.5,lineHeight:15,color:AppColors_1.AppColors.white}});exports.default=exports.DeveloperSponsorCard;
@@ -1,11 +0,0 @@
1
- import { A11yTelemetryState, ColorContrastResult, TouchTargetEvaluation, WcagRule } from '../types';
2
- export declare const connectA11ySuite: (suiteInstance: any) => void;
3
- export declare const getA11ySuiteInstance: () => any;
4
- export declare const getA11yState: () => A11yTelemetryState;
5
- export declare const subscribeA11yState: (listener: (state: A11yTelemetryState) => void) => (() => void);
6
- export declare const syncA11yTelemetry: () => Promise<A11yTelemetryState>;
7
- export declare const initA11yListeners: () => void;
8
- export declare const announceA11y: (message: string) => boolean;
9
- export declare const calculateContrastRatio: (fgHex: string, bgHex: string) => ColorContrastResult;
10
- export declare const evaluateTouchTarget: (width: number, height: number) => TouchTargetEvaluation;
11
- export declare const WCAG_RULES: WcagRule[];
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.WCAG_RULES=exports.evaluateTouchTarget=exports.calculateContrastRatio=exports.announceA11y=exports.initA11yListeners=exports.syncA11yTelemetry=exports.subscribeA11yState=exports.getA11yState=exports.getA11ySuiteInstance=exports.connectA11ySuite=void 0;const react_native_1=require("react-native");let customA11ySuite=null,cachedSuite;const connectA11ySuite=e=>{e&&(customA11ySuite=e,cachedSuite=e,notifyListeners())};exports.connectA11ySuite=connectA11ySuite;const getA11ySuiteInstance=()=>{if(customA11ySuite)return customA11ySuite;if(cachedSuite!==void 0)return cachedSuite;if(globalThis.A11ySuite)return cachedSuite=globalThis.A11ySuite,cachedSuite;if(globalThis.__A11Y_SUITE__)return cachedSuite=globalThis.__A11Y_SUITE__,cachedSuite;try{const e="react-native-a11y-suite",t=typeof require=="function"?require:null;if(t){const i=t(e);return cachedSuite=i?.default||i||null,cachedSuite}}catch{cachedSuite=null}return cachedSuite=null,null};exports.getA11ySuiteInstance=getA11ySuiteInstance;let currentState={isScreenReaderEnabled:!1,isReduceMotionEnabled:!1,isBoldTextEnabled:!1,isGrayscaleEnabled:!1,isInvertColorsEnabled:!1,isHighContrastEnabled:!1,fontScale:react_native_1.PixelRatio.getFontScale?react_native_1.PixelRatio.getFontScale():1,nativeModuleAvailable:!1,lastUpdated:Date.now()};const listeners=new Set,notifyListeners=()=>{listeners.forEach(e=>{try{e(currentState)}catch{}})},getA11yState=()=>({...currentState});exports.getA11yState=getA11yState;const subscribeA11yState=e=>(listeners.add(e),e(currentState),()=>{listeners.delete(e)});exports.subscribeA11yState=subscribeA11yState;const syncA11yTelemetry=async()=>{const e=(0,exports.getA11ySuiteInstance)(),t=react_native_1.PixelRatio.getFontScale?react_native_1.PixelRatio.getFontScale():1;let i=!1,a=!1,n=!1,s=!1,r=!1,l=!1;try{i=await react_native_1.AccessibilityInfo.isScreenReaderEnabled()}catch{}try{a=await react_native_1.AccessibilityInfo.isReduceMotionEnabled()}catch{}try{react_native_1.AccessibilityInfo.isBoldTextEnabled&&(n=await react_native_1.AccessibilityInfo.isBoldTextEnabled())}catch{}try{react_native_1.AccessibilityInfo.isGrayscaleEnabled&&(s=await react_native_1.AccessibilityInfo.isGrayscaleEnabled())}catch{}try{react_native_1.AccessibilityInfo.isInvertColorsEnabled&&(r=await react_native_1.AccessibilityInfo.isInvertColorsEnabled())}catch{}try{react_native_1.AccessibilityInfo.isHighTextContrastEnabled&&(l=await react_native_1.AccessibilityInfo.isHighTextContrastEnabled())}catch{}return currentState={isScreenReaderEnabled:i,isReduceMotionEnabled:a,isBoldTextEnabled:n,isGrayscaleEnabled:s,isInvertColorsEnabled:r,isHighContrastEnabled:l,fontScale:Math.round(t*100)/100,nativeModuleAvailable:!!e,lastUpdated:Date.now()},notifyListeners(),currentState};exports.syncA11yTelemetry=syncA11yTelemetry;let isInitialized=!1;const initA11yListeners=()=>{if(!isInitialized){isInitialized=!0,(0,exports.syncA11yTelemetry)();try{react_native_1.AccessibilityInfo.addEventListener("screenReaderChanged",e=>{currentState={...currentState,isScreenReaderEnabled:!!e,lastUpdated:Date.now()},notifyListeners()})}catch{}try{react_native_1.AccessibilityInfo.addEventListener("reduceMotionChanged",e=>{currentState={...currentState,isReduceMotionEnabled:!!e,lastUpdated:Date.now()},notifyListeners()})}catch{}try{react_native_1.AccessibilityInfo.addEventListener("boldTextChanged",e=>{currentState={...currentState,isBoldTextEnabled:!!e,lastUpdated:Date.now()},notifyListeners()})}catch{}try{react_native_1.AccessibilityInfo.addEventListener("grayscaleChanged",e=>{currentState={...currentState,isGrayscaleEnabled:!!e,lastUpdated:Date.now()},notifyListeners()})}catch{}try{react_native_1.AccessibilityInfo.addEventListener("invertColorsChanged",e=>{currentState={...currentState,isInvertColorsEnabled:!!e,lastUpdated:Date.now()},notifyListeners()})}catch{}try{react_native_1.AccessibilityInfo.addEventListener("highTextContrastChanged",e=>{currentState={...currentState,isHighContrastEnabled:!!e,lastUpdated:Date.now()},notifyListeners()})}catch{}}};exports.initA11yListeners=initA11yListeners;const announceA11y=e=>{if(!e||!e.trim())return!1;try{const t=(0,exports.getA11ySuiteInstance)();if(t&&typeof t.announce=="function")return t.announce(e),!0}catch{}try{return react_native_1.AccessibilityInfo.announceForAccessibility(e),!0}catch{return!1}};exports.announceA11y=announceA11y;const parseHex=e=>{let t=e.replace("#","").trim();if(t.length===3&&(t=t.split("").map(s=>s+s).join("")),t.length!==6)return null;const i=parseInt(t.substring(0,2),16),a=parseInt(t.substring(2,4),16),n=parseInt(t.substring(4,6),16);return isNaN(i)||isNaN(a)||isNaN(n)?null:[i,a,n]},getRelativeLuminance=(e,t,i)=>{const a=[e/255,t/255,i/255].map(n=>n<=.03928?n/12.92:Math.pow((n+.055)/1.055,2.4));return .2126*a[0]+.7152*a[1]+.0722*a[2]},calculateContrastRatio=(e,t)=>{const i=parseHex(e),a=parseHex(t);if(!i||!a)return{fgHex:e,bgHex:t,ratio:1,aaNormal:!1,aaLarge:!1,aaaNormal:!1,aaaLarge:!1};const n=getRelativeLuminance(i[0],i[1],i[2]),s=getRelativeLuminance(a[0],a[1],a[2]),r=Math.max(n,s),l=Math.min(n,s),c=(r+.05)/(l+.05),o=Math.round(c*100)/100;return{fgHex:e,bgHex:t,ratio:o,aaNormal:o>=4.5,aaLarge:o>=3,aaaNormal:o>=7,aaaLarge:o>=4.5}};exports.calculateContrastRatio=calculateContrastRatio;const evaluateTouchTarget=(e,t)=>({width:e,height:t,iosMinMet:e>=44&&t>=44,androidMinMet:e>=48&&t>=48});exports.evaluateTouchTarget=evaluateTouchTarget,exports.WCAG_RULES=[{id:"1.1.1",title:"Non-text Content",level:"A",principle:"Perceivable",description:"All non-text content (icons, images, diagrams) must have a text alternative.",mobileRecommendation:"Provide accessibilityLabel or accessible={false} for purely decorative icons.",wcagUrl:"https://www.w3.org/WAI/WCAG22/Understanding/non-text-content"},{id:"1.3.1",title:"Info and Relationships",level:"A",principle:"Perceivable",description:"Information, structure, and relationships conveyed through presentation can be programmatically determined.",mobileRecommendation:'Use accessibilityRole="header", accessibilityRole="button", or AccessibleHeading.',wcagUrl:"https://www.w3.org/WAI/WCAG22/Understanding/info-and-relationships"},{id:"1.4.3",title:"Contrast (Minimum)",level:"AA",principle:"Perceivable",description:"Visual presentation of text must have a contrast ratio of at least 4.5:1 (3:1 for large text).",mobileRecommendation:"Ensure high contrast between text and background on both light and dark themes.",wcagUrl:"https://www.w3.org/WAI/WCAG22/Understanding/contrast-minimum"},{id:"1.4.4",title:"Resize Text",level:"AA",principle:"Perceivable",description:"Text can be resized without assistive technology up to 200 percent without loss of content or functionality.",mobileRecommendation:"Avoid fixed height containers with overflow: hidden on Text elements. Test with max font scale.",wcagUrl:"https://www.w3.org/WAI/WCAG22/Understanding/resize-text"},{id:"1.4.11",title:"Non-text Contrast",level:"AA",principle:"Perceivable",description:"The visual presentation of UI components and graphical objects has a contrast ratio of at least 3:1.",mobileRecommendation:"Ensure active borders, focus rings, and action icons meet 3:1 contrast against adjacent colors.",wcagUrl:"https://www.w3.org/WAI/WCAG22/Understanding/non-text-contrast"},{id:"2.1.1",title:"Keyboard / Hardware Navigation",level:"A",principle:"Operable",description:"All functionality is operable through a keyboard or switch access interface.",mobileRecommendation:"Support external Bluetooth keyboards and accessibilityActions for gestures.",wcagUrl:"https://www.w3.org/WAI/WCAG22/Understanding/keyboard"},{id:"2.4.3",title:"Focus Order",level:"A",principle:"Operable",description:"Components receive focus in an order that preserves meaning and operability.",mobileRecommendation:"Ensure modal dialogs trap focus and restore focus on dismissal.",wcagUrl:"https://www.w3.org/WAI/WCAG22/Understanding/focus-order"},{id:"2.4.7",title:"Focus Visible",level:"AA",principle:"Operable",description:"Any keyboard operable user interface has an indicator of focus.",mobileRecommendation:"Highlight active focused items when keyboard/TalkBack navigation is used.",wcagUrl:"https://www.w3.org/WAI/WCAG22/Understanding/focus-visible"},{id:"2.5.5",title:"Target Size (Enhanced)",level:"AAA",principle:"Operable",description:"The size of the target for pointer inputs is at least 44 by 44 CSS pixels.",mobileRecommendation:"Use AccessibleTouchTarget or hitSlop to ensure touch targets meet 44x44pt.",wcagUrl:"https://www.w3.org/WAI/WCAG22/Understanding/target-size-enhanced"},{id:"2.5.8",title:"Target Size (Minimum) - WCAG 2.2",level:"AA",principle:"Operable",description:"Targets have an area of at least 24 by 24 CSS pixels with sufficient spacing.",mobileRecommendation:"Ensure buttons are separated and have at least 24x24 minimum target size.",wcagUrl:"https://www.w3.org/WAI/WCAG22/Understanding/target-size-minimum"},{id:"3.3.1",title:"Error Identification",level:"A",principle:"Understandable",description:"If an input error is automatically detected, the item is identified and described in text.",mobileRecommendation:'Set accessibilityRole="alert" or accessibilityInvalid on form fields with error messages.',wcagUrl:"https://www.w3.org/WAI/WCAG22/Understanding/error-identification"},{id:"4.1.2",title:"Name, Role, Value",level:"A",principle:"Robust",description:"For all UI components, the name and role can be programmatically determined and state changes reported.",mobileRecommendation:"Use accessibilityRole, accessibilityState={{checked, disabled, selected}} on interactive elements.",wcagUrl:"https://www.w3.org/WAI/WCAG22/Understanding/name-role-value"},{id:"4.1.3",title:"Status Messages",level:"AA",principle:"Robust",description:"Status messages can be programmatically determined through role or properties without receiving focus.",mobileRecommendation:'Use LiveRegion, accessibilityLiveRegion="polite" or announceA11y for asynchronous alerts.',wcagUrl:"https://www.w3.org/WAI/WCAG22/Understanding/status-messages"}];
@@ -1,20 +0,0 @@
1
- export interface DeveloperSponsorAd {
2
- id: string;
3
- title: string;
4
- description: string;
5
- ctaText: string;
6
- ctaUrl: string;
7
- badgeText?: string;
8
- sponsorName?: string;
9
- logoUrl?: string;
10
- accentColor?: string;
11
- impressionUrl?: string;
12
- clickUrl?: string;
13
- type?: 'ethicalads' | 'affiliate' | 'custom';
14
- }
15
- export declare const DEFAULT_ETHICALADS_PUBLISHER_ID = "";
16
- export declare function setSponsorPublisherId(publisherId: string): void;
17
- export declare function setCustomSponsorEndpoint(endpointUrl: string): void;
18
- export declare function fetchDeveloperSponsor(publisherId?: string, customEndpoint?: string): Promise<DeveloperSponsorAd>;
19
- export declare function trackSponsorImpression(ad: DeveloperSponsorAd): void;
20
- export declare function handleSponsorClick(ad: DeveloperSponsorAd): void;
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.DEFAULT_ETHICALADS_PUBLISHER_ID=void 0,exports.setSponsorPublisherId=setSponsorPublisherId,exports.setCustomSponsorEndpoint=setCustomSponsorEndpoint,exports.fetchDeveloperSponsor=fetchDeveloperSponsor,exports.trackSponsorImpression=trackSponsorImpression,exports.handleSponsorClick=handleSponsorClick;const react_native_1=require("react-native");exports.DEFAULT_ETHICALADS_PUBLISHER_ID="";let _customPublisherId=null,_customEndpoint=null;function setSponsorPublisherId(o){_customPublisherId=o}function setCustomSponsorEndpoint(o){_customEndpoint=o}const FALLBACK_SPONSORS=[{id:"sentry-dev-partner",sponsorName:"Sentry",badgeText:"FEATURED PARTNER",title:"Code breaks. Fix it faster with Sentry.",description:"Real-time crash tracking, performance monitoring, and session replay for React Native.",ctaText:"Try Sentry Free",ctaUrl:"https://sentry.io/welcome/?utm_source=react-native-inapp-inspector&utm_medium=partner&utm_campaign=dev-tools",accentColor:"#6C5FC7",type:"affiliate"},{id:"requestly-api-mock",sponsorName:"Requestly",badgeText:"DEV SPOTLIGHT",title:"Intercept & Mock APIs directly in Mobile Apps",description:"Modify HTTP headers, redirect API endpoints, and simulate 500 errors on iOS & Android.",ctaText:"Explore Requestly",ctaUrl:"https://requestly.com/?utm_source=react-native-inapp-inspector&utm_medium=devtools&utm_campaign=mobile-inspect",accentColor:"#2563EB",type:"affiliate"},{id:"supabase-cloud-db",sponsorName:"Supabase",badgeText:"DEVELOPER CLOUD",title:"The Open Source Firebase Alternative",description:"Postgres database, Authentication, Instant APIs, Realtime subscriptions, and Edge Functions.",ctaText:"Start Free Project",ctaUrl:"https://supabase.com/?utm_source=react-native-inapp-inspector&utm_medium=partner&utm_campaign=rn-inspect",accentColor:"#3ECF8E",type:"affiliate"},{id:"digitalocean-cloud",sponsorName:"DigitalOcean",badgeText:"$200 FREE CREDIT",title:"Deploy React Native Backend & Nodes in Seconds",description:"Simple, scalable cloud hosting with managed databases, App Platform, and 99.99% uptime.",ctaText:"Claim $200 Credit",ctaUrl:"https://m.do.co/c/react-native-inapp-inspector",accentColor:"#0080FF",type:"affiliate"}];let _lastFetchedAd=null,_hasTrackedImpression=!1;async function fetchDeveloperSponsor(o,s){const i=o||_customPublisherId||exports.DEFAULT_ETHICALADS_PUBLISHER_ID,a=s||_customEndpoint;if(a)try{const r=await fetch(a,{headers:{Accept:"application/json"}});if(r.ok){const e=await r.json();if(e&&e.title&&e.ctaUrl)return _lastFetchedAd={id:e.id||"custom-sponsor",title:e.title,description:e.description||"",ctaText:e.ctaText||"Learn More",ctaUrl:e.ctaUrl,badgeText:e.badgeText||"SPONSORED",sponsorName:e.sponsorName||"Featured Partner",logoUrl:e.logoUrl,accentColor:e.accentColor||"#6366F1",impressionUrl:e.impressionUrl,clickUrl:e.clickUrl,type:"custom"},_hasTrackedImpression=!1,_lastFetchedAd}}catch{}if(i)try{const r=encodeURIComponent("react-native|mobile|javascript|typescript|ios|android|developer-tools|cloud"),e=`https://server.ethicalads.io/api/v1/decision/?publisher=${encodeURIComponent(i)}&ad_types=image-and-text&format=json&keywords=${r}&placements=app-inspector`,n=await fetch(e,{headers:{Accept:"application/json"}});if(n.ok){const t=await n.json();if(t&&(t.text||t.heading)&&(t.link||t.click_url))return _lastFetchedAd={id:`ethicalads-${t.id||Date.now()}`,title:t.heading||t.company||"Developer Spotlight",description:t.text||"",ctaText:"Learn More",ctaUrl:t.link||t.click_url,badgeText:"ETHICAL ADS",sponsorName:t.company||"Sponsored Tool",logoUrl:t.image,accentColor:"#10B981",impressionUrl:t.view_url,clickUrl:t.click_url,type:"ethicalads"},_hasTrackedImpression=!1,_lastFetchedAd}}catch{}const c=Math.floor(Math.random()*FALLBACK_SPONSORS.length);return _lastFetchedAd=FALLBACK_SPONSORS[c],_hasTrackedImpression=!1,_lastFetchedAd}function trackSponsorImpression(o){_hasTrackedImpression||(_hasTrackedImpression=!0,o.impressionUrl&&fetch(o.impressionUrl,{method:"GET"}).catch(()=>{}))}function handleSponsorClick(o){o.clickUrl&&fetch(o.clickUrl,{method:"GET"}).catch(()=>{}),o.ctaUrl&&react_native_1.Linking.openURL(o.ctaUrl).catch(()=>{})}
@@ -1,2 +0,0 @@
1
- export { connectA11ySuite, getA11ySuiteInstance, getA11yState, subscribeA11yState, syncA11yTelemetry, announceA11y, calculateContrastRatio, evaluateTouchTarget, WCAG_RULES, } from './customHooks/a11yAdapter';
2
- export type { A11yTelemetryState, WcagRule, ColorContrastResult, TouchTargetEvaluation, } from './types';
package/dist/esm/a11y.js DELETED
@@ -1 +0,0 @@
1
- export{connectA11ySuite,getA11ySuiteInstance,getA11yState,subscribeA11yState,syncA11yTelemetry,announceA11y,calculateContrastRatio,evaluateTouchTarget,WCAG_RULES}from"./customHooks/a11yAdapter";
@@ -1,2 +0,0 @@
1
- import React from 'react';
2
- export declare const A11yTab: React.FC;