@lookiero/checkout 14.0.4 → 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 +31 -32
- package/src/infrastructure/ui/views/item/components/itemActions/__snapshots__/ItemActions.test.tsx.snap +45 -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 +29 -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 +28 -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
|
@@ -128,6 +128,7 @@ exports[`GetOutOfCheckoutModal component matches the snapshot 1`] = `
|
|
|
128
128
|
"borderBottomLeftRadius": 0,
|
|
129
129
|
"borderBottomRightRadius": 0,
|
|
130
130
|
},
|
|
131
|
+
false,
|
|
131
132
|
undefined,
|
|
132
133
|
{
|
|
133
134
|
"maxHeight": 800,
|
|
@@ -172,20 +173,17 @@ exports[`GetOutOfCheckoutModal component matches the snapshot 1`] = `
|
|
|
172
173
|
}
|
|
173
174
|
>
|
|
174
175
|
<Text
|
|
175
|
-
allowFontScaling={false}
|
|
176
|
-
selectable={false}
|
|
177
176
|
style={
|
|
178
177
|
[
|
|
179
178
|
{
|
|
180
|
-
"color": "#0C0A0A",
|
|
181
179
|
"fontFamily": "AreaNormal-Semibold",
|
|
182
180
|
"fontSize": 22,
|
|
181
|
+
"fontStyle": "normal",
|
|
182
|
+
"fontWeight": "300",
|
|
183
183
|
"letterSpacing": -0.2,
|
|
184
184
|
"lineHeight": 26,
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
"paddingRight": 0,
|
|
188
|
-
"paddingTop": 0,
|
|
185
|
+
},
|
|
186
|
+
{
|
|
189
187
|
"textAlign": "center",
|
|
190
188
|
"width": "100%",
|
|
191
189
|
},
|
|
@@ -195,21 +193,18 @@ exports[`GetOutOfCheckoutModal component matches the snapshot 1`] = `
|
|
|
195
193
|
get_out_of_checkout_modal.title
|
|
196
194
|
</Text>
|
|
197
195
|
<Text
|
|
198
|
-
allowFontScaling={false}
|
|
199
|
-
selectable={false}
|
|
200
196
|
style={
|
|
201
197
|
[
|
|
202
198
|
{
|
|
203
|
-
"color": "#0C0A0A",
|
|
204
199
|
"fontFamily": "AreaNormal-Semibold",
|
|
205
200
|
"fontSize": 15,
|
|
201
|
+
"fontStyle": "normal",
|
|
202
|
+
"fontWeight": "300",
|
|
206
203
|
"letterSpacing": -0.2,
|
|
207
204
|
"lineHeight": 20,
|
|
205
|
+
},
|
|
206
|
+
{
|
|
208
207
|
"marginVertical": 32,
|
|
209
|
-
"paddingBottom": 0,
|
|
210
|
-
"paddingLeft": 0,
|
|
211
|
-
"paddingRight": 0,
|
|
212
|
-
"paddingTop": 0,
|
|
213
208
|
"width": "100%",
|
|
214
209
|
},
|
|
215
210
|
]
|
|
@@ -355,24 +350,26 @@ exports[`GetOutOfCheckoutModal component matches the snapshot 1`] = `
|
|
|
355
350
|
}
|
|
356
351
|
>
|
|
357
352
|
<Text
|
|
358
|
-
allowFontScaling={false}
|
|
359
353
|
selectable={false}
|
|
360
354
|
style={
|
|
361
355
|
[
|
|
362
356
|
{
|
|
363
|
-
"color": "#0C0A0A",
|
|
364
357
|
"fontFamily": "AreaNormal-Extrabold",
|
|
365
358
|
"fontSize": 15,
|
|
359
|
+
"fontStyle": "normal",
|
|
360
|
+
"fontWeight": "normal",
|
|
366
361
|
"letterSpacing": -0.2,
|
|
367
362
|
"lineHeight": 20,
|
|
368
|
-
"paddingBottom": 0,
|
|
369
|
-
"paddingLeft": 0,
|
|
370
|
-
"paddingRight": 0,
|
|
371
|
-
"paddingTop": 0,
|
|
372
|
-
"textAlign": "center",
|
|
373
|
-
"textTransform": "uppercase",
|
|
374
|
-
"width": "100%",
|
|
375
363
|
},
|
|
364
|
+
[
|
|
365
|
+
{
|
|
366
|
+
"textAlign": "center",
|
|
367
|
+
"width": "100%",
|
|
368
|
+
},
|
|
369
|
+
{
|
|
370
|
+
"textTransform": "uppercase",
|
|
371
|
+
},
|
|
372
|
+
],
|
|
376
373
|
]
|
|
377
374
|
}
|
|
378
375
|
>
|
|
@@ -527,24 +524,26 @@ exports[`GetOutOfCheckoutModal component matches the snapshot 1`] = `
|
|
|
527
524
|
}
|
|
528
525
|
>
|
|
529
526
|
<Text
|
|
530
|
-
allowFontScaling={false}
|
|
531
527
|
selectable={false}
|
|
532
528
|
style={
|
|
533
529
|
[
|
|
534
530
|
{
|
|
535
|
-
"color": "#0C0A0A",
|
|
536
531
|
"fontFamily": "AreaNormal-Extrabold",
|
|
537
532
|
"fontSize": 15,
|
|
533
|
+
"fontStyle": "normal",
|
|
534
|
+
"fontWeight": "normal",
|
|
538
535
|
"letterSpacing": -0.2,
|
|
539
536
|
"lineHeight": 20,
|
|
540
|
-
"paddingBottom": 0,
|
|
541
|
-
"paddingLeft": 0,
|
|
542
|
-
"paddingRight": 0,
|
|
543
|
-
"paddingTop": 0,
|
|
544
|
-
"textAlign": "center",
|
|
545
|
-
"textTransform": "uppercase",
|
|
546
|
-
"width": "100%",
|
|
547
537
|
},
|
|
538
|
+
[
|
|
539
|
+
{
|
|
540
|
+
"textAlign": "center",
|
|
541
|
+
"width": "100%",
|
|
542
|
+
},
|
|
543
|
+
{
|
|
544
|
+
"textTransform": "uppercase",
|
|
545
|
+
},
|
|
546
|
+
],
|
|
548
547
|
]
|
|
549
548
|
}
|
|
550
549
|
>
|
|
@@ -715,6 +715,7 @@ exports[`ItemActions component matches the snapshot 1`] = `
|
|
|
715
715
|
"borderBottomLeftRadius": 0,
|
|
716
716
|
"borderBottomRightRadius": 0,
|
|
717
717
|
},
|
|
718
|
+
false,
|
|
718
719
|
undefined,
|
|
719
720
|
{
|
|
720
721
|
"maxHeight": 800,
|
|
@@ -792,22 +793,27 @@ exports[`ItemActions component matches the snapshot 1`] = `
|
|
|
792
793
|
style={
|
|
793
794
|
[
|
|
794
795
|
{
|
|
795
|
-
"
|
|
796
|
-
"
|
|
797
|
-
"fontSize": 24,
|
|
796
|
+
"fontFamily": "AreaNormal-Semibold",
|
|
797
|
+
"fontSize": 15,
|
|
798
798
|
"fontStyle": "normal",
|
|
799
|
-
"fontWeight": "
|
|
800
|
-
"height": 24,
|
|
799
|
+
"fontWeight": "300",
|
|
801
800
|
"letterSpacing": -0.2,
|
|
802
|
-
"lineHeight":
|
|
803
|
-
"minHeight": 24,
|
|
804
|
-
"minWidth": 24,
|
|
805
|
-
"paddingBottom": 0,
|
|
806
|
-
"paddingLeft": 0,
|
|
807
|
-
"paddingRight": 0,
|
|
808
|
-
"paddingTop": 0,
|
|
809
|
-
"width": 24,
|
|
801
|
+
"lineHeight": 20,
|
|
810
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
|
+
],
|
|
811
817
|
]
|
|
812
818
|
}
|
|
813
819
|
testID="icon"
|
|
@@ -846,21 +852,18 @@ exports[`ItemActions component matches the snapshot 1`] = `
|
|
|
846
852
|
}
|
|
847
853
|
>
|
|
848
854
|
<Text
|
|
849
|
-
allowFontScaling={false}
|
|
850
|
-
selectable={false}
|
|
851
855
|
style={
|
|
852
856
|
[
|
|
853
857
|
{
|
|
854
|
-
"color": "#0C0A0A",
|
|
855
858
|
"fontFamily": "AreaInktrap-Semibold",
|
|
856
859
|
"fontSize": 31,
|
|
860
|
+
"fontStyle": "normal",
|
|
861
|
+
"fontWeight": "normal",
|
|
857
862
|
"letterSpacing": -1,
|
|
858
863
|
"lineHeight": 36,
|
|
864
|
+
},
|
|
865
|
+
{
|
|
859
866
|
"marginBottom": 4,
|
|
860
|
-
"paddingBottom": 0,
|
|
861
|
-
"paddingLeft": 0,
|
|
862
|
-
"paddingRight": 0,
|
|
863
|
-
"paddingTop": 0,
|
|
864
867
|
},
|
|
865
868
|
]
|
|
866
869
|
}
|
|
@@ -904,21 +907,25 @@ exports[`ItemActions component matches the snapshot 1`] = `
|
|
|
904
907
|
testID="2875e66d-4e2a-47b1-a58b-61e316dcc66a"
|
|
905
908
|
>
|
|
906
909
|
<Text
|
|
907
|
-
allowFontScaling={false}
|
|
908
|
-
selectable={false}
|
|
909
910
|
style={
|
|
910
911
|
[
|
|
911
912
|
{
|
|
912
|
-
"color": "#837C7C",
|
|
913
913
|
"fontFamily": "AreaNormal-Semibold",
|
|
914
914
|
"fontSize": 15,
|
|
915
|
+
"fontStyle": "normal",
|
|
916
|
+
"fontWeight": "300",
|
|
915
917
|
"letterSpacing": -0.2,
|
|
916
|
-
"lineHeight":
|
|
917
|
-
"paddingBottom": 0,
|
|
918
|
-
"paddingLeft": 0,
|
|
919
|
-
"paddingRight": 0,
|
|
920
|
-
"paddingTop": 0,
|
|
918
|
+
"lineHeight": 20,
|
|
921
919
|
},
|
|
920
|
+
[
|
|
921
|
+
{
|
|
922
|
+
"lineHeight": 24,
|
|
923
|
+
},
|
|
924
|
+
{
|
|
925
|
+
"color": "#837C7C",
|
|
926
|
+
},
|
|
927
|
+
undefined,
|
|
928
|
+
],
|
|
922
929
|
]
|
|
923
930
|
}
|
|
924
931
|
>
|
|
@@ -962,21 +969,23 @@ exports[`ItemActions component matches the snapshot 1`] = `
|
|
|
962
969
|
testID="4016fcfc-a08e-4800-bc07-0d7dd59848fc"
|
|
963
970
|
>
|
|
964
971
|
<Text
|
|
965
|
-
allowFontScaling={false}
|
|
966
|
-
selectable={false}
|
|
967
972
|
style={
|
|
968
973
|
[
|
|
969
974
|
{
|
|
970
|
-
"color": "#0C0A0A",
|
|
971
975
|
"fontFamily": "AreaNormal-Semibold",
|
|
972
976
|
"fontSize": 15,
|
|
977
|
+
"fontStyle": "normal",
|
|
978
|
+
"fontWeight": "300",
|
|
973
979
|
"letterSpacing": -0.2,
|
|
974
|
-
"lineHeight":
|
|
975
|
-
"paddingBottom": 0,
|
|
976
|
-
"paddingLeft": 0,
|
|
977
|
-
"paddingRight": 0,
|
|
978
|
-
"paddingTop": 0,
|
|
980
|
+
"lineHeight": 20,
|
|
979
981
|
},
|
|
982
|
+
[
|
|
983
|
+
{
|
|
984
|
+
"lineHeight": 24,
|
|
985
|
+
},
|
|
986
|
+
false,
|
|
987
|
+
undefined,
|
|
988
|
+
],
|
|
980
989
|
]
|
|
981
990
|
}
|
|
982
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
|
|
|
@@ -128,6 +128,7 @@ exports[`SelectField component matches the snapshot 1`] = `
|
|
|
128
128
|
"borderBottomLeftRadius": 0,
|
|
129
129
|
"borderBottomRightRadius": 0,
|
|
130
130
|
},
|
|
131
|
+
false,
|
|
131
132
|
undefined,
|
|
132
133
|
{
|
|
133
134
|
"maxHeight": 800,
|
|
@@ -205,22 +206,27 @@ exports[`SelectField component matches the snapshot 1`] = `
|
|
|
205
206
|
style={
|
|
206
207
|
[
|
|
207
208
|
{
|
|
208
|
-
"
|
|
209
|
-
"
|
|
210
|
-
"fontSize": 24,
|
|
209
|
+
"fontFamily": "AreaNormal-Semibold",
|
|
210
|
+
"fontSize": 15,
|
|
211
211
|
"fontStyle": "normal",
|
|
212
|
-
"fontWeight": "
|
|
213
|
-
"height": 24,
|
|
212
|
+
"fontWeight": "300",
|
|
214
213
|
"letterSpacing": -0.2,
|
|
215
|
-
"lineHeight":
|
|
216
|
-
"minHeight": 24,
|
|
217
|
-
"minWidth": 24,
|
|
218
|
-
"paddingBottom": 0,
|
|
219
|
-
"paddingLeft": 0,
|
|
220
|
-
"paddingRight": 0,
|
|
221
|
-
"paddingTop": 0,
|
|
222
|
-
"width": 24,
|
|
214
|
+
"lineHeight": 20,
|
|
223
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
|
+
],
|
|
224
230
|
]
|
|
225
231
|
}
|
|
226
232
|
testID="icon"
|
|
@@ -295,21 +301,23 @@ exports[`SelectField component matches the snapshot 1`] = `
|
|
|
295
301
|
testID="optionValue"
|
|
296
302
|
>
|
|
297
303
|
<Text
|
|
298
|
-
allowFontScaling={false}
|
|
299
|
-
selectable={false}
|
|
300
304
|
style={
|
|
301
305
|
[
|
|
302
306
|
{
|
|
303
|
-
"color": "#0C0A0A",
|
|
304
307
|
"fontFamily": "AreaNormal-Semibold",
|
|
305
308
|
"fontSize": 15,
|
|
309
|
+
"fontStyle": "normal",
|
|
310
|
+
"fontWeight": "300",
|
|
306
311
|
"letterSpacing": -0.2,
|
|
307
|
-
"lineHeight":
|
|
308
|
-
"paddingBottom": 0,
|
|
309
|
-
"paddingLeft": 0,
|
|
310
|
-
"paddingRight": 0,
|
|
311
|
-
"paddingTop": 0,
|
|
312
|
+
"lineHeight": 20,
|
|
312
313
|
},
|
|
314
|
+
[
|
|
315
|
+
{
|
|
316
|
+
"lineHeight": 24,
|
|
317
|
+
},
|
|
318
|
+
false,
|
|
319
|
+
undefined,
|
|
320
|
+
],
|
|
313
321
|
]
|
|
314
322
|
}
|
|
315
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
|
|