react-native-external-keyboard 0.9.1 → 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +95 -600
- package/android/build.gradle +0 -18
- package/android/src/main/java/com/externalkeyboard/ExternalKeyboardViewPackage.java +24 -22
- package/android/src/main/java/com/externalkeyboard/events/EventHelper.java +10 -13
- package/android/src/main/java/com/externalkeyboard/helper/FocusHelper.java +1 -2
- package/android/src/main/java/com/externalkeyboard/services/FocusMemoryService.java +64 -0
- package/android/src/main/java/com/externalkeyboard/services/KeyboardFocusService.java +41 -0
- package/android/src/main/java/com/externalkeyboard/services/KeyboardService.java +4 -13
- package/android/src/main/java/com/externalkeyboard/views/ExternalKeyboardView/ExternalKeyboardView.java +2 -8
- package/android/src/main/java/com/externalkeyboard/views/ExternalKeyboardView/ExternalKeyboardViewManager.java +20 -13
- package/android/src/main/java/com/externalkeyboard/views/TextInputFocusWrapper/TextInputFocusWrapper.java +99 -21
- package/android/src/main/java/com/externalkeyboard/views/TextInputFocusWrapper/TextInputFocusWrapperManager.java +11 -0
- package/android/src/main/java/com/externalkeyboard/views/base/FocusHighlightBase.java +11 -5
- package/android/src/main/java/com/externalkeyboard/views/base/FocusableBase.java +36 -0
- package/android/src/main/java/com/externalkeyboard/views/base/keyboard/ViewFocusChangeBase.java +2 -3
- package/android/src/main/java/com/externalkeyboard/views/base/keyboard/ViewFocusRequestBase.java +10 -61
- package/android/src/newarch/ExternalKeyboardLockViewManagerInterface.java +11 -0
- package/android/src/newarch/ExternalKeyboardLockViewManagerSpec.java +0 -1
- package/android/src/newarch/ExternalKeyboardViewManagerInterface.java +42 -0
- package/android/src/newarch/ExternalKeyboardViewManagerSpec.java +0 -1
- package/android/src/newarch/KeyboardFocusGroupManagerInterface.java +12 -0
- package/android/src/newarch/KeyboardFocusGroupManagerSpec.java +0 -1
- package/android/src/newarch/TextInputFocusWrapperManagerInterface.java +34 -0
- package/android/src/newarch/TextInputFocusWrapperManagerSpec.java +0 -10
- package/android/src/newarch/helper/ReactNativeEventDispatcher.java +28 -0
- package/android/src/oldarch/ExternalKeyboardViewManagerSpec.java +6 -4
- package/android/src/oldarch/TextInputFocusWrapperManagerSpec.java +4 -0
- package/android/src/oldarch/helper/ReactNativeEventDispatcher.java +15 -0
- package/ios/Delegates/RNCEKVFocusDelegate/RNCEKVFocusDelegate.mm +1 -1
- package/ios/Delegates/RNCEKVFocusDelegate/RNCEKVFocusProtocol.h +1 -1
- package/ios/Delegates/RNCEKVHaloDelegate/RNCEKVHaloDelegate.h +2 -1
- package/ios/Delegates/RNCEKVHaloDelegate/RNCEKVHaloDelegate.mm +41 -5
- package/ios/Delegates/RNCEKVHaloDelegate/RNCEKVHaloProtocol.h +1 -0
- package/ios/Extensions/RCTCustomScrollView+RNCEKVExternalKeyboard.mm +5 -6
- package/ios/Extensions/RCTEnhancedScrollView+RNCEKVExternalKeyboard.mm +8 -9
- package/ios/Extensions/RCTTextInputComponentView+RNCEKVExternalKeyboard.mm +1 -1
- package/ios/Extensions/RCTViewComponentView+RNCEKVExternalKeyboard.h +0 -1
- package/ios/Extensions/RCTViewComponentView+RNCEKVExternalKeyboard.mm +16 -4
- package/ios/Extensions/UIViewController+RNCEKVExternalKeyboard.mm +7 -10
- package/ios/Helpers/RNCEKVNativeProps/RNCEKVNativeProps.h +4 -4
- package/ios/Helpers/RNCEKVSwizzleInstanceMethod/RNCEKVSwizzleInstanceMethod.h +19 -0
- package/ios/Protocols/RNCEKVCustomFocusEffectProtocol.h +1 -1
- package/ios/Services/RNCEKVFocusMemoryService.h +39 -0
- package/ios/Services/RNCEKVFocusMemoryService.mm +42 -0
- package/ios/Services/RNCEKVKeyboardFocusService.h +28 -0
- package/ios/Services/RNCEKVKeyboardFocusService.mm +54 -0
- package/ios/Views/Base/FocusChange/RNCEKVViewFocusChangeBase.h +2 -0
- package/ios/Views/Base/FocusChange/RNCEKVViewFocusChangeBase.mm +12 -10
- package/ios/Views/Base/FocusRequest/RNCEKVViewFocusRequestBase.h +1 -1
- package/ios/Views/Base/FocusRequest/RNCEKVViewFocusRequestBase.mm +6 -17
- package/ios/Views/Base/KeyboardHallo/RNCEKVExternalKeyboardHalloBase.h +1 -0
- package/ios/Views/Base/KeyboardHallo/RNCEKVExternalKeyboardHalloBase.mm +146 -6
- package/ios/Views/Base/ViewGroup/RNCEKVViewGroupBase.h +2 -0
- package/ios/Views/Base/ViewGroup/RNCEKVViewGroupBase.mm +4 -0
- package/ios/Views/RNCEKVExternalKeyboardView/RNCEKVExternalKeyboardView.h +1 -1
- package/ios/Views/RNCEKVExternalKeyboardView/RNCEKVExternalKeyboardView.mm +8 -4
- package/ios/Views/RNCEKVExternalKeyboardView/RNCEKVExternalKeyboardViewManager.mm +22 -11
- package/ios/Views/RNCEKVTextInputFocusWrapper/RNCEKVTextInputFocusWrapper.mm +17 -0
- package/ios/Views/RNCEKVTextInputFocusWrapper/RNCEKVTextInputFocusWrapperManager.mm +12 -0
- package/lib/commonjs/components/BaseKeyboardView/BaseKeyboardView.js +67 -65
- package/lib/commonjs/components/BaseKeyboardView/BaseKeyboardView.js.map +1 -1
- package/lib/commonjs/components/KeyboardExtendedInput/KeyboardExtendedInput.js +49 -97
- package/lib/commonjs/components/KeyboardExtendedInput/KeyboardExtendedInput.js.map +1 -1
- package/lib/commonjs/components/KeyboardFocusGroup/KeyboardFocusGroup.android.js.map +1 -1
- package/lib/commonjs/components/KeyboardFocusGroup/KeyboardFocusGroup.ios.js.map +1 -1
- package/lib/commonjs/components/KeyboardFocusGroup/KeyboardFocusGroup.js.map +1 -1
- package/lib/commonjs/components/{KeyboardExtendedInput/KeyboardExtendedInput.types.js → KeyboardFocusGroup/KeyboardFocusGroup.types.js} +1 -1
- package/lib/commonjs/components/KeyboardFocusGroup/KeyboardFocusGroup.types.js.map +1 -0
- package/lib/commonjs/components/KeyboardFocusLock/FocusFrame/FocusFrame.android.js +2 -1
- package/lib/commonjs/components/KeyboardFocusLock/FocusFrame/FocusFrame.android.js.map +1 -1
- package/lib/commonjs/components/KeyboardFocusLock/FocusTrap/FocusTrap.android.js +2 -1
- package/lib/commonjs/components/KeyboardFocusLock/FocusTrap/FocusTrap.android.js.map +1 -1
- package/lib/commonjs/components/KeyboardFocusLock/KeyboardFocusLockBase/KeyboardFocusLockBase.js +2 -1
- package/lib/commonjs/components/KeyboardFocusLock/KeyboardFocusLockBase/KeyboardFocusLockBase.js.map +1 -1
- package/lib/commonjs/components/KeyboardFocusView/KeyboardFocusView.js +14 -51
- package/lib/commonjs/components/KeyboardFocusView/KeyboardFocusView.js.map +1 -1
- package/lib/commonjs/components/index.js +47 -0
- package/lib/commonjs/components/index.js.map +1 -1
- package/lib/commonjs/index.js +37 -19
- package/lib/commonjs/index.js.map +1 -1
- package/lib/commonjs/nativeSpec/ExternalKeyboardLockViewNativeComponent.ts +1 -3
- package/lib/commonjs/nativeSpec/ExternalKeyboardViewNativeComponent.ts +12 -9
- package/lib/commonjs/nativeSpec/KeyboardFocusGroupNativeComponent.ts +5 -3
- package/lib/commonjs/nativeSpec/TextInputFocusWrapperNativeComponent.ts +7 -3
- package/lib/commonjs/types/KeyboardFocusLock.types.js +13 -0
- package/lib/commonjs/types/KeyboardFocusLock.types.js.map +1 -1
- package/lib/commonjs/types/baseKeyboardView.types.js +6 -0
- package/lib/commonjs/types/baseKeyboardView.types.js.map +1 -0
- package/lib/commonjs/types/{FocusStyle.js → focus.types.js} +1 -1
- package/lib/commonjs/types/{FocusStyle.js.map → focus.types.js.map} +1 -1
- package/lib/commonjs/types/focusOrder.types.js +33 -0
- package/lib/commonjs/types/focusOrder.types.js.map +1 -0
- package/lib/commonjs/types/{WithKeyboardFocus.js → focusStyle.types.js} +1 -1
- package/lib/commonjs/types/{WithKeyboardFocus.js.map → focusStyle.types.js.map} +1 -1
- package/lib/commonjs/types/index.js +18 -0
- package/lib/commonjs/types/index.js.map +1 -1
- package/lib/commonjs/types/keyPress.types.js +6 -0
- package/lib/{module/types/WithKeyboardFocus.js.map → commonjs/types/keyPress.types.js.map} +1 -1
- package/lib/commonjs/types/keyboardInput.types.js +6 -0
- package/lib/commonjs/types/keyboardInput.types.js.map +1 -0
- package/lib/commonjs/types/withKeyboardFocus.types.js +6 -0
- package/lib/commonjs/types/withKeyboardFocus.types.js.map +1 -0
- package/lib/commonjs/utils/mapLockFocus.js +37 -0
- package/lib/commonjs/utils/mapLockFocus.js.map +1 -0
- package/lib/commonjs/utils/useFocusStyle.js +4 -21
- package/lib/commonjs/utils/useFocusStyle.js.map +1 -1
- package/lib/commonjs/utils/useKeyboardFocusContainer.js +79 -0
- package/lib/commonjs/utils/useKeyboardFocusContainer.js.map +1 -0
- package/lib/commonjs/utils/useKeyboardPress/useKeyboardPress.android.js +4 -7
- package/lib/commonjs/utils/useKeyboardPress/useKeyboardPress.android.js.map +1 -1
- package/lib/commonjs/utils/useKeyboardPress/useKeyboardPress.ios.js +3 -6
- package/lib/commonjs/utils/useKeyboardPress/useKeyboardPress.ios.js.map +1 -1
- package/lib/commonjs/utils/useKeyboardPress/useKeyboardPress.js +9 -7
- package/lib/commonjs/utils/useKeyboardPress/useKeyboardPress.js.map +1 -1
- package/lib/commonjs/utils/useKeyboardPressState.js +65 -0
- package/lib/commonjs/utils/useKeyboardPressState.js.map +1 -0
- package/lib/commonjs/utils/useOnFocusChange.js +1 -1
- package/lib/commonjs/utils/useOnFocusChange.js.map +1 -1
- package/lib/commonjs/utils/useOrderValidation.js +35 -0
- package/lib/commonjs/utils/useOrderValidation.js.map +1 -0
- package/lib/commonjs/utils/useRenderedChildren.js +34 -0
- package/lib/commonjs/utils/useRenderedChildren.js.map +1 -0
- package/lib/commonjs/utils/useWrappedOrderProps.js +35 -0
- package/lib/commonjs/utils/useWrappedOrderProps.js.map +1 -0
- package/lib/commonjs/utils/withKeyboardFocus.js +81 -96
- package/lib/commonjs/utils/withKeyboardFocus.js.map +1 -1
- package/lib/module/components/BaseKeyboardView/BaseKeyboardView.js +57 -55
- package/lib/module/components/BaseKeyboardView/BaseKeyboardView.js.map +1 -1
- package/lib/module/components/KeyboardExtendedInput/KeyboardExtendedInput.js +51 -99
- package/lib/module/components/KeyboardExtendedInput/KeyboardExtendedInput.js.map +1 -1
- package/lib/module/components/KeyboardFocusGroup/KeyboardFocusGroup.android.js.map +1 -1
- package/lib/module/components/KeyboardFocusGroup/KeyboardFocusGroup.ios.js.map +1 -1
- package/lib/module/components/KeyboardFocusGroup/KeyboardFocusGroup.js.map +1 -1
- package/lib/module/components/KeyboardFocusGroup/KeyboardFocusGroup.types.js +4 -0
- package/lib/module/components/KeyboardFocusGroup/KeyboardFocusGroup.types.js.map +1 -0
- package/lib/module/components/KeyboardFocusLock/FocusFrame/FocusFrame.android.js +2 -1
- package/lib/module/components/KeyboardFocusLock/FocusFrame/FocusFrame.android.js.map +1 -1
- package/lib/module/components/KeyboardFocusLock/FocusTrap/FocusTrap.android.js +2 -1
- package/lib/module/components/KeyboardFocusLock/FocusTrap/FocusTrap.android.js.map +1 -1
- package/lib/module/components/KeyboardFocusLock/KeyboardFocusLockBase/KeyboardFocusLockBase.js +2 -1
- package/lib/module/components/KeyboardFocusLock/KeyboardFocusLockBase/KeyboardFocusLockBase.js.map +1 -1
- package/lib/module/components/KeyboardFocusView/KeyboardFocusView.js +16 -53
- package/lib/module/components/KeyboardFocusView/KeyboardFocusView.js.map +1 -1
- package/lib/module/components/index.js +5 -0
- package/lib/module/components/index.js.map +1 -1
- package/lib/module/index.js +20 -7
- package/lib/module/index.js.map +1 -1
- package/lib/module/nativeSpec/ExternalKeyboardLockViewNativeComponent.ts +1 -3
- package/lib/module/nativeSpec/ExternalKeyboardViewNativeComponent.ts +12 -9
- package/lib/module/nativeSpec/KeyboardFocusGroupNativeComponent.ts +5 -3
- package/lib/module/nativeSpec/TextInputFocusWrapperNativeComponent.ts +7 -3
- package/lib/module/types/KeyboardFocusLock.types.js +12 -1
- package/lib/module/types/KeyboardFocusLock.types.js.map +1 -1
- package/lib/module/types/baseKeyboardView.types.js +4 -0
- package/lib/module/types/baseKeyboardView.types.js.map +1 -0
- package/lib/module/types/focus.types.js +4 -0
- package/lib/module/types/{FocusStyle.js.map → focus.types.js.map} +1 -1
- package/lib/module/types/focusOrder.types.js +31 -0
- package/lib/module/types/focusOrder.types.js.map +1 -0
- package/lib/module/types/focusStyle.types.js +4 -0
- package/lib/module/types/focusStyle.types.js.map +1 -0
- package/lib/module/types/index.js +3 -0
- package/lib/module/types/index.js.map +1 -1
- package/lib/module/types/keyPress.types.js +4 -0
- package/lib/module/types/keyPress.types.js.map +1 -0
- package/lib/module/types/keyboardInput.types.js +4 -0
- package/lib/module/types/keyboardInput.types.js.map +1 -0
- package/lib/module/types/withKeyboardFocus.types.js +4 -0
- package/lib/module/types/withKeyboardFocus.types.js.map +1 -0
- package/lib/module/utils/mapLockFocus.js +32 -0
- package/lib/module/utils/mapLockFocus.js.map +1 -0
- package/lib/module/utils/useFocusStyle.js +4 -21
- package/lib/module/utils/useFocusStyle.js.map +1 -1
- package/lib/module/utils/useKeyboardFocusContainer.js +74 -0
- package/lib/module/utils/useKeyboardFocusContainer.js.map +1 -0
- package/lib/module/utils/useKeyboardPress/useKeyboardPress.android.js +4 -7
- package/lib/module/utils/useKeyboardPress/useKeyboardPress.android.js.map +1 -1
- package/lib/module/utils/useKeyboardPress/useKeyboardPress.ios.js +3 -6
- package/lib/module/utils/useKeyboardPress/useKeyboardPress.ios.js.map +1 -1
- package/lib/module/utils/useKeyboardPress/useKeyboardPress.js +9 -7
- package/lib/module/utils/useKeyboardPress/useKeyboardPress.js.map +1 -1
- package/lib/module/utils/useKeyboardPressState.js +60 -0
- package/lib/module/utils/useKeyboardPressState.js.map +1 -0
- package/lib/module/utils/useOnFocusChange.js +1 -1
- package/lib/module/utils/useOnFocusChange.js.map +1 -1
- package/lib/module/utils/useOrderValidation.js +30 -0
- package/lib/module/utils/useOrderValidation.js.map +1 -0
- package/lib/module/utils/useRenderedChildren.js +29 -0
- package/lib/module/utils/useRenderedChildren.js.map +1 -0
- package/lib/module/utils/useWrappedOrderProps.js +30 -0
- package/lib/module/utils/useWrappedOrderProps.js.map +1 -0
- package/lib/module/utils/withKeyboardFocus.js +84 -99
- package/lib/module/utils/withKeyboardFocus.js.map +1 -1
- package/lib/typescript/src/components/BaseKeyboardView/BaseKeyboardView.d.ts +30 -10
- package/lib/typescript/src/components/BaseKeyboardView/BaseKeyboardView.d.ts.map +1 -1
- package/lib/typescript/src/components/KeyboardExtendedInput/KeyboardExtendedInput.d.ts +187 -12
- package/lib/typescript/src/components/KeyboardExtendedInput/KeyboardExtendedInput.d.ts.map +1 -1
- package/lib/typescript/src/components/KeyboardFocusGroup/KeyboardFocusGroup.android.d.ts +4 -146
- package/lib/typescript/src/components/KeyboardFocusGroup/KeyboardFocusGroup.android.d.ts.map +1 -1
- package/lib/typescript/src/components/KeyboardFocusGroup/KeyboardFocusGroup.d.ts +2 -12
- package/lib/typescript/src/components/KeyboardFocusGroup/KeyboardFocusGroup.d.ts.map +1 -1
- package/lib/typescript/src/components/KeyboardFocusGroup/KeyboardFocusGroup.ios.d.ts +4 -146
- package/lib/typescript/src/components/KeyboardFocusGroup/KeyboardFocusGroup.ios.d.ts.map +1 -1
- package/lib/typescript/src/components/KeyboardFocusGroup/KeyboardFocusGroup.types.d.ts +13 -0
- package/lib/typescript/src/components/KeyboardFocusGroup/KeyboardFocusGroup.types.d.ts.map +1 -0
- package/lib/typescript/src/components/KeyboardFocusLock/FocusFrame/FocusFrame.android.d.ts +1 -1
- package/lib/typescript/src/components/KeyboardFocusLock/FocusFrame/FocusFrame.android.d.ts.map +1 -1
- package/lib/typescript/src/components/KeyboardFocusLock/FocusTrap/FocusTrap.android.d.ts +1 -1
- package/lib/typescript/src/components/KeyboardFocusLock/FocusTrap/FocusTrap.android.d.ts.map +1 -1
- package/lib/typescript/src/components/KeyboardFocusLock/FocusTrap/FocusTrap.d.ts +1 -1
- package/lib/typescript/src/components/KeyboardFocusLock/FocusTrap/FocusTrap.d.ts.map +1 -1
- package/lib/typescript/src/components/KeyboardFocusLock/KeyboardFocusLockBase/KeyboardFocusLockBase.d.ts +1 -1
- package/lib/typescript/src/components/KeyboardFocusLock/KeyboardFocusLockBase/KeyboardFocusLockBase.d.ts.map +1 -1
- package/lib/typescript/src/components/KeyboardFocusView/KeyboardFocusView.d.ts +28 -18
- package/lib/typescript/src/components/KeyboardFocusView/KeyboardFocusView.d.ts.map +1 -1
- package/lib/typescript/src/components/Touchable/Pressable.d.ts +14 -14
- package/lib/typescript/src/components/Touchable/Pressable.d.ts.map +1 -1
- package/lib/typescript/src/components/index.d.ts +5 -0
- package/lib/typescript/src/components/index.d.ts.map +1 -1
- package/lib/typescript/src/index.d.ts +694 -9
- package/lib/typescript/src/index.d.ts.map +1 -1
- package/lib/typescript/src/nativeSpec/ExternalKeyboardLockViewNativeComponent.d.ts +2 -4
- package/lib/typescript/src/nativeSpec/ExternalKeyboardLockViewNativeComponent.d.ts.map +1 -1
- package/lib/typescript/src/nativeSpec/ExternalKeyboardViewNativeComponent.d.ts +6 -7
- package/lib/typescript/src/nativeSpec/ExternalKeyboardViewNativeComponent.d.ts.map +1 -1
- package/lib/typescript/src/nativeSpec/KeyboardFocusGroupNativeComponent.d.ts +2 -4
- package/lib/typescript/src/nativeSpec/KeyboardFocusGroupNativeComponent.d.ts.map +1 -1
- package/lib/typescript/src/nativeSpec/TextInputFocusWrapperNativeComponent.d.ts +4 -4
- package/lib/typescript/src/nativeSpec/TextInputFocusWrapperNativeComponent.d.ts.map +1 -1
- package/lib/typescript/src/types/KeyboardFocusLock.types.d.ts +15 -1
- package/lib/typescript/src/types/KeyboardFocusLock.types.d.ts.map +1 -1
- package/lib/typescript/src/types/KeyboardFocusView.types.d.ts +16 -14
- package/lib/typescript/src/types/KeyboardFocusView.types.d.ts.map +1 -1
- package/lib/typescript/src/types/baseKeyboardView.types.d.ts +119 -0
- package/lib/typescript/src/types/baseKeyboardView.types.d.ts.map +1 -0
- package/lib/typescript/src/types/focus.types.d.ts +35 -0
- package/lib/typescript/src/types/focus.types.d.ts.map +1 -0
- package/lib/typescript/src/types/focusOrder.types.d.ts +57 -0
- package/lib/typescript/src/types/focusOrder.types.d.ts.map +1 -0
- package/lib/typescript/src/types/focusStyle.types.d.ts +11 -0
- package/lib/typescript/src/types/focusStyle.types.d.ts.map +1 -0
- package/lib/typescript/src/types/index.d.ts +11 -2
- package/lib/typescript/src/types/index.d.ts.map +1 -1
- package/lib/typescript/src/types/keyPress.types.d.ts +7 -0
- package/lib/typescript/src/types/keyPress.types.d.ts.map +1 -0
- package/lib/typescript/src/types/keyboardInput.types.d.ts +53 -0
- package/lib/typescript/src/types/keyboardInput.types.d.ts.map +1 -0
- package/lib/typescript/src/types/withKeyboardFocus.types.d.ts +109 -0
- package/lib/typescript/src/types/withKeyboardFocus.types.d.ts.map +1 -0
- package/lib/typescript/src/utils/mapLockFocus.d.ts +3 -0
- package/lib/typescript/src/utils/mapLockFocus.d.ts.map +1 -0
- package/lib/typescript/src/utils/useFocusStyle.d.ts +26 -34
- package/lib/typescript/src/utils/useFocusStyle.d.ts.map +1 -1
- package/lib/typescript/src/utils/useKeyboardFocusContainer.d.ts +898 -0
- package/lib/typescript/src/utils/useKeyboardFocusContainer.d.ts.map +1 -0
- package/lib/typescript/src/utils/useKeyboardPress/useKeyboardPress.android.d.ts +2 -2
- package/lib/typescript/src/utils/useKeyboardPress/useKeyboardPress.android.d.ts.map +1 -1
- package/lib/typescript/src/utils/useKeyboardPress/useKeyboardPress.d.ts +4 -3
- package/lib/typescript/src/utils/useKeyboardPress/useKeyboardPress.d.ts.map +1 -1
- package/lib/typescript/src/utils/useKeyboardPress/useKeyboardPress.ios.d.ts +3 -3
- package/lib/typescript/src/utils/useKeyboardPress/useKeyboardPress.ios.d.ts.map +1 -1
- package/lib/typescript/src/utils/useKeyboardPress/useKeyboardPress.types.d.ts +1 -2
- package/lib/typescript/src/utils/useKeyboardPress/useKeyboardPress.types.d.ts.map +1 -1
- package/lib/typescript/src/utils/useKeyboardPressState.d.ts +29 -0
- package/lib/typescript/src/utils/useKeyboardPressState.d.ts.map +1 -0
- package/lib/typescript/src/utils/useOnFocusChange.d.ts +3 -3
- package/lib/typescript/src/utils/useOnFocusChange.d.ts.map +1 -1
- package/lib/typescript/src/utils/useOrderValidation.d.ts +8 -0
- package/lib/typescript/src/utils/useOrderValidation.d.ts.map +1 -0
- package/lib/typescript/src/utils/useRenderedChildren.d.ts +18 -0
- package/lib/typescript/src/utils/useRenderedChildren.d.ts.map +1 -0
- package/lib/typescript/src/utils/useWrappedOrderProps.d.ts +13 -0
- package/lib/typescript/src/utils/useWrappedOrderProps.d.ts.map +1 -0
- package/lib/typescript/src/utils/withKeyboardFocus.d.ts +3 -4
- package/lib/typescript/src/utils/withKeyboardFocus.d.ts.map +1 -1
- package/package.json +4 -2
- package/src/components/BaseKeyboardView/BaseKeyboardView.tsx +74 -94
- package/src/components/KeyboardExtendedInput/KeyboardExtendedInput.tsx +49 -149
- package/src/components/KeyboardFocusGroup/KeyboardFocusGroup.android.tsx +23 -32
- package/src/components/KeyboardFocusGroup/KeyboardFocusGroup.ios.tsx +32 -41
- package/src/components/KeyboardFocusGroup/KeyboardFocusGroup.tsx +3 -14
- package/src/components/KeyboardFocusGroup/KeyboardFocusGroup.types.ts +15 -0
- package/src/components/KeyboardFocusLock/FocusFrame/FocusFrame.android.tsx +2 -2
- package/src/components/KeyboardFocusLock/FocusTrap/FocusTrap.android.tsx +2 -2
- package/src/components/KeyboardFocusLock/FocusTrap/FocusTrap.tsx +1 -1
- package/src/components/KeyboardFocusLock/KeyboardFocusLockBase/KeyboardFocusLockBase.tsx +2 -2
- package/src/components/KeyboardFocusView/KeyboardFocusView.tsx +29 -68
- package/src/components/Touchable/Pressable.tsx +2 -2
- package/src/components/index.ts +12 -0
- package/src/index.tsx +44 -32
- package/src/nativeSpec/ExternalKeyboardLockViewNativeComponent.ts +1 -3
- package/src/nativeSpec/ExternalKeyboardViewNativeComponent.ts +12 -9
- package/src/nativeSpec/KeyboardFocusGroupNativeComponent.ts +5 -3
- package/src/nativeSpec/TextInputFocusWrapperNativeComponent.ts +7 -3
- package/src/types/KeyboardFocusLock.types.ts +16 -1
- package/src/types/KeyboardFocusView.types.ts +17 -18
- package/src/types/baseKeyboardView.types.ts +122 -0
- package/src/types/focus.types.ts +40 -0
- package/src/types/focusOrder.types.ts +59 -0
- package/src/types/{FocusStyle.ts → focusStyle.types.ts} +5 -0
- package/src/types/index.ts +32 -2
- package/src/types/keyPress.types.ts +8 -0
- package/src/types/keyboardInput.types.ts +81 -0
- package/src/types/withKeyboardFocus.types.ts +178 -0
- package/src/utils/mapLockFocus.ts +31 -0
- package/src/utils/useFocusStyle.tsx +13 -41
- package/src/utils/useKeyboardFocusContainer.ts +102 -0
- package/src/utils/useKeyboardPress/useKeyboardPress.android.ts +4 -7
- package/src/utils/useKeyboardPress/useKeyboardPress.ios.ts +3 -6
- package/src/utils/useKeyboardPress/useKeyboardPress.ts +9 -7
- package/src/utils/useKeyboardPress/useKeyboardPress.types.ts +1 -2
- package/src/utils/useKeyboardPressState.ts +81 -0
- package/src/utils/useOnFocusChange.ts +4 -7
- package/src/utils/useOrderValidation.ts +74 -0
- package/src/utils/useRenderedChildren.ts +42 -0
- package/src/utils/useWrappedOrderProps.ts +48 -0
- package/src/utils/withKeyboardFocus.tsx +105 -125
- package/lib/commonjs/components/KeyboardExtendedInput/KeyboardExtendedInput.types.js.map +0 -1
- package/lib/commonjs/components/KeyboardFocusView/hooks/index.js +0 -13
- package/lib/commonjs/components/KeyboardFocusView/hooks/index.js.map +0 -1
- package/lib/commonjs/components/KeyboardFocusView/hooks/useFocusStyle/index.js +0 -13
- package/lib/commonjs/components/KeyboardFocusView/hooks/useFocusStyle/index.js.map +0 -1
- package/lib/commonjs/components/KeyboardFocusView/hooks/useFocusStyle/useFocusStyle.js +0 -33
- package/lib/commonjs/components/KeyboardFocusView/hooks/useFocusStyle/useFocusStyle.js.map +0 -1
- package/lib/commonjs/components/KeyboardFocusView/hooks/useFocusStyle/useTintStyle.js +0 -39
- package/lib/commonjs/components/KeyboardFocusView/hooks/useFocusStyle/useTintStyle.js.map +0 -1
- package/lib/commonjs/components/RenderPropComponent/RenderPropComponent.js +0 -23
- package/lib/commonjs/components/RenderPropComponent/RenderPropComponent.js.map +0 -1
- package/lib/commonjs/types/BaseKeyboardView.js +0 -18
- package/lib/commonjs/types/BaseKeyboardView.js.map +0 -1
- package/lib/module/components/KeyboardExtendedInput/KeyboardExtendedInput.types.js +0 -4
- package/lib/module/components/KeyboardExtendedInput/KeyboardExtendedInput.types.js.map +0 -1
- package/lib/module/components/KeyboardFocusView/hooks/index.js +0 -4
- package/lib/module/components/KeyboardFocusView/hooks/index.js.map +0 -1
- package/lib/module/components/KeyboardFocusView/hooks/useFocusStyle/index.js +0 -4
- package/lib/module/components/KeyboardFocusView/hooks/useFocusStyle/index.js.map +0 -1
- package/lib/module/components/KeyboardFocusView/hooks/useFocusStyle/useFocusStyle.js +0 -28
- package/lib/module/components/KeyboardFocusView/hooks/useFocusStyle/useFocusStyle.js.map +0 -1
- package/lib/module/components/KeyboardFocusView/hooks/useFocusStyle/useTintStyle.js +0 -34
- package/lib/module/components/KeyboardFocusView/hooks/useFocusStyle/useTintStyle.js.map +0 -1
- package/lib/module/components/RenderPropComponent/RenderPropComponent.js +0 -17
- package/lib/module/components/RenderPropComponent/RenderPropComponent.js.map +0 -1
- package/lib/module/types/BaseKeyboardView.js +0 -14
- package/lib/module/types/BaseKeyboardView.js.map +0 -1
- package/lib/module/types/FocusStyle.js +0 -4
- package/lib/module/types/WithKeyboardFocus.js +0 -4
- package/lib/typescript/src/components/KeyboardExtendedInput/KeyboardExtendedInput.types.d.ts +0 -45
- package/lib/typescript/src/components/KeyboardExtendedInput/KeyboardExtendedInput.types.d.ts.map +0 -1
- package/lib/typescript/src/components/KeyboardFocusView/hooks/index.d.ts +0 -2
- package/lib/typescript/src/components/KeyboardFocusView/hooks/index.d.ts.map +0 -1
- package/lib/typescript/src/components/KeyboardFocusView/hooks/useFocusStyle/index.d.ts +0 -2
- package/lib/typescript/src/components/KeyboardFocusView/hooks/useFocusStyle/index.d.ts.map +0 -1
- package/lib/typescript/src/components/KeyboardFocusView/hooks/useFocusStyle/useFocusStyle.d.ts +0 -175
- package/lib/typescript/src/components/KeyboardFocusView/hooks/useFocusStyle/useFocusStyle.d.ts.map +0 -1
- package/lib/typescript/src/components/KeyboardFocusView/hooks/useFocusStyle/useTintStyle.d.ts +0 -181
- package/lib/typescript/src/components/KeyboardFocusView/hooks/useFocusStyle/useTintStyle.d.ts.map +0 -1
- package/lib/typescript/src/components/RenderPropComponent/RenderPropComponent.d.ts +0 -6
- package/lib/typescript/src/components/RenderPropComponent/RenderPropComponent.d.ts.map +0 -1
- package/lib/typescript/src/types/BaseKeyboardView.d.ts +0 -70
- package/lib/typescript/src/types/BaseKeyboardView.d.ts.map +0 -1
- package/lib/typescript/src/types/FocusStyle.d.ts +0 -6
- package/lib/typescript/src/types/FocusStyle.d.ts.map +0 -1
- package/lib/typescript/src/types/WithKeyboardFocus.d.ts +0 -47
- package/lib/typescript/src/types/WithKeyboardFocus.d.ts.map +0 -1
- package/src/components/KeyboardExtendedInput/KeyboardExtendedInput.types.ts +0 -73
- package/src/components/KeyboardFocusView/hooks/index.ts +0 -1
- package/src/components/KeyboardFocusView/hooks/useFocusStyle/index.ts +0 -1
- package/src/components/KeyboardFocusView/hooks/useFocusStyle/useFocusStyle.ts +0 -34
- package/src/components/KeyboardFocusView/hooks/useFocusStyle/useTintStyle.ts +0 -41
- package/src/components/RenderPropComponent/RenderPropComponent.tsx +0 -18
- package/src/types/BaseKeyboardView.ts +0 -74
- package/src/types/WithKeyboardFocus.ts +0 -115
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
|
|
13
13
|
@interface RNCEKVExternalKeyboardView : RNCEKVViewKeyPress <RNCEKVKeyboardFocusableProtocol>
|
|
14
14
|
|
|
15
|
-
@property BOOL
|
|
15
|
+
@property BOOL focusableWrapper;
|
|
16
16
|
|
|
17
17
|
#ifndef RCT_NEW_ARCH_ENABLED
|
|
18
18
|
@property (nonatomic, copy) RCTDirectEventBlock onFocusChange;
|
|
@@ -58,10 +58,14 @@ using namespace facebook::react;
|
|
|
58
58
|
|
|
59
59
|
|
|
60
60
|
- (void)handleCommand:(const NSString *)commandName args:(const NSArray *)args {
|
|
61
|
-
NSString *
|
|
62
|
-
|
|
61
|
+
NSString *KEYBOARD_FOCUS = @"rnekKeyboardFocus";
|
|
62
|
+
NSString *SCREEN_READER_FOCUS = @"rnekScreenReaderFocus";
|
|
63
|
+
if ([commandName isEqual:KEYBOARD_FOCUS]) {
|
|
63
64
|
[self focus];
|
|
64
65
|
}
|
|
66
|
+
if ([commandName isEqual:SCREEN_READER_FOCUS]) {
|
|
67
|
+
[self screenReaderFocus];
|
|
68
|
+
}
|
|
65
69
|
}
|
|
66
70
|
|
|
67
71
|
- (void)updateProps:(Props::Shared const &)props
|
|
@@ -91,8 +95,8 @@ using namespace facebook::react;
|
|
|
91
95
|
[self updateFocusRequestProps:RNCEKV::AutoFocusProps::from(oldViewProps)
|
|
92
96
|
newProps:RNCEKV::AutoFocusProps::from(newViewProps)];
|
|
93
97
|
|
|
94
|
-
if (oldViewProps.
|
|
95
|
-
[self
|
|
98
|
+
if (oldViewProps.focusableWrapper != newViewProps.focusableWrapper) {
|
|
99
|
+
[self setFocusableWrapper:newViewProps.focusableWrapper];
|
|
96
100
|
}
|
|
97
101
|
}
|
|
98
102
|
|
|
@@ -70,14 +70,6 @@ RCT_CUSTOM_VIEW_PROPERTY(haloEffect, BOOL, RNCEKVExternalKeyboardView)
|
|
|
70
70
|
}
|
|
71
71
|
}
|
|
72
72
|
|
|
73
|
-
RCT_CUSTOM_VIEW_PROPERTY(enableA11yFocus, BOOL, RNCEKVExternalKeyboardView)
|
|
74
|
-
{
|
|
75
|
-
if(json) {
|
|
76
|
-
BOOL value = json ? [RCTConvert BOOL:json] : NO;
|
|
77
|
-
[view setEnableA11yFocus: value];
|
|
78
|
-
}
|
|
79
|
-
}
|
|
80
|
-
|
|
81
73
|
RCT_CUSTOM_VIEW_PROPERTY(screenAutoA11yFocus, BOOL, RNCEKVExternalKeyboardView)
|
|
82
74
|
{
|
|
83
75
|
//stub
|
|
@@ -112,11 +104,17 @@ RCT_CUSTOM_VIEW_PROPERTY(haloExpendY, float, RNCEKVExternalKeyboardView)
|
|
|
112
104
|
}
|
|
113
105
|
}
|
|
114
106
|
|
|
107
|
+
RCT_CUSTOM_VIEW_PROPERTY(roundedHaloFix, BOOL, RNCEKVExternalKeyboardView)
|
|
108
|
+
{
|
|
109
|
+
BOOL value = json ? [RCTConvert BOOL:json] : NO;
|
|
110
|
+
[view setRoundedHaloFix: value];
|
|
111
|
+
}
|
|
115
112
|
|
|
116
|
-
|
|
113
|
+
|
|
114
|
+
RCT_CUSTOM_VIEW_PROPERTY(focusableWrapper, BOOL, RNCEKVExternalKeyboardView)
|
|
117
115
|
{
|
|
118
116
|
BOOL value = json ? [RCTConvert BOOL:json] : NO;
|
|
119
|
-
[view
|
|
117
|
+
[view setFocusableWrapper: value];
|
|
120
118
|
}
|
|
121
119
|
|
|
122
120
|
RCT_CUSTOM_VIEW_PROPERTY(groupIdentifier, NSString, RNCEKVExternalKeyboardView)
|
|
@@ -159,7 +157,7 @@ RCT_CUSTOM_VIEW_PROPERTY(enableContextMenu, BOOL, RNCEKVExternalKeyboardView)
|
|
|
159
157
|
[view setEnableContextMenu: value];
|
|
160
158
|
}
|
|
161
159
|
|
|
162
|
-
RCT_EXPORT_METHOD(
|
|
160
|
+
RCT_EXPORT_METHOD(rnekKeyboardFocus:(nonnull NSNumber *)reactTag)
|
|
163
161
|
{
|
|
164
162
|
[self.bridge.uiManager addUIBlock:^(RCTUIManager *uiManager, NSDictionary<NSNumber *,UIView *> *viewRegistry) {
|
|
165
163
|
UIView *view = viewRegistry[reactTag];
|
|
@@ -171,4 +169,17 @@ RCT_EXPORT_METHOD(focus:(nonnull NSNumber *)reactTag)
|
|
|
171
169
|
}];
|
|
172
170
|
}
|
|
173
171
|
|
|
172
|
+
|
|
173
|
+
RCT_EXPORT_METHOD(rnekScreenReaderFocus:(nonnull NSNumber *)reactTag)
|
|
174
|
+
{
|
|
175
|
+
[self.bridge.uiManager addUIBlock:^(RCTUIManager *uiManager, NSDictionary<NSNumber *,UIView *> *viewRegistry) {
|
|
176
|
+
UIView *view = viewRegistry[reactTag];
|
|
177
|
+
if (!view || ![view isKindOfClass:[RNCEKVExternalKeyboardView class]]) {
|
|
178
|
+
return;
|
|
179
|
+
}
|
|
180
|
+
RNCEKVExternalKeyboardView *keyboardView = (RNCEKVExternalKeyboardView*)view;
|
|
181
|
+
[keyboardView screenReaderFocus];
|
|
182
|
+
}];
|
|
183
|
+
}
|
|
184
|
+
|
|
174
185
|
@end
|
|
@@ -91,6 +91,9 @@ static const NSInteger AUTO_BLUR = 2;
|
|
|
91
91
|
[self setMultiline: newViewProps.multiline];
|
|
92
92
|
}
|
|
93
93
|
|
|
94
|
+
[self updateFocusProps:RNCEKV::FocusProps::from(oldViewProps)
|
|
95
|
+
newProps:RNCEKV::FocusProps::from(newViewProps)];
|
|
96
|
+
|
|
94
97
|
[self updateGroupIdentifierProps:RNCEKV::GroupIdentifierProps::from(oldViewProps)
|
|
95
98
|
newProps:RNCEKV::GroupIdentifierProps::from(newViewProps)];
|
|
96
99
|
|
|
@@ -177,6 +180,16 @@ Class<RCTComponentViewProtocol> TextInputFocusWrapperCls(void)
|
|
|
177
180
|
return _textField;
|
|
178
181
|
}
|
|
179
182
|
|
|
183
|
+
- (NSNumber *)resolveFocusChange:(UIFocusUpdateContext *)context {
|
|
184
|
+
if([context.nextFocusedView isDescendantOfView:self]) {
|
|
185
|
+
return @YES;
|
|
186
|
+
} else if([context.previouslyFocusedView isDescendantOfView:self]) {
|
|
187
|
+
return @NO;
|
|
188
|
+
}
|
|
189
|
+
|
|
190
|
+
return nil;
|
|
191
|
+
}
|
|
192
|
+
|
|
180
193
|
- (void)didUpdateFocusInContext:(UIFocusUpdateContext *)context
|
|
181
194
|
withAnimationCoordinator:(UIFocusAnimationCoordinator *)coordinator {
|
|
182
195
|
|
|
@@ -286,4 +299,8 @@ Class<RCTComponentViewProtocol> TextInputFocusWrapperCls(void)
|
|
|
286
299
|
return nil;
|
|
287
300
|
}
|
|
288
301
|
|
|
302
|
+
- (BOOL)focusableWrapper {
|
|
303
|
+
return YES;
|
|
304
|
+
}
|
|
305
|
+
|
|
289
306
|
@end
|
|
@@ -22,6 +22,12 @@ RCT_CUSTOM_VIEW_PROPERTY(canBeFocused, BOOL, RNCEKVTextInputFocusWrapper)
|
|
|
22
22
|
[view setCanBeFocused: value];
|
|
23
23
|
}
|
|
24
24
|
|
|
25
|
+
RCT_CUSTOM_VIEW_PROPERTY(hasOnFocusChanged, BOOL, RNCEKVTextInputFocusWrapper)
|
|
26
|
+
{
|
|
27
|
+
BOOL value = json ? [RCTConvert BOOL:json] : NO;
|
|
28
|
+
[view setHasOnFocusChanged: value];
|
|
29
|
+
}
|
|
30
|
+
|
|
25
31
|
RCT_CUSTOM_VIEW_PROPERTY(groupIdentifier, NSString, RNCEKVTextInputFocusWrapper)
|
|
26
32
|
{
|
|
27
33
|
NSString* value = json ? [RCTConvert NSString:json] : nil;
|
|
@@ -63,6 +69,12 @@ RCT_CUSTOM_VIEW_PROPERTY(haloEffect, BOOL, RNCEKVTextInputFocusWrapper)
|
|
|
63
69
|
}
|
|
64
70
|
}
|
|
65
71
|
|
|
72
|
+
RCT_CUSTOM_VIEW_PROPERTY(roundedHaloFix, BOOL, RNCEKVTextInputFocusWrapper)
|
|
73
|
+
{
|
|
74
|
+
BOOL value = json ? [RCTConvert BOOL:json] : NO;
|
|
75
|
+
[view setRoundedHaloFix: value];
|
|
76
|
+
}
|
|
77
|
+
|
|
66
78
|
RCT_CUSTOM_VIEW_PROPERTY(tintColor, UIColor, RNCEKVTextInputFocusWrapper)
|
|
67
79
|
{
|
|
68
80
|
if (json) {
|
|
@@ -8,19 +8,18 @@ var _react = _interopRequireWildcard(require("react"));
|
|
|
8
8
|
var _reactNative = require("react-native");
|
|
9
9
|
var _nativeSpec = require("../../nativeSpec");
|
|
10
10
|
var _ExternalKeyboardViewNativeComponent = require("../../nativeSpec/ExternalKeyboardViewNativeComponent");
|
|
11
|
-
var
|
|
11
|
+
var _types = require("../../types");
|
|
12
12
|
var _BubbledKeyPressContext = require("../../context/BubbledKeyPressContext");
|
|
13
|
-
var
|
|
13
|
+
var _BaseKeyboardView = require("./BaseKeyboardView.hooks");
|
|
14
14
|
var _GroupIdentifierContext = require("../../context/GroupIdentifierContext");
|
|
15
15
|
var _useOnFocusChange = require("../../utils/useOnFocusChange");
|
|
16
16
|
var _OrderFocusContext = require("../../context/OrderFocusContext");
|
|
17
|
-
var
|
|
17
|
+
var _useWrappedOrderProps = require("../../utils/useWrappedOrderProps");
|
|
18
18
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
19
19
|
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function (e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != typeof e && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (const t in e) "default" !== t && {}.hasOwnProperty.call(e, t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, t)) && (i.get || i.set) ? o(f, t, i) : f[t] = e[t]); return f; })(e, t); }
|
|
20
20
|
// @ts-ignore
|
|
21
21
|
|
|
22
22
|
const isIOS = _reactNative.Platform.OS === 'ios';
|
|
23
|
-
const DEFAULT_EXPOSE_METHODS = ['blur', 'measure', 'measureInWindow', 'measureLayout', 'setNativeProps'];
|
|
24
23
|
var BITS = /*#__PURE__*/function (BITS) {
|
|
25
24
|
BITS[BITS["BIT_01"] = 1] = "BIT_01";
|
|
26
25
|
BITS[BITS["BIT_02"] = 2] = "BIT_02";
|
|
@@ -28,21 +27,19 @@ var BITS = /*#__PURE__*/function (BITS) {
|
|
|
28
27
|
BITS[BITS["BIT_04"] = 8] = "BIT_04";
|
|
29
28
|
BITS[BITS["BIT_05"] = 16] = "BIT_05";
|
|
30
29
|
BITS[BITS["BIT_06"] = 32] = "BIT_06";
|
|
31
|
-
BITS[BITS["BIT_07"] = 64] = "BIT_07";
|
|
32
|
-
BITS[BITS["BIT_08"] = 128] = "BIT_08";
|
|
33
30
|
BITS[BITS["BIT_09"] = 256] = "BIT_09";
|
|
34
31
|
BITS[BITS["BIT_10"] = 512] = "BIT_10";
|
|
35
32
|
return BITS;
|
|
36
33
|
}(BITS || {});
|
|
37
34
|
const focusBinaryValue = {
|
|
38
|
-
[
|
|
39
|
-
[
|
|
40
|
-
[
|
|
41
|
-
[
|
|
42
|
-
[
|
|
43
|
-
[
|
|
44
|
-
[
|
|
45
|
-
[
|
|
35
|
+
[_types.LockFocusEnum.Up]: BITS.BIT_01,
|
|
36
|
+
[_types.LockFocusEnum.Down]: BITS.BIT_02,
|
|
37
|
+
[_types.LockFocusEnum.Left]: BITS.BIT_03,
|
|
38
|
+
[_types.LockFocusEnum.Right]: BITS.BIT_04,
|
|
39
|
+
[_types.LockFocusEnum.Forward]: BITS.BIT_05,
|
|
40
|
+
[_types.LockFocusEnum.Backward]: BITS.BIT_06,
|
|
41
|
+
[_types.LockFocusEnum.First]: BITS.BIT_09,
|
|
42
|
+
[_types.LockFocusEnum.Last]: BITS.BIT_10
|
|
46
43
|
};
|
|
47
44
|
const mapFocusValues = values => {
|
|
48
45
|
if (!values || !values.length) return 0;
|
|
@@ -57,18 +54,14 @@ const BaseKeyboardView = exports.BaseKeyboardView = /*#__PURE__*/_react.default.
|
|
|
57
54
|
onBubbledContextMenuPress,
|
|
58
55
|
haloEffect,
|
|
59
56
|
autoFocus,
|
|
60
|
-
canBeFocused = true,
|
|
61
57
|
focusable = true,
|
|
62
|
-
|
|
58
|
+
focusableWrapper = false,
|
|
63
59
|
onFocus,
|
|
64
60
|
onBlur,
|
|
65
|
-
viewRef,
|
|
66
61
|
groupIdentifier,
|
|
67
62
|
tintColor,
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
enableA11yFocus = false,
|
|
71
|
-
screenAutoA11yFocusDelay = 500,
|
|
63
|
+
// TODO: revisit screenAutoA11yFocusDelay default (currently 300ms)
|
|
64
|
+
screenAutoA11yFocusDelay = 300,
|
|
72
65
|
lockFocus,
|
|
73
66
|
orderIndex,
|
|
74
67
|
orderForward,
|
|
@@ -83,11 +76,14 @@ const BaseKeyboardView = exports.BaseKeyboardView = /*#__PURE__*/_react.default.
|
|
|
83
76
|
orderId,
|
|
84
77
|
enableContextMenu,
|
|
85
78
|
orderPrefix: _orderPrefix,
|
|
79
|
+
tintType,
|
|
80
|
+
// Deprecated no-ops: destructured out so they never reach the native view.
|
|
81
|
+
enableA11yFocus: _enableA11yFocus,
|
|
86
82
|
defaultFocusHighlightEnabled = true,
|
|
83
|
+
roundedHaloFix = false,
|
|
87
84
|
...props
|
|
88
85
|
}, ref) => {
|
|
89
|
-
const
|
|
90
|
-
const targetRef = viewRef ?? localRef;
|
|
86
|
+
const targetRef = (0, _react.useRef)(null);
|
|
91
87
|
const lockFocusValue = (0, _react.useMemo)(() => mapFocusValues(lockFocus), [lockFocus]);
|
|
92
88
|
const contextIdentifier = (0, _GroupIdentifierContext.useGroupIdentifierContext)();
|
|
93
89
|
const contextGroupId = (0, _OrderFocusContext.useOrderFocusGroup)();
|
|
@@ -105,44 +101,53 @@ const BaseKeyboardView = exports.BaseKeyboardView = /*#__PURE__*/_react.default.
|
|
|
105
101
|
}
|
|
106
102
|
}, [orderId, orderForward, orderBackward, orderFirst, orderLast, orderLeft, orderRight, orderUp, orderDown, orderPrefix]);
|
|
107
103
|
(0, _react.useImperativeHandle)(ref, () => {
|
|
108
|
-
const
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
}
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
104
|
+
const nativeCommands = {
|
|
105
|
+
keyboardFocus: () => {
|
|
106
|
+
if (targetRef?.current) {
|
|
107
|
+
_ExternalKeyboardViewNativeComponent.Commands.rnekKeyboardFocus(targetRef.current);
|
|
108
|
+
}
|
|
109
|
+
},
|
|
110
|
+
screenReaderFocus: () => {
|
|
111
|
+
if (targetRef?.current) {
|
|
112
|
+
_ExternalKeyboardViewNativeComponent.Commands.rnekScreenReaderFocus(targetRef.current);
|
|
113
|
+
}
|
|
114
|
+
},
|
|
115
|
+
focus: () => {
|
|
116
|
+
if (targetRef?.current) {
|
|
117
|
+
_ExternalKeyboardViewNativeComponent.Commands.rnekKeyboardFocus(targetRef.current);
|
|
118
|
+
_ExternalKeyboardViewNativeComponent.Commands.rnekScreenReaderFocus(targetRef.current);
|
|
119
|
+
}
|
|
118
120
|
}
|
|
119
121
|
};
|
|
120
|
-
return
|
|
121
|
-
|
|
122
|
-
|
|
122
|
+
return new Proxy({}, {
|
|
123
|
+
get(_target, prop) {
|
|
124
|
+
if (prop in nativeCommands) {
|
|
125
|
+
return nativeCommands[prop];
|
|
126
|
+
}
|
|
127
|
+
return targetRef?.current?.[prop];
|
|
128
|
+
}
|
|
129
|
+
});
|
|
130
|
+
}, [targetRef]);
|
|
131
|
+
const bubbled = (0, _BaseKeyboardView.useBubbledInfo)(onBubbledContextMenuPress);
|
|
123
132
|
const onFocusChangeHandler = (0, _useOnFocusChange.useOnFocusChange)({
|
|
124
133
|
onFocusChange,
|
|
125
134
|
onFocus,
|
|
126
135
|
onBlur
|
|
127
136
|
});
|
|
128
|
-
const
|
|
129
|
-
const
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
const platformSpecificHalo = (0, _react.useMemo)(() => _reactNative.Platform.select({
|
|
143
|
-
ios: haloEffect,
|
|
144
|
-
android: defaultFocusHighlightEnabled
|
|
145
|
-
}) ?? true, [defaultFocusHighlightEnabled, haloEffect]);
|
|
137
|
+
const hasFocusListener = onFocusChange || onFocus || onBlur;
|
|
138
|
+
const wrappedOrderProps = (0, _useWrappedOrderProps.useWrappedOrderProps)({
|
|
139
|
+
orderPrefix,
|
|
140
|
+
orderId,
|
|
141
|
+
orderForward,
|
|
142
|
+
orderBackward,
|
|
143
|
+
orderFirst,
|
|
144
|
+
orderLast,
|
|
145
|
+
orderLeft,
|
|
146
|
+
orderRight,
|
|
147
|
+
orderUp,
|
|
148
|
+
orderDown
|
|
149
|
+
});
|
|
150
|
+
const platformSpecificHalo = tintType !== 'none' && (isIOS ? haloEffect ?? true : defaultFocusHighlightEnabled);
|
|
146
151
|
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_BubbledKeyPressContext.KeyPressContext.Provider, {
|
|
147
152
|
value: bubbled.context,
|
|
148
153
|
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_nativeSpec.ExternalKeyboardViewNative, {
|
|
@@ -150,27 +155,24 @@ const BaseKeyboardView = exports.BaseKeyboardView = /*#__PURE__*/_react.default.
|
|
|
150
155
|
haloEffect: platformSpecificHalo,
|
|
151
156
|
ref: targetRef,
|
|
152
157
|
enableContextMenu: enableContextMenu,
|
|
153
|
-
canBeFocused:
|
|
158
|
+
canBeFocused: focusable,
|
|
154
159
|
autoFocus: autoFocus,
|
|
155
|
-
onKeyDownPress: onKeyDownPress
|
|
156
|
-
,
|
|
157
|
-
onKeyUpPress: onKeyUpPress //ToDo update types
|
|
158
|
-
,
|
|
160
|
+
onKeyDownPress: onKeyDownPress,
|
|
161
|
+
onKeyUpPress: onKeyUpPress,
|
|
159
162
|
onBubbledContextMenuPress: bubbled.contextMenu,
|
|
160
163
|
groupIdentifier: groupIdentifier ?? contextIdentifier,
|
|
161
164
|
tintColor: isIOS ? tintColor : undefined,
|
|
162
|
-
onFocusChange:
|
|
163
|
-
,
|
|
165
|
+
onFocusChange: hasFocusListener ? onFocusChangeHandler : undefined,
|
|
164
166
|
hasKeyDownPress: Boolean(onKeyDownPress),
|
|
165
167
|
hasKeyUpPress: Boolean(onKeyUpPress),
|
|
166
|
-
hasOnFocusChanged: Boolean(
|
|
167
|
-
|
|
168
|
+
hasOnFocusChanged: Boolean(hasFocusListener),
|
|
169
|
+
focusableWrapper: focusableWrapper,
|
|
168
170
|
orderIndex: orderIndex ?? -1,
|
|
169
|
-
enableA11yFocus: enableA11yFocus,
|
|
170
171
|
screenAutoA11yFocusDelay: screenAutoA11yFocusDelay,
|
|
171
172
|
lockFocus: lockFocusValue,
|
|
172
173
|
...wrappedOrderProps,
|
|
173
|
-
orderGroup: groupId
|
|
174
|
+
orderGroup: groupId,
|
|
175
|
+
roundedHaloFix: roundedHaloFix
|
|
174
176
|
})
|
|
175
177
|
});
|
|
176
178
|
}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_react","_interopRequireWildcard","require","_reactNative","_nativeSpec","_ExternalKeyboardViewNativeComponent","
|
|
1
|
+
{"version":3,"names":["_react","_interopRequireWildcard","require","_reactNative","_nativeSpec","_ExternalKeyboardViewNativeComponent","_types","_BubbledKeyPressContext","_BaseKeyboardView","_GroupIdentifierContext","_useOnFocusChange","_OrderFocusContext","_useWrappedOrderProps","_jsxRuntime","e","t","WeakMap","r","n","__esModule","o","i","f","__proto__","default","has","get","set","hasOwnProperty","call","Object","defineProperty","getOwnPropertyDescriptor","isIOS","Platform","OS","BITS","focusBinaryValue","LockFocusEnum","Up","BIT_01","Down","BIT_02","Left","BIT_03","Right","BIT_04","Forward","BIT_05","Backward","BIT_06","First","BIT_09","Last","BIT_10","mapFocusValues","values","length","reduce","acc","item","BaseKeyboardView","exports","React","memo","forwardRef","onFocusChange","onKeyUpPress","onKeyDownPress","onBubbledContextMenuPress","haloEffect","autoFocus","focusable","focusableWrapper","onFocus","onBlur","groupIdentifier","tintColor","screenAutoA11yFocusDelay","lockFocus","orderIndex","orderForward","orderBackward","orderFirst","orderLast","orderGroup","orderLeft","orderRight","orderUp","orderDown","orderId","enableContextMenu","orderPrefix","_orderPrefix","tintType","enableA11yFocus","_enableA11yFocus","defaultFocusHighlightEnabled","roundedHaloFix","props","ref","targetRef","useRef","lockFocusValue","useMemo","contextIdentifier","useGroupIdentifierContext","contextGroupId","useOrderFocusGroup","groupId","useEffect","__DEV__","undefined","console","warn","hasOrderLinkProp","useImperativeHandle","nativeCommands","keyboardFocus","current","Commands","rnekKeyboardFocus","screenReaderFocus","rnekScreenReaderFocus","focus","Proxy","_target","prop","bubbled","useBubbledInfo","onFocusChangeHandler","useOnFocusChange","hasFocusListener","wrappedOrderProps","useWrappedOrderProps","platformSpecificHalo","jsx","KeyPressContext","Provider","value","context","children","ExternalKeyboardViewNative","canBeFocused","contextMenu","hasKeyDownPress","Boolean","hasKeyUpPress","hasOnFocusChanged"],"sourceRoot":"../../../../src","sources":["components/BaseKeyboardView/BaseKeyboardView.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,uBAAA,CAAAC,OAAA;AAOA,IAAAC,YAAA,GAAAD,OAAA;AACA,IAAAE,WAAA,GAAAF,OAAA;AACA,IAAAG,oCAAA,GAAAH,OAAA;AACA,IAAAI,MAAA,GAAAJ,OAAA;AAOA,IAAAK,uBAAA,GAAAL,OAAA;AACA,IAAAM,iBAAA,GAAAN,OAAA;AACA,IAAAO,uBAAA,GAAAP,OAAA;AACA,IAAAQ,iBAAA,GAAAR,OAAA;AACA,IAAAS,kBAAA,GAAAT,OAAA;AACA,IAAAU,qBAAA,GAAAV,OAAA;AAAwE,IAAAW,WAAA,GAAAX,OAAA;AAAA,SAAAD,wBAAAa,CAAA,EAAAC,CAAA,6BAAAC,OAAA,MAAAC,CAAA,OAAAD,OAAA,IAAAE,CAAA,OAAAF,OAAA,YAAAf,uBAAA,YAAAA,CAAAa,CAAA,EAAAC,CAAA,SAAAA,CAA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