@brightlayer-ui/react-native-template-authentication-typescript 3.0.0-alpha.1 → 3.0.0-alpha.2

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 (63) hide show
  1. package/CHANGELOG.md +76 -0
  2. package/package.json +2 -2
  3. package/template/.buckconfig +6 -0
  4. package/template/.node-version +1 -0
  5. package/template/.prettierignore +2 -0
  6. package/template/.ruby-version +1 -0
  7. package/template/.watchmanconfig +1 -1
  8. package/template/Gemfile +2 -4
  9. package/template/Gemfile.lock +11 -17
  10. package/template/__mocks__/svgMock.js +8 -0
  11. package/template/_gitignore +8 -18
  12. package/template/android/app/build.gradle +4 -3
  13. package/template/android/app/src/main/java/com/{workflow → example}/MainActivity.kt +3 -9
  14. package/template/android/app/src/main/java/com/{workflow → example}/MainApplication.kt +4 -2
  15. package/template/android/app/src/main/res/drawable/rn_edit_text_material.xml +1 -2
  16. package/template/android/app/src/main/res/values/strings.xml +1 -1
  17. package/template/android/build.gradle +3 -3
  18. package/template/android/gradle/wrapper/gradle-wrapper.properties +1 -1
  19. package/template/android/gradlew +7 -7
  20. package/template/android/gradlew.bat +10 -10
  21. package/template/android/link-assets-manifest.json +23 -23
  22. package/template/android/settings.gradle +1 -1
  23. package/template/app.json +2 -2
  24. package/template/assets/images/Logo.svg +11 -0
  25. package/template/babel.config.js +1 -0
  26. package/template/index.js +0 -2
  27. package/template/ios/Podfile +24 -5
  28. package/template/ios/Podfile.lock +517 -570
  29. package/template/ios/{blankTemplate → example}/AppDelegate.mm +3 -3
  30. package/template/ios/{blankTemplate → example}/Info.plist +25 -24
  31. package/template/ios/{blankTemplate → example}/LaunchScreen.storyboard +1 -1
  32. package/template/ios/{blankTemplate.xcodeproj → example.xcodeproj}/project.pbxproj +123 -136
  33. package/template/ios/{blankTemplate.xcodeproj/xcshareddata/xcschemes/blankTemplate.xcscheme → example.xcodeproj/xcshareddata/xcschemes/example.xcscheme} +12 -12
  34. package/template/ios/{blankTemplate.xcworkspace → example.xcworkspace}/contents.xcworkspacedata +1 -1
  35. package/template/ios/{blankTemplateTests/blankTemplateTests.m → exampleTests/exampleTests.m} +2 -2
  36. package/template/ios/link-assets-manifest.json +23 -23
  37. package/template/metro.config.js +13 -8
  38. package/template/package.json +42 -35
  39. package/template/react-native.config.js +3 -0
  40. package/template/src/components/DebugComponent.tsx +0 -1
  41. package/template/src/components/{UserMenuExample.tsx → UserMenuComponent.tsx} +1 -1
  42. package/template/src/screens/Dashboard.tsx +2 -2
  43. package/template/src/screens/Homepage.tsx +2 -2
  44. package/template/src/screens/Locations.tsx +2 -2
  45. package/template/translations/dictionary/french.ts +3 -3
  46. package/template/translations/dictionary/portuguese.ts +1 -1
  47. package/template/translations/dictionary/spanish.ts +1 -1
  48. package/template/tsconfig.json +3 -3
  49. package/template/yarn.lock +2667 -1377
  50. package/template.config.js +1 -1
  51. package/template/assets/images/Logo.png +0 -0
  52. package/template/eslint.config.mjs +0 -10
  53. package/template/ios/blankTemplate/PrivacyInfo.xcprivacy +0 -37
  54. package/template/src/components/AuthCustomScreen.tsx +0 -50
  55. package/template/src/components/CustomScreen.tsx +0 -77
  56. package/template/src/components/ForgotPasswordScreenBaseExample.tsx +0 -42
  57. package/template/src/components/ResetPasswordScreenBaseExample.tsx +0 -41
  58. /package/template/ios/{blankTemplate → example}/AppDelegate.h +0 -0
  59. /package/template/ios/{blankTemplate → example}/Images.xcassets/AppIcon.appiconset/Contents.json +0 -0
  60. /package/template/ios/{blankTemplate → example}/Images.xcassets/Contents.json +0 -0
  61. /package/template/ios/{blankTemplate → example}/main.m +0 -0
  62. /package/template/ios/{blankTemplate.xcworkspace → example.xcworkspace}/xcshareddata/IDEWorkspaceChecks.plist +0 -0
  63. /package/template/ios/{blankTemplateTests → exampleTests}/Info.plist +0 -0
@@ -6,7 +6,7 @@
6
6
 
7
7
  - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
8
8
  {
9
- self.moduleName = @"blankTemplate";
9
+ self.moduleName = @"example";
10
10
  // You can add your custom initial props in the dictionary below.
11
11
  // They will be passed down to the ViewController used by React Native.
12
12
  self.initialProps = @{};
@@ -16,10 +16,10 @@
16
16
 
17
17
  - (NSURL *)sourceURLForBridge:(RCTBridge *)bridge
18
18
  {
19
- return [self bundleURL];
19
+ return [self getBundleURL];
20
20
  }
21
21
 
22
- - (NSURL *)bundleURL
22
+ - (NSURL *)getBundleURL
23
23
  {
24
24
  #if DEBUG
25
25
  return [[RCTBundleURLProvider sharedSettings] jsBundleURLForBundleRoot:@"index"];
@@ -5,7 +5,7 @@
5
5
  <key>CFBundleDevelopmentRegion</key>
6
6
  <string>en</string>
7
7
  <key>CFBundleDisplayName</key>
8
- <string>blankTemplate</string>
8
+ <string>example</string>
9
9
  <key>CFBundleExecutable</key>
10
10
  <string>$(EXECUTABLE_NAME)</string>
11
11
  <key>CFBundleIdentifier</key>
@@ -32,28 +32,9 @@
32
32
  <true/>
33
33
  </dict>
34
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/>
35
+ <string></string>
50
36
  <key>UIAppFonts</key>
51
37
  <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
38
  <string>AntDesign.ttf</string>
58
39
  <string>Entypo.ttf</string>
59
40
  <string>EvilIcons.ttf</string>
@@ -62,14 +43,34 @@
62
43
  <string>FontAwesome5_Brands.ttf</string>
63
44
  <string>FontAwesome5_Regular.ttf</string>
64
45
  <string>FontAwesome5_Solid.ttf</string>
65
- <string>Fontisto.ttf</string>
66
46
  <string>Foundation.ttf</string>
67
47
  <string>Ionicons.ttf</string>
68
- <string>MaterialCommunityIcons.ttf</string>
69
48
  <string>MaterialIcons.ttf</string>
70
- <string>Octicons.ttf</string>
49
+ <string>MaterialCommunityIcons.ttf</string>
71
50
  <string>SimpleLineIcons.ttf</string>
51
+ <string>Octicons.ttf</string>
72
52
  <string>Zocial.ttf</string>
53
+ <string>Fontisto.ttf</string>
54
+ <string>BLUIIcons.ttf</string>
55
+ <string>OpenSans-Bold.ttf</string>
56
+ <string>OpenSans-ExtraBold.ttf</string>
57
+ <string>OpenSans-Light.ttf</string>
58
+ <string>OpenSans-Regular.ttf</string>
59
+ <string>OpenSans-SemiBold.ttf</string>
73
60
  </array>
61
+ <key>UILaunchStoryboardName</key>
62
+ <string>LaunchScreen</string>
63
+ <key>UIRequiredDeviceCapabilities</key>
64
+ <array>
65
+ <string>armv7</string>
66
+ </array>
67
+ <key>UISupportedInterfaceOrientations</key>
68
+ <array>
69
+ <string>UIInterfaceOrientationPortrait</string>
70
+ <string>UIInterfaceOrientationLandscapeLeft</string>
71
+ <string>UIInterfaceOrientationLandscapeRight</string>
72
+ </array>
73
+ <key>UIViewControllerBasedStatusBarAppearance</key>
74
+ <false/>
74
75
  </dict>
75
76
  </plist>
@@ -16,7 +16,7 @@
16
16
  <rect key="frame" x="0.0" y="0.0" width="375" height="667"/>
17
17
  <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
18
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">
19
+ <label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="example" textAlignment="center" lineBreakMode="middleTruncation" baselineAdjustment="alignBaselines" minimumFontSize="18" translatesAutoresizingMaskIntoConstraints="NO" id="GJd-Yh-RWb">
20
20
  <rect key="frame" x="0.0" y="202" width="375" height="43"/>
21
21
  <fontDescription key="fontDescription" type="boldSystem" pointSize="36"/>
22
22
  <nil key="highlightedColor"/>