@lookiero/checkout 14.2.0 → 14.2.2-beta.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (82) hide show
  1. package/dist/src/ExpoRoot.js +2 -2
  2. package/dist/src/infrastructure/ui/components/atoms/price/Price.js +5 -5
  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 +2 -2
  36. package/src/infrastructure/ui/components/atoms/price/Price.style.ts +1 -0
  37. package/src/infrastructure/ui/components/atoms/price/Price.tsx +8 -15
  38. package/src/infrastructure/ui/components/atoms/price/__snapshots__/Price.test.tsx.snap +4 -1
  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 +8 -0
  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 +12 -0
  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 +10 -0
  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 +6 -0
  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 +24 -0
  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
@@ -97,6 +97,7 @@ exports[`CheckoutHeader 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[`CheckoutHeader 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",
@@ -18,7 +18,7 @@ const ItemDetailHeader: FC<ItemDetailHeaderProps> = ({ onBack }) => {
18
18
  return (
19
19
  <Header testID="item-detail-header">
20
20
  <ButtonIconPlaceholder />
21
- <Text level={3} action>
21
+ <Text level={3} variant="action">
22
22
  {title}
23
23
  </Text>
24
24
  <ButtonIcon name="close" style={{ button: style.button }} testID="close-button-icon" onPress={onBack} />
@@ -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",
@@ -107,6 +109,7 @@ exports[`ProductVariantDescription component matches the snapshot for a non-uniq
107
109
  style={
108
110
  [
109
111
  {
112
+ "color": "#0C0A0A",
110
113
  "fontFamily": "AreaNormal-Semibold",
111
114
  "fontSize": 13,
112
115
  "fontStyle": "normal",
@@ -127,6 +130,7 @@ exports[`ProductVariantDescription component matches the snapshot for a non-uniq
127
130
  style={
128
131
  [
129
132
  {
133
+ "color": "#0C0A0A",
130
134
  "fontFamily": "AreaNormal-Semibold",
131
135
  "fontSize": 13,
132
136
  "fontStyle": "normal",
@@ -206,6 +210,7 @@ exports[`ProductVariantDescription component matches the snapshot for an unique
206
210
  style={
207
211
  [
208
212
  {
213
+ "color": "#0C0A0A",
209
214
  "fontFamily": "AreaNormal-Semibold",
210
215
  "fontSize": 13,
211
216
  "fontStyle": "normal",
@@ -225,6 +230,7 @@ exports[`ProductVariantDescription component matches the snapshot for an unique
225
230
  style={
226
231
  [
227
232
  {
233
+ "color": "#0C0A0A",
228
234
  "fontFamily": "AreaNormal-Extrabold",
229
235
  "fontSize": 13,
230
236
  "fontStyle": "normal",
@@ -251,6 +257,7 @@ exports[`ProductVariantDescription component matches the snapshot for an unique
251
257
  style={
252
258
  [
253
259
  {
260
+ "color": "#0C0A0A",
254
261
  "fontFamily": "AreaNormal-Semibold",
255
262
  "fontSize": 13,
256
263
  "fontStyle": "normal",
@@ -271,6 +278,7 @@ exports[`ProductVariantDescription component matches the snapshot for an unique
271
278
  style={
272
279
  [
273
280
  {
281
+ "color": "#0C0A0A",
274
282
  "fontFamily": "AreaNormal-Semibold",
275
283
  "fontSize": 13,
276
284
  "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",
@@ -641,6 +643,7 @@ exports[`ItemActions component matches the snapshot for a KEPT checkoutItem 1`]
641
643
  style={
642
644
  [
643
645
  {
646
+ "color": "#0C0A0A",
644
647
  "fontFamily": "AreaNormal-Semibold",
645
648
  "fontSize": 13,
646
649
  "fontStyle": "normal",
@@ -661,6 +664,7 @@ exports[`ItemActions component matches the snapshot for a KEPT checkoutItem 1`]
661
664
  style={
662
665
  [
663
666
  {
667
+ "color": "#0C0A0A",
664
668
  "fontFamily": "AreaNormal-Semibold",
665
669
  "fontSize": 13,
666
670
  "fontStyle": "normal",
@@ -1276,6 +1280,7 @@ exports[`ItemActions component matches the snapshot for a REPLACED checkoutItem
1276
1280
  style={
1277
1281
  [
1278
1282
  {
1283
+ "color": "#0C0A0A",
1279
1284
  "fontFamily": "AreaNormal-Semibold",
1280
1285
  "fontSize": 13,
1281
1286
  "fontStyle": "normal",
@@ -1295,6 +1300,7 @@ exports[`ItemActions component matches the snapshot for a REPLACED checkoutItem
1295
1300
  style={
1296
1301
  [
1297
1302
  {
1303
+ "color": "#0C0A0A",
1298
1304
  "fontFamily": "AreaNormal-Extrabold",
1299
1305
  "fontSize": 13,
1300
1306
  "fontStyle": "normal",
@@ -1321,6 +1327,7 @@ exports[`ItemActions component matches the snapshot for a REPLACED checkoutItem
1321
1327
  style={
1322
1328
  [
1323
1329
  {
1330
+ "color": "#0C0A0A",
1324
1331
  "fontFamily": "AreaNormal-Semibold",
1325
1332
  "fontSize": 13,
1326
1333
  "fontStyle": "normal",
@@ -1341,6 +1348,7 @@ exports[`ItemActions component matches the snapshot for a REPLACED checkoutItem
1341
1348
  style={
1342
1349
  [
1343
1350
  {
1351
+ "color": "#0C0A0A",
1344
1352
  "fontFamily": "AreaNormal-Semibold",
1345
1353
  "fontSize": 13,
1346
1354
  "fontStyle": "normal",
@@ -1956,6 +1964,7 @@ exports[`ItemActions component matches the snapshot for an INITIAL checkoutItem
1956
1964
  style={
1957
1965
  [
1958
1966
  {
1967
+ "color": "#0C0A0A",
1959
1968
  "fontFamily": "AreaNormal-Semibold",
1960
1969
  "fontSize": 13,
1961
1970
  "fontStyle": "normal",
@@ -1975,6 +1984,7 @@ exports[`ItemActions component matches the snapshot for an INITIAL checkoutItem
1975
1984
  style={
1976
1985
  [
1977
1986
  {
1987
+ "color": "#0C0A0A",
1978
1988
  "fontFamily": "AreaNormal-Extrabold",
1979
1989
  "fontSize": 13,
1980
1990
  "fontStyle": "normal",
@@ -2001,6 +2011,7 @@ exports[`ItemActions component matches the snapshot for an INITIAL checkoutItem
2001
2011
  style={
2002
2012
  [
2003
2013
  {
2014
+ "color": "#0C0A0A",
2004
2015
  "fontFamily": "AreaNormal-Semibold",
2005
2016
  "fontSize": 13,
2006
2017
  "fontStyle": "normal",
@@ -2021,6 +2032,7 @@ exports[`ItemActions component matches the snapshot for an INITIAL checkoutItem
2021
2032
  style={
2022
2033
  [
2023
2034
  {
2035
+ "color": "#0C0A0A",
2024
2036
  "fontFamily": "AreaNormal-Semibold",
2025
2037
  "fontSize": 13,
2026
2038
  "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",
@@ -183,10 +183,10 @@ const ReturnQuestionsForm: FC<ReturnQuestionsFormProps> = ({
183
183
  tradename === Tradename.OUTFITTERY && style.infoOutfittery,
184
184
  ]}
185
185
  >
186
- <Text level={3} heading>
186
+ <Text level={3} variant="heading">
187
187
  {titleText}
188
188
  </Text>
189
- <Text level={1} style={style.description} detail>
189
+ <Text level={1} style={style.description} variant="detail">
190
190
  {descriptionText}
191
191
  </Text>
192
192
  </View>
@@ -69,19 +69,19 @@ const ProductVariant: FC<ProductVariantProps> = ({
69
69
 
70
70
  <View style={style.descriptionContainer}>
71
71
  <View style={style.infoProductVariant}>
72
- <Text level={2} style={style.text} detail>
72
+ <Text level={2} style={style.text} variant="detail">
73
73
  {brand}
74
74
  </Text>
75
- <Text level={2} detail>
75
+ <Text level={2} variant="detail">
76
76
  {name}
77
77
  </Text>
78
- <Text level={2} style={style.text} detail>
78
+ <Text level={2} style={style.text} variant="detail">
79
79
  {sizeProjection.unique ? uniqueText : size({ size: sizeProjection, country })} / {colorLabel}
80
80
  </Text>
81
81
 
82
82
  {status === CheckoutItemStatus.REPLACED && (
83
83
  <View style={style.sizeChange}>
84
- <Text level={2} detail>
84
+ <Text level={2} variant="detail">
85
85
  {sizeChangeText}
86
86
  </Text>
87
87
  </View>