Просмотр исходного кода

added files for the homescreen

Orlando04 2 лет назад
Родитель
Сommit
1789a0fae7
5 измененных файлов: 399 добавлений и 16 удалений
  1. 15
    0
      .vscode/launch.json
  2. 8
    7
      MocionesIUPI/App.js
  3. 354
    6
      MocionesIUPI/package-lock.json
  4. 10
    3
      MocionesIUPI/package.json
  5. 12
    0
      MocionesIUPI/screens/HomeScreen.js

+ 15
- 0
.vscode/launch.json Просмотреть файл

@@ -0,0 +1,15 @@
1
+{
2
+  // Use IntelliSense to learn about possible attributes.
3
+  // Hover to view descriptions of existing attributes.
4
+  // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
5
+  "version": "0.2.0",
6
+  "configurations": [
7
+    {
8
+      "type": "chrome",
9
+      "request": "launch",
10
+      "name": "Launch Chrome against localhost",
11
+      "url": "http://localhost:19000",
12
+      "webRoot": "${workspaceFolder}"
13
+    }
14
+  ]
15
+}

+ 8
- 7
MocionesIUPI/App.js Просмотреть файл

@@ -1,20 +1,21 @@
1
-import { StatusBar } from 'expo-status-bar';
1
+import React from 'react';
2 2
 import { StyleSheet, Text, View } from 'react-native';
3 3
 
4
+// importing other files
5
+import Navigator from './routes/homeStack';
6
+
7
+
4 8
 export default function App() {
5 9
   return (
6
-    <View style={styles.container}>
7
-      <Text>Open up App.js to start working on your app!</Text>
8
-      <StatusBar style="auto" />
9
-    </View>
10
+      <Navigator />
10 11
   );
11 12
 }
12 13
 
13
-const styles = StyleSheet.create({
14
+const styles  = StyleSheet.create({
14 15
   container: {
15 16
     flex: 1,
16 17
     backgroundColor: '#fff',
17 18
     alignItems: 'center',
18 19
     justifyContent: 'center',
19 20
   },
20
-});
21
+});

+ 354
- 6
MocionesIUPI/package-lock.json Просмотреть файл

@@ -9,15 +9,22 @@
9 9
       "version": "1.0.0",
10 10
       "dependencies": {
11 11
         "@expo/webpack-config": "^0.17.2",
12
+        "@react-native-community/hooks": "^2.8.1",
13
+        "@react-navigation/material-bottom-tabs": "^6.2.8",
12 14
         "@react-navigation/native-stack": "^6.9.4",
13 15
         "expo": "~47.0.6",
14 16
         "expo-status-bar": "~1.4.2",
15 17
         "react": "18.1.0",
16 18
         "react-dom": "18.1.0",
17 19
         "react-native": "0.70.5",
18
-        "react-native-safe-area-context": "^4.4.1",
19
-        "react-native-screens": "^3.18.2",
20
-        "react-native-web": "~0.18.9"
20
+        "react-native-paper": "^3.12.0",
21
+        "react-native-safe-area-context": "4.4.1",
22
+        "react-native-screens": "~3.18.0",
23
+        "react-native-vector-icons": "^9.2.0",
24
+        "react-native-web": "~0.18.9",
25
+        "react-navigation-material-bottom-tabs": "^2.3.5",
26
+        "react-navigation-stack": "^2.10.4",
27
+        "yarn": "^1.22.19"
21 28
       },
22 29
       "devDependencies": {
23 30
         "@babel/core": "^7.12.9"
@@ -1779,6 +1786,30 @@
1779 1786
         "node": ">=6.9.0"
1780 1787
       }
1781 1788
     },
1789
+    "node_modules/@callstack/react-theme-provider": {
1790
+      "version": "3.0.8",
1791
+      "resolved": "https://registry.npmjs.org/@callstack/react-theme-provider/-/react-theme-provider-3.0.8.tgz",
1792
+      "integrity": "sha512-5U231sYY2sqQOaELX0WBCn+iluV8bFaXIS7em03k4W5Xz0AhGvKlnpLIhDGFP8im/SvNW7/2XoR0BsClhn9t6Q==",
1793
+      "dependencies": {
1794
+        "deepmerge": "^3.2.0",
1795
+        "hoist-non-react-statics": "^3.3.0"
1796
+      },
1797
+      "peerDependencies": {
1798
+        "react": ">=16.3.0"
1799
+      }
1800
+    },
1801
+    "node_modules/@egjs/hammerjs": {
1802
+      "version": "2.0.17",
1803
+      "resolved": "https://registry.npmjs.org/@egjs/hammerjs/-/hammerjs-2.0.17.tgz",
1804
+      "integrity": "sha512-XQsZgjm2EcVUiZQf11UBJQfmZeEmOW8DpI1gsFeln6w0ae0ii4dMQEQ0kjl6DspdWX1aGY1/loyXnP0JS06e/A==",
1805
+      "peer": true,
1806
+      "dependencies": {
1807
+        "@types/hammerjs": "^2.0.36"
1808
+      },
1809
+      "engines": {
1810
+        "node": ">=0.8.0"
1811
+      }
1812
+    },
1782 1813
     "node_modules/@expo/bunyan": {
1783 1814
       "version": "4.0.0",
1784 1815
       "resolved": "https://registry.npmjs.org/@expo/bunyan/-/bunyan-4.0.0.tgz",
@@ -4510,6 +4541,26 @@
4510 4541
         "node": ">=8"
4511 4542
       }
4512 4543
     },
4544
+    "node_modules/@react-native-community/hooks": {
4545
+      "version": "2.8.1",
4546
+      "resolved": "https://registry.npmjs.org/@react-native-community/hooks/-/hooks-2.8.1.tgz",
4547
+      "integrity": "sha512-DCmCIC0Gn9m6K0Mlg2MwNmTxMEpBu5lTLsI6b/XUAv/vLGa6o+X7RhCai4FWeqkjCU36+ZOwaLzDo4NBWMXaoQ==",
4548
+      "peerDependencies": {
4549
+        "react": ">=16.8.0",
4550
+        "react-native": ">=0.59"
4551
+      }
4552
+    },
4553
+    "node_modules/@react-native-community/masked-view": {
4554
+      "version": "0.1.11",
4555
+      "resolved": "https://registry.npmjs.org/@react-native-community/masked-view/-/masked-view-0.1.11.tgz",
4556
+      "integrity": "sha512-rQfMIGSR/1r/SyN87+VD8xHHzDYeHaJq6elOSCAD+0iLagXkSI2pfA0LmSXP21uw5i3em7GkkRjfJ8wpqWXZNw==",
4557
+      "deprecated": "Repository was moved to @react-native-masked-view/masked-view",
4558
+      "peer": true,
4559
+      "peerDependencies": {
4560
+        "react": ">=16.0",
4561
+        "react-native": ">=0.57"
4562
+      }
4563
+    },
4513 4564
     "node_modules/@react-native/assets": {
4514 4565
       "version": "1.0.0",
4515 4566
       "resolved": "https://registry.npmjs.org/@react-native/assets/-/assets-1.0.0.tgz",
@@ -4561,9 +4612,9 @@
4561 4612
       "peer": true
4562 4613
     },
4563 4614
     "node_modules/@react-navigation/elements": {
4564
-      "version": "1.3.9",
4565
-      "resolved": "https://registry.npmjs.org/@react-navigation/elements/-/elements-1.3.9.tgz",
4566
-      "integrity": "sha512-V9aIZN19ufaKWlXT4UcM545tDiEt9DIQS+74pDgbnzoQcDypn0CvSqWopFhPACMdJatgmlZUuOrrMfTeNrBWgA==",
4615
+      "version": "1.3.10",
4616
+      "resolved": "https://registry.npmjs.org/@react-navigation/elements/-/elements-1.3.10.tgz",
4617
+      "integrity": "sha512-JFaoZG9S+Zz291CvAMeGw8kNl/g2AaY9Pbo+VcYO+JM6UF/E5Obq9ga2ydxDrn3an7wzdl6flA/4lWhqG82Vqw==",
4567 4618
       "peerDependencies": {
4568 4619
         "@react-navigation/native": "^6.0.0",
4569 4620
         "react": "*",
@@ -4571,6 +4622,22 @@
4571 4622
         "react-native-safe-area-context": ">= 3.0.0"
4572 4623
       }
4573 4624
     },
4625
+    "node_modules/@react-navigation/material-bottom-tabs": {
4626
+      "version": "6.2.8",
4627
+      "resolved": "https://registry.npmjs.org/@react-navigation/material-bottom-tabs/-/material-bottom-tabs-6.2.8.tgz",
4628
+      "integrity": "sha512-juBMXeVMjJo9V4VkanYZTPq4bdE3VEJhzTIXRIw0sSjNLM69EVxKW0333DWJ7Wb++kKbeR1ayZXYEachyOFV8A==",
4629
+      "dependencies": {
4630
+        "@react-navigation/elements": "^1.3.10"
4631
+      },
4632
+      "peerDependencies": {
4633
+        "@react-navigation/native": "^6.0.0",
4634
+        "react": "*",
4635
+        "react-native": "*",
4636
+        "react-native-paper": ">= 3.0.0",
4637
+        "react-native-safe-area-context": ">= 3.0.0",
4638
+        "react-native-vector-icons": ">= 6.0.0"
4639
+      }
4640
+    },
4574 4641
     "node_modules/@react-navigation/native": {
4575 4642
       "version": "6.0.16",
4576 4643
       "resolved": "https://registry.npmjs.org/@react-navigation/native/-/native-6.0.16.tgz",
@@ -4665,6 +4732,12 @@
4665 4732
         "@types/node": "*"
4666 4733
       }
4667 4734
     },
4735
+    "node_modules/@types/hammerjs": {
4736
+      "version": "2.0.41",
4737
+      "resolved": "https://registry.npmjs.org/@types/hammerjs/-/hammerjs-2.0.41.tgz",
4738
+      "integrity": "sha512-ewXv/ceBaJprikMcxCmWU1FKyMAQ2X7a9Gtmzw8fcg2kIePI1crERDM818W+XYrxqdBBOdlf2rm137bU+BltCA==",
4739
+      "peer": true
4740
+    },
4668 4741
     "node_modules/@types/html-minifier-terser": {
4669 4742
       "version": "5.1.2",
4670 4743
       "resolved": "https://registry.npmjs.org/@types/html-minifier-terser/-/html-minifier-terser-5.1.2.tgz",
@@ -10072,6 +10145,19 @@
10072 10145
         "minimalistic-crypto-utils": "^1.0.1"
10073 10146
       }
10074 10147
     },
10148
+    "node_modules/hoist-non-react-statics": {
10149
+      "version": "3.3.2",
10150
+      "resolved": "https://registry.npmjs.org/hoist-non-react-statics/-/hoist-non-react-statics-3.3.2.tgz",
10151
+      "integrity": "sha512-/gGivxi8JPKWNm/W0jSmzcMPpfpPLc3dY/6GxhX2hQ9iGj3aDfklV4ET7NjKpSinLpJ5vafa9iiGIEZg10SfBw==",
10152
+      "dependencies": {
10153
+        "react-is": "^16.7.0"
10154
+      }
10155
+    },
10156
+    "node_modules/hoist-non-react-statics/node_modules/react-is": {
10157
+      "version": "16.13.1",
10158
+      "resolved": "https://registry.npmjs.org/react-is/-/react-is-16.13.1.tgz",
10159
+      "integrity": "sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ=="
10160
+    },
10075 10161
     "node_modules/hosted-git-info": {
10076 10162
       "version": "3.0.8",
10077 10163
       "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-3.0.8.tgz",
@@ -14685,6 +14771,21 @@
14685 14771
         "node": ">= 6"
14686 14772
       }
14687 14773
     },
14774
+    "node_modules/prop-types": {
14775
+      "version": "15.8.1",
14776
+      "resolved": "https://registry.npmjs.org/prop-types/-/prop-types-15.8.1.tgz",
14777
+      "integrity": "sha512-oj87CgZICdulUohogVAR7AjlC0327U4el4L6eAvOqCeudMDVU0NThNaV+b9Df4dXgSP1gXMTnPdhfe/2qDH5cg==",
14778
+      "dependencies": {
14779
+        "loose-envify": "^1.4.0",
14780
+        "object-assign": "^4.1.1",
14781
+        "react-is": "^16.13.1"
14782
+      }
14783
+    },
14784
+    "node_modules/prop-types/node_modules/react-is": {
14785
+      "version": "16.13.1",
14786
+      "resolved": "https://registry.npmjs.org/react-is/-/react-is-16.13.1.tgz",
14787
+      "integrity": "sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ=="
14788
+    },
14688 14789
     "node_modules/proxy-addr": {
14689 14790
       "version": "2.0.7",
14690 14791
       "resolved": "https://registry.npmjs.org/proxy-addr/-/proxy-addr-2.0.7.tgz",
@@ -15294,11 +15395,51 @@
15294 15395
         "nullthrows": "^1.1.1"
15295 15396
       }
15296 15397
     },
15398
+    "node_modules/react-native-gesture-handler": {
15399
+      "version": "2.8.0",
15400
+      "resolved": "https://registry.npmjs.org/react-native-gesture-handler/-/react-native-gesture-handler-2.8.0.tgz",
15401
+      "integrity": "sha512-poOSfz/w0IyD6Qwq7aaIRRfEaVTl1ecQFoyiIbpOpfNTjm2B1niY2FLrdVQIOtIOe+K9nH55Qal04nr4jGkHdQ==",
15402
+      "peer": true,
15403
+      "dependencies": {
15404
+        "@egjs/hammerjs": "^2.0.17",
15405
+        "hoist-non-react-statics": "^3.3.0",
15406
+        "invariant": "^2.2.4",
15407
+        "lodash": "^4.17.21",
15408
+        "prop-types": "^15.7.2"
15409
+      },
15410
+      "peerDependencies": {
15411
+        "react": "*",
15412
+        "react-native": "*"
15413
+      }
15414
+    },
15297 15415
     "node_modules/react-native-gradle-plugin": {
15298 15416
       "version": "0.70.3",
15299 15417
       "resolved": "https://registry.npmjs.org/react-native-gradle-plugin/-/react-native-gradle-plugin-0.70.3.tgz",
15300 15418
       "integrity": "sha512-oOanj84fJEXUg9FoEAQomA8ISG+DVIrTZ3qF7m69VQUJyOGYyDZmPqKcjvRku4KXlEH6hWO9i4ACLzNBh8gC0A=="
15301 15419
     },
15420
+    "node_modules/react-native-iphone-x-helper": {
15421
+      "version": "1.3.1",
15422
+      "resolved": "https://registry.npmjs.org/react-native-iphone-x-helper/-/react-native-iphone-x-helper-1.3.1.tgz",
15423
+      "integrity": "sha512-HOf0jzRnq2/aFUcdCJ9w9JGzN3gdEg0zFE4FyYlp4jtidqU03D5X7ZegGKfT1EWteR0gPBGp9ye5T5FvSWi9Yg==",
15424
+      "peerDependencies": {
15425
+        "react-native": ">=0.42.0"
15426
+      }
15427
+    },
15428
+    "node_modules/react-native-paper": {
15429
+      "version": "3.12.0",
15430
+      "resolved": "https://registry.npmjs.org/react-native-paper/-/react-native-paper-3.12.0.tgz",
15431
+      "integrity": "sha512-c5GfDkITfrutoVB4+pE/kL2gH7sHuxD9eAs8+cY1q4PjuYW8geV1Hst14HQstSrYkksXN9StI0wryyb21BDfrw==",
15432
+      "dependencies": {
15433
+        "@callstack/react-theme-provider": "^3.0.5",
15434
+        "color": "^3.1.2",
15435
+        "react-native-safe-area-view": "^0.14.9"
15436
+      },
15437
+      "peerDependencies": {
15438
+        "react": "*",
15439
+        "react-native": "*",
15440
+        "react-native-vector-icons": "*"
15441
+      }
15442
+    },
15302 15443
     "node_modules/react-native-safe-area-context": {
15303 15444
       "version": "4.4.1",
15304 15445
       "resolved": "https://registry.npmjs.org/react-native-safe-area-context/-/react-native-safe-area-context-4.4.1.tgz",
@@ -15308,6 +15449,23 @@
15308 15449
         "react-native": "*"
15309 15450
       }
15310 15451
     },
15452
+    "node_modules/react-native-safe-area-view": {
15453
+      "version": "0.14.9",
15454
+      "resolved": "https://registry.npmjs.org/react-native-safe-area-view/-/react-native-safe-area-view-0.14.9.tgz",
15455
+      "integrity": "sha512-WII/ulhpVyL/qbYb7vydq7dJAfZRBcEhg4/UWt6F6nAKpLa3gAceMOxBxI914ppwSP/TdUsandFy6lkJQE0z4A==",
15456
+      "dependencies": {
15457
+        "hoist-non-react-statics": "^2.3.1"
15458
+      },
15459
+      "peerDependencies": {
15460
+        "react": "*",
15461
+        "react-native": "*"
15462
+      }
15463
+    },
15464
+    "node_modules/react-native-safe-area-view/node_modules/hoist-non-react-statics": {
15465
+      "version": "2.5.5",
15466
+      "resolved": "https://registry.npmjs.org/hoist-non-react-statics/-/hoist-non-react-statics-2.5.5.tgz",
15467
+      "integrity": "sha512-rqcy4pJo55FTTLWt+bU8ukscqHeE/e9KWvsOW2b/a3afxQZhwkQdT1rPPCJ0rYXdj4vNcasY8zHTH+jF/qStxw=="
15468
+    },
15311 15469
     "node_modules/react-native-screens": {
15312 15470
       "version": "3.18.2",
15313 15471
       "resolved": "https://registry.npmjs.org/react-native-screens/-/react-native-screens-3.18.2.tgz",
@@ -15321,6 +15479,73 @@
15321 15479
         "react-native": "*"
15322 15480
       }
15323 15481
     },
15482
+    "node_modules/react-native-vector-icons": {
15483
+      "version": "9.2.0",
15484
+      "resolved": "https://registry.npmjs.org/react-native-vector-icons/-/react-native-vector-icons-9.2.0.tgz",
15485
+      "integrity": "sha512-wKYLaFuQST/chH3AJRjmOLoLy3JEs1JR6zMNgTaemFpNoXs0ztRnTxcxFD9xhX7cJe1/zoN5BpQYe7kL0m5yyA==",
15486
+      "dependencies": {
15487
+        "prop-types": "^15.7.2",
15488
+        "yargs": "^16.1.1"
15489
+      },
15490
+      "bin": {
15491
+        "fa5-upgrade": "bin/fa5-upgrade.sh",
15492
+        "generate-icon": "bin/generate-icon.js"
15493
+      }
15494
+    },
15495
+    "node_modules/react-native-vector-icons/node_modules/cliui": {
15496
+      "version": "7.0.4",
15497
+      "resolved": "https://registry.npmjs.org/cliui/-/cliui-7.0.4.tgz",
15498
+      "integrity": "sha512-OcRE68cOsVMXp1Yvonl/fzkQOyjLSu/8bhPDfQt0e0/Eb283TKP20Fs2MqoPsr9SwA595rRCA+QMzYc9nBP+JQ==",
15499
+      "dependencies": {
15500
+        "string-width": "^4.2.0",
15501
+        "strip-ansi": "^6.0.0",
15502
+        "wrap-ansi": "^7.0.0"
15503
+      }
15504
+    },
15505
+    "node_modules/react-native-vector-icons/node_modules/strip-ansi": {
15506
+      "version": "6.0.1",
15507
+      "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz",
15508
+      "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==",
15509
+      "dependencies": {
15510
+        "ansi-regex": "^5.0.1"
15511
+      },
15512
+      "engines": {
15513
+        "node": ">=8"
15514
+      }
15515
+    },
15516
+    "node_modules/react-native-vector-icons/node_modules/y18n": {
15517
+      "version": "5.0.8",
15518
+      "resolved": "https://registry.npmjs.org/y18n/-/y18n-5.0.8.tgz",
15519
+      "integrity": "sha512-0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA==",
15520
+      "engines": {
15521
+        "node": ">=10"
15522
+      }
15523
+    },
15524
+    "node_modules/react-native-vector-icons/node_modules/yargs": {
15525
+      "version": "16.2.0",
15526
+      "resolved": "https://registry.npmjs.org/yargs/-/yargs-16.2.0.tgz",
15527
+      "integrity": "sha512-D1mvvtDG0L5ft/jGWkLpG1+m0eQxOfaBvTNELraWj22wSVUMWxZUvYgJYcKh6jGGIkJFhH4IZPQhR4TKpc8mBw==",
15528
+      "dependencies": {
15529
+        "cliui": "^7.0.2",
15530
+        "escalade": "^3.1.1",
15531
+        "get-caller-file": "^2.0.5",
15532
+        "require-directory": "^2.1.1",
15533
+        "string-width": "^4.2.0",
15534
+        "y18n": "^5.0.5",
15535
+        "yargs-parser": "^20.2.2"
15536
+      },
15537
+      "engines": {
15538
+        "node": ">=10"
15539
+      }
15540
+    },
15541
+    "node_modules/react-native-vector-icons/node_modules/yargs-parser": {
15542
+      "version": "20.2.9",
15543
+      "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-20.2.9.tgz",
15544
+      "integrity": "sha512-y11nGElTIV+CT3Zv9t7VKl+Q3hTQoT9a1Qzezhhl6Rp21gJ/IVTW7Z3y9EWXhuUBC2Shnf+DX0antecpAwSP8w==",
15545
+      "engines": {
15546
+        "node": ">=10"
15547
+      }
15548
+    },
15324 15549
     "node_modules/react-native-web": {
15325 15550
       "version": "0.18.10",
15326 15551
       "resolved": "https://registry.npmjs.org/react-native-web/-/react-native-web-0.18.10.tgz",
@@ -15352,6 +15577,116 @@
15352 15577
         "asap": "~2.0.6"
15353 15578
       }
15354 15579
     },
15580
+    "node_modules/react-navigation": {
15581
+      "version": "4.4.4",
15582
+      "resolved": "https://registry.npmjs.org/react-navigation/-/react-navigation-4.4.4.tgz",
15583
+      "integrity": "sha512-08Nzy1aKEd73496CsuzN49vLFmxPKYF5WpKGgGvkQ10clB79IRM2BtAfVl6NgPKuUM8FXq1wCsrjo/c5ftl5og==",
15584
+      "deprecated": "This package is no longer supported. Please use @react-navigation/native instead. See https://reactnavigation.org/docs/getting-started/ for usage guide",
15585
+      "peer": true,
15586
+      "dependencies": {
15587
+        "@react-navigation/core": "^3.7.9",
15588
+        "@react-navigation/native": "^3.8.4"
15589
+      },
15590
+      "peerDependencies": {
15591
+        "react": "*",
15592
+        "react-native": "*"
15593
+      }
15594
+    },
15595
+    "node_modules/react-navigation-material-bottom-tabs": {
15596
+      "version": "2.3.5",
15597
+      "resolved": "https://registry.npmjs.org/react-navigation-material-bottom-tabs/-/react-navigation-material-bottom-tabs-2.3.5.tgz",
15598
+      "integrity": "sha512-l5yHbzSNaSqT11MDtji48zDwWvJ3IbxeERsNigwMg79fZ0jWpz13LfdEZRBL7yUc5BjSljR5eQIudPGkZQW9YQ==",
15599
+      "deprecated": "This package is no longer supported. Please use @react-navigation/material-bottom-tabs instead. See https://reactnavigation.org/docs/material-bottom-tab-navigator/ for usage guide",
15600
+      "peerDependencies": {
15601
+        "react": "*",
15602
+        "react-native": "*",
15603
+        "react-native-paper": "^2.2.2 || ^3.0.0",
15604
+        "react-navigation": "^4.1.1"
15605
+      }
15606
+    },
15607
+    "node_modules/react-navigation-stack": {
15608
+      "version": "2.10.4",
15609
+      "resolved": "https://registry.npmjs.org/react-navigation-stack/-/react-navigation-stack-2.10.4.tgz",
15610
+      "integrity": "sha512-3LE1PFsFV9v4PUlZRATMotqs6H7MOOpIKtjyP+l8D1cyzYmsMQh3EFikeDfzGQUXIvy8VyLAMtcEssicQPYvFA==",
15611
+      "deprecated": "This package is no longer supported. Please use @react-navigation/stack instead. See https://reactnavigation.org/docs/stack-navigator/ for usage guide",
15612
+      "dependencies": {
15613
+        "color": "^3.1.3",
15614
+        "react-native-iphone-x-helper": "^1.3.0"
15615
+      },
15616
+      "peerDependencies": {
15617
+        "@react-native-community/masked-view": ">=0.1.0",
15618
+        "react": "*",
15619
+        "react-native": "*",
15620
+        "react-native-gesture-handler": ">= 1.5.0",
15621
+        "react-native-safe-area-context": ">= 0.6.0",
15622
+        "react-native-screens": ">=1.0.0 || >= 2.0.0-alpha.0 || >= 2.0.0-beta.0 || >= 2.0.0",
15623
+        "react-navigation": "^4.1.1"
15624
+      }
15625
+    },
15626
+    "node_modules/react-navigation/node_modules/@react-navigation/core": {
15627
+      "version": "3.7.9",
15628
+      "resolved": "https://registry.npmjs.org/@react-navigation/core/-/core-3.7.9.tgz",
15629
+      "integrity": "sha512-EknbzM8OI9A5alRxXtQRV5Awle68B+z1QAxNty5DxmlS3BNfmduWNGnim159ROyqxkuDffK9L/U/Tbd45mx+Jg==",
15630
+      "peer": true,
15631
+      "dependencies": {
15632
+        "hoist-non-react-statics": "^3.3.2",
15633
+        "path-to-regexp": "^1.8.0",
15634
+        "query-string": "^6.13.6",
15635
+        "react-is": "^16.13.0"
15636
+      },
15637
+      "peerDependencies": {
15638
+        "react": "*"
15639
+      }
15640
+    },
15641
+    "node_modules/react-navigation/node_modules/@react-navigation/native": {
15642
+      "version": "3.8.4",
15643
+      "resolved": "https://registry.npmjs.org/@react-navigation/native/-/native-3.8.4.tgz",
15644
+      "integrity": "sha512-gXSVcL7bfFDyVkvyg1FiAqTCIgZub5K1X/TZqURBs2CPqDpfX1OsCtB9D33eTF14SpbfgHW866btqrrxoCACfg==",
15645
+      "peer": true,
15646
+      "dependencies": {
15647
+        "hoist-non-react-statics": "^3.3.2",
15648
+        "react-native-safe-area-view": "^0.14.9"
15649
+      }
15650
+    },
15651
+    "node_modules/react-navigation/node_modules/isarray": {
15652
+      "version": "0.0.1",
15653
+      "resolved": "https://registry.npmjs.org/isarray/-/isarray-0.0.1.tgz",
15654
+      "integrity": "sha512-D2S+3GLxWH+uhrNEcoh/fnmYeP8E8/zHl644d/jdA0g2uyXvy3sb0qxotE+ne0LtccHknQzWwZEzhak7oJ0COQ==",
15655
+      "peer": true
15656
+    },
15657
+    "node_modules/react-navigation/node_modules/path-to-regexp": {
15658
+      "version": "1.8.0",
15659
+      "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-1.8.0.tgz",
15660
+      "integrity": "sha512-n43JRhlUKUAlibEJhPeir1ncUID16QnEjNpwzNdO3Lm4ywrBpBZ5oLD0I6br9evr1Y9JTqwRtAh7JLoOzAQdVA==",
15661
+      "peer": true,
15662
+      "dependencies": {
15663
+        "isarray": "0.0.1"
15664
+      }
15665
+    },
15666
+    "node_modules/react-navigation/node_modules/query-string": {
15667
+      "version": "6.14.1",
15668
+      "resolved": "https://registry.npmjs.org/query-string/-/query-string-6.14.1.tgz",
15669
+      "integrity": "sha512-XDxAeVmpfu1/6IjyT/gXHOl+S0vQ9owggJ30hhWKdHAsNPOcasn5o9BW0eejZqL2e4vMjhAxoW3jVHcD6mbcYw==",
15670
+      "peer": true,
15671
+      "dependencies": {
15672
+        "decode-uri-component": "^0.2.0",
15673
+        "filter-obj": "^1.1.0",
15674
+        "split-on-first": "^1.0.0",
15675
+        "strict-uri-encode": "^2.0.0"
15676
+      },
15677
+      "engines": {
15678
+        "node": ">=6"
15679
+      },
15680
+      "funding": {
15681
+        "url": "https://github.com/sponsors/sindresorhus"
15682
+      }
15683
+    },
15684
+    "node_modules/react-navigation/node_modules/react-is": {
15685
+      "version": "16.13.1",
15686
+      "resolved": "https://registry.npmjs.org/react-is/-/react-is-16.13.1.tgz",
15687
+      "integrity": "sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ==",
15688
+      "peer": true
15689
+    },
15355 15690
     "node_modules/react-refresh": {
15356 15691
       "version": "0.4.3",
15357 15692
       "resolved": "https://registry.npmjs.org/react-refresh/-/react-refresh-0.4.3.tgz",
@@ -19796,6 +20131,19 @@
19796 20131
         "node": ">=8"
19797 20132
       }
19798 20133
     },
20134
+    "node_modules/yarn": {
20135
+      "version": "1.22.19",
20136
+      "resolved": "https://registry.npmjs.org/yarn/-/yarn-1.22.19.tgz",
20137
+      "integrity": "sha512-/0V5q0WbslqnwP91tirOvldvYISzaqhClxzyUKXYxs07yUILIs5jx/k6CFe8bvKSkds5w+eiOqta39Wk3WxdcQ==",
20138
+      "hasInstallScript": true,
20139
+      "bin": {
20140
+        "yarn": "bin/yarn.js",
20141
+        "yarnpkg": "bin/yarn.js"
20142
+      },
20143
+      "engines": {
20144
+        "node": ">=4.0.0"
20145
+      }
20146
+    },
19799 20147
     "node_modules/yocto-queue": {
19800 20148
       "version": "0.1.0",
19801 20149
       "resolved": "https://registry.npmjs.org/yocto-queue/-/yocto-queue-0.1.0.tgz",

+ 10
- 3
MocionesIUPI/package.json Просмотреть файл

@@ -10,15 +10,22 @@
10 10
   },
11 11
   "dependencies": {
12 12
     "@expo/webpack-config": "^0.17.2",
13
+    "@react-native-community/hooks": "^2.8.1",
14
+    "@react-navigation/material-bottom-tabs": "^6.2.8",
13 15
     "@react-navigation/native-stack": "^6.9.4",
14 16
     "expo": "~47.0.6",
15 17
     "expo-status-bar": "~1.4.2",
16 18
     "react": "18.1.0",
17 19
     "react-dom": "18.1.0",
18 20
     "react-native": "0.70.5",
19
-    "react-native-safe-area-context": "^4.4.1",
20
-    "react-native-screens": "^3.18.2",
21
-    "react-native-web": "~0.18.9"
21
+    "react-native-paper": "^3.12.0",
22
+    "react-native-safe-area-context": "4.4.1",
23
+    "react-native-screens": "~3.18.0",
24
+    "react-native-vector-icons": "^9.2.0",
25
+    "react-native-web": "~0.18.9",
26
+    "react-navigation-material-bottom-tabs": "^2.3.5",
27
+    "react-navigation-stack": "^2.10.4",
28
+    "yarn": "^1.22.19"
22 29
   },
23 30
   "devDependencies": {
24 31
     "@babel/core": "^7.12.9"

+ 12
- 0
MocionesIUPI/screens/HomeScreen.js Просмотреть файл

@@ -0,0 +1,12 @@
1
+import React from "react";
2
+import { StyleSheet, View, Text, Button } from 'react-native';
3
+import { globalStyles } from "../styles/global";
4
+
5
+export default function HomeScreen() {
6
+    return (
7
+        <View style = {globalStyles.container}>
8
+            <Text style = {globalStyles.tittleText}>Home Screen</Text>
9
+        </View>
10
+    )
11
+}
12
+