@lookiero/checkout 3.3.0-beta.0 → 3.4.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 (116) hide show
  1. package/dist/infrastructure/ui/components/organisms/checkoutQuestions/components/textareaCheckoutQuestionItem/TextareaCheckoutQuestionItem.js +4 -3
  2. package/dist/infrastructure/ui/components/organisms/returnQuestions/components/hostSelectReturnQuestionItem/HostSelectReturnQuestionItem.js +5 -4
  3. package/dist/infrastructure/ui/components/organisms/returnQuestions/components/hostStackReturnQuestionItem/HostStackReturnQuestionItem.js +5 -4
  4. package/dist/infrastructure/ui/components/organisms/returnQuestions/components/textareaReturnQuestionItem/TextareaReturnQuestionItem.js +4 -3
  5. package/dist/infrastructure/ui/views/checkout/components/deliveryBanner/DeliveryBanner.js +1 -1
  6. package/dist/infrastructure/ui/views/item/components/banner/CustomerDecissionBanner.js +1 -1
  7. package/dist/infrastructure/ui/views/item/components/itemActions/ItemActions.js +1 -1
  8. package/dist/infrastructure/ui/views/summary/components/pricing/Pricing.js +4 -4
  9. package/dist/shared/notifications/infrastructure/ui/components/toastNotifications/ToastNotificationItem.js +5 -4
  10. package/package.json +3 -3
  11. package/dist/domain/checkout/command/markCheckoutAsPaid.d.ts +0 -13
  12. package/dist/domain/checkout/command/markCheckoutAsPaid.js +0 -4
  13. package/dist/domain/checkout/model/checkoutPaid.d.ts +0 -13
  14. package/dist/domain/checkout/model/checkoutPaid.js +0 -4
  15. package/dist/domain/checkoutBooking/event/createNotificationWhenCheckoutBookingExpired.d.ts +0 -6
  16. package/dist/domain/checkoutBooking/event/createNotificationWhenCheckoutBookingExpired.js +0 -13
  17. package/dist/infrastructure/domain/checkout/model/httpCheckoutsMarkAsPaid.d.ts +0 -5
  18. package/dist/infrastructure/domain/checkout/model/httpCheckoutsMarkAsPaid.js +0 -13
  19. package/dist/infrastructure/domain/checkout/react/useMarkCheckoutAsPaid.d.ts +0 -13
  20. package/dist/infrastructure/domain/checkout/react/useMarkCheckoutAsPaid.js +0 -16
  21. package/dist/infrastructure/domain/checkoutBooking/react/useBookCheckouBookingForCheckoutItem.d.ts +0 -13
  22. package/dist/infrastructure/domain/checkoutBooking/react/useBookCheckouBookingForCheckoutItem.js +0 -14
  23. package/dist/infrastructure/domain/uiSetting/react/useIncrementIntroShownCount.d.ts +0 -10
  24. package/dist/infrastructure/domain/uiSetting/react/useIncrementIntroShownCount.js +0 -11
  25. package/dist/infrastructure/projection/bookedSizeChangeProductsVariants/httpBookedSizeChangeProductsVariantsForCheckoutItemView.d.ts +0 -12
  26. package/dist/infrastructure/projection/bookedSizeChangeProductsVariants/httpBookedSizeChangeProductsVariantsForCheckoutItemView.js +0 -9
  27. package/dist/infrastructure/projection/bookedSizeChangeProductsVariants/react/useViewBookedSizeChangeProductsVariantsForCheckoutItem.d.ts +0 -10
  28. package/dist/infrastructure/projection/bookedSizeChangeProductsVariants/react/useViewBookedSizeChangeProductsVariantsForCheckoutItem.js +0 -12
  29. package/dist/infrastructure/projection/checkoutFeedback/httpCheckoutFeedbackByCheckoutIdView.d.ts +0 -12
  30. package/dist/infrastructure/projection/checkoutFeedback/httpCheckoutFeedbackByCheckoutIdView.js +0 -9
  31. package/dist/infrastructure/projection/uiSetting/react/useShouldIntroBeShown.d.ts +0 -6
  32. package/dist/infrastructure/projection/uiSetting/react/useShouldIntroBeShown.js +0 -7
  33. package/dist/infrastructure/projection/uiSetting/react/useViewIntroShownCount.d.ts +0 -6
  34. package/dist/infrastructure/projection/uiSetting/react/useViewIntroShownCount.js +0 -9
  35. package/dist/infrastructure/ui/components/templates/SafeAreaScrollView.d.ts +0 -13
  36. package/dist/infrastructure/ui/components/templates/SafeAreaScrollView.js +0 -19
  37. package/dist/infrastructure/ui/components/templates/SafeAreaScrollView.style.ts.d.ts +0 -6
  38. package/dist/infrastructure/ui/components/templates/SafeAreaScrollView.style.ts.js +0 -7
  39. package/dist/infrastructure/ui/hooks/useToast.d.ts +0 -11
  40. package/dist/infrastructure/ui/hooks/useToast.js +0 -49
  41. package/dist/infrastructure/ui/views/App.style.d.ts +0 -4
  42. package/dist/infrastructure/ui/views/App.style.js +0 -16
  43. package/dist/infrastructure/ui/views/checkout/components/checkoutSuccessModal/CheckoutSuccessModal.d.ts +0 -7
  44. package/dist/infrastructure/ui/views/checkout/components/checkoutSuccessModal/CheckoutSuccessModal.js +0 -25
  45. package/dist/infrastructure/ui/views/checkout/components/checkoutSuccessModal/CheckoutSuccessModal.style.d.ts +0 -16
  46. package/dist/infrastructure/ui/views/checkout/components/checkoutSuccessModal/CheckoutSuccessModal.style.js +0 -19
  47. package/dist/infrastructure/ui/views/header/Header.d.ts +0 -15
  48. package/dist/infrastructure/ui/views/header/Header.js +0 -90
  49. package/dist/infrastructure/ui/views/header/Header.style.d.ts +0 -35
  50. package/dist/infrastructure/ui/views/header/Header.style.js +0 -38
  51. package/dist/infrastructure/ui/views/header/components/Logo.d.ts +0 -7
  52. package/dist/infrastructure/ui/views/header/components/Logo.js +0 -11
  53. package/dist/infrastructure/ui/views/header/components/Logo.style.d.ts +0 -7
  54. package/dist/infrastructure/ui/views/header/components/Logo.style.js +0 -8
  55. package/dist/infrastructure/ui/views/intro/Intro.d.ts +0 -6
  56. package/dist/infrastructure/ui/views/intro/Intro.js +0 -52
  57. package/dist/infrastructure/ui/views/intro/Intro.style.d.ts +0 -55
  58. package/dist/infrastructure/ui/views/intro/Intro.style.js +0 -58
  59. package/dist/infrastructure/ui/views/item/Item.style.d.ts +0 -15
  60. package/dist/infrastructure/ui/views/item/Item.style.js +0 -18
  61. package/dist/infrastructure/ui/views/item/components/productVariant/ProductVariant.d.ts +0 -26
  62. package/dist/infrastructure/ui/views/item/components/productVariant/ProductVariant.js +0 -44
  63. package/dist/infrastructure/ui/views/item/components/productVariant/ProductVariant.style.d.ts +0 -45
  64. package/dist/infrastructure/ui/views/item/components/productVariant/ProductVariant.style.js +0 -53
  65. package/dist/infrastructure/ui/views/item/components/sizeChangeModal/SizeChangeModal.d.ts +0 -7
  66. package/dist/infrastructure/ui/views/item/components/sizeChangeModal/SizeChangeModal.js +0 -25
  67. package/dist/infrastructure/ui/views/item/components/sizeChangeModal/SizeChangeModal.style.d.ts +0 -16
  68. package/dist/infrastructure/ui/views/item/components/sizeChangeModal/SizeChangeModal.style.js +0 -19
  69. package/dist/infrastructure/ui/views/navigation/Navigation.d.ts +0 -21
  70. package/dist/infrastructure/ui/views/navigation/Navigation.js +0 -45
  71. package/dist/infrastructure/ui/views/navigation/Navigation.style.d.ts +0 -5
  72. package/dist/infrastructure/ui/views/navigation/Navigation.style.js +0 -30
  73. package/dist/infrastructure/ui/views/navigation/components/header/Header.d.ts +0 -46
  74. package/dist/infrastructure/ui/views/navigation/components/header/Header.js +0 -120
  75. package/dist/infrastructure/ui/views/navigation/components/header/Header.style.d.ts +0 -31
  76. package/dist/infrastructure/ui/views/navigation/components/header/Header.style.js +0 -34
  77. package/dist/infrastructure/ui/views/navigation/components/header/Logo.d.ts +0 -7
  78. package/dist/infrastructure/ui/views/navigation/components/header/Logo.js +0 -11
  79. package/dist/infrastructure/ui/views/navigation/components/header/Logo.style.d.ts +0 -7
  80. package/dist/infrastructure/ui/views/navigation/components/header/Logo.style.js +0 -8
  81. package/dist/infrastructure/ui/views/summary/components/checkoutItemsTabs/CheckoutItemsTabs.d.ts +0 -12
  82. package/dist/infrastructure/ui/views/summary/components/checkoutItemsTabs/CheckoutItemsTabs.js +0 -24
  83. package/dist/infrastructure/ui/views/summary/components/checkoutItemsTabs/CheckoutItemsTabs.style.d.ts +0 -15
  84. package/dist/infrastructure/ui/views/summary/components/checkoutItemsTabs/CheckoutItemsTabs.style.js +0 -18
  85. package/dist/projection/bookedSizeChangeProductsVariants/bookedSizeChangeProductsVariants.d.ts +0 -10
  86. package/dist/projection/bookedSizeChangeProductsVariants/bookedSizeChangeProductsVariants.js +0 -1
  87. package/dist/projection/bookedSizeChangeProductsVariants/viewBookedSizeChangeProductVariantsForCheckoutItem.d.ts +0 -25
  88. package/dist/projection/bookedSizeChangeProductsVariants/viewBookedSizeChangeProductVariantsForCheckoutItem.js +0 -8
  89. package/dist/projection/checkoutFeedback/viewCheckoutFeedbackByCheckoutId.d.ts +0 -25
  90. package/dist/projection/checkoutFeedback/viewCheckoutFeedbackByCheckoutId.js +0 -8
  91. package/dist/shared/logging/location.d.ts +0 -3
  92. package/dist/shared/logging/location.js +0 -5
  93. package/dist/shared/logging/matchRoutes.d.ts +0 -3
  94. package/dist/shared/logging/matchRoutes.js +0 -7
  95. package/dist/shared/logging/reactRouterV6Instrumentation/reactRouterV6Instrumentation.native.d.ts +0 -29
  96. package/dist/shared/logging/reactRouterV6Instrumentation/reactRouterV6Instrumentation.native.js +0 -134
  97. package/dist/shared/logging/reactRouterV6Instrumentation/transactionContext.d.ts +0 -22
  98. package/dist/shared/logging/reactRouterV6Instrumentation/transactionContext.js +0 -15
  99. package/dist/shared/logging/reactRouterV6Instrumentation.native.d.ts +0 -27
  100. package/dist/shared/logging/reactRouterV6Instrumentation.native.js +0 -115
  101. package/dist/shared/notifications/domain/notification/command/createNotification.d.ts +0 -17
  102. package/dist/shared/notifications/domain/notification/command/createNotification.js +0 -7
  103. package/dist/shared/notifications/domain/notification/command/removeNotification.tes.d.ts +0 -1
  104. package/dist/shared/notifications/domain/notification/command/removeNotification.tes.js +0 -9
  105. package/dist/shared/notifications/infrastructure/domain/notification/react/useCreateNotification.d.ts +0 -21
  106. package/dist/shared/notifications/infrastructure/domain/notification/react/useCreateNotification.js +0 -22
  107. package/dist/shared/notifications/infrastructure/ui/components/NotificationItem.d.ts +0 -12
  108. package/dist/shared/notifications/infrastructure/ui/components/NotificationItem.js +0 -24
  109. package/dist/shared/notifications/infrastructure/ui/components/Notifications.d.ts +0 -9
  110. package/dist/shared/notifications/infrastructure/ui/components/Notifications.js +0 -20
  111. package/dist/shared/notifications/infrastructure/ui/components/Notifications.style.d.ts +0 -36
  112. package/dist/shared/notifications/infrastructure/ui/components/Notifications.style.js +0 -31
  113. package/dist/shared/tracking/infrastructure/usePageView.d.ts +0 -13
  114. package/dist/shared/tracking/infrastructure/usePageView.js +0 -27
  115. package/dist/shared/ui/components/atoms/error/Error.style.d.ts +0 -6
  116. package/dist/shared/ui/components/atoms/error/Error.style.js +0 -9
@@ -1,31 +0,0 @@
1
- import { Platform, StyleSheet } from "react-native";
2
- import { theme } from "../../../../../infrastructure/ui/theme/theme";
3
- const { spaceM } = theme();
4
- const style = StyleSheet.create({
5
- // eslint-disable-next-line @typescript-eslint/ban-ts-comment
6
- // @ts-ignore
7
- notifications: {
8
- left: 0,
9
- ...Platform.select({
10
- web: { position: "fixed" },
11
- ios: { position: "absolute" },
12
- android: { position: "absolute" },
13
- }),
14
- flexDirection: "column",
15
- top: 0,
16
- width: "100%",
17
- zIndex: 20,
18
- },
19
- row: {
20
- flex: 1,
21
- justifyContent: "center",
22
- },
23
- rowSmall: {
24
- paddingLeft: spaceM,
25
- paddingRight: spaceM,
26
- },
27
- toast: {
28
- marginTop: spaceM,
29
- },
30
- });
31
- export { style };
@@ -1,13 +0,0 @@
1
- import { TrackingPage } from "../../../infrastructure/tracking/tracking";
2
- import { Country } from "../../../projection/shared/country";
3
- interface UsePageViewFunctionArgs {
4
- readonly page: TrackingPage;
5
- readonly country: Country;
6
- readonly checkoutId?: string;
7
- readonly checkoutItemId?: string;
8
- }
9
- interface UsePageViewFunction {
10
- (agrs: UsePageViewFunctionArgs): void;
11
- }
12
- declare const usePageView: UsePageViewFunction;
13
- export { usePageView };
@@ -1,27 +0,0 @@
1
- import { useLayoutEffect } from "react";
2
- import { PROJECT } from "../../../infrastructure/tracking/tracking";
3
- import { TrackingEvent, TrackingEventCategory } from "../tracking";
4
- import { useEmitUserEvent } from "./useEmitUserEvent";
5
- const usePageView = ({ page, country, checkoutId, checkoutItemId }) => {
6
- const emitUserEvent = useEmitUserEvent();
7
- useLayoutEffect(() => {
8
- if (!checkoutId) {
9
- return;
10
- }
11
- const baseTrackingEvent = {
12
- event: TrackingEvent.PAGEVIEW,
13
- eventCategory: TrackingEventCategory.NAVIGATION,
14
- section: `${PROJECT}_${page}`,
15
- store: country,
16
- checkoutId,
17
- };
18
- const pageViewTrackingEvent = checkoutItemId
19
- ? {
20
- ...baseTrackingEvent,
21
- checkoutItemId,
22
- }
23
- : baseTrackingEvent;
24
- emitUserEvent(pageViewTrackingEvent);
25
- }, [checkoutId, checkoutItemId, country, emitUserEvent, page]);
26
- };
27
- export { usePageView };
@@ -1,6 +0,0 @@
1
- declare const style: {
2
- error: {
3
- color: string;
4
- };
5
- };
6
- export { style };
@@ -1,9 +0,0 @@
1
- import { StyleSheet } from "react-native";
2
- import { theme } from "../../../../../infrastructure/ui/theme/theme";
3
- const { colorPrimary } = theme();
4
- const style = StyleSheet.create({
5
- error: {
6
- color: colorPrimary,
7
- },
8
- });
9
- export { style };