rn-native-wrapper 1.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 (29) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +83 -0
  3. package/ios/.xcode.env +11 -0
  4. package/ios/Podfile +63 -0
  5. package/ios/Podfile.lock +2126 -0
  6. package/ios/Podfile.properties.json +5 -0
  7. package/ios/rnnativewrapper/AppDelegate.swift +70 -0
  8. package/ios/rnnativewrapper/Images.xcassets/AppIcon.appiconset/App-Icon-1024x1024@1x.png +0 -0
  9. package/ios/rnnativewrapper/Images.xcassets/AppIcon.appiconset/Contents.json +14 -0
  10. package/ios/rnnativewrapper/Images.xcassets/Contents.json +6 -0
  11. package/ios/rnnativewrapper/Images.xcassets/SplashScreenBackground.colorset/Contents.json +20 -0
  12. package/ios/rnnativewrapper/Info.plist +77 -0
  13. package/ios/rnnativewrapper/PrivacyInfo.xcprivacy +48 -0
  14. package/ios/rnnativewrapper/SplashScreen.storyboard +39 -0
  15. package/ios/rnnativewrapper/Supporting/Expo.plist +12 -0
  16. package/ios/rnnativewrapper/rnnativewrapper-Bridging-Header.h +3 -0
  17. package/ios/rnnativewrapper/rnnativewrapper.entitlements +5 -0
  18. package/ios/rnnativewrapper.xcodeproj/project.pbxproj +540 -0
  19. package/ios/rnnativewrapper.xcodeproj/xcshareddata/xcschemes/rnnativewrapper.xcscheme +88 -0
  20. package/ios/rnnativewrapper.xcworkspace/contents.xcworkspacedata +10 -0
  21. package/lib/components/RNNativeDatePicker.d.ts +5 -0
  22. package/lib/components/RNNativeDatePicker.d.ts.map +1 -0
  23. package/lib/components/RNNativeDatePicker.js +11 -0
  24. package/lib/index.d.ts +3 -0
  25. package/lib/index.d.ts.map +1 -0
  26. package/lib/index.js +10 -0
  27. package/package.json +72 -0
  28. package/src/components/RNNativeDatePicker.tsx +12 -0
  29. package/src/index.ts +2 -0
package/lib/index.js ADDED
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.default = exports.RNNativeDatePicker = void 0;
7
+ var RNNativeDatePicker_1 = require("./components/RNNativeDatePicker");
8
+ Object.defineProperty(exports, "RNNativeDatePicker", { enumerable: true, get: function () { return __importDefault(RNNativeDatePicker_1).default; } });
9
+ var RNNativeDatePicker_2 = require("./components/RNNativeDatePicker");
10
+ Object.defineProperty(exports, "default", { enumerable: true, get: function () { return __importDefault(RNNativeDatePicker_2).default; } });
package/package.json ADDED
@@ -0,0 +1,72 @@
1
+ {
2
+ "name": "rn-native-wrapper",
3
+ "version": "1.0.0",
4
+ "description": "React Native wrapper for native date picker component",
5
+ "main": "lib/index.js",
6
+ "module": "lib/index.js",
7
+ "types": "lib/index.d.ts",
8
+ "react-native": "src/index.ts",
9
+ "source": "src/index.ts",
10
+ "files": [
11
+ "lib",
12
+ "src",
13
+ "ios",
14
+ "android",
15
+ "!**/__tests__",
16
+ "!**/__fixtures__",
17
+ "!**/__mocks__",
18
+ "!ios/build",
19
+ "!ios/Pods",
20
+ "!android/build",
21
+ "!android/.gradle"
22
+ ],
23
+ "scripts": {
24
+ "start": "expo start",
25
+ "reset-project": "node ./scripts/reset-project.js",
26
+ "android": "expo run:android",
27
+ "ios": "expo run:ios",
28
+ "web": "expo start --web",
29
+ "lint": "expo lint",
30
+ "build": "tsc",
31
+ "prepare": "npm run build",
32
+ "clean": "rm -rf lib"
33
+ },
34
+ "dependencies": {
35
+ "react-native-date-picker": "^5.0.13"
36
+ },
37
+ "peerDependencies": {
38
+ "react": "*",
39
+ "react-native": "*"
40
+ },
41
+ "devDependencies": {
42
+ "@types/react": "~19.1.0",
43
+ "@types/react-native": "^0.73.0",
44
+ "eslint": "^9.25.0",
45
+ "eslint-config-expo": "~10.0.0",
46
+ "expo": "~54.0.32",
47
+ "react": "19.1.0",
48
+ "react-dom": "19.1.0",
49
+ "react-native": "0.81.5",
50
+ "react-native-gesture-handler": "~2.28.0",
51
+ "react-native-safe-area-context": "~5.6.0",
52
+ "typescript": "~5.9.2"
53
+ },
54
+ "keywords": [
55
+ "react-native",
56
+ "date-picker",
57
+ "native",
58
+ "wrapper",
59
+ "ios",
60
+ "android"
61
+ ],
62
+ "author": "Darshan Padhiyar",
63
+ "license": "MIT",
64
+ "repository": {
65
+ "type": "git",
66
+ "url": "git+https://github.com/MRI-Software/MRI.OTA.Mono"
67
+ },
68
+ "bugs": {
69
+ "url": "https://github.com/MRI-Software/MRI.OTA.Mono/issues"
70
+ },
71
+ "homepage": "https://github.com/MRI-Software/MRI.OTA.Mono#readme"
72
+ }
@@ -0,0 +1,12 @@
1
+ import { View, Text } from 'react-native'
2
+ import React from 'react'
3
+ import DatePicker, {DatePickerProps} from 'react-native-date-picker'
4
+
5
+
6
+ const RNNativeDatePicker : React.FC<DatePickerProps> = (props) => {
7
+ return (
8
+ <DatePicker {...props} />
9
+ )
10
+ }
11
+
12
+ export default RNNativeDatePicker
package/src/index.ts ADDED
@@ -0,0 +1,2 @@
1
+ export { default as RNNativeDatePicker } from './components/RNNativeDatePicker';
2
+ export { default } from './components/RNNativeDatePicker';