expo-modules-core 3.0.1 → 3.0.3
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,16 @@
|
|
|
10
10
|
|
|
11
11
|
### 💡 Others
|
|
12
12
|
|
|
13
|
+
## 3.0.3 — 2025-08-18
|
|
14
|
+
|
|
15
|
+
### 💡 Others
|
|
16
|
+
|
|
17
|
+
- [ios] Wrap system color references for dev client. ([#38912](https://github.com/expo/expo/pull/38912) by [@douglowder](https://github.com/douglowder))
|
|
18
|
+
|
|
19
|
+
## 3.0.2 — 2025-08-16
|
|
20
|
+
|
|
21
|
+
_This version does not introduce any user-facing changes._
|
|
22
|
+
|
|
13
23
|
## 3.0.1 — 2025-08-15
|
|
14
24
|
|
|
15
25
|
_This version does not introduce any user-facing changes._
|
package/android/build.gradle
CHANGED
|
@@ -25,7 +25,7 @@ if (shouldIncludeCompose) {
|
|
|
25
25
|
}
|
|
26
26
|
|
|
27
27
|
group = 'host.exp.exponent'
|
|
28
|
-
version = '3.0.
|
|
28
|
+
version = '3.0.3'
|
|
29
29
|
|
|
30
30
|
def isExpoModulesCoreTests = {
|
|
31
31
|
Gradle gradle = getGradle()
|
|
@@ -75,7 +75,7 @@ android {
|
|
|
75
75
|
defaultConfig {
|
|
76
76
|
consumerProguardFiles 'proguard-rules.pro'
|
|
77
77
|
versionCode 1
|
|
78
|
-
versionName "3.0.
|
|
78
|
+
versionName "3.0.3"
|
|
79
79
|
buildConfigField "String", "EXPO_MODULES_CORE_VERSION", "\"${versionName}\""
|
|
80
80
|
buildConfigField "boolean", "IS_NEW_ARCHITECTURE_ENABLED", isNewArchitectureEnabled.toString()
|
|
81
81
|
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
// Copyright 2024-present 650 Industries. All rights reserved.
|
|
2
|
+
|
|
3
|
+
import SwiftUI
|
|
4
|
+
|
|
5
|
+
// Wrap system colors to hide platform differences
|
|
6
|
+
|
|
7
|
+
public extension Color {
|
|
8
|
+
#if os(tvOS)
|
|
9
|
+
private static let _systemGray6: Color = Color(.systemGray.withAlphaComponent(0.5))
|
|
10
|
+
private static let _systemGray5: Color = Color(.systemGray.withAlphaComponent(0.6))
|
|
11
|
+
private static let _systemGray4: Color = Color(.systemGray.withAlphaComponent(0.7))
|
|
12
|
+
private static let _systemBackground: Color = .clear
|
|
13
|
+
private static let _systemGroupedBackground: Color = .white
|
|
14
|
+
private static let _secondaryLabel: Color = .secondary
|
|
15
|
+
private static let _secondarySystemBackground: Color = Color(.systemGray.withAlphaComponent(0.1))
|
|
16
|
+
private static let _secondarySystemGroupedBackground: Color = Color(.systemGray.withAlphaComponent(0.2))
|
|
17
|
+
#else
|
|
18
|
+
private static let _systemGray6: Color = Color(.systemGray6)
|
|
19
|
+
private static let _systemGray5: Color = Color(.systemGray5)
|
|
20
|
+
private static let _systemGray4 = Color(.systemGray4)
|
|
21
|
+
private static let _systemBackground: Color = Color(.systemBackground)
|
|
22
|
+
private static let _systemGroupedBackground: Color = Color(.systemGroupedBackground)
|
|
23
|
+
private static let _secondaryLabel: Color = Color(.secondaryLabel)
|
|
24
|
+
private static let _secondarySystemBackground: Color = Color(.secondarySystemBackground)
|
|
25
|
+
private static let _secondarySystemGroupedBackground: Color = Color(.secondarySystemGroupedBackground)
|
|
26
|
+
#endif
|
|
27
|
+
|
|
28
|
+
static let expoSystemBackground: Color = _systemBackground
|
|
29
|
+
static let expoSystemGroupedBackground: Color = _systemGroupedBackground
|
|
30
|
+
static let expoSecondaryLabel: Color = _secondaryLabel
|
|
31
|
+
static let expoSecondarySystemBackground: Color = _secondarySystemBackground
|
|
32
|
+
static let expoSecondarySystemGroupedBackground: Color = _secondarySystemGroupedBackground
|
|
33
|
+
static let expoSystemGray4: Color = _systemGray4
|
|
34
|
+
static let expoSystemGray5: Color = _systemGray5
|
|
35
|
+
static let expoSystemGray6: Color = _systemGray6
|
|
36
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "expo-modules-core",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.3",
|
|
4
4
|
"description": "The core of Expo Modules architecture",
|
|
5
5
|
"main": "src/index.ts",
|
|
6
6
|
"types": "build/index.d.ts",
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
},
|
|
48
48
|
"devDependencies": {
|
|
49
49
|
"@testing-library/react-native": "^13.2.0",
|
|
50
|
-
"expo-module-scripts": "^5.0.
|
|
50
|
+
"expo-module-scripts": "^5.0.2"
|
|
51
51
|
},
|
|
52
|
-
"gitHead": "
|
|
52
|
+
"gitHead": "475cdabd3faad56f0e8c4abcaaf21140c01c094f"
|
|
53
53
|
}
|