craft-native 0.0.132 → 0.0.133
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 +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.js +1 -1
- package/dist/ios/templates/CraftNativeScreen.swift +8 -3
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -3303,7 +3303,7 @@ function pinCraftNativeDependency(packagePath, craftVersion) {
|
|
|
3303
3303
|
`);
|
|
3304
3304
|
}
|
|
3305
3305
|
// package.json
|
|
3306
|
-
var version = "0.0.
|
|
3306
|
+
var version = "0.0.133";
|
|
3307
3307
|
|
|
3308
3308
|
// bin/cli.ts
|
|
3309
3309
|
var spawnedFrom = process6.env[CRAFT_CLI_SPAWN_MARKER];
|
package/dist/index.cjs
CHANGED
package/dist/index.js
CHANGED
|
@@ -1822,9 +1822,14 @@ final class CraftNativeScreenController: UIViewController, UIScrollViewDelegate,
|
|
|
1822
1822
|
}
|
|
1823
1823
|
}
|
|
1824
1824
|
let item = UIBarButtonItem(customView: button)
|
|
1825
|
-
//
|
|
1826
|
-
//
|
|
1827
|
-
//
|
|
1825
|
+
// iOS 26 groups adjacent bar items on one glass platter and tints
|
|
1826
|
+
// their custom views with it: the two 44-point circles came out as
|
|
1827
|
+
// solid accent ovals inside a capsule, unlike the web screens' bar.
|
|
1828
|
+
// The button draws its own surface, so it opts out of the platter.
|
|
1829
|
+
// Guarded by compiler too, for the older SDKs in the release matrix.
|
|
1830
|
+
#if compiler(>=6.2)
|
|
1831
|
+
if #available(iOS 26.0, *) { item.hidesSharedBackground = true; item.sharesBackground = false }
|
|
1832
|
+
#endif
|
|
1828
1833
|
return item
|
|
1829
1834
|
}
|
|
1830
1835
|
|