@hoddy-ui/next 2.5.94 → 2.5.96
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/components/AdaptiveStatusBarNext.tsx +1 -5
- package/dist/index.js +2 -6
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +3 -7
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
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
|
|
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
|
};
|
|
@@ -1683,7 +1678,7 @@ var TextFieldBase = React15.forwardRef(
|
|
|
1683
1678
|
alignSelf: "stretch",
|
|
1684
1679
|
paddingLeft: inputPadding,
|
|
1685
1680
|
paddingRight: moderateScale2(10),
|
|
1686
|
-
...isFloating ? {
|
|
1681
|
+
...isFloating ? { marginTop: "13@ms", fontFamily: getFontFamily(400) } : {},
|
|
1687
1682
|
color: disabled ? colors2.textSecondary.main : colors2.dark.main,
|
|
1688
1683
|
zIndex: 10
|
|
1689
1684
|
},
|
|
@@ -1842,6 +1837,7 @@ var TextFieldBase = React15.forwardRef(
|
|
|
1842
1837
|
placeholder: labelOpen ? placeholder : "",
|
|
1843
1838
|
selectTextOnFocus: !disabled,
|
|
1844
1839
|
onSubmitEditing,
|
|
1840
|
+
verticalAlign: "middle",
|
|
1845
1841
|
multiline,
|
|
1846
1842
|
textAlignVertical: multiline ? "top" : "center",
|
|
1847
1843
|
...formProps,
|