@lookiero/checkout 9.8.4 → 9.8.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (13) hide show
  1. package/dist/src/infrastructure/ui/components/organisms/checkoutQuestions/components/textareaCheckoutQuestionItem/TextareaCheckoutQuestionItem.js +1 -1
  2. package/dist/src/infrastructure/ui/components/organisms/checkoutQuestions/components/textareaCheckoutQuestionItem/TextareaCheckoutQuestionItem.style.d.ts +0 -1
  3. package/dist/src/infrastructure/ui/components/organisms/checkoutQuestions/components/textareaCheckoutQuestionItem/TextareaCheckoutQuestionItem.style.js +0 -1
  4. package/dist/src/infrastructure/ui/components/organisms/returnQuestions/components/textareaReturnQuestionItem/TextareaReturnQuestionItem.js +1 -1
  5. package/dist/src/infrastructure/ui/components/organisms/returnQuestions/components/textareaReturnQuestionItem/TextareaReturnQuestionItem.style.d.ts +0 -1
  6. package/dist/src/infrastructure/ui/components/organisms/returnQuestions/components/textareaReturnQuestionItem/TextareaReturnQuestionItem.style.js +0 -1
  7. package/dist/src/version.d.ts +1 -1
  8. package/dist/src/version.js +1 -1
  9. package/package.json +1 -1
  10. package/src/infrastructure/ui/components/organisms/checkoutQuestions/components/textareaCheckoutQuestionItem/TextareaCheckoutQuestionItem.style.ts +0 -1
  11. package/src/infrastructure/ui/components/organisms/checkoutQuestions/components/textareaCheckoutQuestionItem/TextareaCheckoutQuestionItem.tsx +1 -0
  12. package/src/infrastructure/ui/components/organisms/returnQuestions/components/textareaReturnQuestionItem/TextareaReturnQuestionItem.style.ts +0 -1
  13. package/src/infrastructure/ui/components/organisms/returnQuestions/components/textareaReturnQuestionItem/TextareaReturnQuestionItem.tsx +1 -0
@@ -8,7 +8,7 @@ const TextareaCheckoutQuestionItem = ({ checkoutQuestion, checkoutQuestionParent
8
8
  const placeholderText = useMemo(() => (checkoutQuestion.placeholder ? formatMessage({ id: checkoutQuestion.placeholder }) : ""), [formatMessage, checkoutQuestion.placeholder]);
9
9
  const { feedback, onChange } = useCheckoutQuestionFeedbackForId({ id: checkoutQuestionParentId });
10
10
  const handleOnChange = useCallback((value) => onChange({ checkoutQuestionId: checkoutQuestionParentId, checkoutQuestionFeedback: value }), [onChange, checkoutQuestionParentId]);
11
- return (React.createElement(InputField, { label: placeholderText, value: feedback, input: ({ onBlur, onFocus, style }) => (React.createElement(TextInput, { placeholder: placeholderText, style: style, testID: testID, value: feedback, multiline: true, onBlur: onBlur, onChange: handleOnChange, onFocus: onFocus })), style: {
11
+ return (React.createElement(InputField, { label: placeholderText, value: feedback, input: ({ onBlur, onFocus, style }) => (React.createElement(TextInput, { placeholder: placeholderText, style: style, testID: testID, textAlignVertical: "top", value: feedback, multiline: true, onBlur: onBlur, onChange: handleOnChange, onFocus: onFocus })), style: {
12
12
  inputField: style.inputField,
13
13
  input: { container: style.inputContainer, input: style.input },
14
14
  } }));
@@ -1,7 +1,6 @@
1
1
  declare const style: {
2
2
  input: {
3
3
  paddingTop: number;
4
- height?: "auto" | undefined;
5
4
  };
6
5
  inputContainer: {
7
6
  alignItems?: "flex-start" | undefined;
@@ -8,7 +8,6 @@ const style = StyleSheet.create({
8
8
  ...Platform.select({
9
9
  android: {
10
10
  paddingTop: space2,
11
- height: "auto",
12
11
  },
13
12
  }),
14
13
  },
@@ -11,7 +11,7 @@ const TextareaReturnQuestionItem = ({ returnQuestion, returnQuestionParent, test
11
11
  const { feedback, onChange } = useReturnQuestionFeedbackForReturnQuestion({ returnQuestion: returnQuestionParent });
12
12
  const handleOnChange = useCallback((value) => onChange({ returnQuestionId: returnQuestionParent.id, returnQuestionFeedback: value }), [onChange, returnQuestionParent.id]);
13
13
  return (React.createElement(View, { style: style.wrapper, testID: "textarea-return-question-item" },
14
- React.createElement(InputField, { label: placeholderText, value: feedback, input: ({ onBlur, onFocus, style }) => (React.createElement(TextInput, { placeholder: placeholderText, style: style, testID: testID, value: feedback, multiline: true, onBlur: onBlur, onChange: handleOnChange, onFocus: onFocus })), style: {
14
+ React.createElement(InputField, { label: placeholderText, value: feedback, input: ({ onBlur, onFocus, style }) => (React.createElement(TextInput, { placeholder: placeholderText, style: style, testID: testID, textAlignVertical: "top", value: feedback, multiline: true, onBlur: onBlur, onChange: handleOnChange, onFocus: onFocus })), style: {
15
15
  inputField: style.inputField,
16
16
  input: { container: style.inputContainer, input: style.input },
17
17
  } })));
@@ -1,7 +1,6 @@
1
1
  declare const style: {
2
2
  input: {
3
3
  paddingTop: number;
4
- height?: "auto" | undefined;
5
4
  };
6
5
  inputContainer: {
7
6
  alignItems?: "flex-start" | undefined;
@@ -8,7 +8,6 @@ const style = StyleSheet.create({
8
8
  ...Platform.select({
9
9
  android: {
10
10
  paddingTop: space2,
11
- height: "auto",
12
11
  },
13
12
  }),
14
13
  },
@@ -1 +1 @@
1
- export declare const VERSION = "9.8.4";
1
+ export declare const VERSION = "9.8.5";
@@ -1 +1 @@
1
- export const VERSION = "9.8.4";
1
+ export const VERSION = "9.8.5";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lookiero/checkout",
3
- "version": "9.8.4",
3
+ "version": "9.8.5",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "sideEffects": "false",
@@ -11,7 +11,6 @@ const style = StyleSheet.create({
11
11
  ...Platform.select({
12
12
  android: {
13
13
  paddingTop: space2,
14
- height: "auto",
15
14
  },
16
15
  }),
17
16
  },
@@ -32,6 +32,7 @@ const TextareaCheckoutQuestionItem: CheckoutQuestionItem = ({
32
32
  placeholder={placeholderText}
33
33
  style={style}
34
34
  testID={testID}
35
+ textAlignVertical="top"
35
36
  value={feedback}
36
37
  multiline
37
38
  onBlur={onBlur}
@@ -11,7 +11,6 @@ const style = StyleSheet.create({
11
11
  ...Platform.select({
12
12
  android: {
13
13
  paddingTop: space2,
14
- height: "auto",
15
14
  },
16
15
  }),
17
16
  },
@@ -37,6 +37,7 @@ const TextareaReturnQuestionItem: ReturnQuestionItem<ReturnQuestionType.TEXTAREA
37
37
  placeholder={placeholderText}
38
38
  style={style}
39
39
  testID={testID}
40
+ textAlignVertical="top"
40
41
  value={feedback}
41
42
  multiline
42
43
  onBlur={onBlur}