@lookiero/checkout 0.2.21 → 0.2.22

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 (85) hide show
  1. package/dist/infrastructure/projection/returnQuestion/returnQuestions.mock.js +1 -1
  2. package/dist/infrastructure/ui/components/layouts/body/Body.js +4 -7
  3. package/dist/infrastructure/ui/components/layouts/body/Body.style.d.ts +2 -2
  4. package/dist/infrastructure/ui/components/layouts/body/Body.style.js +2 -2
  5. package/dist/infrastructure/ui/components/organisms/returnQuestions/ReturnQuestion.d.ts +1 -0
  6. package/dist/infrastructure/ui/components/organisms/returnQuestions/ReturnQuestion.js +3 -3
  7. package/dist/infrastructure/ui/components/organisms/returnQuestions/ReturnQuestions.d.ts +1 -0
  8. package/dist/infrastructure/ui/components/organisms/returnQuestions/ReturnQuestions.js +1 -1
  9. package/dist/infrastructure/ui/components/organisms/returnQuestions/components/ReturnQuestionItem.d.ts +3 -2
  10. package/dist/infrastructure/ui/components/organisms/returnQuestions/components/hostSelectReturnQuestionItem/HostSelectReturnQuestionItem.js +10 -9
  11. package/dist/infrastructure/ui/components/organisms/returnQuestions/components/hostSelectReturnQuestionItem/HostSelectReturnQuestionItem.style.d.ts +1 -10
  12. package/dist/infrastructure/ui/components/organisms/returnQuestions/components/hostSelectReturnQuestionItem/HostSelectReturnQuestionItem.style.js +1 -10
  13. package/dist/infrastructure/ui/components/organisms/returnQuestions/components/hostStackReturnQuestionItem/HostStackReturnQuestionItem.js +4 -4
  14. package/dist/infrastructure/ui/components/organisms/returnQuestions/components/hostStackReturnQuestionItem/HostStackReturnQuestionItem.style.d.ts +1 -0
  15. package/dist/infrastructure/ui/components/organisms/returnQuestions/components/hostStackReturnQuestionItem/HostStackReturnQuestionItem.style.js +7 -3
  16. package/dist/infrastructure/ui/components/organisms/returnQuestions/components/optionReturnQuestionItem/OptionReturnQuestionItem.js +1 -1
  17. package/dist/infrastructure/ui/components/organisms/returnQuestions/components/optionReturnQuestionItem/OptionReturnQuestionItem.style.d.ts +3 -0
  18. package/dist/infrastructure/ui/components/organisms/returnQuestions/components/optionReturnQuestionItem/OptionReturnQuestionItem.style.js +3 -0
  19. package/dist/infrastructure/ui/components/organisms/returnQuestions/components/textareaReturnQuestionItem/TextareaReturnQuestionItem.js +3 -2
  20. package/dist/infrastructure/ui/components/templates/SafeAreaScrollView.d.ts +2 -2
  21. package/dist/infrastructure/ui/components/templates/SafeAreaScrollView.js +2 -1
  22. package/dist/infrastructure/ui/routing/CheckoutAccessibilityMiddleware.js +1 -1
  23. package/dist/infrastructure/ui/routing/CheckoutMiddleware.js +1 -1
  24. package/dist/infrastructure/ui/routing/Routing.js +21 -14
  25. package/dist/infrastructure/ui/{components → shared/components}/atoms/error/Error.style.js +1 -1
  26. package/dist/infrastructure/ui/{components → shared/components}/atoms/field/Field.js +1 -1
  27. package/dist/infrastructure/ui/{components → shared/components}/atoms/field/Field.style.js +1 -1
  28. package/dist/infrastructure/ui/shared/components/atoms/icon/Icon.d.ts +12 -0
  29. package/dist/infrastructure/ui/shared/components/atoms/icon/Icon.js +7 -0
  30. package/dist/infrastructure/ui/shared/components/atoms/icon/Icon.style.d.ts +13 -0
  31. package/dist/infrastructure/ui/shared/components/atoms/icon/Icon.style.js +16 -0
  32. package/dist/infrastructure/ui/{components → shared/components}/atoms/input/Input.d.ts +1 -1
  33. package/dist/infrastructure/ui/{components → shared/components}/atoms/input/Input.js +1 -1
  34. package/dist/infrastructure/ui/{components → shared/components}/atoms/input/Input.style.d.ts +4 -1
  35. package/dist/infrastructure/ui/{components → shared/components}/atoms/input/Input.style.js +10 -3
  36. package/dist/infrastructure/ui/{components → shared/components}/atoms/spinner/Spinner.js +1 -1
  37. package/dist/infrastructure/ui/shared/components/layouts/column/Column.d.ts +10 -0
  38. package/dist/infrastructure/ui/shared/components/layouts/column/Column.js +10 -0
  39. package/dist/infrastructure/ui/shared/components/layouts/column/Column.style.d.ts +12 -0
  40. package/dist/infrastructure/ui/shared/components/layouts/column/Column.style.js +23 -0
  41. package/dist/infrastructure/ui/shared/components/layouts/modal/Modal.d.ts +17 -0
  42. package/dist/infrastructure/ui/shared/components/layouts/modal/Modal.js +60 -0
  43. package/dist/infrastructure/ui/shared/components/layouts/modal/Modal.style.d.ts +49 -0
  44. package/dist/infrastructure/ui/shared/components/layouts/modal/Modal.style.js +62 -0
  45. package/dist/infrastructure/ui/shared/components/layouts/row/Row.d.ts +6 -0
  46. package/dist/infrastructure/ui/shared/components/layouts/row/Row.js +10 -0
  47. package/dist/infrastructure/ui/shared/components/layouts/row/Row.style.d.ts +13 -0
  48. package/dist/infrastructure/ui/shared/components/layouts/row/Row.style.js +17 -0
  49. package/dist/infrastructure/ui/{components → shared/components}/layouts/slider/Pagination.d.ts +2 -2
  50. package/dist/infrastructure/ui/{components → shared/components}/layouts/slider/Pagination.style.js +1 -1
  51. package/dist/infrastructure/ui/{components → shared/components}/layouts/slider/Slider.d.ts +1 -1
  52. package/dist/infrastructure/ui/shared/components/molecules/buttonIcon/ButtonIcon.d.ts +14 -0
  53. package/dist/infrastructure/ui/shared/components/molecules/buttonIcon/ButtonIcon.js +7 -0
  54. package/dist/infrastructure/ui/shared/components/molecules/buttonIcon/ButtonIcon.style.d.ts +7 -0
  55. package/dist/infrastructure/ui/shared/components/molecules/buttonIcon/ButtonIcon.style.js +10 -0
  56. package/dist/infrastructure/ui/{components → shared/components}/molecules/inputField/InputField.d.ts +8 -6
  57. package/dist/infrastructure/ui/{components → shared/components}/molecules/inputField/InputField.js +8 -5
  58. package/dist/infrastructure/ui/{components → shared/components}/molecules/inputField/InputField.style.d.ts +6 -0
  59. package/dist/infrastructure/ui/{components → shared/components}/molecules/inputField/InputField.style.js +8 -2
  60. package/dist/infrastructure/ui/shared/hooks/useScreenSize.d.ts +4 -0
  61. package/dist/infrastructure/ui/shared/hooks/useScreenSize.js +9 -0
  62. package/dist/infrastructure/ui/views/App.d.ts +3 -0
  63. package/dist/infrastructure/ui/views/App.js +8 -0
  64. package/dist/infrastructure/ui/views/intro/Intro.js +1 -1
  65. package/dist/infrastructure/ui/views/item/Item.js +5 -5
  66. package/dist/infrastructure/ui/views/item/components/productVariantSlider/ProductVariantSlider.js +1 -1
  67. package/dist/infrastructure/ui/views/item/components/returnQuestionsForm/ReturnQuestionsForm.js +17 -9
  68. package/dist/infrastructure/ui/views/item/components/returnQuestionsForm/ReturnQuestionsForm.style.d.ts +1 -13
  69. package/dist/infrastructure/ui/views/item/components/returnQuestionsForm/ReturnQuestionsForm.style.js +2 -14
  70. package/dist/projection/returnQuestion/returnQuestion.d.ts +1 -0
  71. package/dist/projection/returnQuestion/returnQuestion.js +1 -0
  72. package/package.json +5 -2
  73. /package/dist/infrastructure/ui/{components → shared/components}/atoms/error/Error.d.ts +0 -0
  74. /package/dist/infrastructure/ui/{components → shared/components}/atoms/error/Error.js +0 -0
  75. /package/dist/infrastructure/ui/{components → shared/components}/atoms/error/Error.style.d.ts +0 -0
  76. /package/dist/infrastructure/ui/{components → shared/components}/atoms/field/Field.d.ts +0 -0
  77. /package/dist/infrastructure/ui/{components → shared/components}/atoms/field/Field.style.d.ts +0 -0
  78. /package/dist/infrastructure/ui/{components → shared/components}/atoms/spinner/Spinner.d.ts +0 -0
  79. /package/dist/infrastructure/ui/{components → shared/components}/atoms/spinner/Spinner.style.d.ts +0 -0
  80. /package/dist/infrastructure/ui/{components → shared/components}/atoms/spinner/Spinner.style.js +0 -0
  81. /package/dist/infrastructure/ui/{components → shared/components}/layouts/slider/Pagination.js +0 -0
  82. /package/dist/infrastructure/ui/{components → shared/components}/layouts/slider/Pagination.style.d.ts +0 -0
  83. /package/dist/infrastructure/ui/{components → shared/components}/layouts/slider/Slider.js +0 -0
  84. /package/dist/infrastructure/ui/{components → shared/components}/layouts/slider/Slider.style.d.ts +0 -0
  85. /package/dist/infrastructure/ui/{components → shared/components}/layouts/slider/Slider.style.js +0 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lookiero/checkout",
3
- "version": "0.2.21",
3
+ "version": "0.2.22",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "files": [
@@ -20,14 +20,17 @@
20
20
  "lint": "eslint --fix --cache --cache-location ./node_modules/.cache/.eslintcache --ext ts,tsx .",
21
21
  "format": "prettier --write \"**/*.+(json|css|ts|tsx|md)\"",
22
22
  "test": "tsc -p ./tsconfig.test.json --noemit && jest",
23
- "test:coverage": "jest --coverage --coverageReporters=text --detectOpenHandles --forceExit --silent"
23
+ "test:coverage": "jest --coverage --coverageReporters=text --detectOpenHandles --forceExit --silent",
24
+ "prepare": "husky install"
24
25
  },
25
26
  "dependencies": {
27
+ "@gorhom/portal": "^1.0.14",
26
28
  "@lookiero/i18n": "^0.8.0",
27
29
  "@lookiero/i18n-react": "^0.8.0",
28
30
  "@lookiero/messaging": "^8.0.0",
29
31
  "@lookiero/messaging-react": "^8.0.0",
30
32
  "@react-spring/native": "^9.5.5",
33
+ "react-native-safe-area-context": "^4.4.1",
31
34
  "react-router-dom": "^6.4.1",
32
35
  "react-router-native": "^6.3.0",
33
36
  "tiny-invariant": "^1.2.0",