@ornikar/kitt-universal 29.2.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/CHANGELOG.md +10 -0
- package/dist/definitions/Skeleton/SkeletonContent.d.ts.map +1 -1
- package/dist/index-metro.es.android.js +16 -14
- package/dist/index-metro.es.android.js.map +1 -1
- package/dist/index-metro.es.ios.js +16 -14
- package/dist/index-metro.es.ios.js.map +1 -1
- package/dist/index-node-22.17.cjs.js +16 -14
- package/dist/index-node-22.17.cjs.js.map +1 -1
- package/dist/index-node-22.17.cjs.web.css +0 -2
- package/dist/index-node-22.17.cjs.web.js +43 -7
- package/dist/index-node-22.17.cjs.web.js.map +1 -1
- package/dist/index-node-22.17.es.mjs +16 -14
- package/dist/index-node-22.17.es.mjs.map +1 -1
- package/dist/index-node-22.17.es.web.css +0 -2
- package/dist/index-node-22.17.es.web.mjs +44 -8
- package/dist/index-node-22.17.es.web.mjs.map +1 -1
- package/dist/index.es.js +16 -14
- package/dist/index.es.js.map +1 -1
- package/dist/index.es.web.js +44 -8
- package/dist/index.es.web.js.map +1 -1
- package/dist/styles.css +0 -2
- package/dist/tsbuildinfo +1 -1
- package/package.json +2 -2
- package/dist/definitions/Skeleton/SkeletonContent.web.d.ts +0 -7
- package/dist/definitions/Skeleton/SkeletonContent.web.d.ts.map +0 -1
package/dist/index.es.js
CHANGED
|
@@ -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(
|
|
12461
|
-
|
|
12462
|
-
|
|
12463
|
-
|
|
12464
|
-
|
|
12465
|
-
|
|
12466
|
-
|
|
12467
|
-
|
|
12468
|
-
|
|
12469
|
-
|
|
12470
|
-
|
|
12471
|
-
|
|
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
|
}
|