@lookiero/checkout 6.0.0-beta.2 → 6.0.0-beta.3

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.
@@ -34,7 +34,7 @@ const HostSelectReturnQuestionItem = ({ returnQuestion, children, portalHostName
34
34
  React.createElement(TouchableHighlight, { accessibilityLabel: testID, style: style.container, testID: testID, underlayColor: containerUnderlayColor, accessible: true, onPress: handleOnPress },
35
35
  React.createElement(View, { pointerEvents: "none" },
36
36
  React.createElement(InputField, { editable: false, icon: "arrow_down", label: placeholderText, value: inputValue }))),
37
- React.createElement(Modal, { portalHostName: portalHostName, visible: modalVisible, header: deepestReturnQuestionWithFeedback && (React.createElement(ButtonIcon, { name: "arrow_left", style: style.backButton, testID: "modal-back-button", onPress: handleOnBackButtonPress })), scroll: true, showCloseButton: true, onClose: handleOnModalClose },
37
+ React.createElement(Modal, { portalHostName: portalHostName, style: deepestReturnQuestionWithFeedback && { header: style.header }, visible: modalVisible, header: deepestReturnQuestionWithFeedback && (React.createElement(ButtonIcon, { name: "arrow_left", style: style.backButton, testID: "modal-back-button", onPress: handleOnBackButtonPress })), scroll: true, showCloseButton: true, onClose: handleOnModalClose },
38
38
  React.createElement(View, { style: style.modalContent }, children))));
39
39
  };
40
40
  export { HostSelectReturnQuestionItem };
@@ -6,6 +6,9 @@ declare const style: {
6
6
  container: {
7
7
  marginBottom: number;
8
8
  };
9
+ header: {
10
+ justifyContent: "space-between";
11
+ };
9
12
  modalContent: {
10
13
  paddingBottom: number;
11
14
  paddingHorizontal: number;
@@ -9,6 +9,9 @@ const style = StyleSheet.create({
9
9
  container: {
10
10
  marginBottom: space4,
11
11
  },
12
+ header: {
13
+ justifyContent: "space-between",
14
+ },
12
15
  modalContent: {
13
16
  paddingBottom: space6,
14
17
  paddingHorizontal: space6,
@@ -1 +1 @@
1
- export declare const VERSION = "6.0.0-beta.2";
1
+ export declare const VERSION = "6.0.0-beta.3";
@@ -1 +1 @@
1
- export const VERSION = "6.0.0-beta.2";
1
+ export const VERSION = "6.0.0-beta.3";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lookiero/checkout",
3
- "version": "6.0.0-beta.2",
3
+ "version": "6.0.0-beta.3",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "sideEffects": "false",
@@ -11,6 +11,9 @@ const style = StyleSheet.create({
11
11
  container: {
12
12
  marginBottom: space4,
13
13
  },
14
+ header: {
15
+ justifyContent: "space-between",
16
+ },
14
17
  modalContent: {
15
18
  paddingBottom: space6,
16
19
  paddingHorizontal: space6,
@@ -74,6 +74,7 @@ const HostSelectReturnQuestionItem: ReturnQuestionItem = ({
74
74
  </TouchableHighlight>
75
75
  <Modal
76
76
  portalHostName={portalHostName}
77
+ style={deepestReturnQuestionWithFeedback && { header: style.header }}
77
78
  visible={modalVisible}
78
79
  header={
79
80
  deepestReturnQuestionWithFeedback && (