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
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/index.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/index.tsx"],"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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;eAKylsB,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qBAAuvD,CAAC;sBAAoB,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wBAnCj3vB,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;WACgB,CAAC;;WAEI,CAAC;;WAFN,CAAC;;WAEI,CAAC;;CA+B1B,CAAC"}
|
|
@@ -1,12 +1,10 @@
|
|
|
1
|
-
import type
|
|
1
|
+
import { type ViewProps } from 'react-native';
|
|
2
2
|
import type { Int32 } from 'react-native/Libraries/Types/CodegenTypes';
|
|
3
3
|
export interface ExternalKeyboardLockViewNativeComponentProps extends ViewProps {
|
|
4
4
|
componentType: Int32;
|
|
5
5
|
lockDisabled?: boolean;
|
|
6
6
|
forceLock?: boolean;
|
|
7
7
|
}
|
|
8
|
-
declare const _default: (
|
|
9
|
-
ref?: React.Ref<import("react-native").HostInstance>;
|
|
10
|
-
}) => React.ReactNode;
|
|
8
|
+
declare const _default: import("react-native/types_generated/Libraries/Utilities/codegenNativeComponent").NativeComponentType<ExternalKeyboardLockViewNativeComponentProps>;
|
|
11
9
|
export default _default;
|
|
12
10
|
//# sourceMappingURL=ExternalKeyboardLockViewNativeComponent.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ExternalKeyboardLockViewNativeComponent.d.ts","sourceRoot":"","sources":["../../../../src/nativeSpec/ExternalKeyboardLockViewNativeComponent.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"ExternalKeyboardLockViewNativeComponent.d.ts","sourceRoot":"","sources":["../../../../src/nativeSpec/ExternalKeyboardLockViewNativeComponent.ts"],"names":[],"mappings":"AAAA,OAAO,EAA0B,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AACtE,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,2CAA2C,CAAC;AAEvE,MAAM,WAAW,4CACf,SAAQ,SAAS;IACjB,aAAa,EAAE,KAAK,CAAC;IACrB,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB;;AAED,wBAEE"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type
|
|
1
|
+
import { type ColorValue, type ViewProps } from 'react-native';
|
|
2
2
|
import type { BubblingEventHandler, DirectEventHandler, Float, Int32 } from 'react-native/Libraries/Types/CodegenTypes';
|
|
3
3
|
import type { ComponentType } from 'react';
|
|
4
4
|
export type FocusChange = Readonly<{
|
|
@@ -35,10 +35,10 @@ export interface ExternalKeyboardNativeProps extends ViewProps {
|
|
|
35
35
|
haloCornerRadius?: Float;
|
|
36
36
|
haloExpendX?: Float;
|
|
37
37
|
haloExpendY?: Float;
|
|
38
|
+
roundedHaloFix?: boolean;
|
|
38
39
|
tintColor?: ColorValue;
|
|
39
|
-
|
|
40
|
+
focusableWrapper?: boolean;
|
|
40
41
|
groupIdentifier?: string;
|
|
41
|
-
enableA11yFocus?: boolean;
|
|
42
42
|
screenAutoA11yFocus?: boolean;
|
|
43
43
|
screenAutoA11yFocusDelay?: Int32;
|
|
44
44
|
orderGroup?: string;
|
|
@@ -56,11 +56,10 @@ export interface ExternalKeyboardNativeProps extends ViewProps {
|
|
|
56
56
|
enableContextMenu?: boolean;
|
|
57
57
|
}
|
|
58
58
|
export interface NativeCommands {
|
|
59
|
-
|
|
59
|
+
rnekKeyboardFocus: (viewRef: React.ElementRef<ComponentType>) => void;
|
|
60
|
+
rnekScreenReaderFocus: (viewRef: React.ElementRef<ComponentType>) => void;
|
|
60
61
|
}
|
|
61
62
|
export declare const Commands: NativeCommands;
|
|
62
|
-
declare const _default: (
|
|
63
|
-
ref?: React.Ref<import("react-native").HostInstance>;
|
|
64
|
-
}) => React.ReactNode;
|
|
63
|
+
declare const _default: import("react-native/types_generated/Libraries/Utilities/codegenNativeComponent").NativeComponentType<ExternalKeyboardNativeProps>;
|
|
65
64
|
export default _default;
|
|
66
65
|
//# sourceMappingURL=ExternalKeyboardViewNativeComponent.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ExternalKeyboardViewNativeComponent.d.ts","sourceRoot":"","sources":["../../../../src/nativeSpec/ExternalKeyboardViewNativeComponent.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"ExternalKeyboardViewNativeComponent.d.ts","sourceRoot":"","sources":["../../../../src/nativeSpec/ExternalKeyboardViewNativeComponent.ts"],"names":[],"mappings":"AAAA,OAAO,EAGL,KAAK,UAAU,EACf,KAAK,SAAS,EACf,MAAM,cAAc,CAAC;AACtB,OAAO,KAAK,EACV,oBAAoB,EACpB,kBAAkB,EAClB,KAAK,EACL,KAAK,EACN,MAAM,2CAA2C,CAAC;AACnD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAE3C,MAAM,MAAM,WAAW,GAAG,QAAQ,CAAC;IACjC,SAAS,EAAE,OAAO,CAAC;CACpB,CAAC,CAAC;AAEH,MAAM,MAAM,UAAU,GAAG,QAAQ,CAAC;IAChC,cAAc,EAAE,OAAO,CAAC;IACxB,YAAY,EA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AAE,OAAO,CAAC;IAC9B,wBAAwB,CAAC,EAAE,KAAK,CAAC;IACjC,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,UAAU,CAAC,EAAE,KAAK,CAAC;IACnB,SAAS,CAAC,EAAE,KAAK,CAAC;IAClB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,iBAAiB,CAAC,EAAE,OAAO,CAAC;CAC7B;AAED,MAAM,WAAW,cAAc;IAE7B,iBAAiB,EAAE,CAAC,OAAO,EAAE,KAAK,CAAC,UAAU,CAAC,aAAa,CAAC,KAAK,IAAI,CAAC;IAEtE,qBAAqB,EAAE,CAAC,OAAO,EAAE,KAAK,CAAC,UAAU,CAAC,aAAa,CAAC,KAAK,IAAI,CAAC;CAC3E;AAED,eAAO,MAAM,QAAQ,EAAE,cAErB,CAAC;;AAEH,wBAEE"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type
|
|
1
|
+
import { type ViewProps, type ColorValue } from 'react-native';
|
|
2
2
|
import type { DirectEventHandler } from 'react-native/Libraries/Types/CodegenTypes';
|
|
3
3
|
export type FocusChange = Readonly<{
|
|
4
4
|
isFocused: boolean;
|
|
@@ -9,8 +9,6 @@ export interface KeyboardFocusGroupNativeComponentProps extends ViewProps {
|
|
|
9
9
|
groupIdentifier?: string;
|
|
10
10
|
orderGroup?: string;
|
|
11
11
|
}
|
|
12
|
-
declare const _default: (
|
|
13
|
-
ref?: React.Ref<import("react-native").HostInstance>;
|
|
14
|
-
}) => React.ReactNode;
|
|
12
|
+
declare const _default: import("react-native/types_generated/Libraries/Utilities/codegenNativeComponent").NativeComponentType<KeyboardFocusGroupNativeComponentProps>;
|
|
15
13
|
export default _default;
|
|
16
14
|
//# sourceMappingURL=KeyboardFocusGroupNativeComponent.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"KeyboardFocusGroupNativeComponent.d.ts","sourceRoot":"","sources":["../../../../src/nativeSpec/KeyboardFocusGroupNativeComponent.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"KeyboardFocusGroupNativeComponent.d.ts","sourceRoot":"","sources":["../../../../src/nativeSpec/KeyboardFocusGroupNativeComponent.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,SAAS,EACd,KAAK,UAAU,EAChB,MAAM,cAAc,CAAC;AACtB,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,2CAA2C,CAAC;AAEpF,MAAM,MAAM,WAAW,GAAG,QAAQ,CAAC;IACjC,SAAS,EAAE,OAAO,CAAC;CACpB,CAAC,CAAC;AAEH,MAAM,WAAW,sCAAuC,SAAQ,SAAS;IACvE,kBAAkB,CAAC,EAAE,kBAAkB,CAAC,WAAW,CAAC,CAAC;IACrD,SAAS,CAAC,EAAE,UAAU,CAAC;IACvB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;;AAED,wBAEE"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type
|
|
1
|
+
import { type ViewProps, type ColorValue } from 'react-native';
|
|
2
2
|
import type { DirectEventHandler, Float, Int32 } from 'react-native/Libraries/Types/CodegenTypes';
|
|
3
3
|
export type FocusChange = Readonly<{
|
|
4
4
|
isFocused: boolean;
|
|
@@ -12,10 +12,12 @@ export interface TextInputFocusWrapperNativeComponent extends ViewProps {
|
|
|
12
12
|
focusType?: Int32;
|
|
13
13
|
blurType?: Int32;
|
|
14
14
|
canBeFocused?: boolean;
|
|
15
|
+
hasOnFocusChanged?: boolean;
|
|
15
16
|
haloEffect?: boolean;
|
|
16
17
|
haloCornerRadius?: Float;
|
|
17
18
|
haloExpendX?: Float;
|
|
18
19
|
haloExpendY?: Float;
|
|
20
|
+
roundedHaloFix?: boolean;
|
|
19
21
|
tintColor?: ColorValue;
|
|
20
22
|
blurOnSubmit?: boolean;
|
|
21
23
|
multiline?: boolean;
|
|
@@ -33,8 +35,6 @@ export interface TextInputFocusWrapperNativeComponent extends ViewProps {
|
|
|
33
35
|
orderFirst?: string;
|
|
34
36
|
orderLast?: string;
|
|
35
37
|
}
|
|
36
|
-
declare const _default: (
|
|
37
|
-
ref?: React.Ref<import("react-native").HostInstance>;
|
|
38
|
-
}) => React.ReactNode;
|
|
38
|
+
declare const _default: import("react-native/types_generated/Libraries/Utilities/codegenNativeComponent").NativeComponentType<TextInputFocusWrapperNativeComponent>;
|
|
39
39
|
export default _default;
|
|
40
40
|
//# sourceMappingURL=TextInputFocusWrapperNativeComponent.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TextInputFocusWrapperNativeComponent.d.ts","sourceRoot":"","sources":["../../../../src/nativeSpec/TextInputFocusWrapperNativeComponent.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"TextInputFocusWrapperNativeComponent.d.ts","sourceRoot":"","sources":["../../../../src/nativeSpec/TextInputFocusWrapperNativeComponent.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,SAAS,EACd,KAAK,UAAU,EAChB,MAAM,cAAc,CAAC;AACtB,OAAO,KAAK,EACV,kBAAkB,EAClB,KAAK,EACL,KAAK,EACN,MAAM,2CAA2C,CAAC;AAEnD,MAAM,MAAM,WAAW,GAAG,QAAQ,CAAC;IACjC,SAAS,EAAE,OAAO,CAAC;CACpB,CAAC,CAAC;AAEH,MAAM,MAAM,kBAAkB,GAAG,QAAQ,CAAC;IACxC,IAAI,EAAE,MAAM,C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|
+
* iOS does not consume this value.
|
|
5
|
+
*
|
|
6
|
+
* Values must match the constants in
|
|
7
|
+
* `android/src/main/java/com/externalkeyboard/views/ExternalKeyboardLockView/ExternalKeyboardLockView.java`.
|
|
8
|
+
*/
|
|
9
|
+
export declare enum LockComponentType {
|
|
10
|
+
Trap = 0,
|
|
11
|
+
Frame = 1
|
|
12
|
+
}
|
|
2
13
|
export type KeyboardFocusLockProps = ViewProps & {
|
|
3
|
-
|
|
14
|
+
/** Native role of the lock — `Trap` (containment) or `Frame` (leak detection). */
|
|
15
|
+
componentType?: LockComponentType;
|
|
16
|
+
/** When `true`, disables the lock without unmounting the component. */
|
|
4
17
|
lockDisabled?: boolean;
|
|
18
|
+
/** When `true`, forces focus containment even when it would otherwise be allowed to leave. */
|
|
5
19
|
forceLock?: boolean;
|
|
6
20
|
};
|
|
7
21
|
//# sourceMappingURL=KeyboardFocusLock.types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"KeyboardFocusLock.types.d.ts","sourceRoot":"","sources":["../../../../src/types/KeyboardFocusLock.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAE9C,MAAM,MAAM,sBAAsB,GAAG,SAAS,GAAG;IAC/C,aAAa,CAAC,EAAE,
|
|
1
|
+
{"version":3,"file":"KeyboardFocusLock.types.d.ts","sourceRoot":"","sources":["../../../../src/types/KeyboardFocusLock.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAE9C;;;;;;GAMG;AACH,oBAAY,iBAAiB;IAC3B,IAAI,IAAI;IACR,KAAK,IAAI;CACV;AAED,MAAM,MAAM,sBAAsB,GAAG,SAAS,GAAG;IAC/C,kFAAkF;IAClF,aAAa,CAAC,EAAE,iBAAiB,CAAC;IAClC,uEAAuE;IACvE,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,8FAA8F;IAC9F,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB,CAAC"}
|
|
@@ -1,21 +1,23 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
import type { FocusStyle } from './
|
|
3
|
-
import type { BaseFocusViewProps, BaseKeyboardViewProps
|
|
4
|
-
|
|
5
|
-
isFocused: boolean;
|
|
6
|
-
}>;
|
|
7
|
-
export type OnFocusChangeFn = (e: KeyboardFocusEvent) => void;
|
|
8
|
-
export type FocusStateCallbackType = {
|
|
9
|
-
readonly focused: boolean;
|
|
10
|
-
};
|
|
1
|
+
import type { GestureResponderEvent } from 'react-native';
|
|
2
|
+
import type { FocusStyle } from './focusStyle.types';
|
|
3
|
+
import type { BaseFocusViewProps, BaseKeyboardViewProps } from './baseKeyboardView.types';
|
|
4
|
+
import type { OnKeyPress } from './keyPress.types';
|
|
11
5
|
export type FocusViewProps = {
|
|
12
|
-
|
|
6
|
+
/** Key codes that trigger `onPress` / `onLongPress`. Defaults to spacebar and enter. */
|
|
13
7
|
triggerCodes?: number[];
|
|
8
|
+
/** Style applied to the inner component while focused. */
|
|
14
9
|
focusStyle?: FocusStyle;
|
|
10
|
+
/** Called on press — from touch (`GestureResponderEvent`) or physical key ({@link OnKeyPress}). */
|
|
15
11
|
onPress?: (e: GestureResponderEvent | OnKeyPress) => void;
|
|
12
|
+
/** Called on long press — from touch (`GestureResponderEvent`) or physical key ({@link OnKeyPress}). */
|
|
16
13
|
onLongPress?: (e?: GestureResponderEvent | OnKeyPress) => void;
|
|
17
|
-
onFocus?: () => void;
|
|
18
|
-
onBlur?: () => void;
|
|
19
14
|
} & BaseFocusViewProps;
|
|
20
|
-
export type KeyboardFocusViewProps = BaseKeyboardViewProps & FocusViewProps
|
|
15
|
+
export type KeyboardFocusViewProps = BaseKeyboardViewProps & FocusViewProps & {
|
|
16
|
+
/**
|
|
17
|
+
* Wraps children in an extra native view.
|
|
18
|
+
*
|
|
19
|
+
* @see https://github.com/anfedorov/react-native-external-keyboard/discussions/63
|
|
20
|
+
*/
|
|
21
|
+
withView?: boolean;
|
|
22
|
+
};
|
|
21
23
|
//# sourceMappingURL=KeyboardFocusView.types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"KeyboardFocusView.types.d.ts","sourceRoot":"","sources":["../../../../src/types/KeyboardFocusView.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"KeyboardFocusView.types.d.ts","sourceRoot":"","sources":["../../../../src/types/KeyboardFocusView.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,cAAc,CAAC;AAC1D,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AACrD,OAAO,KAAK,EACV,kBAAkB,EAClB,qBAAqB,EACtB,MAAM,0BAA0B,CAAC;AAClC,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAEnD,MAAM,MAAM,cAAc,GAAG;IAC3B,wFAAwF;IACxF,YAAY,CAAC,EAAE,MAAM,EAAE,CAAC;IACxB,0DAA0D;IAC1D,UAAU,CAAC,EAAE,UAAU,CAAC;IACxB,mGAAmG;IACnG,OAAO,CAAC,EAAE,CAAC,CAAC,EAAE,qBAAqB,GAAG,UAAU,KAAK,IAAI,CAAC;IAC1D,wGAAwG;IACxG,WAAW,CAAC,EAAE,CAAC,CAAC,CAAC,EAAE,qBAAqB,GAAG,UAAU,KAAK,IAAI,CAAC;CAChE,GAAG,kBAAkB,CAAC;AAEvB,MAAM,MAAM,sBAAsB,GAAG,qBAAqB,GACxD,cAAc,GAAG;IACf;;;;OAIG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB,CAAC"}
|
|
@@ -0,0 +1,119 @@
|
|
|
1
|
+
import type { ViewProps, ColorValue } from 'react-native';
|
|
2
|
+
import type { OnFocusChangeFn } from './focus.types';
|
|
3
|
+
import type { OnKeyPressFn } from './keyPress.types';
|
|
4
|
+
import type { FocusOrderProps, LockFocusType } from './focusOrder.types';
|
|
5
|
+
/** Focus props shared by every keyboard-focusable component. */
|
|
6
|
+
export type CommonFocusProps = {
|
|
7
|
+
/** Whether the component can receive keyboard focus. Defaults to `true`. */
|
|
8
|
+
focusable?: boolean;
|
|
9
|
+
/**
|
|
10
|
+
* Enables the halo highlight ring drawn around the component on focus.
|
|
11
|
+
*
|
|
12
|
+
* @platform ios
|
|
13
|
+
*/
|
|
14
|
+
haloEffect?: boolean;
|
|
15
|
+
/**
|
|
16
|
+
* Keeps a disabled halo (`haloEffect={false}`) suppressed on views that have
|
|
17
|
+
* a `borderRadius`. UIKit re-arms the halo from the view's
|
|
18
|
+
* `layer.cornerRadius` (set by RN from `borderRadius`) on every layout pass,
|
|
19
|
+
* so the halo can reappear after being disabled; this watches layout changes
|
|
20
|
+
* and resets the focus effect each pass. Only takes effect when
|
|
21
|
+
* `haloEffect={false}`. Alternatively, move `borderRadius` to `containerStyle`
|
|
22
|
+
* so the focused view itself stays square.
|
|
23
|
+
*
|
|
24
|
+
* @platform ios
|
|
25
|
+
*/
|
|
26
|
+
roundedHaloFix?: boolean;
|
|
27
|
+
/** Color used to tint the component on focus. */
|
|
28
|
+
tintColor?: ColorValue;
|
|
29
|
+
/**
|
|
30
|
+
* iOS `focusGroupIdentifier` — the identifier of the focus group this view belongs to.
|
|
31
|
+
*
|
|
32
|
+
* @platform ios
|
|
33
|
+
*/
|
|
34
|
+
groupIdentifier?: string;
|
|
35
|
+
/** Directions in which focus movement is locked. See {@link LockFocusType}. */
|
|
36
|
+
lockFocus?: LockFocusType[];
|
|
37
|
+
/**
|
|
38
|
+
* Enables Android's default focus highlight for the focused native view.
|
|
39
|
+
*
|
|
40
|
+
* @platform android
|
|
41
|
+
* @default true
|
|
42
|
+
*/
|
|
43
|
+
defaultFocusHighlightEnabled?: boolean;
|
|
44
|
+
/**
|
|
45
|
+
* Cross-platform focus highlight mode. `'none'` disables the focus highlight
|
|
46
|
+
* entirely — the iOS halo and the Android default highlight — equivalent to
|
|
47
|
+
* `haloEffect={false}` / `defaultFocusHighlightEnabled={false}`. `'default'`
|
|
48
|
+
* (the default) keeps the platform highlight.
|
|
49
|
+
*
|
|
50
|
+
* @default 'default'
|
|
51
|
+
*/
|
|
52
|
+
tintType?: 'default' | 'none';
|
|
53
|
+
};
|
|
54
|
+
export type BaseFocusViewProps = {
|
|
55
|
+
/** Treats the view as a transparent focus wrapper rather than a focusable target itself. */
|
|
56
|
+
focusableWrapper?: boolean;
|
|
57
|
+
/** Called when the component gains or loses keyboard focus. */
|
|
58
|
+
onFocusChange?: OnFocusChangeFn;
|
|
59
|
+
/** Handler for the physical key-up event. */
|
|
60
|
+
onKeyUpPress?: OnKeyPressFn;
|
|
61
|
+
/** Handler for the physical key-down event. */
|
|
62
|
+
onKeyDownPress?: OnKeyPressFn;
|
|
63
|
+
/**
|
|
64
|
+
* Handler for long-press events triggered by the context-menu command.
|
|
65
|
+
*
|
|
66
|
+
* @platform ios
|
|
67
|
+
*/
|
|
68
|
+
onContextMenuPress?: () => void;
|
|
69
|
+
/**
|
|
70
|
+
* Bubbling variant of {@link BaseFocusViewProps.onContextMenuPress} — fires for
|
|
71
|
+
* context-menu presses that bubble up from descendants.
|
|
72
|
+
*
|
|
73
|
+
* @platform ios
|
|
74
|
+
*/
|
|
75
|
+
onBubbledContextMenuPress?: () => void;
|
|
76
|
+
/** Whether the component should automatically gain focus on mount. */
|
|
77
|
+
autoFocus?: boolean;
|
|
78
|
+
/** Called when the component gains keyboard focus. */
|
|
79
|
+
onFocus?: () => void;
|
|
80
|
+
/** Called when the component loses keyboard focus. */
|
|
81
|
+
onBlur?: () => void;
|
|
82
|
+
/**
|
|
83
|
+
* Corner radius of the halo ring, in points.
|
|
84
|
+
*
|
|
85
|
+
* @platform ios
|
|
86
|
+
*/
|
|
87
|
+
haloCornerRadius?: number;
|
|
88
|
+
/**
|
|
89
|
+
* Horizontal expansion of the halo ring beyond the view bounds, in points.
|
|
90
|
+
*
|
|
91
|
+
* @platform ios
|
|
92
|
+
*/
|
|
93
|
+
haloExpendX?: number;
|
|
94
|
+
/**
|
|
95
|
+
* Vertical expansion of the halo ring beyond the view bounds, in points.
|
|
96
|
+
*
|
|
97
|
+
* @platform ios
|
|
98
|
+
*/
|
|
99
|
+
haloExpendY?: number;
|
|
100
|
+
/** Enables the context-menu interaction on the view. */
|
|
101
|
+
enableContextMenu?: boolean;
|
|
102
|
+
/** Enables moving screen reader focus to this component automatically. */
|
|
103
|
+
screenAutoA11yFocus?: boolean;
|
|
104
|
+
/**
|
|
105
|
+
* Delay before screen reader auto-focus is applied. On Android focus can only be
|
|
106
|
+
* applied after render, which may take 300–500 ms.
|
|
107
|
+
*
|
|
108
|
+
* @platform android
|
|
109
|
+
* @default 300
|
|
110
|
+
*/
|
|
111
|
+
screenAutoA11yFocusDelay?: number;
|
|
112
|
+
/**
|
|
113
|
+
* @deprecated No longer has any effect — kept only for backwards compatibility.
|
|
114
|
+
*/
|
|
115
|
+
enableA11yFocus?: boolean;
|
|
116
|
+
} & CommonFocusProps & FocusOrderProps;
|
|
117
|
+
/** Props for `BaseKeyboardView` — standard `ViewProps` plus all focus props. */
|
|
118
|
+
export type BaseKeyboardViewProps = ViewProps & BaseFocusViewProps;
|
|
119
|
+
//# sourceMappingURL=baseKeyboardView.types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"baseKeyboardView.types.d.ts","sourceRoot":"","sources":["../../../../src/types/baseKeyboardView.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1D,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,eAAe,CAAC;AACrD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AACrD,OAAO,KAAK,EAAE,eAAe,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AAEzE,gEAAgE;AAChE,MAAM,MAAM,gBA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mB,CAAC,EAAE,OAAO,CAAC;IAC9B;;;;;;OAMG;IACH,wBAAwB,CAAC,EAAE,MAAM,CAAC;IAClC;;OAEG;IACH,eAAe,CAAC,EAAE,OAAO,CAAC;CAC3B,GAAG,gBAAgB,GAClB,eAAe,CAAC;AAElB,gFAAgF;AAChF,MAAM,MAAM,qBAAqB,GAAG,SAAS,GAAG,kBAAkB,CAAC"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import type { HostInstance, NativeSyntheticEvent } from 'react-native';
|
|
2
|
+
/**
|
|
3
|
+
* Handler invoked when a view gains or loses keyboard focus.
|
|
4
|
+
*
|
|
5
|
+
* @param isFocused `true` on focus, `false` on blur.
|
|
6
|
+
* @param tag Native view tag of the affected element, when available.
|
|
7
|
+
*/
|
|
8
|
+
export type OnFocusChangeFn = (isFocused: boolean, tag?: number) => void;
|
|
9
|
+
/** Imperative focus handle exposed via `ref` on keyboard-focusable components. */
|
|
10
|
+
export type KeyboardFocusHandle = {
|
|
11
|
+
/** Moves both physical-keyboard and screen-reader focus to this element. */
|
|
12
|
+
focus: () => void;
|
|
13
|
+
/** Moves physical-keyboard focus to this element. */
|
|
14
|
+
keyboardFocus: () => void;
|
|
15
|
+
/** Moves screen reader (VoiceOver / TalkBack) focus to this element. */
|
|
16
|
+
screenReaderFocus: () => void;
|
|
17
|
+
};
|
|
18
|
+
/**
|
|
19
|
+
* The underlying native view instance augmented with the imperative
|
|
20
|
+
* {@link KeyboardFocusHandle}. Uses RN's `HostInstance` (the host view ref —
|
|
21
|
+
* `measure`, `measureInWindow`, `setNativeProps`, …) rather than the `View`
|
|
22
|
+
* component type, so it resolves correctly under both the legacy and strict
|
|
23
|
+
* (`react-native-strict-api`) RN type sets.
|
|
24
|
+
*/
|
|
25
|
+
export type KeyboardFocus = HostInstance & KeyboardFocusHandle;
|
|
26
|
+
/** Alias of {@link KeyboardFocus}. */
|
|
27
|
+
export type BaseKeyboardViewType = KeyboardFocus;
|
|
28
|
+
/** Native event payload emitted by the view's focus-change callback. */
|
|
29
|
+
export type KeyboardFocusEvent = NativeSyntheticEvent<{
|
|
30
|
+
isFocused: boolean;
|
|
31
|
+
target?: number;
|
|
32
|
+
}>;
|
|
33
|
+
/** Handler receiving the raw {@link KeyboardFocusEvent} from the native view. */
|
|
34
|
+
export type NativeFocusChangeHandler = (e: KeyboardFocusEvent) => void;
|
|
35
|
+
//# sourceMappingURL=focus.types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"focus.types.d.ts","sourceRoot":"","sources":["../../../../src/types/focus.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,oBAAoB,EAAE,MAAM,cAAc,CAAC;AAEvE;;;;;GAKG;AACH,MAAM,MAAM,eAAe,GAAG,CAAC,SAAS,EAAE,OAAO,EAAE,GAAG,CAAC,EAAE,MAAM,KAAK,IAAI,CAAC;AAEzE,kFAAkF;AAClF,MAAM,MAAM,mBAAmB,GAAG;IAChC,4EAA4E;IAC5E,KAAK,EAAE,MAAM,IAAI,CAAC;IAClB,qDAAqD;IACrD,aAAa,EAAE,MAAM,IAAI,CAAC;IAC1B,wEAAwE;IACxE,iBAAiB,EAAE,MAAM,IAAI,CAAC;CAC/B,CAAC;AAEF;;;;;;GAMG;AACH,MAAM,MAAM,aAAa,GAAG,YAAY,GAAG,mBAAmB,CAAC;AAE/D,sCAAsC;AACtC,MAAM,MAAM,oBAAoB,GAAG,aAAa,CAAC;AAEjD,wEAAwE;AACxE,MAAM,MAAM,kBAAkB,GAAG,oBAAoB,CAAC;IACpD,SAAS,EAAE,OAAO,CAAC;IACnB,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB,CAAC,CAAC;AAEH,iFAAiF;AACjF,MAAM,MAAM,wBAAwB,GAAG,CAAC,CAAC,EAAE,kBAAkB,KAAK,IAAI,CAAC"}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import type { Int32 } from 'react-native/Libraries/Types/CodegenTypes';
|
|
2
|
+
/**
|
|
3
|
+
* Directions in which keyboard focus movement can be locked via {@link CommonFocusProps.lockFocus}.
|
|
4
|
+
*
|
|
5
|
+
* - `Up` / `Down` / `Left` / `Right` — block directional (arrow / DPad) movement.
|
|
6
|
+
* - `Forward` / `Backward` — block `Tab` and `Shift + Tab` movement.
|
|
7
|
+
* - `First` / `Last` — block jumping to the first / last focusable element.
|
|
8
|
+
*/
|
|
9
|
+
export declare enum LockFocusEnum {
|
|
10
|
+
Up = "up",
|
|
11
|
+
Down = "down",
|
|
12
|
+
Right = "right",
|
|
13
|
+
Left = "left",
|
|
14
|
+
Forward = "forward",
|
|
15
|
+
Backward = "backward",
|
|
16
|
+
First = "first",
|
|
17
|
+
Last = "last"
|
|
18
|
+
}
|
|
19
|
+
/** String-literal form of {@link LockFocusEnum} — `'up' | 'down' | 'left' | …`. */
|
|
20
|
+
export type LockFocusType = `${LockFocusEnum}`;
|
|
21
|
+
/**
|
|
22
|
+
* Link-based focus ordering props. Each `order*` target names the {@link FocusOrderProps.orderId orderId}
|
|
23
|
+
* of the element that should receive focus when moving in that direction.
|
|
24
|
+
*
|
|
25
|
+
* > `orderId` values are global. In repeated content (lists, cards) duplicate IDs cause
|
|
26
|
+
* > incorrect focus jumps — namespace them with `orderPrefix` or a `KeyboardOrderFocusGroup`.
|
|
27
|
+
*/
|
|
28
|
+
export type FocusOrderProps = {
|
|
29
|
+
/** Unique ID used as the link target for other elements' `order*` props. */
|
|
30
|
+
orderId?: string;
|
|
31
|
+
/** ID of the target focused when navigating left. */
|
|
32
|
+
orderLeft?: string;
|
|
33
|
+
/** ID of the target focused when navigating right. */
|
|
34
|
+
orderRight?: string;
|
|
35
|
+
/** ID of the target focused when navigating upward. */
|
|
36
|
+
orderUp?: string;
|
|
37
|
+
/** ID of the target focused when navigating downward. */
|
|
38
|
+
orderDown?: string;
|
|
39
|
+
/** ID of the target focused on forward navigation (`Tab`). */
|
|
40
|
+
orderForward?: string;
|
|
41
|
+
/** ID of the target focused on backward navigation (`Shift + Tab`). */
|
|
42
|
+
orderBackward?: string;
|
|
43
|
+
/** ID of the target focused when jumping to the first element. `null` clears the link. */
|
|
44
|
+
orderFirst?: string | null;
|
|
45
|
+
/** ID of the target focused when jumping to the last element. `null` clears the link. */
|
|
46
|
+
orderLast?: string | null;
|
|
47
|
+
/** Name of the group for index-based focus ordering. Pair with {@link FocusOrderProps.orderIndex orderIndex}. */
|
|
48
|
+
orderGroup?: string;
|
|
49
|
+
/** Position of this element within its {@link FocusOrderProps.orderGroup orderGroup}; lower indices are focused first. */
|
|
50
|
+
orderIndex?: Int32;
|
|
51
|
+
/**
|
|
52
|
+
* Prefix prepended to this component's `orderId` and all `order*` target IDs.
|
|
53
|
+
* Use it to namespace IDs in repeated components (lists, cards) so global IDs stay unique.
|
|
54
|
+
*/
|
|
55
|
+
orderPrefix?: string;
|
|
56
|
+
};
|
|
57
|
+
//# sourceMappingURL=focusOrder.types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"focusOrder.types.d.ts","sourceRoot":"","sources":["../../../../src/types/focusOrder.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,2CAA2C,CAAC;AAEvE;;;;;;GAMG;AACH,oBAAY,aAAa;IACvB,EAAE,OAAO;IACT,IAAI,SAAS;IACb,KAAK,UAAU;IACf,IAAI,SAAS;IACb,OAAO,YAAY;IACnB,QAAQ,aAAa;IACrB,KAAK,UAAU;IACf,IAAI,SAAS;CACd;AAED,mFAAmF;AACnF,MAAM,MAAM,aAAa,GAAG,GAAG,aAAa,EAAE,CAAC;AAE/C;;;;;;GAMG;AACH,MAAM,MAAM,eAAe,GAAG;IAC5B,4EAA4E;IAC5E,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,qDAAqD;IACrD,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,sDAAsD;IACtD,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,uDAAuD;IACvD,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,yDAAyD;IACzD,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,8DAA8D;IAC9D,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,uEAAuE;IACvE,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,0FAA0F;IAC1F,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B,yFAAyF;IACzF,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B,iHAAiH;IACjH,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,0HAA0H;IAC1H,UAAU,CAAC,EAAE,KAAK,CAAC;IACnB;;;OAGG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { StyleProp, ViewStyle } from 'react-native';
|
|
2
|
+
/** State argument passed to a {@link FocusStyle} callback. */
|
|
3
|
+
export type FocusStateCallbackType = {
|
|
4
|
+
readonly focused: boolean;
|
|
5
|
+
};
|
|
6
|
+
/**
|
|
7
|
+
* A style applied based on focus state. Either a static style, or a callback that
|
|
8
|
+
* receives `{ focused }` and returns the style to apply for the current state.
|
|
9
|
+
*/
|
|
10
|
+
export type FocusStyle = StyleProp<ViewStyle> | ((state: FocusStateCallbackType) => StyleProp<ViewStyle>) | undefined;
|
|
11
|
+
//# sourceMappingURL=focusStyle.types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"focusStyle.types.d.ts","sourceRoot":"","sources":["../../../../src/types/focusStyle.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAEzD,8DAA8D;AAC9D,MAAM,MAAM,sBAAsB,GAAG;IACnC,QAAQ,CAAC,OAAO,EAAE,OAAO,CAAC;CAC3B,CAAC;AAEF;;;GAGG;AACH,MAAM,MAAM,UAAU,GAClB,SAAS,CAAC,SAAS,CAAC,GACpB,CAAC,CAAC,KAAK,EAAE,sBAAsB,KAAK,SAAS,CAAC,SAAS,CAAC,CAAC,GACzD,SAAS,CAAC"}
|
|
@@ -1,3 +1,12 @@
|
|
|
1
|
-
export type {
|
|
2
|
-
export type {
|
|
1
|
+
export type { FocusViewProps, KeyboardFocusViewProps, } from './KeyboardFocusView.types';
|
|
2
|
+
export type { KeyboardFocusLockProps } from './KeyboardFocusLock.types';
|
|
3
|
+
export { LockComponentType } from './KeyboardFocusLock.types';
|
|
4
|
+
export type { OnFocusChangeFn, KeyboardFocus, BaseKeyboardViewType, KeyboardFocusEvent, NativeFocusChangeHandler, } from './focus.types';
|
|
5
|
+
export type { OnKeyPress, OnKeyPressFn } from './keyPress.types';
|
|
6
|
+
export type { FocusOrderProps, LockFocusType } from './focusOrder.types';
|
|
7
|
+
export { LockFocusEnum } from './focusOrder.types';
|
|
8
|
+
export type { BaseFocusViewProps, BaseKeyboardViewProps, } from './baseKeyboardView.types';
|
|
9
|
+
export type { FocusStateCallbackType, FocusStyle } from './focusStyle.types';
|
|
10
|
+
export type { ExtraKeyboardProps, KeyboardInputProps, KeyboardInputPropsDeclaration, } from './keyboardInput.types';
|
|
11
|
+
export type { WithKeyboardFocusProps, WithKeyboardFocusPropsWithRef, KeyboardFocusableComponent, KeyboardFocusableComponentDeclaration, WithKeyboardProps, KeyboardPressType, ChildrenRenderState, } from './withKeyboardFocus.types';
|
|
3
12
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/types/index.ts"],"names":[],"mappings":"AAAA,YAAY,EACV,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/types/index.ts"],"names":[],"mappings":"AAAA,YAAY,EACV,cAAc,EACd,sBAAsB,GACvB,MAAM,2BAA2B,CAAC;AACnC,YAAY,EAAE,sBAAsB,EAAE,MAAM,2BAA2B,CAAC;AACxE,OAAO,EAAE,iBAAiB,EAAE,MAAM,2BAA2B,CAAC;AAC9D,YAAY,EACV,eAAe,EACf,aAAa,EACb,oBAAoB,EACpB,kBAAkB,EAClB,wBAAwB,GACzB,MAAM,eAAe,CAAC;AACvB,YAAY,EAAE,UAAU,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AACjE,YAAY,EAAE,eAAe,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AACzE,OAAO,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AACnD,YAAY,EACV,kBAAkB,EAClB,qBAAqB,GACtB,MAAM,0BAA0B,CAAC;AAClC,YAAY,EAAE,sBAAsB,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAC7E,YAAY,EACV,kBAAkB,EAClB,kBAAkB,EAClB,6BAA6B,GAC9B,MAAM,uBAAuB,CAAC;AAC/B,YAAY,EACV,sBAAsB,EACtB,6BAA6B,EAC7B,0BAA0B,EAC1B,qCAAqC,EACrC,iBAAiB,EACjB,iBAAiB,EACjB,mBAAmB,GACpB,MAAM,2BAA2B,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { NativeSyntheticEvent } from 'react-native';
|
|
2
|
+
import type { KeyPress } from '../nativeSpec/ExternalKeyboardViewNativeComponent';
|
|
3
|
+
/** Native event payload for a physical key press (key down / key up). */
|
|
4
|
+
export type OnKeyPress = NativeSyntheticEvent<KeyPress>;
|
|
5
|
+
/** Handler receiving a physical {@link OnKeyPress} event. */
|
|
6
|
+
export type OnKeyPressFn = (e: OnKeyPress) => void;
|
|
7
|
+
//# sourceMappingURL=keyPress.types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"keyPress.types.d.ts","sourceRoot":"","sources":["../../../../src/types/keyPress.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,cAAc,CAAC;AACzD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,mDAAmD,CAAC;AAElF,yEAAyE;AACzE,MAAM,MAAM,UAAU,GAAG,oBAAoB,CAAC,QAAQ,CAAC,CAAC;AAExD,6DAA6D;AAC7D,MAAM,MAAM,YAAY,GAAG,CAAC,CAAC,EAAE,UAAU,KAAK,IAAI,CAAC"}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import { type TextInputProps, type StyleProp, type ViewStyle } from 'react-native';
|
|
2
|
+
import type { FocusStyle } from './focusStyle.types';
|
|
3
|
+
import type { FocusOrderProps } from './focusOrder.types';
|
|
4
|
+
import type { CommonFocusProps } from './baseKeyboardView.types';
|
|
5
|
+
/** Keyboard-focus props added on top of React Native's `TextInputProps`. */
|
|
6
|
+
export type ExtraKeyboardProps = {
|
|
7
|
+
/**
|
|
8
|
+
* How the input acquires focus.
|
|
9
|
+
*
|
|
10
|
+
* - `'default'` — platform default (Android focuses the input; iOS requires a press).
|
|
11
|
+
* - `'press'` — press the spacebar to focus the input.
|
|
12
|
+
* - `'auto'` — focus automatically; keyboard focus targets the input.
|
|
13
|
+
*/
|
|
14
|
+
focusType?: 'default' | 'press' | 'auto';
|
|
15
|
+
/**
|
|
16
|
+
* How the input blurs when keyboard focus moves away.
|
|
17
|
+
*
|
|
18
|
+
* - `'default'` — keep typing allowed while focus is on another component.
|
|
19
|
+
* - `'disable'` — blur the input when focus moves away.
|
|
20
|
+
* - `'auto'` — platform-managed blur behavior.
|
|
21
|
+
*
|
|
22
|
+
* @platform ios
|
|
23
|
+
*/
|
|
24
|
+
blurType?: 'default' | 'disable' | 'auto';
|
|
25
|
+
/** Style for the container wrapping the input. */
|
|
26
|
+
containerStyle?: StyleProp<ViewStyle>;
|
|
27
|
+
/** Called when the input gains or loses keyboard focus. */
|
|
28
|
+
onFocusChange?: (isFocused: boolean) => void;
|
|
29
|
+
/** Style applied to the inner `TextInput` while focused. */
|
|
30
|
+
focusStyle?: FocusStyle;
|
|
31
|
+
/** Style applied to the container while focused. */
|
|
32
|
+
containerFocusStyle?: FocusStyle;
|
|
33
|
+
/** Behavior of the submit / return key. */
|
|
34
|
+
submitBehavior?: string;
|
|
35
|
+
} & CommonFocusProps & FocusOrderProps;
|
|
36
|
+
/**
|
|
37
|
+
* `TextInput` props that differ across React Native versions and so are loosened
|
|
38
|
+
* to also accept `null` for backward/forward compatibility.
|
|
39
|
+
*/
|
|
40
|
+
type IgnoreForCompatibility = 'rejectResponderTermination' | 'selectionHandleColor' | 'cursorColor' | 'maxFontSizeMultiplier';
|
|
41
|
+
type CompatibleInputProp<TextInputPropsType extends object, CompatibilityProp extends IgnoreForCompatibility> = CompatibilityProp extends keyof TextInputPropsType ? TextInputPropsType[CompatibilityProp] : CompatibilityProp extends keyof TextInputProps ? TextInputProps[CompatibilityProp] : never;
|
|
42
|
+
type ReactNativeInputCompatibility<TextInputPropsType extends object = TextInputProps> = Omit<TextInputPropsType, IgnoreForCompatibility> & {
|
|
43
|
+
[CompatibilityProp in IgnoreForCompatibility]?: CompatibleInputProp<TextInputPropsType, CompatibilityProp> | null;
|
|
44
|
+
};
|
|
45
|
+
/**
|
|
46
|
+
* Generic form of {@link KeyboardInputProps}. Combines a (version-compatible)
|
|
47
|
+
* `TextInputProps` shape with the library's {@link ExtraKeyboardProps}.
|
|
48
|
+
*/
|
|
49
|
+
export type KeyboardInputPropsDeclaration<TextInputPropsType extends object = TextInputProps> = ReactNativeInputCompatibility<TextInputPropsType> & ExtraKeyboardProps;
|
|
50
|
+
/** Props for `KeyboardExtendedInput` — RN `TextInputProps` plus keyboard-focus props. */
|
|
51
|
+
export type KeyboardInputProps = KeyboardInputPropsDeclaration<TextInputProps>;
|
|
52
|
+
export {};
|
|
53
|
+
//# sourceMappingURL=keyboardInput.types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"keyboardInput.types.d.ts","sourceRoot":"","sources":["../../../../src/types/keyboardInput.types.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KA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