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.
@@ -1,41 +1,39 @@
1
- "use strict";
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
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.default = RootLayout;
7
- var _expoFont = require("expo-font");
8
- var _expoRouter = require("expo-router");
9
- var SplashScreen = _interopRequireWildcard(require("expo-splash-screen"));
10
- var _expoStatusBar = require("expo-status-bar");
11
- var _react = require("react");
12
- require("react-native-reanimated");
13
- var _ThemeContext = require("@/theme/ThemeContext");
14
- var _jsxRuntime = require("react/jsx-runtime");
15
- function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
16
- function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
17
- // Prevent the splash screen from auto-hiding before asset loading is complete.
18
- SplashScreen.preventAutoHideAsync();
19
- function RootLayout() {
20
- const [loaded] = (0, _expoFont.useFonts)({
21
- SpaceMono: require('../assets/fonts/SpaceMono-Regular.ttf')
22
- });
23
- (0, _react.useEffect)(() => {
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":["_expoFont","require","_expoRouter","SplashScreen","_interopRequireWildcard","_expoStatusBar","_react","_ThemeContext","_jsxRuntime","_getRequireWildcardCache","e","WeakMap","r","t","__esModule","default","has","get","n","__proto__","a","Object","defineProperty","getOwnPropertyDescriptor","u","hasOwnProperty","call","i","set","preventAutoHideAsync","RootLayout","loaded","useFonts","SpaceMono","useEffect","hideAsync","jsxs","ThemeProvider","children","jsx","Stack","Screen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,CAAAM,CAAA,IAAAd,CAAA,CAAAc,CAAA,YAAAN,CAAA,CAAAH,OAAA,GAAAL,CAAA,EAAAG,CAAA,IAAAA,CAAA,CAAAe,GAAA,CAAAlB,CAAA,EAAAQ,CAAA,GAAAA,CAAA;AAGnD;AACAf,YAAY,CAAC0B,oBAAoB,CAAC,CAAC;AAEpB,SAASC,UAAUA,CAAA,EAAG;EACnC,MAAM,CAACC,MAAM,CAAC,GAAG,IAAAC,kBAAQ,EAAC;IACxBC,SAAS,EAAEhC,OAAO,CAAC,uCAAuC;EAC5D,CAAC,CAAC;EAEF,IAAAiC,gBAAS,EAAC,MAAM;IACd,IAAIH,MAAM,EAAE;MACV5B,YAAY,CAACgC,SAAS,CAAC,CAAC;IAC1B;EACF,CAAC,EAAE,CAACJ,MAAM,CAAC,CAAC;EAEZ,IAAI,CAACA,MAAM,EAAE;IACX,OAAO,IAAI;EACb;EAEA,oBACI,IAAAvB,WAAA,CAAA4B,IAAA,EAAC7B,aAAA,CAAA8B,aAAa;IAAAC,QAAA,gBACd,IAAA9B,WAAA,CAAA+B,GAAA,EAACrC,WAAA,CAAAsC,KAAK;MAAAF,QAAA,eAEJ,IAAA9B,WAAA,CAAA+B,GAAA,EAACrC,WAAA,CAAAsC,KAAK,CAACC,MAAM;QAACC,IAAI,EAAC;MAAY,CAAE;IAAC,CAC7B,CAAC,eACR,IAAAlC,WAAA,CAAA+B,GAAA,EAAClC,cAAA,CAAAsC,SAAS;MAACC,KAAK,EAAC;IAAM,CAAE,CAAC;EAAA,CACX,CAAC;AAEtB","ignoreList":[]}
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
- "use strict";
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
- import { useFonts } from 'expo-font';
4
- import { Stack } from 'expo-router';
5
- import * as SplashScreen from 'expo-splash-screen';
6
- import { StatusBar } from 'expo-status-bar';
7
- import { useEffect } from 'react';
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
- // Prevent the splash screen from auto-hiding before asset loading is complete.
12
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
13
- SplashScreen.preventAutoHideAsync();
14
- export default function RootLayout() {
15
- const [loaded] = useFonts({
16
- SpaceMono: require('../assets/fonts/SpaceMono-Regular.ttf')
17
- });
18
- useEffect(() => {
19
- if (loaded) {
20
- SplashScreen.hideAsync();
21
- }
22
- }, [loaded]);
23
- if (!loaded) {
24
- return null;
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":["useFonts","Stack","SplashScreen","StatusBar","useEffect","ThemeProvider","jsx","_jsx","jsxs","_jsxs","preventAutoHideAsync","RootLayout","loaded","SpaceMono","require","hideAsync","children","Screen","name","style"],"sourceRoot":"..\\..\\..\\src","sources":["app/_layout.tsx"],"mappings":";;AACA,SAASA,QAAQ,QAAQ,WAAW;AACpC,SAASC,KAAK,QAAQ,aAAa;AACnC,OAAO,KAAKC,YAAY,MAAM,oBAAoB;AAClD,SAASC,SAAS,QAAQ,iBAAiB;AAC3C,SAASC,SAAS,QAAQ,OAAO;AACjC,OAAO,yBAAyB;AAChC,SAAQC,aAAa,QAAO,sBAAsB;;AAGlD;AAAA,SAAAC,GAAA,IAAAC,IAAA,EAAAC,IAAA,IAAAC,KAAA;AACAP,YAAY,CAACQ,oBAAoB,CAAC,CAAC;AAEnC,eAAe,SAASC,UAAUA,CAAA,EAAG;EACnC,MAAM,CAACC,MAAM,CAAC,GAAGZ,QAAQ,CAAC;IACxBa,SAAS,EAAEC,OAAO,CAAC,uCAAuC;EAC5D,CAAC,CAAC;EAEFV,SAAS,CAAC,MAAM;IACd,IAAIQ,MAAM,EAAE;MACVV,YAAY,CAACa,SAAS,CAAC,CAAC;IAC1B;EACF,CAAC,EAAE,CAACH,MAAM,CAAC,CAAC;EAEZ,IAAI,CAACA,MAAM,EAAE;IACX,OAAO,IAAI;EACb;EAEA,oBACIH,KAAA,CAACJ,aAAa;IAAAW,QAAA,gBACdT,IAAA,CAACN,KAAK;MAAAe,QAAA,eAEJT,IAAA,CAACN,KAAK,CAACgB,MAAM;QAACC,IAAI,EAAC;MAAY,CAAE;IAAC,CAC7B,CAAC,eACRX,IAAA,CAACJ,SAAS;MAACgB,KAAK,EAAC;IAAM,CAAE,CAAC;EAAA,CACX,CAAC;AAEtB","ignoreList":[]}
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,3 +1 @@
1
- import 'react-native-reanimated';
2
- export default function RootLayout(): import("react").JSX.Element | null;
3
1
  //# sourceMappingURL=_layout.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"_layout.d.ts","sourceRoot":"","sources":["../../../../src/app/_layout.tsx"],"names":[],"mappings":"AAMA,OAAO,yBAAyB,CAAC;AAOjC,MAAM,CAAC,OAAO,UAAU,UAAU,uCAwBjC"}
1
+ {"version":3,"file":"_layout.d.ts","sourceRoot":"","sources":["../../../../src/app/_layout.tsx"],"names":[],"mappings":""}
@@ -1,3 +1 @@
1
- import 'react-native-reanimated';
2
- export default function RootLayout(): import("react").JSX.Element | null;
3
1
  //# sourceMappingURL=_layout.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"_layout.d.ts","sourceRoot":"","sources":["../../../../src/app/_layout.tsx"],"names":[],"mappings":"AAMA,OAAO,yBAAyB,CAAC;AAOjC,MAAM,CAAC,OAAO,UAAU,UAAU,uCAwBjC"}
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.6",
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",
@@ -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
- const [loaded] = useFonts({
16
- SpaceMono: require('../assets/fonts/SpaceMono-Regular.ttf'),
17
- });
14
+ // export default function RootLayout() {
15
+ // const [loaded] = useFonts({
16
+ // SpaceMono: require('../assets/fonts/SpaceMono-Regular.ttf'),
17
+ // });
18
18
 
19
- useEffect(() => {
20
- if (loaded) {
21
- SplashScreen.hideAsync();
22
- }
23
- }, [loaded]);
19
+ // useEffect(() => {
20
+ // if (loaded) {
21
+ // SplashScreen.hideAsync();
22
+ // }
23
+ // }, [loaded]);
24
24
 
25
- if (!loaded) {
26
- return null;
27
- }
25
+ // if (!loaded) {
26
+ // return null;
27
+ // }
28
28
 
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
- }
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
+ // }