@lookiero/checkout 14.1.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.
- 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 +4 -3
- package/dist/src/infrastructure/ui/components/atoms/fiveItemsDiscountBanner/FiveItemsDiscountBanner.js +3 -2
- package/dist/src/infrastructure/ui/components/atoms/price/Price.js +2 -2
- package/dist/src/infrastructure/ui/components/atoms/price/Price.style.d.ts +1 -0
- package/dist/src/infrastructure/ui/components/atoms/price/Price.style.js +1 -0
- package/dist/src/infrastructure/ui/components/organisms/checkoutQuestions/components/buttonCheckoutQuestionItem/ButtonCheckoutQuestionItem.js +2 -2
- 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 +2 -2
- package/dist/src/infrastructure/ui/components/organisms/returnQuestions/components/hostLegacyRadioGroupReturnQuestionItem/HostLegacyRadioGroupReturnQuestionItem.js +2 -2
- package/dist/src/infrastructure/ui/components/organisms/returnQuestions/components/hostRadioGroupReturnQuestionItem/HostRadioGroupReturnQuestionItem.js +2 -2
- package/dist/src/infrastructure/ui/components/organisms/returnQuestions/components/hostStackReturnQuestionItem/modal/HostStackReturnQuestionItem.js +2 -2
- 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 +3 -3
- package/dist/src/infrastructure/ui/components/templates/header/checkoutHeader/CheckoutHeader.js +2 -2
- package/dist/src/infrastructure/ui/components/templates/header/itemDetailHeader/ItemDetailHeader.js +2 -2
- package/dist/src/infrastructure/ui/components/templates/header/itemHeader/ItemHeader.js +2 -2
- package/dist/src/infrastructure/ui/views/checkout/Checkout.js +3 -3
- 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 +4 -3
- package/dist/src/infrastructure/ui/views/item/components/banner/CustomerDecissionBanner.style.d.ts +3 -0
- package/dist/src/infrastructure/ui/views/item/components/banner/CustomerDecissionBanner.style.js +3 -0
- package/dist/src/infrastructure/ui/views/item/components/getOutOfCheckoutModal/GetOutOfCheckoutModal.js +4 -4
- package/dist/src/infrastructure/ui/views/item/components/productVariantDescription/ProductVariantDescription.js +4 -4
- package/dist/src/infrastructure/ui/views/item/components/returnQuestionsFeedback/ReturnQuestionsFeedback.js +1 -1
- package/dist/src/infrastructure/ui/views/item/components/selectModal/SelectModal.js +2 -2
- package/dist/src/infrastructure/ui/views/item/components/sizeWithoutStockModal/SizeWithoutStockModal.js +3 -3
- package/dist/src/infrastructure/ui/views/return/components/price/Price.js +4 -4
- package/dist/src/infrastructure/ui/views/return/components/price/Price.style.d.ts +1 -0
- package/dist/src/infrastructure/ui/views/return/components/price/Price.style.js +1 -0
- package/dist/src/infrastructure/ui/views/return/components/productVariantPreview/ProductVariantPreview.js +4 -4
- package/dist/src/infrastructure/ui/views/return/components/returnQuestionsForm/ReturnQuestionsForm.js +4 -3
- package/dist/src/infrastructure/ui/views/shared/components/productVariant/ProductVariant.js +5 -5
- package/dist/src/infrastructure/ui/views/summary/Summary.js +3 -3
- package/dist/src/infrastructure/ui/views/summary/components/collapsiblePricing/CollapsiblePricing.js +3 -3
- package/dist/src/infrastructure/ui/views/summary/components/pricing/Pricing.js +2 -2
- package/dist/src/infrastructure/ui/views/summaryTabs/components/checkoutItemsTabs/CheckoutItemsTabs.js +1 -1
- package/dist/src/version.d.ts +2 -2
- package/dist/src/version.js +2 -2
- package/package.json +4 -4
- package/src/ExpoRoot.tsx +4 -3
- package/src/infrastructure/ui/components/atoms/fiveItemsDiscountBanner/FiveItemsDiscountBanner.tsx +3 -2
- package/src/infrastructure/ui/components/atoms/price/Price.style.ts +1 -0
- package/src/infrastructure/ui/components/atoms/price/Price.tsx +2 -7
- package/src/infrastructure/ui/components/atoms/price/__snapshots__/Price.test.tsx.snap +24 -28
- package/src/infrastructure/ui/components/organisms/checkoutQuestions/components/buttonCheckoutQuestionItem/ButtonCheckoutQuestionItem.tsx +2 -2
- 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 +2 -2
- package/src/infrastructure/ui/components/organisms/returnQuestions/components/hostLegacyRadioGroupReturnQuestionItem/HostLegacyRadioGroupReturnQuestionItem.tsx +2 -2
- package/src/infrastructure/ui/components/organisms/returnQuestions/components/hostRadioGroupReturnQuestionItem/HostRadioGroupReturnQuestionItem.tsx +2 -2
- package/src/infrastructure/ui/components/organisms/returnQuestions/components/hostStackReturnQuestionItem/modal/HostStackReturnQuestionItem.tsx +2 -2
- 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 +3 -3
- package/src/infrastructure/ui/components/templates/header/checkoutHeader/CheckoutHeader.tsx +2 -2
- package/src/infrastructure/ui/components/templates/header/checkoutHeader/__snapshots__/CheckoutHeader.test.tsx.snap +21 -18
- package/src/infrastructure/ui/components/templates/header/itemDetailHeader/ItemDetailHeader.tsx +2 -2
- package/src/infrastructure/ui/components/templates/header/itemDetailHeader/__snapshots__/ItemDetailHeader.test.tsx.snap +21 -18
- package/src/infrastructure/ui/components/templates/header/itemHeader/ItemHeader.tsx +2 -2
- package/src/infrastructure/ui/components/templates/header/itemHeader/__snapshots__/ItemHeader.test.tsx.snap +39 -30
- package/src/infrastructure/ui/views/checkout/Checkout.tsx +3 -3
- package/src/infrastructure/ui/views/item/components/banner/CustomerDecissionBanner.style.ts +3 -0
- package/src/infrastructure/ui/views/item/components/banner/CustomerDecissionBanner.tsx +4 -3
- package/src/infrastructure/ui/views/item/components/banner/__snapshots__/CustomerDecissionBanner.test.tsx.snap +12 -18
- package/src/infrastructure/ui/views/item/components/getOutOfCheckoutModal/GetOutOfCheckoutModal.tsx +14 -4
- package/src/infrastructure/ui/views/item/components/getOutOfCheckoutModal/__snapshots__/GetOutOfCheckoutModal.test.tsx.snap +30 -28
- package/src/infrastructure/ui/views/item/components/itemActions/__snapshots__/ItemActions.test.tsx.snap +45 -33
- package/src/infrastructure/ui/views/item/components/productVariantDescription/ProductVariantDescription.tsx +4 -4
- package/src/infrastructure/ui/views/item/components/productVariantDescription/__snapshots__/ProductVariantDescription.test.tsx.snap +38 -56
- package/src/infrastructure/ui/views/item/components/returnQuestionsFeedback/ReturnQuestionsFeedback.tsx +1 -1
- package/src/infrastructure/ui/views/item/components/selectModal/SelectModal.tsx +2 -2
- package/src/infrastructure/ui/views/item/components/selectModal/__snapshots__/SelecModal.test.tsx.snap +28 -19
- package/src/infrastructure/ui/views/item/components/sizeWithoutStockModal/SizeWithoutStockModal.tsx +3 -3
- package/src/infrastructure/ui/views/item/components/sizeWithoutStockModal/__snapshots__/SizeWithoutStockModal.test.tsx.snap +28 -25
- package/src/infrastructure/ui/views/item/views/productVariant/__snapshots__/ProductVariant.test.tsx.snap +57 -84
- package/src/infrastructure/ui/views/return/components/price/Price.style.ts +1 -0
- package/src/infrastructure/ui/views/return/components/price/Price.tsx +4 -4
- package/src/infrastructure/ui/views/return/components/price/__snapshots__/Price.test.tsx.snap +12 -19
- package/src/infrastructure/ui/views/return/components/productVariantPreview/ProductVariantPreview.tsx +4 -4
- package/src/infrastructure/ui/views/return/components/productVariantPreview/__snapshots__/ProductVariantPreview.test.tsx.snap +18 -26
- package/src/infrastructure/ui/views/return/components/returnQuestionsForm/ReturnQuestionsForm.tsx +4 -3
- package/src/infrastructure/ui/views/shared/components/productVariant/ProductVariant.tsx +5 -5
- package/src/infrastructure/ui/views/shared/components/productVariant/__snapshots__/ProductVariant.test.tsx.snap +80 -82
- package/src/infrastructure/ui/views/summary/Summary.tsx +3 -3
- package/src/infrastructure/ui/views/summary/components/collapsiblePricing/CollapsiblePricing.tsx +3 -3
- package/src/infrastructure/ui/views/summary/components/collapsiblePricing/__snapshots__/CollapsiblePricing.test.tsx.snap +58 -54
- package/src/infrastructure/ui/views/summary/components/pricing/Pricing.tsx +2 -2
- 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 +197 -193
|
@@ -59,20 +59,19 @@ 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": "#
|
|
65
|
+
"color": "#0C0A0A",
|
|
68
66
|
"fontFamily": "AreaNormal-Semibold",
|
|
69
67
|
"fontSize": 13,
|
|
68
|
+
"fontStyle": "normal",
|
|
69
|
+
"fontWeight": "normal",
|
|
70
70
|
"letterSpacing": 0.1,
|
|
71
71
|
"lineHeight": 17,
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
"
|
|
75
|
-
"paddingTop": 0,
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
"color": "#837C7C",
|
|
76
75
|
},
|
|
77
76
|
]
|
|
78
77
|
}
|
|
@@ -80,21 +79,18 @@ exports[`ProductVariantDescription component matches the snapshot for a non-uniq
|
|
|
80
79
|
CKS
|
|
81
80
|
</Text>
|
|
82
81
|
<Text
|
|
83
|
-
allowFontScaling={false}
|
|
84
|
-
selectable={false}
|
|
85
82
|
style={
|
|
86
83
|
[
|
|
87
84
|
{
|
|
88
85
|
"color": "#0C0A0A",
|
|
89
86
|
"fontFamily": "AreaNormal-Extrabold",
|
|
90
87
|
"fontSize": 13,
|
|
88
|
+
"fontStyle": "normal",
|
|
89
|
+
"fontWeight": "normal",
|
|
91
90
|
"letterSpacing": 0.1,
|
|
92
91
|
"lineHeight": 17,
|
|
93
|
-
"paddingBottom": 0,
|
|
94
|
-
"paddingLeft": 0,
|
|
95
|
-
"paddingRight": 0,
|
|
96
|
-
"paddingTop": 0,
|
|
97
92
|
},
|
|
93
|
+
undefined,
|
|
98
94
|
]
|
|
99
95
|
}
|
|
100
96
|
>
|
|
@@ -110,21 +106,19 @@ exports[`ProductVariantDescription component matches the snapshot for a non-uniq
|
|
|
110
106
|
testID="price"
|
|
111
107
|
>
|
|
112
108
|
<Text
|
|
113
|
-
|
|
114
|
-
selectable={false}
|
|
109
|
+
detail={true}
|
|
115
110
|
style={
|
|
116
111
|
[
|
|
117
112
|
{
|
|
118
113
|
"color": "#0C0A0A",
|
|
119
114
|
"fontFamily": "AreaNormal-Semibold",
|
|
120
|
-
"fontSize":
|
|
121
|
-
"
|
|
122
|
-
"
|
|
123
|
-
"
|
|
124
|
-
"
|
|
125
|
-
"paddingRight": 0,
|
|
126
|
-
"paddingTop": 0,
|
|
115
|
+
"fontSize": 22,
|
|
116
|
+
"fontStyle": "normal",
|
|
117
|
+
"fontWeight": "300",
|
|
118
|
+
"letterSpacing": -0.2,
|
|
119
|
+
"lineHeight": 26,
|
|
127
120
|
},
|
|
121
|
+
undefined,
|
|
128
122
|
]
|
|
129
123
|
}
|
|
130
124
|
testID="price-text"
|
|
@@ -134,21 +128,18 @@ exports[`ProductVariantDescription component matches the snapshot for a non-uniq
|
|
|
134
128
|
</View>
|
|
135
129
|
</View>
|
|
136
130
|
<Text
|
|
137
|
-
allowFontScaling={false}
|
|
138
|
-
selectable={false}
|
|
139
131
|
style={
|
|
140
132
|
[
|
|
141
133
|
{
|
|
142
134
|
"color": "#0C0A0A",
|
|
143
135
|
"fontFamily": "AreaNormal-Semibold",
|
|
144
136
|
"fontSize": 13,
|
|
137
|
+
"fontStyle": "normal",
|
|
138
|
+
"fontWeight": "normal",
|
|
145
139
|
"letterSpacing": 0.1,
|
|
146
140
|
"lineHeight": 17,
|
|
147
|
-
"paddingBottom": 0,
|
|
148
|
-
"paddingLeft": 0,
|
|
149
|
-
"paddingRight": 0,
|
|
150
|
-
"paddingTop": 0,
|
|
151
141
|
},
|
|
142
|
+
undefined,
|
|
152
143
|
]
|
|
153
144
|
}
|
|
154
145
|
>
|
|
@@ -217,20 +208,19 @@ exports[`ProductVariantDescription component matches the snapshot for an unique
|
|
|
217
208
|
}
|
|
218
209
|
>
|
|
219
210
|
<Text
|
|
220
|
-
allowFontScaling={false}
|
|
221
|
-
selectable={false}
|
|
222
211
|
style={
|
|
223
212
|
[
|
|
224
213
|
{
|
|
225
|
-
"color": "#
|
|
214
|
+
"color": "#0C0A0A",
|
|
226
215
|
"fontFamily": "AreaNormal-Semibold",
|
|
227
216
|
"fontSize": 13,
|
|
217
|
+
"fontStyle": "normal",
|
|
218
|
+
"fontWeight": "normal",
|
|
228
219
|
"letterSpacing": 0.1,
|
|
229
220
|
"lineHeight": 17,
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
"
|
|
233
|
-
"paddingTop": 0,
|
|
221
|
+
},
|
|
222
|
+
{
|
|
223
|
+
"color": "#837C7C",
|
|
234
224
|
},
|
|
235
225
|
]
|
|
236
226
|
}
|
|
@@ -238,21 +228,18 @@ exports[`ProductVariantDescription component matches the snapshot for an unique
|
|
|
238
228
|
CKS
|
|
239
229
|
</Text>
|
|
240
230
|
<Text
|
|
241
|
-
allowFontScaling={false}
|
|
242
|
-
selectable={false}
|
|
243
231
|
style={
|
|
244
232
|
[
|
|
245
233
|
{
|
|
246
234
|
"color": "#0C0A0A",
|
|
247
235
|
"fontFamily": "AreaNormal-Extrabold",
|
|
248
236
|
"fontSize": 13,
|
|
237
|
+
"fontStyle": "normal",
|
|
238
|
+
"fontWeight": "normal",
|
|
249
239
|
"letterSpacing": 0.1,
|
|
250
240
|
"lineHeight": 17,
|
|
251
|
-
"paddingBottom": 0,
|
|
252
|
-
"paddingLeft": 0,
|
|
253
|
-
"paddingRight": 0,
|
|
254
|
-
"paddingTop": 0,
|
|
255
241
|
},
|
|
242
|
+
undefined,
|
|
256
243
|
]
|
|
257
244
|
}
|
|
258
245
|
>
|
|
@@ -268,21 +255,19 @@ exports[`ProductVariantDescription component matches the snapshot for an unique
|
|
|
268
255
|
testID="price"
|
|
269
256
|
>
|
|
270
257
|
<Text
|
|
271
|
-
|
|
272
|
-
selectable={false}
|
|
258
|
+
detail={true}
|
|
273
259
|
style={
|
|
274
260
|
[
|
|
275
261
|
{
|
|
276
262
|
"color": "#0C0A0A",
|
|
277
263
|
"fontFamily": "AreaNormal-Semibold",
|
|
278
|
-
"fontSize":
|
|
279
|
-
"
|
|
280
|
-
"
|
|
281
|
-
"
|
|
282
|
-
"
|
|
283
|
-
"paddingRight": 0,
|
|
284
|
-
"paddingTop": 0,
|
|
264
|
+
"fontSize": 22,
|
|
265
|
+
"fontStyle": "normal",
|
|
266
|
+
"fontWeight": "300",
|
|
267
|
+
"letterSpacing": -0.2,
|
|
268
|
+
"lineHeight": 26,
|
|
285
269
|
},
|
|
270
|
+
undefined,
|
|
286
271
|
]
|
|
287
272
|
}
|
|
288
273
|
testID="price-text"
|
|
@@ -292,21 +277,18 @@ exports[`ProductVariantDescription component matches the snapshot for an unique
|
|
|
292
277
|
</View>
|
|
293
278
|
</View>
|
|
294
279
|
<Text
|
|
295
|
-
allowFontScaling={false}
|
|
296
|
-
selectable={false}
|
|
297
280
|
style={
|
|
298
281
|
[
|
|
299
282
|
{
|
|
300
283
|
"color": "#0C0A0A",
|
|
301
284
|
"fontFamily": "AreaNormal-Semibold",
|
|
302
285
|
"fontSize": 13,
|
|
286
|
+
"fontStyle": "normal",
|
|
287
|
+
"fontWeight": "normal",
|
|
303
288
|
"letterSpacing": 0.1,
|
|
304
289
|
"lineHeight": 17,
|
|
305
|
-
"paddingBottom": 0,
|
|
306
|
-
"paddingLeft": 0,
|
|
307
|
-
"paddingRight": 0,
|
|
308
|
-
"paddingTop": 0,
|
|
309
290
|
},
|
|
291
|
+
undefined,
|
|
310
292
|
]
|
|
311
293
|
}
|
|
312
294
|
>
|
|
@@ -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
|
|
|
@@ -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
|
)}
|
|
@@ -207,21 +207,27 @@ exports[`SelectField component matches the snapshot 1`] = `
|
|
|
207
207
|
[
|
|
208
208
|
{
|
|
209
209
|
"color": "#0C0A0A",
|
|
210
|
-
"fontFamily": "
|
|
211
|
-
"fontSize":
|
|
210
|
+
"fontFamily": "AreaNormal-Semibold",
|
|
211
|
+
"fontSize": 15,
|
|
212
212
|
"fontStyle": "normal",
|
|
213
|
-
"fontWeight": "
|
|
214
|
-
"height": 24,
|
|
213
|
+
"fontWeight": "300",
|
|
215
214
|
"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,
|
|
215
|
+
"lineHeight": 20,
|
|
224
216
|
},
|
|
217
|
+
[
|
|
218
|
+
{
|
|
219
|
+
"fontFamily": "auroraicons",
|
|
220
|
+
"fontSize": 24,
|
|
221
|
+
"fontStyle": "normal",
|
|
222
|
+
"fontWeight": "normal",
|
|
223
|
+
"height": 24,
|
|
224
|
+
"lineHeight": 24,
|
|
225
|
+
"minHeight": 24,
|
|
226
|
+
"minWidth": 24,
|
|
227
|
+
"width": 24,
|
|
228
|
+
},
|
|
229
|
+
undefined,
|
|
230
|
+
],
|
|
225
231
|
]
|
|
226
232
|
}
|
|
227
233
|
testID="icon"
|
|
@@ -296,21 +302,24 @@ exports[`SelectField component matches the snapshot 1`] = `
|
|
|
296
302
|
testID="optionValue"
|
|
297
303
|
>
|
|
298
304
|
<Text
|
|
299
|
-
allowFontScaling={false}
|
|
300
|
-
selectable={false}
|
|
301
305
|
style={
|
|
302
306
|
[
|
|
303
307
|
{
|
|
304
308
|
"color": "#0C0A0A",
|
|
305
309
|
"fontFamily": "AreaNormal-Semibold",
|
|
306
310
|
"fontSize": 15,
|
|
311
|
+
"fontStyle": "normal",
|
|
312
|
+
"fontWeight": "300",
|
|
307
313
|
"letterSpacing": -0.2,
|
|
308
|
-
"lineHeight":
|
|
309
|
-
"paddingBottom": 0,
|
|
310
|
-
"paddingLeft": 0,
|
|
311
|
-
"paddingRight": 0,
|
|
312
|
-
"paddingTop": 0,
|
|
314
|
+
"lineHeight": 20,
|
|
313
315
|
},
|
|
316
|
+
[
|
|
317
|
+
{
|
|
318
|
+
"lineHeight": 24,
|
|
319
|
+
},
|
|
320
|
+
false,
|
|
321
|
+
undefined,
|
|
322
|
+
],
|
|
314
323
|
]
|
|
315
324
|
}
|
|
316
325
|
>
|
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
|
|
|
@@ -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}>
|
|
@@ -207,21 +207,27 @@ exports[`SizeWithoutStockModal component matches the snapshot 1`] = `
|
|
|
207
207
|
[
|
|
208
208
|
{
|
|
209
209
|
"color": "#0C0A0A",
|
|
210
|
-
"fontFamily": "
|
|
211
|
-
"fontSize":
|
|
210
|
+
"fontFamily": "AreaNormal-Semibold",
|
|
211
|
+
"fontSize": 15,
|
|
212
212
|
"fontStyle": "normal",
|
|
213
|
-
"fontWeight": "
|
|
214
|
-
"height": 24,
|
|
213
|
+
"fontWeight": "300",
|
|
215
214
|
"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,
|
|
215
|
+
"lineHeight": 20,
|
|
224
216
|
},
|
|
217
|
+
[
|
|
218
|
+
{
|
|
219
|
+
"fontFamily": "auroraicons",
|
|
220
|
+
"fontSize": 24,
|
|
221
|
+
"fontStyle": "normal",
|
|
222
|
+
"fontWeight": "normal",
|
|
223
|
+
"height": 24,
|
|
224
|
+
"lineHeight": 24,
|
|
225
|
+
"minHeight": 24,
|
|
226
|
+
"minWidth": 24,
|
|
227
|
+
"width": 24,
|
|
228
|
+
},
|
|
229
|
+
undefined,
|
|
230
|
+
],
|
|
225
231
|
]
|
|
226
232
|
}
|
|
227
233
|
testID="icon"
|
|
@@ -255,21 +261,19 @@ exports[`SizeWithoutStockModal component matches the snapshot 1`] = `
|
|
|
255
261
|
}
|
|
256
262
|
>
|
|
257
263
|
<Text
|
|
258
|
-
allowFontScaling={false}
|
|
259
|
-
selectable={false}
|
|
260
264
|
style={
|
|
261
265
|
[
|
|
262
266
|
{
|
|
263
267
|
"color": "#0C0A0A",
|
|
264
268
|
"fontFamily": "AreaInktrap-Semibold",
|
|
265
269
|
"fontSize": 31,
|
|
270
|
+
"fontStyle": "normal",
|
|
271
|
+
"fontWeight": "normal",
|
|
266
272
|
"letterSpacing": -1,
|
|
267
273
|
"lineHeight": 36,
|
|
274
|
+
},
|
|
275
|
+
{
|
|
268
276
|
"marginBottom": 4,
|
|
269
|
-
"paddingBottom": 0,
|
|
270
|
-
"paddingLeft": 0,
|
|
271
|
-
"paddingRight": 0,
|
|
272
|
-
"paddingTop": 0,
|
|
273
277
|
"width": "100%",
|
|
274
278
|
},
|
|
275
279
|
]
|
|
@@ -278,21 +282,20 @@ exports[`SizeWithoutStockModal component matches the snapshot 1`] = `
|
|
|
278
282
|
size_without_stock_modal.title
|
|
279
283
|
</Text>
|
|
280
284
|
<Text
|
|
281
|
-
allowFontScaling={false}
|
|
282
|
-
selectable={false}
|
|
283
285
|
style={
|
|
284
286
|
[
|
|
285
287
|
{
|
|
286
|
-
"color": "#
|
|
288
|
+
"color": "#0C0A0A",
|
|
287
289
|
"fontFamily": "AreaNormal-Semibold",
|
|
288
290
|
"fontSize": 15,
|
|
291
|
+
"fontStyle": "normal",
|
|
292
|
+
"fontWeight": "300",
|
|
289
293
|
"letterSpacing": -0.2,
|
|
290
294
|
"lineHeight": 20,
|
|
295
|
+
},
|
|
296
|
+
{
|
|
297
|
+
"color": "#837C7C",
|
|
291
298
|
"marginBottom": 24,
|
|
292
|
-
"paddingBottom": 0,
|
|
293
|
-
"paddingLeft": 0,
|
|
294
|
-
"paddingRight": 0,
|
|
295
|
-
"paddingTop": 0,
|
|
296
299
|
"width": "100%",
|
|
297
300
|
},
|
|
298
301
|
]
|