@swiftbrowser/native 0.14.1 → 0.14.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@swiftbrowser/native",
3
- "version": "0.14.1",
3
+ "version": "0.14.2",
4
4
  "type": "module",
5
5
  "description": "Run a @swiftbrowser/react app natively: the runtime a JavaScriptCore-hosted app needs (timers, console, fetch and the other web globals over the SwiftBrowser Native bridge), the `run` entry that renders into the native SwiftUI renderer, and the bundler that builds app.js for the Xcode target.",
6
6
  "repository": {
@@ -59,8 +59,8 @@
59
59
  },
60
60
  "dependencies": {
61
61
  "@babel/core": "^7.29.7",
62
- "@swiftbrowser/react": "0.14.1",
63
- "@swiftbrowser/web": "0.14.1",
62
+ "@swiftbrowser/react": "0.14.2",
63
+ "@swiftbrowser/web": "0.14.2",
64
64
  "esbuild": "^0.28.2",
65
65
  "react-refresh": "^0.17.0"
66
66
  },
@@ -156,9 +156,14 @@ struct NavigationScreenElement: View {
156
156
  case "secondary": return .secondaryAction
157
157
  case "bottom": return bottomPlacement
158
158
  case "largeTitle":
159
- // Beside the large title: the shim's own placement; SwiftUI has none, so the bar's trailing edge.
159
+ // In the large title's place: the shim's placement, and SwiftUI's
160
+ // from iOS 26 (it stands in for `navigationTitle`'s text while the
161
+ // title is large). Before that SwiftUI has none: the bar's trailing edge.
160
162
  #if canImport(FoundationBridge)
161
163
  return .largeTitle
164
+ #elseif os(iOS)
165
+ if #available(iOS 26, *) { return .largeTitle }
166
+ return trailingPlacement
162
167
  #else
163
168
  return trailingPlacement
164
169
  #endif
@@ -1,4 +1,4 @@
1
1
  [diffend] Oversized file quarantined before diffing.
2
2
  name: package/wasm/SwiftBrowserNative.wasm
3
3
  size: 49301069 bytes
4
- sha256: 644cdf56fe487eb95d2c2c0e40782626f6fb70259a3ea40a6b9e11d2c23c401a
4
+ sha256: 16971f1e88fc92c8415900990bdae1d2070d927b89e3f0c54002fbb26088f02f