@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.
@@ -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: "contain", src: cdnImageUrl({ url: media[0]?.url, width: IMAGE_WIDTH, dpi: 1 }), style: { view: [style.media, customStyle?.image] }, testID: "product-variant-media" })),
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),
@@ -21,6 +21,7 @@ declare const style: () => {
21
21
  borderRadius: number;
22
22
  borderWidth: number;
23
23
  height: number;
24
+ overflow: "hidden";
24
25
  width: number;
25
26
  };
26
27
  row: {
@@ -26,6 +26,7 @@ const style = () => {
26
26
  borderRadius: borderRadius3,
27
27
  borderWidth: borderWidth2,
28
28
  height: IMAGE_HEIGHT,
29
+ overflow: "hidden",
29
30
  width: IMAGE_WIDTH,
30
31
  },
31
32
  row: {
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "15.2.0";
2
- export declare const RELEASE = "checkout@15.2.0";
1
+ export declare const VERSION = "15.2.1";
2
+ export declare const RELEASE = "checkout@15.2.1";
@@ -1,2 +1,2 @@
1
- export const VERSION = "15.2.0";
2
- export const RELEASE = "checkout@15.2.0";
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.2.0",
3
+ "version": "15.2.1",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "sideEffects": "false",
@@ -41,6 +41,7 @@ const style = () => {
41
41
  borderRadius: borderRadius3,
42
42
  borderWidth: borderWidth2,
43
43
  height: IMAGE_HEIGHT,
44
+ overflow: "hidden",
44
45
  width: IMAGE_WIDTH,
45
46
  },
46
47
  row: {
@@ -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="contain"
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="contain"
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="contain"
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="contain"
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="contain"
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="contain"
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="contain"
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",