uilib-native 3.0.4 → 3.0.8

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 (138) hide show
  1. package/android/build/.transforms/{6a4a003a5436f1cfa6c642f89a88b8f1.bin → 078d1206f8e28097fd785bd635dfbdf6/results.bin} +0 -0
  2. package/android/build/.transforms/078d1206f8e28097fd785bd635dfbdf6/transformed/classes/classes.dex +0 -0
  3. package/android/build/generated/source/buildConfig/debug/com/wix/reactnativeuilib/BuildConfig.java +0 -8
  4. package/android/build/intermediates/aapt_friendly_merged_manifests/debug/aapt/AndroidManifest.xml +3 -5
  5. package/android/build/intermediates/aapt_friendly_merged_manifests/debug/aapt/output-metadata.json +16 -0
  6. package/android/build/intermediates/aar_metadata/debug/aar-metadata.properties +2 -0
  7. package/android/build/intermediates/compile_library_classes_jar/debug/classes.jar +0 -0
  8. package/android/build/intermediates/compile_r_class_jar/debug/R.jar +0 -0
  9. package/android/build/intermediates/compile_symbol_list/debug/R.txt +1865 -0
  10. package/android/build/intermediates/compiled_local_resources/debug/out/layout_wheel_picker.xml.flat +0 -0
  11. package/android/build/intermediates/incremental/mergeDebugJniLibFolders/merger.xml +1 -1
  12. package/android/build/intermediates/incremental/mergeDebugShaders/merger.xml +1 -1
  13. package/android/build/intermediates/incremental/packageDebugAssets/merger.xml +1 -1
  14. package/android/build/intermediates/incremental/packageDebugResources/compile-file-map.properties +2 -2
  15. package/android/build/intermediates/incremental/packageDebugResources/merger.xml +2 -2
  16. package/android/build/intermediates/javac/debug/classes/com/wix/reactnativeuilib/BuildConfig.class +0 -0
  17. package/android/build/intermediates/javac/debug/classes/com/wix/reactnativeuilib/UiLibPackageList.class +0 -0
  18. package/android/build/intermediates/javac/debug/classes/com/wix/reactnativeuilib/highlighterview/HighlightFrame.class +0 -0
  19. package/android/build/intermediates/javac/debug/classes/com/wix/reactnativeuilib/highlighterview/HighlightViewTagParams.class +0 -0
  20. package/android/build/intermediates/javac/debug/classes/com/wix/reactnativeuilib/highlighterview/HighlighterView.class +0 -0
  21. package/android/build/intermediates/javac/debug/classes/com/wix/reactnativeuilib/highlighterview/HighlighterViewManager$1.class +0 -0
  22. package/android/build/intermediates/javac/debug/classes/com/wix/reactnativeuilib/highlighterview/HighlighterViewManager.class +0 -0
  23. package/android/build/intermediates/javac/debug/classes/com/wix/reactnativeuilib/highlighterview/HighlighterViewPackage.class +0 -0
  24. package/android/build/intermediates/javac/debug/classes/com/wix/reactnativeuilib/highlighterview/ReactHacks.class +0 -0
  25. package/android/build/intermediates/javac/debug/classes/com/wix/reactnativeuilib/highlighterview/ReflectionUtils.class +0 -0
  26. package/android/build/intermediates/javac/debug/classes/com/wix/reactnativeuilib/highlighterview/UiUtils.class +0 -0
  27. package/android/build/intermediates/javac/debug/classes/com/wix/reactnativeuilib/keyboardinput/AppContextHolder$1.class +0 -0
  28. package/android/build/intermediates/javac/debug/classes/com/wix/reactnativeuilib/keyboardinput/AppContextHolder.class +0 -0
  29. package/android/build/intermediates/javac/debug/classes/com/wix/reactnativeuilib/keyboardinput/CustomKeyboardLayout$1.class +0 -0
  30. package/android/build/intermediates/javac/debug/classes/com/wix/reactnativeuilib/keyboardinput/CustomKeyboardLayout$2.class +0 -0
  31. package/android/build/intermediates/javac/debug/classes/com/wix/reactnativeuilib/keyboardinput/CustomKeyboardLayout$3.class +0 -0
  32. package/android/build/intermediates/javac/debug/classes/com/wix/reactnativeuilib/keyboardinput/CustomKeyboardLayout$4.class +0 -0
  33. package/android/build/intermediates/javac/debug/classes/com/wix/reactnativeuilib/keyboardinput/CustomKeyboardLayout$5.class +0 -0
  34. package/android/build/intermediates/javac/debug/classes/com/wix/reactnativeuilib/keyboardinput/CustomKeyboardLayout.class +0 -0
  35. package/android/build/intermediates/javac/debug/classes/com/wix/reactnativeuilib/keyboardinput/CustomKeyboardRootView.class +0 -0
  36. package/android/build/intermediates/javac/debug/classes/com/wix/reactnativeuilib/keyboardinput/CustomKeyboardRootViewManager.class +0 -0
  37. package/android/build/intermediates/javac/debug/classes/com/wix/reactnativeuilib/keyboardinput/CustomKeyboardRootViewShadow.class +0 -0
  38. package/android/build/intermediates/javac/debug/classes/com/wix/reactnativeuilib/keyboardinput/KeyboardInputModule.class +0 -0
  39. package/android/build/intermediates/javac/debug/classes/com/wix/reactnativeuilib/keyboardinput/KeyboardInputPackage.class +0 -0
  40. package/android/build/intermediates/javac/debug/classes/com/wix/reactnativeuilib/keyboardinput/ReactContextHolder.class +0 -0
  41. package/android/build/intermediates/javac/debug/classes/com/wix/reactnativeuilib/keyboardinput/ReactScreenMonitor$1.class +0 -0
  42. package/android/build/intermediates/javac/debug/classes/com/wix/reactnativeuilib/keyboardinput/ReactScreenMonitor$Listener.class +0 -0
  43. package/android/build/intermediates/javac/debug/classes/com/wix/reactnativeuilib/keyboardinput/ReactScreenMonitor.class +0 -0
  44. package/android/build/intermediates/javac/debug/classes/com/wix/reactnativeuilib/keyboardinput/ReactSoftKeyboardMonitor$1.class +0 -0
  45. package/android/build/intermediates/javac/debug/classes/com/wix/reactnativeuilib/keyboardinput/ReactSoftKeyboardMonitor$2.class +0 -0
  46. package/android/build/intermediates/javac/debug/classes/com/wix/reactnativeuilib/keyboardinput/ReactSoftKeyboardMonitor$Listener.class +0 -0
  47. package/android/build/intermediates/javac/debug/classes/com/wix/reactnativeuilib/keyboardinput/ReactSoftKeyboardMonitor.class +0 -0
  48. package/android/build/intermediates/javac/debug/classes/com/wix/reactnativeuilib/keyboardinput/utils/PredicateFunc.class +0 -0
  49. package/android/build/intermediates/javac/debug/classes/com/wix/reactnativeuilib/keyboardinput/utils/RuntimeUtils$1.class +0 -0
  50. package/android/build/intermediates/javac/debug/classes/com/wix/reactnativeuilib/keyboardinput/utils/RuntimeUtils$2.class +0 -0
  51. package/android/build/intermediates/javac/debug/classes/com/wix/reactnativeuilib/keyboardinput/utils/RuntimeUtils.class +0 -0
  52. package/android/build/intermediates/javac/debug/classes/com/wix/reactnativeuilib/keyboardinput/utils/ViewUtils$1.class +0 -0
  53. package/android/build/intermediates/javac/debug/classes/com/wix/reactnativeuilib/keyboardinput/utils/ViewUtils$VisibleViewClassMatchPredicate.class +0 -0
  54. package/android/build/intermediates/javac/debug/classes/com/wix/reactnativeuilib/keyboardinput/utils/ViewUtils.class +0 -0
  55. package/android/build/intermediates/javac/debug/classes/com/wix/reactnativeuilib/textinput/DefaultKeyListener.class +0 -0
  56. package/android/build/intermediates/javac/debug/classes/com/wix/reactnativeuilib/textinput/KeyListenerProxy.class +0 -0
  57. package/android/build/intermediates/javac/debug/classes/com/wix/reactnativeuilib/textinput/TextInputDelKeyHandlerModule$1.class +0 -0
  58. package/android/build/intermediates/javac/debug/classes/com/wix/reactnativeuilib/textinput/TextInputDelKeyHandlerModule.class +0 -0
  59. package/android/build/intermediates/javac/debug/classes/com/wix/reactnativeuilib/textinput/TextInputDelKeyHandlerPackage.class +0 -0
  60. package/android/build/intermediates/javac/debug/classes/com/wix/reactnativeuilib/textinput/ViewUtils.class +0 -0
  61. package/android/build/intermediates/javac/debug/classes/com/wix/reactnativeuilib/utils/LogForwarder$LogType.class +0 -0
  62. package/android/build/intermediates/javac/debug/classes/com/wix/reactnativeuilib/utils/LogForwarder.class +0 -0
  63. package/android/build/intermediates/javac/debug/classes/com/wix/reactnativeuilib/wheelpicker/WheelPicker$1.class +0 -0
  64. package/android/build/intermediates/javac/debug/classes/com/wix/reactnativeuilib/wheelpicker/WheelPicker.class +0 -0
  65. package/android/build/intermediates/javac/debug/classes/com/wix/reactnativeuilib/wheelpicker/WheelPickerManager.class +0 -0
  66. package/android/build/intermediates/javac/debug/classes/com/wix/reactnativeuilib/wheelpicker/WheelPickerPackage.class +0 -0
  67. package/android/build/intermediates/local_only_symbol_list/debug/{parseDebugLibraryResources/R-def.txt → R-def.txt} +0 -0
  68. package/android/build/intermediates/manifest_merge_blame_file/debug/manifest-merger-blame-debug-report.txt +9 -11
  69. package/android/build/intermediates/merged_manifest/debug/AndroidManifest.xml +9 -0
  70. package/android/build/intermediates/navigation_json/debug/navigation.json +1 -0
  71. package/android/build/intermediates/packaged_manifests/debug/output-metadata.json +16 -0
  72. package/android/build/intermediates/runtime_library_classes_jar/debug/classes.jar +0 -0
  73. package/android/build/intermediates/{res/symbol-table-with-package → symbol_list_with_package_name}/debug/package-aware-r.txt +66 -8
  74. package/android/build/outputs/logs/manifest-merger-debug-report.txt +18 -30
  75. package/android/build/tmp/compileDebugJavaWithJavac/source-classes-mapping.txt +83 -0
  76. package/android/src/main/java/com/wix/reactnativeuilib/keyboardinput/CustomKeyboardLayout.java +41 -17
  77. package/android/src/main/java/com/wix/reactnativeuilib/keyboardinput/CustomKeyboardRootView.java +12 -0
  78. package/components/{HighlighterOverlayView.js → HighlighterOverlayView.tsx} +40 -46
  79. package/components/Keyboard/KeyboardInput/{CustomKeyboardView.android.js → CustomKeyboardView/CustomKeyboardView.android.tsx} +9 -14
  80. package/components/Keyboard/KeyboardInput/{CustomKeyboardView.ios.js → CustomKeyboardView/CustomKeyboardView.ios.tsx} +20 -21
  81. package/components/Keyboard/KeyboardInput/CustomKeyboardView/index.tsx +16 -0
  82. package/components/Keyboard/KeyboardInput/{CustomKeyboardViewBase.js → CustomKeyboardViewBase.tsx} +26 -20
  83. package/components/Keyboard/KeyboardInput/KeyboardAccessoryView.tsx +226 -0
  84. package/components/Keyboard/KeyboardInput/{KeyboardRegistry.js → KeyboardRegistry.ts} +12 -11
  85. package/components/Keyboard/KeyboardInput/{TextInputKeyboardManager.android.js → TextInputKeyboardManager/TextInputKeyboardManager.android.ts} +0 -0
  86. package/components/Keyboard/KeyboardInput/{TextInputKeyboardManager.ios.js → TextInputKeyboardManager/TextInputKeyboardManager.ios.ts} +5 -4
  87. package/components/Keyboard/KeyboardInput/TextInputKeyboardManager/index.ts +9 -0
  88. package/components/Keyboard/KeyboardInput/keyboardAccessoryView.api.json +57 -0
  89. package/components/Keyboard/KeyboardInput/keyboardRegistry.api.json +50 -0
  90. package/components/Keyboard/KeyboardInput/utils/{EventEmitterManager.js → EventEmitterManager.ts} +5 -4
  91. package/components/Keyboard/KeyboardInput/utils/{KeyboardUtils.js → KeyboardUtils.ts} +0 -0
  92. package/components/Keyboard/KeyboardTracking/{KeyboardAwareInsetsView.js → KeyboardAwareInsetsView.tsx} +3 -4
  93. package/components/Keyboard/KeyboardTracking/{KeyboardTrackingView.android.js → KeyboardTrackingView/KeyboardTrackingView.android.tsx} +1 -0
  94. package/components/Keyboard/KeyboardTracking/{KeyboardTrackingView.ios.js → KeyboardTrackingView/KeyboardTrackingView.ios.tsx} +8 -14
  95. package/components/Keyboard/KeyboardTracking/KeyboardTrackingView/index.tsx +96 -0
  96. package/components/Keyboard/KeyboardTracking/KeyboardTrackingView/keyboardTrackingView.api.json +95 -0
  97. package/components/Keyboard/KeyboardTracking/keyboardAwareInsetsView.api.json +14 -0
  98. package/components/Keyboard/index.ts +15 -0
  99. package/components/SafeArea/{SafeAreaInsetsManager.js → SafeAreaInsetsManager.ts} +10 -7
  100. package/components/SafeArea/SafeAreaSpacerView.tsx +19 -0
  101. package/components/WheelPicker/WheelPickerItem.tsx +21 -0
  102. package/components/WheelPicker/{index.js → index.tsx} +58 -38
  103. package/components/index.ts +16 -0
  104. package/ios/reactnativeuilib/keyboardtrackingview/KeyboardTrackingViewTempManager.m +40 -3
  105. package/ios/reactnativeuilib.xcodeproj/project.xcworkspace/xcuserdata/inbalti.xcuserdatad/UserInterfaceState.xcuserstate +0 -0
  106. package/ios/reactnativeuilib.xcodeproj/xcuserdata/{michaelle.xcuserdatad → inbalti.xcuserdatad}/xcschemes/xcschememanagement.plist +0 -5
  107. package/package.json +1 -1
  108. package/android/.gradle/5.6.1/fileChanges/last-build.bin +0 -0
  109. package/android/.gradle/5.6.1/fileHashes/fileHashes.lock +0 -0
  110. package/android/.gradle/5.6.1/gc.properties +0 -0
  111. package/android/.gradle/vcs-1/gc.properties +0 -0
  112. package/android/.idea/codeStyles/Project.xml +0 -116
  113. package/android/.idea/encodings.xml +0 -4
  114. package/android/.idea/gradle.xml +0 -12
  115. package/android/.idea/misc.xml +0 -9
  116. package/android/.idea/modules.xml +0 -8
  117. package/android/.idea/runConfigurations.xml +0 -12
  118. package/android/.idea/vcs.xml +0 -6
  119. package/android/.idea/workspace.xml +0 -547
  120. package/android/android.iml +0 -18
  121. package/android/build/.transforms/6a4a003a5436f1cfa6c642f89a88b8f1/classes/classes.dex +0 -0
  122. package/android/build/intermediates/aapt_friendly_merged_manifests/debug/aapt/output.json +0 -1
  123. package/android/build/intermediates/compile_library_classes/debug/classes.jar +0 -0
  124. package/android/build/intermediates/compile_only_not_namespaced_r_class_jar/debug/R.jar +0 -0
  125. package/android/build/intermediates/incremental/debug-mergeNativeLibs/merge-state +0 -0
  126. package/android/build/intermediates/library_java_res/debug/res.jar +0 -0
  127. package/android/build/intermediates/library_manifest/debug/AndroidManifest.xml +0 -11
  128. package/android/build/intermediates/merged_manifests/debug/output.json +0 -1
  129. package/android/build/intermediates/runtime_library_classes/debug/classes.jar +0 -0
  130. package/android/build/intermediates/symbols/debug/R.txt +0 -1801
  131. package/android/local.properties +0 -8
  132. package/android/react-native-ui-lib.iml +0 -144
  133. package/components/Keyboard/KeyboardInput/KeyboardAccessoryView.js +0 -287
  134. package/components/Keyboard/index.js +0 -7
  135. package/components/SafeArea/SafeAreaSpacerView.js +0 -16
  136. package/components/WheelPicker/WheelPickerItem.js +0 -21
  137. package/components/index.js +0 -17
  138. package/ios/reactnativeuilib.xcodeproj/project.xcworkspace/xcuserdata/michaelle.xcuserdatad/UserInterfaceState.xcuserstate +0 -0
@@ -1,8 +0,0 @@
1
- ## This file must *NOT* be checked into Version Control Systems,
2
- # as it contains information specific to your local configuration.
3
- #
4
- # Location of the SDK. This is only used by Gradle.
5
- # For customization when using a Version Control System, please read the
6
- # header note.
7
- #Thu May 23 12:52:27 IDT 2019
8
- sdk.dir=/Users/michaelle/Library/Android/sdk
@@ -1,144 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <module external.linked.project.id=":react-native-ui-lib" external.linked.project.path="$MODULE_DIR$" external.root.project.path="$MODULE_DIR$/../../android" external.system.id="GRADLE" type="JAVA_MODULE" version="4">
3
- <component name="FacetManager">
4
- <facet type="android-gradle" name="Android-Gradle">
5
- <configuration>
6
- <option name="GRADLE_PROJECT_PATH" value=":react-native-ui-lib" />
7
- <option name="LAST_SUCCESSFUL_SYNC_AGP_VERSION" value="3.5.3" />
8
- <option name="LAST_KNOWN_AGP_VERSION" value="3.5.3" />
9
- </configuration>
10
- </facet>
11
- <facet type="android" name="Android">
12
- <configuration>
13
- <option name="SELECTED_BUILD_VARIANT" value="debug" />
14
- <option name="ASSEMBLE_TASK_NAME" value="assembleDebug" />
15
- <option name="COMPILE_JAVA_TASK_NAME" value="compileDebugSources" />
16
- <afterSyncTasks>
17
- <task>generateDebugSources</task>
18
- </afterSyncTasks>
19
- <option name="ALLOW_USER_CONFIGURATION" value="false" />
20
- <option name="MANIFEST_FILE_RELATIVE_PATH" value="/src/main/AndroidManifest.xml" />
21
- <option name="RES_FOLDER_RELATIVE_PATH" value="/src/main/res" />
22
- <option name="RES_FOLDERS_RELATIVE_PATH" value="file://$MODULE_DIR$/src/main/res;file://$MODULE_DIR$/build/generated/res/resValues/debug" />
23
- <option name="TEST_RES_FOLDERS_RELATIVE_PATH" value="" />
24
- <option name="ASSETS_FOLDER_RELATIVE_PATH" value="/src/main/assets" />
25
- <option name="PROJECT_TYPE" value="1" />
26
- </configuration>
27
- </facet>
28
- </component>
29
- <component name="NewModuleRootManager" LANGUAGE_LEVEL="JDK_1_7">
30
- <output url="file://$MODULE_DIR$/build/intermediates/javac/debug/classes" />
31
- <output-test url="file://$MODULE_DIR$/build/intermediates/javac/debugUnitTest/classes" />
32
- <exclude-output />
33
- <content url="file://$MODULE_DIR$">
34
- <sourceFolder url="file://$MODULE_DIR$/build/generated/ap_generated_sources/debug/out" isTestSource="false" generated="true" />
35
- <sourceFolder url="file://$MODULE_DIR$/build/generated/aidl_source_output_dir/debug/compileDebugAidl/out" isTestSource="false" generated="true" />
36
- <sourceFolder url="file://$MODULE_DIR$/build/generated/source/buildConfig/debug" isTestSource="false" generated="true" />
37
- <sourceFolder url="file://$MODULE_DIR$/build/generated/renderscript_source_output_dir/debug/compileDebugRenderscript/out" isTestSource="false" generated="true" />
38
- <sourceFolder url="file://$MODULE_DIR$/build/generated/res/rs/debug" type="java-resource" generated="true" />
39
- <sourceFolder url="file://$MODULE_DIR$/build/generated/res/resValues/debug" type="java-resource" generated="true" />
40
- <sourceFolder url="file://$MODULE_DIR$/build/generated/ap_generated_sources/debugAndroidTest/out" isTestSource="true" generated="true" />
41
- <sourceFolder url="file://$MODULE_DIR$/build/generated/aidl_source_output_dir/debugAndroidTest/compileDebugAndroidTestAidl/out" isTestSource="true" generated="true" />
42
- <sourceFolder url="file://$MODULE_DIR$/build/generated/source/buildConfig/androidTest/debug" isTestSource="true" generated="true" />
43
- <sourceFolder url="file://$MODULE_DIR$/build/generated/renderscript_source_output_dir/debugAndroidTest/compileDebugAndroidTestRenderscript/out" isTestSource="true" generated="true" />
44
- <sourceFolder url="file://$MODULE_DIR$/build/generated/res/rs/androidTest/debug" type="java-test-resource" generated="true" />
45
- <sourceFolder url="file://$MODULE_DIR$/build/generated/res/resValues/androidTest/debug" type="java-test-resource" generated="true" />
46
- <sourceFolder url="file://$MODULE_DIR$/build/generated/ap_generated_sources/debugUnitTest/out" isTestSource="true" generated="true" />
47
- <sourceFolder url="file://$MODULE_DIR$/src/debug/res" type="java-resource" />
48
- <sourceFolder url="file://$MODULE_DIR$/src/debug/resources" type="java-resource" />
49
- <sourceFolder url="file://$MODULE_DIR$/src/debug/assets" type="java-resource" />
50
- <sourceFolder url="file://$MODULE_DIR$/src/debug/aidl" isTestSource="false" />
51
- <sourceFolder url="file://$MODULE_DIR$/src/debug/java" isTestSource="false" />
52
- <sourceFolder url="file://$MODULE_DIR$/src/debug/rs" isTestSource="false" />
53
- <sourceFolder url="file://$MODULE_DIR$/src/debug/shaders" isTestSource="false" />
54
- <sourceFolder url="file://$MODULE_DIR$/src/androidTestDebug/res" type="java-test-resource" />
55
- <sourceFolder url="file://$MODULE_DIR$/src/androidTestDebug/resources" type="java-test-resource" />
56
- <sourceFolder url="file://$MODULE_DIR$/src/androidTestDebug/assets" type="java-test-resource" />
57
- <sourceFolder url="file://$MODULE_DIR$/src/androidTestDebug/aidl" isTestSource="true" />
58
- <sourceFolder url="file://$MODULE_DIR$/src/androidTestDebug/java" isTestSource="true" />
59
- <sourceFolder url="file://$MODULE_DIR$/src/androidTestDebug/rs" isTestSource="true" />
60
- <sourceFolder url="file://$MODULE_DIR$/src/androidTestDebug/shaders" isTestSource="true" />
61
- <sourceFolder url="file://$MODULE_DIR$/src/testDebug/res" type="java-test-resource" />
62
- <sourceFolder url="file://$MODULE_DIR$/src/testDebug/resources" type="java-test-resource" />
63
- <sourceFolder url="file://$MODULE_DIR$/src/testDebug/assets" type="java-test-resource" />
64
- <sourceFolder url="file://$MODULE_DIR$/src/testDebug/aidl" isTestSource="true" />
65
- <sourceFolder url="file://$MODULE_DIR$/src/testDebug/java" isTestSource="true" />
66
- <sourceFolder url="file://$MODULE_DIR$/src/testDebug/rs" isTestSource="true" />
67
- <sourceFolder url="file://$MODULE_DIR$/src/testDebug/shaders" isTestSource="true" />
68
- <sourceFolder url="file://$MODULE_DIR$/src/main/res" type="java-resource" />
69
- <sourceFolder url="file://$MODULE_DIR$/src/main/resources" type="java-resource" />
70
- <sourceFolder url="file://$MODULE_DIR$/src/main/assets" type="java-resource" />
71
- <sourceFolder url="file://$MODULE_DIR$/src/main/aidl" isTestSource="false" />
72
- <sourceFolder url="file://$MODULE_DIR$/src/main/java" isTestSource="false" />
73
- <sourceFolder url="file://$MODULE_DIR$/src/main/rs" isTestSource="false" />
74
- <sourceFolder url="file://$MODULE_DIR$/src/main/shaders" isTestSource="false" />
75
- <sourceFolder url="file://$MODULE_DIR$/src/androidTest/res" type="java-test-resource" />
76
- <sourceFolder url="file://$MODULE_DIR$/src/androidTest/resources" type="java-test-resource" />
77
- <sourceFolder url="file://$MODULE_DIR$/src/androidTest/assets" type="java-test-resource" />
78
- <sourceFolder url="file://$MODULE_DIR$/src/androidTest/aidl" isTestSource="true" />
79
- <sourceFolder url="file://$MODULE_DIR$/src/androidTest/java" isTestSource="true" />
80
- <sourceFolder url="file://$MODULE_DIR$/src/androidTest/rs" isTestSource="true" />
81
- <sourceFolder url="file://$MODULE_DIR$/src/androidTest/shaders" isTestSource="true" />
82
- <sourceFolder url="file://$MODULE_DIR$/src/test/res" type="java-test-resource" />
83
- <sourceFolder url="file://$MODULE_DIR$/src/test/resources" type="java-test-resource" />
84
- <sourceFolder url="file://$MODULE_DIR$/src/test/assets" type="java-test-resource" />
85
- <sourceFolder url="file://$MODULE_DIR$/src/test/aidl" isTestSource="true" />
86
- <sourceFolder url="file://$MODULE_DIR$/src/test/java" isTestSource="true" />
87
- <sourceFolder url="file://$MODULE_DIR$/src/test/rs" isTestSource="true" />
88
- <sourceFolder url="file://$MODULE_DIR$/src/test/shaders" isTestSource="true" />
89
- <excludeFolder url="file://$MODULE_DIR$/build" />
90
- </content>
91
- <orderEntry type="jdk" jdkName="Android API 28 Platform" jdkType="Android SDK" />
92
- <orderEntry type="sourceFolder" forTests="false" />
93
- <orderEntry type="library" name="Gradle: com.facebook.infer.annotation:infer-annotation:0.11.2@jar" level="project" />
94
- <orderEntry type="library" name="Gradle: com.google.code.findbugs:jsr305:3.0.2@jar" level="project" />
95
- <orderEntry type="library" name="Gradle: com.facebook.yoga:proguard-annotations:1.14.1@jar" level="project" />
96
- <orderEntry type="library" name="Gradle: javax.inject:javax.inject:1@jar" level="project" />
97
- <orderEntry type="library" name="Gradle: androidx.collection:collection:1.0.0@jar" level="project" />
98
- <orderEntry type="library" name="Gradle: androidx.lifecycle:lifecycle-common:2.0.0@jar" level="project" />
99
- <orderEntry type="library" name="Gradle: androidx.arch.core:core-common:2.0.0@jar" level="project" />
100
- <orderEntry type="library" name="Gradle: androidx.annotation:annotation:1.0.0@jar" level="project" />
101
- <orderEntry type="library" name="Gradle: com.facebook.soloader:nativeloader:0.8.0@jar" level="project" />
102
- <orderEntry type="library" name="Gradle: com.squareup.okhttp3:okhttp-urlconnection:3.12.1@jar" level="project" />
103
- <orderEntry type="library" name="Gradle: com.squareup.okhttp3:okhttp:3.12.1@jar" level="project" />
104
- <orderEntry type="library" name="Gradle: com.squareup.okio:okio:1.15.0@jar" level="project" />
105
- <orderEntry type="library" name="Gradle: com.facebook.fbjni:fbjni-java-only:0.0.3@jar" level="project" />
106
- <orderEntry type="library" name="Gradle: com.facebook.react:react-native:0.62.2@aar" level="project" />
107
- <orderEntry type="library" name="Gradle: androidx.appcompat:appcompat:1.0.2@aar" level="project" />
108
- <orderEntry type="library" name="Gradle: androidx.fragment:fragment:1.0.0@aar" level="project" />
109
- <orderEntry type="library" name="Gradle: androidx.vectordrawable:vectordrawable-animated:1.0.0@aar" level="project" />
110
- <orderEntry type="library" name="Gradle: androidx.legacy:legacy-support-core-ui:1.0.0@aar" level="project" />
111
- <orderEntry type="library" name="Gradle: androidx.legacy:legacy-support-core-utils:1.0.0@aar" level="project" />
112
- <orderEntry type="library" name="Gradle: androidx.vectordrawable:vectordrawable:1.0.1@aar" level="project" />
113
- <orderEntry type="library" name="Gradle: androidx.loader:loader:1.0.0@aar" level="project" />
114
- <orderEntry type="library" name="Gradle: androidx.viewpager:viewpager:1.0.0@aar" level="project" />
115
- <orderEntry type="library" name="Gradle: androidx.coordinatorlayout:coordinatorlayout:1.0.0@aar" level="project" />
116
- <orderEntry type="library" name="Gradle: androidx.drawerlayout:drawerlayout:1.0.0@aar" level="project" />
117
- <orderEntry type="library" name="Gradle: androidx.slidingpanelayout:slidingpanelayout:1.0.0@aar" level="project" />
118
- <orderEntry type="library" name="Gradle: androidx.customview:customview:1.0.0@aar" level="project" />
119
- <orderEntry type="library" name="Gradle: androidx.swiperefreshlayout:swiperefreshlayout:1.0.0@aar" level="project" />
120
- <orderEntry type="library" name="Gradle: androidx.asynclayoutinflater:asynclayoutinflater:1.0.0@aar" level="project" />
121
- <orderEntry type="library" name="Gradle: androidx.core:core:1.0.1@aar" level="project" />
122
- <orderEntry type="library" name="Gradle: androidx.versionedparcelable:versionedparcelable:1.0.0@aar" level="project" />
123
- <orderEntry type="library" name="Gradle: androidx.cursoradapter:cursoradapter:1.0.0@aar" level="project" />
124
- <orderEntry type="library" name="Gradle: androidx.lifecycle:lifecycle-runtime:2.0.0@aar" level="project" />
125
- <orderEntry type="library" name="Gradle: androidx.documentfile:documentfile:1.0.0@aar" level="project" />
126
- <orderEntry type="library" name="Gradle: androidx.localbroadcastmanager:localbroadcastmanager:1.0.0@aar" level="project" />
127
- <orderEntry type="library" name="Gradle: androidx.print:print:1.0.0@aar" level="project" />
128
- <orderEntry type="library" name="Gradle: androidx.lifecycle:lifecycle-viewmodel:2.0.0@aar" level="project" />
129
- <orderEntry type="library" name="Gradle: androidx.lifecycle:lifecycle-livedata:2.0.0@aar" level="project" />
130
- <orderEntry type="library" name="Gradle: androidx.lifecycle:lifecycle-livedata-core:2.0.0@aar" level="project" />
131
- <orderEntry type="library" name="Gradle: androidx.arch.core:core-runtime:2.0.0@aar" level="project" />
132
- <orderEntry type="library" name="Gradle: androidx.interpolator:interpolator:1.0.0@aar" level="project" />
133
- <orderEntry type="library" name="Gradle: com.facebook.fresco:fresco:2.0.0@aar" level="project" />
134
- <orderEntry type="library" name="Gradle: com.facebook.fresco:fbcore:2.0.0@aar" level="project" />
135
- <orderEntry type="library" name="Gradle: com.facebook.fresco:drawee:2.0.0@aar" level="project" />
136
- <orderEntry type="library" name="Gradle: com.facebook.fresco:imagepipeline:2.0.0@aar" level="project" />
137
- <orderEntry type="library" name="Gradle: com.facebook.fresco:imagepipeline-base:2.0.0@aar" level="project" />
138
- <orderEntry type="library" name="Gradle: com.facebook.soloader:soloader:0.8.0@aar" level="project" />
139
- <orderEntry type="library" name="Gradle: com.facebook.soloader:annotation:0.8.0@aar" level="project" />
140
- <orderEntry type="library" name="Gradle: com.facebook.fresco:nativeimagefilters:2.0.0@aar" level="project" />
141
- <orderEntry type="library" name="Gradle: com.facebook.fresco:nativeimagetranscoder:2.0.0@aar" level="project" />
142
- <orderEntry type="library" name="Gradle: com.facebook.fresco:imagepipeline-okhttp3:2.0.0@aar" level="project" />
143
- </component>
144
- </module>
@@ -1,287 +0,0 @@
1
- import React, {Component} from 'react';
2
- import PropTypes from 'prop-types';
3
- import {
4
- StyleSheet,
5
- Platform,
6
- NativeModules,
7
- NativeEventEmitter,
8
- DeviceEventEmitter,
9
- processColor,
10
- BackHandler
11
- } from 'react-native';
12
- import KeyboardTrackingView from '../KeyboardTracking/KeyboardTrackingView';
13
- import CustomKeyboardView from './CustomKeyboardView';
14
- import KeyboardUtils from './utils/KeyboardUtils';
15
-
16
- const IsIOS = Platform.OS === 'ios';
17
- const IsAndroid = Platform.OS === 'android';
18
-
19
- const IOS_SCROLL_BEHAVIORS = IsIOS
20
- ? {
21
- NONE: NativeModules.KeyboardTrackingViewTempManager.KeyboardTrackingScrollBehaviorNone,
22
- SCROLL_TO_BOTTOM_INVERTED_ONLY:
23
- NativeModules.KeyboardTrackingViewTempManager.KeyboardTrackingScrollBehaviorScrollToBottomInvertedOnly,
24
- FIXED_OFFSET: NativeModules.KeyboardTrackingViewTempManager.KeyboardTrackingScrollBehaviorFixedOffset
25
- }
26
- : {};
27
-
28
- /**
29
- * @description: View that allows replacing the default keyboard with other components
30
- * @example: https://github.com/wix/react-native-ui-lib/blob/master/demo/src/screens/nativeComponentScreens/keyboardInput/KeyboardInputViewScreen.js
31
- */
32
- class KeyboardAccessoryView extends Component {
33
- static propTypes = {
34
- /**
35
- * Content to be rendered above the keyboard
36
- */
37
- renderContent: PropTypes.func,
38
- /**
39
- * A callback for when the height is changed
40
- */
41
- onHeightChanged: PropTypes.func,
42
- /**
43
- * iOS only.
44
- * The reference to the actual text input (or the keyboard may not reset when instructed to, etc.).
45
- * This is required.
46
- */
47
- kbInputRef: PropTypes.object,
48
- /**
49
- * The keyboard ID (the componentID sent to KeyboardRegistry)
50
- */
51
- kbComponent: PropTypes.string,
52
- /**
53
- * The props that will be sent to the KeyboardComponent
54
- */
55
- kbInitialProps: PropTypes.object,
56
- /**
57
- * Callback that will be called when an item on the keyboard has been pressed.
58
- */
59
- onItemSelected: PropTypes.func,
60
- /**
61
- * Callback that will be called if KeyboardRegistry.requestShowKeyboard is called.
62
- */
63
- onRequestShowKeyboard: PropTypes.func,
64
- /**
65
- * Callback that will be called once the keyboard has been closed
66
- */
67
- onKeyboardResigned: PropTypes.func,
68
- /**
69
- * iOS only.
70
- * The scrolling behavior, use KeyboardAccessoryView.iosScrollBehaviors.X where X is:
71
- * NONE, SCROLL_TO_BOTTOM_INVERTED_ONLY or FIXED_OFFSET
72
- *
73
- * default: FIXED_OFFSET
74
- */
75
- iOSScrollBehavior: PropTypes.number,
76
- /**
77
- * iOS only.
78
- * Show the keyboard on a negative scroll
79
- *
80
- * default: false
81
- */
82
- revealKeyboardInteractive: PropTypes.bool,
83
- /**
84
- * iOS only.
85
- * Set to false to turn off inset management and manage it yourself
86
- *
87
- * default: true
88
- */
89
- manageScrollView: PropTypes.bool,
90
- /**
91
- * iOS only.
92
- * Set to true manageScrollView is set to true and still does not work,
93
- * it means that the ScrollView found is the wrong one and you'll have
94
- * to have the KeyboardAccessoryView and the ScrollView as siblings
95
- * and set this to true
96
- *
97
- * default: false
98
- */
99
- requiresSameParentToManageScrollView: PropTypes.bool,
100
- /**
101
- * iOS only.
102
- * Add a (white) SafeArea view beneath the KeyboardAccessoryView
103
- *
104
- * default: false
105
- */
106
- addBottomView: PropTypes.bool,
107
- /**
108
- * iOS only.
109
- * Allow hitting sub-views that are placed beyond the view bounds
110
- *
111
- * default: false
112
- */
113
- allowHitsOutsideBounds: PropTypes.bool,
114
-
115
- /**
116
- * iOS only.
117
- * Whether or not to handle SafeArea
118
- * default: true
119
- */
120
- useSafeArea: PropTypes.bool
121
- };
122
-
123
- static iosScrollBehaviors = IOS_SCROLL_BEHAVIORS;
124
-
125
- static defaultProps = {
126
- iOSScrollBehavior: -1,
127
- revealKeyboardInteractive: false,
128
- manageScrollView: true,
129
- requiresSameParentToManageScrollView: false,
130
- addBottomView: false,
131
- allowHitsOutsideBounds: false
132
- };
133
-
134
- constructor(props) {
135
- super(props);
136
-
137
- this.onContainerComponentHeightChanged = this.onContainerComponentHeightChanged.bind(this);
138
- this.processInitialProps = this.processInitialProps.bind(this);
139
- this.registerForKeyboardResignedEvent = this.registerForKeyboardResignedEvent.bind(this);
140
- this.registerAndroidBackHandler = this.registerAndroidBackHandler.bind(this);
141
- this.onAndroidBackPressed = this.onAndroidBackPressed.bind(this);
142
-
143
- this.registerForKeyboardResignedEvent();
144
- this.registerAndroidBackHandler();
145
- }
146
-
147
- componentWillUnmount() {
148
- if (this.customInputControllerEventsSubscriber) {
149
- this.customInputControllerEventsSubscriber.remove();
150
- }
151
- if (IsAndroid) {
152
- BackHandler.removeEventListener('hardwareBackPress', this.onAndroidBackPressed);
153
- }
154
- }
155
-
156
- onContainerComponentHeightChanged(event) {
157
- const {onHeightChanged} = this.props;
158
-
159
- if (onHeightChanged) {
160
- onHeightChanged(event.nativeEvent.layout.height);
161
- }
162
- }
163
-
164
- onAndroidBackPressed() {
165
- const {kbComponent} = this.props;
166
-
167
- if (kbComponent) {
168
- KeyboardUtils.dismiss();
169
- return true;
170
- }
171
- return false;
172
- }
173
-
174
- getIOSTrackingScrollBehavior() {
175
- const {iOSScrollBehavior} = this.props;
176
-
177
- let scrollBehavior = iOSScrollBehavior;
178
- if (IsIOS && scrollBehavior === -1) {
179
- scrollBehavior = KeyboardAccessoryView.iosScrollBehaviors.FIXED_OFFSET;
180
- }
181
- return scrollBehavior;
182
- }
183
-
184
- async getNativeProps() {
185
- if (this.trackingViewRef) {
186
- return await this.trackingViewRef.getNativeProps();
187
- }
188
- return {};
189
- }
190
-
191
- registerForKeyboardResignedEvent() {
192
- const {onKeyboardResigned} = this.props;
193
- let eventEmitter = null;
194
- if (IsIOS) {
195
- if (NativeModules.CustomInputControllerTemp) {
196
- eventEmitter = new NativeEventEmitter(NativeModules.CustomInputControllerTemp);
197
- }
198
- } else {
199
- eventEmitter = DeviceEventEmitter;
200
- }
201
-
202
- if (eventEmitter !== null) {
203
- this.customInputControllerEventsSubscriber = eventEmitter.addListener('kbdResigned', () => {
204
- if (onKeyboardResigned) {
205
- onKeyboardResigned();
206
- }
207
- });
208
- }
209
- }
210
-
211
- registerAndroidBackHandler() {
212
- if (IsAndroid) {
213
- BackHandler.addEventListener('hardwareBackPress', this.onAndroidBackPressed);
214
- }
215
- }
216
-
217
- processInitialProps() {
218
- const {kbInitialProps} = this.props;
219
-
220
- if (IsIOS && kbInitialProps && kbInitialProps.backgroundColor) {
221
- const processedProps = Object.assign({}, kbInitialProps);
222
- processedProps.backgroundColor = processColor(processedProps.backgroundColor);
223
- return processedProps;
224
- }
225
-
226
- return kbInitialProps;
227
- }
228
-
229
- scrollToStart() {
230
- if (this.trackingViewRef) {
231
- this.trackingViewRef.scrollToStart();
232
- }
233
- }
234
-
235
- render() {
236
- const {
237
- revealKeyboardInteractive,
238
- manageScrollView,
239
- requiresSameParentToManageScrollView,
240
- addBottomView,
241
- allowHitsOutsideBounds,
242
- renderContent,
243
- kbInputRef,
244
- kbComponent,
245
- onItemSelected,
246
- onRequestShowKeyboard,
247
- useSafeArea
248
- } = this.props;
249
-
250
- return (
251
- <KeyboardTrackingView
252
- ref={r => (this.trackingViewRef = r)}
253
- style={styles.trackingToolbarContainer}
254
- onLayout={this.onContainerComponentHeightChanged}
255
- scrollBehavior={this.getIOSTrackingScrollBehavior()}
256
- revealKeyboardInteractive={revealKeyboardInteractive}
257
- manageScrollView={manageScrollView}
258
- requiresSameParentToManageScrollView={requiresSameParentToManageScrollView}
259
- addBottomView={addBottomView}
260
- allowHitsOutsideBounds={allowHitsOutsideBounds}
261
- >
262
- {renderContent && renderContent()}
263
- <CustomKeyboardView
264
- inputRef={kbInputRef}
265
- component={kbComponent}
266
- initialProps={this.processInitialProps()}
267
- onItemSelected={onItemSelected}
268
- onRequestShowKeyboard={onRequestShowKeyboard}
269
- useSafeArea={useSafeArea}
270
- />
271
- </KeyboardTrackingView>
272
- );
273
- }
274
- }
275
-
276
- const styles = StyleSheet.create({
277
- trackingToolbarContainer: {
278
- ...Platform.select({
279
- ios: {
280
- ...StyleSheet.absoluteFillObject,
281
- top: undefined
282
- }
283
- })
284
- }
285
- });
286
-
287
- export default KeyboardAccessoryView;
@@ -1,7 +0,0 @@
1
- import KeyboardTrackingView from './KeyboardTracking/KeyboardTrackingView';
2
- import KeyboardAwareInsetsView from './KeyboardTracking/KeyboardAwareInsetsView';
3
- import KeyboardRegistry from './KeyboardInput/KeyboardRegistry';
4
- import KeyboardAccessoryView from './KeyboardInput/KeyboardAccessoryView';
5
- import KeyboardUtils from './KeyboardInput/utils/KeyboardUtils';
6
-
7
- export default {KeyboardTrackingView, KeyboardAwareInsetsView, KeyboardRegistry, KeyboardAccessoryView, KeyboardUtils};
@@ -1,16 +0,0 @@
1
- import React from 'react';
2
- import PropTypes from 'prop-types';
3
- import {View, requireNativeComponent} from 'react-native';
4
-
5
- const NativeSafeAreaSpacerView = requireNativeComponent('SafeAreaSpacerView', null);
6
-
7
- const SafeAreaSpacerView = ({style}) => {
8
- return (
9
- NativeSafeAreaSpacerView ? <NativeSafeAreaSpacerView style={style}/> : <View style={style}/>
10
- );
11
- };
12
- SafeAreaSpacerView.propTypes = {
13
- style: PropTypes.oneOfType([PropTypes.object, PropTypes.number, PropTypes.array]),
14
- };
15
-
16
- export default SafeAreaSpacerView;
@@ -1,21 +0,0 @@
1
- import React, {Component} from 'react'; //eslint-disable-line
2
- import PropTypes from 'prop-types';
3
-
4
- export default class WheelPickerItem extends Component {
5
- // eslint-disable-line react/no-multi-comp
6
- static propTypes = {
7
- /**
8
- * the picker item value
9
- */
10
- value: PropTypes.PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
11
- /**
12
- * the picker item display label
13
- */
14
- label: PropTypes.string,
15
- };
16
-
17
- render() {
18
- // These items don't get rendered directly.
19
- return null;
20
- }
21
- }
@@ -1,17 +0,0 @@
1
- module.exports = {
2
- get HighlighterOverlayView() {
3
- return require('./HighlighterOverlayView').default;
4
- },
5
- get SafeAreaSpacerView() {
6
- return require('./SafeArea/SafeAreaSpacerView').default;
7
- },
8
- get WheelPicker() {
9
- return require('./WheelPicker').default;
10
- },
11
- get SafeAreaInsetsManager() {
12
- return require('./SafeArea/SafeAreaInsetsManager').default;
13
- },
14
- get Keyboard() {
15
- return require('./Keyboard');
16
- }
17
- };