@lookiero/checkout 15.1.1 → 15.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/src/infrastructure/ui/views/shared/components/productVariant/ProductVariant.js +1 -1
- package/dist/src/infrastructure/ui/views/shared/components/productVariant/ProductVariant.style.d.ts +1 -0
- package/dist/src/infrastructure/ui/views/shared/components/productVariant/ProductVariant.style.js +1 -0
- package/dist/src/version.d.ts +2 -2
- package/dist/src/version.js +2 -2
- package/package.json +3 -3
- package/src/infrastructure/ui/views/item/components/productVariantSlider/__snapshots__/ProductVariantSlider.test.tsx.snap +0 -2
- package/src/infrastructure/ui/views/item/views/productVariant/__snapshots__/ProductVariant.test.tsx.snap +0 -6
- package/src/infrastructure/ui/views/shared/components/productVariant/ProductVariant.style.ts +1 -0
- 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 +4 -2
- package/src/infrastructure/ui/views/summaryTabs/components/checkoutItemsTabs/__snapshots__/CheckoutItemsTabs.test.tsx.snap +8 -5
|
@@ -18,7 +18,7 @@ const ProductVariant = ({ media, brand, name, price, size: sizeProjection, color
|
|
|
18
18
|
return (React.createElement(Pressable, { pointerEvents: onPress ? "auto" : "none", style: style.container, testID: "product-variant", onPress: onPress },
|
|
19
19
|
React.createElement(View, { style: style.row },
|
|
20
20
|
React.createElement(View, null,
|
|
21
|
-
React.createElement(LazyImage, { hiResSrc: cdnImageUrl({ url: media[0]?.url, width: IMAGE_WIDTH }), resizeMode: "
|
|
21
|
+
React.createElement(LazyImage, { hiResSrc: cdnImageUrl({ url: media[0]?.url, width: IMAGE_WIDTH }), resizeMode: "cover", src: cdnImageUrl({ url: media[0]?.url, width: IMAGE_WIDTH, dpi: 1 }), style: { view: [style.media, customStyle?.image] }, testID: "product-variant-media" })),
|
|
22
22
|
React.createElement(View, { style: style.descriptionContainer },
|
|
23
23
|
React.createElement(View, { style: style.infoProductVariant },
|
|
24
24
|
React.createElement(Text, { level: 2, style: style.text, variant: "detail" }, brand),
|
package/dist/src/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "15.
|
|
2
|
-
export declare const RELEASE = "checkout@15.
|
|
1
|
+
export declare const VERSION = "15.2.1";
|
|
2
|
+
export declare const RELEASE = "checkout@15.2.1";
|
package/dist/src/version.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export const VERSION = "15.
|
|
2
|
-
export const RELEASE = "checkout@15.
|
|
1
|
+
export const VERSION = "15.2.1";
|
|
2
|
+
export const RELEASE = "checkout@15.2.1";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lookiero/checkout",
|
|
3
|
-
"version": "15.
|
|
3
|
+
"version": "15.2.1",
|
|
4
4
|
"main": "dist/index.js",
|
|
5
5
|
"types": "dist/index.d.ts",
|
|
6
6
|
"sideEffects": "false",
|
|
@@ -28,12 +28,12 @@
|
|
|
28
28
|
"@lookiero/sty-psp-i18n": "^2.1",
|
|
29
29
|
"@lookiero/sty-psp-locale": "^2.1",
|
|
30
30
|
"@lookiero/sty-psp-logging": "^2.3",
|
|
31
|
-
"@lookiero/sty-psp-notifications": "^2.
|
|
31
|
+
"@lookiero/sty-psp-notifications": "^2.23",
|
|
32
32
|
"@lookiero/sty-psp-react-native": "^3.0",
|
|
33
33
|
"@lookiero/sty-psp-segment": "^0.1",
|
|
34
34
|
"@lookiero/sty-psp-storage": "^1.1",
|
|
35
35
|
"@lookiero/sty-psp-tracking": "^2.5",
|
|
36
|
-
"@lookiero/sty-psp-ui": "^5.
|
|
36
|
+
"@lookiero/sty-psp-ui": "^5.2",
|
|
37
37
|
"@lookiero/sty-psp-ui-settings": "^1.7",
|
|
38
38
|
"@lookiero/sty-psp-units": "^0.1",
|
|
39
39
|
"@lookiero/sty-psp-uuid": "^0.2",
|
|
@@ -459,7 +459,6 @@ exports[`ProductVariantSlider matches the snapshot 1`] = `
|
|
|
459
459
|
style={
|
|
460
460
|
[
|
|
461
461
|
{
|
|
462
|
-
"backgroundColor": "#0C0A0A",
|
|
463
462
|
"marginHorizontal": 3,
|
|
464
463
|
},
|
|
465
464
|
{
|
|
@@ -515,7 +514,6 @@ exports[`ProductVariantSlider matches the snapshot 1`] = `
|
|
|
515
514
|
style={
|
|
516
515
|
[
|
|
517
516
|
{
|
|
518
|
-
"backgroundColor": "#0C0A0A",
|
|
519
517
|
"marginHorizontal": 3,
|
|
520
518
|
},
|
|
521
519
|
{
|
|
@@ -470,7 +470,6 @@ exports[`ItemActions component matches the snapshot for a KEPT checkoutItem 1`]
|
|
|
470
470
|
style={
|
|
471
471
|
[
|
|
472
472
|
{
|
|
473
|
-
"backgroundColor": "#0C0A0A",
|
|
474
473
|
"marginHorizontal": 3,
|
|
475
474
|
},
|
|
476
475
|
{
|
|
@@ -526,7 +525,6 @@ exports[`ItemActions component matches the snapshot for a KEPT checkoutItem 1`]
|
|
|
526
525
|
style={
|
|
527
526
|
[
|
|
528
527
|
{
|
|
529
|
-
"backgroundColor": "#0C0A0A",
|
|
530
528
|
"marginHorizontal": 3,
|
|
531
529
|
},
|
|
532
530
|
{
|
|
@@ -1146,7 +1144,6 @@ exports[`ItemActions component matches the snapshot for a REPLACED checkoutItem
|
|
|
1146
1144
|
style={
|
|
1147
1145
|
[
|
|
1148
1146
|
{
|
|
1149
|
-
"backgroundColor": "#0C0A0A",
|
|
1150
1147
|
"marginHorizontal": 3,
|
|
1151
1148
|
},
|
|
1152
1149
|
{
|
|
@@ -1202,7 +1199,6 @@ exports[`ItemActions component matches the snapshot for a REPLACED checkoutItem
|
|
|
1202
1199
|
style={
|
|
1203
1200
|
[
|
|
1204
1201
|
{
|
|
1205
|
-
"backgroundColor": "#0C0A0A",
|
|
1206
1202
|
"marginHorizontal": 3,
|
|
1207
1203
|
},
|
|
1208
1204
|
{
|
|
@@ -1822,7 +1818,6 @@ exports[`ItemActions component matches the snapshot for an INITIAL checkoutItem
|
|
|
1822
1818
|
style={
|
|
1823
1819
|
[
|
|
1824
1820
|
{
|
|
1825
|
-
"backgroundColor": "#0C0A0A",
|
|
1826
1821
|
"marginHorizontal": 3,
|
|
1827
1822
|
},
|
|
1828
1823
|
{
|
|
@@ -1878,7 +1873,6 @@ exports[`ItemActions component matches the snapshot for an INITIAL checkoutItem
|
|
|
1878
1873
|
style={
|
|
1879
1874
|
[
|
|
1880
1875
|
{
|
|
1881
|
-
"backgroundColor": "#0C0A0A",
|
|
1882
1876
|
"marginHorizontal": 3,
|
|
1883
1877
|
},
|
|
1884
1878
|
{
|
|
@@ -60,7 +60,7 @@ const ProductVariant: FC<ProductVariantProps> = ({
|
|
|
60
60
|
<View>
|
|
61
61
|
<LazyImage
|
|
62
62
|
hiResSrc={cdnImageUrl({ url: media[0]?.url as string, width: IMAGE_WIDTH })}
|
|
63
|
-
resizeMode="
|
|
63
|
+
resizeMode="cover"
|
|
64
64
|
src={cdnImageUrl({ url: media[0]?.url as string, width: IMAGE_WIDTH, dpi: 1 })}
|
|
65
65
|
style={{ view: [style.media, customStyle?.image] }}
|
|
66
66
|
testID="product-variant-media"
|
|
@@ -93,6 +93,7 @@ exports[`ProductVariant component matches the snapshot for a non-unique size: no
|
|
|
93
93
|
"borderRadius": 8,
|
|
94
94
|
"borderWidth": 2,
|
|
95
95
|
"height": 132,
|
|
96
|
+
"overflow": "hidden",
|
|
96
97
|
"width": 104,
|
|
97
98
|
},
|
|
98
99
|
undefined,
|
|
@@ -182,7 +183,7 @@ exports[`ProductVariant component matches the snapshot for a non-unique size: no
|
|
|
182
183
|
</View>
|
|
183
184
|
<Image
|
|
184
185
|
onLoad={[Function]}
|
|
185
|
-
resizeMode="
|
|
186
|
+
resizeMode="cover"
|
|
186
187
|
source={
|
|
187
188
|
{
|
|
188
189
|
"uri": "https://cdn-catalog-back-prod.envs.lookiero.tech/1a/28/1a28f712-a76c-4172-8a11-f15002981dc0.jpg?w=104&f=auto",
|
|
@@ -447,6 +448,7 @@ exports[`ProductVariant component matches the snapshot for an unique size: uniqu
|
|
|
447
448
|
"borderRadius": 8,
|
|
448
449
|
"borderWidth": 2,
|
|
449
450
|
"height": 132,
|
|
451
|
+
"overflow": "hidden",
|
|
450
452
|
"width": 104,
|
|
451
453
|
},
|
|
452
454
|
undefined,
|
|
@@ -536,7 +538,7 @@ exports[`ProductVariant component matches the snapshot for an unique size: uniqu
|
|
|
536
538
|
</View>
|
|
537
539
|
<Image
|
|
538
540
|
onLoad={[Function]}
|
|
539
|
-
resizeMode="
|
|
541
|
+
resizeMode="cover"
|
|
540
542
|
source={
|
|
541
543
|
{
|
|
542
544
|
"uri": "https://cdn-catalog-back-prod.envs.lookiero.tech/1a/28/1a28f712-a76c-4172-8a11-f15002981dc0.jpg?w=104&f=auto",
|
|
@@ -212,7 +212,6 @@ exports[`CheckoutItemTabs component matches the snapshot 1`] = `
|
|
|
212
212
|
{
|
|
213
213
|
"backgroundColor": "#0C0A0A",
|
|
214
214
|
"bottom": 0,
|
|
215
|
-
"display": "flex",
|
|
216
215
|
"height": 2,
|
|
217
216
|
"left": 0,
|
|
218
217
|
"position": "absolute",
|
|
@@ -378,6 +377,7 @@ exports[`CheckoutItemTabs component matches the snapshot 1`] = `
|
|
|
378
377
|
"borderRadius": 8,
|
|
379
378
|
"borderWidth": 2,
|
|
380
379
|
"height": 132,
|
|
380
|
+
"overflow": "hidden",
|
|
381
381
|
"width": 104,
|
|
382
382
|
},
|
|
383
383
|
undefined,
|
|
@@ -467,7 +467,7 @@ exports[`CheckoutItemTabs component matches the snapshot 1`] = `
|
|
|
467
467
|
</View>
|
|
468
468
|
<Image
|
|
469
469
|
onLoad={[Function]}
|
|
470
|
-
resizeMode="
|
|
470
|
+
resizeMode="cover"
|
|
471
471
|
source={
|
|
472
472
|
{
|
|
473
473
|
"uri": "https://cdn-catalog-back-prod.envs.lookiero.tech/1a/28/1a28f712-a76c-4172-8a11-f15002981dc0.jpg?w=104&f=auto",
|
|
@@ -704,6 +704,7 @@ exports[`CheckoutItemTabs component matches the snapshot 1`] = `
|
|
|
704
704
|
"borderRadius": 8,
|
|
705
705
|
"borderWidth": 2,
|
|
706
706
|
"height": 132,
|
|
707
|
+
"overflow": "hidden",
|
|
707
708
|
"width": 104,
|
|
708
709
|
},
|
|
709
710
|
undefined,
|
|
@@ -793,7 +794,7 @@ exports[`CheckoutItemTabs component matches the snapshot 1`] = `
|
|
|
793
794
|
</View>
|
|
794
795
|
<Image
|
|
795
796
|
onLoad={[Function]}
|
|
796
|
-
resizeMode="
|
|
797
|
+
resizeMode="cover"
|
|
797
798
|
source={
|
|
798
799
|
{
|
|
799
800
|
"uri": "https://cdn-catalog-back-prod.envs.lookiero.tech/1a/28/1a28f712-a76c-4172-8a11-f15002981dc0.jpg?w=104&f=auto",
|
|
@@ -1075,6 +1076,7 @@ exports[`CheckoutItemTabs component matches the snapshot 1`] = `
|
|
|
1075
1076
|
"borderRadius": 8,
|
|
1076
1077
|
"borderWidth": 2,
|
|
1077
1078
|
"height": 132,
|
|
1079
|
+
"overflow": "hidden",
|
|
1078
1080
|
"width": 104,
|
|
1079
1081
|
},
|
|
1080
1082
|
undefined,
|
|
@@ -1164,7 +1166,7 @@ exports[`CheckoutItemTabs component matches the snapshot 1`] = `
|
|
|
1164
1166
|
</View>
|
|
1165
1167
|
<Image
|
|
1166
1168
|
onLoad={[Function]}
|
|
1167
|
-
resizeMode="
|
|
1169
|
+
resizeMode="cover"
|
|
1168
1170
|
source={
|
|
1169
1171
|
{
|
|
1170
1172
|
"uri": "https://cdn-catalog-back-prod.envs.lookiero.tech/1a/28/1a28f712-a76c-4172-8a11-f15002981dc0.jpg?w=104&f=auto",
|
|
@@ -1401,6 +1403,7 @@ exports[`CheckoutItemTabs component matches the snapshot 1`] = `
|
|
|
1401
1403
|
"borderRadius": 8,
|
|
1402
1404
|
"borderWidth": 2,
|
|
1403
1405
|
"height": 132,
|
|
1406
|
+
"overflow": "hidden",
|
|
1404
1407
|
"width": 104,
|
|
1405
1408
|
},
|
|
1406
1409
|
undefined,
|
|
@@ -1490,7 +1493,7 @@ exports[`CheckoutItemTabs component matches the snapshot 1`] = `
|
|
|
1490
1493
|
</View>
|
|
1491
1494
|
<Image
|
|
1492
1495
|
onLoad={[Function]}
|
|
1493
|
-
resizeMode="
|
|
1496
|
+
resizeMode="cover"
|
|
1494
1497
|
source={
|
|
1495
1498
|
{
|
|
1496
1499
|
"uri": "https://cdn-catalog-back-prod.envs.lookiero.tech/1a/28/1a28f712-a76c-4172-8a11-f15002981dc0.jpg?w=104&f=auto",
|