@brightlayer-ui/react-native-template-routing-typescript 2.2.0-alpha.0 → 3.0.0-alpha.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 (89) hide show
  1. package/README.md +15 -8
  2. package/package.json +1 -1
  3. package/template/.bundle/config +2 -0
  4. package/template/.eslintrc.js +57 -0
  5. package/template/.prettierrc.js +7 -0
  6. package/template/.watchmanconfig +1 -0
  7. package/template/App.tsx +1 -2
  8. package/template/Gemfile +9 -0
  9. package/template/Gemfile.lock +105 -0
  10. package/template/README.md +79 -0
  11. package/template/__tests__/App.test.tsx +17 -0
  12. package/template/android/app/build.gradle +120 -0
  13. package/template/android/app/debug.keystore +0 -0
  14. package/template/android/app/proguard-rules.pro +10 -0
  15. package/template/android/app/src/debug/AndroidManifest.xml +9 -0
  16. package/template/android/app/src/main/AndroidManifest.xml +25 -0
  17. package/template/android/app/src/main/java/com/routingtemplate/MainActivity.kt +28 -0
  18. package/template/android/app/src/main/java/com/routingtemplate/MainApplication.kt +43 -0
  19. package/template/android/app/src/main/res/drawable/rn_edit_text_material.xml +37 -0
  20. package/template/android/app/src/main/res/mipmap-hdpi/ic_launcher.png +0 -0
  21. package/template/android/app/src/main/res/mipmap-hdpi/ic_launcher_round.png +0 -0
  22. package/template/android/app/src/main/res/mipmap-mdpi/ic_launcher.png +0 -0
  23. package/template/android/app/src/main/res/mipmap-mdpi/ic_launcher_round.png +0 -0
  24. package/template/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png +0 -0
  25. package/template/android/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png +0 -0
  26. package/template/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png +0 -0
  27. package/template/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png +0 -0
  28. package/template/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png +0 -0
  29. package/template/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png +0 -0
  30. package/template/android/app/src/main/res/values/strings.xml +3 -0
  31. package/template/android/app/src/main/res/values/styles.xml +9 -0
  32. package/template/android/build.gradle +21 -0
  33. package/template/android/gradle/wrapper/gradle-wrapper.jar +0 -0
  34. package/template/android/gradle/wrapper/gradle-wrapper.properties +7 -0
  35. package/template/android/gradle.properties +41 -0
  36. package/template/android/gradlew +249 -0
  37. package/template/android/gradlew.bat +92 -0
  38. package/template/android/link-assets-manifest.json +25 -0
  39. package/template/android/settings.gradle +4 -0
  40. package/template/app.json +4 -0
  41. package/template/assets/fonts/OpenSans-Bold.ttf +0 -0
  42. package/template/assets/fonts/OpenSans-ExtraBold.ttf +0 -0
  43. package/template/assets/fonts/OpenSans-Light.ttf +0 -0
  44. package/template/assets/fonts/OpenSans-Regular.ttf +0 -0
  45. package/template/assets/fonts/OpenSans-SemiBold.ttf +0 -0
  46. package/template/assets/images/Logo.png +0 -0
  47. package/template/babel.config.js +1 -2
  48. package/template/eslint.config.mjs +10 -0
  49. package/template/index.js +10 -0
  50. package/template/ios/.xcode.env +11 -0
  51. package/template/ios/Podfile +40 -0
  52. package/template/ios/Podfile.lock +1496 -0
  53. package/template/ios/blankTemplate/AppDelegate.h +6 -0
  54. package/template/ios/blankTemplate/AppDelegate.mm +31 -0
  55. package/template/ios/blankTemplate/Images.xcassets/AppIcon.appiconset/Contents.json +53 -0
  56. package/template/ios/blankTemplate/Images.xcassets/Contents.json +6 -0
  57. package/template/ios/blankTemplate/Info.plist +75 -0
  58. package/template/ios/blankTemplate/LaunchScreen.storyboard +47 -0
  59. package/template/ios/blankTemplate/PrivacyInfo.xcprivacy +37 -0
  60. package/template/ios/blankTemplate/main.m +10 -0
  61. package/template/ios/blankTemplate.xcodeproj/project.pbxproj +741 -0
  62. package/template/ios/blankTemplate.xcodeproj/xcshareddata/xcschemes/blankTemplate.xcscheme +88 -0
  63. package/template/ios/blankTemplate.xcworkspace/contents.xcworkspacedata +10 -0
  64. package/template/ios/blankTemplate.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist +8 -0
  65. package/template/ios/blankTemplateTests/Info.plist +24 -0
  66. package/template/ios/blankTemplateTests/blankTemplateTests.m +66 -0
  67. package/template/ios/link-assets-manifest.json +25 -0
  68. package/template/jest.config.js +3 -0
  69. package/template/metro.config.js +7 -25
  70. package/template/package.json +61 -0
  71. package/template/src/navigation/index.tsx +14 -14
  72. package/template/src/navigation/navigation-drawer.tsx +1 -2
  73. package/template/src/screens/home.tsx +77 -58
  74. package/template/src/screens/pageOne.tsx +3 -5
  75. package/template/src/screens/pageTwo.tsx +3 -5
  76. package/template/tsconfig.json +60 -0
  77. package/template/yarn.lock +7255 -0
  78. package/template.config.js +4 -0
  79. package/CHANGELOG.md +0 -62
  80. package/dependencies.json +0 -23
  81. package/images/Logo.svg +0 -11
  82. package/template/__mocks__/svgMock.js +0 -8
  83. package/template/jestSetupFile.js +0 -15
  84. package/template/react-native.config.js +0 -3
  85. /package/{fonts → template/android/app/src/main/assets/fonts}/OpenSans-Bold.ttf +0 -0
  86. /package/{fonts → template/android/app/src/main/assets/fonts}/OpenSans-ExtraBold.ttf +0 -0
  87. /package/{fonts → template/android/app/src/main/assets/fonts}/OpenSans-Light.ttf +0 -0
  88. /package/{fonts → template/android/app/src/main/assets/fonts}/OpenSans-Regular.ttf +0 -0
  89. /package/{fonts → template/android/app/src/main/assets/fonts}/OpenSans-SemiBold.ttf +0 -0
@@ -0,0 +1,6 @@
1
+ #import <RCTAppDelegate.h>
2
+ #import <UIKit/UIKit.h>
3
+
4
+ @interface AppDelegate : RCTAppDelegate
5
+
6
+ @end
@@ -0,0 +1,31 @@
1
+ #import "AppDelegate.h"
2
+
3
+ #import <React/RCTBundleURLProvider.h>
4
+
5
+ @implementation AppDelegate
6
+
7
+ - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
8
+ {
9
+ self.moduleName = @"blankTemplate";
10
+ // You can add your custom initial props in the dictionary below.
11
+ // They will be passed down to the ViewController used by React Native.
12
+ self.initialProps = @{};
13
+
14
+ return [super application:application didFinishLaunchingWithOptions:launchOptions];
15
+ }
16
+
17
+ - (NSURL *)sourceURLForBridge:(RCTBridge *)bridge
18
+ {
19
+ return [self bundleURL];
20
+ }
21
+
22
+ - (NSURL *)bundleURL
23
+ {
24
+ #if DEBUG
25
+ return [[RCTBundleURLProvider sharedSettings] jsBundleURLForBundleRoot:@"index"];
26
+ #else
27
+ return [[NSBundle mainBundle] URLForResource:@"main" withExtension:@"jsbundle"];
28
+ #endif
29
+ }
30
+
31
+ @end
@@ -0,0 +1,53 @@
1
+ {
2
+ "images": [
3
+ {
4
+ "idiom": "iphone",
5
+ "scale": "2x",
6
+ "size": "20x20"
7
+ },
8
+ {
9
+ "idiom": "iphone",
10
+ "scale": "3x",
11
+ "size": "20x20"
12
+ },
13
+ {
14
+ "idiom": "iphone",
15
+ "scale": "2x",
16
+ "size": "29x29"
17
+ },
18
+ {
19
+ "idiom": "iphone",
20
+ "scale": "3x",
21
+ "size": "29x29"
22
+ },
23
+ {
24
+ "idiom": "iphone",
25
+ "scale": "2x",
26
+ "size": "40x40"
27
+ },
28
+ {
29
+ "idiom": "iphone",
30
+ "scale": "3x",
31
+ "size": "40x40"
32
+ },
33
+ {
34
+ "idiom": "iphone",
35
+ "scale": "2x",
36
+ "size": "60x60"
37
+ },
38
+ {
39
+ "idiom": "iphone",
40
+ "scale": "3x",
41
+ "size": "60x60"
42
+ },
43
+ {
44
+ "idiom": "ios-marketing",
45
+ "scale": "1x",
46
+ "size": "1024x1024"
47
+ }
48
+ ],
49
+ "info": {
50
+ "author": "xcode",
51
+ "version": 1
52
+ }
53
+ }
@@ -0,0 +1,6 @@
1
+ {
2
+ "info": {
3
+ "version": 1,
4
+ "author": "xcode"
5
+ }
6
+ }
@@ -0,0 +1,75 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3
+ <plist version="1.0">
4
+ <dict>
5
+ <key>CFBundleDevelopmentRegion</key>
6
+ <string>en</string>
7
+ <key>CFBundleDisplayName</key>
8
+ <string>blankTemplate</string>
9
+ <key>CFBundleExecutable</key>
10
+ <string>$(EXECUTABLE_NAME)</string>
11
+ <key>CFBundleIdentifier</key>
12
+ <string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
13
+ <key>CFBundleInfoDictionaryVersion</key>
14
+ <string>6.0</string>
15
+ <key>CFBundleName</key>
16
+ <string>$(PRODUCT_NAME)</string>
17
+ <key>CFBundlePackageType</key>
18
+ <string>APPL</string>
19
+ <key>CFBundleShortVersionString</key>
20
+ <string>$(MARKETING_VERSION)</string>
21
+ <key>CFBundleSignature</key>
22
+ <string>????</string>
23
+ <key>CFBundleVersion</key>
24
+ <string>$(CURRENT_PROJECT_VERSION)</string>
25
+ <key>LSRequiresIPhoneOS</key>
26
+ <true/>
27
+ <key>NSAppTransportSecurity</key>
28
+ <dict>
29
+ <key>NSAllowsArbitraryLoads</key>
30
+ <false/>
31
+ <key>NSAllowsLocalNetworking</key>
32
+ <true/>
33
+ </dict>
34
+ <key>NSLocationWhenInUseUsageDescription</key>
35
+ <string/>
36
+ <key>UILaunchStoryboardName</key>
37
+ <string>LaunchScreen</string>
38
+ <key>UIRequiredDeviceCapabilities</key>
39
+ <array>
40
+ <string>arm64</string>
41
+ </array>
42
+ <key>UISupportedInterfaceOrientations</key>
43
+ <array>
44
+ <string>UIInterfaceOrientationPortrait</string>
45
+ <string>UIInterfaceOrientationLandscapeLeft</string>
46
+ <string>UIInterfaceOrientationLandscapeRight</string>
47
+ </array>
48
+ <key>UIViewControllerBasedStatusBarAppearance</key>
49
+ <false/>
50
+ <key>UIAppFonts</key>
51
+ <array>
52
+ <string>OpenSans-Bold.ttf</string>
53
+ <string>OpenSans-ExtraBold.ttf</string>
54
+ <string>OpenSans-Light.ttf</string>
55
+ <string>OpenSans-Regular.ttf</string>
56
+ <string>OpenSans-SemiBold.ttf</string>
57
+ <string>AntDesign.ttf</string>
58
+ <string>Entypo.ttf</string>
59
+ <string>EvilIcons.ttf</string>
60
+ <string>Feather.ttf</string>
61
+ <string>FontAwesome.ttf</string>
62
+ <string>FontAwesome5_Brands.ttf</string>
63
+ <string>FontAwesome5_Regular.ttf</string>
64
+ <string>FontAwesome5_Solid.ttf</string>
65
+ <string>Fontisto.ttf</string>
66
+ <string>Foundation.ttf</string>
67
+ <string>Ionicons.ttf</string>
68
+ <string>MaterialCommunityIcons.ttf</string>
69
+ <string>MaterialIcons.ttf</string>
70
+ <string>Octicons.ttf</string>
71
+ <string>SimpleLineIcons.ttf</string>
72
+ <string>Zocial.ttf</string>
73
+ </array>
74
+ </dict>
75
+ </plist>
@@ -0,0 +1,47 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="15702" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" launchScreen="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES" initialViewController="01J-lp-oVM">
3
+ <device id="retina4_7" orientation="portrait" appearance="light"/>
4
+ <dependencies>
5
+ <deployment identifier="iOS"/>
6
+ <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="15704"/>
7
+ <capability name="Safe area layout guides" minToolsVersion="9.0"/>
8
+ <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
9
+ </dependencies>
10
+ <scenes>
11
+ <!--View Controller-->
12
+ <scene sceneID="EHf-IW-A2E">
13
+ <objects>
14
+ <viewController id="01J-lp-oVM" sceneMemberID="viewController">
15
+ <view key="view" contentMode="scaleToFill" id="Ze5-6b-2t3">
16
+ <rect key="frame" x="0.0" y="0.0" width="375" height="667"/>
17
+ <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
18
+ <subviews>
19
+ <label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="blankTemplate" textAlignment="center" lineBreakMode="middleTruncation" baselineAdjustment="alignBaselines" minimumFontSize="18" translatesAutoresizingMaskIntoConstraints="NO" id="GJd-Yh-RWb">
20
+ <rect key="frame" x="0.0" y="202" width="375" height="43"/>
21
+ <fontDescription key="fontDescription" type="boldSystem" pointSize="36"/>
22
+ <nil key="highlightedColor"/>
23
+ </label>
24
+ <label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Powered by React Native" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" minimumFontSize="9" translatesAutoresizingMaskIntoConstraints="NO" id="MN2-I3-ftu">
25
+ <rect key="frame" x="0.0" y="626" width="375" height="21"/>
26
+ <fontDescription key="fontDescription" type="system" pointSize="17"/>
27
+ <nil key="highlightedColor"/>
28
+ </label>
29
+ </subviews>
30
+ <color key="backgroundColor" systemColor="systemBackgroundColor" cocoaTouchSystemColor="whiteColor"/>
31
+ <constraints>
32
+ <constraint firstItem="Bcu-3y-fUS" firstAttribute="bottom" secondItem="MN2-I3-ftu" secondAttribute="bottom" constant="20" id="OZV-Vh-mqD"/>
33
+ <constraint firstItem="Bcu-3y-fUS" firstAttribute="centerX" secondItem="GJd-Yh-RWb" secondAttribute="centerX" id="Q3B-4B-g5h"/>
34
+ <constraint firstItem="MN2-I3-ftu" firstAttribute="centerX" secondItem="Bcu-3y-fUS" secondAttribute="centerX" id="akx-eg-2ui"/>
35
+ <constraint firstItem="MN2-I3-ftu" firstAttribute="leading" secondItem="Bcu-3y-fUS" secondAttribute="leading" id="i1E-0Y-4RG"/>
36
+ <constraint firstItem="GJd-Yh-RWb" firstAttribute="centerY" secondItem="Ze5-6b-2t3" secondAttribute="bottom" multiplier="1/3" constant="1" id="moa-c2-u7t"/>
37
+ <constraint firstItem="GJd-Yh-RWb" firstAttribute="leading" secondItem="Bcu-3y-fUS" secondAttribute="leading" symbolic="YES" id="x7j-FC-K8j"/>
38
+ </constraints>
39
+ <viewLayoutGuide key="safeArea" id="Bcu-3y-fUS"/>
40
+ </view>
41
+ </viewController>
42
+ <placeholder placeholderIdentifier="IBFirstResponder" id="iYj-Kq-Ea1" userLabel="First Responder" sceneMemberID="firstResponder"/>
43
+ </objects>
44
+ <point key="canvasLocation" x="52.173913043478265" y="375"/>
45
+ </scene>
46
+ </scenes>
47
+ </document>
@@ -0,0 +1,37 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3
+ <plist version="1.0">
4
+ <dict>
5
+ <key>NSPrivacyAccessedAPITypes</key>
6
+ <array>
7
+ <dict>
8
+ <key>NSPrivacyAccessedAPIType</key>
9
+ <string>NSPrivacyAccessedAPICategoryFileTimestamp</string>
10
+ <key>NSPrivacyAccessedAPITypeReasons</key>
11
+ <array>
12
+ <string>C617.1</string>
13
+ </array>
14
+ </dict>
15
+ <dict>
16
+ <key>NSPrivacyAccessedAPIType</key>
17
+ <string>NSPrivacyAccessedAPICategoryUserDefaults</string>
18
+ <key>NSPrivacyAccessedAPITypeReasons</key>
19
+ <array>
20
+ <string>CA92.1</string>
21
+ </array>
22
+ </dict>
23
+ <dict>
24
+ <key>NSPrivacyAccessedAPIType</key>
25
+ <string>NSPrivacyAccessedAPICategorySystemBootTime</string>
26
+ <key>NSPrivacyAccessedAPITypeReasons</key>
27
+ <array>
28
+ <string>35F9.1</string>
29
+ </array>
30
+ </dict>
31
+ </array>
32
+ <key>NSPrivacyCollectedDataTypes</key>
33
+ <array/>
34
+ <key>NSPrivacyTracking</key>
35
+ <false/>
36
+ </dict>
37
+ </plist>
@@ -0,0 +1,10 @@
1
+ #import <UIKit/UIKit.h>
2
+
3
+ #import "AppDelegate.h"
4
+
5
+ int main(int argc, char *argv[])
6
+ {
7
+ @autoreleasepool {
8
+ return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class]));
9
+ }
10
+ }