expo-mesh-gradient 1.0.0-canary-20250219-4a5dade → 1.0.0-canary-20250303-4dba60e

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
@@ -4,16 +4,23 @@
4
4
 
5
5
  ### 🛠 Breaking changes
6
6
 
7
+ - upgrade RN to 0.78 ([#35050](https://github.com/expo/expo/pull/35050) by [@vonovak](https://github.com/vonovak))
7
8
  - Bump minimum macOS version to 11.0. ([#34980](https://github.com/expo/expo/pull/34980) by [@gabrieldonadel](https://github.com/gabrieldonadel))
8
9
 
9
10
  ### 🎉 New features
10
11
 
11
12
  ### 🐛 Bug fixes
12
13
 
14
+ - Fix building for macOS. ([#35033](https://github.com/expo/expo/pull/35033) by [@gabrieldonadel](https://github.com/gabrieldonadel))
15
+
13
16
  ### 💡 Others
14
17
 
15
18
  - [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))
16
19
 
20
+ ## 0.2.1 - 2025-01-10
21
+
22
+ _This version does not introduce any user-facing changes._
23
+
17
24
  ## 0.2.0 - 2024-11-29
18
25
 
19
26
  ### 🎉 New features
@@ -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-20250303-4dba60e",
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",
@@ -30,13 +30,13 @@
30
30
  "license": "MIT",
31
31
  "dependencies": {},
32
32
  "devDependencies": {
33
- "@types/react": "~18.3.12",
34
- "expo-module-scripts": "4.0.5-canary-20250219-4a5dade"
33
+ "@types/react": "~19.0.10",
34
+ "expo-module-scripts": "4.0.5-canary-20250303-4dba60e"
35
35
  },
36
36
  "peerDependencies": {
37
- "expo": "53.0.0-canary-20250219-4a5dade",
37
+ "expo": "53.0.0-canary-20250303-4dba60e",
38
38
  "react": "*",
39
39
  "react-native": "*"
40
40
  },
41
- "gitHead": "4a5daded61d3d8b9d501059039ac74c09c25675b"
41
+ "gitHead": "4dba60e10b5d44b453073aa4968e9dbf312dea6c"
42
42
  }