expo-mesh-gradient 1.0.0-canary-20250219-4a5dade → 1.0.0-canary-20250221-ef26fed

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/CHANGELOG.md CHANGED
@@ -10,6 +10,8 @@
10
10
 
11
11
  ### 🐛 Bug fixes
12
12
 
13
+ - Fix building for macOS. ([#35033](https://github.com/expo/expo/pull/35033) by [@gabrieldonadel](https://github.com/gabrieldonadel))
14
+
13
15
  ### 💡 Others
14
16
 
15
17
  - [apple] Migrate remaining `expo-module.config.json` to unified platform syntax. ([#34445](https://github.com/expo/expo/pull/34445) by [@reichhartd](https://github.com/reichhartd))
@@ -8,7 +8,7 @@ struct MeshGradientView: ExpoSwiftUI.View {
8
8
 
9
9
  var body: some View {
10
10
  ZStack(alignment: .topLeading) {
11
- let gradient = if #available(iOS 18.0, *) {
11
+ let gradient = if #available(iOS 18.0, macOS 15.0, *) {
12
12
  AnyView(
13
13
  MeshGradient(
14
14
  width: props.columns,
@@ -24,8 +24,10 @@ struct MeshGradientView: ExpoSwiftUI.View {
24
24
  }
25
25
 
26
26
  if props.mask {
27
- gradient.mask(alignment: .topLeading) {
28
- Children()
27
+ if #available(macOS 12.0, *) {
28
+ gradient.mask(alignment: .topLeading) {
29
+ Children()
30
+ }
29
31
  }
30
32
  } else {
31
33
  Group {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "expo-mesh-gradient",
3
- "version": "1.0.0-canary-20250219-4a5dade",
3
+ "version": "1.0.0-canary-20250221-ef26fed",
4
4
  "description": "A module that exposes MeshGradient view from SwiftUI to React Native",
5
5
  "main": "src/index.ts",
6
6
  "types": "build/index.d.ts",
@@ -31,12 +31,11 @@
31
31
  "dependencies": {},
32
32
  "devDependencies": {
33
33
  "@types/react": "~18.3.12",
34
- "expo-module-scripts": "4.0.5-canary-20250219-4a5dade"
34
+ "expo-module-scripts": "4.0.5-canary-20250221-ef26fed"
35
35
  },
36
36
  "peerDependencies": {
37
- "expo": "53.0.0-canary-20250219-4a5dade",
37
+ "expo": "53.0.0-canary-20250221-ef26fed",
38
38
  "react": "*",
39
39
  "react-native": "*"
40
- },
41
- "gitHead": "4a5daded61d3d8b9d501059039ac74c09c25675b"
40
+ }
42
41
  }