craft-native 0.0.482 → 0.0.483

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/dist/cli.js CHANGED
@@ -3243,7 +3243,7 @@ function pinCraftNativeDependency(packagePath, craftVersion) {
3243
3243
  `);
3244
3244
  }
3245
3245
  // package.json
3246
- var version = "0.0.482";
3246
+ var version = "0.0.483";
3247
3247
 
3248
3248
  // bin/cli.ts
3249
3249
  var spawnedFrom = process6.env[CRAFT_CLI_SPAWN_MARKER];
package/dist/index.cjs CHANGED
@@ -376,7 +376,7 @@ function craftBinaryNotFoundMessage(triedPath) {
376
376
  `);
377
377
  }
378
378
  // package.json
379
- var version = "0.0.482";
379
+ var version = "0.0.483";
380
380
 
381
381
  // src/sdk-version.ts
382
382
  var SDK_VERSION = version;
package/dist/index.js CHANGED
@@ -117,7 +117,7 @@ function craftBinaryNotFoundMessage(triedPath) {
117
117
  `);
118
118
  }
119
119
  // package.json
120
- var version = "0.0.482";
120
+ var version = "0.0.483";
121
121
 
122
122
  // src/sdk-version.ts
123
123
  var SDK_VERSION = version;
@@ -8025,8 +8025,15 @@ final class CraftNativeScreenController: UIViewController, UIScrollViewDelegate,
8025
8025
  func styled(_ base: UINavigationBarAppearance) -> UINavigationBarAppearance {
8026
8026
  let appearance = UINavigationBarAppearance(barAppearance: base)
8027
8027
  if navigationBarSolid {
8028
- appearance.configureWithOpaqueBackground()
8029
- appearance.backgroundColor = screenBackgroundColor ?? config.resolvedBackgroundColor
8028
+ // iOS 26 places the expanded title in the scroll content.
8029
+ // An opaque bar covers it. The hard scroll-edge effect below
8030
+ // supplies the system's solid backdrop without hiding the title.
8031
+ if #available(iOS 26.0, *) {
8032
+ appearance.configureWithTransparentBackground()
8033
+ } else {
8034
+ appearance.configureWithOpaqueBackground()
8035
+ appearance.backgroundColor = screenBackgroundColor ?? config.resolvedBackgroundColor
8036
+ }
8030
8037
  appearance.shadowColor = .clear
8031
8038
  }
8032
8039
  CraftChromeFonts.apply(to: appearance)
@@ -8326,12 +8333,12 @@ final class CraftNativeScreenController: UIViewController, UIScrollViewDelegate,
8326
8333
  }
8327
8334
  #if compiler(>=6.2)
8328
8335
  if #available(iOS 26.0, *) {
8329
- // The clock and navigation title need separation from live
8330
- // content. Keep UIKit's soft top scrim rather than removing
8331
- // it or adding an opaque bar. The floating tab pill already
8332
- // carries its own material, so its full-width wash stays off.
8336
+ // UIKit composites its expanded title with the scroll content on
8337
+ // iOS 26. Use the native hard edge for solid navigation chrome;
8338
+ // an opaque UINavigationBarAppearance would cover that title.
8339
+ // The floating tab pill already carries its own material.
8333
8340
  scroll?.topEdgeEffect.isHidden = false
8334
- scroll?.topEdgeEffect.style = topEdgeToEdge && !navigationBarSolid ? .soft : .automatic
8341
+ scroll?.topEdgeEffect.style = topEdgeToEdge ? (navigationBarSolid ? .hard : .soft) : .automatic
8335
8342
  scroll?.bottomEdgeEffect.isHidden = tabbedScroll
8336
8343
  }
8337
8344
  #endif
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "craft-native",
3
- "version": "0.0.482",
3
+ "version": "0.0.483",
4
4
  "type": "module",
5
5
  "description": "Build desktop apps with web languages - TypeScript SDK for Craft",
6
6
  "author": "Chris Breuer <chris@stacksjs.org>",