@lookiero/checkout 0.8.4 → 0.8.5

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.
@@ -5,7 +5,7 @@ import { Image, Pressable, View } from "react-native";
5
5
  import Svg, { Line } from "react-native-svg";
6
6
  import { CheckoutItemStatus } from "../../../../../../domain/checkoutItem/model/checkoutItem";
7
7
  import { size } from "../../../../../../projection/shared/size";
8
- import { ButtonIcon } from "../../../../../../shared/ui/components/molecules/buttonIcon/ButtonIcon";
8
+ import { Icon } from "../../../../../../shared/ui/components/atoms/icon/Icon";
9
9
  import { Price } from "../../../../components/atoms/price/Price";
10
10
  import { useMediaImage } from "../../../../hooks/useMediaImage";
11
11
  import { COLOR_I18N_PREFIX, I18nMessages } from "../../../../i18n/i18n";
@@ -39,6 +39,6 @@ const ProductVariant = ({ media, brand, name, price, size: sizeProjection, color
39
39
  status === CheckoutItemStatus.REPLACED && (React.createElement(View, { style: style.sizeChange },
40
40
  React.createElement(Text, { level: 3, style: style.sizeChangeText, detail: true }, sizeChangeText)))),
41
41
  React.createElement(Price, { price: price, variant: "detail" }))),
42
- onPress && React.createElement(ButtonIcon, { name: "arrow-right" })));
42
+ onPress && React.createElement(Icon, { name: "arrow-right" })));
43
43
  };
44
44
  export { ProductVariant };
@@ -123,7 +123,7 @@ const Slider = ({ children, active = 0, loop = false, minDistanceToCapture = 5,
123
123
  return (React.createElement(View, { style: style.container, testID: "slider", onLayout: onLayoutWrapper },
124
124
  React.createElement(Animated.View, { style: StyleSheet.flatten([
125
125
  {
126
- transform: [{ translateX: pan.x }, { translateY: pan.y }],
126
+ left: pan.x,
127
127
  },
128
128
  style.sliderAreaStyle,
129
129
  ]), ...panResponder.panHandlers }, flatennedChildren.map((child, index) => (React.createElement(View, { key: index, style: { width }, testID: "slider-child" }, child)))),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lookiero/checkout",
3
- "version": "0.8.4",
3
+ "version": "0.8.5",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "files": [