expo-dev-launcher 58.0.19 → 58.0.21

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 (32) hide show
  1. package/CHANGELOG.md +23 -0
  2. package/android/build.gradle +2 -2
  3. package/android/src/debug/java/expo/modules/devlauncher/compose/models/ProfileViewModel.kt +1 -1
  4. package/android/src/debug/java/expo/modules/devlauncher/compose/ui/AppHeader.kt +1 -1
  5. package/android/src/debug/java/expo/modules/devlauncher/services/GraphQLService.kt +15 -7
  6. package/ios/DevLauncherNetworkInterceptor.swift +1 -1
  7. package/ios/SwiftUI/AccountSheet.swift +37 -41
  8. package/ios/SwiftUI/CrashReportView.swift +11 -11
  9. package/ios/SwiftUI/Data.swift +4 -9
  10. package/ios/SwiftUI/DevLauncherViewController.swift +38 -4
  11. package/ios/SwiftUI/DevLauncherViewModel.swift +22 -8
  12. package/ios/SwiftUI/DevLauncherViews.swift +20 -35
  13. package/ios/SwiftUI/DevServerFiltersView.swift +4 -4
  14. package/ios/SwiftUI/DevServerInfoModal.swift +2 -2
  15. package/ios/SwiftUI/DevServersView.swift +20 -20
  16. package/ios/SwiftUI/ErrorView.swift +11 -11
  17. package/ios/SwiftUI/GraphQL/Models.swift +10 -3
  18. package/ios/SwiftUI/GraphQL/Queries.swift +4 -3
  19. package/ios/SwiftUI/HomeTabView.swift +110 -47
  20. package/ios/SwiftUI/LocalNetworkPermissionView.swift +13 -13
  21. package/ios/SwiftUI/Navigation/DevLauncherTab.swift +50 -0
  22. package/ios/SwiftUI/Navigation/DevLauncherToolbar.swift +114 -0
  23. package/ios/SwiftUI/Navigation/Navigation.swift +0 -134
  24. package/ios/SwiftUI/SettingsTabView.swift +23 -35
  25. package/ios/SwiftUI/StackFrameView.swift +2 -2
  26. package/ios/SwiftUI/UpdatesTab/NotSignedInView.swift +4 -4
  27. package/ios/SwiftUI/UpdatesTab/NotUsingUpdatesView.swift +18 -22
  28. package/ios/SwiftUI/UpdatesTab/UpdateRow.swift +1 -1
  29. package/ios/SwiftUI/UpdatesTab/UpdatesListView.swift +21 -13
  30. package/ios/SwiftUI/UpdatesTab/UpdatesTabView.swift +5 -4
  31. package/ios/SwiftUI/Utils/Utils.swift +12 -2
  32. package/package.json +1 -1
@@ -39,13 +39,13 @@ extension Text {
39
39
  func monospacedCaption() -> some View {
40
40
  self
41
41
  .font(.system(.caption, design: .monospaced))
42
- .foregroundColor(.primary)
42
+ .foregroundStyle(Color.primary)
43
43
  }
44
44
 
45
45
  func monospacedCaptionSecondary() -> some View {
46
46
  self
47
47
  .font(.system(.caption, design: .monospaced))
48
- .foregroundColor(.secondary)
48
+ .foregroundStyle(Color.secondary)
49
49
  }
50
50
  }
51
51
 
@@ -53,6 +53,16 @@ extension View {
53
53
  func systemGroupedBackground() -> some View {
54
54
  return self.background(Color.expoSystemGroupedBackground)
55
55
  }
56
+
57
+ @ViewBuilder
58
+ func maxContentWidth() -> some View {
59
+ #if os(iOS)
60
+ frame(maxWidth: 600)
61
+ .frame(maxWidth: .infinity)
62
+ #else
63
+ self
64
+ #endif
65
+ }
56
66
  }
57
67
 
58
68
  func getDevLauncherBundle() -> Bundle? {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "expo-dev-launcher",
3
3
  "title": "Expo Development Launcher",
4
- "version": "58.0.19",
4
+ "version": "58.0.21",
5
5
  "description": "Pre-release version of the Expo development launcher package for testing.",
6
6
  "repository": {
7
7
  "type": "git",