@nestledjs/forms-native 0.1.2 → 0.1.3

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 (2) hide show
  1. package/index.js +0 -1
  2. package/package.json +19 -6
package/index.js CHANGED
@@ -1135,7 +1135,6 @@ function er(t, e, o = "display") {
1135
1135
  const s = typeof t == "string" ? Number.parseFloat(t) : t;
1136
1136
  return s && s >= 1e6 ? M(s / 1e6, a, { includeDecimals: !1 }) + "M" : s && s >= 1e3 ? M(s / 1e3, a, { includeDecimals: !1 }) + "K" : M(t, a);
1137
1137
  }
1138
- case "display":
1139
1138
  default:
1140
1139
  return M(t, a);
1141
1140
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nestledjs/forms-native",
3
- "version": "0.1.2",
3
+ "version": "0.1.3",
4
4
  "exports": {
5
5
  ".": {
6
6
  "import": "./index.js",
@@ -31,18 +31,29 @@
31
31
  "access": "public"
32
32
  },
33
33
  "peerDependencies": {
34
+ "@apollo/client": "^3.0.0",
35
+ "@hookform/resolvers": "^3.0.0",
36
+ "@react-native-community/datetimepicker": ">=8.0.0",
37
+ "expo-checkbox": ">=3.0.0",
34
38
  "react": ">=18.0.0",
39
+ "react-hook-form": "^7.0.0",
35
40
  "react-native": ">=0.72.0",
36
- "expo-checkbox": ">=3.0.0"
41
+ "react-native-element-dropdown": ">=2.0.0",
42
+ "react-native-markdown-display": ">=6.0.0",
43
+ "react-native-phone-number-input": ">=2.0.0",
44
+ "zod": "^3.0.0"
37
45
  },
38
46
  "peerDependenciesMeta": {
39
47
  "@apollo/client": {
40
48
  "optional": true
41
49
  },
50
+ "@hookform/resolvers": {
51
+ "optional": false
52
+ },
42
53
  "@react-native-community/datetimepicker": {
43
54
  "optional": true
44
55
  },
45
- "react-native-phone-number-input": {
56
+ "expo-checkbox": {
46
57
  "optional": true
47
58
  },
48
59
  "react-native-element-dropdown": {
@@ -51,12 +62,14 @@
51
62
  "react-native-markdown-display": {
52
63
  "optional": true
53
64
  },
54
- "expo-checkbox": {
65
+ "react-native-phone-number-input": {
55
66
  "optional": true
67
+ },
68
+ "zod": {
69
+ "optional": false
56
70
  }
57
71
  },
58
72
  "dependencies": {
59
- "@nestledjs/forms-core": "0.1.2",
60
- "react-hook-form": "^7.58.1"
73
+ "@nestledjs/forms-core": "0.1.3"
61
74
  }
62
75
  }