@lookiero/checkout 8.14.0-beta.100 → 8.14.0-beta.101

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.
@@ -1,5 +1,6 @@
1
1
  import { PortalHost } from "@gorhom/portal";
2
2
  import React, { useCallback, useMemo } from "react";
3
+ import { Platform } from "react-native";
3
4
  import { KeyboardAwareScrollView } from "react-native-keyboard-aware-scroll-view";
4
5
  import { generatePath, useNavigate } from "react-router-native";
5
6
  import { Box, Button, Layout as AuroraLayout, Spinner, Text, View, useDevice } from "@lookiero/aurora";
@@ -100,7 +101,7 @@ const ReturnQuestionsForm = ({ checkout, checkoutItem, country, layout: Layout,
100
101
  header: style.header,
101
102
  } },
102
103
  React.createElement(ProductVariantPreview, { country: country, item: checkoutItem }),
103
- React.createElement(KeyboardAwareScrollView, { keyboardShouldPersistTaps: "handled", showsVerticalScrollIndicator: false, testID: "return-questions-form" },
104
+ React.createElement(KeyboardAwareScrollView, { extraScrollHeight: Platform.OS === "android" ? 10 : 120, keyboardShouldPersistTaps: "handled", showsVerticalScrollIndicator: false, testID: "return-questions-form" },
104
105
  React.createElement(View, { style: style.background },
105
106
  React.createElement(AuroraLayout, { fullWidth: !screen.L, style: [style.layout, screen.L ? style.desktopLayoutSpacing : undefined] },
106
107
  React.createElement(Box, { size: { L: "2/3" } },
@@ -1 +1 @@
1
- export declare const VERSION = "8.14.0-beta.100";
1
+ export declare const VERSION = "8.14.0-beta.101";
@@ -1 +1 @@
1
- export const VERSION = "8.14.0-beta.100";
1
+ export const VERSION = "8.14.0-beta.101";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lookiero/checkout",
3
- "version": "8.14.0-beta.100",
3
+ "version": "8.14.0-beta.101",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "sideEffects": "false",
@@ -1,5 +1,6 @@
1
1
  import { PortalHost } from "@gorhom/portal";
2
2
  import React, { FC, useCallback, useMemo } from "react";
3
+ import { Platform } from "react-native";
3
4
  import { KeyboardAwareScrollView } from "react-native-keyboard-aware-scroll-view";
4
5
  import { generatePath, useNavigate } from "react-router-native";
5
6
  import { Box, Button, Layout as AuroraLayout, Spinner, Text, View, useDevice } from "@lookiero/aurora";
@@ -154,6 +155,7 @@ const ReturnQuestionsForm: FC<ReturnQuestionsFormProps> = ({
154
155
  <ProductVariantPreview country={country} item={checkoutItem} />
155
156
 
156
157
  <KeyboardAwareScrollView
158
+ extraScrollHeight={Platform.OS === "android" ? 10 : 120}
157
159
  keyboardShouldPersistTaps="handled"
158
160
  showsVerticalScrollIndicator={false}
159
161
  testID="return-questions-form"