react-native-inapp-inspector 2.5.13 → 2.5.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +0 -8
- package/android/build/.transforms/ad628164ecef2a7cc593f0fd2f4050ce/results.bin +1 -0
- package/android/build/.transforms/ad628164ecef2a7cc593f0fd2f4050ce/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/inappinspector/BuildConfig.dex +0 -0
- package/android/build/.transforms/ad628164ecef2a7cc593f0fd2f4050ce/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/inappinspector/InAppInspectorFloatingView$iconView$1.dex +0 -0
- package/android/build/.transforms/ad628164ecef2a7cc593f0fd2f4050ce/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/inappinspector/InAppInspectorFloatingView.dex +0 -0
- package/android/build/.transforms/ad628164ecef2a7cc593f0fd2f4050ce/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/inappinspector/NativeNetworkInspectorSpec.dex +0 -0
- package/android/build/.transforms/ad628164ecef2a7cc593f0fd2f4050ce/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/inappinspector/NetworkInspectorModule$Companion.dex +0 -0
- package/android/build/.transforms/ad628164ecef2a7cc593f0fd2f4050ce/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/inappinspector/NetworkInspectorModule$activityEventListener$1.dex +0 -0
- package/android/build/.transforms/ad628164ecef2a7cc593f0fd2f4050ce/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/inappinspector/NetworkInspectorModule$frameCallback$1.dex +0 -0
- package/android/build/.transforms/ad628164ecef2a7cc593f0fd2f4050ce/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/inappinspector/NetworkInspectorModule$getCapturedMedia$lambda$62$$inlined$sortedByDescending$1.dex +0 -0
- package/android/build/.transforms/ad628164ecef2a7cc593f0fd2f4050ce/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/inappinspector/NetworkInspectorModule$shakeListener$1.dex +0 -0
- package/android/build/.transforms/ad628164ecef2a7cc593f0fd2f4050ce/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/inappinspector/NetworkInspectorModule$startVideoRecording$2$1.dex +0 -0
- package/android/build/.transforms/ad628164ecef2a7cc593f0fd2f4050ce/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/inappinspector/NetworkInspectorModule.dex +0 -0
- package/android/build/.transforms/ad628164ecef2a7cc593f0fd2f4050ce/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/inappinspector/NetworkInspectorPackage.dex +0 -0
- package/android/build/.transforms/ad628164ecef2a7cc593f0fd2f4050ce/transformed/bundleLibRuntimeToDirDebug/desugar_graph.bin +0 -0
- package/android/build/.transforms/c93e459e24d856bde563ebb048265732/results.bin +1 -0
- package/android/build/.transforms/c93e459e24d856bde563ebb048265732/transformed/classes/classes_dex/classes.dex +0 -0
- package/android/build/generated/source/buildConfig/debug/com/inappinspector/BuildConfig.java +10 -0
- package/android/build/generated/source/codegen/java/com/inappinspector/NativeNetworkInspectorSpec.java +176 -0
- package/android/build/generated/source/codegen/jni/CMakeLists.txt +28 -0
- package/android/build/generated/source/codegen/jni/RNInAppInspectorSpec-generated.cpp +236 -0
- package/android/build/generated/source/codegen/jni/RNInAppInspectorSpec.h +31 -0
- package/android/build/generated/source/codegen/jni/react/renderer/components/RNInAppInspectorSpec/ComponentDescriptors.cpp +22 -0
- package/android/build/generated/source/codegen/jni/react/renderer/components/RNInAppInspectorSpec/ComponentDescriptors.h +24 -0
- package/android/build/generated/source/codegen/jni/react/renderer/components/RNInAppInspectorSpec/EventEmitters.cpp +16 -0
- package/android/build/generated/source/codegen/jni/react/renderer/components/RNInAppInspectorSpec/EventEmitters.h +17 -0
- package/android/build/generated/source/codegen/jni/react/renderer/components/RNInAppInspectorSpec/Props.cpp +19 -0
- package/android/build/generated/source/codegen/jni/react/renderer/components/RNInAppInspectorSpec/Props.h +18 -0
- package/android/build/generated/source/codegen/jni/react/renderer/components/RNInAppInspectorSpec/RNInAppInspectorSpecJSI.h +337 -0
- package/android/build/generated/source/codegen/jni/react/renderer/components/RNInAppInspectorSpec/ShadowNodes.cpp +17 -0
- package/android/build/generated/source/codegen/jni/react/renderer/components/RNInAppInspectorSpec/ShadowNodes.h +23 -0
- package/android/build/generated/source/codegen/jni/react/renderer/components/RNInAppInspectorSpec/States.cpp +16 -0
- package/android/build/generated/source/codegen/jni/react/renderer/components/RNInAppInspectorSpec/States.h +20 -0
- package/android/build/generated/source/codegen/schema.json +1 -0
- package/android/build/intermediates/aapt_friendly_merged_manifests/debug/processDebugManifest/aapt/AndroidManifest.xml +19 -0
- package/android/build/intermediates/aapt_friendly_merged_manifests/debug/processDebugManifest/aapt/output-metadata.json +18 -0
- package/android/build/intermediates/aar_metadata/debug/writeDebugAarMetadata/aar-metadata.properties +6 -0
- package/android/build/intermediates/annotation_processor_list/debug/javaPreCompileDebug/annotationProcessors.json +1 -0
- package/android/build/intermediates/compile_library_classes_jar/debug/bundleLibCompileToJarDebug/classes.jar +0 -0
- package/android/build/intermediates/compile_r_class_jar/debug/generateDebugRFile/R.jar +0 -0
- package/android/build/intermediates/compile_symbol_list/debug/generateDebugRFile/R.txt +1 -0
- package/android/build/intermediates/compiled_local_resources/debug/compileDebugLibraryResources/out/xml_inappinspector_file_paths.xml.flat +0 -0
- package/android/build/intermediates/incremental/debug/packageDebugResources/compile-file-map.properties +2 -0
- package/android/build/intermediates/incremental/debug/packageDebugResources/merger.xml +2 -0
- package/android/build/intermediates/incremental/mergeDebugJniLibFolders/merger.xml +2 -0
- package/android/build/intermediates/incremental/mergeDebugShaders/merger.xml +2 -0
- package/android/build/intermediates/incremental/packageDebugAssets/merger.xml +2 -0
- package/android/build/intermediates/java_res/debug/processDebugJavaRes/out/META-INF/react-native-inapp-inspector_debug.kotlin_module +0 -0
- package/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/inappinspector/BuildConfig.class +0 -0
- package/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/inappinspector/NativeNetworkInspectorSpec.class +0 -0
- package/android/build/intermediates/local_only_symbol_list/debug/parseDebugLocalResources/R-def.txt +3 -0
- package/android/build/intermediates/manifest_merge_blame_file/debug/processDebugManifest/manifest-merger-blame-debug-report.txt +28 -0
- package/android/build/intermediates/merged_manifest/debug/processDebugManifest/AndroidManifest.xml +19 -0
- package/android/build/intermediates/navigation_json/debug/extractDeepLinksDebug/navigation.json +1 -0
- package/android/build/intermediates/nested_resources_validation_report/debug/generateDebugResources/nestedResourcesValidationReport.txt +1 -0
- package/android/build/intermediates/packaged_res/debug/packageDebugResources/xml/inappinspector_file_paths.xml +7 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/META-INF/react-native-inapp-inspector_debug.kotlin_module +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/inappinspector/BuildConfig.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/inappinspector/InAppInspectorFloatingView$iconView$1.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/inappinspector/InAppInspectorFloatingView.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/inappinspector/NativeNetworkInspectorSpec.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/inappinspector/NetworkInspectorModule$Companion.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/inappinspector/NetworkInspectorModule$activityEventListener$1.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/inappinspector/NetworkInspectorModule$frameCallback$1.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/inappinspector/NetworkInspectorModule$getCapturedMedia$lambda$62$$inlined$sortedByDescending$1.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/inappinspector/NetworkInspectorModule$shakeListener$1.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/inappinspector/NetworkInspectorModule$startVideoRecording$2$1.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/inappinspector/NetworkInspectorModule.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/inappinspector/NetworkInspectorPackage.class +0 -0
- package/android/build/intermediates/runtime_library_classes_jar/debug/bundleLibRuntimeToJarDebug/classes.jar +0 -0
- package/android/build/intermediates/symbol_list_with_package_name/debug/generateDebugRFile/package-aware-r.txt +2 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab_i +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab_i.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab_i +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab_i.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab_i +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab_i.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/constants.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/constants.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/constants.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/constants.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/constants.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/constants.tab_i +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/constants.tab_i.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab_i +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab_i.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab_i +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab_i.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab_i +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab_i.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab_i +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab_i.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab_i +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab_i.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/counters.tab +2 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/file-to-id.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/file-to-id.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/file-to-id.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/file-to-id.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/file-to-id.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/file-to-id.tab_i +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/file-to-id.tab_i.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab_i +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab_i.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab_i +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab_i.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/last-build.bin +0 -0
- package/android/build/kotlin/compileDebugKotlin/classpath-snapshot/shrunk-classpath-snapshot.bin +0 -0
- package/android/build/kotlin/compileDebugKotlin/local-state/build-history.bin +0 -0
- package/android/build/outputs/logs/manifest-merger-debug-report.txt +35 -0
- package/android/build/tmp/compileDebugJavaWithJavac/previous-compilation-data.bin +0 -0
- package/android/build/tmp/kotlin-classes/debug/META-INF/react-native-inapp-inspector_debug.kotlin_module +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/inappinspector/InAppInspectorFloatingView$iconView$1.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/inappinspector/InAppInspectorFloatingView.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/inappinspector/NetworkInspectorModule$Companion.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/inappinspector/NetworkInspectorModule$activityEventListener$1.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/inappinspector/NetworkInspectorModule$frameCallback$1.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/inappinspector/NetworkInspectorModule$getCapturedMedia$lambda$62$$inlined$sortedByDescending$1.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/inappinspector/NetworkInspectorModule$shakeListener$1.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/inappinspector/NetworkInspectorModule$startVideoRecording$2$1.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/inappinspector/NetworkInspectorModule.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/inappinspector/NetworkInspectorPackage.class +0 -0
- package/android/src/main/java/com/inappinspector/NetworkInspectorModule.kt +118 -31
- package/dist/commonjs/components/Inspector/ConsoleExportModal.js +1 -1
- package/dist/commonjs/components/Inspector/ConsoleTab.js +7 -7
- package/dist/commonjs/components/Inspector/DebuggingTab.js +21 -21
- package/dist/commonjs/components/Inspector/FabLauncher.js +3 -3
- package/dist/commonjs/components/Inspector/InspectorHeader.js +30 -30
- package/dist/commonjs/components/Inspector/MainScreen.js +38 -75
- package/dist/commonjs/components/Inspector/NetworkExportModal.js +4 -4
- package/dist/commonjs/components/Inspector/NetworkTab.js +51 -51
- package/dist/commonjs/components/Inspector/SecondaryTelemetryStrip.d.ts +1 -0
- package/dist/commonjs/components/Inspector/SecondaryTelemetryStrip.js +17 -16
- package/dist/commonjs/components/Inspector/SettingsPanel.js +40 -41
- package/dist/commonjs/components/Inspector/SkeletonPlaceholder.d.ts +3 -0
- package/dist/commonjs/components/Inspector/SkeletonPlaceholder.js +34 -3
- package/dist/commonjs/components/Inspector/TabBar.js +9 -15
- package/dist/commonjs/components/Inspector/UiInspectorDetail.js +16 -16
- package/dist/commonjs/components/LogCard.js +7 -7
- package/dist/commonjs/components/SkeletonPlaceholder.d.ts +3 -0
- package/dist/commonjs/components/SkeletonPlaceholder.js +34 -3
- package/dist/commonjs/constants/version.d.ts +1 -1
- package/dist/commonjs/constants/version.js +1 -1
- package/dist/commonjs/helpers/remoteConfig.js +1 -1
- package/dist/commonjs/helpers/shareFormatter.js +14 -14
- package/dist/commonjs/helpers/uiInspectorEngine.js +9 -9
- package/dist/commonjs/index.d.ts +1 -1
- package/dist/commonjs/index.js +3 -3
- package/dist/commonjs/native/NativeInspector.d.ts +2 -0
- package/dist/commonjs/native/NativeInspector.js +1 -1
- package/dist/commonjs/native/NativeNetworkInspector.d.ts +2 -0
- package/dist/commonjs/styles/AppFonts.d.ts +4 -0
- package/dist/commonjs/styles/AppFonts.js +1 -1
- package/dist/commonjs/styles/index.d.ts +2 -0
- package/dist/commonjs/styles/index.js +1 -1
- package/dist/commonjs/types/enums.d.ts +0 -2
- package/dist/commonjs/types/enums.js +1 -1
- package/dist/commonjs/types/interfaces.d.ts +1 -1
- package/dist/esm/components/Inspector/BoxModelVisualizer.js +3 -3
- package/dist/esm/components/Inspector/ConsoleExportModal.js +1 -1
- package/dist/esm/components/Inspector/ConsoleTab.js +48 -48
- package/dist/esm/components/Inspector/DebuggingTab.js +106 -106
- package/dist/esm/components/Inspector/FabLauncher.js +42 -42
- package/dist/esm/components/Inspector/InspectorHeader.js +50 -50
- package/dist/esm/components/Inspector/MainScreen.js +87 -124
- package/dist/esm/components/Inspector/NetworkExportModal.js +1 -1
- package/dist/esm/components/Inspector/NetworkTab.js +83 -83
- package/dist/esm/components/Inspector/SecondaryTelemetryStrip.d.ts +1 -0
- package/dist/esm/components/Inspector/SecondaryTelemetryStrip.js +23 -22
- package/dist/esm/components/Inspector/SettingsPanel.js +106 -107
- package/dist/esm/components/Inspector/SkeletonPlaceholder.d.ts +3 -0
- package/dist/esm/components/Inspector/SkeletonPlaceholder.js +42 -11
- package/dist/esm/components/Inspector/TabBar.js +35 -41
- package/dist/esm/components/Inspector/UiA11yAuditPanel.js +4 -4
- package/dist/esm/components/Inspector/UiInspectorDetail.js +141 -141
- package/dist/esm/components/Inspector/UiInspectorOverlay.js +81 -81
- package/dist/esm/components/Inspector/UiInspectorTab.js +10 -10
- package/dist/esm/components/Inspector/UiLiveStyleTweaker.js +35 -35
- package/dist/esm/components/LogCard.js +53 -53
- package/dist/esm/components/SkeletonPlaceholder.d.ts +3 -0
- package/dist/esm/components/SkeletonPlaceholder.js +42 -11
- package/dist/esm/constants/version.d.ts +1 -1
- package/dist/esm/constants/version.js +1 -1
- package/dist/esm/helpers/remoteConfig.js +1 -1
- package/dist/esm/helpers/shareFormatter.js +14 -14
- package/dist/esm/helpers/uiInspectorEngine.js +8 -8
- package/dist/esm/index.d.ts +1 -1
- package/dist/esm/index.js +8 -8
- package/dist/esm/native/NativeInspector.d.ts +2 -0
- package/dist/esm/native/NativeInspector.js +1 -1
- package/dist/esm/native/NativeNetworkInspector.d.ts +2 -0
- package/dist/esm/styles/AppFonts.d.ts +4 -0
- package/dist/esm/styles/AppFonts.js +1 -1
- package/dist/esm/styles/index.d.ts +2 -0
- package/dist/esm/styles/index.js +1 -1
- package/dist/esm/types/enums.d.ts +0 -2
- package/dist/esm/types/enums.js +1 -1
- package/dist/esm/types/interfaces.d.ts +1 -1
- package/ios/NetworkInspectorModule.mm +288 -325
- package/package.json +1 -1
- package/src/native/NativeInspector.ts +30 -0
- package/src/native/NativeNetworkInspector.ts +2 -0
|
@@ -1,67 +1,67 @@
|
|
|
1
|
-
import
|
|
1
|
+
import pe,{useCallback as be,useRef as fe,useState as J}from"react";import{Dimensions as Be,PanResponder as we,Platform as xe,ScrollView as Se,StyleSheet as N,Text as B,TouchableOpacity as G,View as S}from"react-native";import{useInspector as Ce}from"./InspectorContext";import{createInspectedElement as Me,extractBoxModel as Fe,getDynamicInspectorDataForPoint as Ie,auditAccessibility as ve}from"../../helpers/uiInspectorEngine";import{ActiveTab as Pe}from"../../types";import{AppColors as P}from"../../styles/AppColors";import{AppFonts as F}from"../../styles/AppFonts";import{CloseIcon as Te,LayersIcon as Ae,RulerIcon as Re}from"../NetworkIcons";import K from"../TouchableScale";import{takeNativeScreenshot as ne,triggerNativeHaptic as z}from"../../native/NativeInspector";export const UiInspectorOverlay=()=>{const{isInspectModeActive:ie,setIsInspectModeActive:q,selectedUiElement:t,setSelectedUiElement:W,showAlignmentGrid:O,setShowAlignmentGrid:ae,showDistanceGuides:re,setShowDistanceGuides:De,setVisible:le,switchActiveTab:de}=Ce(),[Q,se]=J("top"),[L,Z]=J(!1),[he,X]=J(null),D=Be.get("window"),_=be(async w=>{const{pageX:I,pageY:v,locationX:T,locationY:Y}=w.nativeEvent,R=I??T??0,ee=v??Y??0;try{const C=await Ie(R,ee);if(C&&C.layout&&(C.layout.width>0||C.layout.height>0)){try{const oe=await ne({rect:{x:Math.max(0,C.layout.pageX),y:Math.max(0,C.layout.pageY),width:Math.max(1,C.layout.width),height:Math.max(1,C.layout.height)},quality:.95,format:"png"});oe?.uri&&(C.snapshotUri=oe.uri)}catch{}X({x:C.layout.x,y:C.layout.y,width:C.layout.width,height:C.layout.height,componentName:C.displayName||C.componentName}),W(C),z();return}}catch{}const k=Math.round(Math.min(D.width-32,Math.max(48,R>D.width/2?(D.width-R)*1.5:R*1.5))),E=44,H=Math.max(0,Math.min(R-k/2,D.width-k)),V=Math.max(0,Math.min(ee-E/2,D.height-E));let te;try{const C=await ne({rect:{x:Math.max(0,H),y:Math.max(0,V),width:Math.max(1,k),height:Math.max(1,E)},quality:.95,format:"png"});C?.uri&&(te=C.uri)}catch{}const ye=Me("View",{accessible:!0,style:{position:"absolute",left:Math.round(H),top:Math.round(V),width:k,height:E}},{x:Math.round(H),y:Math.round(V),width:k,height:E,pageX:Math.round(H),pageY:Math.round(V)},void 0,void 0,te);X({x:Math.round(H),y:Math.round(V),width:k,height:E,componentName:"View"}),W(ye),z()},[D,W]),ue=fe(we.create({onStartShouldSetPanResponder:()=>!0,onMoveShouldSetPanResponder:()=>!0,onPanResponderGrant:w=>_(w),onPanResponderMove:w=>_(w)})).current;if(!ie)return null;const M=he||(t?{x:t.layout.pageX,y:t.layout.pageY,width:t.layout.width,height:t.layout.height,componentName:t.componentName}:null),U=t?.hierarchy||[],ge=t?.flattenedStyles||{},A=t?.boxModel||{margin:{top:0,right:0,bottom:0,left:0},border:{top:0,right:0,bottom:0,left:0},padding:{top:0,right:0,bottom:0,left:0},content:{width:t?.layout.width||0,height:t?.layout.height||0}},$=Object.entries(ge).filter(([w,I])=>I==null||typeof I=="object"?!1:["overflow","fontSize","fontWeight","color","letterSpacing","lineHeight","backgroundColor","borderRadius","flexDirection","justifyContent","alignItems","flex","opacity","zIndex"].includes(w)),me=w=>{if(!t||w.componentName===t.componentName)return;z();const I=w.props||{},v=w.styles||(I.style?N.flatten(I.style):{})||{},T=w.layout||{...t.layout,width:v.width||t.layout.width,height:v.height||t.layout.height},Y=Fe(v,T),R=ve(I,T,v);W({...t,componentName:w.componentName,displayName:w.displayName,props:I,originalStyles:v,flattenedStyles:v,tweakedStyles:{},layout:T,boxModel:Y,a11y:R}),X({x:T.x??t.layout.x,y:T.y??t.layout.y,width:T.width,height:T.height,componentName:w.displayName||w.componentName})},ce=()=>{z(),q(!1),de(Pe.Ui),le(!0)};return<S style={[N.absoluteFill,e.overlayContainer]}pointerEvents="box-none">
|
|
2
2
|
|
|
3
|
-
<
|
|
3
|
+
<S style={N.absoluteFill}{...ue.panHandlers}/>
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
{
|
|
6
|
+
{O&&<S style={[N.absoluteFill,e.gridPattern]}pointerEvents="none"/>}
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
{t&&<
|
|
9
|
+
{t&&<S style={[e.devToolsHudContainer,Q==="top"?e.hudTop:e.hudBottom]}pointerEvents="box-none">
|
|
10
10
|
|
|
11
|
-
<
|
|
12
|
-
<
|
|
13
|
-
{
|
|
14
|
-
{
|
|
15
|
-
<
|
|
11
|
+
<S style={e.hudBreadcrumbBar}>
|
|
12
|
+
<Se horizontal showsHorizontalScrollIndicator={!1}contentContainerStyle={e.hudBreadcrumbContent}>
|
|
13
|
+
{U.length>0?U.map((w,I)=>{const v=I===U.length-1||w.componentName===t.componentName;return<pe.Fragment key={w.id||I}>
|
|
14
|
+
{I>0&&<B style={e.hudDotSeparator}>•</B>}
|
|
15
|
+
<G style={[e.hudBreadcrumbChip,v&&e.hudBreadcrumbChipActive]}onPress={()=>me(w)}>
|
|
16
16
|
<B style={[e.hudBreadcrumbText,v&&e.hudBreadcrumbTextActive]}>
|
|
17
|
-
{
|
|
17
|
+
{w.displayName||w.componentName}
|
|
18
18
|
</B>
|
|
19
|
-
</
|
|
20
|
-
</
|
|
19
|
+
</G>
|
|
20
|
+
</pe.Fragment>}):<S style={e.hudBreadcrumbChipActive}>
|
|
21
21
|
<B style={e.hudBreadcrumbTextActive}>
|
|
22
22
|
{t.componentName}
|
|
23
23
|
</B>
|
|
24
|
-
</
|
|
25
|
-
</
|
|
24
|
+
</S>}
|
|
25
|
+
</Se>
|
|
26
26
|
|
|
27
27
|
|
|
28
|
-
<
|
|
28
|
+
<G style={e.hudFlipBtn}onPress={()=>{z(),se(Q==="top"?"bottom":"top")}}>
|
|
29
29
|
<B style={e.hudFlipBtnText}>🔄</B>
|
|
30
|
-
</
|
|
31
|
-
</
|
|
30
|
+
</G>
|
|
31
|
+
</S>
|
|
32
32
|
|
|
33
33
|
|
|
34
|
-
<
|
|
34
|
+
<S style={e.hudBodyRow}pointerEvents="none">
|
|
35
35
|
|
|
36
|
-
<
|
|
37
|
-
{
|
|
38
|
-
<B style={e.hudStyleKey}>{
|
|
36
|
+
<S style={e.hudStylesColumn}>
|
|
37
|
+
{$.length>0?$.slice(0,7).map(([w,I])=><S key={w}style={e.hudStyleRow}>
|
|
38
|
+
<B style={e.hudStyleKey}>{w}:</B>
|
|
39
39
|
<B style={e.hudStyleVal}numberOfLines={1}>
|
|
40
|
-
{String(
|
|
40
|
+
{String(I)}
|
|
41
41
|
</B>
|
|
42
|
-
</
|
|
42
|
+
</S>):<S style={e.hudStyleRow}>
|
|
43
43
|
<B style={e.hudStyleKey}>layout:</B>
|
|
44
44
|
<B style={e.hudStyleVal}>default</B>
|
|
45
|
-
</
|
|
46
|
-
</
|
|
45
|
+
</S>}
|
|
46
|
+
</S>
|
|
47
47
|
|
|
48
48
|
|
|
49
|
-
<
|
|
50
|
-
<
|
|
49
|
+
<S style={e.hudBoxModelWrapper}>
|
|
50
|
+
<S style={e.boxModelMarginLayer}>
|
|
51
51
|
<B style={e.boxModelMarginLabel}>margin</B>
|
|
52
|
-
<B style={e.boxModelInsetTop}>{
|
|
53
|
-
<B style={e.boxModelInsetRight}>{
|
|
54
|
-
<B style={e.boxModelInsetBottom}>{
|
|
55
|
-
<B style={e.boxModelInsetLeft}>{
|
|
52
|
+
<B style={e.boxModelInsetTop}>{A.margin.top}</B>
|
|
53
|
+
<B style={e.boxModelInsetRight}>{A.margin.right}</B>
|
|
54
|
+
<B style={e.boxModelInsetBottom}>{A.margin.bottom}</B>
|
|
55
|
+
<B style={e.boxModelInsetLeft}>{A.margin.left}</B>
|
|
56
56
|
|
|
57
|
-
<
|
|
57
|
+
<S style={e.boxModelPaddingLayer}>
|
|
58
58
|
<B style={e.boxModelPaddingLabel}>padding</B>
|
|
59
|
-
<B style={e.boxModelInsetTop}>{
|
|
60
|
-
<B style={e.boxModelInsetRight}>{
|
|
61
|
-
<B style={e.boxModelInsetBottom}>{
|
|
62
|
-
<B style={e.boxModelInsetLeft}>{
|
|
59
|
+
<B style={e.boxModelInsetTop}>{A.padding.top}</B>
|
|
60
|
+
<B style={e.boxModelInsetRight}>{A.padding.right}</B>
|
|
61
|
+
<B style={e.boxModelInsetBottom}>{A.padding.bottom}</B>
|
|
62
|
+
<B style={e.boxModelInsetLeft}>{A.padding.left}</B>
|
|
63
63
|
|
|
64
|
-
<
|
|
64
|
+
<S style={e.boxModelContentLayer}>
|
|
65
65
|
<B style={e.boxModelCoords}>
|
|
66
66
|
({Math.round(t.layout.pageX)},{" "}
|
|
67
67
|
{Math.round(t.layout.pageY)})
|
|
@@ -70,69 +70,69 @@ import ye,{useCallback as pe,useRef as be,useState as U}from"react";import{Dimen
|
|
|
70
70
|
{Math.round(t.layout.width)} ×{" "}
|
|
71
71
|
{Math.round(t.layout.height)}
|
|
72
72
|
</B>
|
|
73
|
-
</
|
|
74
|
-
</
|
|
75
|
-
</
|
|
76
|
-
</
|
|
77
|
-
</
|
|
78
|
-
</
|
|
73
|
+
</S>
|
|
74
|
+
</S>
|
|
75
|
+
</S>
|
|
76
|
+
</S>
|
|
77
|
+
</S>
|
|
78
|
+
</S>}
|
|
79
79
|
|
|
80
80
|
|
|
81
|
-
{
|
|
81
|
+
{M&&<S pointerEvents="none"style={[e.highlightBox,{top:M.y,left:M.x,width:M.width,height:M.height}]}>
|
|
82
82
|
|
|
83
|
-
<
|
|
83
|
+
<S style={e.contentTint}/>
|
|
84
84
|
|
|
85
85
|
|
|
86
|
-
<
|
|
87
|
-
<B style={e.elementBadgeTag}><{
|
|
86
|
+
<S style={[e.elementBadge,M.y<50?e.elementBadgeBottom:e.elementBadgeTop]}>
|
|
87
|
+
<B style={e.elementBadgeTag}><{M.componentName}></B>
|
|
88
88
|
<B style={e.elementBadgeDim}>
|
|
89
|
-
{Math.round(
|
|
89
|
+
{Math.round(M.width)} × {Math.round(M.height)} pt
|
|
90
90
|
</B>
|
|
91
|
-
</
|
|
92
|
-
</
|
|
91
|
+
</S>
|
|
92
|
+
</S>}
|
|
93
93
|
|
|
94
94
|
|
|
95
|
-
{
|
|
95
|
+
{re&&M&&<S style={N.absoluteFill}pointerEvents="none">
|
|
96
96
|
|
|
97
|
-
<
|
|
98
|
-
<B style={e.guideBadge}>{Math.round(
|
|
99
|
-
</
|
|
97
|
+
<S style={[e.guideLineV,{top:0,left:M.x+M.width/2,height:M.y}]}>
|
|
98
|
+
<B style={e.guideBadge}>{Math.round(M.y)} pt</B>
|
|
99
|
+
</S>
|
|
100
100
|
|
|
101
101
|
|
|
102
|
-
<
|
|
103
|
-
<B style={e.guideBadge}>{Math.round(
|
|
104
|
-
</
|
|
105
|
-
</
|
|
102
|
+
<S style={[e.guideLineH,{top:M.y+M.height/2,left:0,width:M.x}]}>
|
|
103
|
+
<B style={e.guideBadge}>{Math.round(M.x)} pt</B>
|
|
104
|
+
</S>
|
|
105
|
+
</S>}
|
|
106
106
|
|
|
107
107
|
|
|
108
|
-
<
|
|
109
|
-
<
|
|
110
|
-
<
|
|
111
|
-
<B style={[e.modePillText,!
|
|
108
|
+
<S style={e.hudToolbar}>
|
|
109
|
+
<S style={e.hudLeftGroup}>
|
|
110
|
+
<G style={[e.modePillBtn,!L&&e.modePillBtnActive]}onPress={()=>{z(),Z(!1)}}>
|
|
111
|
+
<B style={[e.modePillText,!L&&e.modePillTextActive]}>
|
|
112
112
|
Inspect
|
|
113
113
|
</B>
|
|
114
|
-
</
|
|
114
|
+
</G>
|
|
115
115
|
|
|
116
|
-
<
|
|
117
|
-
<B style={[e.modePillText,
|
|
116
|
+
<G style={[e.modePillBtn,L&&e.modePillBtnActive]}onPress={()=>{z(),Z(!L)}}>
|
|
117
|
+
<B style={[e.modePillText,L&&e.modePillTextActive]}>
|
|
118
118
|
Touchables
|
|
119
119
|
</B>
|
|
120
|
-
</
|
|
121
|
-
</
|
|
120
|
+
</G>
|
|
121
|
+
</S>
|
|
122
122
|
|
|
123
|
-
<
|
|
124
|
-
<
|
|
125
|
-
<
|
|
126
|
-
</
|
|
123
|
+
<S style={e.hudActions}>
|
|
124
|
+
<K style={[e.hudBtn,O&&e.hudBtnActive]}onPress={()=>{z(),ae(!O)}}>
|
|
125
|
+
<Re color={O?P.white:"#CBD5E1"}size={14}/>
|
|
126
|
+
</K>
|
|
127
127
|
|
|
128
|
-
{t&&<
|
|
129
|
-
<
|
|
128
|
+
{t&&<K style={[e.hudBtn,e.hudBtnPrimary]}onPress={ce}>
|
|
129
|
+
<Ae color={P.white}size={13}/>
|
|
130
130
|
<B style={e.hudBtnPrimaryText}>Full JSX & Specs</B>
|
|
131
|
-
</
|
|
132
|
-
|
|
133
|
-
<
|
|
134
|
-
<
|
|
135
|
-
</
|
|
136
|
-
</
|
|
137
|
-
</
|
|
138
|
-
</
|
|
131
|
+
</K>}
|
|
132
|
+
|
|
133
|
+
<K style={[e.hudBtn,e.hudBtnClose]}onPress={()=>{z(),q(!1)}}>
|
|
134
|
+
<Te color={P.white}size={13}/>
|
|
135
|
+
</K>
|
|
136
|
+
</S>
|
|
137
|
+
</S>
|
|
138
|
+
</S>};const e=N.create({overlayContainer:{zIndex:99999999,elevation:99999999},gridPattern:{backgroundColor:"transparent",borderWidth:0,opacity:.15},devToolsHudContainer:{position:"absolute",left:0,right:0,backgroundColor:"rgba(15, 23, 42, 0.88)",paddingTop:xe.OS==="ios"?44:20,paddingBottom:10,paddingHorizontal:12,borderBottomWidth:1,borderBottomColor:"rgba(255, 255, 255, 0.12)",zIndex:999999999,shadowColor:"#000",shadowOffset:{width:0,height:4},shadowOpacity:.4,shadowRadius:8,elevation:12},hudTop:{top:0},hudBottom:{bottom:60,borderTopWidth:1,borderTopColor:"rgba(255, 255, 255, 0.12)",paddingTop:10},hudBreadcrumbBar:{flexDirection:"row",alignItems:"center",justifyContent:"space-between",marginBottom:8},hudBreadcrumbContent:{alignItems:"center",gap:4,paddingRight:10},hudDotSeparator:{color:"#94A3B8",fontSize:12,paddingHorizontal:2},hudBreadcrumbChip:{paddingHorizontal:6,paddingVertical:2.5,borderRadius:4},hudBreadcrumbChipActive:{backgroundColor:"rgba(255, 255, 255, 0.18)",borderWidth:1,borderColor:"rgba(255, 255, 255, 0.35)"},hudBreadcrumbText:{color:"#CBD5E1",fontSize:11,fontFamily:F.medium},hudBreadcrumbTextActive:{color:"#FFFFFF",fontFamily:F.bold},hudFlipBtn:{padding:4,borderRadius:4,backgroundColor:"rgba(255, 255, 255, 0.12)"},hudFlipBtnText:{fontSize:12},hudBodyRow:{flexDirection:"row",justifyContent:"space-between",alignItems:"flex-start",marginTop:4},hudStylesColumn:{flex:1,paddingRight:8,gap:2},hudStyleRow:{flexDirection:"row",alignItems:"center",gap:4},hudStyleKey:{color:"#94A3B8",fontSize:10,fontFamily:F.regular},hudStyleVal:{color:"#F8FAFC",fontSize:10,fontFamily:F.bold},hudBoxModelWrapper:{width:140,height:90,alignItems:"center",justifyContent:"center"},boxModelMarginLayer:{width:"100%",height:"100%",borderWidth:1,borderColor:"rgba(245, 158, 11, 0.6)",backgroundColor:"rgba(245, 158, 11, 0.08)",borderRadius:4,alignItems:"center",justifyContent:"center",position:"relative",padding:12},boxModelMarginLabel:{position:"absolute",top:2,left:4,fontSize:8,fontFamily:F.bold,color:"#F59E0B"},boxModelPaddingLayer:{width:"100%",height:"100%",borderWidth:1,borderColor:"rgba(251, 191, 36, 0.6)",backgroundColor:"rgba(251, 191, 36, 0.08)",borderRadius:3,alignItems:"center",justifyContent:"center",position:"relative",padding:6},boxModelPaddingLabel:{position:"absolute",top:1,left:3,fontSize:7.5,fontFamily:F.bold,color:"#FBBF24"},boxModelContentLayer:{alignItems:"center",justifyContent:"center"},boxModelCoords:{color:"#FACC15",fontSize:8,fontFamily:F.bold},boxModelDimensions:{color:"#FACC15",fontSize:9,fontFamily:F.bold},boxModelInsetTop:{position:"absolute",top:1,alignSelf:"center",fontSize:7.5,color:"#CBD5E1",fontFamily:F.medium},boxModelInsetBottom:{position:"absolute",bottom:1,alignSelf:"center",fontSize:7.5,color:"#CBD5E1",fontFamily:F.medium},boxModelInsetLeft:{position:"absolute",left:2,alignSelf:"center",fontSize:7.5,color:"#CBD5E1",fontFamily:F.medium},boxModelInsetRight:{position:"absolute",right:2,alignSelf:"center",fontSize:7.5,color:"#CBD5E1",fontFamily:F.medium},highlightBox:{position:"absolute",borderWidth:1.5,borderColor:"#4F46E5",backgroundColor:"rgba(79, 70, 229, 0.15)",borderRadius:4,zIndex:100},contentTint:{flex:1,backgroundColor:"rgba(16, 185, 129, 0.1)",margin:3,borderRadius:2,borderWidth:1,borderColor:"rgba(16, 185, 129, 0.35)",borderStyle:"dashed"},elementBadge:{position:"absolute",flexDirection:"row",alignItems:"center",gap:6,backgroundColor:"rgba(15, 23, 42, 0.85)",paddingHorizontal:7,paddingVertical:3.5,borderRadius:5,borderWidth:1,borderColor:"rgba(255, 255, 255, 0.2)"},elementBadgeTop:{top:-26,left:0},elementBadgeBottom:{bottom:-26,left:0},elementBadgeTag:{fontSize:10.5,fontFamily:F.bold,color:"#818CF8"},elementBadgeDim:{fontSize:9.5,fontFamily:F.medium,color:"#E2E8F0"},guideLineV:{position:"absolute",width:1,backgroundColor:"#EF4444",alignItems:"center",justifyContent:"center"},guideLineH:{position:"absolute",height:1,backgroundColor:"#EF4444",alignItems:"center",justifyContent:"center"},guideBadge:{backgroundColor:"#EF4444",color:P.white,fontSize:9,fontFamily:F.bold,paddingHorizontal:4,paddingVertical:1,borderRadius:3},hudToolbar:{position:"absolute",bottom:24,left:14,right:14,backgroundColor:"rgba(15, 23, 42, 0.92)",borderRadius:12,paddingHorizontal:12,paddingVertical:8,flexDirection:"row",alignItems:"center",justifyContent:"space-between",borderWidth:1,borderColor:"rgba(255, 255, 255, 0.15)",shadowColor:"#000",shadowOffset:{width:0,height:4},shadowOpacity:.4,shadowRadius:8,elevation:10},hudLeftGroup:{flexDirection:"row",alignItems:"center",gap:4},modePillBtn:{paddingHorizontal:8,paddingVertical:4,borderRadius:6,backgroundColor:"rgba(255, 255, 255, 0.08)"},modePillBtnActive:{backgroundColor:P.brandPurple},modePillText:{fontSize:10.5,fontFamily:F.medium,color:"#94A3B8"},modePillTextActive:{color:P.white,fontFamily:F.bold},hudActions:{flexDirection:"row",alignItems:"center",gap:6},hudBtn:{paddingHorizontal:8,paddingVertical:5,borderRadius:6,backgroundColor:"rgba(255, 255, 255, 0.1)",borderWidth:1,borderColor:"rgba(255, 255, 255, 0.15)",alignItems:"center",justifyContent:"center"},hudBtnActive:{backgroundColor:P.brandPurple,borderColor:P.brandPurple},hudBtnPrimary:{flexDirection:"row",gap:4,backgroundColor:P.brandPurple,borderColor:P.brandPurple},hudBtnPrimaryText:{fontSize:10.5,fontFamily:F.bold,color:P.white},hudBtnClose:{backgroundColor:"#E11D48",borderColor:"#E11D48"}});
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import"react";import{ScrollView as G,StyleSheet as
|
|
1
|
+
import"react";import{ScrollView as G,StyleSheet as R,Text as C,TouchableOpacity as F,View as T}from"react-native";import{useInspector as v}from"./InspectorContext";import{ChevronIcon as M,EmptyRadarIcon as N,InspectPointerIcon as O,LayersIcon as U,RulerIcon as J,SlidersIcon as X,TrashIcon as Y}from"../NetworkIcons";import P from"../TouchableScale";import{AppColors as t}from"../../styles/AppColors";import{AppFonts as f}from"../../styles/AppFonts";import{triggerNativeHaptic as w}from"../../native/NativeInspector";import{showToast as W}from"../../helpers/toast";import{BoxModelVisualizer as K}from"./BoxModelVisualizer";export const UiInspectorTab=()=>{const{selectedUiElement:S,setSelectedUiElement:D,setIsInspectModeActive:E,setVisible:H,showAlignmentGrid:I,setShowAlignmentGrid:L,uiInspectorHistory:B,clearUiInspectorHistory:V}=v(),z=()=>{w(),H(!1),E(!0),W("Touch anywhere to inspect JSX components")};return<G showsVerticalScrollIndicator={!1}contentContainerStyle={e.container}>
|
|
2
2
|
|
|
3
3
|
<T style={e.heroCard}>
|
|
4
4
|
<T style={e.heroLeft}>
|
|
@@ -74,7 +74,7 @@ import"react";import{ScrollView as G,StyleSheet as A,Text as C,TouchableOpacity
|
|
|
74
74
|
<T style={e.toolsSection}>
|
|
75
75
|
<C style={e.sectionHeader}>DESIGN & ALIGNMENT TOOLS</C>
|
|
76
76
|
<T style={e.toolsGrid}>
|
|
77
|
-
<
|
|
77
|
+
<F style={[e.toolCard,I&&e.toolCardActive]}onPress={()=>{w(),L(!I)}}>
|
|
78
78
|
<J color={I?t.brandPurple:t.slate600}size={18}/>
|
|
79
79
|
<C style={[e.toolCardTitle,I&&e.toolCardTitleActive]}>
|
|
80
80
|
8pt Grid Guide
|
|
@@ -82,20 +82,20 @@ import"react";import{ScrollView as G,StyleSheet as A,Text as C,TouchableOpacity
|
|
|
82
82
|
<C style={e.toolCardSub}>
|
|
83
83
|
{I?"Enabled":"Disabled"}
|
|
84
84
|
</C>
|
|
85
|
-
</
|
|
85
|
+
</F>
|
|
86
86
|
|
|
87
|
-
<
|
|
87
|
+
<F style={e.toolCard}onPress={z}>
|
|
88
88
|
<X color={t.brandPurple}size={18}/>
|
|
89
89
|
<C style={e.toolCardTitle}>Live Tweaker</C>
|
|
90
90
|
<C style={e.toolCardSub}>Sandbox Styles</C>
|
|
91
|
-
</
|
|
91
|
+
</F>
|
|
92
92
|
</T>
|
|
93
93
|
</T>
|
|
94
94
|
|
|
95
95
|
|
|
96
|
-
{
|
|
96
|
+
{B.length>0&&<T style={e.historySection}>
|
|
97
97
|
<T style={e.historyHeader}>
|
|
98
|
-
<C style={e.sectionHeader}>RECENTLY INSPECTED ({
|
|
98
|
+
<C style={e.sectionHeader}>RECENTLY INSPECTED ({B.length})</C>
|
|
99
99
|
<P style={e.clearHistoryBtn}onPress={()=>{w(),V(),W("Cleared inspection history")}}>
|
|
100
100
|
<Y color={t.grayTextWeak}size={12}/>
|
|
101
101
|
<C style={e.clearHistoryBtnText}>Clear</C>
|
|
@@ -103,7 +103,7 @@ import"react";import{ScrollView as G,StyleSheet as A,Text as C,TouchableOpacity
|
|
|
103
103
|
</T>
|
|
104
104
|
|
|
105
105
|
<T style={e.historyList}>
|
|
106
|
-
{
|
|
106
|
+
{B.map((x,A)=><F key={x.id||A}style={e.historyItem}onPress={()=>{w(),D(x)}}>
|
|
107
107
|
<T style={e.historyItemLeft}>
|
|
108
108
|
<C style={e.historyItemTag}><{x.componentName}></C>
|
|
109
109
|
<C style={e.historyItemDim}>
|
|
@@ -111,7 +111,7 @@ import"react";import{ScrollView as G,StyleSheet as A,Text as C,TouchableOpacity
|
|
|
111
111
|
</C>
|
|
112
112
|
</T>
|
|
113
113
|
<M color={t.grayTextWeak}size={12}direction="right"/>
|
|
114
|
-
</
|
|
114
|
+
</F>)}
|
|
115
115
|
</T>
|
|
116
116
|
</T>}
|
|
117
|
-
</G>};const e=
|
|
117
|
+
</G>};const e=R.create({container:{padding:12,gap:12},heroCard:{backgroundColor:t.brandPurple,borderRadius:14,padding:16,gap:14,shadowColor:t.brandPurple,shadowOffset:{width:0,height:4},shadowOpacity:.25,shadowRadius:8,elevation:4},heroLeft:{flexDirection:"row",gap:12,alignItems:"flex-start"},heroIconBadge:{width:40,height:40,borderRadius:10,backgroundColor:"#FFFFFF22",alignItems:"center",justifyContent:"center"},heroTextGroup:{flex:1},heroTitle:{fontSize:16,fontFamily:f.bold,color:t.white,marginBottom:4},heroSubtitle:{fontSize:12,fontFamily:f.medium,color:"#EEF2FF",lineHeight:17},heroButton:{flexDirection:"row",alignItems:"center",justifyContent:"center",backgroundColor:t.white,paddingVertical:10,borderRadius:10,gap:8},heroButtonText:{fontSize:13,fontFamily:f.bold,color:t.brandPurple},selectedCard:{backgroundColor:t.white,borderRadius:12,padding:14,borderWidth:1,borderColor:t.grayBorderSecondary,gap:10},selectedHeader:{flexDirection:"row",justifyContent:"space-between",alignItems:"center"},selectedTitleGroup:{flexDirection:"row",alignItems:"center",gap:8},tagBadge:{backgroundColor:"#4F46E518",paddingHorizontal:8,paddingVertical:4,borderRadius:6,borderWidth:1,borderColor:"#4F46E533"},tagBadgeText:{fontSize:13,fontFamily:f.bold,color:t.brandPurple},dimensionsBadge:{fontSize:12,fontFamily:f.medium,color:t.grayTextWeak},a11yScoreBadge:{paddingHorizontal:8,paddingVertical:3,borderRadius:5,backgroundColor:t.slate100},a11yScoreText:{fontSize:10,fontFamily:f.bold},a11yScoreTextPass:{color:"#059669"},a11yScoreTextWarn:{color:"#D97706"},metricsBar:{flexDirection:"row",backgroundColor:t.slate50,borderRadius:8,padding:8,justifyContent:"space-around"},metricChip:{flexDirection:"row",gap:4,alignItems:"center"},metricChipLabel:{fontSize:11,fontFamily:f.medium,color:t.grayTextWeak},metricChipValue:{fontSize:11,fontFamily:f.bold,color:t.slate900},emptyCard:{backgroundColor:t.white,borderRadius:12,padding:24,alignItems:"center",justifyContent:"center",borderWidth:1,borderColor:t.grayBorderSecondary,borderStyle:"dashed",gap:6},emptyCardTitle:{fontSize:14,fontFamily:f.semiBold,color:t.slate700,marginTop:4},emptyCardSubtitle:{fontSize:12,fontFamily:f.medium,color:t.grayTextWeak,textAlign:"center"},sectionHeader:{fontSize:10,fontFamily:f.bold,color:t.grayTextWeak,letterSpacing:.8},toolsSection:{gap:8},toolsGrid:{flexDirection:"row",gap:10},toolCard:{flex:1,backgroundColor:t.white,borderRadius:10,padding:12,borderWidth:1,borderColor:t.grayBorderSecondary,gap:4},toolCardActive:{borderColor:t.brandPurple,backgroundColor:"#EEF2FF"},toolCardTitle:{fontSize:12,fontFamily:f.semiBold,color:t.slate900,marginTop:4},toolCardTitleActive:{color:t.brandPurple},toolCardSub:{fontSize:10,fontFamily:f.medium,color:t.grayTextWeak},historySection:{gap:8,marginTop:4},historyHeader:{flexDirection:"row",justifyContent:"space-between",alignItems:"center"},clearHistoryBtn:{flexDirection:"row",alignItems:"center",gap:4},clearHistoryBtnText:{fontSize:10,fontFamily:f.medium,color:t.grayTextWeak},historyList:{backgroundColor:t.white,borderRadius:10,borderWidth:1,borderColor:t.grayBorderSecondary,overflow:"hidden"},historyItem:{flexDirection:"row",justifyContent:"space-between",alignItems:"center",paddingHorizontal:12,paddingVertical:10,borderBottomWidth:1,borderBottomColor:t.slate100},historyItemLeft:{flexDirection:"row",alignItems:"center",gap:8},historyItemTag:{fontSize:12,fontFamily:f.bold,color:t.brandPurple},historyItemDim:{fontSize:11,fontFamily:f.medium,color:t.grayTextWeak}});
|
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
import"react";import{ScrollView as
|
|
1
|
+
import"react";import{ScrollView as O,StyleSheet as N,Text as B,TouchableOpacity as R,View as T}from"react-native";import{AppColors as w}from"../../styles/AppColors";import{AppFonts as x}from"../../styles/AppFonts";import{RotateCcwIcon as U,SlidersIcon as J,CopyIcon as K}from"../NetworkIcons";import D from"../TouchableScale";import{generateStyleSheetSnippet as Q}from"../../helpers/uiInspectorEngine";import{triggerNativeHaptic as F}from"../../native/NativeInspector";import{showToast as A}from"../../helpers/toast";import X from"@react-native-clipboard/clipboard";const Y=["#4F46E5","#7C3AED","#2563EB","#0D9488","#10B981","#F59E0B","#E11D48","#0F172A","#F8FAFC","#FFFFFF","transparent"];export const UiLiveStyleTweaker=({componentName:V,originalStyles:E,tweakedStyles:I,onApplyStyle:P,onResetStyles:v})=>{const S={...E,...I},W=Object.keys(I).length>0,H=()=>{const f=Q(V,S);X.setString(f),F(),A("Copied tweaked StyleSheet to clipboard")},C=(f,L,G=0)=>{const M=typeof S[f]=="number"?S[f]:0,j=Math.max(G,M+L);P(f,j),F()};return<O showsVerticalScrollIndicator={!1}contentContainerStyle={e.container}>
|
|
2
2
|
|
|
3
3
|
<T style={e.topActionsRow}>
|
|
4
4
|
<T style={e.titleWithBadge}>
|
|
5
|
-
<
|
|
5
|
+
<J color={w.brandPurple}size={18}/>
|
|
6
6
|
<B style={e.sectionTitle}>Live Style Sandbox</B>
|
|
7
|
-
{
|
|
7
|
+
{W&&<T style={e.modifiedBadge}>
|
|
8
8
|
<B style={e.modifiedBadgeText}>MODIFIED</B>
|
|
9
9
|
</T>}
|
|
10
10
|
</T>
|
|
11
11
|
|
|
12
12
|
<T style={e.actionButtonsGroup}>
|
|
13
|
-
{
|
|
14
|
-
<
|
|
13
|
+
{W&&<D style={e.resetButton}onPress={()=>{v(),F(),A("Reset styles to original")}}>
|
|
14
|
+
<U color="#E11D48"size={14}/>
|
|
15
15
|
<B style={e.resetButtonText}>Reset</B>
|
|
16
|
-
</
|
|
16
|
+
</D>}
|
|
17
17
|
|
|
18
|
-
<
|
|
19
|
-
<
|
|
18
|
+
<D style={e.exportButton}onPress={H}>
|
|
19
|
+
<K color={w.white}size={14}/>
|
|
20
20
|
<B style={e.exportButtonText}>Copy CSS</B>
|
|
21
|
-
</
|
|
21
|
+
</D>
|
|
22
22
|
</T>
|
|
23
23
|
</T>
|
|
24
24
|
|
|
@@ -29,11 +29,11 @@ import"react";import{ScrollView as G,StyleSheet as M,Text as B,TouchableOpacity
|
|
|
29
29
|
<T style={e.controlRow}>
|
|
30
30
|
<B style={e.controlLabel}>Padding</B>
|
|
31
31
|
<T style={e.stepperContainer}>
|
|
32
|
-
<R style={e.stepperBtn}onPress={()=>
|
|
32
|
+
<R style={e.stepperBtn}onPress={()=>C("padding",-2)}>
|
|
33
33
|
<B style={e.stepperBtnText}>-</B>
|
|
34
34
|
</R>
|
|
35
|
-
<B style={e.stepperValue}>{
|
|
36
|
-
<R style={e.stepperBtn}onPress={()=>
|
|
35
|
+
<B style={e.stepperValue}>{S.padding??0} pt</B>
|
|
36
|
+
<R style={e.stepperBtn}onPress={()=>C("padding",2)}>
|
|
37
37
|
<B style={e.stepperBtnText}>+</B>
|
|
38
38
|
</R>
|
|
39
39
|
</T>
|
|
@@ -42,11 +42,11 @@ import"react";import{ScrollView as G,StyleSheet as M,Text as B,TouchableOpacity
|
|
|
42
42
|
<T style={e.controlRow}>
|
|
43
43
|
<B style={e.controlLabel}>Margin</B>
|
|
44
44
|
<T style={e.stepperContainer}>
|
|
45
|
-
<R style={e.stepperBtn}onPress={()=>
|
|
45
|
+
<R style={e.stepperBtn}onPress={()=>C("margin",-2)}>
|
|
46
46
|
<B style={e.stepperBtnText}>-</B>
|
|
47
47
|
</R>
|
|
48
|
-
<B style={e.stepperValue}>{
|
|
49
|
-
<R style={e.stepperBtn}onPress={()=>
|
|
48
|
+
<B style={e.stepperValue}>{S.margin??0} pt</B>
|
|
49
|
+
<R style={e.stepperBtn}onPress={()=>C("margin",2)}>
|
|
50
50
|
<B style={e.stepperBtnText}>+</B>
|
|
51
51
|
</R>
|
|
52
52
|
</T>
|
|
@@ -55,11 +55,11 @@ import"react";import{ScrollView as G,StyleSheet as M,Text as B,TouchableOpacity
|
|
|
55
55
|
<T style={e.controlRow}>
|
|
56
56
|
<B style={e.controlLabel}>Gap</B>
|
|
57
57
|
<T style={e.stepperContainer}>
|
|
58
|
-
<R style={e.stepperBtn}onPress={()=>
|
|
58
|
+
<R style={e.stepperBtn}onPress={()=>C("gap",-2)}>
|
|
59
59
|
<B style={e.stepperBtnText}>-</B>
|
|
60
60
|
</R>
|
|
61
|
-
<B style={e.stepperValue}>{
|
|
62
|
-
<R style={e.stepperBtn}onPress={()=>
|
|
61
|
+
<B style={e.stepperValue}>{S.gap??0} pt</B>
|
|
62
|
+
<R style={e.stepperBtn}onPress={()=>C("gap",2)}>
|
|
63
63
|
<B style={e.stepperBtnText}>+</B>
|
|
64
64
|
</R>
|
|
65
65
|
</T>
|
|
@@ -73,11 +73,11 @@ import"react";import{ScrollView as G,StyleSheet as M,Text as B,TouchableOpacity
|
|
|
73
73
|
<T style={e.controlRow}>
|
|
74
74
|
<B style={e.controlLabel}>Border Radius</B>
|
|
75
75
|
<T style={e.stepperContainer}>
|
|
76
|
-
<R style={e.stepperBtn}onPress={()=>
|
|
76
|
+
<R style={e.stepperBtn}onPress={()=>C("borderRadius",-2)}>
|
|
77
77
|
<B style={e.stepperBtnText}>-</B>
|
|
78
78
|
</R>
|
|
79
|
-
<B style={e.stepperValue}>{
|
|
80
|
-
<R style={e.stepperBtn}onPress={()=>
|
|
79
|
+
<B style={e.stepperValue}>{S.borderRadius??0} pt</B>
|
|
80
|
+
<R style={e.stepperBtn}onPress={()=>C("borderRadius",2)}>
|
|
81
81
|
<B style={e.stepperBtnText}>+</B>
|
|
82
82
|
</R>
|
|
83
83
|
</T>
|
|
@@ -86,11 +86,11 @@ import"react";import{ScrollView as G,StyleSheet as M,Text as B,TouchableOpacity
|
|
|
86
86
|
<T style={e.controlRow}>
|
|
87
87
|
<B style={e.controlLabel}>Border Width</B>
|
|
88
88
|
<T style={e.stepperContainer}>
|
|
89
|
-
<R style={e.stepperBtn}onPress={()=>
|
|
89
|
+
<R style={e.stepperBtn}onPress={()=>C("borderWidth",-1)}>
|
|
90
90
|
<B style={e.stepperBtnText}>-</B>
|
|
91
91
|
</R>
|
|
92
|
-
<B style={e.stepperValue}>{
|
|
93
|
-
<R style={e.stepperBtn}onPress={()=>
|
|
92
|
+
<B style={e.stepperValue}>{S.borderWidth??0} pt</B>
|
|
93
|
+
<R style={e.stepperBtn}onPress={()=>C("borderWidth",1)}>
|
|
94
94
|
<B style={e.stepperBtnText}>+</B>
|
|
95
95
|
</R>
|
|
96
96
|
</T>
|
|
@@ -104,11 +104,11 @@ import"react";import{ScrollView as G,StyleSheet as M,Text as B,TouchableOpacity
|
|
|
104
104
|
<T style={e.controlRow}>
|
|
105
105
|
<B style={e.controlLabel}>Font Size</B>
|
|
106
106
|
<T style={e.stepperContainer}>
|
|
107
|
-
<R style={e.stepperBtn}onPress={()=>
|
|
107
|
+
<R style={e.stepperBtn}onPress={()=>C("fontSize",-1,8)}>
|
|
108
108
|
<B style={e.stepperBtnText}>-</B>
|
|
109
109
|
</R>
|
|
110
|
-
<B style={e.stepperValue}>{
|
|
111
|
-
<R style={e.stepperBtn}onPress={()=>
|
|
110
|
+
<B style={e.stepperValue}>{S.fontSize??14} pt</B>
|
|
111
|
+
<R style={e.stepperBtn}onPress={()=>C("fontSize",1)}>
|
|
112
112
|
<B style={e.stepperBtnText}>+</B>
|
|
113
113
|
</R>
|
|
114
114
|
</T>
|
|
@@ -117,9 +117,9 @@ import"react";import{ScrollView as G,StyleSheet as M,Text as B,TouchableOpacity
|
|
|
117
117
|
<T style={e.segmentedRow}>
|
|
118
118
|
<B style={e.controlLabel}>Weight</B>
|
|
119
119
|
<T style={e.segmentedGroup}>
|
|
120
|
-
{["normal","500","600","bold"].map(
|
|
121
|
-
<B style={[e.segmentText,
|
|
122
|
-
{
|
|
120
|
+
{["normal","500","600","bold"].map(f=><R key={f}style={[e.segmentItem,S.fontWeight===f&&e.segmentItemActive]}onPress={()=>{P("fontWeight",f),F()}}>
|
|
121
|
+
<B style={[e.segmentText,S.fontWeight===f&&e.segmentTextActive]}>
|
|
122
|
+
{f}
|
|
123
123
|
</B>
|
|
124
124
|
</R>)}
|
|
125
125
|
</T>
|
|
@@ -130,7 +130,7 @@ import"react";import{ScrollView as G,StyleSheet as M,Text as B,TouchableOpacity
|
|
|
130
130
|
<T style={e.card}>
|
|
131
131
|
<B style={e.cardHeader}>Background Color</B>
|
|
132
132
|
<T style={e.paletteGrid}>
|
|
133
|
-
{
|
|
133
|
+
{Y.map(f=><R key={f}style={[e.colorSwatch,{backgroundColor:f},S.backgroundColor===f&&e.colorSwatchActive]}onPress={()=>{P("backgroundColor",f),F()}}/>)}
|
|
134
134
|
</T>
|
|
135
135
|
</T>
|
|
136
136
|
|
|
@@ -138,11 +138,11 @@ import"react";import{ScrollView as G,StyleSheet as M,Text as B,TouchableOpacity
|
|
|
138
138
|
<T style={e.card}>
|
|
139
139
|
<B style={e.cardHeader}>Opacity & Elevation</B>
|
|
140
140
|
<T style={e.segmentedGroup}>
|
|
141
|
-
{[1,.8,.6,.4,.2].map(
|
|
142
|
-
<B style={[e.segmentText,
|
|
143
|
-
{Math.round(
|
|
141
|
+
{[1,.8,.6,.4,.2].map(f=><R key={f}style={[e.segmentItem,S.opacity===f&&e.segmentItemActive]}onPress={()=>{P("opacity",f),F()}}>
|
|
142
|
+
<B style={[e.segmentText,S.opacity===f&&e.segmentTextActive]}>
|
|
143
|
+
{Math.round(f*100)}%
|
|
144
144
|
</B>
|
|
145
145
|
</R>)}
|
|
146
146
|
</T>
|
|
147
147
|
</T>
|
|
148
|
-
</
|
|
148
|
+
</O>};const e=N.create({container:{paddingVertical:6,gap:10},topActionsRow:{flexDirection:"row",justifyContent:"space-between",alignItems:"center",marginBottom:4},titleWithBadge:{flexDirection:"row",alignItems:"center",gap:6},sectionTitle:{fontSize:14,fontFamily:x.semiBold,color:w.slate900},modifiedBadge:{backgroundColor:"#F59E0B22",paddingHorizontal:6,paddingVertical:2,borderRadius:4,borderWidth:1,borderColor:"#F59E0B55"},modifiedBadgeText:{fontSize:9,fontFamily:x.bold,color:"#D97706"},actionButtonsGroup:{flexDirection:"row",gap:8},resetButton:{flexDirection:"row",alignItems:"center",gap:4,backgroundColor:"#E11D4811",borderWidth:1,borderColor:"#E11D4833",paddingHorizontal:8,paddingVertical:5,borderRadius:6},resetButtonText:{fontSize:11,fontFamily:x.semiBold,color:"#E11D48"},exportButton:{flexDirection:"row",alignItems:"center",gap:4,backgroundColor:w.brandPurple,paddingHorizontal:10,paddingVertical:5,borderRadius:6},exportButtonText:{fontSize:11,fontFamily:x.semiBold,color:w.white},card:{backgroundColor:w.white,borderRadius:12,padding:12,borderWidth:1,borderColor:w.grayBorderSecondary,gap:8},cardHeader:{fontSize:12,fontFamily:x.semiBold,color:w.slate700,marginBottom:2},controlRow:{flexDirection:"row",justifyContent:"space-between",alignItems:"center"},controlLabel:{fontSize:12,fontFamily:x.medium,color:w.slate600},stepperContainer:{flexDirection:"row",alignItems:"center",gap:8,backgroundColor:w.slate50,borderRadius:6,padding:2},stepperBtn:{width:28,height:28,backgroundColor:w.white,borderRadius:5,alignItems:"center",justifyContent:"center",borderWidth:1,borderColor:w.grayBorderSecondary},stepperBtnText:{fontSize:15,fontFamily:x.bold,color:w.slate900},stepperValue:{fontSize:12,fontFamily:x.semiBold,color:w.slate900,minWidth:44,textAlign:"center"},segmentedRow:{flexDirection:"row",justifyContent:"space-between",alignItems:"center"},segmentedGroup:{flexDirection:"row",backgroundColor:w.slate100,borderRadius:8,padding:2,gap:2},segmentItem:{paddingHorizontal:10,paddingVertical:5,borderRadius:6},segmentItemActive:{backgroundColor:w.brandPurple},segmentText:{fontSize:11,fontFamily:x.medium,color:w.slate600},segmentTextActive:{color:w.white,fontFamily:x.semiBold},paletteGrid:{flexDirection:"row",flexWrap:"wrap",gap:8},colorSwatch:{width:28,height:28,borderRadius:6,borderWidth:1,borderColor:w.grayBorderSecondary},colorSwatchActive:{borderColor:w.brandPurple,borderWidth:3}});
|