@lookiero/checkout 14.2.0 → 14.2.1

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 (82) hide show
  1. package/dist/src/ExpoRoot.js +1 -1
  2. package/dist/src/infrastructure/ui/components/atoms/price/Price.js +1 -1
  3. package/dist/src/infrastructure/ui/components/atoms/price/Price.style.d.ts +1 -0
  4. package/dist/src/infrastructure/ui/components/atoms/price/Price.style.js +1 -0
  5. package/dist/src/infrastructure/ui/components/organisms/checkoutQuestions/components/buttonCheckoutQuestionItem/ButtonCheckoutQuestionItem.js +1 -1
  6. package/dist/src/infrastructure/ui/components/organisms/returnQuestions/components/hostDefaultReturnQuestionItem/HostDefaultReturnQuestionItem.js +1 -1
  7. package/dist/src/infrastructure/ui/components/organisms/returnQuestions/components/hostLegacyRadioGroupReturnQuestionItem/HostLegacyRadioGroupReturnQuestionItem.js +1 -1
  8. package/dist/src/infrastructure/ui/components/organisms/returnQuestions/components/hostRadioGroupReturnQuestionItem/HostRadioGroupReturnQuestionItem.js +1 -1
  9. package/dist/src/infrastructure/ui/components/organisms/returnQuestions/components/hostStackReturnQuestionItem/modal/HostStackReturnQuestionItem.js +1 -1
  10. package/dist/src/infrastructure/ui/components/organisms/returnQuestions/components/radioReturnQuestionItem/RadioReturnQuestionItem.js +1 -1
  11. package/dist/src/infrastructure/ui/components/organisms/returnQuestions/components/returnQuestionFeedbackItem/ReturnQuestionFeedbackItem.js +2 -2
  12. package/dist/src/infrastructure/ui/components/templates/header/checkoutHeader/CheckoutHeader.js +1 -1
  13. package/dist/src/infrastructure/ui/components/templates/header/itemDetailHeader/ItemDetailHeader.js +1 -1
  14. package/dist/src/infrastructure/ui/components/templates/header/itemHeader/ItemHeader.js +1 -1
  15. package/dist/src/infrastructure/ui/views/checkout/Checkout.js +1 -1
  16. package/dist/src/infrastructure/ui/views/item/components/banner/CustomerDecissionBanner.js +1 -1
  17. package/dist/src/infrastructure/ui/views/item/components/banner/CustomerDecissionBanner.style.d.ts +3 -0
  18. package/dist/src/infrastructure/ui/views/item/components/banner/CustomerDecissionBanner.style.js +3 -0
  19. package/dist/src/infrastructure/ui/views/item/components/getOutOfCheckoutModal/GetOutOfCheckoutModal.js +2 -2
  20. package/dist/src/infrastructure/ui/views/item/components/productVariantDescription/ProductVariantDescription.js +3 -3
  21. package/dist/src/infrastructure/ui/views/item/components/selectModal/SelectModal.js +1 -1
  22. package/dist/src/infrastructure/ui/views/item/components/sizeWithoutStockModal/SizeWithoutStockModal.js +1 -1
  23. package/dist/src/infrastructure/ui/views/return/components/price/Price.js +3 -3
  24. package/dist/src/infrastructure/ui/views/return/components/price/Price.style.d.ts +1 -0
  25. package/dist/src/infrastructure/ui/views/return/components/price/Price.style.js +1 -0
  26. package/dist/src/infrastructure/ui/views/return/components/productVariantPreview/ProductVariantPreview.js +3 -3
  27. package/dist/src/infrastructure/ui/views/return/components/returnQuestionsForm/ReturnQuestionsForm.js +2 -2
  28. package/dist/src/infrastructure/ui/views/shared/components/productVariant/ProductVariant.js +4 -4
  29. package/dist/src/infrastructure/ui/views/summary/Summary.js +1 -1
  30. package/dist/src/infrastructure/ui/views/summary/components/collapsiblePricing/CollapsiblePricing.js +1 -1
  31. package/dist/src/infrastructure/ui/views/summary/components/pricing/Pricing.js +1 -1
  32. package/dist/src/version.d.ts +2 -2
  33. package/dist/src/version.js +2 -2
  34. package/package.json +1 -1
  35. package/src/ExpoRoot.tsx +1 -1
  36. package/src/infrastructure/ui/components/atoms/price/Price.style.ts +1 -0
  37. package/src/infrastructure/ui/components/atoms/price/Price.tsx +1 -6
  38. package/src/infrastructure/ui/components/atoms/price/__snapshots__/Price.test.tsx.snap +19 -13
  39. package/src/infrastructure/ui/components/organisms/checkoutQuestions/components/buttonCheckoutQuestionItem/ButtonCheckoutQuestionItem.tsx +1 -1
  40. package/src/infrastructure/ui/components/organisms/returnQuestions/components/hostDefaultReturnQuestionItem/HostDefaultReturnQuestionItem.tsx +1 -1
  41. package/src/infrastructure/ui/components/organisms/returnQuestions/components/hostLegacyRadioGroupReturnQuestionItem/HostLegacyRadioGroupReturnQuestionItem.tsx +1 -1
  42. package/src/infrastructure/ui/components/organisms/returnQuestions/components/hostRadioGroupReturnQuestionItem/HostRadioGroupReturnQuestionItem.tsx +1 -1
  43. package/src/infrastructure/ui/components/organisms/returnQuestions/components/hostStackReturnQuestionItem/modal/HostStackReturnQuestionItem.tsx +1 -1
  44. package/src/infrastructure/ui/components/organisms/returnQuestions/components/radioReturnQuestionItem/RadioReturnQuestionItem.tsx +1 -1
  45. package/src/infrastructure/ui/components/organisms/returnQuestions/components/returnQuestionFeedbackItem/ReturnQuestionFeedbackItem.tsx +2 -2
  46. package/src/infrastructure/ui/components/templates/header/checkoutHeader/CheckoutHeader.tsx +1 -1
  47. package/src/infrastructure/ui/components/templates/header/checkoutHeader/__snapshots__/CheckoutHeader.test.tsx.snap +2 -0
  48. package/src/infrastructure/ui/components/templates/header/itemDetailHeader/ItemDetailHeader.tsx +1 -1
  49. package/src/infrastructure/ui/components/templates/header/itemDetailHeader/__snapshots__/ItemDetailHeader.test.tsx.snap +2 -0
  50. package/src/infrastructure/ui/components/templates/header/itemHeader/ItemHeader.tsx +1 -1
  51. package/src/infrastructure/ui/components/templates/header/itemHeader/__snapshots__/ItemHeader.test.tsx.snap +3 -0
  52. package/src/infrastructure/ui/views/checkout/Checkout.tsx +1 -1
  53. package/src/infrastructure/ui/views/item/components/banner/CustomerDecissionBanner.style.ts +3 -0
  54. package/src/infrastructure/ui/views/item/components/banner/CustomerDecissionBanner.tsx +1 -1
  55. package/src/infrastructure/ui/views/item/components/banner/__snapshots__/CustomerDecissionBanner.test.tsx.snap +9 -3
  56. package/src/infrastructure/ui/views/item/components/getOutOfCheckoutModal/GetOutOfCheckoutModal.tsx +12 -2
  57. package/src/infrastructure/ui/views/item/components/getOutOfCheckoutModal/__snapshots__/GetOutOfCheckoutModal.test.tsx.snap +4 -0
  58. package/src/infrastructure/ui/views/item/components/itemActions/__snapshots__/ItemActions.test.tsx.snap +4 -0
  59. package/src/infrastructure/ui/views/item/components/productVariantDescription/ProductVariantDescription.tsx +3 -3
  60. package/src/infrastructure/ui/views/item/components/productVariantDescription/__snapshots__/ProductVariantDescription.test.tsx.snap +18 -8
  61. package/src/infrastructure/ui/views/item/components/selectModal/SelectModal.tsx +1 -1
  62. package/src/infrastructure/ui/views/item/components/selectModal/__snapshots__/SelecModal.test.tsx.snap +2 -0
  63. package/src/infrastructure/ui/views/item/components/sizeWithoutStockModal/SizeWithoutStockModal.tsx +1 -1
  64. package/src/infrastructure/ui/views/item/components/sizeWithoutStockModal/__snapshots__/SizeWithoutStockModal.test.tsx.snap +3 -0
  65. package/src/infrastructure/ui/views/item/views/productVariant/__snapshots__/ProductVariant.test.tsx.snap +27 -12
  66. package/src/infrastructure/ui/views/return/components/price/Price.style.ts +1 -0
  67. package/src/infrastructure/ui/views/return/components/price/Price.tsx +3 -3
  68. package/src/infrastructure/ui/views/return/components/price/__snapshots__/Price.test.tsx.snap +4 -1
  69. package/src/infrastructure/ui/views/return/components/productVariantPreview/ProductVariantPreview.tsx +3 -3
  70. package/src/infrastructure/ui/views/return/components/productVariantPreview/__snapshots__/ProductVariantPreview.test.tsx.snap +4 -0
  71. package/src/infrastructure/ui/views/return/components/returnQuestionsForm/ReturnQuestionsForm.tsx +2 -2
  72. package/src/infrastructure/ui/views/shared/components/productVariant/ProductVariant.tsx +4 -4
  73. package/src/infrastructure/ui/views/shared/components/productVariant/__snapshots__/ProductVariant.test.tsx.snap +20 -8
  74. package/src/infrastructure/ui/views/summary/Summary.tsx +1 -1
  75. package/src/infrastructure/ui/views/summary/components/collapsiblePricing/CollapsiblePricing.tsx +1 -1
  76. package/src/infrastructure/ui/views/summary/components/collapsiblePricing/__snapshots__/CollapsiblePricing.test.tsx.snap +16 -8
  77. package/src/infrastructure/ui/views/summary/components/pricing/Pricing.tsx +1 -1
  78. package/src/infrastructure/ui/views/summaryTabs/components/checkoutItemsTabs/__snapshots__/CheckoutItemsTabs.test.tsx.snap +44 -16
  79. package/dist/src/projection/order/order.d.ts +0 -6
  80. package/dist/src/projection/order/order.js +0 -1
  81. package/dist/src/projection/subscription/subscription.d.ts +0 -2
  82. package/dist/src/projection/subscription/subscription.js +0 -1
@@ -62,6 +62,7 @@ exports[`ItemDetailHeader template matches the snapshot 1`] = `
62
62
  style={
63
63
  [
64
64
  {
65
+ "color": "#0C0A0A",
65
66
  "fontFamily": "AreaNormal-Extrabold",
66
67
  "fontSize": 15,
67
68
  "fontStyle": "normal",
@@ -123,6 +124,7 @@ exports[`ItemDetailHeader template matches the snapshot 1`] = `
123
124
  style={
124
125
  [
125
126
  {
127
+ "color": "#0C0A0A",
126
128
  "fontFamily": "AreaNormal-Semibold",
127
129
  "fontSize": 15,
128
130
  "fontStyle": "normal",
@@ -73,7 +73,7 @@ const ItemHeader: FC<ItemHeaderProps> = ({ items, item, onNext, onPrevious }) =>
73
73
  ) : (
74
74
  <ButtonIconPlaceholder />
75
75
  )}
76
- <Text level={3} action>
76
+ <Text level={3} variant="action">
77
77
  {title}
78
78
  </Text>
79
79
  {!isLastItem ? (
@@ -97,6 +97,7 @@ exports[`ItemHeader template matches the snapshot 1`] = `
97
97
  style={
98
98
  [
99
99
  {
100
+ "color": "#0C0A0A",
100
101
  "fontFamily": "AreaNormal-Semibold",
101
102
  "fontSize": 15,
102
103
  "fontStyle": "normal",
@@ -129,6 +130,7 @@ exports[`ItemHeader template matches the snapshot 1`] = `
129
130
  style={
130
131
  [
131
132
  {
133
+ "color": "#0C0A0A",
132
134
  "fontFamily": "AreaNormal-Extrabold",
133
135
  "fontSize": 15,
134
136
  "fontStyle": "normal",
@@ -190,6 +192,7 @@ exports[`ItemHeader template matches the snapshot 1`] = `
190
192
  style={
191
193
  [
192
194
  {
195
+ "color": "#0C0A0A",
193
196
  "fontFamily": "AreaNormal-Semibold",
194
197
  "fontSize": 15,
195
198
  "fontStyle": "normal",
@@ -151,7 +151,7 @@ const Checkout: FC<CheckoutProps> = ({ layout: Layout, getAuthToken, useRedirect
151
151
  </View>
152
152
  )}
153
153
 
154
- <Text level={3} style={style.title} heading>
154
+ <Text level={3} style={style.title} variant="heading">
155
155
  {titleText}
156
156
  </Text>
157
157
 
@@ -11,6 +11,9 @@ const style = () => {
11
11
  smallContainer: {
12
12
  marginHorizontal: space6,
13
13
  },
14
+ underlinedText: {
15
+ textDecorationLine: "underline",
16
+ },
14
17
  });
15
18
  };
16
19
 
@@ -33,7 +33,7 @@ const CustomerDecissionBanner: FC<CustomerDecissionBannerProps> = ({ checkoutIte
33
33
  <View style={[style.container, isSmallScreen ? style.smallContainer : null]}>
34
34
  <InfoBox text={decissionText}>
35
35
  <Pressable testID="customer-decission-banner" onPress={onPress}>
36
- <Text level={isSmallScreen ? 2 : 1} detail underlined>
36
+ <Text level={isSmallScreen ? 2 : 1} style={style.underlinedText} variant="detail">
37
37
  {bannerButtonText}
38
38
  </Text>
39
39
  </Pressable>
@@ -141,15 +141,17 @@ exports[`CustomerDecissionBanner component matches the snapshot for a KEPT check
141
141
  style={
142
142
  [
143
143
  {
144
+ "color": "#0C0A0A",
144
145
  "fontFamily": "AreaNormal-Semibold",
145
146
  "fontSize": 12,
146
147
  "fontStyle": "normal",
147
148
  "fontWeight": "normal",
148
149
  "letterSpacing": 0.1,
149
150
  "lineHeight": 16,
151
+ },
152
+ {
150
153
  "textDecorationLine": "underline",
151
154
  },
152
- undefined,
153
155
  ]
154
156
  }
155
157
  >
@@ -306,15 +308,17 @@ exports[`CustomerDecissionBanner component matches the snapshot for a REPLACED c
306
308
  style={
307
309
  [
308
310
  {
311
+ "color": "#0C0A0A",
309
312
  "fontFamily": "AreaNormal-Semibold",
310
313
  "fontSize": 12,
311
314
  "fontStyle": "normal",
312
315
  "fontWeight": "normal",
313
316
  "letterSpacing": 0.1,
314
317
  "lineHeight": 16,
318
+ },
319
+ {
315
320
  "textDecorationLine": "underline",
316
321
  },
317
- undefined,
318
322
  ]
319
323
  }
320
324
  >
@@ -471,15 +475,17 @@ exports[`CustomerDecissionBanner component matches the snapshot for a RETURNED c
471
475
  style={
472
476
  [
473
477
  {
478
+ "color": "#0C0A0A",
474
479
  "fontFamily": "AreaNormal-Semibold",
475
480
  "fontSize": 12,
476
481
  "fontStyle": "normal",
477
482
  "fontWeight": "normal",
478
483
  "letterSpacing": 0.1,
479
484
  "lineHeight": 16,
485
+ },
486
+ {
480
487
  "textDecorationLine": "underline",
481
488
  },
482
- undefined,
483
489
  ]
484
490
  }
485
491
  >
@@ -35,12 +35,22 @@ const GetOutOfCheckoutModal: FC<GetOutOfCheckoutModalProps> = ({ visible, onDism
35
35
  {descriptionText}
36
36
  </Text>
37
37
  <Button style={style.button} onPress={onDismiss}>
38
- <Text level={3} selectable={false} style={[style.buttonText, { textTransform: "uppercase" }]} action>
38
+ <Text
39
+ level={3}
40
+ selectable={false}
41
+ style={[style.buttonText, { textTransform: "uppercase" }]}
42
+ variant="action"
43
+ >
39
44
  {dismissButtonText}
40
45
  </Text>
41
46
  </Button>
42
47
  <Button style={[style.button, style.confirmButton]} variant={BUTTON_VARIANT.SECONDARY} onPress={onConfirm}>
43
- <Text level={3} selectable={false} style={[style.buttonText, { textTransform: "uppercase" }]} action>
48
+ <Text
49
+ level={3}
50
+ selectable={false}
51
+ style={[style.buttonText, { textTransform: "uppercase" }]}
52
+ variant="action"
53
+ >
44
54
  {confirmButtonText}
45
55
  </Text>
46
56
  </Button>
@@ -176,6 +176,7 @@ exports[`GetOutOfCheckoutModal component matches the snapshot 1`] = `
176
176
  style={
177
177
  [
178
178
  {
179
+ "color": "#0C0A0A",
179
180
  "fontFamily": "AreaNormal-Semibold",
180
181
  "fontSize": 22,
181
182
  "fontStyle": "normal",
@@ -196,6 +197,7 @@ exports[`GetOutOfCheckoutModal component matches the snapshot 1`] = `
196
197
  style={
197
198
  [
198
199
  {
200
+ "color": "#0C0A0A",
199
201
  "fontFamily": "AreaNormal-Semibold",
200
202
  "fontSize": 15,
201
203
  "fontStyle": "normal",
@@ -354,6 +356,7 @@ exports[`GetOutOfCheckoutModal component matches the snapshot 1`] = `
354
356
  style={
355
357
  [
356
358
  {
359
+ "color": "#0C0A0A",
357
360
  "fontFamily": "AreaNormal-Extrabold",
358
361
  "fontSize": 15,
359
362
  "fontStyle": "normal",
@@ -528,6 +531,7 @@ exports[`GetOutOfCheckoutModal component matches the snapshot 1`] = `
528
531
  style={
529
532
  [
530
533
  {
534
+ "color": "#0C0A0A",
531
535
  "fontFamily": "AreaNormal-Extrabold",
532
536
  "fontSize": 15,
533
537
  "fontStyle": "normal",
@@ -793,6 +793,7 @@ exports[`ItemActions component matches the snapshot 1`] = `
793
793
  style={
794
794
  [
795
795
  {
796
+ "color": "#0C0A0A",
796
797
  "fontFamily": "AreaNormal-Semibold",
797
798
  "fontSize": 15,
798
799
  "fontStyle": "normal",
@@ -855,6 +856,7 @@ exports[`ItemActions component matches the snapshot 1`] = `
855
856
  style={
856
857
  [
857
858
  {
859
+ "color": "#0C0A0A",
858
860
  "fontFamily": "AreaInktrap-Semibold",
859
861
  "fontSize": 31,
860
862
  "fontStyle": "normal",
@@ -910,6 +912,7 @@ exports[`ItemActions component matches the snapshot 1`] = `
910
912
  style={
911
913
  [
912
914
  {
915
+ "color": "#0C0A0A",
913
916
  "fontFamily": "AreaNormal-Semibold",
914
917
  "fontSize": 15,
915
918
  "fontStyle": "normal",
@@ -972,6 +975,7 @@ exports[`ItemActions component matches the snapshot 1`] = `
972
975
  style={
973
976
  [
974
977
  {
978
+ "color": "#0C0A0A",
975
979
  "fontFamily": "AreaNormal-Semibold",
976
980
  "fontSize": 15,
977
981
  "fontStyle": "normal",
@@ -36,16 +36,16 @@ const ProductVariantDescription: FC<ProductVariantDescriptionProps> = ({
36
36
  <View style={[style.container, !isDesktopScreen && style.smallContainer]}>
37
37
  <View style={style.info}>
38
38
  <View style={style.content}>
39
- <Text level={1} style={style.brand} detail>
39
+ <Text level={1} style={style.brand} variant="detail">
40
40
  {brand}
41
41
  </Text>
42
- <Text level={1} detailBold>
42
+ <Text level={1} variant="detailBold">
43
43
  {name}
44
44
  </Text>
45
45
  </View>
46
46
  <Price price={price} withPercentage />
47
47
  </View>
48
- <Text level={1} detail>
48
+ <Text level={1} variant="detail">
49
49
  {`${sizeText} ${sizeProjection.unique ? uniqueText : size({ size: sizeProjection, country })}`}
50
50
  </Text>
51
51
  </View>
@@ -62,6 +62,7 @@ exports[`ProductVariantDescription component matches the snapshot for a non-uniq
62
62
  style={
63
63
  [
64
64
  {
65
+ "color": "#0C0A0A",
65
66
  "fontFamily": "AreaNormal-Semibold",
66
67
  "fontSize": 13,
67
68
  "fontStyle": "normal",
@@ -81,6 +82,7 @@ exports[`ProductVariantDescription component matches the snapshot for a non-uniq
81
82
  style={
82
83
  [
83
84
  {
85
+ "color": "#0C0A0A",
84
86
  "fontFamily": "AreaNormal-Extrabold",
85
87
  "fontSize": 13,
86
88
  "fontStyle": "normal",
@@ -104,15 +106,17 @@ exports[`ProductVariantDescription component matches the snapshot for a non-uniq
104
106
  testID="price"
105
107
  >
106
108
  <Text
109
+ detail={true}
107
110
  style={
108
111
  [
109
112
  {
113
+ "color": "#0C0A0A",
110
114
  "fontFamily": "AreaNormal-Semibold",
111
- "fontSize": 13,
115
+ "fontSize": 22,
112
116
  "fontStyle": "normal",
113
- "fontWeight": "normal",
114
- "letterSpacing": 0.1,
115
- "lineHeight": 17,
117
+ "fontWeight": "300",
118
+ "letterSpacing": -0.2,
119
+ "lineHeight": 26,
116
120
  },
117
121
  undefined,
118
122
  ]
@@ -127,6 +131,7 @@ exports[`ProductVariantDescription component matches the snapshot for a non-uniq
127
131
  style={
128
132
  [
129
133
  {
134
+ "color": "#0C0A0A",
130
135
  "fontFamily": "AreaNormal-Semibold",
131
136
  "fontSize": 13,
132
137
  "fontStyle": "normal",
@@ -206,6 +211,7 @@ exports[`ProductVariantDescription component matches the snapshot for an unique
206
211
  style={
207
212
  [
208
213
  {
214
+ "color": "#0C0A0A",
209
215
  "fontFamily": "AreaNormal-Semibold",
210
216
  "fontSize": 13,
211
217
  "fontStyle": "normal",
@@ -225,6 +231,7 @@ exports[`ProductVariantDescription component matches the snapshot for an unique
225
231
  style={
226
232
  [
227
233
  {
234
+ "color": "#0C0A0A",
228
235
  "fontFamily": "AreaNormal-Extrabold",
229
236
  "fontSize": 13,
230
237
  "fontStyle": "normal",
@@ -248,15 +255,17 @@ exports[`ProductVariantDescription component matches the snapshot for an unique
248
255
  testID="price"
249
256
  >
250
257
  <Text
258
+ detail={true}
251
259
  style={
252
260
  [
253
261
  {
262
+ "color": "#0C0A0A",
254
263
  "fontFamily": "AreaNormal-Semibold",
255
- "fontSize": 13,
264
+ "fontSize": 22,
256
265
  "fontStyle": "normal",
257
- "fontWeight": "normal",
258
- "letterSpacing": 0.1,
259
- "lineHeight": 17,
266
+ "fontWeight": "300",
267
+ "letterSpacing": -0.2,
268
+ "lineHeight": 26,
260
269
  },
261
270
  undefined,
262
271
  ]
@@ -271,6 +280,7 @@ exports[`ProductVariantDescription component matches the snapshot for an unique
271
280
  style={
272
281
  [
273
282
  {
283
+ "color": "#0C0A0A",
274
284
  "fontFamily": "AreaNormal-Semibold",
275
285
  "fontSize": 13,
276
286
  "fontStyle": "normal",
@@ -59,7 +59,7 @@ const SelectModal: FC<SelectModalProps> = ({
59
59
  >
60
60
  <View style={[style.modalContent, customStyle?.modalContent]}>
61
61
  {title && (
62
- <Text level={3} style={style.modalTitle} heading>
62
+ <Text level={3} style={style.modalTitle} variant="heading">
63
63
  {title}
64
64
  </Text>
65
65
  )}
@@ -206,6 +206,7 @@ exports[`SelectField component matches the snapshot 1`] = `
206
206
  style={
207
207
  [
208
208
  {
209
+ "color": "#0C0A0A",
209
210
  "fontFamily": "AreaNormal-Semibold",
210
211
  "fontSize": 15,
211
212
  "fontStyle": "normal",
@@ -304,6 +305,7 @@ exports[`SelectField component matches the snapshot 1`] = `
304
305
  style={
305
306
  [
306
307
  {
308
+ "color": "#0C0A0A",
307
309
  "fontFamily": "AreaNormal-Semibold",
308
310
  "fontSize": 15,
309
311
  "fontStyle": "normal",
@@ -20,7 +20,7 @@ const SizeWithoutStockModal: FC<SizeWithoutStockModalProps> = ({ visible, onDism
20
20
  return (
21
21
  <Modal portalHostName="Checkout" visible={visible} showCloseButton onClose={onDismiss}>
22
22
  <View style={style.modalContent}>
23
- <Text level={3} style={style.title} heading>
23
+ <Text level={3} style={style.title} variant="heading">
24
24
  {titleText}
25
25
  </Text>
26
26
  <Text level={3} style={style.description}>
@@ -206,6 +206,7 @@ exports[`SizeWithoutStockModal component matches the snapshot 1`] = `
206
206
  style={
207
207
  [
208
208
  {
209
+ "color": "#0C0A0A",
209
210
  "fontFamily": "AreaNormal-Semibold",
210
211
  "fontSize": 15,
211
212
  "fontStyle": "normal",
@@ -263,6 +264,7 @@ exports[`SizeWithoutStockModal component matches the snapshot 1`] = `
263
264
  style={
264
265
  [
265
266
  {
267
+ "color": "#0C0A0A",
266
268
  "fontFamily": "AreaInktrap-Semibold",
267
269
  "fontSize": 31,
268
270
  "fontStyle": "normal",
@@ -283,6 +285,7 @@ exports[`SizeWithoutStockModal component matches the snapshot 1`] = `
283
285
  style={
284
286
  [
285
287
  {
288
+ "color": "#0C0A0A",
286
289
  "fontFamily": "AreaNormal-Semibold",
287
290
  "fontSize": 15,
288
291
  "fontStyle": "normal",
@@ -596,6 +596,7 @@ exports[`ItemActions component matches the snapshot for a KEPT checkoutItem 1`]
596
596
  style={
597
597
  [
598
598
  {
599
+ "color": "#0C0A0A",
599
600
  "fontFamily": "AreaNormal-Semibold",
600
601
  "fontSize": 13,
601
602
  "fontStyle": "normal",
@@ -615,6 +616,7 @@ exports[`ItemActions component matches the snapshot for a KEPT checkoutItem 1`]
615
616
  style={
616
617
  [
617
618
  {
619
+ "color": "#0C0A0A",
618
620
  "fontFamily": "AreaNormal-Extrabold",
619
621
  "fontSize": 13,
620
622
  "fontStyle": "normal",
@@ -638,15 +640,17 @@ exports[`ItemActions component matches the snapshot for a KEPT checkoutItem 1`]
638
640
  testID="price"
639
641
  >
640
642
  <Text
643
+ detail={true}
641
644
  style={
642
645
  [
643
646
  {
647
+ "color": "#0C0A0A",
644
648
  "fontFamily": "AreaNormal-Semibold",
645
- "fontSize": 13,
649
+ "fontSize": 22,
646
650
  "fontStyle": "normal",
647
- "fontWeight": "normal",
648
- "letterSpacing": 0.1,
649
- "lineHeight": 17,
651
+ "fontWeight": "300",
652
+ "letterSpacing": -0.2,
653
+ "lineHeight": 26,
650
654
  },
651
655
  undefined,
652
656
  ]
@@ -661,6 +665,7 @@ exports[`ItemActions component matches the snapshot for a KEPT checkoutItem 1`]
661
665
  style={
662
666
  [
663
667
  {
668
+ "color": "#0C0A0A",
664
669
  "fontFamily": "AreaNormal-Semibold",
665
670
  "fontSize": 13,
666
671
  "fontStyle": "normal",
@@ -1276,6 +1281,7 @@ exports[`ItemActions component matches the snapshot for a REPLACED checkoutItem
1276
1281
  style={
1277
1282
  [
1278
1283
  {
1284
+ "color": "#0C0A0A",
1279
1285
  "fontFamily": "AreaNormal-Semibold",
1280
1286
  "fontSize": 13,
1281
1287
  "fontStyle": "normal",
@@ -1295,6 +1301,7 @@ exports[`ItemActions component matches the snapshot for a REPLACED checkoutItem
1295
1301
  style={
1296
1302
  [
1297
1303
  {
1304
+ "color": "#0C0A0A",
1298
1305
  "fontFamily": "AreaNormal-Extrabold",
1299
1306
  "fontSize": 13,
1300
1307
  "fontStyle": "normal",
@@ -1318,15 +1325,17 @@ exports[`ItemActions component matches the snapshot for a REPLACED checkoutItem
1318
1325
  testID="price"
1319
1326
  >
1320
1327
  <Text
1328
+ detail={true}
1321
1329
  style={
1322
1330
  [
1323
1331
  {
1332
+ "color": "#0C0A0A",
1324
1333
  "fontFamily": "AreaNormal-Semibold",
1325
- "fontSize": 13,
1334
+ "fontSize": 22,
1326
1335
  "fontStyle": "normal",
1327
- "fontWeight": "normal",
1328
- "letterSpacing": 0.1,
1329
- "lineHeight": 17,
1336
+ "fontWeight": "300",
1337
+ "letterSpacing": -0.2,
1338
+ "lineHeight": 26,
1330
1339
  },
1331
1340
  undefined,
1332
1341
  ]
@@ -1341,6 +1350,7 @@ exports[`ItemActions component matches the snapshot for a REPLACED checkoutItem
1341
1350
  style={
1342
1351
  [
1343
1352
  {
1353
+ "color": "#0C0A0A",
1344
1354
  "fontFamily": "AreaNormal-Semibold",
1345
1355
  "fontSize": 13,
1346
1356
  "fontStyle": "normal",
@@ -1956,6 +1966,7 @@ exports[`ItemActions component matches the snapshot for an INITIAL checkoutItem
1956
1966
  style={
1957
1967
  [
1958
1968
  {
1969
+ "color": "#0C0A0A",
1959
1970
  "fontFamily": "AreaNormal-Semibold",
1960
1971
  "fontSize": 13,
1961
1972
  "fontStyle": "normal",
@@ -1975,6 +1986,7 @@ exports[`ItemActions component matches the snapshot for an INITIAL checkoutItem
1975
1986
  style={
1976
1987
  [
1977
1988
  {
1989
+ "color": "#0C0A0A",
1978
1990
  "fontFamily": "AreaNormal-Extrabold",
1979
1991
  "fontSize": 13,
1980
1992
  "fontStyle": "normal",
@@ -1998,15 +2010,17 @@ exports[`ItemActions component matches the snapshot for an INITIAL checkoutItem
1998
2010
  testID="price"
1999
2011
  >
2000
2012
  <Text
2013
+ detail={true}
2001
2014
  style={
2002
2015
  [
2003
2016
  {
2017
+ "color": "#0C0A0A",
2004
2018
  "fontFamily": "AreaNormal-Semibold",
2005
- "fontSize": 13,
2019
+ "fontSize": 22,
2006
2020
  "fontStyle": "normal",
2007
- "fontWeight": "normal",
2008
- "letterSpacing": 0.1,
2009
- "lineHeight": 17,
2021
+ "fontWeight": "300",
2022
+ "letterSpacing": -0.2,
2023
+ "lineHeight": 26,
2010
2024
  },
2011
2025
  undefined,
2012
2026
  ]
@@ -2021,6 +2035,7 @@ exports[`ItemActions component matches the snapshot for an INITIAL checkoutItem
2021
2035
  style={
2022
2036
  [
2023
2037
  {
2038
+ "color": "#0C0A0A",
2024
2039
  "fontFamily": "AreaNormal-Semibold",
2025
2040
  "fontSize": 13,
2026
2041
  "fontStyle": "normal",
@@ -14,6 +14,7 @@ const style = () => {
14
14
  },
15
15
  discountedPriceText: {
16
16
  color: colorTextMedium,
17
+ textDecorationLine: "line-through",
17
18
  },
18
19
  price: {
19
20
  flexDirection: "row",
@@ -32,16 +32,16 @@ const Price: FC<PriceProps> = ({ price, withPercentage = false }) => {
32
32
  return (
33
33
  <View style={style.price} testID="price">
34
34
  {isDiscounted && (
35
- <Text level={1} style={style.discountedPriceText} testID="discounted-price-text" detail lineThrough>
35
+ <Text level={1} style={style.discountedPriceText} testID="discounted-price-text" variant="detail">
36
36
  {productPrice}
37
37
  </Text>
38
38
  )}
39
39
  <View style={style.discountedPriceInfo}>
40
- <Text level={1} testID="price-text" detail>
40
+ <Text level={1} testID="price-text" variant="detail">
41
41
  {priceValue}
42
42
  </Text>
43
43
  {isDiscounted && withPercentage ? (
44
- <Text level={1} style={style.discountedPercentage} testID="discounted-percentage-text" detail>
44
+ <Text level={1} style={style.discountedPercentage} testID="discounted-percentage-text" variant="detail">
45
45
  {`-${price.discountedPrice.percentage}%`}
46
46
  </Text>
47
47
  ) : null}
@@ -41,16 +41,17 @@ exports[`Price atom matches the snapshot for a discounted price: discounted pric
41
41
  style={
42
42
  [
43
43
  {
44
+ "color": "#0C0A0A",
44
45
  "fontFamily": "AreaNormal-Semibold",
45
46
  "fontSize": 13,
46
47
  "fontStyle": "normal",
47
48
  "fontWeight": "normal",
48
49
  "letterSpacing": 0.1,
49
50
  "lineHeight": 17,
50
- "textDecorationLine": "line-through",
51
51
  },
52
52
  {
53
53
  "color": "#837C7C",
54
+ "textDecorationLine": "line-through",
54
55
  },
55
56
  ]
56
57
  }
@@ -70,6 +71,7 @@ exports[`Price atom matches the snapshot for a discounted price: discounted pric
70
71
  style={
71
72
  [
72
73
  {
74
+ "color": "#0C0A0A",
73
75
  "fontFamily": "AreaNormal-Semibold",
74
76
  "fontSize": 13,
75
77
  "fontStyle": "normal",
@@ -138,6 +140,7 @@ exports[`Price atom matches the snapshot for a non-discounted price: non-discoun
138
140
  style={
139
141
  [
140
142
  {
143
+ "color": "#0C0A0A",
141
144
  "fontFamily": "AreaNormal-Semibold",
142
145
  "fontSize": 13,
143
146
  "fontStyle": "normal",
@@ -51,13 +51,13 @@ const ProductVariantPreview: FC<ProductVariantPreviewProps> = ({ item, country }
51
51
  )}
52
52
 
53
53
  <View style={style.info}>
54
- <Text level={2} style={style.text} detail>
54
+ <Text level={2} style={style.text} variant="detail">
55
55
  {brand}
56
56
  </Text>
57
- <Text level={2} detail>
57
+ <Text level={2} variant="detail">
58
58
  {name}
59
59
  </Text>
60
- <Text level={2} style={style.text} detail>
60
+ <Text level={2} style={style.text} variant="detail">
61
61
  {`${sizeText} ${sizeProjection.unique ? uniqueText : size({ size: sizeProjection, country })}`}
62
62
  </Text>
63
63
  </View>
@@ -106,6 +106,7 @@ exports[`ProductVariantPreview matches the snapshot 1`] = `
106
106
  style={
107
107
  [
108
108
  {
109
+ "color": "#0C0A0A",
109
110
  "fontFamily": "AreaNormal-Semibold",
110
111
  "fontSize": 12,
111
112
  "fontStyle": "normal",
@@ -125,6 +126,7 @@ exports[`ProductVariantPreview matches the snapshot 1`] = `
125
126
  style={
126
127
  [
127
128
  {
129
+ "color": "#0C0A0A",
128
130
  "fontFamily": "AreaNormal-Semibold",
129
131
  "fontSize": 12,
130
132
  "fontStyle": "normal",
@@ -142,6 +144,7 @@ exports[`ProductVariantPreview matches the snapshot 1`] = `
142
144
  style={
143
145
  [
144
146
  {
147
+ "color": "#0C0A0A",
145
148
  "fontFamily": "AreaNormal-Semibold",
146
149
  "fontSize": 12,
147
150
  "fontStyle": "normal",
@@ -185,6 +188,7 @@ exports[`ProductVariantPreview matches the snapshot 1`] = `
185
188
  style={
186
189
  [
187
190
  {
191
+ "color": "#0C0A0A",
188
192
  "fontFamily": "AreaNormal-Semibold",
189
193
  "fontSize": 13,
190
194
  "fontStyle": "normal",