@lookiero/checkout 3.6.0-beta.9 → 3.6.1-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 (124) hide show
  1. package/dist/infrastructure/projection/checkout/checkout.js +12 -0
  2. package/dist/infrastructure/ui/components/layouts/layout/dummyLayout/DummyLayout.js +12 -7
  3. package/dist/infrastructure/ui/components/layouts/layout/dummyLayout/useScrollViewRef.d.ts +15 -0
  4. package/dist/infrastructure/ui/components/layouts/layout/dummyLayout/useScrollViewRef.js +14 -0
  5. package/dist/infrastructure/ui/components/organisms/checkoutQuestions/components/iconCheckoutQuestionItem/IconCheckoutQuestionItem.js +2 -2
  6. package/dist/infrastructure/ui/components/organisms/returnQuestions/components/hostSelectReturnQuestionItem/HostSelectReturnQuestionItem.js +1 -1
  7. package/dist/infrastructure/ui/components/organisms/returnQuestions/components/optionReturnQuestionItem/OptionReturnQuestionItem.js +1 -1
  8. package/dist/infrastructure/ui/components/organisms/returnQuestions/components/textareaReturnQuestionItem/TextareaReturnQuestionItem.js +1 -1
  9. package/dist/infrastructure/ui/views/App.js +5 -1
  10. package/dist/infrastructure/ui/views/feedback/components/checkoutQuestionsForm/CheckoutQuestionsForm.js +1 -1
  11. package/dist/infrastructure/ui/views/item/components/getOutOfCheckoutModal/GetOutOfCheckoutModal.js +4 -6
  12. package/dist/infrastructure/ui/views/item/components/getOutOfCheckoutModal/GetOutOfCheckoutModal.style.d.ts +3 -10
  13. package/dist/infrastructure/ui/views/item/components/getOutOfCheckoutModal/GetOutOfCheckoutModal.style.js +3 -10
  14. package/dist/infrastructure/ui/views/item/components/itemActions/ItemActions.js +3 -4
  15. package/dist/infrastructure/ui/views/item/components/itemActions/ItemActions.style.d.ts +0 -3
  16. package/dist/infrastructure/ui/views/item/components/itemActions/ItemActions.style.js +0 -3
  17. package/dist/infrastructure/ui/views/item/components/productVariantSlider/ProductVariantSlider.js +7 -15
  18. package/dist/infrastructure/ui/views/item/components/returnQuestionsFeedback/ReturnQuestionsFeedback.style.d.ts +0 -1
  19. package/dist/infrastructure/ui/views/item/components/returnQuestionsFeedback/ReturnQuestionsFeedback.style.js +0 -1
  20. package/dist/infrastructure/ui/views/item/components/returnQuestionsForm/ReturnQuestionsForm.js +2 -3
  21. package/dist/infrastructure/ui/views/item/components/returnQuestionsForm/ReturnQuestionsForm.style.d.ts +0 -3
  22. package/dist/infrastructure/ui/views/item/components/returnQuestionsForm/ReturnQuestionsForm.style.js +0 -3
  23. package/dist/infrastructure/ui/views/item/components/sizeWithoutStockModal/SizeWithoutStockModal.js +3 -4
  24. package/dist/infrastructure/ui/views/item/components/sizeWithoutStockModal/SizeWithoutStockModal.style.d.ts +3 -10
  25. package/dist/infrastructure/ui/views/item/components/sizeWithoutStockModal/SizeWithoutStockModal.style.js +3 -10
  26. package/dist/infrastructure/ui/views/summary/components/pricing/Pricing.js +5 -6
  27. package/dist/infrastructure/ui/views/summary/components/pricing/Pricing.style.d.ts +0 -6
  28. package/dist/infrastructure/ui/views/summary/components/pricing/Pricing.style.js +0 -6
  29. package/dist/shared/notifications/infrastructure/ui/components/modalNotifications/ModalNotificationItem.js +3 -4
  30. package/dist/shared/notifications/infrastructure/ui/components/modalNotifications/ModalNotificationItem.style.d.ts +3 -10
  31. package/dist/shared/notifications/infrastructure/ui/components/modalNotifications/ModalNotificationItem.style.js +3 -10
  32. package/dist/shared/ui/components/atoms/input/Input.js +1 -1
  33. package/dist/shared/ui/components/layouts/carousel/Carousel.d.ts +11 -0
  34. package/dist/shared/ui/components/layouts/carousel/Carousel.js +31 -0
  35. package/dist/shared/ui/components/layouts/carousel/Carousel.style.d.ts +17 -0
  36. package/dist/shared/ui/components/layouts/carousel/Carousel.style.js +7 -0
  37. package/dist/shared/ui/components/layouts/carousel/Carousel2.d.ts +16 -0
  38. package/dist/shared/ui/components/layouts/carousel/Carousel2.js +72 -0
  39. package/dist/shared/ui/components/layouts/carousel/DragComponent.d.ts +3 -0
  40. package/dist/shared/ui/components/layouts/carousel/DragComponent.js +48 -0
  41. package/dist/shared/ui/components/layouts/slider/Bullets.d.ts +10 -0
  42. package/dist/shared/ui/components/layouts/slider/Bullets.js +29 -0
  43. package/dist/shared/ui/components/layouts/slider/Bullets.style.d.ts +12 -0
  44. package/dist/shared/ui/components/layouts/slider/Bullets.style.js +15 -0
  45. package/dist/shared/ui/components/layouts/slider/Slider.d.ts +0 -5
  46. package/dist/shared/ui/components/layouts/slider/Slider.js +4 -4
  47. package/dist/shared/ui/components/layouts/slider/SliderDots.d.ts +8 -0
  48. package/dist/shared/ui/components/layouts/slider/SliderDots.js +16 -0
  49. package/dist/shared/ui/components/layouts/slider/SliderDots.style.d.ts +12 -0
  50. package/dist/shared/ui/components/layouts/slider/SliderDots.style.js +15 -0
  51. package/dist/shared/ui/components/molecules/selectField/SelectField.js +1 -1
  52. package/package.json +5 -1
  53. package/dist/domain/checkoutBooking/event/createNotificationWhenCheckoutBookingExpired.d.ts +0 -6
  54. package/dist/domain/checkoutBooking/event/createNotificationWhenCheckoutBookingExpired.js +0 -13
  55. package/dist/infrastructure/domain/uiSetting/react/useIncrementIntroShownCount.d.ts +0 -10
  56. package/dist/infrastructure/domain/uiSetting/react/useIncrementIntroShownCount.js +0 -11
  57. package/dist/infrastructure/projection/uiSetting/react/useShouldIntroBeShown.d.ts +0 -6
  58. package/dist/infrastructure/projection/uiSetting/react/useShouldIntroBeShown.js +0 -7
  59. package/dist/infrastructure/projection/uiSetting/react/useViewIntroShownCount.d.ts +0 -6
  60. package/dist/infrastructure/projection/uiSetting/react/useViewIntroShownCount.js +0 -9
  61. package/dist/infrastructure/ui/components/templates/SafeAreaScrollView.d.ts +0 -13
  62. package/dist/infrastructure/ui/components/templates/SafeAreaScrollView.js +0 -19
  63. package/dist/infrastructure/ui/components/templates/SafeAreaScrollView.style.ts.d.ts +0 -6
  64. package/dist/infrastructure/ui/components/templates/SafeAreaScrollView.style.ts.js +0 -7
  65. package/dist/infrastructure/ui/components/templates/header/header/Header.d.ts +0 -3
  66. package/dist/infrastructure/ui/components/templates/header/header/Header.js +0 -10
  67. package/dist/infrastructure/ui/components/templates/header/header/Header.style.d.ts +0 -9
  68. package/dist/infrastructure/ui/components/templates/header/header/Header.style.js +0 -12
  69. package/dist/infrastructure/ui/components/templates/safeAreaScrollView/SafeAreaScrollView.d.ts +0 -13
  70. package/dist/infrastructure/ui/components/templates/safeAreaScrollView/SafeAreaScrollView.js +0 -19
  71. package/dist/infrastructure/ui/components/templates/safeAreaScrollView/SafeAreaScrollView.style.ts.d.ts +0 -6
  72. package/dist/infrastructure/ui/components/templates/safeAreaScrollView/SafeAreaScrollView.style.ts.js +0 -7
  73. package/dist/infrastructure/ui/hooks/usePaymentInstrumentUpdateEvents.d.ts +0 -2
  74. package/dist/infrastructure/ui/hooks/usePaymentInstrumentUpdateEvents.js +0 -28
  75. package/dist/infrastructure/ui/hooks/useToast.d.ts +0 -11
  76. package/dist/infrastructure/ui/hooks/useToast.js +0 -49
  77. package/dist/infrastructure/ui/views/checkout/components/checkoutSuccessModal/CheckoutSuccessModal.d.ts +0 -7
  78. package/dist/infrastructure/ui/views/checkout/components/checkoutSuccessModal/CheckoutSuccessModal.js +0 -25
  79. package/dist/infrastructure/ui/views/checkout/components/checkoutSuccessModal/CheckoutSuccessModal.style.d.ts +0 -16
  80. package/dist/infrastructure/ui/views/checkout/components/checkoutSuccessModal/CheckoutSuccessModal.style.js +0 -19
  81. package/dist/infrastructure/ui/views/intro/Intro.d.ts +0 -6
  82. package/dist/infrastructure/ui/views/intro/Intro.js +0 -52
  83. package/dist/infrastructure/ui/views/intro/Intro.style.d.ts +0 -52
  84. package/dist/infrastructure/ui/views/intro/Intro.style.js +0 -55
  85. package/dist/infrastructure/ui/views/item/Item.style.d.ts +0 -15
  86. package/dist/infrastructure/ui/views/item/Item.style.js +0 -18
  87. package/dist/infrastructure/ui/views/item/components/productVariant/ProductVariant.d.ts +0 -26
  88. package/dist/infrastructure/ui/views/item/components/productVariant/ProductVariant.js +0 -44
  89. package/dist/infrastructure/ui/views/item/components/productVariant/ProductVariant.style.d.ts +0 -45
  90. package/dist/infrastructure/ui/views/item/components/productVariant/ProductVariant.style.js +0 -53
  91. package/dist/infrastructure/ui/views/item/components/sizeChangeModal/SizeChangeModal.d.ts +0 -7
  92. package/dist/infrastructure/ui/views/item/components/sizeChangeModal/SizeChangeModal.js +0 -25
  93. package/dist/infrastructure/ui/views/item/components/sizeChangeModal/SizeChangeModal.style.d.ts +0 -16
  94. package/dist/infrastructure/ui/views/item/components/sizeChangeModal/SizeChangeModal.style.js +0 -19
  95. package/dist/infrastructure/ui/views/navigation/Navigation.d.ts +0 -21
  96. package/dist/infrastructure/ui/views/navigation/Navigation.js +0 -45
  97. package/dist/infrastructure/ui/views/navigation/Navigation.style.d.ts +0 -5
  98. package/dist/infrastructure/ui/views/navigation/Navigation.style.js +0 -30
  99. package/dist/infrastructure/ui/views/navigation/components/header/Header.d.ts +0 -46
  100. package/dist/infrastructure/ui/views/navigation/components/header/Header.js +0 -120
  101. package/dist/infrastructure/ui/views/navigation/components/header/Header.style.d.ts +0 -31
  102. package/dist/infrastructure/ui/views/navigation/components/header/Header.style.js +0 -34
  103. package/dist/infrastructure/ui/views/navigation/components/header/Logo.d.ts +0 -7
  104. package/dist/infrastructure/ui/views/navigation/components/header/Logo.js +0 -11
  105. package/dist/infrastructure/ui/views/navigation/components/header/Logo.style.d.ts +0 -7
  106. package/dist/infrastructure/ui/views/navigation/components/header/Logo.style.js +0 -8
  107. package/dist/infrastructure/ui/views/summary/components/checkoutItemsTabs/CheckoutItemsTabs.d.ts +0 -12
  108. package/dist/infrastructure/ui/views/summary/components/checkoutItemsTabs/CheckoutItemsTabs.js +0 -24
  109. package/dist/infrastructure/ui/views/summary/components/checkoutItemsTabs/CheckoutItemsTabs.style.d.ts +0 -15
  110. package/dist/infrastructure/ui/views/summary/components/checkoutItemsTabs/CheckoutItemsTabs.style.js +0 -18
  111. package/dist/shared/notifications/domain/notification/command/createNotification.d.ts +0 -17
  112. package/dist/shared/notifications/domain/notification/command/createNotification.js +0 -7
  113. package/dist/shared/notifications/infrastructure/domain/notification/react/useCreateNotification.d.ts +0 -21
  114. package/dist/shared/notifications/infrastructure/domain/notification/react/useCreateNotification.js +0 -22
  115. package/dist/shared/notifications/infrastructure/ui/components/NotificationItem.d.ts +0 -12
  116. package/dist/shared/notifications/infrastructure/ui/components/NotificationItem.js +0 -24
  117. package/dist/shared/notifications/infrastructure/ui/components/Notifications.d.ts +0 -9
  118. package/dist/shared/notifications/infrastructure/ui/components/Notifications.js +0 -20
  119. package/dist/shared/notifications/infrastructure/ui/components/Notifications.style.d.ts +0 -36
  120. package/dist/shared/notifications/infrastructure/ui/components/Notifications.style.js +0 -31
  121. package/dist/shared/tracking/infrastructure/usePageView.d.ts +0 -13
  122. package/dist/shared/tracking/infrastructure/usePageView.js +0 -27
  123. package/dist/shared/ui/components/atoms/error/Error.style.d.ts +0 -6
  124. package/dist/shared/ui/components/atoms/error/Error.style.js +0 -9
@@ -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 };