@gaddario98/react-native-core 1.0.33 → 2.0.0

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.
Files changed (58) hide show
  1. package/dist/auth/index.d.ts +1 -1
  2. package/dist/auth/index.js +1 -1
  3. package/dist/auth/index.mjs +1 -1
  4. package/dist/config/index.d.ts +11 -16
  5. package/dist/config/index.js +122 -25
  6. package/dist/config/index.js.map +1 -1
  7. package/dist/config/index.mjs +122 -25
  8. package/dist/config/index.mjs.map +1 -1
  9. package/dist/expo/index.d.ts +17 -1
  10. package/dist/expo/index.js +445 -1
  11. package/dist/expo/index.js.map +1 -1
  12. package/dist/expo/index.mjs +445 -1
  13. package/dist/expo/index.mjs.map +1 -1
  14. package/dist/form/index.d.ts +1 -1
  15. package/dist/form/index.js +1 -1
  16. package/dist/form/index.mjs +1 -1
  17. package/dist/index.d.ts +160 -26
  18. package/dist/index.js +1 -26
  19. package/dist/index.js.map +1 -1
  20. package/dist/index.mjs +1 -26
  21. package/dist/index.mjs.map +1 -1
  22. package/dist/layouts/index.d.ts +30 -1
  23. package/dist/layouts/index.js +43 -1
  24. package/dist/layouts/index.js.map +1 -1
  25. package/dist/layouts/index.mjs +43 -1
  26. package/dist/layouts/index.mjs.map +1 -1
  27. package/dist/localization/index.d.ts +1 -1
  28. package/dist/localization/index.js +1 -1
  29. package/dist/localization/index.mjs +1 -1
  30. package/dist/pages/index.d.ts +11 -1
  31. package/dist/pages/index.js +231 -1
  32. package/dist/pages/index.js.map +1 -1
  33. package/dist/pages/index.mjs +231 -1
  34. package/dist/pages/index.mjs.map +1 -1
  35. package/dist/providers/index.d.ts +18 -1
  36. package/dist/providers/index.js +24 -1
  37. package/dist/providers/index.js.map +1 -1
  38. package/dist/providers/index.mjs +24 -1
  39. package/dist/providers/index.mjs.map +1 -1
  40. package/dist/queries/index.d.ts +1 -1
  41. package/dist/queries/index.js +1 -1
  42. package/dist/queries/index.mjs +1 -1
  43. package/dist/state/index.d.ts +10 -1
  44. package/dist/state/index.js +241 -1
  45. package/dist/state/index.js.map +1 -1
  46. package/dist/state/index.mjs +241 -1
  47. package/dist/state/index.mjs.map +1 -1
  48. package/dist/tabs/index.d.ts +89 -1
  49. package/dist/tabs/index.js +485 -1
  50. package/dist/tabs/index.js.map +1 -1
  51. package/dist/tabs/index.mjs +485 -1
  52. package/dist/tabs/index.mjs.map +1 -1
  53. package/dist/utiles/index.d.ts +5 -1
  54. package/dist/utiles/index.js +3 -1
  55. package/dist/utiles/index.js.map +1 -1
  56. package/dist/utiles/index.mjs +3 -1
  57. package/dist/utiles/index.mjs.map +1 -1
  58. package/package.json +47 -19
@@ -1 +1 @@
1
- {"version":3,"file":"index.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":""}
1
+ {"version":3,"file":"index.mjs","sources":["../../utiles/index.ts"],"sourcesContent":["import { Linking } from \"react-native\";\n\nexport const openLink = (url: string) => {\n Linking.openURL(url);\n};\n\nexport * from \"@gaddario98/react-core/utiles\";\n"],"names":["openLink","url","Linking","openURL"],"mappings":"kFAEaA,QAAQ,GAAG,SAAXA,QAAQA,CAAIC,GAAW,EAAI;AACtCC,EAAAA,OAAO,CAACC,OAAO,CAACF,GAAG,CAAC;AACtB"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gaddario98/react-native-core",
3
- "version": "1.0.33",
3
+ "version": "2.0.0",
4
4
  "type": "module",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -32,21 +32,49 @@
32
32
  "typescript": "^5.8.3"
33
33
  },
34
34
  "dependencies": {
35
- "@gaddario98/expo": "^1.0.17",
36
- "@gaddario98/react-auth": "^1.0.16",
37
- "@gaddario98/react-form": "^1.0.23",
38
- "@gaddario98/react-localization": "^1.0.18",
39
- "@gaddario98/react-native-layouts": "^1.0.22",
40
- "@gaddario98/react-native-pages": "^1.0.26",
41
- "@gaddario98/react-native-providers": "^1.0.20",
42
- "@gaddario98/react-native-state": "^1.0.16",
43
- "@gaddario98/react-native-tabs": "^1.0.25",
44
- "@gaddario98/react-native-utiles": "^1.0.16",
45
- "@gaddario98/react-queries": "^1.0.21"
35
+ "@gaddario98/react-core": "2.1.3",
36
+ "@react-native-async-storage/async-storage": "^2.2.0",
37
+ "@tanstack/query-async-storage-persister": "^5.90.22"
46
38
  },
47
39
  "peerDependencies": {
40
+ "@react-navigation/native": ">=6.0.0",
41
+ "@react-navigation/native-stack": ">=6.0.0",
42
+ "expo-device": ">=6.0.0",
43
+ "expo-notifications": ">=0.28.0",
44
+ "expo-router": ">=4.0.0",
48
45
  "react": ">=18.0.0 <20.0.0",
49
- "react-native": "^0.81.0"
46
+ "react-native": "^0.81.0",
47
+ "react-native-reanimated": ">=3.0.0",
48
+ "react-native-safe-area-context": ">=4.0.0"
49
+ },
50
+ "peerDependenciesMeta": {
51
+ "@react-navigation/native": {
52
+ "optional": true
53
+ },
54
+ "@react-navigation/native-stack": {
55
+ "optional": true
56
+ },
57
+ "expo-device": {
58
+ "optional": true
59
+ },
60
+ "expo-notifications": {
61
+ "optional": true
62
+ },
63
+ "expo-router": {
64
+ "optional": true
65
+ },
66
+ "react-hook-form": {
67
+ "optional": true
68
+ },
69
+ "react-i18next": {
70
+ "optional": true
71
+ },
72
+ "react-native-reanimated": {
73
+ "optional": true
74
+ },
75
+ "react-native-safe-area-context": {
76
+ "optional": true
77
+ }
50
78
  },
51
79
  "exports": {
52
80
  ".": {
@@ -97,12 +125,6 @@
97
125
  "require": "./dist/pages/index.js",
98
126
  "default": "./dist/pages/index.js"
99
127
  },
100
- "./providers": {
101
- "types": "./dist/providers/index.d.ts",
102
- "import": "./dist/providers/index.mjs",
103
- "require": "./dist/providers/index.js",
104
- "default": "./dist/providers/index.js"
105
- },
106
128
  "./queries": {
107
129
  "types": "./dist/queries/index.d.ts",
108
130
  "import": "./dist/queries/index.mjs",
@@ -126,6 +148,12 @@
126
148
  "import": "./dist/utiles/index.mjs",
127
149
  "require": "./dist/utiles/index.js",
128
150
  "default": "./dist/utiles/index.js"
151
+ },
152
+ "./providers": {
153
+ "types": "./dist/providers/index.d.ts",
154
+ "import": "./dist/providers/index.mjs",
155
+ "require": "./dist/providers/index.js",
156
+ "default": "./dist/providers/index.js"
129
157
  }
130
158
  },
131
159
  "repository": {