@hoddy-ui/next 2.0.5 → 2.0.7

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.js CHANGED
@@ -1549,7 +1549,6 @@ var TextField2 = ({
1549
1549
  const colors2 = useColors();
1550
1550
  const [focused, _setFocused] = (0, import_react16.useState)(false);
1551
1551
  const [showPassword, setShowPassword] = (0, import_react16.useState)(false);
1552
- const labelAnim = (0, import_react16.useRef)(new import_react_native16.Animated.Value(0)).current;
1553
1552
  const height = (0, import_react_native_size_matters14.moderateScale)(
1554
1553
  props.multiline ? 50 + (props.numberOfLines || 1) * 18 : 50
1555
1554
  );
@@ -1558,21 +1557,6 @@ var TextField2 = ({
1558
1557
  _setFocused(value2);
1559
1558
  });
1560
1559
  };
1561
- import_react16.default.useEffect(() => {
1562
- if (focused || value) {
1563
- import_react_native16.Animated.timing(labelAnim, {
1564
- toValue: (0, import_react_native_size_matters14.verticalScale)(5),
1565
- duration: 300,
1566
- useNativeDriver: false
1567
- }).start();
1568
- } else {
1569
- import_react_native16.Animated.timing(labelAnim, {
1570
- toValue: height / (0, import_react_native_size_matters14.moderateScale)(3),
1571
- duration: 300,
1572
- useNativeDriver: false
1573
- }).start();
1574
- }
1575
- }, [focused, value]);
1576
1560
  const styles2 = import_react_native_size_matters14.ScaledSheet.create({
1577
1561
  root: {
1578
1562
  marginBottom: gutterBottom + "@vs",