@hoddy-ui/next 2.5.93 → 2.5.95

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.mjs CHANGED
@@ -197,7 +197,7 @@ function initialize(config2) {
197
197
 
198
198
  // components/AdaptiveStatusBarNext.tsx
199
199
  import { useFocusEffect } from "expo-router";
200
- import React4, { useState as useState2 } from "react";
200
+ import React4 from "react";
201
201
  import { Platform as Platform3, StatusBar } from "react-native";
202
202
 
203
203
  // ../src/hooks.ts
@@ -446,7 +446,6 @@ var ConfigureSystemUI = () => {
446
446
  NavigationBar.setStyle("dark");
447
447
  }
448
448
  } else {
449
- NavigationBar.setBackgroundColorAsync(colors2.white[1]);
450
449
  if (theme === "dark") {
451
450
  NavigationBar.setButtonStyleAsync("light");
452
451
  } else {
@@ -578,15 +577,11 @@ var useNavScreenOptions = (type) => {
578
577
 
579
578
  // components/AdaptiveStatusBarNext.tsx
580
579
  var AdaptiveStatusBar = ({ translucent = false }) => {
581
- const [focused, setFocused] = useState2(false);
582
580
  const colors2 = useColors();
583
581
  const theme = useTheme();
584
582
  const statusbarHandler = () => {
585
583
  StatusBar.setBarStyle(theme === "dark" ? "light-content" : "dark-content");
586
584
  if (Platform3.OS === "android") {
587
- StatusBar.setBackgroundColor(
588
- translucent ? "transparent" : colors2.white[1]
589
- );
590
585
  StatusBar.setTranslucent(true);
591
586
  }
592
587
  };
@@ -1608,8 +1603,7 @@ var TextFieldBase = React15.forwardRef(
1608
1603
  }
1609
1604
  };
1610
1605
  const isFloating = labelVariant === "floating";
1611
- const hasPlaceholder = placeholder != null && String(placeholder).trim() !== "";
1612
- const labelOpen = labelAlwaysOpen || focused || value || isFloating && hasPlaceholder;
1606
+ const labelOpen = labelAlwaysOpen || focused || value;
1613
1607
  const baseHeight = moderateScale2(
1614
1608
  multiline ? 50 + (props.numberOfLines || 1) * 18 : 50
1615
1609
  );