@ornikar/kitt-universal 29.1.0 → 29.3.0

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/index.es.js CHANGED
@@ -12007,7 +12007,7 @@ function AnimatedLoaderCircle(_ref) {
12007
12007
  return {
12008
12008
  strokeDashoffset: circlePerimeter - circlePerimeter * progress.value
12009
12009
  };
12010
- });
12010
+ }, [progress, circlePerimeter]);
12011
12011
  return /*#__PURE__*/jsx(AnimatedCircle, {
12012
12012
  "transform-origin": "center center",
12013
12013
  strokeWidth: strokeWidth,
@@ -12074,7 +12074,7 @@ function AnimatedFillCircleContainer(_ref) {
12074
12074
  rotate: "".concat(360 * progress.value, "deg")
12075
12075
  }]
12076
12076
  };
12077
- });
12077
+ }, [progress]);
12078
12078
  return /*#__PURE__*/jsx(Animated.View, {
12079
12079
  style: [StyleSheet.absoluteFill, rotationStyles],
12080
12080
  children: children
@@ -12431,7 +12431,6 @@ function SegmentedProgressBar(_ref) {
12431
12431
  });
12432
12432
  }
12433
12433
 
12434
- var AnimatedLinearGradient = Animated.createAnimatedComponent(LinearGradient);
12435
12434
  function SkeletonContent(_ref) {
12436
12435
  var isLoading = _ref.isLoading,
12437
12436
  width = _ref.width;
@@ -12451,24 +12450,27 @@ function SkeletonContent(_ref) {
12451
12450
  translateX: interpolate(sharedX.value, [0, 1], [-width, width])
12452
12451
  }]
12453
12452
  };
12454
- });
12453
+ }, [sharedX, width]);
12455
12454
  return /*#__PURE__*/jsx(View, {
12456
12455
  height: "100%",
12457
12456
  width: "100%",
12458
12457
  backgroundColor: "kitt.skeleton.backgroundColor",
12459
12458
  borderColor: "kitt.skeleton.flareColor",
12460
- children: /*#__PURE__*/jsx(AnimatedLinearGradient, {
12461
- colors: [theme.kitt.skeleton.backgroundColor, theme.kitt.skeleton.flareColor, theme.kitt.skeleton.backgroundColor],
12462
- locations: [0.1, 0.5, 0.9],
12463
- start: {
12464
- x: 0,
12465
- y: 0
12466
- },
12467
- end: {
12468
- x: 1,
12469
- y: 0
12470
- },
12471
- style: [StyleSheet.absoluteFill, linearGradientStyle]
12459
+ children: /*#__PURE__*/jsx(Animated.View, {
12460
+ style: [StyleSheet.absoluteFill, linearGradientStyle],
12461
+ children: /*#__PURE__*/jsx(LinearGradient, {
12462
+ colors: [theme.kitt.skeleton.backgroundColor, theme.kitt.skeleton.flareColor, theme.kitt.skeleton.backgroundColor],
12463
+ locations: [0.1, 0.5, 0.9],
12464
+ start: {
12465
+ x: 0,
12466
+ y: 0
12467
+ },
12468
+ end: {
12469
+ x: 1,
12470
+ y: 0
12471
+ },
12472
+ style: StyleSheet.absoluteFill
12473
+ })
12472
12474
  })
12473
12475
  });
12474
12476
  }