@lookiero/checkout 14.1.0 → 14.2.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.
- package/dist/public/public/assets/adaptive-icon.png +0 -0
- package/dist/public/public/assets/favicon.png +0 -0
- package/dist/public/public/assets/icon.png +0 -0
- package/dist/public/public/assets/splash.png +0 -0
- package/dist/public/public/images/not-found.png +0 -0
- package/dist/src/ExpoRoot.d.ts +1 -0
- package/dist/src/ExpoRoot.js +3 -2
- package/dist/src/infrastructure/ui/components/atoms/fiveItemsDiscountBanner/FiveItemsDiscountBanner.js +3 -2
- package/dist/src/infrastructure/ui/components/atoms/price/Price.js +1 -1
- package/dist/src/infrastructure/ui/components/organisms/checkoutQuestions/components/buttonCheckoutQuestionItem/ButtonCheckoutQuestionItem.js +1 -1
- package/dist/src/infrastructure/ui/components/organisms/checkoutQuestions/components/hostDefaultCheckoutQuestionItem/HostDefaultCheckoutQuestionItem.js +1 -1
- package/dist/src/infrastructure/ui/components/organisms/checkoutQuestions/components/hostSelectCheckoutQuestionItem/HostSelectCheckoutQuestionItem.js +1 -1
- package/dist/src/infrastructure/ui/components/organisms/returnQuestions/components/hostDefaultReturnQuestionItem/HostDefaultReturnQuestionItem.js +1 -1
- package/dist/src/infrastructure/ui/components/organisms/returnQuestions/components/hostLegacyRadioGroupReturnQuestionItem/HostLegacyRadioGroupReturnQuestionItem.js +1 -1
- package/dist/src/infrastructure/ui/components/organisms/returnQuestions/components/hostRadioGroupReturnQuestionItem/HostRadioGroupReturnQuestionItem.js +1 -1
- package/dist/src/infrastructure/ui/components/organisms/returnQuestions/components/hostStackReturnQuestionItem/modal/HostStackReturnQuestionItem.js +1 -1
- package/dist/src/infrastructure/ui/components/organisms/returnQuestions/components/modalOptionReturnQuestionItems/ModalOptionReturnQuestionItems.js +1 -1
- package/dist/src/infrastructure/ui/components/organisms/returnQuestions/components/optionReturnQuestionItem/OptionReturnQuestionItem.js +1 -1
- package/dist/src/infrastructure/ui/components/organisms/returnQuestions/components/radioReturnQuestionItem/RadioReturnQuestionItem.js +3 -4
- package/dist/src/infrastructure/ui/components/organisms/returnQuestions/components/returnQuestionFeedbackItem/ReturnQuestionFeedbackItem.js +1 -1
- package/dist/src/infrastructure/ui/components/templates/header/checkoutHeader/CheckoutHeader.js +1 -1
- package/dist/src/infrastructure/ui/components/templates/header/itemDetailHeader/ItemDetailHeader.js +1 -1
- package/dist/src/infrastructure/ui/components/templates/header/itemHeader/ItemHeader.js +1 -1
- package/dist/src/infrastructure/ui/views/checkout/Checkout.js +2 -2
- package/dist/src/infrastructure/ui/views/item/components/banner/CustomerDecissionBanner.d.ts +1 -0
- package/dist/src/infrastructure/ui/views/item/components/banner/CustomerDecissionBanner.js +3 -2
- package/dist/src/infrastructure/ui/views/item/components/getOutOfCheckoutModal/GetOutOfCheckoutModal.js +4 -4
- package/dist/src/infrastructure/ui/views/item/components/productVariantDescription/ProductVariantDescription.js +1 -1
- package/dist/src/infrastructure/ui/views/item/components/returnQuestionsFeedback/ReturnQuestionsFeedback.js +1 -1
- package/dist/src/infrastructure/ui/views/item/components/selectModal/SelectModal.js +1 -1
- package/dist/src/infrastructure/ui/views/item/components/sizeWithoutStockModal/SizeWithoutStockModal.js +2 -2
- package/dist/src/infrastructure/ui/views/return/components/price/Price.js +1 -1
- package/dist/src/infrastructure/ui/views/return/components/productVariantPreview/ProductVariantPreview.js +1 -1
- package/dist/src/infrastructure/ui/views/return/components/returnQuestionsForm/ReturnQuestionsForm.js +2 -1
- package/dist/src/infrastructure/ui/views/shared/components/productVariant/ProductVariant.js +1 -1
- package/dist/src/infrastructure/ui/views/summary/Summary.js +2 -2
- package/dist/src/infrastructure/ui/views/summary/components/collapsiblePricing/CollapsiblePricing.js +2 -2
- package/dist/src/infrastructure/ui/views/summary/components/pricing/Pricing.js +1 -1
- package/dist/src/infrastructure/ui/views/summaryTabs/components/checkoutItemsTabs/CheckoutItemsTabs.js +1 -1
- package/dist/src/projection/order/order.d.ts +6 -0
- package/dist/src/projection/order/order.js +1 -0
- package/dist/src/projection/subscription/subscription.d.ts +2 -0
- package/dist/src/projection/subscription/subscription.js +1 -0
- package/dist/src/version.d.ts +2 -2
- package/dist/src/version.js +2 -2
- package/package.json +4 -4
- package/src/ExpoRoot.tsx +3 -2
- package/src/infrastructure/ui/components/atoms/fiveItemsDiscountBanner/FiveItemsDiscountBanner.tsx +3 -2
- package/src/infrastructure/ui/components/atoms/price/Price.tsx +1 -1
- package/src/infrastructure/ui/components/atoms/price/__snapshots__/Price.test.tsx.snap +11 -21
- package/src/infrastructure/ui/components/organisms/checkoutQuestions/components/buttonCheckoutQuestionItem/ButtonCheckoutQuestionItem.tsx +1 -1
- package/src/infrastructure/ui/components/organisms/checkoutQuestions/components/hostDefaultCheckoutQuestionItem/HostDefaultCheckoutQuestionItem.tsx +1 -1
- package/src/infrastructure/ui/components/organisms/checkoutQuestions/components/hostSelectCheckoutQuestionItem/HostSelectCheckoutQuestionItem.tsx +1 -1
- package/src/infrastructure/ui/components/organisms/returnQuestions/components/hostDefaultReturnQuestionItem/HostDefaultReturnQuestionItem.tsx +1 -1
- package/src/infrastructure/ui/components/organisms/returnQuestions/components/hostLegacyRadioGroupReturnQuestionItem/HostLegacyRadioGroupReturnQuestionItem.tsx +1 -1
- package/src/infrastructure/ui/components/organisms/returnQuestions/components/hostRadioGroupReturnQuestionItem/HostRadioGroupReturnQuestionItem.tsx +1 -1
- package/src/infrastructure/ui/components/organisms/returnQuestions/components/hostStackReturnQuestionItem/modal/HostStackReturnQuestionItem.tsx +1 -1
- package/src/infrastructure/ui/components/organisms/returnQuestions/components/modalOptionReturnQuestionItems/ModalOptionReturnQuestionItems.tsx +1 -1
- package/src/infrastructure/ui/components/organisms/returnQuestions/components/optionReturnQuestionItem/OptionReturnQuestionItem.tsx +1 -1
- package/src/infrastructure/ui/components/organisms/returnQuestions/components/radioReturnQuestionItem/RadioReturnQuestionItem.tsx +5 -6
- package/src/infrastructure/ui/components/organisms/returnQuestions/components/returnQuestionFeedbackItem/ReturnQuestionFeedbackItem.tsx +1 -1
- package/src/infrastructure/ui/components/templates/header/checkoutHeader/CheckoutHeader.tsx +1 -1
- package/src/infrastructure/ui/components/templates/header/checkoutHeader/__snapshots__/CheckoutHeader.test.tsx.snap +21 -20
- package/src/infrastructure/ui/components/templates/header/itemDetailHeader/ItemDetailHeader.tsx +1 -1
- package/src/infrastructure/ui/components/templates/header/itemDetailHeader/__snapshots__/ItemDetailHeader.test.tsx.snap +21 -20
- package/src/infrastructure/ui/components/templates/header/itemHeader/ItemHeader.tsx +1 -1
- package/src/infrastructure/ui/components/templates/header/itemHeader/__snapshots__/ItemHeader.test.tsx.snap +39 -33
- package/src/infrastructure/ui/views/checkout/Checkout.tsx +2 -2
- package/src/infrastructure/ui/views/item/components/banner/CustomerDecissionBanner.tsx +3 -2
- package/src/infrastructure/ui/views/item/components/banner/__snapshots__/CustomerDecissionBanner.test.tsx.snap +9 -21
- package/src/infrastructure/ui/views/item/components/getOutOfCheckoutModal/GetOutOfCheckoutModal.tsx +4 -4
- package/src/infrastructure/ui/views/item/components/getOutOfCheckoutModal/__snapshots__/GetOutOfCheckoutModal.test.tsx.snap +30 -32
- package/src/infrastructure/ui/views/item/components/itemActions/__snapshots__/ItemActions.test.tsx.snap +44 -36
- package/src/infrastructure/ui/views/item/components/productVariantDescription/ProductVariantDescription.tsx +1 -1
- package/src/infrastructure/ui/views/item/components/productVariantDescription/__snapshots__/ProductVariantDescription.test.tsx.snap +28 -56
- package/src/infrastructure/ui/views/item/components/returnQuestionsFeedback/ReturnQuestionsFeedback.tsx +1 -1
- package/src/infrastructure/ui/views/item/components/selectModal/SelectModal.tsx +1 -1
- package/src/infrastructure/ui/views/item/components/selectModal/__snapshots__/SelecModal.test.tsx.snap +28 -21
- package/src/infrastructure/ui/views/item/components/sizeWithoutStockModal/SizeWithoutStockModal.tsx +2 -2
- package/src/infrastructure/ui/views/item/components/sizeWithoutStockModal/__snapshots__/SizeWithoutStockModal.test.tsx.snap +27 -27
- package/src/infrastructure/ui/views/item/views/productVariant/__snapshots__/ProductVariant.test.tsx.snap +42 -84
- package/src/infrastructure/ui/views/return/components/price/Price.tsx +1 -1
- package/src/infrastructure/ui/views/return/components/price/__snapshots__/Price.test.tsx.snap +11 -21
- package/src/infrastructure/ui/views/return/components/productVariantPreview/ProductVariantPreview.tsx +1 -1
- package/src/infrastructure/ui/views/return/components/productVariantPreview/__snapshots__/ProductVariantPreview.test.tsx.snap +16 -28
- package/src/infrastructure/ui/views/return/components/returnQuestionsForm/ReturnQuestionsForm.tsx +2 -1
- package/src/infrastructure/ui/views/shared/components/productVariant/ProductVariant.tsx +1 -1
- package/src/infrastructure/ui/views/shared/components/productVariant/__snapshots__/ProductVariant.test.tsx.snap +68 -82
- package/src/infrastructure/ui/views/summary/Summary.tsx +2 -2
- package/src/infrastructure/ui/views/summary/components/collapsiblePricing/CollapsiblePricing.tsx +2 -2
- package/src/infrastructure/ui/views/summary/components/collapsiblePricing/__snapshots__/CollapsiblePricing.test.tsx.snap +50 -54
- package/src/infrastructure/ui/views/summary/components/pricing/Pricing.tsx +1 -1
- package/src/infrastructure/ui/views/summaryTabs/components/checkoutItemsTabs/CheckoutItemsTabs.tsx +1 -1
- package/src/infrastructure/ui/views/summaryTabs/components/checkoutItemsTabs/__snapshots__/CheckoutItemsTabs.test.tsx.snap +172 -196
|
@@ -173,20 +173,17 @@ exports[`GetOutOfCheckoutModal component matches the snapshot 1`] = `
|
|
|
173
173
|
}
|
|
174
174
|
>
|
|
175
175
|
<Text
|
|
176
|
-
allowFontScaling={false}
|
|
177
|
-
selectable={false}
|
|
178
176
|
style={
|
|
179
177
|
[
|
|
180
178
|
{
|
|
181
|
-
"color": "#0C0A0A",
|
|
182
179
|
"fontFamily": "AreaNormal-Semibold",
|
|
183
180
|
"fontSize": 22,
|
|
181
|
+
"fontStyle": "normal",
|
|
182
|
+
"fontWeight": "300",
|
|
184
183
|
"letterSpacing": -0.2,
|
|
185
184
|
"lineHeight": 26,
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
"paddingRight": 0,
|
|
189
|
-
"paddingTop": 0,
|
|
185
|
+
},
|
|
186
|
+
{
|
|
190
187
|
"textAlign": "center",
|
|
191
188
|
"width": "100%",
|
|
192
189
|
},
|
|
@@ -196,21 +193,18 @@ exports[`GetOutOfCheckoutModal component matches the snapshot 1`] = `
|
|
|
196
193
|
get_out_of_checkout_modal.title
|
|
197
194
|
</Text>
|
|
198
195
|
<Text
|
|
199
|
-
allowFontScaling={false}
|
|
200
|
-
selectable={false}
|
|
201
196
|
style={
|
|
202
197
|
[
|
|
203
198
|
{
|
|
204
|
-
"color": "#0C0A0A",
|
|
205
199
|
"fontFamily": "AreaNormal-Semibold",
|
|
206
200
|
"fontSize": 15,
|
|
201
|
+
"fontStyle": "normal",
|
|
202
|
+
"fontWeight": "300",
|
|
207
203
|
"letterSpacing": -0.2,
|
|
208
204
|
"lineHeight": 20,
|
|
205
|
+
},
|
|
206
|
+
{
|
|
209
207
|
"marginVertical": 32,
|
|
210
|
-
"paddingBottom": 0,
|
|
211
|
-
"paddingLeft": 0,
|
|
212
|
-
"paddingRight": 0,
|
|
213
|
-
"paddingTop": 0,
|
|
214
208
|
"width": "100%",
|
|
215
209
|
},
|
|
216
210
|
]
|
|
@@ -356,24 +350,26 @@ exports[`GetOutOfCheckoutModal component matches the snapshot 1`] = `
|
|
|
356
350
|
}
|
|
357
351
|
>
|
|
358
352
|
<Text
|
|
359
|
-
allowFontScaling={false}
|
|
360
353
|
selectable={false}
|
|
361
354
|
style={
|
|
362
355
|
[
|
|
363
356
|
{
|
|
364
|
-
"color": "#0C0A0A",
|
|
365
357
|
"fontFamily": "AreaNormal-Extrabold",
|
|
366
358
|
"fontSize": 15,
|
|
359
|
+
"fontStyle": "normal",
|
|
360
|
+
"fontWeight": "normal",
|
|
367
361
|
"letterSpacing": -0.2,
|
|
368
362
|
"lineHeight": 20,
|
|
369
|
-
"paddingBottom": 0,
|
|
370
|
-
"paddingLeft": 0,
|
|
371
|
-
"paddingRight": 0,
|
|
372
|
-
"paddingTop": 0,
|
|
373
|
-
"textAlign": "center",
|
|
374
|
-
"textTransform": "uppercase",
|
|
375
|
-
"width": "100%",
|
|
376
363
|
},
|
|
364
|
+
[
|
|
365
|
+
{
|
|
366
|
+
"textAlign": "center",
|
|
367
|
+
"width": "100%",
|
|
368
|
+
},
|
|
369
|
+
{
|
|
370
|
+
"textTransform": "uppercase",
|
|
371
|
+
},
|
|
372
|
+
],
|
|
377
373
|
]
|
|
378
374
|
}
|
|
379
375
|
>
|
|
@@ -528,24 +524,26 @@ exports[`GetOutOfCheckoutModal component matches the snapshot 1`] = `
|
|
|
528
524
|
}
|
|
529
525
|
>
|
|
530
526
|
<Text
|
|
531
|
-
allowFontScaling={false}
|
|
532
527
|
selectable={false}
|
|
533
528
|
style={
|
|
534
529
|
[
|
|
535
530
|
{
|
|
536
|
-
"color": "#0C0A0A",
|
|
537
531
|
"fontFamily": "AreaNormal-Extrabold",
|
|
538
532
|
"fontSize": 15,
|
|
533
|
+
"fontStyle": "normal",
|
|
534
|
+
"fontWeight": "normal",
|
|
539
535
|
"letterSpacing": -0.2,
|
|
540
536
|
"lineHeight": 20,
|
|
541
|
-
"paddingBottom": 0,
|
|
542
|
-
"paddingLeft": 0,
|
|
543
|
-
"paddingRight": 0,
|
|
544
|
-
"paddingTop": 0,
|
|
545
|
-
"textAlign": "center",
|
|
546
|
-
"textTransform": "uppercase",
|
|
547
|
-
"width": "100%",
|
|
548
537
|
},
|
|
538
|
+
[
|
|
539
|
+
{
|
|
540
|
+
"textAlign": "center",
|
|
541
|
+
"width": "100%",
|
|
542
|
+
},
|
|
543
|
+
{
|
|
544
|
+
"textTransform": "uppercase",
|
|
545
|
+
},
|
|
546
|
+
],
|
|
549
547
|
]
|
|
550
548
|
}
|
|
551
549
|
>
|
|
@@ -793,22 +793,27 @@ exports[`ItemActions component matches the snapshot 1`] = `
|
|
|
793
793
|
style={
|
|
794
794
|
[
|
|
795
795
|
{
|
|
796
|
-
"
|
|
797
|
-
"
|
|
798
|
-
"fontSize": 24,
|
|
796
|
+
"fontFamily": "AreaNormal-Semibold",
|
|
797
|
+
"fontSize": 15,
|
|
799
798
|
"fontStyle": "normal",
|
|
800
|
-
"fontWeight": "
|
|
801
|
-
"height": 24,
|
|
799
|
+
"fontWeight": "300",
|
|
802
800
|
"letterSpacing": -0.2,
|
|
803
|
-
"lineHeight":
|
|
804
|
-
"minHeight": 24,
|
|
805
|
-
"minWidth": 24,
|
|
806
|
-
"paddingBottom": 0,
|
|
807
|
-
"paddingLeft": 0,
|
|
808
|
-
"paddingRight": 0,
|
|
809
|
-
"paddingTop": 0,
|
|
810
|
-
"width": 24,
|
|
801
|
+
"lineHeight": 20,
|
|
811
802
|
},
|
|
803
|
+
[
|
|
804
|
+
{
|
|
805
|
+
"fontFamily": "auroraicons",
|
|
806
|
+
"fontSize": 24,
|
|
807
|
+
"fontStyle": "normal",
|
|
808
|
+
"fontWeight": "normal",
|
|
809
|
+
"height": 24,
|
|
810
|
+
"lineHeight": 24,
|
|
811
|
+
"minHeight": 24,
|
|
812
|
+
"minWidth": 24,
|
|
813
|
+
"width": 24,
|
|
814
|
+
},
|
|
815
|
+
undefined,
|
|
816
|
+
],
|
|
812
817
|
]
|
|
813
818
|
}
|
|
814
819
|
testID="icon"
|
|
@@ -847,21 +852,18 @@ exports[`ItemActions component matches the snapshot 1`] = `
|
|
|
847
852
|
}
|
|
848
853
|
>
|
|
849
854
|
<Text
|
|
850
|
-
allowFontScaling={false}
|
|
851
|
-
selectable={false}
|
|
852
855
|
style={
|
|
853
856
|
[
|
|
854
857
|
{
|
|
855
|
-
"color": "#0C0A0A",
|
|
856
858
|
"fontFamily": "AreaInktrap-Semibold",
|
|
857
859
|
"fontSize": 31,
|
|
860
|
+
"fontStyle": "normal",
|
|
861
|
+
"fontWeight": "normal",
|
|
858
862
|
"letterSpacing": -1,
|
|
859
863
|
"lineHeight": 36,
|
|
864
|
+
},
|
|
865
|
+
{
|
|
860
866
|
"marginBottom": 4,
|
|
861
|
-
"paddingBottom": 0,
|
|
862
|
-
"paddingLeft": 0,
|
|
863
|
-
"paddingRight": 0,
|
|
864
|
-
"paddingTop": 0,
|
|
865
867
|
},
|
|
866
868
|
]
|
|
867
869
|
}
|
|
@@ -905,21 +907,25 @@ exports[`ItemActions component matches the snapshot 1`] = `
|
|
|
905
907
|
testID="2875e66d-4e2a-47b1-a58b-61e316dcc66a"
|
|
906
908
|
>
|
|
907
909
|
<Text
|
|
908
|
-
allowFontScaling={false}
|
|
909
|
-
selectable={false}
|
|
910
910
|
style={
|
|
911
911
|
[
|
|
912
912
|
{
|
|
913
|
-
"color": "#837C7C",
|
|
914
913
|
"fontFamily": "AreaNormal-Semibold",
|
|
915
914
|
"fontSize": 15,
|
|
915
|
+
"fontStyle": "normal",
|
|
916
|
+
"fontWeight": "300",
|
|
916
917
|
"letterSpacing": -0.2,
|
|
917
|
-
"lineHeight":
|
|
918
|
-
"paddingBottom": 0,
|
|
919
|
-
"paddingLeft": 0,
|
|
920
|
-
"paddingRight": 0,
|
|
921
|
-
"paddingTop": 0,
|
|
918
|
+
"lineHeight": 20,
|
|
922
919
|
},
|
|
920
|
+
[
|
|
921
|
+
{
|
|
922
|
+
"lineHeight": 24,
|
|
923
|
+
},
|
|
924
|
+
{
|
|
925
|
+
"color": "#837C7C",
|
|
926
|
+
},
|
|
927
|
+
undefined,
|
|
928
|
+
],
|
|
923
929
|
]
|
|
924
930
|
}
|
|
925
931
|
>
|
|
@@ -963,21 +969,23 @@ exports[`ItemActions component matches the snapshot 1`] = `
|
|
|
963
969
|
testID="4016fcfc-a08e-4800-bc07-0d7dd59848fc"
|
|
964
970
|
>
|
|
965
971
|
<Text
|
|
966
|
-
allowFontScaling={false}
|
|
967
|
-
selectable={false}
|
|
968
972
|
style={
|
|
969
973
|
[
|
|
970
974
|
{
|
|
971
|
-
"color": "#0C0A0A",
|
|
972
975
|
"fontFamily": "AreaNormal-Semibold",
|
|
973
976
|
"fontSize": 15,
|
|
977
|
+
"fontStyle": "normal",
|
|
978
|
+
"fontWeight": "300",
|
|
974
979
|
"letterSpacing": -0.2,
|
|
975
|
-
"lineHeight":
|
|
976
|
-
"paddingBottom": 0,
|
|
977
|
-
"paddingLeft": 0,
|
|
978
|
-
"paddingRight": 0,
|
|
979
|
-
"paddingTop": 0,
|
|
980
|
+
"lineHeight": 20,
|
|
980
981
|
},
|
|
982
|
+
[
|
|
983
|
+
{
|
|
984
|
+
"lineHeight": 24,
|
|
985
|
+
},
|
|
986
|
+
false,
|
|
987
|
+
undefined,
|
|
988
|
+
],
|
|
981
989
|
]
|
|
982
990
|
}
|
|
983
991
|
>
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import React, { FC, useMemo } from "react";
|
|
2
2
|
import { View } from "react-native";
|
|
3
|
-
import { Text } from "@lookiero/aurora";
|
|
4
3
|
import { useI18nMessage } from "@lookiero/i18n-react";
|
|
5
4
|
import { Country } from "@lookiero/sty-psp-locale";
|
|
5
|
+
import { Text } from "@lookiero/sty-psp-ui";
|
|
6
6
|
import { useScreenSize } from "@lookiero/sty-psp-ui";
|
|
7
7
|
import { PriceProjection } from "../../../../../../projection/price/price";
|
|
8
8
|
import { SizeProjection, size } from "../../../../../../projection/size/size";
|
|
@@ -59,20 +59,18 @@ exports[`ProductVariantDescription component matches the snapshot for a non-uniq
|
|
|
59
59
|
}
|
|
60
60
|
>
|
|
61
61
|
<Text
|
|
62
|
-
allowFontScaling={false}
|
|
63
|
-
selectable={false}
|
|
64
62
|
style={
|
|
65
63
|
[
|
|
66
64
|
{
|
|
67
|
-
"color": "#837C7C",
|
|
68
65
|
"fontFamily": "AreaNormal-Semibold",
|
|
69
66
|
"fontSize": 13,
|
|
67
|
+
"fontStyle": "normal",
|
|
68
|
+
"fontWeight": "normal",
|
|
70
69
|
"letterSpacing": 0.1,
|
|
71
70
|
"lineHeight": 17,
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
"
|
|
75
|
-
"paddingTop": 0,
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
"color": "#837C7C",
|
|
76
74
|
},
|
|
77
75
|
]
|
|
78
76
|
}
|
|
@@ -80,21 +78,17 @@ exports[`ProductVariantDescription component matches the snapshot for a non-uniq
|
|
|
80
78
|
CKS
|
|
81
79
|
</Text>
|
|
82
80
|
<Text
|
|
83
|
-
allowFontScaling={false}
|
|
84
|
-
selectable={false}
|
|
85
81
|
style={
|
|
86
82
|
[
|
|
87
83
|
{
|
|
88
|
-
"color": "#0C0A0A",
|
|
89
84
|
"fontFamily": "AreaNormal-Extrabold",
|
|
90
85
|
"fontSize": 13,
|
|
86
|
+
"fontStyle": "normal",
|
|
87
|
+
"fontWeight": "normal",
|
|
91
88
|
"letterSpacing": 0.1,
|
|
92
89
|
"lineHeight": 17,
|
|
93
|
-
"paddingBottom": 0,
|
|
94
|
-
"paddingLeft": 0,
|
|
95
|
-
"paddingRight": 0,
|
|
96
|
-
"paddingTop": 0,
|
|
97
90
|
},
|
|
91
|
+
undefined,
|
|
98
92
|
]
|
|
99
93
|
}
|
|
100
94
|
>
|
|
@@ -110,21 +104,17 @@ exports[`ProductVariantDescription component matches the snapshot for a non-uniq
|
|
|
110
104
|
testID="price"
|
|
111
105
|
>
|
|
112
106
|
<Text
|
|
113
|
-
allowFontScaling={false}
|
|
114
|
-
selectable={false}
|
|
115
107
|
style={
|
|
116
108
|
[
|
|
117
109
|
{
|
|
118
|
-
"color": "#0C0A0A",
|
|
119
110
|
"fontFamily": "AreaNormal-Semibold",
|
|
120
111
|
"fontSize": 13,
|
|
112
|
+
"fontStyle": "normal",
|
|
113
|
+
"fontWeight": "normal",
|
|
121
114
|
"letterSpacing": 0.1,
|
|
122
115
|
"lineHeight": 17,
|
|
123
|
-
"paddingBottom": 0,
|
|
124
|
-
"paddingLeft": 0,
|
|
125
|
-
"paddingRight": 0,
|
|
126
|
-
"paddingTop": 0,
|
|
127
116
|
},
|
|
117
|
+
undefined,
|
|
128
118
|
]
|
|
129
119
|
}
|
|
130
120
|
testID="price-text"
|
|
@@ -134,21 +124,17 @@ exports[`ProductVariantDescription component matches the snapshot for a non-uniq
|
|
|
134
124
|
</View>
|
|
135
125
|
</View>
|
|
136
126
|
<Text
|
|
137
|
-
allowFontScaling={false}
|
|
138
|
-
selectable={false}
|
|
139
127
|
style={
|
|
140
128
|
[
|
|
141
129
|
{
|
|
142
|
-
"color": "#0C0A0A",
|
|
143
130
|
"fontFamily": "AreaNormal-Semibold",
|
|
144
131
|
"fontSize": 13,
|
|
132
|
+
"fontStyle": "normal",
|
|
133
|
+
"fontWeight": "normal",
|
|
145
134
|
"letterSpacing": 0.1,
|
|
146
135
|
"lineHeight": 17,
|
|
147
|
-
"paddingBottom": 0,
|
|
148
|
-
"paddingLeft": 0,
|
|
149
|
-
"paddingRight": 0,
|
|
150
|
-
"paddingTop": 0,
|
|
151
136
|
},
|
|
137
|
+
undefined,
|
|
152
138
|
]
|
|
153
139
|
}
|
|
154
140
|
>
|
|
@@ -217,20 +203,18 @@ exports[`ProductVariantDescription component matches the snapshot for an unique
|
|
|
217
203
|
}
|
|
218
204
|
>
|
|
219
205
|
<Text
|
|
220
|
-
allowFontScaling={false}
|
|
221
|
-
selectable={false}
|
|
222
206
|
style={
|
|
223
207
|
[
|
|
224
208
|
{
|
|
225
|
-
"color": "#837C7C",
|
|
226
209
|
"fontFamily": "AreaNormal-Semibold",
|
|
227
210
|
"fontSize": 13,
|
|
211
|
+
"fontStyle": "normal",
|
|
212
|
+
"fontWeight": "normal",
|
|
228
213
|
"letterSpacing": 0.1,
|
|
229
214
|
"lineHeight": 17,
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
"
|
|
233
|
-
"paddingTop": 0,
|
|
215
|
+
},
|
|
216
|
+
{
|
|
217
|
+
"color": "#837C7C",
|
|
234
218
|
},
|
|
235
219
|
]
|
|
236
220
|
}
|
|
@@ -238,21 +222,17 @@ exports[`ProductVariantDescription component matches the snapshot for an unique
|
|
|
238
222
|
CKS
|
|
239
223
|
</Text>
|
|
240
224
|
<Text
|
|
241
|
-
allowFontScaling={false}
|
|
242
|
-
selectable={false}
|
|
243
225
|
style={
|
|
244
226
|
[
|
|
245
227
|
{
|
|
246
|
-
"color": "#0C0A0A",
|
|
247
228
|
"fontFamily": "AreaNormal-Extrabold",
|
|
248
229
|
"fontSize": 13,
|
|
230
|
+
"fontStyle": "normal",
|
|
231
|
+
"fontWeight": "normal",
|
|
249
232
|
"letterSpacing": 0.1,
|
|
250
233
|
"lineHeight": 17,
|
|
251
|
-
"paddingBottom": 0,
|
|
252
|
-
"paddingLeft": 0,
|
|
253
|
-
"paddingRight": 0,
|
|
254
|
-
"paddingTop": 0,
|
|
255
234
|
},
|
|
235
|
+
undefined,
|
|
256
236
|
]
|
|
257
237
|
}
|
|
258
238
|
>
|
|
@@ -268,21 +248,17 @@ exports[`ProductVariantDescription component matches the snapshot for an unique
|
|
|
268
248
|
testID="price"
|
|
269
249
|
>
|
|
270
250
|
<Text
|
|
271
|
-
allowFontScaling={false}
|
|
272
|
-
selectable={false}
|
|
273
251
|
style={
|
|
274
252
|
[
|
|
275
253
|
{
|
|
276
|
-
"color": "#0C0A0A",
|
|
277
254
|
"fontFamily": "AreaNormal-Semibold",
|
|
278
255
|
"fontSize": 13,
|
|
256
|
+
"fontStyle": "normal",
|
|
257
|
+
"fontWeight": "normal",
|
|
279
258
|
"letterSpacing": 0.1,
|
|
280
259
|
"lineHeight": 17,
|
|
281
|
-
"paddingBottom": 0,
|
|
282
|
-
"paddingLeft": 0,
|
|
283
|
-
"paddingRight": 0,
|
|
284
|
-
"paddingTop": 0,
|
|
285
260
|
},
|
|
261
|
+
undefined,
|
|
286
262
|
]
|
|
287
263
|
}
|
|
288
264
|
testID="price-text"
|
|
@@ -292,21 +268,17 @@ exports[`ProductVariantDescription component matches the snapshot for an unique
|
|
|
292
268
|
</View>
|
|
293
269
|
</View>
|
|
294
270
|
<Text
|
|
295
|
-
allowFontScaling={false}
|
|
296
|
-
selectable={false}
|
|
297
271
|
style={
|
|
298
272
|
[
|
|
299
273
|
{
|
|
300
|
-
"color": "#0C0A0A",
|
|
301
274
|
"fontFamily": "AreaNormal-Semibold",
|
|
302
275
|
"fontSize": 13,
|
|
276
|
+
"fontStyle": "normal",
|
|
277
|
+
"fontWeight": "normal",
|
|
303
278
|
"letterSpacing": 0.1,
|
|
304
279
|
"lineHeight": 17,
|
|
305
|
-
"paddingBottom": 0,
|
|
306
|
-
"paddingLeft": 0,
|
|
307
|
-
"paddingRight": 0,
|
|
308
|
-
"paddingTop": 0,
|
|
309
280
|
},
|
|
281
|
+
undefined,
|
|
310
282
|
]
|
|
311
283
|
}
|
|
312
284
|
>
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React, { FC, useMemo } from "react";
|
|
2
2
|
import { View } from "react-native";
|
|
3
|
-
import { Text } from "@lookiero/aurora";
|
|
4
3
|
import { useI18nMessage } from "@lookiero/i18n-react";
|
|
4
|
+
import { Text } from "@lookiero/sty-psp-ui";
|
|
5
5
|
import { ButtonIcon } from "@lookiero/sty-psp-ui";
|
|
6
6
|
import { ReturnQuestionProjection } from "../../../../../../projection/returnQuestion/returnQuestion";
|
|
7
7
|
import { ReturnQuestionType } from "../../../../../../projection/returnQuestion/returnQuestion.constants";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React, { FC, useCallback, useMemo } from "react";
|
|
2
2
|
import { StyleProp, TextStyle, TouchableHighlight, View, ViewStyle } from "react-native";
|
|
3
|
-
import { Text } from "@lookiero/
|
|
3
|
+
import { Text } from "@lookiero/sty-psp-ui";
|
|
4
4
|
import { Modal } from "@lookiero/sty-psp-ui";
|
|
5
5
|
import { style as modalStyle } from "./SelectModal.style";
|
|
6
6
|
|
|
@@ -206,22 +206,27 @@ exports[`SelectField component matches the snapshot 1`] = `
|
|
|
206
206
|
style={
|
|
207
207
|
[
|
|
208
208
|
{
|
|
209
|
-
"
|
|
210
|
-
"
|
|
211
|
-
"fontSize": 24,
|
|
209
|
+
"fontFamily": "AreaNormal-Semibold",
|
|
210
|
+
"fontSize": 15,
|
|
212
211
|
"fontStyle": "normal",
|
|
213
|
-
"fontWeight": "
|
|
214
|
-
"height": 24,
|
|
212
|
+
"fontWeight": "300",
|
|
215
213
|
"letterSpacing": -0.2,
|
|
216
|
-
"lineHeight":
|
|
217
|
-
"minHeight": 24,
|
|
218
|
-
"minWidth": 24,
|
|
219
|
-
"paddingBottom": 0,
|
|
220
|
-
"paddingLeft": 0,
|
|
221
|
-
"paddingRight": 0,
|
|
222
|
-
"paddingTop": 0,
|
|
223
|
-
"width": 24,
|
|
214
|
+
"lineHeight": 20,
|
|
224
215
|
},
|
|
216
|
+
[
|
|
217
|
+
{
|
|
218
|
+
"fontFamily": "auroraicons",
|
|
219
|
+
"fontSize": 24,
|
|
220
|
+
"fontStyle": "normal",
|
|
221
|
+
"fontWeight": "normal",
|
|
222
|
+
"height": 24,
|
|
223
|
+
"lineHeight": 24,
|
|
224
|
+
"minHeight": 24,
|
|
225
|
+
"minWidth": 24,
|
|
226
|
+
"width": 24,
|
|
227
|
+
},
|
|
228
|
+
undefined,
|
|
229
|
+
],
|
|
225
230
|
]
|
|
226
231
|
}
|
|
227
232
|
testID="icon"
|
|
@@ -296,21 +301,23 @@ exports[`SelectField component matches the snapshot 1`] = `
|
|
|
296
301
|
testID="optionValue"
|
|
297
302
|
>
|
|
298
303
|
<Text
|
|
299
|
-
allowFontScaling={false}
|
|
300
|
-
selectable={false}
|
|
301
304
|
style={
|
|
302
305
|
[
|
|
303
306
|
{
|
|
304
|
-
"color": "#0C0A0A",
|
|
305
307
|
"fontFamily": "AreaNormal-Semibold",
|
|
306
308
|
"fontSize": 15,
|
|
309
|
+
"fontStyle": "normal",
|
|
310
|
+
"fontWeight": "300",
|
|
307
311
|
"letterSpacing": -0.2,
|
|
308
|
-
"lineHeight":
|
|
309
|
-
"paddingBottom": 0,
|
|
310
|
-
"paddingLeft": 0,
|
|
311
|
-
"paddingRight": 0,
|
|
312
|
-
"paddingTop": 0,
|
|
312
|
+
"lineHeight": 20,
|
|
313
313
|
},
|
|
314
|
+
[
|
|
315
|
+
{
|
|
316
|
+
"lineHeight": 24,
|
|
317
|
+
},
|
|
318
|
+
false,
|
|
319
|
+
undefined,
|
|
320
|
+
],
|
|
314
321
|
]
|
|
315
322
|
}
|
|
316
323
|
>
|
package/src/infrastructure/ui/views/item/components/sizeWithoutStockModal/SizeWithoutStockModal.tsx
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import React, { FC, useMemo } from "react";
|
|
2
2
|
import { View } from "react-native";
|
|
3
|
-
import { Button
|
|
3
|
+
import { Button } from "@lookiero/aurora";
|
|
4
4
|
import { useI18nMessage } from "@lookiero/i18n-react";
|
|
5
|
-
import { Modal } from "@lookiero/sty-psp-ui";
|
|
5
|
+
import { Modal, Text } from "@lookiero/sty-psp-ui";
|
|
6
6
|
import { DOMAIN, I18nMessages } from "../../../../i18n/i18n";
|
|
7
7
|
import { style as sizeWithoutStockModalStyle } from "./SizeWithoutStockModal.style";
|
|
8
8
|
|
|
@@ -206,22 +206,27 @@ exports[`SizeWithoutStockModal component matches the snapshot 1`] = `
|
|
|
206
206
|
style={
|
|
207
207
|
[
|
|
208
208
|
{
|
|
209
|
-
"
|
|
210
|
-
"
|
|
211
|
-
"fontSize": 24,
|
|
209
|
+
"fontFamily": "AreaNormal-Semibold",
|
|
210
|
+
"fontSize": 15,
|
|
212
211
|
"fontStyle": "normal",
|
|
213
|
-
"fontWeight": "
|
|
214
|
-
"height": 24,
|
|
212
|
+
"fontWeight": "300",
|
|
215
213
|
"letterSpacing": -0.2,
|
|
216
|
-
"lineHeight":
|
|
217
|
-
"minHeight": 24,
|
|
218
|
-
"minWidth": 24,
|
|
219
|
-
"paddingBottom": 0,
|
|
220
|
-
"paddingLeft": 0,
|
|
221
|
-
"paddingRight": 0,
|
|
222
|
-
"paddingTop": 0,
|
|
223
|
-
"width": 24,
|
|
214
|
+
"lineHeight": 20,
|
|
224
215
|
},
|
|
216
|
+
[
|
|
217
|
+
{
|
|
218
|
+
"fontFamily": "auroraicons",
|
|
219
|
+
"fontSize": 24,
|
|
220
|
+
"fontStyle": "normal",
|
|
221
|
+
"fontWeight": "normal",
|
|
222
|
+
"height": 24,
|
|
223
|
+
"lineHeight": 24,
|
|
224
|
+
"minHeight": 24,
|
|
225
|
+
"minWidth": 24,
|
|
226
|
+
"width": 24,
|
|
227
|
+
},
|
|
228
|
+
undefined,
|
|
229
|
+
],
|
|
225
230
|
]
|
|
226
231
|
}
|
|
227
232
|
testID="icon"
|
|
@@ -255,21 +260,18 @@ exports[`SizeWithoutStockModal component matches the snapshot 1`] = `
|
|
|
255
260
|
}
|
|
256
261
|
>
|
|
257
262
|
<Text
|
|
258
|
-
allowFontScaling={false}
|
|
259
|
-
selectable={false}
|
|
260
263
|
style={
|
|
261
264
|
[
|
|
262
265
|
{
|
|
263
|
-
"color": "#0C0A0A",
|
|
264
266
|
"fontFamily": "AreaInktrap-Semibold",
|
|
265
267
|
"fontSize": 31,
|
|
268
|
+
"fontStyle": "normal",
|
|
269
|
+
"fontWeight": "normal",
|
|
266
270
|
"letterSpacing": -1,
|
|
267
271
|
"lineHeight": 36,
|
|
272
|
+
},
|
|
273
|
+
{
|
|
268
274
|
"marginBottom": 4,
|
|
269
|
-
"paddingBottom": 0,
|
|
270
|
-
"paddingLeft": 0,
|
|
271
|
-
"paddingRight": 0,
|
|
272
|
-
"paddingTop": 0,
|
|
273
275
|
"width": "100%",
|
|
274
276
|
},
|
|
275
277
|
]
|
|
@@ -278,21 +280,19 @@ exports[`SizeWithoutStockModal component matches the snapshot 1`] = `
|
|
|
278
280
|
size_without_stock_modal.title
|
|
279
281
|
</Text>
|
|
280
282
|
<Text
|
|
281
|
-
allowFontScaling={false}
|
|
282
|
-
selectable={false}
|
|
283
283
|
style={
|
|
284
284
|
[
|
|
285
285
|
{
|
|
286
|
-
"color": "#837C7C",
|
|
287
286
|
"fontFamily": "AreaNormal-Semibold",
|
|
288
287
|
"fontSize": 15,
|
|
288
|
+
"fontStyle": "normal",
|
|
289
|
+
"fontWeight": "300",
|
|
289
290
|
"letterSpacing": -0.2,
|
|
290
291
|
"lineHeight": 20,
|
|
292
|
+
},
|
|
293
|
+
{
|
|
294
|
+
"color": "#837C7C",
|
|
291
295
|
"marginBottom": 24,
|
|
292
|
-
"paddingBottom": 0,
|
|
293
|
-
"paddingLeft": 0,
|
|
294
|
-
"paddingRight": 0,
|
|
295
|
-
"paddingTop": 0,
|
|
296
296
|
"width": "100%",
|
|
297
297
|
},
|
|
298
298
|
]
|