@lookiero/checkout 15.2.0 → 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 +1 -1
- 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 -4
|
@@ -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.
|
|
2
|
-
export declare const RELEASE = "checkout@15.2.
|
|
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.
|
|
2
|
-
export const RELEASE = "checkout@15.2.
|
|
1
|
+
export const VERSION = "15.2.1";
|
|
2
|
+
export const RELEASE = "checkout@15.2.1";
|
package/package.json
CHANGED
|
@@ -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",
|
|
@@ -377,6 +377,7 @@ exports[`CheckoutItemTabs component matches the snapshot 1`] = `
|
|
|
377
377
|
"borderRadius": 8,
|
|
378
378
|
"borderWidth": 2,
|
|
379
379
|
"height": 132,
|
|
380
|
+
"overflow": "hidden",
|
|
380
381
|
"width": 104,
|
|
381
382
|
},
|
|
382
383
|
undefined,
|
|
@@ -466,7 +467,7 @@ exports[`CheckoutItemTabs component matches the snapshot 1`] = `
|
|
|
466
467
|
</View>
|
|
467
468
|
<Image
|
|
468
469
|
onLoad={[Function]}
|
|
469
|
-
resizeMode="
|
|
470
|
+
resizeMode="cover"
|
|
470
471
|
source={
|
|
471
472
|
{
|
|
472
473
|
"uri": "https://cdn-catalog-back-prod.envs.lookiero.tech/1a/28/1a28f712-a76c-4172-8a11-f15002981dc0.jpg?w=104&f=auto",
|
|
@@ -703,6 +704,7 @@ exports[`CheckoutItemTabs component matches the snapshot 1`] = `
|
|
|
703
704
|
"borderRadius": 8,
|
|
704
705
|
"borderWidth": 2,
|
|
705
706
|
"height": 132,
|
|
707
|
+
"overflow": "hidden",
|
|
706
708
|
"width": 104,
|
|
707
709
|
},
|
|
708
710
|
undefined,
|
|
@@ -792,7 +794,7 @@ exports[`CheckoutItemTabs component matches the snapshot 1`] = `
|
|
|
792
794
|
</View>
|
|
793
795
|
<Image
|
|
794
796
|
onLoad={[Function]}
|
|
795
|
-
resizeMode="
|
|
797
|
+
resizeMode="cover"
|
|
796
798
|
source={
|
|
797
799
|
{
|
|
798
800
|
"uri": "https://cdn-catalog-back-prod.envs.lookiero.tech/1a/28/1a28f712-a76c-4172-8a11-f15002981dc0.jpg?w=104&f=auto",
|
|
@@ -1074,6 +1076,7 @@ exports[`CheckoutItemTabs component matches the snapshot 1`] = `
|
|
|
1074
1076
|
"borderRadius": 8,
|
|
1075
1077
|
"borderWidth": 2,
|
|
1076
1078
|
"height": 132,
|
|
1079
|
+
"overflow": "hidden",
|
|
1077
1080
|
"width": 104,
|
|
1078
1081
|
},
|
|
1079
1082
|
undefined,
|
|
@@ -1163,7 +1166,7 @@ exports[`CheckoutItemTabs component matches the snapshot 1`] = `
|
|
|
1163
1166
|
</View>
|
|
1164
1167
|
<Image
|
|
1165
1168
|
onLoad={[Function]}
|
|
1166
|
-
resizeMode="
|
|
1169
|
+
resizeMode="cover"
|
|
1167
1170
|
source={
|
|
1168
1171
|
{
|
|
1169
1172
|
"uri": "https://cdn-catalog-back-prod.envs.lookiero.tech/1a/28/1a28f712-a76c-4172-8a11-f15002981dc0.jpg?w=104&f=auto",
|
|
@@ -1400,6 +1403,7 @@ exports[`CheckoutItemTabs component matches the snapshot 1`] = `
|
|
|
1400
1403
|
"borderRadius": 8,
|
|
1401
1404
|
"borderWidth": 2,
|
|
1402
1405
|
"height": 132,
|
|
1406
|
+
"overflow": "hidden",
|
|
1403
1407
|
"width": 104,
|
|
1404
1408
|
},
|
|
1405
1409
|
undefined,
|
|
@@ -1489,7 +1493,7 @@ exports[`CheckoutItemTabs component matches the snapshot 1`] = `
|
|
|
1489
1493
|
</View>
|
|
1490
1494
|
<Image
|
|
1491
1495
|
onLoad={[Function]}
|
|
1492
|
-
resizeMode="
|
|
1496
|
+
resizeMode="cover"
|
|
1493
1497
|
source={
|
|
1494
1498
|
{
|
|
1495
1499
|
"uri": "https://cdn-catalog-back-prod.envs.lookiero.tech/1a/28/1a28f712-a76c-4172-8a11-f15002981dc0.jpg?w=104&f=auto",
|