@computools/react-native-template-controller 1.0.12 → 1.0.13

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/README.md CHANGED
@@ -1,6 +1,12 @@
1
1
  # template-controller 🏄‍♂️
2
2
 
3
- [![npm version](https://img.shields.io/npm/v/@computools/react-native-template-controller.svg)](https://www.npmjs.com/package/@computools/react-native-template-controller)
3
+ [![mit licence](https://img.shields.io/dub/l/vibe-d.svg?style=for-the-badge)](https://www.npmjs.com/package/@computools/react-native-template-controller)
4
+ [![npm version](https://img.shields.io/npm/v/@computools/react-native-template-controller?style=for-the-badge)](https://www.npmjs.com/package/@computools/react-native-template-controller)
5
+ [![npm downloads](https://img.shields.io/npm/dt/@computools/react-native-template-controller.svg?label=downloads&style=for-the-badge)](https://www.npmjs.com/package/@computools/react-native-template-controller)
6
+ <br />
7
+
8
+ [![platform - android](https://img.shields.io/badge/platform-Android-3ddc84.svg?logo=android&style=for-the-badge)](https://www.android.com)
9
+ [![platform - ios](https://img.shields.io/badge/platform-iOS-000.svg?logo=apple&style=for-the-badge)](https://developer.apple.com/ios)
4
10
 
5
11
  <img src="https://ik.imagekit.io/computools/computools-background/upload-8a50e7e4-c14e-4b55-ae17-bd0cca2f6493.webp">
6
12
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@computools/react-native-template-controller",
3
- "version": "1.0.12",
3
+ "version": "1.0.13",
4
4
  "description": "Computools react native template by using mobx as controllers",
5
5
  "main": "template.config.js",
6
6
  "scripts": {
@@ -26,24 +26,24 @@
26
26
  "aab:stage": "cd android && ./gradlew clean && ./gradlew bundleStagingRelease"
27
27
  },
28
28
  "dependencies": {
29
- "@hookform/resolvers": "2.9.11",
30
- "@react-navigation/native": "6.1.6",
31
- "@react-navigation/native-stack": "6.9.12",
32
- "axios": "1.3.4",
33
- "i18next": "23.2.8",
34
- "mobx": "6.9.0",
35
- "mobx-react-lite": "3.4.3",
29
+ "@hookform/resolvers": "3.3.4",
30
+ "@react-navigation/native": "6.1.9",
31
+ "@react-navigation/native-stack": "6.9.17",
32
+ "axios": "1.6.5",
33
+ "i18next": "23.7.16",
34
+ "mobx": "6.12.0",
35
+ "mobx-react-lite": "4.0.5",
36
36
  "react": "18.2.0",
37
- "react-hook-form": "7.43.5",
38
- "react-i18next": "13.0.1",
37
+ "react-hook-form": "7.49.2",
38
+ "react-i18next": "14.0.0",
39
39
  "react-native": "0.73.1",
40
40
  "react-native-bootsplash": "4.5.3",
41
41
  "react-native-config": "1.5.1",
42
42
  "react-native-mmkv": "2.11.0",
43
- "react-native-safe-area-context": "4.5.0",
43
+ "react-native-safe-area-context": "4.8.2",
44
44
  "react-native-screens": "3.29.0",
45
- "react-native-svg": "13.8.0",
46
- "yup": "1.0.2"
45
+ "react-native-svg": "14.1.0",
46
+ "yup": "1.3.3"
47
47
  },
48
48
  "devDependencies": {
49
49
  "@babel/core": "^7.20.0",
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import {StyleSheet, TouchableWithoutFeedback, View, ViewProps} from 'react-native';
2
+ import {StyleSheet, TouchableOpacity, View, ViewProps} from 'react-native';
3
3
 
4
4
  import {BackChevron} from './icons/back-chevron/BackChevron.component';
5
5
 
@@ -9,9 +9,9 @@ interface HeaderBackProps extends ViewProps {
9
9
 
10
10
  export const HeaderBack: React.FC<HeaderBackProps> = ({goBack, style, ...rest}) => (
11
11
  <View {...rest} style={[styles.wrapper, style]}>
12
- <TouchableWithoutFeedback onPress={goBack}>
12
+ <TouchableOpacity onPress={goBack}>
13
13
  <BackChevron />
14
- </TouchableWithoutFeedback>
14
+ </TouchableOpacity>
15
15
  <View style={styles.emptyArea} />
16
16
  </View>
17
17
  );