react-native-external-keyboard 0.9.1 → 0.11.1

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 (369) hide show
  1. package/README.md +95 -600
  2. package/android/build.gradle +0 -18
  3. package/android/src/main/java/com/externalkeyboard/events/EventHelper.java +10 -13
  4. package/android/src/main/java/com/externalkeyboard/helper/FocusHelper.java +1 -2
  5. package/android/src/main/java/com/externalkeyboard/services/FocusMemoryService.java +64 -0
  6. package/android/src/main/java/com/externalkeyboard/services/KeyboardFocusService.java +41 -0
  7. package/android/src/main/java/com/externalkeyboard/views/ExternalKeyboardView/ExternalKeyboardView.java +2 -8
  8. package/android/src/main/java/com/externalkeyboard/views/ExternalKeyboardView/ExternalKeyboardViewManager.java +20 -13
  9. package/android/src/main/java/com/externalkeyboard/views/TextInputFocusWrapper/TextInputFocusWrapper.java +99 -21
  10. package/android/src/main/java/com/externalkeyboard/views/TextInputFocusWrapper/TextInputFocusWrapperManager.java +11 -0
  11. package/android/src/main/java/com/externalkeyboard/views/base/FocusHighlightBase.java +11 -5
  12. package/android/src/main/java/com/externalkeyboard/views/base/FocusableBase.java +54 -0
  13. package/android/src/main/java/com/externalkeyboard/views/base/keyboard/ViewFocusChangeBase.java +2 -3
  14. package/android/src/main/java/com/externalkeyboard/views/base/keyboard/ViewFocusRequestBase.java +10 -61
  15. package/android/src/newarch/ExternalKeyboardLockViewManagerInterface.java +11 -0
  16. package/android/src/newarch/ExternalKeyboardLockViewManagerSpec.java +0 -1
  17. package/android/src/newarch/ExternalKeyboardViewManagerInterface.java +42 -0
  18. package/android/src/newarch/ExternalKeyboardViewManagerSpec.java +0 -1
  19. package/android/src/newarch/KeyboardFocusGroupManagerInterface.java +12 -0
  20. package/android/src/newarch/KeyboardFocusGroupManagerSpec.java +0 -1
  21. package/android/src/newarch/TextInputFocusWrapperManagerInterface.java +34 -0
  22. package/android/src/newarch/TextInputFocusWrapperManagerSpec.java +0 -7
  23. package/android/src/newarch/helper/ReactNativeEventDispatcher.java +28 -0
  24. package/android/src/oldarch/ExternalKeyboardViewManagerSpec.java +6 -4
  25. package/android/src/oldarch/TextInputFocusWrapperManagerSpec.java +4 -0
  26. package/android/src/oldarch/helper/ReactNativeEventDispatcher.java +15 -0
  27. package/ios/Delegates/RNCEKVFocusDelegate/RNCEKVFocusDelegate.mm +1 -1
  28. package/ios/Delegates/RNCEKVFocusDelegate/RNCEKVFocusProtocol.h +1 -1
  29. package/ios/Delegates/RNCEKVHaloDelegate/RNCEKVHaloDelegate.h +2 -1
  30. package/ios/Delegates/RNCEKVHaloDelegate/RNCEKVHaloDelegate.mm +41 -5
  31. package/ios/Delegates/RNCEKVHaloDelegate/RNCEKVHaloProtocol.h +1 -0
  32. package/ios/Extensions/RCTCustomScrollView+RNCEKVExternalKeyboard.mm +5 -6
  33. package/ios/Extensions/RCTEnhancedScrollView+RNCEKVExternalKeyboard.mm +8 -9
  34. package/ios/Extensions/RCTTextInputComponentView+RNCEKVExternalKeyboard.mm +1 -1
  35. package/ios/Extensions/RCTViewComponentView+RNCEKVExternalKeyboard.h +0 -1
  36. package/ios/Extensions/RCTViewComponentView+RNCEKVExternalKeyboard.mm +16 -4
  37. package/ios/Extensions/UIViewController+RNCEKVExternalKeyboard.mm +7 -10
  38. package/ios/Helpers/RNCEKVNativeProps/RNCEKVNativeProps.h +4 -4
  39. package/ios/Helpers/RNCEKVSwizzleInstanceMethod/RNCEKVSwizzleInstanceMethod.h +19 -0
  40. package/ios/Protocols/RNCEKVCustomFocusEffectProtocol.h +1 -1
  41. package/ios/Services/RNCEKVFocusMemoryService.h +39 -0
  42. package/ios/Services/RNCEKVFocusMemoryService.mm +42 -0
  43. package/ios/Services/RNCEKVKeyboardFocusService.h +28 -0
  44. package/ios/Services/RNCEKVKeyboardFocusService.mm +54 -0
  45. package/ios/Views/Base/FocusChange/RNCEKVViewFocusChangeBase.h +2 -0
  46. package/ios/Views/Base/FocusChange/RNCEKVViewFocusChangeBase.mm +12 -10
  47. package/ios/Views/Base/FocusRequest/RNCEKVViewFocusRequestBase.h +1 -1
  48. package/ios/Views/Base/FocusRequest/RNCEKVViewFocusRequestBase.mm +6 -17
  49. package/ios/Views/Base/KeyboardHallo/RNCEKVExternalKeyboardHalloBase.h +1 -0
  50. package/ios/Views/Base/KeyboardHallo/RNCEKVExternalKeyboardHalloBase.mm +146 -6
  51. package/ios/Views/Base/ViewGroup/RNCEKVViewGroupBase.h +2 -0
  52. package/ios/Views/Base/ViewGroup/RNCEKVViewGroupBase.mm +4 -0
  53. package/ios/Views/RNCEKVExternalKeyboardView/RNCEKVExternalKeyboardView.h +1 -1
  54. package/ios/Views/RNCEKVExternalKeyboardView/RNCEKVExternalKeyboardView.mm +8 -4
  55. package/ios/Views/RNCEKVExternalKeyboardView/RNCEKVExternalKeyboardViewManager.mm +22 -11
  56. package/ios/Views/RNCEKVTextInputFocusWrapper/RNCEKVTextInputFocusWrapper.mm +17 -0
  57. package/ios/Views/RNCEKVTextInputFocusWrapper/RNCEKVTextInputFocusWrapperManager.mm +12 -0
  58. package/lib/commonjs/components/BaseKeyboardView/BaseKeyboardView.js +67 -65
  59. package/lib/commonjs/components/BaseKeyboardView/BaseKeyboardView.js.map +1 -1
  60. package/lib/commonjs/components/KeyboardExtendedInput/KeyboardExtendedInput.js +49 -97
  61. package/lib/commonjs/components/KeyboardExtendedInput/KeyboardExtendedInput.js.map +1 -1
  62. package/lib/commonjs/components/KeyboardFocusGroup/KeyboardFocusGroup.android.js.map +1 -1
  63. package/lib/commonjs/components/KeyboardFocusGroup/KeyboardFocusGroup.ios.js.map +1 -1
  64. package/lib/commonjs/components/KeyboardFocusGroup/KeyboardFocusGroup.js.map +1 -1
  65. package/lib/commonjs/components/{KeyboardExtendedInput/KeyboardExtendedInput.types.js → KeyboardFocusGroup/KeyboardFocusGroup.types.js} +1 -1
  66. package/lib/commonjs/components/KeyboardFocusGroup/KeyboardFocusGroup.types.js.map +1 -0
  67. package/lib/commonjs/components/KeyboardFocusLock/FocusFrame/FocusFrame.android.js +2 -1
  68. package/lib/commonjs/components/KeyboardFocusLock/FocusFrame/FocusFrame.android.js.map +1 -1
  69. package/lib/commonjs/components/KeyboardFocusLock/FocusTrap/FocusTrap.android.js +2 -1
  70. package/lib/commonjs/components/KeyboardFocusLock/FocusTrap/FocusTrap.android.js.map +1 -1
  71. package/lib/commonjs/components/KeyboardFocusLock/KeyboardFocusLockBase/KeyboardFocusLockBase.js +2 -1
  72. package/lib/commonjs/components/KeyboardFocusLock/KeyboardFocusLockBase/KeyboardFocusLockBase.js.map +1 -1
  73. package/lib/commonjs/components/KeyboardFocusView/KeyboardFocusView.js +14 -51
  74. package/lib/commonjs/components/KeyboardFocusView/KeyboardFocusView.js.map +1 -1
  75. package/lib/commonjs/components/index.js +47 -0
  76. package/lib/commonjs/components/index.js.map +1 -1
  77. package/lib/commonjs/index.js +37 -19
  78. package/lib/commonjs/index.js.map +1 -1
  79. package/lib/commonjs/nativeSpec/ExternalKeyboardViewNativeComponent.ts +6 -4
  80. package/lib/commonjs/nativeSpec/TextInputFocusWrapperNativeComponent.ts +2 -0
  81. package/lib/commonjs/types/KeyboardFocusLock.types.js +13 -0
  82. package/lib/commonjs/types/KeyboardFocusLock.types.js.map +1 -1
  83. package/lib/commonjs/types/baseKeyboardView.types.js +6 -0
  84. package/lib/commonjs/types/baseKeyboardView.types.js.map +1 -0
  85. package/lib/commonjs/types/{FocusStyle.js → focus.types.js} +1 -1
  86. package/lib/commonjs/types/{FocusStyle.js.map → focus.types.js.map} +1 -1
  87. package/lib/commonjs/types/focusOrder.types.js +33 -0
  88. package/lib/commonjs/types/focusOrder.types.js.map +1 -0
  89. package/lib/commonjs/types/{WithKeyboardFocus.js → focusStyle.types.js} +1 -1
  90. package/lib/commonjs/types/{WithKeyboardFocus.js.map → focusStyle.types.js.map} +1 -1
  91. package/lib/commonjs/types/index.js +18 -0
  92. package/lib/commonjs/types/index.js.map +1 -1
  93. package/lib/commonjs/types/keyPress.types.js +6 -0
  94. package/lib/{module/types/WithKeyboardFocus.js.map → commonjs/types/keyPress.types.js.map} +1 -1
  95. package/lib/commonjs/types/keyboardInput.types.js +6 -0
  96. package/lib/commonjs/types/keyboardInput.types.js.map +1 -0
  97. package/lib/commonjs/types/withKeyboardFocus.types.js +6 -0
  98. package/lib/commonjs/types/withKeyboardFocus.types.js.map +1 -0
  99. package/lib/commonjs/utils/mapLockFocus.js +37 -0
  100. package/lib/commonjs/utils/mapLockFocus.js.map +1 -0
  101. package/lib/commonjs/utils/useFocusStyle.js +4 -21
  102. package/lib/commonjs/utils/useFocusStyle.js.map +1 -1
  103. package/lib/commonjs/utils/useKeyboardFocusContainer.js +79 -0
  104. package/lib/commonjs/utils/useKeyboardFocusContainer.js.map +1 -0
  105. package/lib/commonjs/utils/useKeyboardPress/useKeyboardPress.android.js +4 -7
  106. package/lib/commonjs/utils/useKeyboardPress/useKeyboardPress.android.js.map +1 -1
  107. package/lib/commonjs/utils/useKeyboardPress/useKeyboardPress.ios.js +3 -6
  108. package/lib/commonjs/utils/useKeyboardPress/useKeyboardPress.ios.js.map +1 -1
  109. package/lib/commonjs/utils/useKeyboardPress/useKeyboardPress.js +9 -7
  110. package/lib/commonjs/utils/useKeyboardPress/useKeyboardPress.js.map +1 -1
  111. package/lib/commonjs/utils/useKeyboardPressState.js +65 -0
  112. package/lib/commonjs/utils/useKeyboardPressState.js.map +1 -0
  113. package/lib/commonjs/utils/useOnFocusChange.js +1 -1
  114. package/lib/commonjs/utils/useOnFocusChange.js.map +1 -1
  115. package/lib/commonjs/utils/useOrderValidation.js +35 -0
  116. package/lib/commonjs/utils/useOrderValidation.js.map +1 -0
  117. package/lib/commonjs/utils/useRenderedChildren.js +34 -0
  118. package/lib/commonjs/utils/useRenderedChildren.js.map +1 -0
  119. package/lib/commonjs/utils/useWrappedOrderProps.js +35 -0
  120. package/lib/commonjs/utils/useWrappedOrderProps.js.map +1 -0
  121. package/lib/commonjs/utils/withKeyboardFocus.js +81 -96
  122. package/lib/commonjs/utils/withKeyboardFocus.js.map +1 -1
  123. package/lib/module/components/BaseKeyboardView/BaseKeyboardView.js +57 -55
  124. package/lib/module/components/BaseKeyboardView/BaseKeyboardView.js.map +1 -1
  125. package/lib/module/components/KeyboardExtendedInput/KeyboardExtendedInput.js +51 -99
  126. package/lib/module/components/KeyboardExtendedInput/KeyboardExtendedInput.js.map +1 -1
  127. package/lib/module/components/KeyboardFocusGroup/KeyboardFocusGroup.android.js.map +1 -1
  128. package/lib/module/components/KeyboardFocusGroup/KeyboardFocusGroup.ios.js.map +1 -1
  129. package/lib/module/components/KeyboardFocusGroup/KeyboardFocusGroup.js.map +1 -1
  130. package/lib/module/components/KeyboardFocusGroup/KeyboardFocusGroup.types.js +4 -0
  131. package/lib/module/components/KeyboardFocusGroup/KeyboardFocusGroup.types.js.map +1 -0
  132. package/lib/module/components/KeyboardFocusLock/FocusFrame/FocusFrame.android.js +2 -1
  133. package/lib/module/components/KeyboardFocusLock/FocusFrame/FocusFrame.android.js.map +1 -1
  134. package/lib/module/components/KeyboardFocusLock/FocusTrap/FocusTrap.android.js +2 -1
  135. package/lib/module/components/KeyboardFocusLock/FocusTrap/FocusTrap.android.js.map +1 -1
  136. package/lib/module/components/KeyboardFocusLock/KeyboardFocusLockBase/KeyboardFocusLockBase.js +2 -1
  137. package/lib/module/components/KeyboardFocusLock/KeyboardFocusLockBase/KeyboardFocusLockBase.js.map +1 -1
  138. package/lib/module/components/KeyboardFocusView/KeyboardFocusView.js +16 -53
  139. package/lib/module/components/KeyboardFocusView/KeyboardFocusView.js.map +1 -1
  140. package/lib/module/components/index.js +5 -0
  141. package/lib/module/components/index.js.map +1 -1
  142. package/lib/module/index.js +20 -7
  143. package/lib/module/index.js.map +1 -1
  144. package/lib/module/nativeSpec/ExternalKeyboardViewNativeComponent.ts +6 -4
  145. package/lib/module/nativeSpec/TextInputFocusWrapperNativeComponent.ts +2 -0
  146. package/lib/module/types/KeyboardFocusLock.types.js +12 -1
  147. package/lib/module/types/KeyboardFocusLock.types.js.map +1 -1
  148. package/lib/module/types/baseKeyboardView.types.js +4 -0
  149. package/lib/module/types/baseKeyboardView.types.js.map +1 -0
  150. package/lib/module/types/focus.types.js +4 -0
  151. package/lib/module/types/{FocusStyle.js.map → focus.types.js.map} +1 -1
  152. package/lib/module/types/focusOrder.types.js +31 -0
  153. package/lib/module/types/focusOrder.types.js.map +1 -0
  154. package/lib/module/types/focusStyle.types.js +4 -0
  155. package/lib/module/types/focusStyle.types.js.map +1 -0
  156. package/lib/module/types/index.js +3 -0
  157. package/lib/module/types/index.js.map +1 -1
  158. package/lib/module/types/keyPress.types.js +4 -0
  159. package/lib/module/types/keyPress.types.js.map +1 -0
  160. package/lib/module/types/keyboardInput.types.js +4 -0
  161. package/lib/module/types/keyboardInput.types.js.map +1 -0
  162. package/lib/module/types/withKeyboardFocus.types.js +4 -0
  163. package/lib/module/types/withKeyboardFocus.types.js.map +1 -0
  164. package/lib/module/utils/mapLockFocus.js +32 -0
  165. package/lib/module/utils/mapLockFocus.js.map +1 -0
  166. package/lib/module/utils/useFocusStyle.js +4 -21
  167. package/lib/module/utils/useFocusStyle.js.map +1 -1
  168. package/lib/module/utils/useKeyboardFocusContainer.js +74 -0
  169. package/lib/module/utils/useKeyboardFocusContainer.js.map +1 -0
  170. package/lib/module/utils/useKeyboardPress/useKeyboardPress.android.js +4 -7
  171. package/lib/module/utils/useKeyboardPress/useKeyboardPress.android.js.map +1 -1
  172. package/lib/module/utils/useKeyboardPress/useKeyboardPress.ios.js +3 -6
  173. package/lib/module/utils/useKeyboardPress/useKeyboardPress.ios.js.map +1 -1
  174. package/lib/module/utils/useKeyboardPress/useKeyboardPress.js +9 -7
  175. package/lib/module/utils/useKeyboardPress/useKeyboardPress.js.map +1 -1
  176. package/lib/module/utils/useKeyboardPressState.js +60 -0
  177. package/lib/module/utils/useKeyboardPressState.js.map +1 -0
  178. package/lib/module/utils/useOnFocusChange.js +1 -1
  179. package/lib/module/utils/useOnFocusChange.js.map +1 -1
  180. package/lib/module/utils/useOrderValidation.js +30 -0
  181. package/lib/module/utils/useOrderValidation.js.map +1 -0
  182. package/lib/module/utils/useRenderedChildren.js +29 -0
  183. package/lib/module/utils/useRenderedChildren.js.map +1 -0
  184. package/lib/module/utils/useWrappedOrderProps.js +30 -0
  185. package/lib/module/utils/useWrappedOrderProps.js.map +1 -0
  186. package/lib/module/utils/withKeyboardFocus.js +84 -99
  187. package/lib/module/utils/withKeyboardFocus.js.map +1 -1
  188. package/lib/typescript/src/components/BaseKeyboardView/BaseKeyboardView.d.ts +19 -125
  189. package/lib/typescript/src/components/BaseKeyboardView/BaseKeyboardView.d.ts.map +1 -1
  190. package/lib/typescript/src/components/KeyboardExtendedInput/KeyboardExtendedInput.d.ts +13 -204
  191. package/lib/typescript/src/components/KeyboardExtendedInput/KeyboardExtendedInput.d.ts.map +1 -1
  192. package/lib/typescript/src/components/KeyboardFocusGroup/KeyboardFocusGroup.android.d.ts +4 -146
  193. package/lib/typescript/src/components/KeyboardFocusGroup/KeyboardFocusGroup.android.d.ts.map +1 -1
  194. package/lib/typescript/src/components/KeyboardFocusGroup/KeyboardFocusGroup.d.ts +2 -12
  195. package/lib/typescript/src/components/KeyboardFocusGroup/KeyboardFocusGroup.d.ts.map +1 -1
  196. package/lib/typescript/src/components/KeyboardFocusGroup/KeyboardFocusGroup.ios.d.ts +4 -146
  197. package/lib/typescript/src/components/KeyboardFocusGroup/KeyboardFocusGroup.ios.d.ts.map +1 -1
  198. package/lib/typescript/src/components/KeyboardFocusGroup/KeyboardFocusGroup.types.d.ts +13 -0
  199. package/lib/typescript/src/components/KeyboardFocusGroup/KeyboardFocusGroup.types.d.ts.map +1 -0
  200. package/lib/typescript/src/components/KeyboardFocusLock/FocusFrame/FocusFrame.android.d.ts +1 -1
  201. package/lib/typescript/src/components/KeyboardFocusLock/FocusFrame/FocusFrame.android.d.ts.map +1 -1
  202. package/lib/typescript/src/components/KeyboardFocusLock/FocusFrame/FocusFrame.d.ts +1 -1
  203. package/lib/typescript/src/components/KeyboardFocusLock/FocusFrame/FocusFrame.d.ts.map +1 -1
  204. package/lib/typescript/src/components/KeyboardFocusLock/FocusTrap/FocusTrap.android.d.ts +1 -1
  205. package/lib/typescript/src/components/KeyboardFocusLock/FocusTrap/FocusTrap.android.d.ts.map +1 -1
  206. package/lib/typescript/src/components/KeyboardFocusLock/FocusTrap/FocusTrap.d.ts +2 -2
  207. package/lib/typescript/src/components/KeyboardFocusLock/FocusTrap/FocusTrap.d.ts.map +1 -1
  208. package/lib/typescript/src/components/KeyboardFocusLock/KeyboardFocusLockBase/KeyboardFocusLockBase.d.ts +1 -1
  209. package/lib/typescript/src/components/KeyboardFocusLock/KeyboardFocusLockBase/KeyboardFocusLockBase.d.ts.map +1 -1
  210. package/lib/typescript/src/components/KeyboardFocusView/KeyboardFocusView.d.ts +20 -133
  211. package/lib/typescript/src/components/KeyboardFocusView/KeyboardFocusView.d.ts.map +1 -1
  212. package/lib/typescript/src/components/Touchable/Pressable.d.ts +3 -160
  213. package/lib/typescript/src/components/Touchable/Pressable.d.ts.map +1 -1
  214. package/lib/typescript/src/components/index.d.ts +5 -0
  215. package/lib/typescript/src/components/index.d.ts.map +1 -1
  216. package/lib/typescript/src/context/OrderFocusContext.d.ts +1 -1
  217. package/lib/typescript/src/context/OrderFocusContext.d.ts.map +1 -1
  218. package/lib/typescript/src/index.d.ts +48 -10
  219. package/lib/typescript/src/index.d.ts.map +1 -1
  220. package/lib/typescript/src/nativeSpec/ExternalKeyboardLockViewNativeComponent.d.ts +1 -3
  221. package/lib/typescript/src/nativeSpec/ExternalKeyboardLockViewNativeComponent.d.ts.map +1 -1
  222. package/lib/typescript/src/nativeSpec/ExternalKeyboardViewNativeComponent.d.ts +5 -6
  223. package/lib/typescript/src/nativeSpec/ExternalKeyboardViewNativeComponent.d.ts.map +1 -1
  224. package/lib/typescript/src/nativeSpec/KeyboardFocusGroupNativeComponent.d.ts +1 -3
  225. package/lib/typescript/src/nativeSpec/KeyboardFocusGroupNativeComponent.d.ts.map +1 -1
  226. package/lib/typescript/src/nativeSpec/NativeExternalKeyboardModule.d.ts +1 -1
  227. package/lib/typescript/src/nativeSpec/TextInputFocusWrapperNativeComponent.d.ts +3 -3
  228. package/lib/typescript/src/nativeSpec/TextInputFocusWrapperNativeComponent.d.ts.map +1 -1
  229. package/lib/typescript/src/types/KeyboardFocusLock.types.d.ts +15 -1
  230. package/lib/typescript/src/types/KeyboardFocusLock.types.d.ts.map +1 -1
  231. package/lib/typescript/src/types/KeyboardFocusView.types.d.ts +16 -14
  232. package/lib/typescript/src/types/KeyboardFocusView.types.d.ts.map +1 -1
  233. package/lib/typescript/src/types/baseKeyboardView.types.d.ts +119 -0
  234. package/lib/typescript/src/types/baseKeyboardView.types.d.ts.map +1 -0
  235. package/lib/typescript/src/types/focus.types.d.ts +44 -0
  236. package/lib/typescript/src/types/focus.types.d.ts.map +1 -0
  237. package/lib/typescript/src/types/focusOrder.types.d.ts +57 -0
  238. package/lib/typescript/src/types/focusOrder.types.d.ts.map +1 -0
  239. package/lib/typescript/src/types/focusStyle.types.d.ts +11 -0
  240. package/lib/typescript/src/types/focusStyle.types.d.ts.map +1 -0
  241. package/lib/typescript/src/types/index.d.ts +11 -2
  242. package/lib/typescript/src/types/index.d.ts.map +1 -1
  243. package/lib/typescript/src/types/keyPress.types.d.ts +7 -0
  244. package/lib/typescript/src/types/keyPress.types.d.ts.map +1 -0
  245. package/lib/typescript/src/types/keyboardInput.types.d.ts +53 -0
  246. package/lib/typescript/src/types/keyboardInput.types.d.ts.map +1 -0
  247. package/lib/typescript/src/types/withKeyboardFocus.types.d.ts +109 -0
  248. package/lib/typescript/src/types/withKeyboardFocus.types.d.ts.map +1 -0
  249. package/lib/typescript/src/utils/mapLockFocus.d.ts +3 -0
  250. package/lib/typescript/src/utils/mapLockFocus.d.ts.map +1 -0
  251. package/lib/typescript/src/utils/useFocusStyle.d.ts +7 -1017
  252. package/lib/typescript/src/utils/useFocusStyle.d.ts.map +1 -1
  253. package/lib/typescript/src/utils/useKeyboardFocusContainer.d.ts +34 -0
  254. package/lib/typescript/src/utils/useKeyboardFocusContainer.d.ts.map +1 -0
  255. package/lib/typescript/src/utils/useKeyboardPress/useKeyboardPress.android.d.ts +2 -2
  256. package/lib/typescript/src/utils/useKeyboardPress/useKeyboardPress.android.d.ts.map +1 -1
  257. package/lib/typescript/src/utils/useKeyboardPress/useKeyboardPress.d.ts +4 -3
  258. package/lib/typescript/src/utils/useKeyboardPress/useKeyboardPress.d.ts.map +1 -1
  259. package/lib/typescript/src/utils/useKeyboardPress/useKeyboardPress.ios.d.ts +3 -3
  260. package/lib/typescript/src/utils/useKeyboardPress/useKeyboardPress.ios.d.ts.map +1 -1
  261. package/lib/typescript/src/utils/useKeyboardPress/useKeyboardPress.types.d.ts +1 -2
  262. package/lib/typescript/src/utils/useKeyboardPress/useKeyboardPress.types.d.ts.map +1 -1
  263. package/lib/typescript/src/utils/useKeyboardPressState.d.ts +29 -0
  264. package/lib/typescript/src/utils/useKeyboardPressState.d.ts.map +1 -0
  265. package/lib/typescript/src/utils/useOnFocusChange.d.ts +3 -3
  266. package/lib/typescript/src/utils/useOnFocusChange.d.ts.map +1 -1
  267. package/lib/typescript/src/utils/useOrderValidation.d.ts +8 -0
  268. package/lib/typescript/src/utils/useOrderValidation.d.ts.map +1 -0
  269. package/lib/typescript/src/utils/useRenderedChildren.d.ts +18 -0
  270. package/lib/typescript/src/utils/useRenderedChildren.d.ts.map +1 -0
  271. package/lib/typescript/src/utils/useWrappedOrderProps.d.ts +13 -0
  272. package/lib/typescript/src/utils/useWrappedOrderProps.d.ts.map +1 -0
  273. package/lib/typescript/src/utils/withKeyboardFocus.d.ts +3 -8
  274. package/lib/typescript/src/utils/withKeyboardFocus.d.ts.map +1 -1
  275. package/package.json +10 -5
  276. package/src/components/BaseKeyboardView/BaseKeyboardView.tsx +74 -94
  277. package/src/components/KeyboardExtendedInput/KeyboardExtendedInput.tsx +49 -149
  278. package/src/components/KeyboardFocusGroup/KeyboardFocusGroup.android.tsx +23 -32
  279. package/src/components/KeyboardFocusGroup/KeyboardFocusGroup.ios.tsx +32 -41
  280. package/src/components/KeyboardFocusGroup/KeyboardFocusGroup.tsx +3 -14
  281. package/src/components/KeyboardFocusGroup/KeyboardFocusGroup.types.ts +15 -0
  282. package/src/components/KeyboardFocusLock/FocusFrame/FocusFrame.android.tsx +2 -2
  283. package/src/components/KeyboardFocusLock/FocusTrap/FocusTrap.android.tsx +2 -2
  284. package/src/components/KeyboardFocusLock/FocusTrap/FocusTrap.tsx +1 -1
  285. package/src/components/KeyboardFocusLock/KeyboardFocusLockBase/KeyboardFocusLockBase.tsx +2 -2
  286. package/src/components/KeyboardFocusView/KeyboardFocusView.tsx +29 -68
  287. package/src/components/Touchable/Pressable.tsx +2 -2
  288. package/src/components/index.ts +12 -0
  289. package/src/index.tsx +44 -32
  290. package/src/nativeSpec/ExternalKeyboardViewNativeComponent.ts +6 -4
  291. package/src/nativeSpec/TextInputFocusWrapperNativeComponent.ts +2 -0
  292. package/src/types/KeyboardFocusLock.types.ts +16 -1
  293. package/src/types/KeyboardFocusView.types.ts +17 -18
  294. package/src/types/baseKeyboardView.types.ts +122 -0
  295. package/src/types/focus.types.ts +49 -0
  296. package/src/types/focusOrder.types.ts +59 -0
  297. package/src/types/{FocusStyle.ts → focusStyle.types.ts} +5 -0
  298. package/src/types/index.ts +32 -2
  299. package/src/types/keyPress.types.ts +8 -0
  300. package/src/types/keyboardInput.types.ts +81 -0
  301. package/src/types/withKeyboardFocus.types.ts +178 -0
  302. package/src/utils/mapLockFocus.ts +31 -0
  303. package/src/utils/useFocusStyle.tsx +13 -41
  304. package/src/utils/useKeyboardFocusContainer.ts +102 -0
  305. package/src/utils/useKeyboardPress/useKeyboardPress.android.ts +4 -7
  306. package/src/utils/useKeyboardPress/useKeyboardPress.ios.ts +3 -6
  307. package/src/utils/useKeyboardPress/useKeyboardPress.ts +9 -7
  308. package/src/utils/useKeyboardPress/useKeyboardPress.types.ts +1 -2
  309. package/src/utils/useKeyboardPressState.ts +81 -0
  310. package/src/utils/useOnFocusChange.ts +4 -7
  311. package/src/utils/useOrderValidation.ts +74 -0
  312. package/src/utils/useRenderedChildren.ts +42 -0
  313. package/src/utils/useWrappedOrderProps.ts +48 -0
  314. package/src/utils/withKeyboardFocus.tsx +105 -125
  315. package/lib/commonjs/components/KeyboardExtendedInput/KeyboardExtendedInput.types.js.map +0 -1
  316. package/lib/commonjs/components/KeyboardFocusView/hooks/index.js +0 -13
  317. package/lib/commonjs/components/KeyboardFocusView/hooks/index.js.map +0 -1
  318. package/lib/commonjs/components/KeyboardFocusView/hooks/useFocusStyle/index.js +0 -13
  319. package/lib/commonjs/components/KeyboardFocusView/hooks/useFocusStyle/index.js.map +0 -1
  320. package/lib/commonjs/components/KeyboardFocusView/hooks/useFocusStyle/useFocusStyle.js +0 -33
  321. package/lib/commonjs/components/KeyboardFocusView/hooks/useFocusStyle/useFocusStyle.js.map +0 -1
  322. package/lib/commonjs/components/KeyboardFocusView/hooks/useFocusStyle/useTintStyle.js +0 -39
  323. package/lib/commonjs/components/KeyboardFocusView/hooks/useFocusStyle/useTintStyle.js.map +0 -1
  324. package/lib/commonjs/components/RenderPropComponent/RenderPropComponent.js +0 -23
  325. package/lib/commonjs/components/RenderPropComponent/RenderPropComponent.js.map +0 -1
  326. package/lib/commonjs/types/BaseKeyboardView.js +0 -18
  327. package/lib/commonjs/types/BaseKeyboardView.js.map +0 -1
  328. package/lib/module/components/KeyboardExtendedInput/KeyboardExtendedInput.types.js +0 -4
  329. package/lib/module/components/KeyboardExtendedInput/KeyboardExtendedInput.types.js.map +0 -1
  330. package/lib/module/components/KeyboardFocusView/hooks/index.js +0 -4
  331. package/lib/module/components/KeyboardFocusView/hooks/index.js.map +0 -1
  332. package/lib/module/components/KeyboardFocusView/hooks/useFocusStyle/index.js +0 -4
  333. package/lib/module/components/KeyboardFocusView/hooks/useFocusStyle/index.js.map +0 -1
  334. package/lib/module/components/KeyboardFocusView/hooks/useFocusStyle/useFocusStyle.js +0 -28
  335. package/lib/module/components/KeyboardFocusView/hooks/useFocusStyle/useFocusStyle.js.map +0 -1
  336. package/lib/module/components/KeyboardFocusView/hooks/useFocusStyle/useTintStyle.js +0 -34
  337. package/lib/module/components/KeyboardFocusView/hooks/useFocusStyle/useTintStyle.js.map +0 -1
  338. package/lib/module/components/RenderPropComponent/RenderPropComponent.js +0 -17
  339. package/lib/module/components/RenderPropComponent/RenderPropComponent.js.map +0 -1
  340. package/lib/module/types/BaseKeyboardView.js +0 -14
  341. package/lib/module/types/BaseKeyboardView.js.map +0 -1
  342. package/lib/module/types/FocusStyle.js +0 -4
  343. package/lib/module/types/WithKeyboardFocus.js +0 -4
  344. package/lib/typescript/src/components/KeyboardExtendedInput/KeyboardExtendedInput.types.d.ts +0 -45
  345. package/lib/typescript/src/components/KeyboardExtendedInput/KeyboardExtendedInput.types.d.ts.map +0 -1
  346. package/lib/typescript/src/components/KeyboardFocusView/hooks/index.d.ts +0 -2
  347. package/lib/typescript/src/components/KeyboardFocusView/hooks/index.d.ts.map +0 -1
  348. package/lib/typescript/src/components/KeyboardFocusView/hooks/useFocusStyle/index.d.ts +0 -2
  349. package/lib/typescript/src/components/KeyboardFocusView/hooks/useFocusStyle/index.d.ts.map +0 -1
  350. package/lib/typescript/src/components/KeyboardFocusView/hooks/useFocusStyle/useFocusStyle.d.ts +0 -175
  351. package/lib/typescript/src/components/KeyboardFocusView/hooks/useFocusStyle/useFocusStyle.d.ts.map +0 -1
  352. package/lib/typescript/src/components/KeyboardFocusView/hooks/useFocusStyle/useTintStyle.d.ts +0 -181
  353. package/lib/typescript/src/components/KeyboardFocusView/hooks/useFocusStyle/useTintStyle.d.ts.map +0 -1
  354. package/lib/typescript/src/components/RenderPropComponent/RenderPropComponent.d.ts +0 -6
  355. package/lib/typescript/src/components/RenderPropComponent/RenderPropComponent.d.ts.map +0 -1
  356. package/lib/typescript/src/types/BaseKeyboardView.d.ts +0 -70
  357. package/lib/typescript/src/types/BaseKeyboardView.d.ts.map +0 -1
  358. package/lib/typescript/src/types/FocusStyle.d.ts +0 -6
  359. package/lib/typescript/src/types/FocusStyle.d.ts.map +0 -1
  360. package/lib/typescript/src/types/WithKeyboardFocus.d.ts +0 -47
  361. package/lib/typescript/src/types/WithKeyboardFocus.d.ts.map +0 -1
  362. package/src/components/KeyboardExtendedInput/KeyboardExtendedInput.types.ts +0 -73
  363. package/src/components/KeyboardFocusView/hooks/index.ts +0 -1
  364. package/src/components/KeyboardFocusView/hooks/useFocusStyle/index.ts +0 -1
  365. package/src/components/KeyboardFocusView/hooks/useFocusStyle/useFocusStyle.ts +0 -34
  366. package/src/components/KeyboardFocusView/hooks/useFocusStyle/useTintStyle.ts +0 -41
  367. package/src/components/RenderPropComponent/RenderPropComponent.tsx +0 -18
  368. package/src/types/BaseKeyboardView.ts +0 -74
  369. package/src/types/WithKeyboardFocus.ts +0 -115
@@ -1,208 +1,17 @@
1
1
  import React from 'react';
2
- export declare const KeyboardExtendedInput: React.ForwardRefExoticComponent<Omit<Readonly<Omit<Omit<Readonly<Omit<Readonly<{
3
- onAccessibilityAction?: ((event: import("react-native").AccessibilityActionEvent) => unknown) | undefined;
4
- onAccessibilityTap?: (() => unknown) | undefined;
5
- onLayout?: ((event: import("react-native").LayoutChangeEvent) => unknown) | undefined;
6
- onMagicTap?: (() => unknown) | undefined;
7
- onAccessibilityEscape?: (() => unknown) | undefined;
8
- }>, "children" | "onMoveShouldSetResponder" | "onMoveShouldSetResponderCapture" | "onResponderGrant" | "onResponderMove" | "onResponderReject" | "onResponderRelease" | "onResponderStart" | "onResponderEnd" | "onResponderTerminate" | "onResponderTerminationRequest" | "onStartShouldSetResponder" | "onStartShouldSetResponderCapture" | "onMouseEnter" | "onMouseLeave" | "onClick" | "onClickCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onBlur" | "onBlurCapture" | "onFocus" | "onFocusCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "nativeBackgroundAndroid" | "nativeForegroundAndroid" | "renderToHardwareTextureAndroid" | "hasTVPreferredFocus" | "nextFocusDown" | "nextFocusForward" | "nextFocusLeft" | "nextFocusRight" | "nextFocusUp" | "focusable" | "tabIndex" | "shouldRasterizeIOS" | "accessibilityIgnoresInvertColors" | "accessibilityViewIsModal" | "accessibilityShowsLargeContentViewer" | "accessibilityLargeContentTitle" | "aria-modal" | "accessibilityElementsHidden" | "accessibilityLanguage" | "accessibilityRespondsToUserInteraction" | "accessible" | "accessibilityLabel" | "accessibilityHint" | "aria-label" | "accessibilityRole" | "role" | "accessibilityState" | "accessibilityValue" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "accessibilityActions" | "aria-busy" | "aria-checked" | "aria-disabled" | "aria-expanded" | "aria-selected" | "aria-hidden" | "accessibilityLabelledBy" | "aria-labelledby" | "accessibilityLiveRegion" | "aria-live" | "importantForAccessibility" | "screenReaderFocusable" | "style" | "collapsable" | "collapsableChildren" | "id" | "testID" | "nativeID" | "needsOffscreenAlphaCompositing" | "hitSlop" | "pointerEvents" | "removeClippedSubviews" | "experimental_accessibilityOrder"> & Omit<Readonly<{
9
- onMoveShouldSetResponder?: ((e: import("react-native").GestureResponderEvent) => boolean) | undefined;
10
- onMoveShouldSetResponderCapture?: ((e: import("react-native").GestureResponderEvent) => boolean) | undefined;
11
- onResponderGrant?: ((e: import("react-native").GestureResponderEvent) => void | boolean) | undefined;
12
- onResponderMove?: ((e: import("react-native").GestureResponderEvent) => void) | undefined;
13
- onResponderReject?: ((e: import("react-native").GestureResponderEvent) => void) | undefined;
14
- onResponderRelease?: ((e: import("react-native").GestureResponderEvent) => void) | undefined;
15
- onResponderStart?: ((e: import("react-native").GestureResponderEvent) => void) | undefined;
16
- onResponderEnd?: ((e: import("react-native").GestureResponderEvent) => void) | undefined;
17
- onResponderTerminate?: ((e: import("react-native").GestureResponderEvent) => void) | undefined;
18
- onResponderTerminationRequest?: ((e: import("react-native").GestureResponderEvent) => boolean) | undefined;
19
- onStartShouldSetResponder?: ((e: import("react-native").GestureResponderEvent) => boolean) | undefined;
20
- onStartShouldSetResponderCapture?: ((e: import("react-native").GestureResponderEvent) => boolean) | undefined;
21
- }>, "children" | "onMouseEnter" | "onMouseLeave" | "onClick" | "onClickCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onBlur" | "onBlurCapture" | "onFocus" | "onFocusCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "nativeBackgroundAndroid" | "nativeForegroundAndroid" | "renderToHardwareTextureAndroid" | "hasTVPreferredFocus" | "nextFocusDown" | "nextFocusForward" | "nextFocusLeft" | "nextFocusRight" | "nextFocusUp" | "focusable" | "tabIndex" | "shouldRasterizeIOS" | "accessibilityIgnoresInvertColors" | "accessibilityViewIsModal" | "accessibilityShowsLargeContentViewer" | "accessibilityLargeContentTitle" | "aria-modal" | "accessibilityElementsHidden" | "accessibilityLanguage" | "accessibilityRespondsToUserInteraction" | "accessible" | "accessibilityLabel" | "accessibilityHint" | "aria-label" | "accessibilityRole" | "role" | "accessibilityState" | "accessibilityValue" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "accessibilityActions" | "aria-busy" | "aria-checked" | "aria-disabled" | "aria-expanded" | "aria-selected" | "aria-hidden" | "accessibilityLabelledBy" | "aria-labelledby" | "accessibilityLiveRegion" | "aria-live" | "importantForAccessibility" | "screenReaderFocusable" | "style" | "collapsable" | "collapsableChildren" | "id" | "testID" | "nativeID" | "needsOffscreenAlphaCompositing" | "hitSlop" | "pointerEvents" | "removeClippedSubviews" | "experimental_accessibilityOrder"> & Omit<Readonly<{
22
- onMouseEnter?: ((event: import("react-native").MouseEvent) => void) | undefined;
23
- onMouseLeave?: ((event: import("react-native").MouseEvent) => void) | undefined;
24
- }>, "children" | "onClick" | "onClickCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onBlur" | "onBlurCapture" | "onFocus" | "onFocusCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "nativeBackgroundAndroid" | "nativeForegroundAndroid" | "renderToHardwareTextureAndroid" | "hasTVPreferredFocus" | "nextFocusDown" | "nextFocusForward" | "nextFocusLeft" | "nextFocusRight" | "nextFocusUp" | "focusable" | "tabIndex" | "shouldRasterizeIOS" | "accessibilityIgnoresInvertColors" | "accessibilityViewIsModal" | "accessibilityShowsLargeContentViewer" | "accessibilityLargeContentTitle" | "aria-modal" | "accessibilityElementsHidden" | "accessibilityLanguage" | "accessibilityRespondsToUserInteraction" | "accessible" | "accessibilityLabel" | "accessibilityHint" | "aria-label" | "accessibilityRole" | "role" | "accessibilityState" | "accessibilityValue" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "accessibilityActions" | "aria-busy" | "aria-checked" | "aria-disabled" | "aria-expanded" | "aria-selected" | "aria-hidden" | "accessibilityLabelledBy" | "aria-labelledby" | "accessibilityLiveRegion" | "aria-live" | "importantForAccessibility" | "screenReaderFocusable" | "style" | "collapsable" | "collapsableChildren" | "id" | "testID" | "nativeID" | "needsOffscreenAlphaCompositing" | "hitSlop" | "pointerEvents" | "removeClippedSubviews" | "experimental_accessibilityOrder"> & Omit<Readonly<{
25
- onClick?: ((event: import("react-native").PointerEvent) => void) | undefined;
26
- onClickCapture?: ((event: import("react-native").PointerEvent) => void) | undefined;
27
- onPointerEnter?: ((event: import("react-native").PointerEvent) => void) | undefined;
28
- onPointerEnterCapture?: ((event: import("react-native").PointerEvent) => void) | undefined;
29
- onPointerLeave?: ((event: import("react-native").PointerEvent) => void) | undefined;
30
- onPointerLeaveCapture?: ((event: import("react-native").PointerEvent) => void) | undefined;
31
- onPointerMove?: ((event: import("react-native").PointerEvent) => void) | undefined;
32
- onPointerMoveCapture?: ((event: import("react-native").PointerEvent) => void) | undefined;
33
- onPointerCancel?: ((e: import("react-native").PointerEvent) => void) | undefined;
34
- onPointerCancelCapture?: ((e: import("react-native").PointerEvent) => void) | undefined;
35
- onPointerDown?: ((e: import("react-native").PointerEvent) => void) | undefined;
36
- onPointerDownCapture?: ((e: import("react-native").PointerEvent) => void) | undefined;
37
- onPointerUp?: ((e: import("react-native").PointerEvent) => void) | undefined;
38
- onPointerUpCapture?: ((e: import("react-native").PointerEvent) => void) | undefined;
39
- onPointerOver?: ((e: import("react-native").PointerEvent) => void) | undefined;
40
- onPointerOverCapture?: ((e: import("react-native").PointerEvent) => void) | undefined;
41
- onPointerOut?: ((e: import("react-native").PointerEvent) => void) | undefined;
42
- onPointerOutCapture?: ((e: import("react-native").PointerEvent) => void) | undefined;
43
- onGotPointerCapture?: ((e: import("react-native").PointerEvent) => void) | undefined;
44
- onGotPointerCaptureCapture?: ((e: import("react-native").PointerEvent) => void) | undefined;
45
- onLostPointerCapture?: ((e: import("react-native").PointerEvent) => void) | undefined;
46
- onLostPointerCaptureCapture?: ((e: import("react-native").PointerEvent) => void) | undefined;
47
- }>, "children" | "onClick" | "onBlur" | "onBlurCapture" | "onFocus" | "onFocusCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "nativeBackgroundAndroid" | "nativeForegroundAndroid" | "renderToHardwareTextureAndroid" | "hasTVPreferredFocus" | "nextFocusDown" | "nextFocusForward" | "nextFocusLeft" | "nextFocusRight" | "nextFocusUp" | "focusable" | "tabIndex" | "shouldRasterizeIOS" | "accessibilityIgnoresInvertColors" | "accessibilityViewIsModal" | "accessibilityShowsLargeContentViewer" | "accessibilityLargeContentTitle" | "aria-modal" | "accessibilityElementsHidden" | "accessibilityLanguage" | "accessibilityRespondsToUserInteraction" | "accessible" | "accessibilityLabel" | "accessibilityHint" | "aria-label" | "accessibilityRole" | "role" | "accessibilityState" | "accessibilityValue" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "accessibilityActions" | "aria-busy" | "aria-checked" | "aria-disabled" | "aria-expanded" | "aria-selected" | "aria-hidden" | "accessibilityLabelledBy" | "aria-labelledby" | "accessibilityLiveRegion" | "aria-live" | "importantForAccessibility" | "screenReaderFocusable" | "style" | "collapsable" | "collapsableChildren" | "id" | "testID" | "nativeID" | "needsOffscreenAlphaCompositing" | "hitSlop" | "pointerEvents" | "removeClippedSubviews" | "experimental_accessibilityOrder"> & Omit<Readonly<{
48
- onBlur?: ((event: import("react-native").BlurEvent) => void) | undefined;
49
- onBlurCapture?: ((event: import("react-native").BlurEvent) => void) | undefined;
50
- onFocus?: ((event: import("react-native").FocusEvent) => void) | undefined;
51
- onFocusCapture?: ((event: import("react-native").FocusEvent) => void) | undefined;
52
- }>, "children" | "onClick" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "nativeBackgroundAndroid" | "nativeForegroundAndroid" | "renderToHardwareTextureAndroid" | "hasTVPreferredFocus" | "nextFocusDown" | "nextFocusForward" | "nextFocusLeft" | "nextFocusRight" | "nextFocusUp" | "focusable" | "tabIndex" | "shouldRasterizeIOS" | "accessibilityIgnoresInvertColors" | "accessibilityViewIsModal" | "accessibilityShowsLargeContentViewer" | "accessibilityLargeContentTitle" | "aria-modal" | "accessibilityElementsHidden" | "accessibilityLanguage" | "accessibilityRespondsToUserInteraction" | "accessible" | "accessibilityLabel" | "accessibilityHint" | "aria-label" | "accessibilityRole" | "role" | "accessibilityState" | "accessibilityValue" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "accessibilityActions" | "aria-busy" | "aria-checked" | "aria-disabled" | "aria-expanded" | "aria-selected" | "aria-hidden" | "accessibilityLabelledBy" | "aria-labelledby" | "accessibilityLiveRegion" | "aria-live" | "importantForAccessibility" | "screenReaderFocusable" | "style" | "collapsable" | "collapsableChildren" | "id" | "testID" | "nativeID" | "needsOffscreenAlphaCompositing" | "hitSlop" | "pointerEvents" | "removeClippedSubviews" | "experimental_accessibilityOrder"> & Omit<Readonly<{
53
- onTouchCancel?: ((e: import("react-native").GestureResponderEvent) => void) | undefined;
54
- onTouchCancelCapture?: ((e: import("react-native").GestureResponderEvent) => void) | undefined;
55
- onTouchEnd?: ((e: import("react-native").GestureResponderEvent) => void) | undefined;
56
- onTouchEndCapture?: ((e: import("react-native").GestureResponderEvent) => void) | undefined;
57
- onTouchMove?: ((e: import("react-native").GestureResponderEvent) => void) | undefined;
58
- onTouchMoveCapture?: ((e: import("react-native").GestureResponderEvent) => void) | undefined;
59
- onTouchStart?: ((e: import("react-native").GestureResponderEvent) => void) | undefined;
60
- onTouchStartCapture?: ((e: import("react-native").GestureResponderEvent) => void) | undefined;
61
- }>, "children" | "onClick" | "nativeBackgroundAndroid" | "nativeForegroundAndroid" | "renderToHardwareTextureAndroid" | "hasTVPreferredFocus" | "nextFocusDown" | "nextFocusForward" | "nextFocusLeft" | "nextFocusRight" | "nextFocusUp" | "focusable" | "tabIndex" | "shouldRasterizeIOS" | "accessibilityIgnoresInvertColors" | "accessibilityViewIsModal" | "accessibilityShowsLargeContentViewer" | "accessibilityLargeContentTitle" | "aria-modal" | "accessibilityElementsHidden" | "accessibilityLanguage" | "accessibilityRespondsToUserInteraction" | "accessible" | "accessibilityLabel" | "accessibilityHint" | "aria-label" | "accessibilityRole" | "role" | "accessibilityState" | "accessibilityValue" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "accessibilityActions" | "aria-busy" | "aria-checked" | "aria-disabled" | "aria-expanded" | "aria-selected" | "aria-hidden" | "accessibilityLabelledBy" | "aria-labelledby" | "accessibilityLiveRegion" | "aria-live" | "importantForAccessibility" | "screenReaderFocusable" | "style" | "collapsable" | "collapsableChildren" | "id" | "testID" | "nativeID" | "needsOffscreenAlphaCompositing" | "hitSlop" | "pointerEvents" | "removeClippedSubviews" | "experimental_accessibilityOrder"> & Omit<Readonly<{
62
- nativeBackgroundAndroid?: import("react-native/types_generated/Libraries/Components/View/ViewPropTypes").AndroidDrawable | undefined;
63
- nativeForegroundAndroid?: import("react-native/types_generated/Libraries/Components/View/ViewPropTypes").AndroidDrawable | undefined;
64
- renderToHardwareTextureAndroid?: boolean | undefined;
65
- hasTVPreferredFocus?: boolean | undefined;
66
- nextFocusDown?: number | undefined;
67
- nextFocusForward?: number | undefined;
68
- nextFocusLeft?: number | undefined;
69
- nextFocusRight?: number | undefined;
70
- nextFocusUp?: number | undefined;
71
- focusable?: boolean | undefined;
72
- tabIndex?: 0 | -1;
73
- onClick?: ((event: import("react-native").GestureResponderEvent) => unknown) | undefined;
74
- }>, "children" | "shouldRasterizeIOS" | "accessibilityIgnoresInvertColors" | "accessibilityViewIsModal" | "accessibilityShowsLargeContentViewer" | "accessibilityLargeContentTitle" | "aria-modal" | "accessibilityElementsHidden" | "accessibilityLanguage" | "accessibilityRespondsToUserInteraction" | "accessible" | "accessibilityLabel" | "accessibilityHint" | "aria-label" | "accessibilityRole" | "role" | "accessibilityState" | "accessibilityValue" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "accessibilityActions" | "aria-busy" | "aria-checked" | "aria-disabled" | "aria-expanded" | "aria-selected" | "aria-hidden" | "accessibilityLabelledBy" | "aria-labelledby" | "accessibilityLiveRegion" | "aria-live" | "importantForAccessibility" | "screenReaderFocusable" | "style" | "collapsable" | "collapsableChildren" | "id" | "testID" | "nativeID" | "needsOffscreenAlphaCompositing" | "hitSlop" | "pointerEvents" | "removeClippedSubviews" | "experimental_accessibilityOrder"> & Omit<Readonly<{
75
- shouldRasterizeIOS?: boolean | undefined;
76
- }>, "children" | "accessibilityIgnoresInvertColors" | "accessibilityViewIsModal" | "accessibilityShowsLargeContentViewer" | "accessibilityLargeContentTitle" | "aria-modal" | "accessibilityElementsHidden" | "accessibilityLanguage" | "accessibilityRespondsToUserInteraction" | "accessible" | "accessibilityLabel" | "accessibilityHint" | "aria-label" | "accessibilityRole" | "role" | "accessibilityState" | "accessibilityValue" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "accessibilityActions" | "aria-busy" | "aria-checked" | "aria-disabled" | "aria-expanded" | "aria-selected" | "aria-hidden" | "accessibilityLabelledBy" | "aria-labelledby" | "accessibilityLiveRegion" | "aria-live" | "importantForAccessibility" | "screenReaderFocusable" | "style" | "collapsable" | "collapsableChildren" | "id" | "testID" | "nativeID" | "needsOffscreenAlphaCompositing" | "hitSlop" | "pointerEvents" | "removeClippedSubviews" | "experimental_accessibilityOrder"> & Omit<Readonly<Omit<Readonly<{
77
- accessibilityLabelledBy?: (string | undefined) | (Array<string> | undefined);
78
- "aria-labelledby"?: string | undefined;
79
- accessibilityLiveRegion?: ("none" | "polite" | "assertive") | undefined;
80
- "aria-live"?: ("polite" | "assertive" | "off") | undefined;
81
- importantForAccessibility?: ("auto" | "yes" | "no" | "no-hide-descendants") | undefined;
82
- screenReaderFocusable?: boolean;
83
- }>, "accessibilityIgnoresInvertColors" | "accessibilityViewIsModal" | "accessibilityShowsLargeContentViewer" | "accessibilityLargeContentTitle" | "aria-modal" | "accessibilityElementsHidden" | "accessibilityLanguage" | "accessibilityRespondsToUserInteraction" | "accessible" | "accessibilityLabel" | "accessibilityHint" | "aria-label" | "accessibilityRole" | "role" | "accessibilityState" | "accessibilityValue" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "accessibilityActions" | "aria-busy" | "aria-checked" | "aria-disabled" | "aria-expanded" | "aria-selected" | "aria-hidden"> & Omit<Readonly<{
84
- accessibilityIgnoresInvertColors?: boolean | undefined;
85
- accessibilityViewIsModal?: boolean | undefined;
86
- accessibilityShowsLargeContentViewer?: boolean | undefined;
87
- accessibilityLargeContentTitle?: string | undefined;
88
- "aria-modal"?: boolean | undefined;
89
- accessibilityElementsHidden?: boolean | undefined;
90
- accessibilityLanguage?: string | undefined;
91
- accessibilityRespondsToUserInteraction?: boolean | undefined;
92
- }>, "accessible" | "accessibilityLabel" | "accessibilityHint" | "aria-label" | "accessibilityRole" | "role" | "accessibilityState" | "accessibilityValue" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "accessibilityActions" | "aria-busy" | "aria-checked" | "aria-disabled" | "aria-expanded" | "aria-selected" | "aria-hidden"> & {
93
- accessible?: boolean | undefined;
94
- accessibilityLabel?: string | undefined;
95
- accessibilityHint?: string | undefined;
96
- "aria-label"?: string | undefined;
97
- accessibilityRole?: import("react-native").AccessibilityRole | undefined;
98
- role?: import("react-native").Role | undefined;
99
- accessibilityState?: import("react-native").AccessibilityState | undefined;
100
- accessibilityValue?: import("react-native").AccessibilityValue | undefined;
101
- "aria-valuemax"?: import("react-native").AccessibilityValue["max"] | undefined;
102
- "aria-valuemin"?: import("react-native").AccessibilityValue["min"] | undefined;
103
- "aria-valuenow"?: import("react-native").AccessibilityValue["now"] | undefined;
104
- "aria-valuetext"?: import("react-native").AccessibilityValue["text"] | undefined;
105
- accessibilityActions?: ReadonlyArray<import("react-native/types_generated/Libraries/Components/View/ViewAccessibility").AccessibilityActionInfo> | undefined;
106
- "aria-busy"?: boolean | undefined;
107
- "aria-checked"?: (boolean | undefined) | "mixed";
108
- "aria-disabled"?: boolean | undefined;
109
- "aria-expanded"?: boolean | undefined;
110
- "aria-selected"?: boolean | undefined;
111
- "aria-hidden"?: boolean | undefined;
112
- }>, "children" | "style" | "collapsable" | "collapsableChildren" | "id" | "testID" | "nativeID" | "needsOffscreenAlphaCompositing" | "hitSlop" | "pointerEvents" | "removeClippedSubviews" | "experimental_accessibilityOrder"> & Omit<Readonly<{
113
- children?: React.ReactNode;
114
- style?: import("react-native/types_generated/Libraries/StyleSheet/StyleSheet").ViewStyleProp | undefined;
115
- collapsable?: boolean | undefined;
116
- collapsableChildren?: boolean | undefined;
117
- id?: string;
118
- testID?: string | undefined;
119
- nativeID?: string | undefined;
120
- needsOffscreenAlphaCompositing?: boolean | undefined;
121
- hitSlop?: import("react-native/types_generated/Libraries/StyleSheet/EdgeInsetsPropType").EdgeInsetsOrSizeProp | undefined;
122
- pointerEvents?: ("auto" | "box-none" | "box-only" | "none") | undefined;
123
- removeClippedSubviews?: boolean | undefined;
124
- experimental_accessibilityOrder?: Array<string> | undefined;
125
- }>, never>>, "style" | "experimental_accessibilityOrder">, "value" | "onBlur" | "onFocus" | "style" | "autoFocus" | "blurOnSubmit" | "multiline" | "onPress" | "onPressIn" | "onPressOut" | "textAlign" | "rejectResponderTermination" | "selectionHandleColor" | "cursorColor" | "maxFontSizeMultiplier" | "disableKeyboardShortcuts" | "clearButtonMode" | "clearTextOnFocus" | "dataDetectorTypes" | "enablesReturnKeyAutomatically" | "inputAccessoryViewID" | "inputAccessoryViewButtonLabel" | "keyboardAppearance" | "passwordRules" | "scrollEnabled" | "spellCheck" | "textContentType" | "lineBreakStrategyIOS" | "lineBreakModeIOS" | "smartInsertDelete" | "disableFullscreenUI" | "importantForAutofill" | "inlineImageLeft" | "inlineImagePadding" | "numberOfLines" | "returnKeyLabel" | "rows" | "showSoftInputOnFocus" | "textBreakStrategy" | "underlineColorAndroid" | "experimental_acceptDragAndDropTypes" | "autoCapitalize" | "autoComplete" | "autoCorrect" | "allowFontScaling" | "caretHidden" | "contextMenuHidden" | "defaultValue" | "editable" | "forwardedRef" | "enterKeyHint" | "inputMode" | "keyboardType" | "maxLength" | "onChange" | "onChangeText" | "onContentSizeChange" | "onEndEditing" | "onKeyPress" | "onSelectionChange" | "onSubmitEditing" | "onScroll" | "placeholder" | "placeholderTextColor" | "readOnly" | "returnKeyType" | "secureTextEntry" | "selection" | "selectionColor" | "selectTextOnFocus" | "submitBehavior"> & Omit<Readonly<{
126
- disableKeyboardShortcuts?: boolean | undefined;
127
- clearButtonMode?: ("never" | "while-editing" | "unless-editing" | "always") | undefined;
128
- clearTextOnFocus?: boolean | undefined;
129
- dataDetectorTypes?: (import("react-native/types_generated/Libraries/Components/TextInput/TextInput.flow").DataDetectorTypesType | undefined) | ReadonlyArray<import("react-native/types_generated/Libraries/Components/TextInput/TextInput.flow").DataDetectorTypesType>;
130
- enablesReturnKeyAutomatically?: boolean | undefined;
131
- inputAccessoryViewID?: string | undefined;
132
- inputAccessoryViewButtonLabel?: string | undefined;
133
- keyboardAppearance?: ("default" | "light" | "dark") | undefined;
134
- passwordRules?: import("react-native/types_generated/Libraries/Components/TextInput/TextInput.flow").PasswordRules | undefined;
135
- rejectResponderTermination?: boolean | undefined;
136
- scrollEnabled?: boolean | undefined;
137
- spellCheck?: boolean | undefined;
138
- textContentType?: import("react-native").TextContentType | undefined;
139
- lineBreakStrategyIOS?: ("none" | "standard" | "hangul-word" | "push-out") | undefined;
140
- lineBreakModeIOS?: ("wordWrapping" | "char" | "clip" | "head" | "middle" | "tail") | undefined;
141
- smartInsertDelete?: boolean | undefined;
142
- }>, "value" | "onBlur" | "onFocus" | "style" | "autoFocus" | "blurOnSubmit" | "multiline" | "onPress" | "onPressIn" | "onPressOut" | "textAlign" | "selectionHandleColor" | "cursorColor" | "maxFontSizeMultiplier" | "disableFullscreenUI" | "importantForAutofill" | "inlineImageLeft" | "inlineImagePadding" | "numberOfLines" | "returnKeyLabel" | "rows" | "showSoftInputOnFocus" | "textBreakStrategy" | "underlineColorAndroid" | "experimental_acceptDragAndDropTypes" | "autoCapitalize" | "autoComplete" | "autoCorrect" | "allowFontScaling" | "caretHidden" | "contextMenuHidden" | "defaultValue" | "editable" | "forwardedRef" | "enterKeyHint" | "inputMode" | "keyboardType" | "maxLength" | "onChange" | "onChangeText" | "onContentSizeChange" | "onEndEditing" | "onKeyPress" | "onSelectionChange" | "onSubmitEditing" | "onScroll" | "placeholder" | "placeholderTextColor" | "readOnly" | "returnKeyType" | "secureTextEntry" | "selection" | "selectionColor" | "selectTextOnFocus" | "submitBehavior"> & Omit<Readonly<{
143
- cursorColor?: import("react-native").ColorValue | undefined;
144
- selectionHandleColor?: import("react-native").ColorValue | undefined;
145
- disableFullscreenUI?: boolean | undefined;
146
- importantForAutofill?: ("auto" | "no" | "noExcludeDescendants" | "yes" | "yesExcludeDescendants") | undefined;
147
- inlineImageLeft?: string | undefined;
148
- inlineImagePadding?: number | undefined;
149
- numberOfLines?: number | undefined;
150
- returnKeyLabel?: string | undefined;
151
- rows?: number | undefined;
152
- showSoftInputOnFocus?: boolean | undefined;
153
- textBreakStrategy?: ("simple" | "highQuality" | "balanced") | undefined;
154
- underlineColorAndroid?: import("react-native").ColorValue | undefined;
155
- }>, "value" | "onBlur" | "onFocus" | "style" | "autoFocus" | "blurOnSubmit" | "multiline" | "onPress" | "onPressIn" | "onPressOut" | "textAlign" | "maxFontSizeMultiplier" | "experimental_acceptDragAndDropTypes" | "autoCapitalize" | "autoComplete" | "autoCorrect" | "allowFontScaling" | "caretHidden" | "contextMenuHidden" | "defaultValue" | "editable" | "forwardedRef" | "enterKeyHint" | "inputMode" | "keyboardType" | "maxLength" | "onChange" | "onChangeText" | "onContentSizeChange" | "onEndEditing" | "onKeyPress" | "onSelectionChange" | "onSubmitEditing" | "onScroll" | "placeholder" | "placeholderTextColor" | "readOnly" | "returnKeyType" | "secureTextEntry" | "selection" | "selectionColor" | "selectTextOnFocus" | "submitBehavior"> & Omit<Readonly<{
156
- experimental_acceptDragAndDropTypes?: ReadonlyArray<string> | undefined;
157
- autoCapitalize?: import("react-native").AutoCapitalize | undefined;
158
- autoComplete?: ("additional-name" | "address-line1" | "address-line2" | "birthdate-day" | "birthdate-full" | "birthdate-month" | "birthdate-year" | "cc-csc" | "cc-exp" | "cc-exp-day" | "cc-exp-month" | "cc-exp-year" | "cc-number" | "cc-name" | "cc-given-name" | "cc-middle-name" | "cc-family-name" | "cc-type" | "country" | "current-password" | "email" | "family-name" | "gender" | "given-name" | "honorific-prefix" | "honorific-suffix" | "name" | "name-family" | "name-given" | "name-middle" | "name-middle-initial" | "name-prefix" | "name-suffix" | "new-password" | "nickname" | "one-time-code" | "organization" | "organization-title" | "password" | "password-new" | "postal-address" | "postal-address-country" | "postal-address-extended" | "postal-address-extended-postal-code" | "postal-address-locality" | "postal-address-region" | "postal-code" | "street-address" | "sms-otp" | "tel" | "tel-country-code" | "tel-national" | "tel-device" | "url" | "username" | "username-new" | "off") | undefined;
159
- autoCorrect?: boolean | undefined;
160
- autoFocus?: boolean | undefined;
161
- allowFontScaling?: boolean | undefined;
162
- caretHidden?: boolean | undefined;
163
- contextMenuHidden?: boolean | undefined;
164
- defaultValue?: string | undefined;
165
- editable?: boolean | undefined;
166
- forwardedRef?: React.Ref<import("react-native/types_generated/Libraries/Components/TextInput/TextInput.flow").TextInputInstance> | undefined;
167
- enterKeyHint?: import("react-native").EnterKeyHintTypeOptions | undefined;
168
- inputMode?: import("react-native").InputModeOptions | undefined;
169
- keyboardType?: import("react-native").KeyboardTypeOptions | undefined;
170
- maxFontSizeMultiplier?: number | undefined;
171
- maxLength?: number | undefined;
172
- multiline?: boolean | undefined;
173
- onBlur?: ((e: import("react-native/types_generated/Libraries/Components/TextInput/TextInput.flow").TextInputBlurEvent) => unknown) | undefined;
174
- onChange?: ((e: import("react-native").TextInputChangeEvent) => unknown) | undefined;
175
- onChangeText?: ((text: string) => unknown) | undefined;
176
- onContentSizeChange?: ((e: import("react-native").TextInputContentSizeChangeEvent) => unknown) | undefined;
177
- onEndEditing?: ((e: import("react-native").TextInputEndEditingEvent) => unknown) | undefined;
178
- onFocus?: ((e: import("react-native").TextInputFocusEvent) => unknown) | undefined;
179
- onKeyPress?: ((e: import("react-native").TextInputKeyPressEvent) => unknown) | undefined;
180
- onPress?: ((event: import("react-native").GestureResponderEvent) => unknown) | undefined;
181
- onPressIn?: ((event: import("react-native").GestureResponderEvent) => unknown) | undefined;
182
- onPressOut?: ((event: import("react-native").GestureResponderEvent) => unknown) | undefined;
183
- onSelectionChange?: ((e: import("react-native").TextInputSelectionChangeEvent) => unknown) | undefined;
184
- onSubmitEditing?: ((e: import("react-native").TextInputSubmitEditingEvent) => unknown) | undefined;
185
- onScroll?: ((e: import("react-native").ScrollEvent) => unknown) | undefined;
186
- placeholder?: string | undefined;
187
- placeholderTextColor?: import("react-native").ColorValue | undefined;
188
- readOnly?: boolean | undefined;
189
- returnKeyType?: import("react-native").ReturnKeyTypeOptions | undefined;
190
- secureTextEntry?: boolean | undefined;
191
- selection?: Readonly<{
192
- start: number;
193
- end?: number | undefined;
194
- }> | undefined;
195
- selectionColor?: import("react-native").ColorValue | undefined;
196
- selectTextOnFocus?: boolean | undefined;
197
- blurOnSubmit?: boolean | undefined;
198
- submitBehavior?: import("react-native").SubmitBehavior | undefined;
199
- style?: import("react-native/types_generated/Libraries/StyleSheet/StyleSheet").TextStyleProp | undefined;
200
- value?: string | undefined;
201
- textAlign?: ("left" | "center" | "right") | undefined;
202
- }>, never>>, "rejectResponderTermination" | "selectionHandleColor" | "cursorColor" | "maxFontSizeMultiplier"> & {
2
+ import { TextInput } from 'react-native';
3
+ export declare const KeyboardExtendedInput: React.ForwardRefExoticComponent<Omit<import("react-native").TextInputProps, "rejectResponderTermination" | "selectionHandleColor" | "cursorColor" | "maxFontSizeMultiplier"> & {
203
4
  rejectResponderTermination?: boolean | null | undefined;
204
- selectionHandleColor?: import("react-native/types_generated/Libraries/StyleSheet/StyleSheetTypes").____ColorValue_Internal | undefined;
205
- cursorColor?: import("react-native/types_generated/Libraries/StyleSheet/StyleSheetTypes").____ColorValue_Internal | undefined;
5
+ selectionHandleColor?: import("react-native").ColorValue | null | undefined;
6
+ cursorColor?: import("react-native").ColorValue | null | undefined;
206
7
  maxFontSizeMultiplier?: number | null | undefined;
207
- } & import("./KeyboardExtendedInput.types").ExtraKeyboardProps & React.RefAttributes<import("react-native/types_generated/Libraries/Components/TextInput/TextInput.flow").TextInputType>>;
8
+ } & {
9
+ focusType?: "default" | "press" | "auto";
10
+ blurType?: "default" | "disable" | "auto";
11
+ containerStyle?: import("react-native").StyleProp<import("react-native").ViewStyle>;
12
+ onFocusChange?: (isFocused: boolean) => void;
13
+ focusStyle?: import("../../types").FocusStyle;
14
+ containerFocusStyle?: import("../../types").FocusStyle;
15
+ submitBehavior?: string;
16
+ } & import("../../types/baseKeyboardView.types").CommonFocusProps & import("../../types").FocusOrderProps & React.RefAttributes<TextInput>>;
208
17
  //# sourceMappingURL=KeyboardExtendedInput.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"KeyboardExtendedInput.d.ts","sourceRoot":"","sources":["../../../../../src/components/KeyboardExtendedInput/KeyboardExtendedInput.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA6B,MAAM,OAAO,CAAC;AAiDlD,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;WAmNgtgB,CAAC;;;;;;;;;;;;;;yLAdlvgB,CAAC"}
1
+ {"version":3,"file":"KeyboardExtendedInput.d.ts","sourceRoot":"","sources":["../../../../../src/components/KeyboardExtendedInput/KeyboardExtendedInput.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AACvC,OAAO,EAAE,SAAS,EAAY,MAAM,cAAc,CAAC;AAenD,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;2IA+IjC,CAAC"}
@@ -1,147 +1,5 @@
1
- import React, { type PropsWithChildren } from 'react';
2
- import { type ColorValue } from 'react-native';
3
- import type { FocusStyle } from '../../types';
4
- export type KeyboardFocusGroupProps = PropsWithChildren<{
5
- groupIdentifier?: string;
6
- tintColor?: ColorValue;
7
- onFocus?: () => void;
8
- onBlur?: () => void;
9
- onFocusChange?: (isFocused: boolean) => void;
10
- orderGroup?: string;
11
- focusStyle?: FocusStyle;
12
- }>;
13
- export declare const KeyboardFocusGroup: React.NamedExoticComponent<Readonly<Omit<Readonly<{
14
- onAccessibilityAction?: ((event: import("react-native").AccessibilityActionEvent) => unknown) | undefined;
15
- onAccessibilityTap?: (() => unknown) | undefined;
16
- onLayout?: ((event: import("react-native").LayoutChangeEvent) => unknown) | undefined;
17
- onMagicTap?: (() => unknown) | undefined;
18
- onAccessibilityEscape?: (() => unknown) | undefined;
19
- }>, "children" | "onMoveShouldSetResponder" | "onMoveShouldSetResponderCapture" | "onResponderGrant" | "onResponderMove" | "onResponderReject" | "onResponderRelease" | "onResponderStart" | "onResponderEnd" | "onResponderTerminate" | "onResponderTerminationRequest" | "onStartShouldSetResponder" | "onStartShouldSetResponderCapture" | "onMouseEnter" | "onMouseLeave" | "onClick" | "onClickCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onBlur" | "onBlurCapture" | "onFocus" | "onFocusCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "nativeBackgroundAndroid" | "nativeForegroundAndroid" | "renderToHardwareTextureAndroid" | "hasTVPreferredFocus" | "nextFocusDown" | "nextFocusForward" | "nextFocusLeft" | "nextFocusRight" | "nextFocusUp" | "focusable" | "tabIndex" | "shouldRasterizeIOS" | "accessibilityIgnoresInvertColors" | "accessibilityViewIsModal" | "accessibilityShowsLargeContentViewer" | "accessibilityLargeContentTitle" | "aria-modal" | "accessibilityElementsHidden" | "accessibilityLanguage" | "accessibilityRespondsToUserInteraction" | "accessible" | "accessibilityLabel" | "accessibilityHint" | "aria-label" | "accessibilityRole" | "role" | "accessibilityState" | "accessibilityValue" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "accessibilityActions" | "aria-busy" | "aria-checked" | "aria-disabled" | "aria-expanded" | "aria-selected" | "aria-hidden" | "accessibilityLabelledBy" | "aria-labelledby" | "accessibilityLiveRegion" | "aria-live" | "importantForAccessibility" | "screenReaderFocusable" | "style" | "collapsable" | "collapsableChildren" | "id" | "testID" | "nativeID" | "needsOffscreenAlphaCompositing" | "hitSlop" | "pointerEvents" | "removeClippedSubviews" | "experimental_accessibilityOrder"> & Omit<Readonly<{
20
- onMoveShouldSetResponder?: ((e: import("react-native").GestureResponderEvent) => boolean) | undefined;
21
- onMoveShouldSetResponderCapture?: ((e: import("react-native").GestureResponderEvent) => boolean) | undefined;
22
- onResponderGrant?: ((e: import("react-native").GestureResponderEvent) => void | boolean) | undefined;
23
- onResponderMove?: ((e: import("react-native").GestureResponderEvent) => void) | undefined;
24
- onResponderReject?: ((e: import("react-native").GestureResponderEvent) => void) | undefined;
25
- onResponderRelease?: ((e: import("react-native").GestureResponderEvent) => void) | undefined;
26
- onResponderStart?: ((e: import("react-native").GestureResponderEvent) => void) | undefined;
27
- onResponderEnd?: ((e: import("react-native").GestureResponderEvent) => void) | undefined;
28
- onResponderTerminate?: ((e: import("react-native").GestureResponderEvent) => void) | undefined;
29
- onResponderTerminationRequest?: ((e: import("react-native").GestureResponderEvent) => boolean) | undefined;
30
- onStartShouldSetResponder?: ((e: import("react-native").GestureResponderEvent) => boolean) | undefined;
31
- onStartShouldSetResponderCapture?: ((e: import("react-native").GestureResponderEvent) => boolean) | undefined;
32
- }>, "children" | "onMouseEnter" | "onMouseLeave" | "onClick" | "onClickCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onBlur" | "onBlurCapture" | "onFocus" | "onFocusCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "nativeBackgroundAndroid" | "nativeForegroundAndroid" | "renderToHardwareTextureAndroid" | "hasTVPreferredFocus" | "nextFocusDown" | "nextFocusForward" | "nextFocusLeft" | "nextFocusRight" | "nextFocusUp" | "focusable" | "tabIndex" | "shouldRasterizeIOS" | "accessibilityIgnoresInvertColors" | "accessibilityViewIsModal" | "accessibilityShowsLargeContentViewer" | "accessibilityLargeContentTitle" | "aria-modal" | "accessibilityElementsHidden" | "accessibilityLanguage" | "accessibilityRespondsToUserInteraction" | "accessible" | "accessibilityLabel" | "accessibilityHint" | "aria-label" | "accessibilityRole" | "role" | "accessibilityState" | "accessibilityValue" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "accessibilityActions" | "aria-busy" | "aria-checked" | "aria-disabled" | "aria-expanded" | "aria-selected" | "aria-hidden" | "accessibilityLabelledBy" | "aria-labelledby" | "accessibilityLiveRegion" | "aria-live" | "importantForAccessibility" | "screenReaderFocusable" | "style" | "collapsable" | "collapsableChildren" | "id" | "testID" | "nativeID" | "needsOffscreenAlphaCompositing" | "hitSlop" | "pointerEvents" | "removeClippedSubviews" | "experimental_accessibilityOrder"> & Omit<Readonly<{
33
- onMouseEnter?: ((event: import("react-native").MouseEvent) => void) | undefined;
34
- onMouseLeave?: ((event: import("react-native").MouseEvent) => void) | undefined;
35
- }>, "children" | "onClick" | "onClickCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onBlur" | "onBlurCapture" | "onFocus" | "onFocusCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "nativeBackgroundAndroid" | "nativeForegroundAndroid" | "renderToHardwareTextureAndroid" | "hasTVPreferredFocus" | "nextFocusDown" | "nextFocusForward" | "nextFocusLeft" | "nextFocusRight" | "nextFocusUp" | "focusable" | "tabIndex" | "shouldRasterizeIOS" | "accessibilityIgnoresInvertColors" | "accessibilityViewIsModal" | "accessibilityShowsLargeContentViewer" | "accessibilityLargeContentTitle" | "aria-modal" | "accessibilityElementsHidden" | "accessibilityLanguage" | "accessibilityRespondsToUserInteraction" | "accessible" | "accessibilityLabel" | "accessibilityHint" | "aria-label" | "accessibilityRole" | "role" | "accessibilityState" | "accessibilityValue" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "accessibilityActions" | "aria-busy" | "aria-checked" | "aria-disabled" | "aria-expanded" | "aria-selected" | "aria-hidden" | "accessibilityLabelledBy" | "aria-labelledby" | "accessibilityLiveRegion" | "aria-live" | "importantForAccessibility" | "screenReaderFocusable" | "style" | "collapsable" | "collapsableChildren" | "id" | "testID" | "nativeID" | "needsOffscreenAlphaCompositing" | "hitSlop" | "pointerEvents" | "removeClippedSubviews" | "experimental_accessibilityOrder"> & Omit<Readonly<{
36
- onClick?: ((event: import("react-native").PointerEvent) => void) | undefined;
37
- onClickCapture?: ((event: import("react-native").PointerEvent) => void) | undefined;
38
- onPointerEnter?: ((event: import("react-native").PointerEvent) => void) | undefined;
39
- onPointerEnterCapture?: ((event: import("react-native").PointerEvent) => void) | undefined;
40
- onPointerLeave?: ((event: import("react-native").PointerEvent) => void) | undefined;
41
- onPointerLeaveCapture?: ((event: import("react-native").PointerEvent) => void) | undefined;
42
- onPointerMove?: ((event: import("react-native").PointerEvent) => void) | undefined;
43
- onPointerMoveCapture?: ((event: import("react-native").PointerEvent) => void) | undefined;
44
- onPointerCancel?: ((e: import("react-native").PointerEvent) => void) | undefined;
45
- onPointerCancelCapture?: ((e: import("react-native").PointerEvent) => void) | undefined;
46
- onPointerDown?: ((e: import("react-native").PointerEvent) => void) | undefined;
47
- onPointerDownCapture?: ((e: import("react-native").PointerEvent) => void) | undefined;
48
- onPointerUp?: ((e: import("react-native").PointerEvent) => void) | undefined;
49
- onPointerUpCapture?: ((e: import("react-native").PointerEvent) => void) | undefined;
50
- onPointerOver?: ((e: import("react-native").PointerEvent) => void) | undefined;
51
- onPointerOverCapture?: ((e: import("react-native").PointerEvent) => void) | undefined;
52
- onPointerOut?: ((e: import("react-native").PointerEvent) => void) | undefined;
53
- onPointerOutCapture?: ((e: import("react-native").PointerEvent) => void) | undefined;
54
- onGotPointerCapture?: ((e: import("react-native").PointerEvent) => void) | undefined;
55
- onGotPointerCaptureCapture?: ((e: import("react-native").PointerEvent) => void) | undefined;
56
- onLostPointerCapture?: ((e: import("react-native").PointerEvent) => void) | undefined;
57
- onLostPointerCaptureCapture?: ((e: import("react-native").PointerEvent) => void) | undefined;
58
- }>, "children" | "onClick" | "onBlur" | "onBlurCapture" | "onFocus" | "onFocusCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "nativeBackgroundAndroid" | "nativeForegroundAndroid" | "renderToHardwareTextureAndroid" | "hasTVPreferredFocus" | "nextFocusDown" | "nextFocusForward" | "nextFocusLeft" | "nextFocusRight" | "nextFocusUp" | "focusable" | "tabIndex" | "shouldRasterizeIOS" | "accessibilityIgnoresInvertColors" | "accessibilityViewIsModal" | "accessibilityShowsLargeContentViewer" | "accessibilityLargeContentTitle" | "aria-modal" | "accessibilityElementsHidden" | "accessibilityLanguage" | "accessibilityRespondsToUserInteraction" | "accessible" | "accessibilityLabel" | "accessibilityHint" | "aria-label" | "accessibilityRole" | "role" | "accessibilityState" | "accessibilityValue" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "accessibilityActions" | "aria-busy" | "aria-checked" | "aria-disabled" | "aria-expanded" | "aria-selected" | "aria-hidden" | "accessibilityLabelledBy" | "aria-labelledby" | "accessibilityLiveRegion" | "aria-live" | "importantForAccessibility" | "screenReaderFocusable" | "style" | "collapsable" | "collapsableChildren" | "id" | "testID" | "nativeID" | "needsOffscreenAlphaCompositing" | "hitSlop" | "pointerEvents" | "removeClippedSubviews" | "experimental_accessibilityOrder"> & Omit<Readonly<{
59
- onBlur?: ((event: import("react-native").BlurEvent) => void) | undefined;
60
- onBlurCapture?: ((event: import("react-native").BlurEvent) => void) | undefined;
61
- onFocus?: ((event: import("react-native").FocusEvent) => void) | undefined;
62
- onFocusCapture?: ((event: import("react-native").FocusEvent) => void) | undefined;
63
- }>, "children" | "onClick" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "nativeBackgroundAndroid" | "nativeForegroundAndroid" | "renderToHardwareTextureAndroid" | "hasTVPreferredFocus" | "nextFocusDown" | "nextFocusForward" | "nextFocusLeft" | "nextFocusRight" | "nextFocusUp" | "focusable" | "tabIndex" | "shouldRasterizeIOS" | "accessibilityIgnoresInvertColors" | "accessibilityViewIsModal" | "accessibilityShowsLargeContentViewer" | "accessibilityLargeContentTitle" | "aria-modal" | "accessibilityElementsHidden" | "accessibilityLanguage" | "accessibilityRespondsToUserInteraction" | "accessible" | "accessibilityLabel" | "accessibilityHint" | "aria-label" | "accessibilityRole" | "role" | "accessibilityState" | "accessibilityValue" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "accessibilityActions" | "aria-busy" | "aria-checked" | "aria-disabled" | "aria-expanded" | "aria-selected" | "aria-hidden" | "accessibilityLabelledBy" | "aria-labelledby" | "accessibilityLiveRegion" | "aria-live" | "importantForAccessibility" | "screenReaderFocusable" | "style" | "collapsable" | "collapsableChildren" | "id" | "testID" | "nativeID" | "needsOffscreenAlphaCompositing" | "hitSlop" | "pointerEvents" | "removeClippedSubviews" | "experimental_accessibilityOrder"> & Omit<Readonly<{
64
- onTouchCancel?: ((e: import("react-native").GestureResponderEvent) => void) | undefined;
65
- onTouchCancelCapture?: ((e: import("react-native").GestureResponderEvent) => void) | undefined;
66
- onTouchEnd?: ((e: import("react-native").GestureResponderEvent) => void) | undefined;
67
- onTouchEndCapture?: ((e: import("react-native").GestureResponderEvent) => void) | undefined;
68
- onTouchMove?: ((e: import("react-native").GestureResponderEvent) => void) | undefined;
69
- onTouchMoveCapture?: ((e: import("react-native").GestureResponderEvent) => void) | undefined;
70
- onTouchStart?: ((e: import("react-native").GestureResponderEvent) => void) | undefined;
71
- onTouchStartCapture?: ((e: import("react-native").GestureResponderEvent) => void) | undefined;
72
- }>, "children" | "onClick" | "nativeBackgroundAndroid" | "nativeForegroundAndroid" | "renderToHardwareTextureAndroid" | "hasTVPreferredFocus" | "nextFocusDown" | "nextFocusForward" | "nextFocusLeft" | "nextFocusRight" | "nextFocusUp" | "focusable" | "tabIndex" | "shouldRasterizeIOS" | "accessibilityIgnoresInvertColors" | "accessibilityViewIsModal" | "accessibilityShowsLargeContentViewer" | "accessibilityLargeContentTitle" | "aria-modal" | "accessibilityElementsHidden" | "accessibilityLanguage" | "accessibilityRespondsToUserInteraction" | "accessible" | "accessibilityLabel" | "accessibilityHint" | "aria-label" | "accessibilityRole" | "role" | "accessibilityState" | "accessibilityValue" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "accessibilityActions" | "aria-busy" | "aria-checked" | "aria-disabled" | "aria-expanded" | "aria-selected" | "aria-hidden" | "accessibilityLabelledBy" | "aria-labelledby" | "accessibilityLiveRegion" | "aria-live" | "importantForAccessibility" | "screenReaderFocusable" | "style" | "collapsable" | "collapsableChildren" | "id" | "testID" | "nativeID" | "needsOffscreenAlphaCompositing" | "hitSlop" | "pointerEvents" | "removeClippedSubviews" | "experimental_accessibilityOrder"> & Omit<Readonly<{
73
- nativeBackgroundAndroid?: import("react-native/types_generated/Libraries/Components/View/ViewPropTypes").AndroidDrawable | undefined;
74
- nativeForegroundAndroid?: import("react-native/types_generated/Libraries/Components/View/ViewPropTypes").AndroidDrawable | undefined;
75
- renderToHardwareTextureAndroid?: boolean | undefined;
76
- hasTVPreferredFocus?: boolean | undefined;
77
- nextFocusDown?: number | undefined;
78
- nextFocusForward?: number | undefined;
79
- nextFocusLeft?: number | undefined;
80
- nextFocusRight?: number | undefined;
81
- nextFocusUp?: number | undefined;
82
- focusable?: boolean | undefined;
83
- tabIndex?: 0 | -1;
84
- onClick?: ((event: import("react-native").GestureResponderEvent) => unknown) | undefined;
85
- }>, "children" | "shouldRasterizeIOS" | "accessibilityIgnoresInvertColors" | "accessibilityViewIsModal" | "accessibilityShowsLargeContentViewer" | "accessibilityLargeContentTitle" | "aria-modal" | "accessibilityElementsHidden" | "accessibilityLanguage" | "accessibilityRespondsToUserInteraction" | "accessible" | "accessibilityLabel" | "accessibilityHint" | "aria-label" | "accessibilityRole" | "role" | "accessibilityState" | "accessibilityValue" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "accessibilityActions" | "aria-busy" | "aria-checked" | "aria-disabled" | "aria-expanded" | "aria-selected" | "aria-hidden" | "accessibilityLabelledBy" | "aria-labelledby" | "accessibilityLiveRegion" | "aria-live" | "importantForAccessibility" | "screenReaderFocusable" | "style" | "collapsable" | "collapsableChildren" | "id" | "testID" | "nativeID" | "needsOffscreenAlphaCompositing" | "hitSlop" | "pointerEvents" | "removeClippedSubviews" | "experimental_accessibilityOrder"> & Omit<Readonly<{
86
- shouldRasterizeIOS?: boolean | undefined;
87
- }>, "children" | "accessibilityIgnoresInvertColors" | "accessibilityViewIsModal" | "accessibilityShowsLargeContentViewer" | "accessibilityLargeContentTitle" | "aria-modal" | "accessibilityElementsHidden" | "accessibilityLanguage" | "accessibilityRespondsToUserInteraction" | "accessible" | "accessibilityLabel" | "accessibilityHint" | "aria-label" | "accessibilityRole" | "role" | "accessibilityState" | "accessibilityValue" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "accessibilityActions" | "aria-busy" | "aria-checked" | "aria-disabled" | "aria-expanded" | "aria-selected" | "aria-hidden" | "accessibilityLabelledBy" | "aria-labelledby" | "accessibilityLiveRegion" | "aria-live" | "importantForAccessibility" | "screenReaderFocusable" | "style" | "collapsable" | "collapsableChildren" | "id" | "testID" | "nativeID" | "needsOffscreenAlphaCompositing" | "hitSlop" | "pointerEvents" | "removeClippedSubviews" | "experimental_accessibilityOrder"> & Omit<Readonly<Omit<Readonly<{
88
- accessibilityLabelledBy?: (string | undefined) | (Array<string> | undefined);
89
- "aria-labelledby"?: string | undefined;
90
- accessibilityLiveRegion?: ("none" | "polite" | "assertive") | undefined;
91
- "aria-live"?: ("polite" | "assertive" | "off") | undefined;
92
- importantForAccessibility?: ("auto" | "yes" | "no" | "no-hide-descendants") | undefined;
93
- screenReaderFocusable?: boolean;
94
- }>, "accessibilityIgnoresInvertColors" | "accessibilityViewIsModal" | "accessibilityShowsLargeContentViewer" | "accessibilityLargeContentTitle" | "aria-modal" | "accessibilityElementsHidden" | "accessibilityLanguage" | "accessibilityRespondsToUserInteraction" | "accessible" | "accessibilityLabel" | "accessibilityHint" | "aria-label" | "accessibilityRole" | "role" | "accessibilityState" | "accessibilityValue" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "accessibilityActions" | "aria-busy" | "aria-checked" | "aria-disabled" | "aria-expanded" | "aria-selected" | "aria-hidden"> & Omit<Readonly<{
95
- accessibilityIgnoresInvertColors?: boolean | undefined;
96
- accessibilityViewIsModal?: boolean | undefined;
97
- accessibilityShowsLargeContentViewer?: boolean | undefined;
98
- accessibilityLargeContentTitle?: string | undefined;
99
- "aria-modal"?: boolean | undefined;
100
- accessibilityElementsHidden?: boolean | undefined;
101
- accessibilityLanguage?: string | undefined;
102
- accessibilityRespondsToUserInteraction?: boolean | undefined;
103
- }>, "accessible" | "accessibilityLabel" | "accessibilityHint" | "aria-label" | "accessibilityRole" | "role" | "accessibilityState" | "accessibilityValue" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "accessibilityActions" | "aria-busy" | "aria-checked" | "aria-disabled" | "aria-expanded" | "aria-selected" | "aria-hidden"> & {
104
- accessible?: boolean | undefined;
105
- accessibilityLabel?: string | undefined;
106
- accessibilityHint?: string | undefined;
107
- "aria-label"?: string | undefined;
108
- accessibilityRole?: import("react-native").AccessibilityRole | undefined;
109
- role?: import("react-native").Role | undefined;
110
- accessibilityState?: import("react-native").AccessibilityState | undefined;
111
- accessibilityValue?: import("react-native").AccessibilityValue | undefined;
112
- "aria-valuemax"?: import("react-native").AccessibilityValue["max"] | undefined;
113
- "aria-valuemin"?: import("react-native").AccessibilityValue["min"] | undefined;
114
- "aria-valuenow"?: import("react-native").AccessibilityValue["now"] | undefined;
115
- "aria-valuetext"?: import("react-native").AccessibilityValue["text"] | undefined;
116
- accessibilityActions?: ReadonlyArray<import("react-native/types_generated/Libraries/Components/View/ViewAccessibility").AccessibilityActionInfo> | undefined;
117
- "aria-busy"?: boolean | undefined;
118
- "aria-checked"?: (boolean | undefined) | "mixed";
119
- "aria-disabled"?: boolean | undefined;
120
- "aria-expanded"?: boolean | undefined;
121
- "aria-selected"?: boolean | undefined;
122
- "aria-hidden"?: boolean | undefined;
123
- }>, "children" | "style" | "collapsable" | "collapsableChildren" | "id" | "testID" | "nativeID" | "needsOffscreenAlphaCompositing" | "hitSlop" | "pointerEvents" | "removeClippedSubviews" | "experimental_accessibilityOrder"> & Omit<Readonly<{
124
- children?: React.ReactNode;
125
- style?: import("react-native/types_generated/Libraries/StyleSheet/StyleSheet").ViewStyleProp | undefined;
126
- collapsable?: boolean | undefined;
127
- collapsableChildren?: boolean | undefined;
128
- id?: string;
129
- testID?: string | undefined;
130
- nativeID?: string | undefined;
131
- needsOffscreenAlphaCompositing?: boolean | undefined;
132
- hitSlop?: import("react-native/types_generated/Libraries/StyleSheet/EdgeInsetsPropType").EdgeInsetsOrSizeProp | undefined;
133
- pointerEvents?: ("auto" | "box-none" | "box-only" | "none") | undefined;
134
- removeClippedSubviews?: boolean | undefined;
135
- experimental_accessibilityOrder?: Array<string> | undefined;
136
- }>, never>> & {
137
- groupIdentifier?: string;
138
- tintColor?: ColorValue;
139
- onFocus?: () => void;
140
- onBlur?: () => void;
141
- onFocusChange?: (isFocused: boolean) => void;
142
- orderGroup?: string;
143
- focusStyle?: FocusStyle;
144
- } & {
145
- children?: React.ReactNode | undefined;
146
- }>;
1
+ import React from 'react';
2
+ import type { KeyboardFocusGroupProps } from './KeyboardFocusGroup.types';
3
+ export type { KeyboardFocusGroupProps };
4
+ export declare const KeyboardFocusGroup: React.NamedExoticComponent<KeyboardFocusGroupProps>;
147
5
  //# sourceMappingURL=KeyboardFocusGroup.android.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"KeyboardFocusGroup.android.d.ts","sourceRoot":"","sources":["../../../../../src/components/KeyboardFocusGroup/KeyboardFocusGroup.android.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,KAAK,iBAAiB,EAAE,MAAM,OAAO,CAAC;AACtD,OAAO,EAAE,KAAK,UAAU,EAAkB,MAAM,cAAc,CAAC;AAI/D,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AAE9C,MAAM,MAAM,uBAAuB,GAAG,iBAAiB,CAAC;IACtD,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,SAAS,CAAC,EAAE,UAAU,CAAC;IACvB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;IACpB,aAAa,CAAC,EAAE,CAAC,SAAS,EAAE,OAAO,KAAK,IAAI,CAAC;IAC7C,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,UAAU,CAAC,EAAE,UAAU,CAAC;CACzB,CAAC,CAAC;AAEH,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sBATX,MAAM;gBACZ,UAAU;cACZ,MAAM,IAAI;aACX,MAAM,IAAI;oBACH,CAAC,SAAS,EAAE,OAAO,KAAK,IAAI;iBAC/B,MAAM;iBACN,UAAU;;;EAwBvB,CAAC"}
1
+ {"version":3,"file":"KeyboardFocusGroup.android.d.ts","sourceRoot":"","sources":["../../../../../src/components/KeyboardFocusGroup/KeyboardFocusGroup.android.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,4BAA4B,CAAC;AAE1E,YAAY,EAAE,uBAAuB,EAAE,CAAC;AAExC,eAAO,MAAM,kBAAkB,qDAqB9B,CAAC"}
@@ -1,14 +1,4 @@
1
- import { type PropsWithChildren } from 'react';
2
- import { type ColorValue, type ViewProps } from 'react-native';
3
- import type { FocusStyle } from '../../types';
4
- export type KeyboardFocusGroupProps = PropsWithChildren<ViewProps & {
5
- groupIdentifier?: string;
6
- tintColor?: ColorValue;
7
- onFocus?: () => void;
8
- onBlur?: () => void;
9
- onFocusChange?: (isFocused: boolean) => void;
10
- focusStyle?: FocusStyle;
11
- orderGroup?: string;
12
- }>;
1
+ import type { KeyboardFocusGroupProps } from './KeyboardFocusGroup.types';
2
+ export type { KeyboardFocusGroupProps };
13
3
  export declare const KeyboardFocusGroup: React.FC<KeyboardFocusGroupProps>;
14
4
  //# sourceMappingURL=KeyboardFocusGroup.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"KeyboardFocusGroup.d.ts","sourceRoot":"","sources":["../../../../../src/components/KeyboardFocusGroup/KeyboardFocusGroup.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAC/C,OAAO,EAAE,KAAK,UAAU,EAAQ,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AACrE,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AAE9C,MAAM,MAAM,uBAAuB,GAAG,iBAAiB,CACrD,SAAS,GAAG;IACV,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,SAAS,CAAC,EAAE,UAAU,CAAC;IACvB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;IACpB,aAAa,CAAC,EAAE,CAAC,SAAS,EAAE,OAAO,KAAK,IAAI,CAAC;IAC7C,UAAU,CAAC,EAAE,UAAU,CAAC;IACxB,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB,CACF,CAAC;AAEF,eAAO,MAAM,kBAAkB,EACV,KAAK,CAAC,EAAE,CAAC,uBAAuB,CAAC,CAAC"}
1
+ {"version":3,"file":"KeyboardFocusGroup.d.ts","sourceRoot":"","sources":["../../../../../src/components/KeyboardFocusGroup/KeyboardFocusGroup.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,4BAA4B,CAAC;AAE1E,YAAY,EAAE,uBAAuB,EAAE,CAAC;AAExC,eAAO,MAAM,kBAAkB,EACV,KAAK,CAAC,EAAE,CAAC,uBAAuB,CAAC,CAAC"}