related-ui-components 1.1.6 → 1.1.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/lib/commonjs/app/_layout.js +37 -39
- package/lib/commonjs/app/_layout.js.map +1 -1
- package/lib/module/app/_layout.js +36 -33
- package/lib/module/app/_layout.js.map +1 -1
- package/lib/typescript/commonjs/app/_layout.d.ts +0 -2
- package/lib/typescript/commonjs/app/_layout.d.ts.map +1 -1
- package/lib/typescript/module/app/_layout.d.ts +0 -2
- package/lib/typescript/module/app/_layout.d.ts.map +1 -1
- package/package.json +1 -2
- package/src/app/_layout.tsx +32 -32
|
@@ -1,41 +1,39 @@
|
|
|
1
|
-
|
|
1
|
+
// import { DarkTheme, DefaultTheme, ThemeProvider as Custom } from '@react-navigation/native';
|
|
2
|
+
// import { useFonts } from 'expo-font';
|
|
3
|
+
// import { Stack } from 'expo-router';
|
|
4
|
+
// import * as SplashScreen from 'expo-splash-screen';
|
|
5
|
+
// import { StatusBar } from 'expo-status-bar';
|
|
6
|
+
// import { useEffect } from 'react';
|
|
7
|
+
// import 'react-native-reanimated';
|
|
8
|
+
// import {ThemeProvider} from '@/theme/ThemeContext';
|
|
9
|
+
|
|
10
|
+
// // Prevent the splash screen from auto-hiding before asset loading is complete.
|
|
11
|
+
// SplashScreen.preventAutoHideAsync();
|
|
12
|
+
|
|
13
|
+
// export default function RootLayout() {
|
|
14
|
+
// const [loaded] = useFonts({
|
|
15
|
+
// SpaceMono: require('../assets/fonts/SpaceMono-Regular.ttf'),
|
|
16
|
+
// });
|
|
2
17
|
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
//
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
if (loaded) {
|
|
25
|
-
SplashScreen.hideAsync();
|
|
26
|
-
}
|
|
27
|
-
}, [loaded]);
|
|
28
|
-
if (!loaded) {
|
|
29
|
-
return null;
|
|
30
|
-
}
|
|
31
|
-
return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_ThemeContext.ThemeProvider, {
|
|
32
|
-
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_expoRouter.Stack, {
|
|
33
|
-
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_expoRouter.Stack.Screen, {
|
|
34
|
-
name: "+not-found"
|
|
35
|
-
})
|
|
36
|
-
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_expoStatusBar.StatusBar, {
|
|
37
|
-
style: "auto"
|
|
38
|
-
})]
|
|
39
|
-
});
|
|
40
|
-
}
|
|
18
|
+
// useEffect(() => {
|
|
19
|
+
// if (loaded) {
|
|
20
|
+
// SplashScreen.hideAsync();
|
|
21
|
+
// }
|
|
22
|
+
// }, [loaded]);
|
|
23
|
+
|
|
24
|
+
// if (!loaded) {
|
|
25
|
+
// return null;
|
|
26
|
+
// }
|
|
27
|
+
|
|
28
|
+
// return (
|
|
29
|
+
// <ThemeProvider>
|
|
30
|
+
// <Stack>
|
|
31
|
+
// {/* <Stack.Screen name="(tabs)" options={{ headerShown: false }} /> */}
|
|
32
|
+
// <Stack.Screen name="+not-found" />
|
|
33
|
+
// </Stack>
|
|
34
|
+
// <StatusBar style="auto" />
|
|
35
|
+
// </ThemeProvider>
|
|
36
|
+
// );
|
|
37
|
+
// }
|
|
38
|
+
"use strict";
|
|
41
39
|
//# sourceMappingURL=_layout.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":[
|
|
1
|
+
{"version":3,"names":[],"sourceRoot":"..\\..\\..\\src","sources":["app/_layout.tsx"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAGA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAAA","ignoreList":[]}
|
|
@@ -1,36 +1,39 @@
|
|
|
1
|
-
|
|
1
|
+
// import { DarkTheme, DefaultTheme, ThemeProvider as Custom } from '@react-navigation/native';
|
|
2
|
+
// import { useFonts } from 'expo-font';
|
|
3
|
+
// import { Stack } from 'expo-router';
|
|
4
|
+
// import * as SplashScreen from 'expo-splash-screen';
|
|
5
|
+
// import { StatusBar } from 'expo-status-bar';
|
|
6
|
+
// import { useEffect } from 'react';
|
|
7
|
+
// import 'react-native-reanimated';
|
|
8
|
+
// import {ThemeProvider} from '@/theme/ThemeContext';
|
|
9
|
+
|
|
10
|
+
// // Prevent the splash screen from auto-hiding before asset loading is complete.
|
|
11
|
+
// SplashScreen.preventAutoHideAsync();
|
|
12
|
+
|
|
13
|
+
// export default function RootLayout() {
|
|
14
|
+
// const [loaded] = useFonts({
|
|
15
|
+
// SpaceMono: require('../assets/fonts/SpaceMono-Regular.ttf'),
|
|
16
|
+
// });
|
|
2
17
|
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
import 'react-native-reanimated';
|
|
9
|
-
import { ThemeProvider } from '@/theme/ThemeContext';
|
|
18
|
+
// useEffect(() => {
|
|
19
|
+
// if (loaded) {
|
|
20
|
+
// SplashScreen.hideAsync();
|
|
21
|
+
// }
|
|
22
|
+
// }, [loaded]);
|
|
10
23
|
|
|
11
|
-
//
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
return /*#__PURE__*/_jsxs(ThemeProvider, {
|
|
27
|
-
children: [/*#__PURE__*/_jsx(Stack, {
|
|
28
|
-
children: /*#__PURE__*/_jsx(Stack.Screen, {
|
|
29
|
-
name: "+not-found"
|
|
30
|
-
})
|
|
31
|
-
}), /*#__PURE__*/_jsx(StatusBar, {
|
|
32
|
-
style: "auto"
|
|
33
|
-
})]
|
|
34
|
-
});
|
|
35
|
-
}
|
|
24
|
+
// if (!loaded) {
|
|
25
|
+
// return null;
|
|
26
|
+
// }
|
|
27
|
+
|
|
28
|
+
// return (
|
|
29
|
+
// <ThemeProvider>
|
|
30
|
+
// <Stack>
|
|
31
|
+
// {/* <Stack.Screen name="(tabs)" options={{ headerShown: false }} /> */}
|
|
32
|
+
// <Stack.Screen name="+not-found" />
|
|
33
|
+
// </Stack>
|
|
34
|
+
// <StatusBar style="auto" />
|
|
35
|
+
// </ThemeProvider>
|
|
36
|
+
// );
|
|
37
|
+
// }
|
|
38
|
+
"use strict";
|
|
36
39
|
//# sourceMappingURL=_layout.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":[
|
|
1
|
+
{"version":3,"names":[],"sourceRoot":"..\\..\\..\\src","sources":["app/_layout.tsx"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAGA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAAA","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"_layout.d.ts","sourceRoot":"","sources":["../../../../src/app/_layout.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"_layout.d.ts","sourceRoot":"","sources":["../../../../src/app/_layout.tsx"],"names":[],"mappings":""}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"_layout.d.ts","sourceRoot":"","sources":["../../../../src/app/_layout.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"_layout.d.ts","sourceRoot":"","sources":["../../../../src/app/_layout.tsx"],"names":[],"mappings":""}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "related-ui-components",
|
|
3
3
|
"main": "./src/index.ts",
|
|
4
|
-
"version": "1.1.
|
|
4
|
+
"version": "1.1.7",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"start": "expo start",
|
|
7
7
|
"reset-project": "node ./scripts/reset-project.js",
|
|
@@ -37,7 +37,6 @@
|
|
|
37
37
|
"react-dom": "18.3.1",
|
|
38
38
|
"react-native": "0.76.7",
|
|
39
39
|
"react-native-gesture-handler": "~2.20.2",
|
|
40
|
-
"react-native-reanimated": "~3.16.1",
|
|
41
40
|
"react-native-safe-area-context": "4.12.0",
|
|
42
41
|
"react-native-screens": "~4.4.0",
|
|
43
42
|
"react-native-web": "~0.19.13",
|
package/src/app/_layout.tsx
CHANGED
|
@@ -1,38 +1,38 @@
|
|
|
1
|
-
import { DarkTheme, DefaultTheme, ThemeProvider as Custom } from '@react-navigation/native';
|
|
2
|
-
import { useFonts } from 'expo-font';
|
|
3
|
-
import { Stack } from 'expo-router';
|
|
4
|
-
import * as SplashScreen from 'expo-splash-screen';
|
|
5
|
-
import { StatusBar } from 'expo-status-bar';
|
|
6
|
-
import { useEffect } from 'react';
|
|
7
|
-
import 'react-native-reanimated';
|
|
8
|
-
import {ThemeProvider} from '@/theme/ThemeContext';
|
|
1
|
+
// import { DarkTheme, DefaultTheme, ThemeProvider as Custom } from '@react-navigation/native';
|
|
2
|
+
// import { useFonts } from 'expo-font';
|
|
3
|
+
// import { Stack } from 'expo-router';
|
|
4
|
+
// import * as SplashScreen from 'expo-splash-screen';
|
|
5
|
+
// import { StatusBar } from 'expo-status-bar';
|
|
6
|
+
// import { useEffect } from 'react';
|
|
7
|
+
// import 'react-native-reanimated';
|
|
8
|
+
// import {ThemeProvider} from '@/theme/ThemeContext';
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
// Prevent the splash screen from auto-hiding before asset loading is complete.
|
|
12
|
-
SplashScreen.preventAutoHideAsync();
|
|
11
|
+
// // Prevent the splash screen from auto-hiding before asset loading is complete.
|
|
12
|
+
// SplashScreen.preventAutoHideAsync();
|
|
13
13
|
|
|
14
|
-
export default function RootLayout() {
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
14
|
+
// export default function RootLayout() {
|
|
15
|
+
// const [loaded] = useFonts({
|
|
16
|
+
// SpaceMono: require('../assets/fonts/SpaceMono-Regular.ttf'),
|
|
17
|
+
// });
|
|
18
18
|
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
19
|
+
// useEffect(() => {
|
|
20
|
+
// if (loaded) {
|
|
21
|
+
// SplashScreen.hideAsync();
|
|
22
|
+
// }
|
|
23
|
+
// }, [loaded]);
|
|
24
24
|
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
25
|
+
// if (!loaded) {
|
|
26
|
+
// return null;
|
|
27
|
+
// }
|
|
28
28
|
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
}
|
|
29
|
+
// return (
|
|
30
|
+
// <ThemeProvider>
|
|
31
|
+
// <Stack>
|
|
32
|
+
// {/* <Stack.Screen name="(tabs)" options={{ headerShown: false }} /> */}
|
|
33
|
+
// <Stack.Screen name="+not-found" />
|
|
34
|
+
// </Stack>
|
|
35
|
+
// <StatusBar style="auto" />
|
|
36
|
+
// </ThemeProvider>
|
|
37
|
+
// );
|
|
38
|
+
// }
|