@lookiero/checkout 0.8.14 → 0.8.15
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/infrastructure/ui/i18n/i18n.d.ts +1 -1
- package/dist/infrastructure/ui/i18n/i18n.js +1 -1
- package/dist/infrastructure/ui/views/item/components/productVariant/ProductVariant.js +1 -1
- package/dist/infrastructure/ui/views/item/components/productVariantDescription/ProductVariantDescription.js +1 -1
- package/dist/projection/checkoutItem/checkoutItem.d.ts +1 -0
- package/package.json +1 -1
|
@@ -14,7 +14,7 @@ import { IMAGE_WIDTH, style } from "./ProductVariant.style";
|
|
|
14
14
|
const { colorContent } = theme();
|
|
15
15
|
const ProductVariant = ({ media, brand, name, price, size: sizeProjection, color, status, discarded, country, style: customStyle, onPress, }) => {
|
|
16
16
|
const uniqueText = useI18nMessage({ id: I18nMessages.ITEM_UNIQUE });
|
|
17
|
-
const colorLabel = useI18nMessage({ id: color.
|
|
17
|
+
const colorLabel = useI18nMessage({ id: color.name, prefix: COLOR_I18N_PREFIX });
|
|
18
18
|
const sizeChangeText = useI18nMessage({ id: I18nMessages.PRODUCT_VARIANT_SIZE_CHANGE });
|
|
19
19
|
const cdnImageUrl = useMediaImage();
|
|
20
20
|
return (React.createElement(Pressable, { pointerEvents: onPress ? "auto" : "none", style: style.container, testID: "product-variant", onPress: onPress },
|
|
@@ -10,7 +10,7 @@ const ProductVariantDescription = ({ brand, name, price, size: sizeProjection, c
|
|
|
10
10
|
const sizeText = useI18nMessage({ id: I18nMessages.ITEM_SIZE });
|
|
11
11
|
const colorText = useI18nMessage({ id: I18nMessages.ITEM_COLOR });
|
|
12
12
|
const uniqueText = useI18nMessage({ id: I18nMessages.ITEM_UNIQUE });
|
|
13
|
-
const colorLabel = useI18nMessage({ id: color.
|
|
13
|
+
const colorLabel = useI18nMessage({ id: color.name, prefix: COLOR_I18N_PREFIX });
|
|
14
14
|
return (React.createElement(View, { style: style.container },
|
|
15
15
|
React.createElement(Text, { level: 3, style: style.brand, detail: true }, brand),
|
|
16
16
|
React.createElement(Text, { level: 2, style: style.name, body: true }, name),
|