one 2.19.0 → 2.20.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/One.podspec +2 -2
- package/android/build.gradle +2 -0
- package/android/portal/CMakeLists.txt +4 -1
- package/android/portal/react/renderer/components/OneNativeSpec/ComponentDescriptors.h +1 -0
- package/android/src/main/java/com/margelo/nitro/one/HybridOneKeyboard.kt +110 -0
- package/android/src/main/java/dev/onejs/keyboard/ClippingScrollViewDecoratorViewManager.kt +44 -0
- package/android/src/main/java/dev/onejs/keyboard/KeyboardBackgroundViewManager.kt +19 -0
- package/android/src/main/java/dev/onejs/keyboard/KeyboardControllerViewManager.kt +85 -0
- package/android/src/main/java/dev/onejs/keyboard/KeyboardGestureAreaViewManager.kt +65 -0
- package/android/src/main/java/dev/onejs/keyboard/KeyboardToolbarGroupViewManager.kt +19 -0
- package/android/src/main/java/dev/onejs/keyboard/LICENSE +21 -0
- package/android/src/main/java/dev/onejs/keyboard/OneKeyboardBridge.kt +9 -0
- package/android/src/main/java/dev/onejs/keyboard/OverKeyboardViewManager.kt +49 -0
- package/android/src/main/java/dev/onejs/keyboard/constants/Keyboard.kt +7 -0
- package/android/src/main/java/dev/onejs/keyboard/constants/UIThread.kt +9 -0
- package/android/src/main/java/dev/onejs/keyboard/events/FocusedInputLayoutChangedEvent.kt +52 -0
- package/android/src/main/java/dev/onejs/keyboard/events/FocusedInputSelectionChangedEvent.kt +56 -0
- package/android/src/main/java/dev/onejs/keyboard/events/FocusedInputTextChangedEvent.kt +25 -0
- package/android/src/main/java/dev/onejs/keyboard/events/KeyboardTransitionEvent.kt +44 -0
- package/android/src/main/java/dev/onejs/keyboard/extensions/Context.kt +58 -0
- package/android/src/main/java/dev/onejs/keyboard/extensions/EditText.kt +262 -0
- package/android/src/main/java/dev/onejs/keyboard/extensions/Float.kt +8 -0
- package/android/src/main/java/dev/onejs/keyboard/extensions/ReactContext.kt +37 -0
- package/android/src/main/java/dev/onejs/keyboard/extensions/ScrollView.kt +65 -0
- package/android/src/main/java/dev/onejs/keyboard/extensions/SoftInputMode.kt +13 -0
- package/android/src/main/java/dev/onejs/keyboard/extensions/ThemedReactContext.kt +56 -0
- package/android/src/main/java/dev/onejs/keyboard/extensions/View.kt +91 -0
- package/android/src/main/java/dev/onejs/keyboard/extensions/ViewGroup.kt +10 -0
- package/android/src/main/java/dev/onejs/keyboard/extensions/WindowInsetsAnimationCompat.kt +7 -0
- package/android/src/main/java/dev/onejs/keyboard/interactive/InteractiveKeyboardProvider.kt +5 -0
- package/android/src/main/java/dev/onejs/keyboard/interactive/KeyboardAnimationController.kt +407 -0
- package/android/src/main/java/dev/onejs/keyboard/interactive/interpolators/Interpolator.kt +20 -0
- package/android/src/main/java/dev/onejs/keyboard/interactive/interpolators/IosInterpolator.kt +21 -0
- package/android/src/main/java/dev/onejs/keyboard/interactive/interpolators/LinearInterpolator.kt +10 -0
- package/android/src/main/java/dev/onejs/keyboard/listeners/FocusedInputObserver.kt +200 -0
- package/android/src/main/java/dev/onejs/keyboard/listeners/KeyboardAnimationCallback.kt +505 -0
- package/android/src/main/java/dev/onejs/keyboard/listeners/WindowDimensionListener.kt +76 -0
- package/android/src/main/java/dev/onejs/keyboard/log/Logger.kt +28 -0
- package/android/src/main/java/dev/onejs/keyboard/managers/ClippingScrollViewDecoratorViewManagerImpl.kt +13 -0
- package/android/src/main/java/dev/onejs/keyboard/managers/KeyboardBackgroundViewManagerImpl.kt +13 -0
- package/android/src/main/java/dev/onejs/keyboard/managers/KeyboardControllerViewManagerImpl.kt +96 -0
- package/android/src/main/java/dev/onejs/keyboard/managers/KeyboardGestureAreaViewManagerImpl.kt +41 -0
- package/android/src/main/java/dev/onejs/keyboard/managers/KeyboardToolbarGroupViewManagerImpl.kt +13 -0
- package/android/src/main/java/dev/onejs/keyboard/managers/OverKeyboardViewManagerImpl.kt +23 -0
- package/android/src/main/java/dev/onejs/keyboard/modal/ModalAttachedWatcher.kt +116 -0
- package/android/src/main/java/dev/onejs/keyboard/modules/KeyboardControllerModuleImpl.kt +139 -0
- package/android/src/main/java/dev/onejs/keyboard/traversal/FocusedInputHolder.kt +19 -0
- package/android/src/main/java/dev/onejs/keyboard/traversal/ViewHierarchyNavigator.kt +130 -0
- package/android/src/main/java/dev/onejs/keyboard/views/ClippingScrollViewDecoratorView.kt +241 -0
- package/android/src/main/java/dev/onejs/keyboard/views/EdgeToEdgeReactViewGroup.kt +225 -0
- package/android/src/main/java/dev/onejs/keyboard/views/KeyboardGestureAreaReactViewGroup.kt +247 -0
- package/android/src/main/java/dev/onejs/keyboard/views/KeyboardToolbarGroupReactViewGroup.kt +13 -0
- package/android/src/main/java/dev/onejs/keyboard/views/background/KeyboardBackgroundViewGroup.kt +34 -0
- package/android/src/main/java/dev/onejs/keyboard/views/background/Skins.kt +91 -0
- package/android/src/main/java/dev/onejs/keyboard/views/overlay/JSPointerDispatcherCompat.kt +74 -0
- package/android/src/main/java/dev/onejs/keyboard/views/overlay/OverKeyboardHostShadowNode.kt +33 -0
- package/android/src/main/java/dev/onejs/keyboard/views/overlay/OverKeyboardViewGroup.kt +249 -0
- package/android/src/main/java/dev/onejs/keyboard/views/overlay/RootViewCompat.kt +18 -0
- package/android/src/main/java/dev/onejs/one/OnePackage.kt +12 -0
- package/android/src/main/res/values/one_keyboard_attrs.xml +7 -0
- package/android/src/main/res/values/one_keyboard_skins.xml +35 -0
- package/android/src/main/res/values-v29/one_keyboard_skins.xml +5 -0
- package/android/src/main/res/values-v30/one_keyboard_skins.xml +17 -0
- package/android/src/main/res/values-v33/one_keyboard_skins.xml +14 -0
- package/android/src/main/res/values-v34/one_keyboard_skins.xml +18 -0
- package/android/src/main/res/values-v35/one_keyboard_skins.xml +10 -0
- package/cpp/OneOverKeyboardViewComponentDescriptor.h +31 -0
- package/cpp/OneOverKeyboardViewShadowNode.cpp +7 -0
- package/cpp/OneOverKeyboardViewShadowNode.h +23 -0
- package/cpp/OneOverKeyboardViewState.cpp +12 -0
- package/cpp/OneOverKeyboardViewState.h +43 -0
- package/dist/cjs/keyboard/animated.cjs +154 -0
- package/dist/cjs/keyboard/animated.native.cjs +168 -0
- package/dist/cjs/keyboard/animated.native.js +170 -0
- package/dist/cjs/keyboard/animated.native.js.map +1 -0
- package/dist/cjs/keyboard/architecture.cjs +25 -0
- package/dist/cjs/keyboard/architecture.native.cjs +27 -0
- package/dist/cjs/keyboard/architecture.native.js +29 -0
- package/dist/cjs/keyboard/architecture.native.js.map +1 -0
- package/dist/cjs/keyboard/bindings.cjs +65 -0
- package/dist/cjs/keyboard/bindings.native.cjs +147 -0
- package/dist/cjs/keyboard/bindings.native.js +149 -0
- package/dist/cjs/keyboard/bindings.native.js.map +1 -0
- package/dist/cjs/keyboard/compat.cjs +63 -0
- package/dist/cjs/keyboard/compat.native.cjs +65 -0
- package/dist/cjs/keyboard/compat.native.js +67 -0
- package/dist/cjs/keyboard/compat.native.js.map +1 -0
- package/dist/cjs/keyboard/components/KeyboardAvoidingView/hooks.cjs +144 -0
- package/dist/cjs/keyboard/components/KeyboardAvoidingView/hooks.native.cjs +146 -0
- package/dist/cjs/keyboard/components/KeyboardAvoidingView/hooks.native.js +148 -0
- package/dist/cjs/keyboard/components/KeyboardAvoidingView/hooks.native.js.map +1 -0
- package/dist/cjs/keyboard/components/KeyboardAvoidingView/index.cjs +156 -0
- package/dist/cjs/keyboard/components/KeyboardAvoidingView/index.native.cjs +173 -0
- package/dist/cjs/keyboard/components/KeyboardAvoidingView/index.native.js +175 -0
- package/dist/cjs/keyboard/components/KeyboardAvoidingView/index.native.js.map +1 -0
- package/dist/cjs/keyboard/components/KeyboardAwareScrollView/index.cjs +326 -0
- package/dist/cjs/keyboard/components/KeyboardAwareScrollView/index.native.cjs +344 -0
- package/dist/cjs/keyboard/components/KeyboardAwareScrollView/index.native.js +346 -0
- package/dist/cjs/keyboard/components/KeyboardAwareScrollView/index.native.js.map +1 -0
- package/dist/cjs/keyboard/components/KeyboardAwareScrollView/types.cjs +17 -0
- package/dist/cjs/keyboard/components/KeyboardAwareScrollView/types.native.cjs +19 -0
- package/dist/cjs/keyboard/components/KeyboardAwareScrollView/types.native.js +21 -0
- package/dist/cjs/keyboard/components/KeyboardAwareScrollView/types.native.js.map +1 -0
- package/dist/cjs/keyboard/components/KeyboardAwareScrollView/useSmoothKeyboardHandler.cjs +100 -0
- package/dist/cjs/keyboard/components/KeyboardAwareScrollView/useSmoothKeyboardHandler.native.cjs +110 -0
- package/dist/cjs/keyboard/components/KeyboardAwareScrollView/useSmoothKeyboardHandler.native.js +112 -0
- package/dist/cjs/keyboard/components/KeyboardAwareScrollView/useSmoothKeyboardHandler.native.js.map +1 -0
- package/dist/cjs/keyboard/components/KeyboardAwareScrollView/utils.cjs +50 -0
- package/dist/cjs/keyboard/components/KeyboardAwareScrollView/utils.native.cjs +58 -0
- package/dist/cjs/keyboard/components/KeyboardAwareScrollView/utils.native.js +60 -0
- package/dist/cjs/keyboard/components/KeyboardAwareScrollView/utils.native.js.map +1 -0
- package/dist/cjs/keyboard/components/KeyboardChatScrollView/hooks.cjs +25 -0
- package/dist/cjs/keyboard/components/KeyboardChatScrollView/hooks.native.cjs +27 -0
- package/dist/cjs/keyboard/components/KeyboardChatScrollView/hooks.native.js +29 -0
- package/dist/cjs/keyboard/components/KeyboardChatScrollView/hooks.native.js.map +1 -0
- package/dist/cjs/keyboard/components/KeyboardChatScrollView/index.cjs +118 -0
- package/dist/cjs/keyboard/components/KeyboardChatScrollView/index.native.cjs +133 -0
- package/dist/cjs/keyboard/components/KeyboardChatScrollView/index.native.js +135 -0
- package/dist/cjs/keyboard/components/KeyboardChatScrollView/index.native.js.map +1 -0
- package/dist/cjs/keyboard/components/KeyboardChatScrollView/types.cjs +17 -0
- package/dist/cjs/keyboard/components/KeyboardChatScrollView/types.native.cjs +19 -0
- package/dist/cjs/keyboard/components/KeyboardChatScrollView/types.native.js +21 -0
- package/dist/cjs/keyboard/components/KeyboardChatScrollView/types.native.js.map +1 -0
- package/dist/cjs/keyboard/components/KeyboardChatScrollView/useChatKeyboard/helpers.cjs +93 -0
- package/dist/cjs/keyboard/components/KeyboardChatScrollView/useChatKeyboard/helpers.native.cjs +97 -0
- package/dist/cjs/keyboard/components/KeyboardChatScrollView/useChatKeyboard/helpers.native.js +99 -0
- package/dist/cjs/keyboard/components/KeyboardChatScrollView/useChatKeyboard/helpers.native.js.map +1 -0
- package/dist/cjs/keyboard/components/KeyboardChatScrollView/useChatKeyboard/index.cjs +210 -0
- package/dist/cjs/keyboard/components/KeyboardChatScrollView/useChatKeyboard/index.ios.cjs +145 -0
- package/dist/cjs/keyboard/components/KeyboardChatScrollView/useChatKeyboard/index.ios.js +147 -0
- package/dist/cjs/keyboard/components/KeyboardChatScrollView/useChatKeyboard/index.ios.js.map +1 -0
- package/dist/cjs/keyboard/components/KeyboardChatScrollView/useChatKeyboard/index.native.cjs +212 -0
- package/dist/cjs/keyboard/components/KeyboardChatScrollView/useChatKeyboard/index.native.js +214 -0
- package/dist/cjs/keyboard/components/KeyboardChatScrollView/useChatKeyboard/index.native.js.map +1 -0
- package/dist/cjs/keyboard/components/KeyboardChatScrollView/useChatKeyboard/types.cjs +17 -0
- package/dist/cjs/keyboard/components/KeyboardChatScrollView/useChatKeyboard/types.native.cjs +19 -0
- package/dist/cjs/keyboard/components/KeyboardChatScrollView/useChatKeyboard/types.native.js +21 -0
- package/dist/cjs/keyboard/components/KeyboardChatScrollView/useChatKeyboard/types.native.js.map +1 -0
- package/dist/cjs/keyboard/components/KeyboardChatScrollView/useEndVisible.cjs +52 -0
- package/dist/cjs/keyboard/components/KeyboardChatScrollView/useEndVisible.native.cjs +61 -0
- package/dist/cjs/keyboard/components/KeyboardChatScrollView/useEndVisible.native.js +63 -0
- package/dist/cjs/keyboard/components/KeyboardChatScrollView/useEndVisible.native.js.map +1 -0
- package/dist/cjs/keyboard/components/KeyboardChatScrollView/useExtraContentPadding/index.cjs +92 -0
- package/dist/cjs/keyboard/components/KeyboardChatScrollView/useExtraContentPadding/index.native.cjs +96 -0
- package/dist/cjs/keyboard/components/KeyboardChatScrollView/useExtraContentPadding/index.native.js +98 -0
- package/dist/cjs/keyboard/components/KeyboardChatScrollView/useExtraContentPadding/index.native.js.map +1 -0
- package/dist/cjs/keyboard/components/KeyboardChatScrollView/useFrozenPadding/index.cjs +53 -0
- package/dist/cjs/keyboard/components/KeyboardChatScrollView/useFrozenPadding/index.native.cjs +58 -0
- package/dist/cjs/keyboard/components/KeyboardChatScrollView/useFrozenPadding/index.native.js +60 -0
- package/dist/cjs/keyboard/components/KeyboardChatScrollView/useFrozenPadding/index.native.js.map +1 -0
- package/dist/cjs/keyboard/components/KeyboardEffects/index.cjs +94 -0
- package/dist/cjs/keyboard/components/KeyboardEffects/index.native.cjs +99 -0
- package/dist/cjs/keyboard/components/KeyboardEffects/index.native.js +101 -0
- package/dist/cjs/keyboard/components/KeyboardEffects/index.native.js.map +1 -0
- package/dist/cjs/keyboard/components/KeyboardStickyView/index.cjs +54 -0
- package/dist/cjs/keyboard/components/KeyboardStickyView/index.native.cjs +59 -0
- package/dist/cjs/keyboard/components/KeyboardStickyView/index.native.js +61 -0
- package/dist/cjs/keyboard/components/KeyboardStickyView/index.native.js.map +1 -0
- package/dist/cjs/keyboard/components/KeyboardToolbar/Arrow.cjs +82 -0
- package/dist/cjs/keyboard/components/KeyboardToolbar/Arrow.native.cjs +99 -0
- package/dist/cjs/keyboard/components/KeyboardToolbar/Arrow.native.js +101 -0
- package/dist/cjs/keyboard/components/KeyboardToolbar/Arrow.native.js.map +1 -0
- package/dist/cjs/keyboard/components/KeyboardToolbar/Button.cjs +71 -0
- package/dist/cjs/keyboard/components/KeyboardToolbar/Button.native.cjs +89 -0
- package/dist/cjs/keyboard/components/KeyboardToolbar/Button.native.js +91 -0
- package/dist/cjs/keyboard/components/KeyboardToolbar/Button.native.js.map +1 -0
- package/dist/cjs/keyboard/components/KeyboardToolbar/colors.cjs +38 -0
- package/dist/cjs/keyboard/components/KeyboardToolbar/colors.native.cjs +59 -0
- package/dist/cjs/keyboard/components/KeyboardToolbar/colors.native.js +61 -0
- package/dist/cjs/keyboard/components/KeyboardToolbar/colors.native.js.map +1 -0
- package/dist/cjs/keyboard/components/KeyboardToolbar/compound/components/Background.cjs +27 -0
- package/dist/cjs/keyboard/components/KeyboardToolbar/compound/components/Background.native.cjs +39 -0
- package/dist/cjs/keyboard/components/KeyboardToolbar/compound/components/Background.native.js +41 -0
- package/dist/cjs/keyboard/components/KeyboardToolbar/compound/components/Background.native.js.map +1 -0
- package/dist/cjs/keyboard/components/KeyboardToolbar/compound/components/Content.cjs +36 -0
- package/dist/cjs/keyboard/components/KeyboardToolbar/compound/components/Content.native.cjs +46 -0
- package/dist/cjs/keyboard/components/KeyboardToolbar/compound/components/Content.native.js +48 -0
- package/dist/cjs/keyboard/components/KeyboardToolbar/compound/components/Content.native.js.map +1 -0
- package/dist/cjs/keyboard/components/KeyboardToolbar/compound/components/Done.cjs +75 -0
- package/dist/cjs/keyboard/components/KeyboardToolbar/compound/components/Done.native.cjs +84 -0
- package/dist/cjs/keyboard/components/KeyboardToolbar/compound/components/Done.native.js +86 -0
- package/dist/cjs/keyboard/components/KeyboardToolbar/compound/components/Done.native.js.map +1 -0
- package/dist/cjs/keyboard/components/KeyboardToolbar/compound/components/Next.cjs +64 -0
- package/dist/cjs/keyboard/components/KeyboardToolbar/compound/components/Next.native.cjs +67 -0
- package/dist/cjs/keyboard/components/KeyboardToolbar/compound/components/Next.native.js +69 -0
- package/dist/cjs/keyboard/components/KeyboardToolbar/compound/components/Next.native.js.map +1 -0
- package/dist/cjs/keyboard/components/KeyboardToolbar/compound/components/Prev.cjs +64 -0
- package/dist/cjs/keyboard/components/KeyboardToolbar/compound/components/Prev.native.cjs +68 -0
- package/dist/cjs/keyboard/components/KeyboardToolbar/compound/components/Prev.native.js +70 -0
- package/dist/cjs/keyboard/components/KeyboardToolbar/compound/components/Prev.native.js.map +1 -0
- package/dist/cjs/keyboard/components/KeyboardToolbar/compound/components/index.cjs +41 -0
- package/dist/cjs/keyboard/components/KeyboardToolbar/compound/components/index.native.cjs +43 -0
- package/dist/cjs/keyboard/components/KeyboardToolbar/compound/components/index.native.js +45 -0
- package/dist/cjs/keyboard/components/KeyboardToolbar/compound/components/index.native.js.map +1 -0
- package/dist/cjs/keyboard/components/KeyboardToolbar/compound/components/types.cjs +17 -0
- package/dist/cjs/keyboard/components/KeyboardToolbar/compound/components/types.native.cjs +19 -0
- package/dist/cjs/keyboard/components/KeyboardToolbar/compound/components/types.native.js +21 -0
- package/dist/cjs/keyboard/components/KeyboardToolbar/compound/components/types.native.js.map +1 -0
- package/dist/cjs/keyboard/components/KeyboardToolbar/compound/context.cjs +36 -0
- package/dist/cjs/keyboard/components/KeyboardToolbar/compound/context.native.cjs +38 -0
- package/dist/cjs/keyboard/components/KeyboardToolbar/compound/context.native.js +40 -0
- package/dist/cjs/keyboard/components/KeyboardToolbar/compound/context.native.js.map +1 -0
- package/dist/cjs/keyboard/components/KeyboardToolbar/constants.cjs +42 -0
- package/dist/cjs/keyboard/components/KeyboardToolbar/constants.native.cjs +44 -0
- package/dist/cjs/keyboard/components/KeyboardToolbar/constants.native.js +46 -0
- package/dist/cjs/keyboard/components/KeyboardToolbar/constants.native.js.map +1 -0
- package/dist/cjs/keyboard/components/KeyboardToolbar/index.cjs +202 -0
- package/dist/cjs/keyboard/components/KeyboardToolbar/index.native.cjs +215 -0
- package/dist/cjs/keyboard/components/KeyboardToolbar/index.native.js +217 -0
- package/dist/cjs/keyboard/components/KeyboardToolbar/index.native.js.map +1 -0
- package/dist/cjs/keyboard/components/KeyboardToolbar/types.cjs +17 -0
- package/dist/cjs/keyboard/components/KeyboardToolbar/types.native.cjs +19 -0
- package/dist/cjs/keyboard/components/KeyboardToolbar/types.native.js +21 -0
- package/dist/cjs/keyboard/components/KeyboardToolbar/types.native.js.map +1 -0
- package/dist/cjs/keyboard/components/ScrollViewWithBottomPadding/index.cjs +127 -0
- package/dist/cjs/keyboard/components/ScrollViewWithBottomPadding/index.native.cjs +134 -0
- package/dist/cjs/keyboard/components/ScrollViewWithBottomPadding/index.native.js +136 -0
- package/dist/cjs/keyboard/components/ScrollViewWithBottomPadding/index.native.js.map +1 -0
- package/dist/cjs/keyboard/components/ScrollViewWithBottomPadding/styles.cjs +30 -0
- package/dist/cjs/keyboard/components/ScrollViewWithBottomPadding/styles.native.cjs +32 -0
- package/dist/cjs/keyboard/components/ScrollViewWithBottomPadding/styles.native.js +34 -0
- package/dist/cjs/keyboard/components/ScrollViewWithBottomPadding/styles.native.js.map +1 -0
- package/dist/cjs/keyboard/components/hooks/useCombinedRef.cjs +40 -0
- package/dist/cjs/keyboard/components/hooks/useCombinedRef.native.cjs +62 -0
- package/dist/cjs/keyboard/components/hooks/useCombinedRef.native.js +64 -0
- package/dist/cjs/keyboard/components/hooks/useCombinedRef.native.js.map +1 -0
- package/dist/cjs/keyboard/components/hooks/useScrollState.cjs +78 -0
- package/dist/cjs/keyboard/components/hooks/useScrollState.native.cjs +81 -0
- package/dist/cjs/keyboard/components/hooks/useScrollState.native.js +83 -0
- package/dist/cjs/keyboard/components/hooks/useScrollState.native.js.map +1 -0
- package/dist/cjs/keyboard/components/index.cjs +44 -0
- package/dist/cjs/keyboard/components/index.native.cjs +46 -0
- package/dist/cjs/keyboard/components/index.native.js +48 -0
- package/dist/cjs/keyboard/components/index.native.js.map +1 -0
- package/dist/cjs/keyboard/components/utils/safeScrollTo.cjs +33 -0
- package/dist/cjs/keyboard/components/utils/safeScrollTo.native.cjs +35 -0
- package/dist/cjs/keyboard/components/utils/safeScrollTo.native.js +37 -0
- package/dist/cjs/keyboard/components/utils/safeScrollTo.native.js.map +1 -0
- package/dist/cjs/keyboard/constants.cjs +48 -0
- package/dist/cjs/keyboard/constants.native.cjs +50 -0
- package/dist/cjs/keyboard/constants.native.js +52 -0
- package/dist/cjs/keyboard/constants.native.js.map +1 -0
- package/dist/cjs/keyboard/context.cjs +65 -0
- package/dist/cjs/keyboard/context.native.cjs +73 -0
- package/dist/cjs/keyboard/context.native.js +75 -0
- package/dist/cjs/keyboard/context.native.js.map +1 -0
- package/dist/cjs/keyboard/hooks/index.cjs +121 -0
- package/dist/cjs/keyboard/hooks/index.native.cjs +135 -0
- package/dist/cjs/keyboard/hooks/index.native.js +137 -0
- package/dist/cjs/keyboard/hooks/index.native.js.map +1 -0
- package/dist/cjs/keyboard/hooks/useKeyboardState/index.cjs +44 -0
- package/dist/cjs/keyboard/hooks/useKeyboardState/index.native.cjs +59 -0
- package/dist/cjs/keyboard/hooks/useKeyboardState/index.native.js +61 -0
- package/dist/cjs/keyboard/hooks/useKeyboardState/index.native.js.map +1 -0
- package/dist/cjs/keyboard/hooks/useWindowDimensions/index.cjs +48 -0
- package/dist/cjs/keyboard/hooks/useWindowDimensions/index.native.cjs +50 -0
- package/dist/cjs/keyboard/hooks/useWindowDimensions/index.native.js +52 -0
- package/dist/cjs/keyboard/hooks/useWindowDimensions/index.native.js.map +1 -0
- package/dist/cjs/keyboard/index.cjs +45 -0
- package/dist/cjs/keyboard/index.native.cjs +47 -0
- package/dist/cjs/keyboard/index.native.js +49 -0
- package/dist/cjs/keyboard/index.native.js.map +1 -0
- package/dist/cjs/keyboard/internal.cjs +77 -0
- package/dist/cjs/keyboard/internal.native.cjs +79 -0
- package/dist/cjs/keyboard/internal.native.js +81 -0
- package/dist/cjs/keyboard/internal.native.js.map +1 -0
- package/dist/cjs/keyboard/module.cjs +72 -0
- package/dist/cjs/keyboard/module.native.cjs +79 -0
- package/dist/cjs/keyboard/module.native.js +81 -0
- package/dist/cjs/keyboard/module.native.js.map +1 -0
- package/dist/cjs/keyboard/reanimated.cjs +36 -0
- package/dist/cjs/keyboard/reanimated.native.cjs +84 -0
- package/dist/cjs/keyboard/reanimated.native.js +86 -0
- package/dist/cjs/keyboard/reanimated.native.js.map +1 -0
- package/dist/cjs/keyboard/typings/hooks.cjs +17 -0
- package/dist/cjs/keyboard/typings/hooks.native.cjs +19 -0
- package/dist/cjs/keyboard/typings/hooks.native.js +21 -0
- package/dist/cjs/keyboard/typings/hooks.native.js.map +1 -0
- package/dist/cjs/keyboard/typings/index.cjs +23 -0
- package/dist/cjs/keyboard/typings/index.native.cjs +25 -0
- package/dist/cjs/keyboard/typings/index.native.js +27 -0
- package/dist/cjs/keyboard/typings/index.native.js.map +1 -0
- package/dist/cjs/keyboard/typings/internal.cjs +17 -0
- package/dist/cjs/keyboard/typings/internal.native.cjs +19 -0
- package/dist/cjs/keyboard/typings/internal.native.js +21 -0
- package/dist/cjs/keyboard/typings/internal.native.js.map +1 -0
- package/dist/cjs/keyboard/typings/module.cjs +17 -0
- package/dist/cjs/keyboard/typings/module.native.cjs +19 -0
- package/dist/cjs/keyboard/typings/module.native.js +21 -0
- package/dist/cjs/keyboard/typings/module.native.js.map +1 -0
- package/dist/cjs/keyboard/typings/provider.cjs +17 -0
- package/dist/cjs/keyboard/typings/provider.native.cjs +19 -0
- package/dist/cjs/keyboard/typings/provider.native.js +21 -0
- package/dist/cjs/keyboard/typings/provider.native.js.map +1 -0
- package/dist/cjs/keyboard/typings/views.cjs +17 -0
- package/dist/cjs/keyboard/typings/views.native.cjs +19 -0
- package/dist/cjs/keyboard/typings/views.native.js +21 -0
- package/dist/cjs/keyboard/typings/views.native.js.map +1 -0
- package/dist/cjs/keyboard/utils/findNodeHandle/index.cjs +25 -0
- package/dist/cjs/keyboard/utils/findNodeHandle/index.native.cjs +27 -0
- package/dist/cjs/keyboard/utils/findNodeHandle/index.native.js +29 -0
- package/dist/cjs/keyboard/utils/findNodeHandle/index.native.js.map +1 -0
- package/dist/cjs/keyboard/views/KeyboardExtender/index.cjs +48 -0
- package/dist/cjs/keyboard/views/KeyboardExtender/index.ios.cjs +50 -0
- package/dist/cjs/keyboard/views/KeyboardExtender/index.ios.js +52 -0
- package/dist/cjs/keyboard/views/KeyboardExtender/index.ios.js.map +1 -0
- package/dist/cjs/keyboard/views/KeyboardExtender/index.native.cjs +57 -0
- package/dist/cjs/keyboard/views/KeyboardExtender/index.native.js +59 -0
- package/dist/cjs/keyboard/views/KeyboardExtender/index.native.js.map +1 -0
- package/dist/cjs/keyboard/views/OverKeyboardView/index.cjs +60 -0
- package/dist/cjs/keyboard/views/OverKeyboardView/index.native.cjs +72 -0
- package/dist/cjs/keyboard/views/OverKeyboardView/index.native.js +74 -0
- package/dist/cjs/keyboard/views/OverKeyboardView/index.native.js.map +1 -0
- package/dist/cjs/keyboard/views/index.cjs +35 -0
- package/dist/cjs/keyboard/views/index.native.cjs +37 -0
- package/dist/cjs/keyboard/views/index.native.js +39 -0
- package/dist/cjs/keyboard/views/index.native.js.map +1 -0
- package/dist/cjs/keyboard.cjs +19 -0
- package/dist/cjs/keyboard.native.cjs +21 -0
- package/dist/cjs/keyboard.native.js +23 -0
- package/dist/cjs/keyboard.native.js.map +1 -0
- package/dist/cjs/platform/specs/OneClippingScrollViewDecoratorViewNativeComponent.cjs +34 -0
- package/dist/cjs/platform/specs/OneClippingScrollViewDecoratorViewNativeComponent.native.cjs +34 -0
- package/dist/cjs/platform/specs/OneClippingScrollViewDecoratorViewNativeComponent.native.js +35 -0
- package/dist/cjs/platform/specs/OneClippingScrollViewDecoratorViewNativeComponent.native.js.map +7 -0
- package/dist/cjs/platform/specs/OneKeyboard.nitro.cjs +17 -0
- package/dist/cjs/platform/specs/OneKeyboard.nitro.native.cjs +19 -0
- package/dist/cjs/platform/specs/OneKeyboard.nitro.native.js +21 -0
- package/dist/cjs/platform/specs/OneKeyboard.nitro.native.js.map +1 -0
- package/dist/cjs/platform/specs/OneKeyboardBackgroundViewNativeComponent.cjs +30 -0
- package/dist/cjs/platform/specs/OneKeyboardBackgroundViewNativeComponent.native.cjs +30 -0
- package/dist/cjs/platform/specs/OneKeyboardBackgroundViewNativeComponent.native.js +31 -0
- package/dist/cjs/platform/specs/OneKeyboardBackgroundViewNativeComponent.native.js.map +7 -0
- package/dist/cjs/platform/specs/OneKeyboardControllerViewNativeComponent.cjs +79 -0
- package/dist/cjs/platform/specs/OneKeyboardControllerViewNativeComponent.native.cjs +79 -0
- package/dist/cjs/platform/specs/OneKeyboardControllerViewNativeComponent.native.js +80 -0
- package/dist/cjs/platform/specs/OneKeyboardControllerViewNativeComponent.native.js.map +7 -0
- package/dist/cjs/platform/specs/OneKeyboardExtenderNativeComponent.cjs +33 -0
- package/dist/cjs/platform/specs/OneKeyboardExtenderNativeComponent.native.cjs +33 -0
- package/dist/cjs/platform/specs/OneKeyboardExtenderNativeComponent.native.js +34 -0
- package/dist/cjs/platform/specs/OneKeyboardExtenderNativeComponent.native.js.map +7 -0
- package/dist/cjs/platform/specs/OneKeyboardGestureAreaNativeComponent.cjs +36 -0
- package/dist/cjs/platform/specs/OneKeyboardGestureAreaNativeComponent.native.cjs +36 -0
- package/dist/cjs/platform/specs/OneKeyboardGestureAreaNativeComponent.native.js +37 -0
- package/dist/cjs/platform/specs/OneKeyboardGestureAreaNativeComponent.native.js.map +7 -0
- package/dist/cjs/platform/specs/OneKeyboardToolbarGroupViewNativeComponent.cjs +30 -0
- package/dist/cjs/platform/specs/OneKeyboardToolbarGroupViewNativeComponent.native.cjs +30 -0
- package/dist/cjs/platform/specs/OneKeyboardToolbarGroupViewNativeComponent.native.js +31 -0
- package/dist/cjs/platform/specs/OneKeyboardToolbarGroupViewNativeComponent.native.js.map +7 -0
- package/dist/cjs/platform/specs/OneOverKeyboardViewNativeComponent.cjs +32 -0
- package/dist/cjs/platform/specs/OneOverKeyboardViewNativeComponent.native.cjs +32 -0
- package/dist/cjs/platform/specs/OneOverKeyboardViewNativeComponent.native.js +33 -0
- package/dist/cjs/platform/specs/OneOverKeyboardViewNativeComponent.native.js.map +7 -0
- package/dist/esm/keyboard/animated.mjs +135 -0
- package/dist/esm/keyboard/animated.mjs.map +1 -0
- package/dist/esm/keyboard/animated.native.js +141 -0
- package/dist/esm/keyboard/animated.native.js.map +1 -0
- package/dist/esm/keyboard/architecture.mjs +5 -0
- package/dist/esm/keyboard/architecture.mjs.map +1 -0
- package/dist/esm/keyboard/architecture.native.js +5 -0
- package/dist/esm/keyboard/architecture.native.js.map +1 -0
- package/dist/esm/keyboard/bindings.mjs +33 -0
- package/dist/esm/keyboard/bindings.mjs.map +1 -0
- package/dist/esm/keyboard/bindings.native.js +107 -0
- package/dist/esm/keyboard/bindings.native.js.map +1 -0
- package/dist/esm/keyboard/compat.mjs +41 -0
- package/dist/esm/keyboard/compat.mjs.map +1 -0
- package/dist/esm/keyboard/compat.native.js +41 -0
- package/dist/esm/keyboard/compat.native.js.map +1 -0
- package/dist/esm/keyboard/components/KeyboardAvoidingView/hooks.mjs +122 -0
- package/dist/esm/keyboard/components/KeyboardAvoidingView/hooks.mjs.map +1 -0
- package/dist/esm/keyboard/components/KeyboardAvoidingView/hooks.native.js +122 -0
- package/dist/esm/keyboard/components/KeyboardAvoidingView/hooks.native.js.map +1 -0
- package/dist/esm/keyboard/components/KeyboardAvoidingView/index.mjs +131 -0
- package/dist/esm/keyboard/components/KeyboardAvoidingView/index.mjs.map +1 -0
- package/dist/esm/keyboard/components/KeyboardAvoidingView/index.native.js +146 -0
- package/dist/esm/keyboard/components/KeyboardAvoidingView/index.native.js.map +1 -0
- package/dist/esm/keyboard/components/KeyboardAwareScrollView/index.mjs +301 -0
- package/dist/esm/keyboard/components/KeyboardAwareScrollView/index.mjs.map +1 -0
- package/dist/esm/keyboard/components/KeyboardAwareScrollView/index.native.js +317 -0
- package/dist/esm/keyboard/components/KeyboardAwareScrollView/index.native.js.map +1 -0
- package/dist/esm/keyboard/components/KeyboardAwareScrollView/types.mjs +0 -0
- package/dist/esm/keyboard/components/KeyboardAwareScrollView/types.native.js +0 -0
- package/dist/esm/keyboard/components/KeyboardAwareScrollView/useSmoothKeyboardHandler.mjs +81 -0
- package/dist/esm/keyboard/components/KeyboardAwareScrollView/useSmoothKeyboardHandler.mjs.map +1 -0
- package/dist/esm/keyboard/components/KeyboardAwareScrollView/useSmoothKeyboardHandler.native.js +89 -0
- package/dist/esm/keyboard/components/KeyboardAwareScrollView/useSmoothKeyboardHandler.native.js.map +1 -0
- package/dist/esm/keyboard/components/KeyboardAwareScrollView/utils.mjs +27 -0
- package/dist/esm/keyboard/components/KeyboardAwareScrollView/utils.mjs.map +1 -0
- package/dist/esm/keyboard/components/KeyboardAwareScrollView/utils.native.js +33 -0
- package/dist/esm/keyboard/components/KeyboardAwareScrollView/utils.native.js.map +1 -0
- package/dist/esm/keyboard/components/KeyboardChatScrollView/hooks.mjs +3 -0
- package/dist/esm/keyboard/components/KeyboardChatScrollView/hooks.native.js +3 -0
- package/dist/esm/keyboard/components/KeyboardChatScrollView/index.mjs +92 -0
- package/dist/esm/keyboard/components/KeyboardChatScrollView/index.mjs.map +1 -0
- package/dist/esm/keyboard/components/KeyboardChatScrollView/index.native.js +105 -0
- package/dist/esm/keyboard/components/KeyboardChatScrollView/index.native.js.map +1 -0
- package/dist/esm/keyboard/components/KeyboardChatScrollView/types.mjs +0 -0
- package/dist/esm/keyboard/components/KeyboardChatScrollView/types.native.js +0 -0
- package/dist/esm/keyboard/components/KeyboardChatScrollView/useChatKeyboard/helpers.mjs +65 -0
- package/dist/esm/keyboard/components/KeyboardChatScrollView/useChatKeyboard/helpers.mjs.map +1 -0
- package/dist/esm/keyboard/components/KeyboardChatScrollView/useChatKeyboard/helpers.native.js +67 -0
- package/dist/esm/keyboard/components/KeyboardChatScrollView/useChatKeyboard/helpers.native.js.map +1 -0
- package/dist/esm/keyboard/components/KeyboardChatScrollView/useChatKeyboard/index.ios.js +118 -0
- package/dist/esm/keyboard/components/KeyboardChatScrollView/useChatKeyboard/index.ios.js.map +1 -0
- package/dist/esm/keyboard/components/KeyboardChatScrollView/useChatKeyboard/index.mjs +185 -0
- package/dist/esm/keyboard/components/KeyboardChatScrollView/useChatKeyboard/index.mjs.map +1 -0
- package/dist/esm/keyboard/components/KeyboardChatScrollView/useChatKeyboard/index.native.js +185 -0
- package/dist/esm/keyboard/components/KeyboardChatScrollView/useChatKeyboard/index.native.js.map +1 -0
- package/dist/esm/keyboard/components/KeyboardChatScrollView/useChatKeyboard/types.mjs +0 -0
- package/dist/esm/keyboard/components/KeyboardChatScrollView/useChatKeyboard/types.native.js +0 -0
- package/dist/esm/keyboard/components/KeyboardChatScrollView/useEndVisible.mjs +33 -0
- package/dist/esm/keyboard/components/KeyboardChatScrollView/useEndVisible.mjs.map +1 -0
- package/dist/esm/keyboard/components/KeyboardChatScrollView/useEndVisible.native.js +40 -0
- package/dist/esm/keyboard/components/KeyboardChatScrollView/useEndVisible.native.js.map +1 -0
- package/dist/esm/keyboard/components/KeyboardChatScrollView/useExtraContentPadding/index.mjs +73 -0
- package/dist/esm/keyboard/components/KeyboardChatScrollView/useExtraContentPadding/index.mjs.map +1 -0
- package/dist/esm/keyboard/components/KeyboardChatScrollView/useExtraContentPadding/index.native.js +75 -0
- package/dist/esm/keyboard/components/KeyboardChatScrollView/useExtraContentPadding/index.native.js.map +1 -0
- package/dist/esm/keyboard/components/KeyboardChatScrollView/useFrozenPadding/index.mjs +34 -0
- package/dist/esm/keyboard/components/KeyboardChatScrollView/useFrozenPadding/index.mjs.map +1 -0
- package/dist/esm/keyboard/components/KeyboardChatScrollView/useFrozenPadding/index.native.js +37 -0
- package/dist/esm/keyboard/components/KeyboardChatScrollView/useFrozenPadding/index.native.js.map +1 -0
- package/dist/esm/keyboard/components/KeyboardEffects/index.mjs +69 -0
- package/dist/esm/keyboard/components/KeyboardEffects/index.mjs.map +1 -0
- package/dist/esm/keyboard/components/KeyboardEffects/index.native.js +72 -0
- package/dist/esm/keyboard/components/KeyboardEffects/index.native.js.map +1 -0
- package/dist/esm/keyboard/components/KeyboardStickyView/index.mjs +29 -0
- package/dist/esm/keyboard/components/KeyboardStickyView/index.mjs.map +1 -0
- package/dist/esm/keyboard/components/KeyboardStickyView/index.native.js +32 -0
- package/dist/esm/keyboard/components/KeyboardStickyView/index.native.js.map +1 -0
- package/dist/esm/keyboard/components/KeyboardToolbar/Arrow.mjs +63 -0
- package/dist/esm/keyboard/components/KeyboardToolbar/Arrow.mjs.map +1 -0
- package/dist/esm/keyboard/components/KeyboardToolbar/Arrow.native.js +72 -0
- package/dist/esm/keyboard/components/KeyboardToolbar/Arrow.native.js.map +1 -0
- package/dist/esm/keyboard/components/KeyboardToolbar/Button.mjs +52 -0
- package/dist/esm/keyboard/components/KeyboardToolbar/Button.mjs.map +1 -0
- package/dist/esm/keyboard/components/KeyboardToolbar/Button.native.js +62 -0
- package/dist/esm/keyboard/components/KeyboardToolbar/Button.native.js.map +1 -0
- package/dist/esm/keyboard/components/KeyboardToolbar/colors.mjs +18 -0
- package/dist/esm/keyboard/components/KeyboardToolbar/colors.mjs.map +1 -0
- package/dist/esm/keyboard/components/KeyboardToolbar/colors.native.js +38 -0
- package/dist/esm/keyboard/components/KeyboardToolbar/colors.native.js.map +1 -0
- package/dist/esm/keyboard/components/KeyboardToolbar/compound/components/Background.mjs +8 -0
- package/dist/esm/keyboard/components/KeyboardToolbar/compound/components/Background.mjs.map +1 -0
- package/dist/esm/keyboard/components/KeyboardToolbar/compound/components/Background.native.js +12 -0
- package/dist/esm/keyboard/components/KeyboardToolbar/compound/components/Background.native.js.map +1 -0
- package/dist/esm/keyboard/components/KeyboardToolbar/compound/components/Content.mjs +17 -0
- package/dist/esm/keyboard/components/KeyboardToolbar/compound/components/Content.mjs.map +1 -0
- package/dist/esm/keyboard/components/KeyboardToolbar/compound/components/Content.native.js +19 -0
- package/dist/esm/keyboard/components/KeyboardToolbar/compound/components/Content.native.js.map +1 -0
- package/dist/esm/keyboard/components/KeyboardToolbar/compound/components/Done.mjs +50 -0
- package/dist/esm/keyboard/components/KeyboardToolbar/compound/components/Done.mjs.map +1 -0
- package/dist/esm/keyboard/components/KeyboardToolbar/compound/components/Done.native.js +56 -0
- package/dist/esm/keyboard/components/KeyboardToolbar/compound/components/Done.native.js.map +1 -0
- package/dist/esm/keyboard/components/KeyboardToolbar/compound/components/Next.mjs +39 -0
- package/dist/esm/keyboard/components/KeyboardToolbar/compound/components/Next.mjs.map +1 -0
- package/dist/esm/keyboard/components/KeyboardToolbar/compound/components/Next.native.js +40 -0
- package/dist/esm/keyboard/components/KeyboardToolbar/compound/components/Next.native.js.map +1 -0
- package/dist/esm/keyboard/components/KeyboardToolbar/compound/components/Prev.mjs +39 -0
- package/dist/esm/keyboard/components/KeyboardToolbar/compound/components/Prev.mjs.map +1 -0
- package/dist/esm/keyboard/components/KeyboardToolbar/compound/components/Prev.native.js +40 -0
- package/dist/esm/keyboard/components/KeyboardToolbar/compound/components/Prev.native.js.map +1 -0
- package/dist/esm/keyboard/components/KeyboardToolbar/compound/components/index.mjs +7 -0
- package/dist/esm/keyboard/components/KeyboardToolbar/compound/components/index.native.js +7 -0
- package/dist/esm/keyboard/components/KeyboardToolbar/compound/components/types.mjs +0 -0
- package/dist/esm/keyboard/components/KeyboardToolbar/compound/components/types.native.js +0 -0
- package/dist/esm/keyboard/components/KeyboardToolbar/compound/context.mjs +14 -0
- package/dist/esm/keyboard/components/KeyboardToolbar/compound/context.mjs.map +1 -0
- package/dist/esm/keyboard/components/KeyboardToolbar/compound/context.native.js +14 -0
- package/dist/esm/keyboard/components/KeyboardToolbar/compound/context.native.js.map +1 -0
- package/dist/esm/keyboard/components/KeyboardToolbar/constants.mjs +14 -0
- package/dist/esm/keyboard/components/KeyboardToolbar/constants.mjs.map +1 -0
- package/dist/esm/keyboard/components/KeyboardToolbar/constants.native.js +14 -0
- package/dist/esm/keyboard/components/KeyboardToolbar/constants.native.js.map +1 -0
- package/dist/esm/keyboard/components/KeyboardToolbar/index.mjs +174 -0
- package/dist/esm/keyboard/components/KeyboardToolbar/index.mjs.map +1 -0
- package/dist/esm/keyboard/components/KeyboardToolbar/index.native.js +185 -0
- package/dist/esm/keyboard/components/KeyboardToolbar/index.native.js.map +1 -0
- package/dist/esm/keyboard/components/KeyboardToolbar/types.mjs +0 -0
- package/dist/esm/keyboard/components/KeyboardToolbar/types.native.js +0 -0
- package/dist/esm/keyboard/components/ScrollViewWithBottomPadding/index.mjs +102 -0
- package/dist/esm/keyboard/components/ScrollViewWithBottomPadding/index.mjs.map +1 -0
- package/dist/esm/keyboard/components/ScrollViewWithBottomPadding/index.native.js +107 -0
- package/dist/esm/keyboard/components/ScrollViewWithBottomPadding/index.native.js.map +1 -0
- package/dist/esm/keyboard/components/ScrollViewWithBottomPadding/styles.mjs +11 -0
- package/dist/esm/keyboard/components/ScrollViewWithBottomPadding/styles.mjs.map +1 -0
- package/dist/esm/keyboard/components/ScrollViewWithBottomPadding/styles.native.js +11 -0
- package/dist/esm/keyboard/components/ScrollViewWithBottomPadding/styles.native.js.map +1 -0
- package/dist/esm/keyboard/components/hooks/useCombinedRef.mjs +21 -0
- package/dist/esm/keyboard/components/hooks/useCombinedRef.mjs.map +1 -0
- package/dist/esm/keyboard/components/hooks/useCombinedRef.native.js +41 -0
- package/dist/esm/keyboard/components/hooks/useCombinedRef.native.js.map +1 -0
- package/dist/esm/keyboard/components/hooks/useScrollState.mjs +59 -0
- package/dist/esm/keyboard/components/hooks/useScrollState.mjs.map +1 -0
- package/dist/esm/keyboard/components/hooks/useScrollState.native.js +60 -0
- package/dist/esm/keyboard/components/hooks/useScrollState.native.js.map +1 -0
- package/dist/esm/keyboard/components/index.mjs +8 -0
- package/dist/esm/keyboard/components/index.native.js +8 -0
- package/dist/esm/keyboard/components/utils/safeScrollTo.mjs +14 -0
- package/dist/esm/keyboard/components/utils/safeScrollTo.mjs.map +1 -0
- package/dist/esm/keyboard/components/utils/safeScrollTo.native.js +14 -0
- package/dist/esm/keyboard/components/utils/safeScrollTo.native.js.map +1 -0
- package/dist/esm/keyboard/constants.mjs +25 -0
- package/dist/esm/keyboard/constants.mjs.map +1 -0
- package/dist/esm/keyboard/constants.native.js +25 -0
- package/dist/esm/keyboard/constants.native.js.map +1 -0
- package/dist/esm/keyboard/context.mjs +43 -0
- package/dist/esm/keyboard/context.mjs.map +1 -0
- package/dist/esm/keyboard/context.native.js +49 -0
- package/dist/esm/keyboard/context.native.js.map +1 -0
- package/dist/esm/keyboard/hooks/index.mjs +94 -0
- package/dist/esm/keyboard/hooks/index.mjs.map +1 -0
- package/dist/esm/keyboard/hooks/index.native.js +106 -0
- package/dist/esm/keyboard/hooks/index.native.js.map +1 -0
- package/dist/esm/keyboard/hooks/useKeyboardState/index.mjs +25 -0
- package/dist/esm/keyboard/hooks/useKeyboardState/index.mjs.map +1 -0
- package/dist/esm/keyboard/hooks/useKeyboardState/index.native.js +38 -0
- package/dist/esm/keyboard/hooks/useKeyboardState/index.native.js.map +1 -0
- package/dist/esm/keyboard/hooks/useWindowDimensions/index.mjs +29 -0
- package/dist/esm/keyboard/hooks/useWindowDimensions/index.mjs.map +1 -0
- package/dist/esm/keyboard/hooks/useWindowDimensions/index.native.js +29 -0
- package/dist/esm/keyboard/hooks/useWindowDimensions/index.native.js.map +1 -0
- package/dist/esm/keyboard/index.mjs +20 -0
- package/dist/esm/keyboard/index.native.js +20 -0
- package/dist/esm/keyboard/internal.mjs +55 -0
- package/dist/esm/keyboard/internal.mjs.map +1 -0
- package/dist/esm/keyboard/internal.native.js +55 -0
- package/dist/esm/keyboard/internal.native.js.map +1 -0
- package/dist/esm/keyboard/module.mjs +53 -0
- package/dist/esm/keyboard/module.mjs.map +1 -0
- package/dist/esm/keyboard/module.native.js +58 -0
- package/dist/esm/keyboard/module.native.js.map +1 -0
- package/dist/esm/keyboard/reanimated.mjs +9 -0
- package/dist/esm/keyboard/reanimated.mjs.map +1 -0
- package/dist/esm/keyboard/reanimated.native.js +55 -0
- package/dist/esm/keyboard/reanimated.native.js.map +1 -0
- package/dist/esm/keyboard/typings/hooks.mjs +0 -0
- package/dist/esm/keyboard/typings/hooks.native.js +0 -0
- package/dist/esm/keyboard/typings/index.mjs +9 -0
- package/dist/esm/keyboard/typings/index.native.js +9 -0
- package/dist/esm/keyboard/typings/internal.mjs +0 -0
- package/dist/esm/keyboard/typings/internal.native.js +0 -0
- package/dist/esm/keyboard/typings/module.mjs +0 -0
- package/dist/esm/keyboard/typings/module.native.js +0 -0
- package/dist/esm/keyboard/typings/provider.mjs +0 -0
- package/dist/esm/keyboard/typings/provider.native.js +0 -0
- package/dist/esm/keyboard/typings/views.mjs +0 -0
- package/dist/esm/keyboard/typings/views.native.js +0 -0
- package/dist/esm/keyboard/utils/findNodeHandle/index.mjs +5 -0
- package/dist/esm/keyboard/utils/findNodeHandle/index.mjs.map +1 -0
- package/dist/esm/keyboard/utils/findNodeHandle/index.native.js +3 -0
- package/dist/esm/keyboard/views/KeyboardExtender/index.ios.js +23 -0
- package/dist/esm/keyboard/views/KeyboardExtender/index.ios.js.map +1 -0
- package/dist/esm/keyboard/views/KeyboardExtender/index.mjs +29 -0
- package/dist/esm/keyboard/views/KeyboardExtender/index.mjs.map +1 -0
- package/dist/esm/keyboard/views/KeyboardExtender/index.native.js +30 -0
- package/dist/esm/keyboard/views/KeyboardExtender/index.native.js.map +1 -0
- package/dist/esm/keyboard/views/OverKeyboardView/index.mjs +41 -0
- package/dist/esm/keyboard/views/OverKeyboardView/index.mjs.map +1 -0
- package/dist/esm/keyboard/views/OverKeyboardView/index.native.js +45 -0
- package/dist/esm/keyboard/views/OverKeyboardView/index.native.js.map +1 -0
- package/dist/esm/keyboard/views/index.mjs +4 -0
- package/dist/esm/keyboard/views/index.native.js +4 -0
- package/dist/esm/keyboard.mjs +1 -0
- package/dist/esm/keyboard.native.js +1 -0
- package/dist/esm/platform/specs/OneClippingScrollViewDecoratorViewNativeComponent.mjs +16 -0
- package/dist/esm/platform/specs/OneClippingScrollViewDecoratorViewNativeComponent.mjs.map +7 -0
- package/dist/esm/platform/specs/OneClippingScrollViewDecoratorViewNativeComponent.native.js +16 -0
- package/dist/esm/platform/specs/OneClippingScrollViewDecoratorViewNativeComponent.native.js.map +7 -0
- package/dist/esm/platform/specs/OneKeyboard.nitro.mjs +0 -0
- package/dist/esm/platform/specs/OneKeyboard.nitro.native.js +0 -0
- package/dist/esm/platform/specs/OneKeyboardBackgroundViewNativeComponent.mjs +12 -0
- package/dist/esm/platform/specs/OneKeyboardBackgroundViewNativeComponent.mjs.map +7 -0
- package/dist/esm/platform/specs/OneKeyboardBackgroundViewNativeComponent.native.js +12 -0
- package/dist/esm/platform/specs/OneKeyboardBackgroundViewNativeComponent.native.js.map +7 -0
- package/dist/esm/platform/specs/OneKeyboardControllerViewNativeComponent.mjs +61 -0
- package/dist/esm/platform/specs/OneKeyboardControllerViewNativeComponent.mjs.map +7 -0
- package/dist/esm/platform/specs/OneKeyboardControllerViewNativeComponent.native.js +61 -0
- package/dist/esm/platform/specs/OneKeyboardControllerViewNativeComponent.native.js.map +7 -0
- package/dist/esm/platform/specs/OneKeyboardExtenderNativeComponent.mjs +15 -0
- package/dist/esm/platform/specs/OneKeyboardExtenderNativeComponent.mjs.map +7 -0
- package/dist/esm/platform/specs/OneKeyboardExtenderNativeComponent.native.js +15 -0
- package/dist/esm/platform/specs/OneKeyboardExtenderNativeComponent.native.js.map +7 -0
- package/dist/esm/platform/specs/OneKeyboardGestureAreaNativeComponent.mjs +18 -0
- package/dist/esm/platform/specs/OneKeyboardGestureAreaNativeComponent.mjs.map +7 -0
- package/dist/esm/platform/specs/OneKeyboardGestureAreaNativeComponent.native.js +18 -0
- package/dist/esm/platform/specs/OneKeyboardGestureAreaNativeComponent.native.js.map +7 -0
- package/dist/esm/platform/specs/OneKeyboardToolbarGroupViewNativeComponent.mjs +12 -0
- package/dist/esm/platform/specs/OneKeyboardToolbarGroupViewNativeComponent.mjs.map +7 -0
- package/dist/esm/platform/specs/OneKeyboardToolbarGroupViewNativeComponent.native.js +12 -0
- package/dist/esm/platform/specs/OneKeyboardToolbarGroupViewNativeComponent.native.js.map +7 -0
- package/dist/esm/platform/specs/OneOverKeyboardViewNativeComponent.mjs +14 -0
- package/dist/esm/platform/specs/OneOverKeyboardViewNativeComponent.mjs.map +7 -0
- package/dist/esm/platform/specs/OneOverKeyboardViewNativeComponent.native.js +14 -0
- package/dist/esm/platform/specs/OneOverKeyboardViewNativeComponent.native.js.map +7 -0
- package/ios/Keyboard/KeyboardBackdropController.swift +57 -0
- package/ios/Keyboard/KeyboardControllerModuleImpl.swift +75 -0
- package/ios/Keyboard/LICENSE +21 -0
- package/ios/Keyboard/OneKeyboardBridge.swift +51 -0
- package/ios/Keyboard/animations/KeyboardAnimation.swift +80 -0
- package/ios/Keyboard/animations/SpringAnimation.swift +75 -0
- package/ios/Keyboard/animations/TimingAnimation.swift +145 -0
- package/ios/Keyboard/core/KeyboardControllerConfiguration.swift +9 -0
- package/ios/Keyboard/core/UIUtils.swift +6 -0
- package/ios/Keyboard/delegates/KCTextInputCompositeDelegate.swift +263 -0
- package/ios/Keyboard/events/KeyboardEventEmitterPayload.swift +16 -0
- package/ios/Keyboard/events/OneKCFocusedInputLayoutChangedEvent.h +8 -0
- package/ios/Keyboard/events/OneKCFocusedInputLayoutChangedEvent.m +70 -0
- package/ios/Keyboard/events/OneKCFocusedInputSelectionChangedEvent.h +8 -0
- package/ios/Keyboard/events/OneKCFocusedInputSelectionChangedEvent.m +69 -0
- package/ios/Keyboard/events/OneKCFocusedInputTextChangedEvent.h +8 -0
- package/ios/Keyboard/events/OneKCFocusedInputTextChangedEvent.m +64 -0
- package/ios/Keyboard/events/OneKCKeyboardMoveEvent.h +13 -0
- package/ios/Keyboard/events/OneKCKeyboardMoveEvent.m +75 -0
- package/ios/Keyboard/extensions/CGFloat.swift +13 -0
- package/ios/Keyboard/extensions/Date.swift +7 -0
- package/ios/Keyboard/extensions/NSObject.swift +5 -0
- package/ios/Keyboard/extensions/Notification.swift +15 -0
- package/ios/Keyboard/extensions/String.swift +5 -0
- package/ios/Keyboard/extensions/UIApplication.swift +38 -0
- package/ios/Keyboard/extensions/UIKeyboardType.swift +23 -0
- package/ios/Keyboard/extensions/UIResponder.swift +94 -0
- package/ios/Keyboard/extensions/UIScrollView.swift +8 -0
- package/ios/Keyboard/extensions/UIView.swift +83 -0
- package/ios/Keyboard/extensions/UIWindow.swift +56 -0
- package/ios/Keyboard/interactive/InvisibleInputAccessoryView.swift +52 -0
- package/ios/Keyboard/interactive/KeyboardAreaExtender.swift +68 -0
- package/ios/Keyboard/interactive/KeyboardOffsetProvider.swift +32 -0
- package/ios/Keyboard/objc/NSObject+SafeKVC.h +5 -0
- package/ios/Keyboard/objc/NSObject+SafeKVC.m +12 -0
- package/ios/Keyboard/objc/TextInput+DelegateManager.h +13 -0
- package/ios/Keyboard/objc/TextInput+DelegateManager.m +48 -0
- package/ios/Keyboard/observers/FocusedInputObserver.swift +334 -0
- package/ios/Keyboard/observers/movement/KeyboardEventsIgnorer.swift +32 -0
- package/ios/Keyboard/observers/movement/KeyboardTrackingView.swift +163 -0
- package/ios/Keyboard/observers/movement/KeyboardViewLocator.swift +16 -0
- package/ios/Keyboard/observers/movement/observer/KeyboardMovementObserver+Animation.swift +14 -0
- package/ios/Keyboard/observers/movement/observer/KeyboardMovementObserver+Interactive.swift +55 -0
- package/ios/Keyboard/observers/movement/observer/KeyboardMovementObserver+Lifecycle.swift +28 -0
- package/ios/Keyboard/observers/movement/observer/KeyboardMovementObserver+Listeners.swift +116 -0
- package/ios/Keyboard/observers/movement/observer/KeyboardMovementObserver+Watcher.swift +69 -0
- package/ios/Keyboard/observers/movement/observer/KeyboardMovementObserver.swift +57 -0
- package/ios/Keyboard/protocols/TextInput.swift +50 -0
- package/ios/Keyboard/swizzling/UIResponderSwizzle.swift +144 -0
- package/ios/Keyboard/traversal/FocusedInputHolder.swift +24 -0
- package/ios/Keyboard/traversal/KeyboardView.swift +28 -0
- package/ios/Keyboard/traversal/ViewHierarchyNavigator.swift +157 -0
- package/ios/Keyboard/views/KeyboardExtenderContainerView.swift +207 -0
- package/ios/Keyboard/views/OneClippingScrollViewDecoratorViewComponentView.h +8 -0
- package/ios/Keyboard/views/OneClippingScrollViewDecoratorViewComponentView.mm +230 -0
- package/ios/Keyboard/views/OneKeyboardBackgroundViewComponentView.h +8 -0
- package/ios/Keyboard/views/OneKeyboardBackgroundViewComponentView.mm +123 -0
- package/ios/Keyboard/views/OneKeyboardControllerViewComponentView.h +13 -0
- package/ios/Keyboard/views/OneKeyboardControllerViewComponentView.mm +299 -0
- package/ios/Keyboard/views/OneKeyboardExtenderComponentView.h +16 -0
- package/ios/Keyboard/views/OneKeyboardExtenderComponentView.mm +275 -0
- package/ios/Keyboard/views/OneKeyboardGestureAreaComponentView.h +10 -0
- package/ios/Keyboard/views/OneKeyboardGestureAreaComponentView.mm +111 -0
- package/ios/Keyboard/views/OneKeyboardToolbarGroupViewComponentView.h +7 -0
- package/ios/Keyboard/views/OneKeyboardToolbarGroupViewComponentView.mm +47 -0
- package/ios/Keyboard/views/OneOverKeyboardViewComponentView.h +15 -0
- package/ios/Keyboard/views/OneOverKeyboardViewComponentView.mm +155 -0
- package/ios/Nitro/HybridOneKeyboard.swift +140 -0
- package/ios/Nitro/OneLaunchScreen.h +2 -0
- package/ios/Nitro/OneLaunchScreen.m +16 -0
- package/nitrogen/generated/android/One+autolinking.cmake +2 -0
- package/nitrogen/generated/android/OneOnLoad.cpp +24 -2
- package/nitrogen/generated/android/c++/JFunc_void_OneKeyboardEventName_OneKeyboardEvent.hpp +80 -0
- package/nitrogen/generated/android/c++/JFunc_void_OneKeyboardFocus.hpp +77 -0
- package/nitrogen/generated/android/c++/JFunc_void_double_double.hpp +75 -0
- package/nitrogen/generated/android/c++/JHybridOneKeyboardSpec.cpp +181 -0
- package/nitrogen/generated/android/c++/JHybridOneKeyboardSpec.hpp +74 -0
- package/nitrogen/generated/android/c++/JOneKeyboardEvent.hpp +77 -0
- package/nitrogen/generated/android/c++/JOneKeyboardEventName.hpp +64 -0
- package/nitrogen/generated/android/c++/JOneKeyboardFocus.hpp +61 -0
- package/nitrogen/generated/android/c++/JOneKeyboardFrame.hpp +69 -0
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/one/Func_void_OneKeyboardEventName_OneKeyboardEvent.kt +78 -0
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/one/Func_void_OneKeyboardFocus.kt +78 -0
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/one/Func_void_double_double.kt +78 -0
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/one/HybridOneKeyboardSpec.kt +128 -0
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/one/OneKeyboardEvent.kt +76 -0
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/one/OneKeyboardEventName.kt +25 -0
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/one/OneKeyboardFocus.kt +56 -0
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/one/OneKeyboardFrame.kt +66 -0
- package/nitrogen/generated/ios/One-Swift-Cxx-Bridge.cpp +197 -148
- package/nitrogen/generated/ios/One-Swift-Cxx-Bridge.hpp +590 -452
- package/nitrogen/generated/ios/One-Swift-Cxx-Umbrella.hpp +17 -0
- package/nitrogen/generated/ios/OneAutolinking.mm +8 -0
- package/nitrogen/generated/ios/OneAutolinking.swift +12 -0
- package/nitrogen/generated/ios/c++/HybridOneKeyboardSpecSwift.cpp +11 -0
- package/nitrogen/generated/ios/c++/HybridOneKeyboardSpecSwift.hpp +173 -0
- package/nitrogen/generated/ios/swift/Func_void_OneKeyboardEventName_OneKeyboardEvent.swift +46 -0
- package/nitrogen/generated/ios/swift/Func_void_OneKeyboardFocus.swift +46 -0
- package/nitrogen/generated/ios/swift/Func_void_OneKeyboardFrame.swift +46 -0
- package/nitrogen/generated/ios/swift/Func_void_double_double.swift +46 -0
- package/nitrogen/generated/ios/swift/HybridOneKeyboardSpec.swift +66 -0
- package/nitrogen/generated/ios/swift/HybridOneKeyboardSpec_cxx.swift +316 -0
- package/nitrogen/generated/ios/swift/OneKeyboardEvent.swift +54 -0
- package/nitrogen/generated/ios/swift/OneKeyboardEventName.swift +48 -0
- package/nitrogen/generated/ios/swift/OneKeyboardFocus.swift +34 -0
- package/nitrogen/generated/ios/swift/OneKeyboardFrame.swift +44 -0
- package/nitrogen/generated/shared/c++/HybridOneKeyboardSpec.cpp +33 -0
- package/nitrogen/generated/shared/c++/HybridOneKeyboardSpec.hpp +86 -0
- package/nitrogen/generated/shared/c++/OneKeyboardEvent.hpp +103 -0
- package/nitrogen/generated/shared/c++/OneKeyboardEventName.hpp +84 -0
- package/nitrogen/generated/shared/c++/OneKeyboardFocus.hpp +87 -0
- package/nitrogen/generated/shared/c++/OneKeyboardFrame.hpp +95 -0
- package/package.json +27 -13
- package/react-native.config.cjs +6 -0
- package/src/keyboard/LICENSE +21 -0
- package/src/keyboard/animated.tsx +235 -0
- package/src/keyboard/architecture.ts +1 -0
- package/src/keyboard/bindings.native.ts +113 -0
- package/src/keyboard/bindings.ts +100 -0
- package/src/keyboard/compat.ts +61 -0
- package/src/keyboard/components/KeyboardAvoidingView/hooks.ts +152 -0
- package/src/keyboard/components/KeyboardAvoidingView/index.tsx +260 -0
- package/src/keyboard/components/KeyboardAwareScrollView/index.tsx +607 -0
- package/src/keyboard/components/KeyboardAwareScrollView/types.ts +30 -0
- package/src/keyboard/components/KeyboardAwareScrollView/useSmoothKeyboardHandler.ts +151 -0
- package/src/keyboard/components/KeyboardAwareScrollView/utils.ts +42 -0
- package/src/keyboard/components/KeyboardChatScrollView/hooks.ts +2 -0
- package/src/keyboard/components/KeyboardChatScrollView/index.tsx +182 -0
- package/src/keyboard/components/KeyboardChatScrollView/types.ts +120 -0
- package/src/keyboard/components/KeyboardChatScrollView/useChatKeyboard/helpers.ts +263 -0
- package/src/keyboard/components/KeyboardChatScrollView/useChatKeyboard/index.ios.ts +255 -0
- package/src/keyboard/components/KeyboardChatScrollView/useChatKeyboard/index.ts +356 -0
- package/src/keyboard/components/KeyboardChatScrollView/useChatKeyboard/types.ts +39 -0
- package/src/keyboard/components/KeyboardChatScrollView/useEndVisible.ts +59 -0
- package/src/keyboard/components/KeyboardChatScrollView/useExtraContentPadding/index.ts +188 -0
- package/src/keyboard/components/KeyboardChatScrollView/useFrozenPadding/index.ts +80 -0
- package/src/keyboard/components/KeyboardEffects/index.tsx +122 -0
- package/src/keyboard/components/KeyboardStickyView/index.tsx +75 -0
- package/src/keyboard/components/KeyboardToolbar/Arrow.tsx +76 -0
- package/src/keyboard/components/KeyboardToolbar/Button.tsx +89 -0
- package/src/keyboard/components/KeyboardToolbar/colors.native.ts +37 -0
- package/src/keyboard/components/KeyboardToolbar/colors.ts +16 -0
- package/src/keyboard/components/KeyboardToolbar/compound/components/Background.tsx +7 -0
- package/src/keyboard/components/KeyboardToolbar/compound/components/Content.tsx +23 -0
- package/src/keyboard/components/KeyboardToolbar/compound/components/Done.tsx +70 -0
- package/src/keyboard/components/KeyboardToolbar/compound/components/Next.tsx +53 -0
- package/src/keyboard/components/KeyboardToolbar/compound/components/Prev.tsx +54 -0
- package/src/keyboard/components/KeyboardToolbar/compound/components/index.ts +5 -0
- package/src/keyboard/components/KeyboardToolbar/compound/components/types.ts +15 -0
- package/src/keyboard/components/KeyboardToolbar/compound/context.ts +21 -0
- package/src/keyboard/components/KeyboardToolbar/constants.ts +13 -0
- package/src/keyboard/components/KeyboardToolbar/index.tsx +231 -0
- package/src/keyboard/components/KeyboardToolbar/types.ts +129 -0
- package/src/keyboard/components/ScrollViewWithBottomPadding/index.tsx +185 -0
- package/src/keyboard/components/ScrollViewWithBottomPadding/styles.ts +10 -0
- package/src/keyboard/components/hooks/useCombinedRef.ts +22 -0
- package/src/keyboard/components/hooks/useScrollState.ts +81 -0
- package/src/keyboard/components/index.ts +22 -0
- package/src/keyboard/components/utils/safeScrollTo.ts +26 -0
- package/src/keyboard/constants.ts +23 -0
- package/src/keyboard/context.ts +100 -0
- package/src/keyboard/hooks/index.ts +289 -0
- package/src/keyboard/hooks/useKeyboardState/index.ts +70 -0
- package/src/keyboard/hooks/useWindowDimensions/index.ts +38 -0
- package/src/keyboard/index.ts +31 -0
- package/src/keyboard/internal.ts +117 -0
- package/src/keyboard/module.ts +62 -0
- package/src/keyboard/reanimated.native.ts +104 -0
- package/src/keyboard/reanimated.ts +26 -0
- package/src/keyboard/typings/hooks.ts +214 -0
- package/src/keyboard/typings/index.ts +5 -0
- package/src/keyboard/typings/internal.ts +24 -0
- package/src/keyboard/typings/module.ts +136 -0
- package/src/keyboard/typings/provider.ts +43 -0
- package/src/keyboard/typings/views.ts +63 -0
- package/src/keyboard/utils/findNodeHandle/index.native.ts +3 -0
- package/src/keyboard/utils/findNodeHandle/index.ts +6 -0
- package/src/keyboard/views/KeyboardExtender/index.ios.tsx +35 -0
- package/src/keyboard/views/KeyboardExtender/index.tsx +47 -0
- package/src/keyboard/views/OverKeyboardView/index.tsx +61 -0
- package/src/keyboard/views/index.ts +2 -0
- package/src/keyboard.ts +1 -0
- package/src/platform/specs/OneClippingScrollViewDecoratorViewNativeComponent.ts +15 -0
- package/src/platform/specs/OneKeyboard.nitro.ts +49 -0
- package/src/platform/specs/OneKeyboardBackgroundViewNativeComponent.ts +10 -0
- package/src/platform/specs/OneKeyboardControllerViewNativeComponent.ts +84 -0
- package/src/platform/specs/OneKeyboardExtenderNativeComponent.ts +13 -0
- package/src/platform/specs/OneKeyboardGestureAreaNativeComponent.ts +17 -0
- package/src/platform/specs/OneKeyboardToolbarGroupViewNativeComponent.ts +10 -0
- package/src/platform/specs/OneOverKeyboardViewNativeComponent.ts +12 -0
- package/types/keyboard/animated.d.ts +18 -0
- package/types/keyboard/animated.d.ts.map +1 -0
- package/types/keyboard/architecture.d.ts +2 -0
- package/types/keyboard/architecture.d.ts.map +1 -0
- package/types/keyboard/bindings.d.ts +64 -0
- package/types/keyboard/bindings.d.ts.map +1 -0
- package/types/keyboard/bindings.native.d.ts +19 -0
- package/types/keyboard/bindings.native.d.ts.map +1 -0
- package/types/keyboard/compat.d.ts +28 -0
- package/types/keyboard/compat.d.ts.map +1 -0
- package/types/keyboard/components/KeyboardAvoidingView/hooks.d.ts +11 -0
- package/types/keyboard/components/KeyboardAvoidingView/hooks.d.ts.map +1 -0
- package/types/keyboard/components/KeyboardAvoidingView/index.d.ts +81 -0
- package/types/keyboard/components/KeyboardAvoidingView/index.d.ts.map +1 -0
- package/types/keyboard/components/KeyboardAwareScrollView/index.d.ts +31 -0
- package/types/keyboard/components/KeyboardAwareScrollView/index.d.ts.map +1 -0
- package/types/keyboard/components/KeyboardAwareScrollView/types.d.ts +29 -0
- package/types/keyboard/components/KeyboardAwareScrollView/types.d.ts.map +1 -0
- package/types/keyboard/components/KeyboardAwareScrollView/useSmoothKeyboardHandler.d.ts +23 -0
- package/types/keyboard/components/KeyboardAwareScrollView/useSmoothKeyboardHandler.d.ts.map +1 -0
- package/types/keyboard/components/KeyboardAwareScrollView/utils.d.ts +3 -0
- package/types/keyboard/components/KeyboardAwareScrollView/utils.d.ts.map +1 -0
- package/types/keyboard/components/KeyboardChatScrollView/hooks.d.ts +3 -0
- package/types/keyboard/components/KeyboardChatScrollView/hooks.d.ts.map +1 -0
- package/types/keyboard/components/KeyboardChatScrollView/index.d.ts +5 -0
- package/types/keyboard/components/KeyboardChatScrollView/index.d.ts.map +1 -0
- package/types/keyboard/components/KeyboardChatScrollView/types.d.ts +116 -0
- package/types/keyboard/components/KeyboardChatScrollView/types.d.ts.map +1 -0
- package/types/keyboard/components/KeyboardChatScrollView/useChatKeyboard/helpers.d.ts +134 -0
- package/types/keyboard/components/KeyboardChatScrollView/useChatKeyboard/helpers.d.ts.map +1 -0
- package/types/keyboard/components/KeyboardChatScrollView/useChatKeyboard/index.d.ts +19 -0
- package/types/keyboard/components/KeyboardChatScrollView/useChatKeyboard/index.d.ts.map +1 -0
- package/types/keyboard/components/KeyboardChatScrollView/useChatKeyboard/index.ios.d.ts +22 -0
- package/types/keyboard/components/KeyboardChatScrollView/useChatKeyboard/index.ios.d.ts.map +1 -0
- package/types/keyboard/components/KeyboardChatScrollView/useChatKeyboard/types.d.ts +42 -0
- package/types/keyboard/components/KeyboardChatScrollView/useChatKeyboard/types.d.ts.map +1 -0
- package/types/keyboard/components/KeyboardChatScrollView/useEndVisible.d.ts +18 -0
- package/types/keyboard/components/KeyboardChatScrollView/useEndVisible.d.ts.map +1 -0
- package/types/keyboard/components/KeyboardChatScrollView/useExtraContentPadding/index.d.ts +48 -0
- package/types/keyboard/components/KeyboardChatScrollView/useExtraContentPadding/index.d.ts.map +1 -0
- package/types/keyboard/components/KeyboardChatScrollView/useFrozenPadding/index.d.ts +31 -0
- package/types/keyboard/components/KeyboardChatScrollView/useFrozenPadding/index.d.ts.map +1 -0
- package/types/keyboard/components/KeyboardEffects/index.d.ts +61 -0
- package/types/keyboard/components/KeyboardEffects/index.d.ts.map +1 -0
- package/types/keyboard/components/KeyboardStickyView/index.d.ts +53 -0
- package/types/keyboard/components/KeyboardStickyView/index.d.ts.map +1 -0
- package/types/keyboard/components/KeyboardToolbar/Arrow.d.ts +10 -0
- package/types/keyboard/components/KeyboardToolbar/Arrow.d.ts.map +1 -0
- package/types/keyboard/components/KeyboardToolbar/Button.d.ts +18 -0
- package/types/keyboard/components/KeyboardToolbar/Button.d.ts.map +1 -0
- package/types/keyboard/components/KeyboardToolbar/colors.d.ts +3 -0
- package/types/keyboard/components/KeyboardToolbar/colors.d.ts.map +1 -0
- package/types/keyboard/components/KeyboardToolbar/colors.native.d.ts +3 -0
- package/types/keyboard/components/KeyboardToolbar/colors.native.d.ts.map +1 -0
- package/types/keyboard/components/KeyboardToolbar/compound/components/Background.d.ts +7 -0
- package/types/keyboard/components/KeyboardToolbar/compound/components/Background.d.ts.map +1 -0
- package/types/keyboard/components/KeyboardToolbar/compound/components/Content.d.ts +8 -0
- package/types/keyboard/components/KeyboardToolbar/compound/components/Content.d.ts.map +1 -0
- package/types/keyboard/components/KeyboardToolbar/compound/components/Done.d.ts +8 -0
- package/types/keyboard/components/KeyboardToolbar/compound/components/Done.d.ts.map +1 -0
- package/types/keyboard/components/KeyboardToolbar/compound/components/Next.d.ts +5 -0
- package/types/keyboard/components/KeyboardToolbar/compound/components/Next.d.ts.map +1 -0
- package/types/keyboard/components/KeyboardToolbar/compound/components/Prev.d.ts +5 -0
- package/types/keyboard/components/KeyboardToolbar/compound/components/Prev.d.ts.map +1 -0
- package/types/keyboard/components/KeyboardToolbar/compound/components/index.d.ts +6 -0
- package/types/keyboard/components/KeyboardToolbar/compound/components/index.d.ts.map +1 -0
- package/types/keyboard/components/KeyboardToolbar/compound/components/types.d.ts +15 -0
- package/types/keyboard/components/KeyboardToolbar/compound/components/types.d.ts.map +1 -0
- package/types/keyboard/components/KeyboardToolbar/compound/context.d.ts +10 -0
- package/types/keyboard/components/KeyboardToolbar/compound/context.d.ts.map +1 -0
- package/types/keyboard/components/KeyboardToolbar/constants.d.ts +10 -0
- package/types/keyboard/components/KeyboardToolbar/constants.d.ts.map +1 -0
- package/types/keyboard/components/KeyboardToolbar/index.d.ts +30 -0
- package/types/keyboard/components/KeyboardToolbar/index.d.ts.map +1 -0
- package/types/keyboard/components/KeyboardToolbar/types.d.ts +106 -0
- package/types/keyboard/components/KeyboardToolbar/types.d.ts.map +1 -0
- package/types/keyboard/components/ScrollViewWithBottomPadding/index.d.ts +31 -0
- package/types/keyboard/components/ScrollViewWithBottomPadding/index.d.ts.map +1 -0
- package/types/keyboard/components/ScrollViewWithBottomPadding/styles.d.ts +8 -0
- package/types/keyboard/components/ScrollViewWithBottomPadding/styles.d.ts.map +1 -0
- package/types/keyboard/components/hooks/useCombinedRef.d.ts +4 -0
- package/types/keyboard/components/hooks/useCombinedRef.d.ts.map +1 -0
- package/types/keyboard/components/hooks/useScrollState.d.ts +18 -0
- package/types/keyboard/components/hooks/useScrollState.d.ts.map +1 -0
- package/types/keyboard/components/index.d.ts +13 -0
- package/types/keyboard/components/index.d.ts.map +1 -0
- package/types/keyboard/components/utils/safeScrollTo.d.ts +13 -0
- package/types/keyboard/components/utils/safeScrollTo.d.ts.map +1 -0
- package/types/keyboard/constants.d.ts +19 -0
- package/types/keyboard/constants.d.ts.map +1 -0
- package/types/keyboard/context.d.ts +58 -0
- package/types/keyboard/context.d.ts.map +1 -0
- package/types/keyboard/hooks/index.d.ts +176 -0
- package/types/keyboard/hooks/index.d.ts.map +1 -0
- package/types/keyboard/hooks/useKeyboardState/index.d.ts +29 -0
- package/types/keyboard/hooks/useKeyboardState/index.d.ts.map +1 -0
- package/types/keyboard/hooks/useWindowDimensions/index.d.ts +3 -0
- package/types/keyboard/hooks/useWindowDimensions/index.d.ts.map +1 -0
- package/types/keyboard/index.d.ts +12 -0
- package/types/keyboard/index.d.ts.map +1 -0
- package/types/keyboard/internal.d.ts +37 -0
- package/types/keyboard/internal.d.ts.map +1 -0
- package/types/keyboard/module.d.ts +6 -0
- package/types/keyboard/module.d.ts.map +1 -0
- package/types/keyboard/reanimated.d.ts +5 -0
- package/types/keyboard/reanimated.d.ts.map +1 -0
- package/types/keyboard/reanimated.native.d.ts +12 -0
- package/types/keyboard/reanimated.native.d.ts.map +1 -0
- package/types/keyboard/typings/hooks.d.ts +168 -0
- package/types/keyboard/typings/hooks.d.ts.map +1 -0
- package/types/keyboard/typings/index.d.ts +6 -0
- package/types/keyboard/typings/index.d.ts.map +1 -0
- package/types/keyboard/typings/internal.d.ts +18 -0
- package/types/keyboard/typings/internal.d.ts.map +1 -0
- package/types/keyboard/typings/module.d.ts +122 -0
- package/types/keyboard/typings/module.d.ts.map +1 -0
- package/types/keyboard/typings/provider.d.ts +44 -0
- package/types/keyboard/typings/provider.d.ts.map +1 -0
- package/types/keyboard/typings/views.d.ts +61 -0
- package/types/keyboard/typings/views.d.ts.map +1 -0
- package/types/keyboard/utils/findNodeHandle/index.d.ts +5 -0
- package/types/keyboard/utils/findNodeHandle/index.d.ts.map +1 -0
- package/types/keyboard/utils/findNodeHandle/index.native.d.ts +3 -0
- package/types/keyboard/utils/findNodeHandle/index.native.d.ts.map +1 -0
- package/types/keyboard/views/KeyboardExtender/index.d.ts +20 -0
- package/types/keyboard/views/KeyboardExtender/index.d.ts.map +1 -0
- package/types/keyboard/views/KeyboardExtender/index.ios.d.ts +20 -0
- package/types/keyboard/views/KeyboardExtender/index.ios.d.ts.map +1 -0
- package/types/keyboard/views/OverKeyboardView/index.d.ts +19 -0
- package/types/keyboard/views/OverKeyboardView/index.d.ts.map +1 -0
- package/types/keyboard/views/index.d.ts +3 -0
- package/types/keyboard/views/index.d.ts.map +1 -0
- package/types/keyboard.d.ts +2 -0
- package/types/keyboard.d.ts.map +1 -0
- package/types/platform/specs/OneClippingScrollViewDecoratorViewNativeComponent.d.ts +11 -0
- package/types/platform/specs/OneClippingScrollViewDecoratorViewNativeComponent.d.ts.map +1 -0
- package/types/platform/specs/OneKeyboard.nitro.d.ts +39 -0
- package/types/platform/specs/OneKeyboard.nitro.d.ts.map +1 -0
- package/types/platform/specs/OneKeyboardBackgroundViewNativeComponent.d.ts +7 -0
- package/types/platform/specs/OneKeyboardBackgroundViewNativeComponent.d.ts.map +1 -0
- package/types/platform/specs/OneKeyboardControllerViewNativeComponent.d.ts +61 -0
- package/types/platform/specs/OneKeyboardControllerViewNativeComponent.d.ts.map +1 -0
- package/types/platform/specs/OneKeyboardExtenderNativeComponent.d.ts +9 -0
- package/types/platform/specs/OneKeyboardExtenderNativeComponent.d.ts.map +1 -0
- package/types/platform/specs/OneKeyboardGestureAreaNativeComponent.d.ts +13 -0
- package/types/platform/specs/OneKeyboardGestureAreaNativeComponent.d.ts.map +1 -0
- package/types/platform/specs/OneKeyboardToolbarGroupViewNativeComponent.d.ts +7 -0
- package/types/platform/specs/OneKeyboardToolbarGroupViewNativeComponent.d.ts.map +1 -0
- package/types/platform/specs/OneOverKeyboardViewNativeComponent.d.ts +8 -0
- package/types/platform/specs/OneOverKeyboardViewNativeComponent.d.ts.map +1 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"internal.native.js","names":[],"sources":["esm/keyboard/internal.native.js"],"sourcesContent":["import { useRef } from \"react\";\nimport { Animated } from \"react-native\";\nimport { findNodeHandle } from \"./utils/findNodeHandle\";\nfunction useEventHandlerRegistration(viewTagRef) {\n var onRegisterHandler = function onRegisterHandler2(handler) {\n var currentHandler = handler;\n var registeredViewTag = null;\n var isRegistrationCancelled = false;\n var attachWorkletHandlers = function attachWorkletHandlers2() {\n if (isRegistrationCancelled) {\n return;\n }\n var viewTag = findNodeHandle(viewTagRef.current);\n if (__DEV__ && !viewTag) {\n console.warn(\"Can not attach worklet handlers for `one/keyboard` because view tag can not be resolved. Be sure that `KeyboardProvider` is fully mounted before registering handlers. If you think it is a bug in library, please open an issue.\");\n }\n if (viewTag) {\n if (\"workletEventHandler\" in currentHandler) {\n currentHandler.workletEventHandler.registerForEvents(viewTag);\n } else {\n currentHandler.current.registerForEvents(viewTag);\n }\n registeredViewTag = viewTag;\n }\n };\n if (viewTagRef.current) {\n attachWorkletHandlers();\n } else {\n queueMicrotask(attachWorkletHandlers);\n }\n return function() {\n isRegistrationCancelled = true;\n if (registeredViewTag) {\n if (\"workletEventHandler\" in currentHandler) {\n currentHandler.workletEventHandler.unregisterFromEvents(registeredViewTag);\n } else {\n currentHandler.current.unregisterFromEvents(registeredViewTag);\n }\n }\n };\n };\n return onRegisterHandler;\n}\nfunction useAnimatedValue(initialValue, config) {\n var ref = useRef(null);\n if (ref.current === null) {\n ref.current = new Animated.Value(initialValue, config);\n }\n return ref.current;\n}\nexport {\n useAnimatedValue,\n useEventHandlerRegistration\n};\n//# sourceMappingURL=internal.js.map\n"],"mappings":";;;;;AAGA,SAAS,4BAA4B,YAAY;CAC/C,IAAI,oBAAoB,SAAS,mBAAmB,SAAS;EAC3D,IAAI,iBAAiB;EACrB,IAAI,oBAAoB;EACxB,IAAI,0BAA0B;EAC9B,IAAI,wBAAwB,SAAS,yBAAyB;GAC5D,IAAI,yBAAyB;IAC3B;GACF;GACA,IAAI,UAAU,eAAe,WAAW,OAAO;GAC/C,IAAI,WAAW,CAAC,SAAS;IACvB,QAAQ,KAAK,mOAAmO;GAClP;GACA,IAAI,SAAS;IACX,IAAI,yBAAyB,gBAAgB;KAC3C,eAAe,oBAAoB,kBAAkB,OAAO;IAC9D,OAAO;KACL,eAAe,QAAQ,kBAAkB,OAAO;IAClD;IACA,oBAAoB;GACtB;EACF;EACA,IAAI,WAAW,SAAS;GACtB,sBAAsB;EACxB,OAAO;GACL,eAAe,qBAAqB;EACtC;EACA,OAAO,WAAW;GAChB,0BAA0B;GAC1B,IAAI,mBAAmB;IACrB,IAAI,yBAAyB,gBAAgB;KAC3C,eAAe,oBAAoB,qBAAqB,iBAAiB;IAC3E,OAAO;KACL,eAAe,QAAQ,qBAAqB,iBAAiB;IAC/D;GACF;EACF;CACF;CACA,OAAO;AACT;AACA,SAAS,iBAAiB,cAAc,QAAQ;CAC9C,IAAI,MAAM,OAAO,IAAI;CACrB,IAAI,IAAI,YAAY,MAAM;EACxB,IAAI,UAAU,IAAI,SAAS,MAAM,cAAc,MAAM;CACvD;CACA,OAAO,IAAI;AACb"}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import { KeyboardControllerNative, KeyboardEvents } from "./bindings.mjs";
|
|
2
|
+
|
|
3
|
+
// dist/esm/keyboard/module.js
|
|
4
|
+
let isClosed = true;
|
|
5
|
+
let lastState = {
|
|
6
|
+
height: 0,
|
|
7
|
+
duration: 0,
|
|
8
|
+
timestamp: (/* @__PURE__ */ new Date()).getTime(),
|
|
9
|
+
target: -1,
|
|
10
|
+
type: "default",
|
|
11
|
+
appearance: "light"
|
|
12
|
+
};
|
|
13
|
+
KeyboardEvents.addListener("keyboardDidHide", (e) => {
|
|
14
|
+
isClosed = true;
|
|
15
|
+
lastState = e;
|
|
16
|
+
});
|
|
17
|
+
KeyboardEvents.addListener("keyboardWillShow", (e) => {
|
|
18
|
+
isClosed = false;
|
|
19
|
+
lastState = e;
|
|
20
|
+
});
|
|
21
|
+
const dismiss = async (options) => {
|
|
22
|
+
const keepFocus = options?.keepFocus ?? false;
|
|
23
|
+
const animated = options?.animated ?? true;
|
|
24
|
+
return new Promise((resolve) => {
|
|
25
|
+
if (isClosed) {
|
|
26
|
+
if (!keepFocus) {
|
|
27
|
+
KeyboardControllerNative.dismiss(keepFocus, animated);
|
|
28
|
+
}
|
|
29
|
+
resolve();
|
|
30
|
+
return;
|
|
31
|
+
}
|
|
32
|
+
const subscription = KeyboardEvents.addListener("keyboardDidHide", () => {
|
|
33
|
+
resolve(void 0);
|
|
34
|
+
subscription.remove();
|
|
35
|
+
});
|
|
36
|
+
KeyboardControllerNative.dismiss(keepFocus, animated);
|
|
37
|
+
});
|
|
38
|
+
};
|
|
39
|
+
const isVisible = () => !isClosed;
|
|
40
|
+
const state = () => lastState;
|
|
41
|
+
const KeyboardController = {
|
|
42
|
+
setDefaultMode: KeyboardControllerNative.setDefaultMode,
|
|
43
|
+
setInputMode: KeyboardControllerNative.setInputMode,
|
|
44
|
+
setFocusTo: KeyboardControllerNative.setFocusTo,
|
|
45
|
+
preload: KeyboardControllerNative.preload,
|
|
46
|
+
setTranslucent: KeyboardControllerNative.setTranslucent,
|
|
47
|
+
dismiss,
|
|
48
|
+
isVisible,
|
|
49
|
+
state
|
|
50
|
+
};
|
|
51
|
+
|
|
52
|
+
export { KeyboardController };
|
|
53
|
+
//# sourceMappingURL=module.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"module.js","names":[],"sources":["esm/keyboard/module.js"],"sourcesContent":["import { KeyboardControllerNative, KeyboardEvents } from \"./bindings\";\nlet isClosed = true;\nlet lastState = {\n height: 0,\n duration: 0,\n timestamp: (/* @__PURE__ */ new Date()).getTime(),\n target: -1,\n type: \"default\",\n appearance: \"light\"\n};\nKeyboardEvents.addListener(\"keyboardDidHide\", (e) => {\n isClosed = true;\n lastState = e;\n});\nKeyboardEvents.addListener(\"keyboardWillShow\", (e) => {\n isClosed = false;\n lastState = e;\n});\nconst dismiss = async (options) => {\n const keepFocus = options?.keepFocus ?? false;\n const animated = options?.animated ?? true;\n return new Promise((resolve) => {\n if (isClosed) {\n if (!keepFocus) {\n KeyboardControllerNative.dismiss(keepFocus, animated);\n }\n resolve();\n return;\n }\n const subscription = KeyboardEvents.addListener(\"keyboardDidHide\", () => {\n resolve(void 0);\n subscription.remove();\n });\n KeyboardControllerNative.dismiss(keepFocus, animated);\n });\n};\nconst isVisible = () => !isClosed;\nconst state = () => lastState;\nconst KeyboardController = {\n setDefaultMode: KeyboardControllerNative.setDefaultMode,\n setInputMode: KeyboardControllerNative.setInputMode,\n setFocusTo: KeyboardControllerNative.setFocusTo,\n preload: KeyboardControllerNative.preload,\n setTranslucent: KeyboardControllerNative.setTranslucent,\n dismiss,\n isVisible,\n state\n};\nexport {\n KeyboardController\n};\n//# sourceMappingURL=module.js.map\n"],"mappings":";;;AACA,IAAI,WAAW;AACf,IAAI,YAAY;CACd,QAAQ;CACR,UAAU;CACV,4BAA4B,IAAI,KAAK,EAAC,CAAE,QAAQ;CAChD,QAAQ,CAAC;CACT,MAAM;CACN,YAAY;AACd;AACA,eAAe,YAAY,oBAAoB,MAAM;CACnD,WAAW;CACX,YAAY;AACd,CAAC;AACD,eAAe,YAAY,qBAAqB,MAAM;CACpD,WAAW;CACX,YAAY;AACd,CAAC;AACD,MAAM,UAAU,OAAO,YAAY;CACjC,MAAM,YAAY,SAAS,aAAa;CACxC,MAAM,WAAW,SAAS,YAAY;CACtC,OAAO,IAAI,SAAS,YAAY;EAC9B,IAAI,UAAU;GACZ,IAAI,CAAC,WAAW;IACd,yBAAyB,QAAQ,WAAW,QAAQ;GACtD;GACA,QAAQ;GACR;EACF;EACA,MAAM,eAAe,eAAe,YAAY,yBAAyB;GACvE,QAAQ,KAAK,CAAC;GACd,aAAa,OAAO;EACtB,CAAC;EACD,yBAAyB,QAAQ,WAAW,QAAQ;CACtD,CAAC;AACH;AACA,MAAM,kBAAkB,CAAC;AACzB,MAAM,cAAc;AACpB,MAAM,qBAAqB;CACzB,gBAAgB,yBAAyB;CACzC,cAAc,yBAAyB;CACvC,YAAY,yBAAyB;CACrC,SAAS,yBAAyB;CAClC,gBAAgB,yBAAyB;CACzC;CACA;CACA;AACF"}
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import { KeyboardControllerNative, KeyboardEvents } from "./bindings.native.js";
|
|
2
|
+
|
|
3
|
+
// dist/esm/keyboard/module.native.js
|
|
4
|
+
var isClosed = true;
|
|
5
|
+
var lastState = {
|
|
6
|
+
height: 0,
|
|
7
|
+
duration: 0,
|
|
8
|
+
timestamp: (/* @__PURE__ */ new Date()).getTime(),
|
|
9
|
+
target: -1,
|
|
10
|
+
type: "default",
|
|
11
|
+
appearance: "light"
|
|
12
|
+
};
|
|
13
|
+
KeyboardEvents.addListener("keyboardDidHide", function(e) {
|
|
14
|
+
isClosed = true;
|
|
15
|
+
lastState = e;
|
|
16
|
+
});
|
|
17
|
+
KeyboardEvents.addListener("keyboardWillShow", function(e) {
|
|
18
|
+
isClosed = false;
|
|
19
|
+
lastState = e;
|
|
20
|
+
});
|
|
21
|
+
var dismiss = async function dismiss2(options) {
|
|
22
|
+
var _ref, _ref1;
|
|
23
|
+
var keepFocus = (_ref = options === null || options === void 0 ? void 0 : options.keepFocus) !== null && _ref !== void 0 ? _ref : false;
|
|
24
|
+
var animated = (_ref1 = options === null || options === void 0 ? void 0 : options.animated) !== null && _ref1 !== void 0 ? _ref1 : true;
|
|
25
|
+
return new Promise(function(resolve) {
|
|
26
|
+
if (isClosed) {
|
|
27
|
+
if (!keepFocus) {
|
|
28
|
+
KeyboardControllerNative.dismiss(keepFocus, animated);
|
|
29
|
+
}
|
|
30
|
+
resolve();
|
|
31
|
+
return;
|
|
32
|
+
}
|
|
33
|
+
var subscription = KeyboardEvents.addListener("keyboardDidHide", function() {
|
|
34
|
+
resolve(void 0);
|
|
35
|
+
subscription.remove();
|
|
36
|
+
});
|
|
37
|
+
KeyboardControllerNative.dismiss(keepFocus, animated);
|
|
38
|
+
});
|
|
39
|
+
};
|
|
40
|
+
var isVisible = function isVisible2() {
|
|
41
|
+
return !isClosed;
|
|
42
|
+
};
|
|
43
|
+
var state = function state2() {
|
|
44
|
+
return lastState;
|
|
45
|
+
};
|
|
46
|
+
var KeyboardController = {
|
|
47
|
+
setDefaultMode: KeyboardControllerNative.setDefaultMode,
|
|
48
|
+
setInputMode: KeyboardControllerNative.setInputMode,
|
|
49
|
+
setFocusTo: KeyboardControllerNative.setFocusTo,
|
|
50
|
+
preload: KeyboardControllerNative.preload,
|
|
51
|
+
setTranslucent: KeyboardControllerNative.setTranslucent,
|
|
52
|
+
dismiss,
|
|
53
|
+
isVisible,
|
|
54
|
+
state
|
|
55
|
+
};
|
|
56
|
+
|
|
57
|
+
export { KeyboardController };
|
|
58
|
+
//# sourceMappingURL=module.native.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"module.native.js","names":[],"sources":["esm/keyboard/module.native.js"],"sourcesContent":["import { KeyboardControllerNative, KeyboardEvents } from \"./bindings\";\nvar isClosed = true;\nvar lastState = {\n height: 0,\n duration: 0,\n timestamp: (/* @__PURE__ */ new Date()).getTime(),\n target: -1,\n type: \"default\",\n appearance: \"light\"\n};\nKeyboardEvents.addListener(\"keyboardDidHide\", function(e) {\n isClosed = true;\n lastState = e;\n});\nKeyboardEvents.addListener(\"keyboardWillShow\", function(e) {\n isClosed = false;\n lastState = e;\n});\nvar dismiss = async function dismiss2(options) {\n var _ref, _ref1;\n var keepFocus = (_ref = options === null || options === void 0 ? void 0 : options.keepFocus) !== null && _ref !== void 0 ? _ref : false;\n var animated = (_ref1 = options === null || options === void 0 ? void 0 : options.animated) !== null && _ref1 !== void 0 ? _ref1 : true;\n return new Promise(function(resolve) {\n if (isClosed) {\n if (!keepFocus) {\n KeyboardControllerNative.dismiss(keepFocus, animated);\n }\n resolve();\n return;\n }\n var subscription = KeyboardEvents.addListener(\"keyboardDidHide\", function() {\n resolve(void 0);\n subscription.remove();\n });\n KeyboardControllerNative.dismiss(keepFocus, animated);\n });\n};\nvar isVisible = function isVisible2() {\n return !isClosed;\n};\nvar state = function state2() {\n return lastState;\n};\nvar KeyboardController = {\n setDefaultMode: KeyboardControllerNative.setDefaultMode,\n setInputMode: KeyboardControllerNative.setInputMode,\n setFocusTo: KeyboardControllerNative.setFocusTo,\n preload: KeyboardControllerNative.preload,\n setTranslucent: KeyboardControllerNative.setTranslucent,\n dismiss,\n isVisible,\n state\n};\nexport {\n KeyboardController\n};\n//# sourceMappingURL=module.js.map\n"],"mappings":";;;AACA,IAAI,WAAW;AACf,IAAI,YAAY;CACd,QAAQ;CACR,UAAU;CACV,4BAA4B,IAAI,KAAK,EAAC,CAAE,QAAQ;CAChD,QAAQ,CAAC;CACT,MAAM;CACN,YAAY;AACd;AACA,eAAe,YAAY,mBAAmB,SAAS,GAAG;CACxD,WAAW;CACX,YAAY;AACd,CAAC;AACD,eAAe,YAAY,oBAAoB,SAAS,GAAG;CACzD,WAAW;CACX,YAAY;AACd,CAAC;AACD,IAAI,UAAU,eAAe,SAAS,SAAS;CAC7C,IAAI,MAAM;CACV,IAAI,aAAa,OAAO,YAAY,QAAQ,YAAY,KAAK,IAAI,KAAK,IAAI,QAAQ,eAAe,QAAQ,SAAS,KAAK,IAAI,OAAO;CAClI,IAAI,YAAY,QAAQ,YAAY,QAAQ,YAAY,KAAK,IAAI,KAAK,IAAI,QAAQ,cAAc,QAAQ,UAAU,KAAK,IAAI,QAAQ;CACnI,OAAO,IAAI,QAAQ,SAAS,SAAS;EACnC,IAAI,UAAU;GACZ,IAAI,CAAC,WAAW;IACd,yBAAyB,QAAQ,WAAW,QAAQ;GACtD;GACA,QAAQ;GACR;EACF;EACA,IAAI,eAAe,eAAe,YAAY,mBAAmB,WAAW;GAC1E,QAAQ,KAAK,CAAC;GACd,aAAa,OAAO;EACtB,CAAC;EACD,yBAAyB,QAAQ,WAAW,QAAQ;CACtD,CAAC;AACH;AACA,IAAI,YAAY,SAAS,aAAa;CACpC,OAAO,CAAC;AACV;AACA,IAAI,QAAQ,SAAS,SAAS;CAC5B,OAAO;AACT;AACA,IAAI,qBAAqB;CACvB,gBAAgB,yBAAyB;CACzC,cAAc,yBAAyB;CACvC,YAAY,yBAAyB;CACrC,SAAS,yBAAyB;CAClC,gBAAgB,yBAAyB;CACzC;CACA;CACA;AACF"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { useAnimatedProps, useAnimatedReaction, useAnimatedStyle, useDerivedValue, useHandler } from "react-native-reanimated";
|
|
2
|
+
|
|
3
|
+
// dist/esm/keyboard/reanimated.js
|
|
4
|
+
const NOOP = () => () => {};
|
|
5
|
+
const useAnimatedKeyboardHandler = NOOP;
|
|
6
|
+
const useFocusedInputLayoutHandler = NOOP;
|
|
7
|
+
|
|
8
|
+
export { useAnimatedKeyboardHandler, useAnimatedProps, useAnimatedReaction, useAnimatedStyle, useDerivedValue, useFocusedInputLayoutHandler, useHandler };
|
|
9
|
+
//# sourceMappingURL=reanimated.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"reanimated.js","names":[],"sources":["esm/keyboard/reanimated.js"],"sourcesContent":["import {\n useAnimatedProps,\n useAnimatedReaction,\n useAnimatedStyle,\n useDerivedValue,\n useHandler\n} from \"react-native-reanimated\";\nconst NOOP = () => () => {\n};\nconst useAnimatedKeyboardHandler = NOOP;\nconst useFocusedInputLayoutHandler = NOOP;\nexport {\n useAnimatedKeyboardHandler,\n useAnimatedProps,\n useAnimatedReaction,\n useAnimatedStyle,\n useDerivedValue,\n useFocusedInputLayoutHandler,\n useHandler\n};\n//# sourceMappingURL=reanimated.js.map\n"],"mappings":";;;AAOA,MAAM,mBAAmB,CACzB;AACA,MAAM,6BAA6B;AACnC,MAAM,+BAA+B"}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import { useAnimatedProps as useAnimatedProps$1, useAnimatedReaction as useAnimatedReaction$1, useAnimatedStyle as useAnimatedStyle$1, useDerivedValue as useDerivedValue$1, useEvent, useHandler as useHandler$1 } from "react-native-reanimated";
|
|
2
|
+
|
|
3
|
+
// dist/esm/keyboard/reanimated.native.js
|
|
4
|
+
var useAnimatedProps = function useAnimatedProps2(updater, _dependencies, adapters, isAnimatedProps) {
|
|
5
|
+
return useAnimatedProps$1(updater, void 0, adapters, isAnimatedProps);
|
|
6
|
+
};
|
|
7
|
+
var useAnimatedReaction = function useAnimatedReaction2(prepare, react) {
|
|
8
|
+
return useAnimatedReaction$1(prepare, react);
|
|
9
|
+
};
|
|
10
|
+
var useAnimatedStyle = function useAnimatedStyle2(updater) {
|
|
11
|
+
return useAnimatedStyle$1(updater);
|
|
12
|
+
};
|
|
13
|
+
var useDerivedValue = function useDerivedValue2(updater) {
|
|
14
|
+
return useDerivedValue$1(updater);
|
|
15
|
+
};
|
|
16
|
+
var useHandler = function useHandler2(handlers) {
|
|
17
|
+
return useHandler$1(handlers);
|
|
18
|
+
};
|
|
19
|
+
var useAnimatedKeyboardHandler = function useAnimatedKeyboardHandler2(handlers, dependencies) {
|
|
20
|
+
var { context, doDependenciesDiffer } = useHandler(handlers, dependencies);
|
|
21
|
+
return useEvent(function(event) {
|
|
22
|
+
"worklet";
|
|
23
|
+
var { onKeyboardMoveStart, onKeyboardMove, onKeyboardMoveEnd, onKeyboardMoveInteractive } = handlers;
|
|
24
|
+
if (onKeyboardMoveStart && event.eventName.endsWith("onKeyboardMoveStart")) {
|
|
25
|
+
onKeyboardMoveStart(event, context);
|
|
26
|
+
}
|
|
27
|
+
if (onKeyboardMove && event.eventName.endsWith("onKeyboardMove")) {
|
|
28
|
+
onKeyboardMove(event, context);
|
|
29
|
+
}
|
|
30
|
+
if (onKeyboardMoveEnd && event.eventName.endsWith("onKeyboardMoveEnd")) {
|
|
31
|
+
onKeyboardMoveEnd(event, context);
|
|
32
|
+
}
|
|
33
|
+
if (onKeyboardMoveInteractive && event.eventName.endsWith("onKeyboardMoveInteractive")) {
|
|
34
|
+
onKeyboardMoveInteractive(event, context);
|
|
35
|
+
}
|
|
36
|
+
}, [
|
|
37
|
+
"onKeyboardMoveStart",
|
|
38
|
+
"onKeyboardMove",
|
|
39
|
+
"onKeyboardMoveEnd",
|
|
40
|
+
"onKeyboardMoveInteractive"
|
|
41
|
+
], doDependenciesDiffer);
|
|
42
|
+
};
|
|
43
|
+
var useFocusedInputLayoutHandler = function useFocusedInputLayoutHandler2(handlers, dependencies) {
|
|
44
|
+
var { context, doDependenciesDiffer } = useHandler(handlers, dependencies);
|
|
45
|
+
return useEvent(function(event) {
|
|
46
|
+
"worklet";
|
|
47
|
+
var { onFocusedInputLayoutChanged } = handlers;
|
|
48
|
+
if (onFocusedInputLayoutChanged && event.eventName.endsWith("onFocusedInputLayoutChanged")) {
|
|
49
|
+
onFocusedInputLayoutChanged(event, context);
|
|
50
|
+
}
|
|
51
|
+
}, ["onFocusedInputLayoutChanged"], doDependenciesDiffer);
|
|
52
|
+
};
|
|
53
|
+
|
|
54
|
+
export { useAnimatedKeyboardHandler, useAnimatedProps, useAnimatedReaction, useAnimatedStyle, useDerivedValue, useFocusedInputLayoutHandler, useHandler };
|
|
55
|
+
//# sourceMappingURL=reanimated.native.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"reanimated.native.js","names":["useReanimatedAnimatedProps","useReanimatedAnimatedReaction","useReanimatedAnimatedStyle","useReanimatedDerivedValue","useReanimatedHandler"],"sources":["esm/keyboard/reanimated.native.js"],"sourcesContent":["import { useEvent, useAnimatedProps as useReanimatedAnimatedProps, useAnimatedReaction as useReanimatedAnimatedReaction, useAnimatedStyle as useReanimatedAnimatedStyle, useDerivedValue as useReanimatedDerivedValue, useHandler as useReanimatedHandler } from \"react-native-reanimated\";\nvar useAnimatedProps = function useAnimatedProps2(updater, _dependencies, adapters, isAnimatedProps) {\n return useReanimatedAnimatedProps(updater, void 0, adapters, isAnimatedProps);\n};\nvar useAnimatedReaction = function useAnimatedReaction2(prepare, react) {\n return useReanimatedAnimatedReaction(prepare, react);\n};\nvar useAnimatedStyle = function useAnimatedStyle2(updater) {\n return useReanimatedAnimatedStyle(updater);\n};\nvar useDerivedValue = function useDerivedValue2(updater) {\n return useReanimatedDerivedValue(updater);\n};\nvar useHandler = function useHandler2(handlers) {\n return useReanimatedHandler(handlers);\n};\nvar useAnimatedKeyboardHandler = function useAnimatedKeyboardHandler2(handlers, dependencies) {\n var { context, doDependenciesDiffer } = useHandler(handlers, dependencies);\n return useEvent(function(event) {\n \"worklet\";\n var { onKeyboardMoveStart, onKeyboardMove, onKeyboardMoveEnd, onKeyboardMoveInteractive } = handlers;\n if (onKeyboardMoveStart && event.eventName.endsWith(\"onKeyboardMoveStart\")) {\n onKeyboardMoveStart(event, context);\n }\n if (onKeyboardMove && event.eventName.endsWith(\"onKeyboardMove\")) {\n onKeyboardMove(event, context);\n }\n if (onKeyboardMoveEnd && event.eventName.endsWith(\"onKeyboardMoveEnd\")) {\n onKeyboardMoveEnd(event, context);\n }\n if (onKeyboardMoveInteractive && event.eventName.endsWith(\"onKeyboardMoveInteractive\")) {\n onKeyboardMoveInteractive(event, context);\n }\n }, [\n \"onKeyboardMoveStart\",\n \"onKeyboardMove\",\n \"onKeyboardMoveEnd\",\n \"onKeyboardMoveInteractive\"\n ], doDependenciesDiffer);\n};\nvar useFocusedInputLayoutHandler = function useFocusedInputLayoutHandler2(handlers, dependencies) {\n var { context, doDependenciesDiffer } = useHandler(handlers, dependencies);\n return useEvent(function(event) {\n \"worklet\";\n var { onFocusedInputLayoutChanged } = handlers;\n if (onFocusedInputLayoutChanged && event.eventName.endsWith(\"onFocusedInputLayoutChanged\")) {\n onFocusedInputLayoutChanged(event, context);\n }\n }, [\n \"onFocusedInputLayoutChanged\"\n ], doDependenciesDiffer);\n};\nexport {\n useAnimatedKeyboardHandler,\n useAnimatedProps,\n useAnimatedReaction,\n useAnimatedStyle,\n useDerivedValue,\n useFocusedInputLayoutHandler,\n useHandler\n};\n//# sourceMappingURL=reanimated.native.js.map\n"],"mappings":";;;AACA,IAAI,mBAAmB,SAAS,kBAAkB,SAAS,eAAe,UAAU,iBAAiB;CACnG,OAAOA,mBAA2B,SAAS,KAAK,GAAG,UAAU,eAAe;AAC9E;AACA,IAAI,sBAAsB,SAAS,qBAAqB,SAAS,OAAO;CACtE,OAAOC,sBAA8B,SAAS,KAAK;AACrD;AACA,IAAI,mBAAmB,SAAS,kBAAkB,SAAS;CACzD,OAAOC,mBAA2B,OAAO;AAC3C;AACA,IAAI,kBAAkB,SAAS,iBAAiB,SAAS;CACvD,OAAOC,kBAA0B,OAAO;AAC1C;AACA,IAAI,aAAa,SAAS,YAAY,UAAU;CAC9C,OAAOC,aAAqB,QAAQ;AACtC;AACA,IAAI,6BAA6B,SAAS,4BAA4B,UAAU,cAAc;CAC5F,IAAI,EAAE,SAAS,yBAAyB,WAAW,UAAU,YAAY;CACzE,OAAO,SAAS,SAAS,OAAO;EAC9B;EACA,IAAI,EAAE,qBAAqB,gBAAgB,mBAAmB,8BAA8B;EAC5F,IAAI,uBAAuB,MAAM,UAAU,SAAS,qBAAqB,GAAG;GAC1E,oBAAoB,OAAO,OAAO;EACpC;EACA,IAAI,kBAAkB,MAAM,UAAU,SAAS,gBAAgB,GAAG;GAChE,eAAe,OAAO,OAAO;EAC/B;EACA,IAAI,qBAAqB,MAAM,UAAU,SAAS,mBAAmB,GAAG;GACtE,kBAAkB,OAAO,OAAO;EAClC;EACA,IAAI,6BAA6B,MAAM,UAAU,SAAS,2BAA2B,GAAG;GACtF,0BAA0B,OAAO,OAAO;EAC1C;CACF,GAAG;EACD;EACA;EACA;EACA;CACF,GAAG,oBAAoB;AACzB;AACA,IAAI,+BAA+B,SAAS,8BAA8B,UAAU,cAAc;CAChG,IAAI,EAAE,SAAS,yBAAyB,WAAW,UAAU,YAAY;CACzE,OAAO,SAAS,SAAS,OAAO;EAC9B;EACA,IAAI,EAAE,gCAAgC;EACtC,IAAI,+BAA+B,MAAM,UAAU,SAAS,6BAA6B,GAAG;GAC1F,4BAA4B,OAAO,OAAO;EAC5C;CACF,GAAG,CACD,6BACF,GAAG,oBAAoB;AACzB"}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","names":[],"sources":["esm/keyboard/utils/findNodeHandle/index.js"],"sourcesContent":["const findNodeHandle = (componentOrHandle) => componentOrHandle;\nexport {\n findNodeHandle\n};\n//# sourceMappingURL=index.js.map\n"],"mappings":";AAAA,MAAM,kBAAkB,sBAAsB"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { jsx } from "react/jsx-runtime";
|
|
2
|
+
import "react";
|
|
3
|
+
import { View } from "react-native";
|
|
4
|
+
import { RCTKeyboardExtender } from "../../bindings.native.js";
|
|
5
|
+
import { useWindowDimensions } from "../../hooks/index.native.js";
|
|
6
|
+
|
|
7
|
+
// dist/esm/keyboard/views/KeyboardExtender/index.ios.js
|
|
8
|
+
var KeyboardExtender = function KeyboardExtender2(props) {
|
|
9
|
+
var { children, enabled = true, transparent = false } = props;
|
|
10
|
+
var { width } = useWindowDimensions();
|
|
11
|
+
return /* @__PURE__ */ jsx(RCTKeyboardExtender, {
|
|
12
|
+
enabled,
|
|
13
|
+
transparent,
|
|
14
|
+
children: /* @__PURE__ */ jsx(View, {
|
|
15
|
+
style: { width },
|
|
16
|
+
children
|
|
17
|
+
})
|
|
18
|
+
});
|
|
19
|
+
};
|
|
20
|
+
var index_ios_default = KeyboardExtender;
|
|
21
|
+
|
|
22
|
+
export { index_ios_default as default };
|
|
23
|
+
//# sourceMappingURL=index.ios.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.ios.js","names":[],"sources":["esm/keyboard/views/KeyboardExtender/index.ios.js"],"sourcesContent":["import { jsx as _jsx } from \"react/jsx-runtime\";\nimport React from \"react\";\nimport { View } from \"react-native\";\nimport { RCTKeyboardExtender } from \"../../bindings\";\nimport { useWindowDimensions } from \"../../hooks\";\nvar KeyboardExtender = function KeyboardExtender2(props) {\n var { children, enabled = true, transparent = false } = props;\n var { width } = useWindowDimensions();\n return /* @__PURE__ */ _jsx(RCTKeyboardExtender, {\n enabled,\n transparent,\n children: /* @__PURE__ */ _jsx(View, {\n style: {\n width\n },\n children\n })\n });\n};\nvar index_ios_default = KeyboardExtender;\nexport {\n index_ios_default as default\n};\n//# sourceMappingURL=index.ios.js.map\n"],"mappings":";;;;;;;AAKA,IAAI,mBAAmB,SAAS,kBAAkB,OAAO;CACvD,IAAI,EAAE,UAAU,UAAU,MAAM,cAAc,UAAU;CACxD,IAAI,EAAE,UAAU,oBAAoB;CACpC,OAAuB,oBAAK,qBAAqB;EAC/C;EACA;EACA,UAA0B,oBAAK,MAAM;GACnC,OAAO,EACL,MACF;GACA;EACF,CAAC;CACH,CAAC;AACH;AACA,IAAI,oBAAoB"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { Animated } from "react-native-web";
|
|
2
|
+
import { KeyboardBackgroundView } from "../../bindings.mjs";
|
|
3
|
+
import { KeyboardStickyView } from "../../components/index.mjs";
|
|
4
|
+
import { useKeyboardAnimation } from "../../hooks/index.mjs";
|
|
5
|
+
import { jsx } from "react/jsx-runtime";
|
|
6
|
+
|
|
7
|
+
// dist/esm/keyboard/views/KeyboardExtender/index.js
|
|
8
|
+
const AnimatedKeyboardBackgroundView = Animated.createAnimatedComponent(KeyboardBackgroundView);
|
|
9
|
+
const KeyboardExtender = (props) => {
|
|
10
|
+
const { children, enabled = true, transparent = false } = props;
|
|
11
|
+
const { progress } = useKeyboardAnimation();
|
|
12
|
+
const opacity = progress.interpolate({
|
|
13
|
+
inputRange: [0, .8],
|
|
14
|
+
outputRange: [0, 1],
|
|
15
|
+
extrapolate: "clamp"
|
|
16
|
+
});
|
|
17
|
+
const Container = transparent ? Animated.View : AnimatedKeyboardBackgroundView;
|
|
18
|
+
return /* @__PURE__ */ jsx(KeyboardStickyView, {
|
|
19
|
+
enabled,
|
|
20
|
+
children: /* @__PURE__ */ jsx(Container, {
|
|
21
|
+
style: { opacity },
|
|
22
|
+
children
|
|
23
|
+
})
|
|
24
|
+
});
|
|
25
|
+
};
|
|
26
|
+
var KeyboardExtender_default = KeyboardExtender;
|
|
27
|
+
|
|
28
|
+
export { KeyboardExtender_default as default };
|
|
29
|
+
//# sourceMappingURL=index.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","names":[],"sources":["esm/keyboard/views/KeyboardExtender/index.js"],"sourcesContent":["import { Animated } from \"react-native-web\";\nimport { KeyboardBackgroundView } from \"../../bindings\";\nimport { KeyboardStickyView } from \"../../components\";\nimport { useKeyboardAnimation } from \"../../hooks\";\nimport { jsx } from \"react/jsx-runtime\";\nconst AnimatedKeyboardBackgroundView = Animated.createAnimatedComponent(KeyboardBackgroundView);\nconst KeyboardExtender = (props) => {\n const { children, enabled = true, transparent = false } = props;\n const { progress } = useKeyboardAnimation();\n const opacity = progress.interpolate({\n inputRange: [0, 0.8],\n outputRange: [0, 1],\n extrapolate: \"clamp\"\n });\n const Container = transparent ? Animated.View : AnimatedKeyboardBackgroundView;\n return /* @__PURE__ */ jsx(KeyboardStickyView, { enabled, children: /* @__PURE__ */ jsx(Container, { style: { opacity }, children }) });\n};\nvar KeyboardExtender_default = KeyboardExtender;\nexport {\n KeyboardExtender_default as default\n};\n//# sourceMappingURL=index.js.map\n"],"mappings":";;;;;;;AAKA,MAAM,iCAAiC,SAAS,wBAAwB,sBAAsB;AAC9F,MAAM,oBAAoB,UAAU;CAClC,MAAM,EAAE,UAAU,UAAU,MAAM,cAAc,UAAU;CAC1D,MAAM,EAAE,aAAa,qBAAqB;CAC1C,MAAM,UAAU,SAAS,YAAY;EACnC,YAAY,CAAC,GAAG,EAAG;EACnB,aAAa,CAAC,GAAG,CAAC;EAClB,aAAa;CACf,CAAC;CACD,MAAM,YAAY,cAAc,SAAS,OAAO;CAChD,OAAuB,oBAAI,oBAAoB;EAAE;EAAS,UAA0B,oBAAI,WAAW;GAAE,OAAO,EAAE,QAAQ;GAAG;EAAS,CAAC;CAAE,CAAC;AACxI;AACA,IAAI,2BAA2B"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { jsx } from "react/jsx-runtime";
|
|
2
|
+
import "react";
|
|
3
|
+
import { Animated } from "react-native";
|
|
4
|
+
import { KeyboardBackgroundView } from "../../bindings.native.js";
|
|
5
|
+
import { KeyboardStickyView } from "../../components/index.native.js";
|
|
6
|
+
import { useKeyboardAnimation } from "../../hooks/index.native.js";
|
|
7
|
+
|
|
8
|
+
// dist/esm/keyboard/views/KeyboardExtender/index.native.js
|
|
9
|
+
var AnimatedKeyboardBackgroundView = Animated.createAnimatedComponent(KeyboardBackgroundView);
|
|
10
|
+
var KeyboardExtender = function KeyboardExtender2(props) {
|
|
11
|
+
var { children, enabled = true, transparent = false } = props;
|
|
12
|
+
var { progress } = useKeyboardAnimation();
|
|
13
|
+
var opacity = progress.interpolate({
|
|
14
|
+
inputRange: [0, .8],
|
|
15
|
+
outputRange: [0, 1],
|
|
16
|
+
extrapolate: "clamp"
|
|
17
|
+
});
|
|
18
|
+
var Container = transparent ? Animated.View : AnimatedKeyboardBackgroundView;
|
|
19
|
+
return /* @__PURE__ */ jsx(KeyboardStickyView, {
|
|
20
|
+
enabled,
|
|
21
|
+
children: /* @__PURE__ */ jsx(Container, {
|
|
22
|
+
style: { opacity },
|
|
23
|
+
children
|
|
24
|
+
})
|
|
25
|
+
});
|
|
26
|
+
};
|
|
27
|
+
var KeyboardExtender_default = KeyboardExtender;
|
|
28
|
+
|
|
29
|
+
export { KeyboardExtender_default as default };
|
|
30
|
+
//# sourceMappingURL=index.native.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.native.js","names":[],"sources":["esm/keyboard/views/KeyboardExtender/index.native.js"],"sourcesContent":["import { jsx as _jsx } from \"react/jsx-runtime\";\nimport React from \"react\";\nimport { Animated } from \"react-native\";\nimport { KeyboardBackgroundView } from \"../../bindings\";\nimport { KeyboardStickyView } from \"../../components\";\nimport { useKeyboardAnimation } from \"../../hooks\";\nvar AnimatedKeyboardBackgroundView = Animated.createAnimatedComponent(KeyboardBackgroundView);\nvar KeyboardExtender = function KeyboardExtender2(props) {\n var { children, enabled = true, transparent = false } = props;\n var { progress } = useKeyboardAnimation();\n var opacity = progress.interpolate({\n inputRange: [\n 0,\n 0.8\n ],\n outputRange: [\n 0,\n 1\n ],\n extrapolate: \"clamp\"\n });\n var Container = transparent ? Animated.View : AnimatedKeyboardBackgroundView;\n return /* @__PURE__ */ _jsx(KeyboardStickyView, {\n enabled,\n children: /* @__PURE__ */ _jsx(Container, {\n style: {\n opacity\n },\n children\n })\n });\n};\nvar KeyboardExtender_default = KeyboardExtender;\nexport {\n KeyboardExtender_default as default\n};\n//# sourceMappingURL=index.js.map\n"],"mappings":";;;;;;;;AAMA,IAAI,iCAAiC,SAAS,wBAAwB,sBAAsB;AAC5F,IAAI,mBAAmB,SAAS,kBAAkB,OAAO;CACvD,IAAI,EAAE,UAAU,UAAU,MAAM,cAAc,UAAU;CACxD,IAAI,EAAE,aAAa,qBAAqB;CACxC,IAAI,UAAU,SAAS,YAAY;EACjC,YAAY,CACV,GACA,EACF;EACA,aAAa,CACX,GACA,CACF;EACA,aAAa;CACf,CAAC;CACD,IAAI,YAAY,cAAc,SAAS,OAAO;CAC9C,OAAuB,oBAAK,oBAAoB;EAC9C;EACA,UAA0B,oBAAK,WAAW;GACxC,OAAO,EACL,QACF;GACA;EACF,CAAC;CACH,CAAC;AACH;AACA,IAAI,2BAA2B"}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { useMemo } from "react";
|
|
2
|
+
import { Platform, StyleSheet, View } from "react-native-web";
|
|
3
|
+
import { RCTOverKeyboardView } from "../../bindings.mjs";
|
|
4
|
+
import { useWindowDimensions } from "../../hooks/index.mjs";
|
|
5
|
+
import { jsx } from "react/jsx-runtime";
|
|
6
|
+
|
|
7
|
+
// dist/esm/keyboard/views/OverKeyboardView/index.js
|
|
8
|
+
const OverKeyboardView = (props) => {
|
|
9
|
+
const { children, visible } = props;
|
|
10
|
+
const { height, width } = useWindowDimensions();
|
|
11
|
+
const inner = useMemo(() => ({
|
|
12
|
+
height,
|
|
13
|
+
width
|
|
14
|
+
}), [height, width]);
|
|
15
|
+
const style = useMemo(() => [
|
|
16
|
+
styles.absolute,
|
|
17
|
+
Platform.OS === "ios" ? inner : void 0,
|
|
18
|
+
Platform.OS === "android" ? styles.stretch : void 0
|
|
19
|
+
], [inner]);
|
|
20
|
+
return /* @__PURE__ */ jsx(RCTOverKeyboardView, {
|
|
21
|
+
visible,
|
|
22
|
+
children: /* @__PURE__ */ jsx(View, {
|
|
23
|
+
collapsable: false,
|
|
24
|
+
style,
|
|
25
|
+
children: visible && children
|
|
26
|
+
})
|
|
27
|
+
});
|
|
28
|
+
};
|
|
29
|
+
const styles = StyleSheet.create({
|
|
30
|
+
absolute: { position: "absolute" },
|
|
31
|
+
stretch: {
|
|
32
|
+
top: 0,
|
|
33
|
+
bottom: 0,
|
|
34
|
+
left: 0,
|
|
35
|
+
right: 0
|
|
36
|
+
}
|
|
37
|
+
});
|
|
38
|
+
var OverKeyboardView_default = OverKeyboardView;
|
|
39
|
+
|
|
40
|
+
export { OverKeyboardView_default as default };
|
|
41
|
+
//# sourceMappingURL=index.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","names":[],"sources":["esm/keyboard/views/OverKeyboardView/index.js"],"sourcesContent":["import { useMemo } from \"react\";\nimport { Platform, StyleSheet, View } from \"react-native-web\";\nimport { RCTOverKeyboardView } from \"../../bindings\";\nimport { useWindowDimensions } from \"../../hooks\";\nimport { jsx } from \"react/jsx-runtime\";\nconst OverKeyboardView = (props) => {\n const { children, visible } = props;\n const { height, width } = useWindowDimensions();\n const inner = useMemo(() => ({ height, width }), [height, width]);\n const style = useMemo(\n () => [\n styles.absolute,\n // On iOS - stretch view to full window dimensions to make yoga work\n Platform.OS === \"ios\" ? inner : void 0,\n // On Android - we are laid out by ShadowNode, so just stretch to full container\n Platform.OS === \"android\" ? styles.stretch : void 0\n ],\n [inner]\n );\n return /* @__PURE__ */ jsx(RCTOverKeyboardView, { visible, children: /* @__PURE__ */ jsx(View, { collapsable: false, style, children: visible && children }) });\n};\nconst styles = StyleSheet.create({\n absolute: {\n position: \"absolute\"\n },\n stretch: {\n top: 0,\n bottom: 0,\n left: 0,\n right: 0\n }\n});\nvar OverKeyboardView_default = OverKeyboardView;\nexport {\n OverKeyboardView_default as default\n};\n//# sourceMappingURL=index.js.map\n"],"mappings":";;;;;;;AAKA,MAAM,oBAAoB,UAAU;CAClC,MAAM,EAAE,UAAU,YAAY;CAC9B,MAAM,EAAE,QAAQ,UAAU,oBAAoB;CAC9C,MAAM,QAAQ,eAAe;EAAE;EAAQ;CAAM,IAAI,CAAC,QAAQ,KAAK,CAAC;CAChE,MAAM,QAAQ,cACN;EACJ,OAAO;EAEP,SAAS,OAAO,QAAQ,QAAQ,KAAK;EAErC,SAAS,OAAO,YAAY,OAAO,UAAU,KAAK;CACpD,GACA,CAAC,KAAK,CACR;CACA,OAAuB,oBAAI,qBAAqB;EAAE;EAAS,UAA0B,oBAAI,MAAM;GAAE,aAAa;GAAO;GAAO,UAAU,WAAW;EAAS,CAAC;CAAE,CAAC;AAChK;AACA,MAAM,SAAS,WAAW,OAAO;CAC/B,UAAU,EACR,UAAU,WACZ;CACA,SAAS;EACP,KAAK;EACL,QAAQ;EACR,MAAM;EACN,OAAO;CACT;AACF,CAAC;AACD,IAAI,2BAA2B"}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { jsx } from "react/jsx-runtime";
|
|
2
|
+
import { useMemo } from "react";
|
|
3
|
+
import { Platform, StyleSheet, View } from "react-native";
|
|
4
|
+
import { RCTOverKeyboardView } from "../../bindings.native.js";
|
|
5
|
+
import { useWindowDimensions } from "../../hooks/index.native.js";
|
|
6
|
+
|
|
7
|
+
// dist/esm/keyboard/views/OverKeyboardView/index.native.js
|
|
8
|
+
var OverKeyboardView = function OverKeyboardView2(props) {
|
|
9
|
+
var { children, visible } = props;
|
|
10
|
+
var { height, width } = useWindowDimensions();
|
|
11
|
+
var inner = useMemo(function() {
|
|
12
|
+
return {
|
|
13
|
+
height,
|
|
14
|
+
width
|
|
15
|
+
};
|
|
16
|
+
}, [height, width]);
|
|
17
|
+
var style = useMemo(function() {
|
|
18
|
+
return [
|
|
19
|
+
styles.absolute,
|
|
20
|
+
Platform.OS === "ios" ? inner : void 0,
|
|
21
|
+
Platform.OS === "android" ? styles.stretch : void 0
|
|
22
|
+
];
|
|
23
|
+
}, [inner]);
|
|
24
|
+
return /* @__PURE__ */ jsx(RCTOverKeyboardView, {
|
|
25
|
+
visible,
|
|
26
|
+
children: /* @__PURE__ */ jsx(View, {
|
|
27
|
+
collapsable: false,
|
|
28
|
+
style,
|
|
29
|
+
children: visible && children
|
|
30
|
+
})
|
|
31
|
+
});
|
|
32
|
+
};
|
|
33
|
+
var styles = StyleSheet.create({
|
|
34
|
+
absolute: { position: "absolute" },
|
|
35
|
+
stretch: {
|
|
36
|
+
top: 0,
|
|
37
|
+
bottom: 0,
|
|
38
|
+
left: 0,
|
|
39
|
+
right: 0
|
|
40
|
+
}
|
|
41
|
+
});
|
|
42
|
+
var OverKeyboardView_default = OverKeyboardView;
|
|
43
|
+
|
|
44
|
+
export { OverKeyboardView_default as default };
|
|
45
|
+
//# sourceMappingURL=index.native.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.native.js","names":[],"sources":["esm/keyboard/views/OverKeyboardView/index.native.js"],"sourcesContent":["import { jsx as _jsx } from \"react/jsx-runtime\";\nimport React, { useMemo } from \"react\";\nimport { Platform, StyleSheet, View } from \"react-native\";\nimport { RCTOverKeyboardView } from \"../../bindings\";\nimport { useWindowDimensions } from \"../../hooks\";\nvar OverKeyboardView = function OverKeyboardView2(props) {\n var { children, visible } = props;\n var { height, width } = useWindowDimensions();\n var inner = useMemo(function() {\n return {\n height,\n width\n };\n }, [\n height,\n width\n ]);\n var style = useMemo(function() {\n return [\n styles.absolute,\n // On iOS - stretch view to full window dimensions to make yoga work\n Platform.OS === \"ios\" ? inner : void 0,\n // On Android - we are laid out by ShadowNode, so just stretch to full container\n Platform.OS === \"android\" ? styles.stretch : void 0\n ];\n }, [\n inner\n ]);\n return /* @__PURE__ */ _jsx(RCTOverKeyboardView, {\n visible,\n children: (\n /* `OverKeyboardView` should always have a single child */\n /* @__PURE__ */ _jsx(View, {\n collapsable: false,\n style,\n children: (\n /* Match RN behavior and trigger mount/unmount when visibility changes */\n visible && children\n )\n })\n )\n });\n};\nvar styles = StyleSheet.create({\n absolute: {\n position: \"absolute\"\n },\n stretch: {\n top: 0,\n bottom: 0,\n left: 0,\n right: 0\n }\n});\nvar OverKeyboardView_default = OverKeyboardView;\nexport {\n OverKeyboardView_default as default\n};\n//# sourceMappingURL=index.js.map\n"],"mappings":";;;;;;;AAKA,IAAI,mBAAmB,SAAS,kBAAkB,OAAO;CACvD,IAAI,EAAE,UAAU,YAAY;CAC5B,IAAI,EAAE,QAAQ,UAAU,oBAAoB;CAC5C,IAAI,QAAQ,QAAQ,WAAW;EAC7B,OAAO;GACL;GACA;EACF;CACF,GAAG,CACD,QACA,KACF,CAAC;CACD,IAAI,QAAQ,QAAQ,WAAW;EAC7B,OAAO;GACL,OAAO;GAEP,SAAS,OAAO,QAAQ,QAAQ,KAAK;GAErC,SAAS,OAAO,YAAY,OAAO,UAAU,KAAK;EACpD;CACF,GAAG,CACD,KACF,CAAC;CACD,OAAuB,oBAAK,qBAAqB;EAC/C;EACA,UAEkB,oBAAK,MAAM;GACzB,aAAa;GACb;GACA,UAEE,WAAW;EAEf,CAAC;CAEL,CAAC;AACH;AACA,IAAI,SAAS,WAAW,OAAO;CAC7B,UAAU,EACR,UAAU,WACZ;CACA,SAAS;EACP,KAAK;EACL,QAAQ;EACR,MAAM;EACN,OAAO;CACT;AACF,CAAC;AACD,IAAI,2BAA2B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./keyboard/index.mjs"
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./keyboard/index.native.js"
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
const e = require("react-native/Libraries/NativeComponent/NativeComponentRegistry");
|
|
2
|
+
let t = "OneClippingScrollViewDecoratorView";
|
|
3
|
+
const o = {
|
|
4
|
+
uiViewClassName: "OneClippingScrollViewDecoratorView",
|
|
5
|
+
validAttributes: {
|
|
6
|
+
contentInsetBottom: true,
|
|
7
|
+
contentInsetTop: true,
|
|
8
|
+
applyWorkaroundForContentInsetHitTestBug: true
|
|
9
|
+
}
|
|
10
|
+
};
|
|
11
|
+
var i = e.get(t, () => o);
|
|
12
|
+
export {
|
|
13
|
+
o as __INTERNAL_VIEW_CONFIG,
|
|
14
|
+
i as default
|
|
15
|
+
};
|
|
16
|
+
//# sourceMappingURL=OneClippingScrollViewDecoratorViewNativeComponent.mjs.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["src/platform/specs/OneClippingScrollViewDecoratorViewNativeComponent.ts"],
|
|
4
|
+
"sourcesContent": ["import codegenNativeComponent from 'react-native/Libraries/Utilities/codegenNativeComponent';\nimport type { HostComponent } from 'react-native';\nimport type { ViewProps } from 'react-native';\nimport type { Double } from 'react-native/Libraries/Types/CodegenTypes';\nexport interface NativeProps extends ViewProps {\n contentInsetBottom: Double;\n contentInsetTop: Double;\n applyWorkaroundForContentInsetHitTestBug?: boolean;\n}\nconst NativeComponentRegistry = require('react-native/Libraries/NativeComponent/NativeComponentRegistry');\nlet nativeComponentName = 'OneClippingScrollViewDecoratorView';\nexport const __INTERNAL_VIEW_CONFIG = {\n uiViewClassName: \"OneClippingScrollViewDecoratorView\",\n validAttributes: {\n contentInsetBottom: true,\n contentInsetTop: true,\n applyWorkaroundForContentInsetHitTestBug: true\n }\n};\nexport default NativeComponentRegistry.get(nativeComponentName, () => __INTERNAL_VIEW_CONFIG);"],
|
|
5
|
+
"mappings": "AASA,MAAMA,IAA0B,QAAQ,gEAAgE;AACxG,IAAIC,IAAsB;AACnB,MAAMC,IAAyB;AAAA,EACpC,iBAAiB;AAAA,EACjB,iBAAiB;AAAA,IACf,oBAAoB;AAAA,IACpB,iBAAiB;AAAA,IACjB,0CAA0C;AAAA,EAC5C;AACF;AACA,IAAOC,IAAQH,EAAwB,IAAIC,GAAqB,MAAMC,CAAsB;",
|
|
6
|
+
"names": ["NativeComponentRegistry", "nativeComponentName", "__INTERNAL_VIEW_CONFIG", "OneClippingScrollViewDecoratorViewNativeComponent_default"]
|
|
7
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
const e = require("react-native/Libraries/NativeComponent/NativeComponentRegistry");
|
|
2
|
+
let t = "OneClippingScrollViewDecoratorView";
|
|
3
|
+
const o = {
|
|
4
|
+
uiViewClassName: "OneClippingScrollViewDecoratorView",
|
|
5
|
+
validAttributes: {
|
|
6
|
+
contentInsetBottom: true,
|
|
7
|
+
contentInsetTop: true,
|
|
8
|
+
applyWorkaroundForContentInsetHitTestBug: true
|
|
9
|
+
}
|
|
10
|
+
};
|
|
11
|
+
var i = e.get(t, () => o);
|
|
12
|
+
export {
|
|
13
|
+
o as __INTERNAL_VIEW_CONFIG,
|
|
14
|
+
i as default
|
|
15
|
+
};
|
|
16
|
+
//# sourceMappingURL=OneClippingScrollViewDecoratorViewNativeComponent.native.js.map
|
package/dist/esm/platform/specs/OneClippingScrollViewDecoratorViewNativeComponent.native.js.map
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["src/platform/specs/OneClippingScrollViewDecoratorViewNativeComponent.ts"],
|
|
4
|
+
"sourcesContent": ["import codegenNativeComponent from 'react-native/Libraries/Utilities/codegenNativeComponent';\nimport type { HostComponent } from 'react-native';\nimport type { ViewProps } from 'react-native';\nimport type { Double } from 'react-native/Libraries/Types/CodegenTypes';\nexport interface NativeProps extends ViewProps {\n contentInsetBottom: Double;\n contentInsetTop: Double;\n applyWorkaroundForContentInsetHitTestBug?: boolean;\n}\nconst NativeComponentRegistry = require('react-native/Libraries/NativeComponent/NativeComponentRegistry');\nlet nativeComponentName = 'OneClippingScrollViewDecoratorView';\nexport const __INTERNAL_VIEW_CONFIG = {\n uiViewClassName: \"OneClippingScrollViewDecoratorView\",\n validAttributes: {\n contentInsetBottom: true,\n contentInsetTop: true,\n applyWorkaroundForContentInsetHitTestBug: true\n }\n};\nexport default NativeComponentRegistry.get(nativeComponentName, () => __INTERNAL_VIEW_CONFIG);"],
|
|
5
|
+
"mappings": "AASA,MAAMA,IAA0B,QAAQ,gEAAgE;AACxG,IAAIC,IAAsB;AACnB,MAAMC,IAAyB;AAAA,EACpC,iBAAiB;AAAA,EACjB,iBAAiB;AAAA,IACf,oBAAoB;AAAA,IACpB,iBAAiB;AAAA,IACjB,0CAA0C;AAAA,EAC5C;AACF;AACA,IAAOC,IAAQH,EAAwB,IAAIC,GAAqB,MAAMC,CAAsB;",
|
|
6
|
+
"names": ["NativeComponentRegistry", "nativeComponentName", "__INTERNAL_VIEW_CONFIG", "OneClippingScrollViewDecoratorViewNativeComponent_default"]
|
|
7
|
+
}
|
|
File without changes
|
|
File without changes
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
const e = require("react-native/Libraries/NativeComponent/NativeComponentRegistry");
|
|
2
|
+
let t = "OneKeyboardBackgroundView";
|
|
3
|
+
const o = {
|
|
4
|
+
uiViewClassName: "OneKeyboardBackgroundView",
|
|
5
|
+
validAttributes: {}
|
|
6
|
+
};
|
|
7
|
+
var n = e.get(t, () => o);
|
|
8
|
+
export {
|
|
9
|
+
o as __INTERNAL_VIEW_CONFIG,
|
|
10
|
+
n as default
|
|
11
|
+
};
|
|
12
|
+
//# sourceMappingURL=OneKeyboardBackgroundViewNativeComponent.mjs.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["src/platform/specs/OneKeyboardBackgroundViewNativeComponent.ts"],
|
|
4
|
+
"sourcesContent": ["import codegenNativeComponent from 'react-native/Libraries/Utilities/codegenNativeComponent';\nimport type { HostComponent } from 'react-native';\nimport type { ViewProps } from 'react-native/Libraries/Components/View/ViewPropTypes';\nexport interface NativeProps extends ViewProps {}\nconst NativeComponentRegistry = require('react-native/Libraries/NativeComponent/NativeComponentRegistry');\nlet nativeComponentName = 'OneKeyboardBackgroundView';\nexport const __INTERNAL_VIEW_CONFIG = {\n uiViewClassName: \"OneKeyboardBackgroundView\",\n validAttributes: {}\n};\nexport default NativeComponentRegistry.get(nativeComponentName, () => __INTERNAL_VIEW_CONFIG);"],
|
|
5
|
+
"mappings": "AAIA,MAAMA,IAA0B,QAAQ,gEAAgE;AACxG,IAAIC,IAAsB;AACnB,MAAMC,IAAyB;AAAA,EACpC,iBAAiB;AAAA,EACjB,iBAAiB,CAAC;AACpB;AACA,IAAOC,IAAQH,EAAwB,IAAIC,GAAqB,MAAMC,CAAsB;",
|
|
6
|
+
"names": ["NativeComponentRegistry", "nativeComponentName", "__INTERNAL_VIEW_CONFIG", "OneKeyboardBackgroundViewNativeComponent_default"]
|
|
7
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
const e = require("react-native/Libraries/NativeComponent/NativeComponentRegistry");
|
|
2
|
+
let t = "OneKeyboardBackgroundView";
|
|
3
|
+
const o = {
|
|
4
|
+
uiViewClassName: "OneKeyboardBackgroundView",
|
|
5
|
+
validAttributes: {}
|
|
6
|
+
};
|
|
7
|
+
var n = e.get(t, () => o);
|
|
8
|
+
export {
|
|
9
|
+
o as __INTERNAL_VIEW_CONFIG,
|
|
10
|
+
n as default
|
|
11
|
+
};
|
|
12
|
+
//# sourceMappingURL=OneKeyboardBackgroundViewNativeComponent.native.js.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["src/platform/specs/OneKeyboardBackgroundViewNativeComponent.ts"],
|
|
4
|
+
"sourcesContent": ["import codegenNativeComponent from 'react-native/Libraries/Utilities/codegenNativeComponent';\nimport type { HostComponent } from 'react-native';\nimport type { ViewProps } from 'react-native/Libraries/Components/View/ViewPropTypes';\nexport interface NativeProps extends ViewProps {}\nconst NativeComponentRegistry = require('react-native/Libraries/NativeComponent/NativeComponentRegistry');\nlet nativeComponentName = 'OneKeyboardBackgroundView';\nexport const __INTERNAL_VIEW_CONFIG = {\n uiViewClassName: \"OneKeyboardBackgroundView\",\n validAttributes: {}\n};\nexport default NativeComponentRegistry.get(nativeComponentName, () => __INTERNAL_VIEW_CONFIG);"],
|
|
5
|
+
"mappings": "AAIA,MAAMA,IAA0B,QAAQ,gEAAgE;AACxG,IAAIC,IAAsB;AACnB,MAAMC,IAAyB;AAAA,EACpC,iBAAiB;AAAA,EACjB,iBAAiB,CAAC;AACpB;AACA,IAAOC,IAAQH,EAAwB,IAAIC,GAAqB,MAAMC,CAAsB;",
|
|
6
|
+
"names": ["NativeComponentRegistry", "nativeComponentName", "__INTERNAL_VIEW_CONFIG", "OneKeyboardBackgroundViewNativeComponent_default"]
|
|
7
|
+
}
|