@lookiero/checkout 2.4.1-beta.0 → 3.0.0-beta.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (71) hide show
  1. package/dist/infrastructure/ui/Root.d.ts +2 -1
  2. package/dist/infrastructure/ui/Root.js +2 -2
  3. package/dist/infrastructure/ui/components/layouts/layout/Layout.d.ts +11 -0
  4. package/dist/infrastructure/ui/components/layouts/layout/Layout.js +1 -0
  5. package/dist/infrastructure/ui/components/layouts/layout/components/footer/Footer.d.ts +6 -0
  6. package/dist/infrastructure/ui/components/layouts/layout/components/footer/Footer.js +4 -0
  7. package/dist/infrastructure/ui/components/layouts/layout/components/header/Header.d.ts +6 -0
  8. package/dist/infrastructure/ui/components/layouts/layout/components/header/Header.js +5 -0
  9. package/dist/infrastructure/ui/components/layouts/layout/components/header/Header.style.d.ts +45 -0
  10. package/dist/infrastructure/ui/components/layouts/layout/components/header/Header.style.js +31 -0
  11. package/dist/infrastructure/ui/components/layouts/layout/dummyLayout/DummyLayout.d.ts +3 -0
  12. package/dist/infrastructure/ui/components/layouts/layout/dummyLayout/DummyLayout.js +15 -0
  13. package/dist/infrastructure/ui/components/layouts/layout/dummyLayout/DummyLayout.style.d.ts +6 -0
  14. package/dist/infrastructure/ui/components/layouts/layout/dummyLayout/DummyLayout.style.js +7 -0
  15. package/dist/infrastructure/ui/components/organisms/returnQuestions/components/textareaReturnQuestionItem/TextareaReturnQuestionItem.d.ts +1 -2
  16. package/dist/infrastructure/ui/components/organisms/returnQuestions/components/textareaReturnQuestionItem/TextareaReturnQuestionItem.js +1 -1
  17. package/dist/infrastructure/ui/components/templates/footer/Footer.d.ts +3 -0
  18. package/dist/infrastructure/ui/components/templates/footer/Footer.js +13 -0
  19. package/dist/infrastructure/ui/components/templates/header/buttonIconPlaceholder/ButtonIconPlaceholder.d.ts +3 -0
  20. package/dist/infrastructure/ui/components/templates/header/buttonIconPlaceholder/ButtonIconPlaceholder.js +5 -0
  21. package/dist/infrastructure/ui/components/templates/header/buttonIconPlaceholder/ButtonIconPlaceholder.style.d.ts +9 -0
  22. package/dist/infrastructure/ui/components/templates/header/buttonIconPlaceholder/ButtonIconPlaceholder.style.js +12 -0
  23. package/dist/infrastructure/ui/components/templates/header/checkoutHeader/CheckoutHeader.d.ts +6 -0
  24. package/dist/infrastructure/ui/components/templates/header/checkoutHeader/CheckoutHeader.js +23 -0
  25. package/dist/infrastructure/ui/components/templates/header/header/Header.d.ts +3 -0
  26. package/dist/infrastructure/ui/components/templates/header/header/Header.js +10 -0
  27. package/dist/infrastructure/ui/components/templates/header/header/Header.style.d.ts +9 -0
  28. package/dist/infrastructure/ui/components/templates/header/header/Header.style.js +12 -0
  29. package/dist/infrastructure/ui/components/templates/header/itemDetailHeader/ItemDetailHeader.d.ts +6 -0
  30. package/dist/infrastructure/ui/components/templates/header/itemDetailHeader/ItemDetailHeader.js +20 -0
  31. package/dist/infrastructure/ui/components/templates/header/itemHeader/ItemHeader.d.ts +26 -0
  32. package/dist/infrastructure/ui/components/templates/header/itemHeader/ItemHeader.js +34 -0
  33. package/dist/infrastructure/ui/components/templates/header/logo/Logo.d.ts +7 -0
  34. package/dist/infrastructure/ui/components/templates/header/logo/Logo.js +11 -0
  35. package/dist/infrastructure/ui/components/templates/header/logo/Logo.style.d.ts +7 -0
  36. package/dist/infrastructure/ui/components/templates/header/logo/Logo.style.js +8 -0
  37. package/dist/infrastructure/ui/hooks/useSubmitCheckout.js +5 -0
  38. package/dist/infrastructure/ui/routing/CheckoutMiddleware.d.ts +1 -0
  39. package/dist/infrastructure/ui/routing/CheckoutMiddleware.js +4 -3
  40. package/dist/infrastructure/ui/routing/Routing.d.ts +2 -1
  41. package/dist/infrastructure/ui/routing/Routing.js +8 -8
  42. package/dist/infrastructure/ui/views/App.d.ts +0 -4
  43. package/dist/infrastructure/ui/views/App.js +2 -4
  44. package/dist/infrastructure/ui/views/checkout/Checkout.d.ts +2 -0
  45. package/dist/infrastructure/ui/views/checkout/Checkout.js +12 -6
  46. package/dist/infrastructure/ui/views/checkout/Checkout.style.d.ts +3 -0
  47. package/dist/infrastructure/ui/views/checkout/Checkout.style.js +3 -0
  48. package/dist/infrastructure/ui/views/feedback/Feedback.d.ts +2 -0
  49. package/dist/infrastructure/ui/views/feedback/Feedback.js +6 -6
  50. package/dist/infrastructure/ui/views/feedback/Feedback.style.d.ts +3 -0
  51. package/dist/infrastructure/ui/views/feedback/Feedback.style.js +4 -1
  52. package/dist/infrastructure/ui/views/item/Item.d.ts +2 -0
  53. package/dist/infrastructure/ui/views/item/Item.js +37 -4
  54. package/dist/infrastructure/ui/views/item/components/returnQuestionsForm/ReturnQuestionsForm.js +2 -2
  55. package/dist/infrastructure/ui/views/item/views/itemWithCustomerDecission/ItemWithCustomerDecission.js +2 -4
  56. package/dist/infrastructure/ui/views/item/views/itemWithCustomerDecission/ItemWithCustomerDecission.style.d.ts +3 -0
  57. package/dist/infrastructure/ui/views/item/views/itemWithCustomerDecission/ItemWithCustomerDecission.style.js +4 -1
  58. package/dist/infrastructure/ui/views/item/views/itemWithoutCustomerDecission/ItemWithoutCustomerDecission.js +5 -5
  59. package/dist/infrastructure/ui/views/item/views/itemWithoutCustomerDecission/ItemWithoutCustomerDecission.style.d.ts +6 -0
  60. package/dist/infrastructure/ui/views/item/views/itemWithoutCustomerDecission/ItemWithoutCustomerDecission.style.js +9 -0
  61. package/dist/infrastructure/ui/views/notFound/NotFound.d.ts +2 -0
  62. package/dist/infrastructure/ui/views/notFound/NotFound.js +9 -10
  63. package/dist/infrastructure/ui/views/notFound/NotFound.style.d.ts +1 -0
  64. package/dist/infrastructure/ui/views/notFound/NotFound.style.js +2 -1
  65. package/dist/infrastructure/ui/views/summary/Summary.d.ts +2 -0
  66. package/dist/infrastructure/ui/views/summary/Summary.js +11 -11
  67. package/dist/infrastructure/ui/views/summary/Summary.style.d.ts +3 -0
  68. package/dist/infrastructure/ui/views/summary/Summary.style.js +4 -1
  69. package/dist/shared/ui/components/layouts/modal/Modal.d.ts +0 -1
  70. package/dist/shared/ui/components/layouts/modal/Modal.js +2 -2
  71. package/package.json +1 -1
@@ -1,7 +1,10 @@
1
1
  import { StyleSheet } from "react-native";
2
2
  import { theme } from "../../theme/theme";
3
- const { spaceM, spaceL, spaceXL } = theme();
3
+ const { spaceM, spaceL, spaceXL, spaceXXL } = theme();
4
4
  const style = StyleSheet.create({
5
+ container: {
6
+ paddingBottom: spaceXXL,
7
+ },
5
8
  content: {
6
9
  paddingHorizontal: spaceXL,
7
10
  },
@@ -12,7 +12,6 @@ interface ModalProps {
12
12
  readonly footer?: ReactNode;
13
13
  readonly portalHostName?: string;
14
14
  readonly scroll?: boolean;
15
- readonly extraScrollHeight?: number | undefined;
16
15
  readonly size?: Partial<Record<ScreenSize, ColumnSize>>;
17
16
  readonly style?: Partial<Record<ModalStyle, StyleProp<ViewStyle>>>;
18
17
  readonly testID?: string;
@@ -15,7 +15,7 @@ const { spaceXL, spaceXXL } = theme();
15
15
  const TRANSITION_MODAL_SCALE = 0.9;
16
16
  const DEFAULT_SAFEAREA_INSET_TOP = spaceXXL;
17
17
  const MODAL_DESKTOP_VERTICAL_PADDING = spaceXXL;
18
- const Modal = ({ children, visible, header, footer, portalHostName, onClose, showCloseButton = false, size = { M: "2/3", L: "1/3" }, style: customStyle, scroll = false, extraScrollHeight, testID = "modal", }) => {
18
+ const Modal = ({ children, visible, header, footer, portalHostName, onClose, showCloseButton = false, size = { M: "2/3", L: "1/3" }, style: customStyle, scroll = false, testID = "modal", }) => {
19
19
  const { height: screenHeight } = Dimensions.get(Platform.OS === "web" ? "window" : "screen");
20
20
  const { top: safeAreaInsetTop, bottom: safeAreaInsetBottom } = useSafeAreaInsets();
21
21
  const screenSize = useScreenSize();
@@ -75,7 +75,7 @@ const Modal = ({ children, visible, header, footer, portalHostName, onClose, sho
75
75
  (header || showCloseButton) && (React.createElement(View, { style: [style.header, customStyle?.header] },
76
76
  React.createElement(View, null, header),
77
77
  showCloseButton && (React.createElement(ButtonIcon, { name: "close", style: { button: customStyle?.closeButton }, onPress: onClose })))),
78
- React.createElement(ModalContentView, { extraScrollHeight: extraScrollHeight },
78
+ React.createElement(ModalContentView, null,
79
79
  React.createElement(View, { style: {
80
80
  paddingBottom: safeAreaInsetBottom +
81
81
  (Platform.OS !== "ios" ? spaceXL : 0) +
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lookiero/checkout",
3
- "version": "2.4.1-beta.0",
3
+ "version": "3.0.0-beta.0",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "files": [