expo-mesh-gradient 0.2.2-canary-20250124-42fe332 → 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
|
@@ -4,17 +4,19 @@
|
|
|
4
4
|
|
|
5
5
|
### 🛠 Breaking changes
|
|
6
6
|
|
|
7
|
+
- Bump minimum macOS version to 11.0. ([#34980](https://github.com/expo/expo/pull/34980) by [@gabrieldonadel](https://github.com/gabrieldonadel))
|
|
8
|
+
|
|
7
9
|
### 🎉 New features
|
|
8
10
|
|
|
9
11
|
### 🐛 Bug fixes
|
|
10
12
|
|
|
11
|
-
|
|
13
|
+
- Fix building for macOS. ([#35033](https://github.com/expo/expo/pull/35033) by [@gabrieldonadel](https://github.com/gabrieldonadel))
|
|
12
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))
|
|
16
18
|
|
|
17
|
-
## 0.2.0
|
|
19
|
+
## 0.2.0 - 2024-11-29
|
|
18
20
|
|
|
19
21
|
### 🎉 New features
|
|
20
22
|
|
package/expo-module.config.json
CHANGED
|
@@ -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
|
-
|
|
28
|
-
|
|
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": "0.
|
|
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.
|
|
34
|
+
"expo-module-scripts": "4.0.5-canary-20250221-ef26fed"
|
|
35
35
|
},
|
|
36
36
|
"peerDependencies": {
|
|
37
|
-
"expo": "53.0.0-canary-
|
|
37
|
+
"expo": "53.0.0-canary-20250221-ef26fed",
|
|
38
38
|
"react": "*",
|
|
39
39
|
"react-native": "*"
|
|
40
|
-
}
|
|
41
|
-
"gitHead": "42fe3321395867f7bacba1ea4dc90db1692f119e"
|
|
40
|
+
}
|
|
42
41
|
}
|