@hoddy-ui/next 2.5.75 → 2.5.76
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.d.mts +2 -3
- package/dist/index.d.ts +2 -3
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React, { ReactNode, FC } from 'react';
|
|
2
|
-
import { ViewStyle, TextStyle, NativeSyntheticEvent, NativeScrollEvent, TextInputProps, TextProps, StyleProp, ScrollView, View, TextInput } from 'react-native';
|
|
2
|
+
import { ViewStyle, TextStyle, NativeSyntheticEvent, NativeScrollEvent, TextInputProps, TextProps, StyleProp, ViewProps, ScrollView, View, TextInput } from 'react-native';
|
|
3
3
|
|
|
4
4
|
type ThemeTypes = "dark" | "light";
|
|
5
5
|
type ThemeModes = "dark" | "light" | "default";
|
|
@@ -241,9 +241,8 @@ interface TypographyProps extends TextProps {
|
|
|
241
241
|
fontSize?: number;
|
|
242
242
|
fontWeight?: 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900;
|
|
243
243
|
}
|
|
244
|
-
interface SafeAreaViewProps {
|
|
244
|
+
interface SafeAreaViewProps extends ViewProps {
|
|
245
245
|
children: ReactNode;
|
|
246
|
-
style?: StyleProp<ViewStyle>;
|
|
247
246
|
}
|
|
248
247
|
interface SelectMenuProps {
|
|
249
248
|
open: boolean;
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React, { ReactNode, FC } from 'react';
|
|
2
|
-
import { ViewStyle, TextStyle, NativeSyntheticEvent, NativeScrollEvent, TextInputProps, TextProps, StyleProp, ScrollView, View, TextInput } from 'react-native';
|
|
2
|
+
import { ViewStyle, TextStyle, NativeSyntheticEvent, NativeScrollEvent, TextInputProps, TextProps, StyleProp, ViewProps, ScrollView, View, TextInput } from 'react-native';
|
|
3
3
|
|
|
4
4
|
type ThemeTypes = "dark" | "light";
|
|
5
5
|
type ThemeModes = "dark" | "light" | "default";
|
|
@@ -241,9 +241,8 @@ interface TypographyProps extends TextProps {
|
|
|
241
241
|
fontSize?: number;
|
|
242
242
|
fontWeight?: 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900;
|
|
243
243
|
}
|
|
244
|
-
interface SafeAreaViewProps {
|
|
244
|
+
interface SafeAreaViewProps extends ViewProps {
|
|
245
245
|
children: ReactNode;
|
|
246
|
-
style?: StyleProp<ViewStyle>;
|
|
247
246
|
}
|
|
248
247
|
interface SelectMenuProps {
|
|
249
248
|
open: boolean;
|
package/dist/index.js
CHANGED
|
@@ -2181,7 +2181,7 @@ var import_react18 = __toESM(require("react"));
|
|
|
2181
2181
|
var import_react_native_safe_area_context6 = require("react-native-safe-area-context");
|
|
2182
2182
|
var import_react_native18 = require("react-native");
|
|
2183
2183
|
var SafeAreaView = (0, import_react18.forwardRef)(
|
|
2184
|
-
({ children, style }, ref) => {
|
|
2184
|
+
({ children, style, ...rest }, ref) => {
|
|
2185
2185
|
const { top, bottom } = (0, import_react_native_safe_area_context6.useSafeAreaInsets)();
|
|
2186
2186
|
const styles = import_react_native18.StyleSheet.create({
|
|
2187
2187
|
root: {
|
|
@@ -2190,7 +2190,7 @@ var SafeAreaView = (0, import_react18.forwardRef)(
|
|
|
2190
2190
|
flex: 1
|
|
2191
2191
|
}
|
|
2192
2192
|
});
|
|
2193
|
-
return /* @__PURE__ */ import_react18.default.createElement(import_react_native18.View, { ref, style: [styles.root, style] }, children);
|
|
2193
|
+
return /* @__PURE__ */ import_react18.default.createElement(import_react_native18.View, { ref, style: [styles.root, style], ...rest }, children);
|
|
2194
2194
|
}
|
|
2195
2195
|
);
|
|
2196
2196
|
|