expo-dev-menu 7.0.6 → 7.0.7
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 +4 -0
- package/android/build.gradle +2 -2
- package/android/src/main/java/expo/modules/devmenu/compose/primitives/PulseEffect.kt +1 -1
- package/android/src/main/java/expo/modules/devmenu/compose/ui/AppInfo.kt +1 -1
- package/android/src/main/java/expo/modules/devmenu/compose/ui/BundlerInfo.kt +1 -1
- package/android/src/main/java/expo/modules/devmenu/compose/ui/DevMenuScreen.kt +6 -6
- package/android/src/main/java/expo/modules/devmenu/compose/ui/{Icons.kt → MenuIcons.kt} +2 -2
- package/android/src/main/java/expo/modules/devmenu/compose/ui/Onboarding.kt +2 -2
- package/android/src/main/java/expo/modules/devmenu/compose/ui/QuickAction.kt +1 -1
- package/android/src/main/java/expo/modules/devmenu/compose/ui/Section.kt +1 -1
- package/android/src/main/java/expo/modules/devmenu/compose/ui/SystemSection.kt +1 -1
- package/android/src/main/java/expo/modules/devmenu/compose/ui/ToolsSection.kt +5 -5
- package/android/src/main/java/expo/modules/devmenu/compose/ui/Warning.kt +1 -1
- package/android/src/main/res/drawable/{frame.xml → fast_refresh.xml} +1 -1
- package/package.json +4 -4
- package/android/src/main/res/drawable-mdpi/clip_board_icon.png +0 -0
- package/android/src/main/res/drawable-mdpi/debug_icon.png +0 -0
- package/android/src/main/res/drawable-mdpi/home_icon.png +0 -0
- package/android/src/main/res/drawable-mdpi/inspect_element_icon.png +0 -0
- package/android/src/main/res/drawable-mdpi/performance_icon.png +0 -0
- package/android/src/main/res/drawable-mdpi/refresh_icon.png +0 -0
- package/android/src/main/res/drawable-mdpi/run_icon.png +0 -0
- package/android/src/main/res/drawable-mdpi/warning_triangle_icon.png +0 -0
- package/android/src/main/res/drawable-xhdpi/clip_board_icon.png +0 -0
- package/android/src/main/res/drawable-xhdpi/debug_icon.png +0 -0
- package/android/src/main/res/drawable-xhdpi/home_icon.png +0 -0
- package/android/src/main/res/drawable-xhdpi/inspect_element_icon.png +0 -0
- package/android/src/main/res/drawable-xhdpi/performance_icon.png +0 -0
- package/android/src/main/res/drawable-xhdpi/refresh_icon.png +0 -0
- package/android/src/main/res/drawable-xhdpi/run_icon.png +0 -0
- package/android/src/main/res/drawable-xhdpi/warning_triangle_icon.png +0 -0
- package/android/src/main/res/drawable-xxhdpi/clip_board_icon.png +0 -0
- package/android/src/main/res/drawable-xxhdpi/debug_icon.png +0 -0
- package/android/src/main/res/drawable-xxhdpi/home_icon.png +0 -0
- package/android/src/main/res/drawable-xxhdpi/inspect_element_icon.png +0 -0
- package/android/src/main/res/drawable-xxhdpi/performance_icon.png +0 -0
- package/android/src/main/res/drawable-xxhdpi/refresh_icon.png +0 -0
- package/android/src/main/res/drawable-xxhdpi/run_icon.png +0 -0
- package/android/src/main/res/drawable-xxhdpi/warning_triangle_icon.png +0 -0
package/CHANGELOG.md
CHANGED
package/android/build.gradle
CHANGED
|
@@ -12,7 +12,7 @@ apply plugin: 'expo-module-gradle-plugin'
|
|
|
12
12
|
apply plugin: 'org.jetbrains.kotlin.plugin.compose'
|
|
13
13
|
|
|
14
14
|
group = 'host.exp.exponent'
|
|
15
|
-
version = '7.0.
|
|
15
|
+
version = '7.0.7'
|
|
16
16
|
|
|
17
17
|
expoModule {
|
|
18
18
|
canBePublished false
|
|
@@ -22,7 +22,7 @@ android {
|
|
|
22
22
|
namespace "expo.modules.devmenu"
|
|
23
23
|
defaultConfig {
|
|
24
24
|
versionCode 10
|
|
25
|
-
versionName '7.0.
|
|
25
|
+
versionName '7.0.7'
|
|
26
26
|
}
|
|
27
27
|
buildFeatures {
|
|
28
28
|
compose true
|
|
@@ -21,7 +21,7 @@ import androidx.compose.runtime.getValue
|
|
|
21
21
|
fun Modifier.pulseEffect(
|
|
22
22
|
initialScale: Float = 1f,
|
|
23
23
|
targetScale: Float = 2f,
|
|
24
|
-
brush: Brush = SolidColor(Color.
|
|
24
|
+
brush: Brush = SolidColor(Color.Black.copy(alpha = 0.3f)),
|
|
25
25
|
shape: Shape = CircleShape,
|
|
26
26
|
animationSpect: DurationBasedAnimationSpec<Float> = tween(durationMillis = 1200)
|
|
27
27
|
): Modifier {
|
|
@@ -41,19 +41,19 @@ fun DevMenuScreen(
|
|
|
41
41
|
|
|
42
42
|
Row(
|
|
43
43
|
horizontalArrangement = Arrangement.spacedBy(NewAppTheme.spacing.`2`),
|
|
44
|
-
verticalAlignment = Alignment.
|
|
44
|
+
verticalAlignment = Alignment.CenterVertically
|
|
45
45
|
) {
|
|
46
46
|
QuickAction(
|
|
47
47
|
label = "Reload",
|
|
48
|
-
icon = {
|
|
49
|
-
modifier = Modifier.
|
|
48
|
+
icon = { MenuIcons.Reload(size = 20.dp, tint = NewAppTheme.colors.icon.default) },
|
|
49
|
+
modifier = Modifier.weight(1f),
|
|
50
50
|
onClick = { onAction(DevMenuAction.Reload) }
|
|
51
51
|
)
|
|
52
52
|
|
|
53
53
|
QuickAction(
|
|
54
54
|
label = "Go home",
|
|
55
|
-
icon = {
|
|
56
|
-
modifier = Modifier.
|
|
55
|
+
icon = { MenuIcons.Home(size = 20.dp, tint = NewAppTheme.colors.icon.default) },
|
|
56
|
+
modifier = Modifier.weight(1f),
|
|
57
57
|
onClick = { onAction(DevMenuAction.GoHome) }
|
|
58
58
|
)
|
|
59
59
|
}
|
|
@@ -62,7 +62,7 @@ fun DevMenuScreen(
|
|
|
62
62
|
|
|
63
63
|
ToolsSection(onAction, devToolsSettings)
|
|
64
64
|
|
|
65
|
-
Box(modifier = Modifier.
|
|
65
|
+
Box(modifier = Modifier.padding(vertical = NewAppTheme.spacing.`6`)) {
|
|
66
66
|
Warning("Debugging not working? Try manually reloading first")
|
|
67
67
|
}
|
|
68
68
|
|
|
@@ -9,7 +9,7 @@ import androidx.compose.ui.unit.Dp
|
|
|
9
9
|
import com.composeunstyled.Icon
|
|
10
10
|
import expo.modules.devmenu.R
|
|
11
11
|
|
|
12
|
-
object
|
|
12
|
+
object MenuIcons {
|
|
13
13
|
@Composable
|
|
14
14
|
fun Close(
|
|
15
15
|
size: Dp,
|
|
@@ -129,7 +129,7 @@ object Icons {
|
|
|
129
129
|
modifier: Modifier = Modifier
|
|
130
130
|
) {
|
|
131
131
|
Icon(
|
|
132
|
-
painter = painterResource(R.drawable.
|
|
132
|
+
painter = painterResource(R.drawable.fast_refresh),
|
|
133
133
|
contentDescription = "Fast Refresh",
|
|
134
134
|
tint = tint,
|
|
135
135
|
modifier = Modifier
|
|
@@ -74,8 +74,8 @@ fun Onboarding(onOnboardingFinished: () -> Unit = {}) {
|
|
|
74
74
|
indication = ripple(color = NewAppTheme.colors.buttons.primary.foreground)
|
|
75
75
|
) {
|
|
76
76
|
Box(
|
|
77
|
-
contentAlignment = Alignment.
|
|
78
|
-
modifier = Modifier
|
|
77
|
+
contentAlignment = Alignment.Center,
|
|
78
|
+
modifier = Modifier
|
|
79
79
|
.padding(vertical = NewAppTheme.spacing.`2`)
|
|
80
80
|
.fillMaxWidth()
|
|
81
81
|
) {
|
|
@@ -28,7 +28,7 @@ fun ToolsSection(onAction: DevMenuActionHandler, devToolsSettings: DevToolsSetti
|
|
|
28
28
|
NewMenuButton(
|
|
29
29
|
withSurface = false,
|
|
30
30
|
icon = {
|
|
31
|
-
|
|
31
|
+
MenuIcons.Performance(
|
|
32
32
|
size = 20.dp,
|
|
33
33
|
tint = NewAppTheme.colors.icon.tertiary
|
|
34
34
|
)
|
|
@@ -48,7 +48,7 @@ fun ToolsSection(onAction: DevMenuActionHandler, devToolsSettings: DevToolsSetti
|
|
|
48
48
|
NewMenuButton(
|
|
49
49
|
withSurface = false,
|
|
50
50
|
icon = {
|
|
51
|
-
|
|
51
|
+
MenuIcons.Inspect(
|
|
52
52
|
size = 20.dp,
|
|
53
53
|
tint = NewAppTheme.colors.icon.tertiary
|
|
54
54
|
)
|
|
@@ -68,7 +68,7 @@ fun ToolsSection(onAction: DevMenuActionHandler, devToolsSettings: DevToolsSetti
|
|
|
68
68
|
NewMenuButton(
|
|
69
69
|
withSurface = false,
|
|
70
70
|
icon = {
|
|
71
|
-
|
|
71
|
+
MenuIcons.Bug(
|
|
72
72
|
size = 20.dp,
|
|
73
73
|
tint = NewAppTheme.colors.icon.tertiary
|
|
74
74
|
)
|
|
@@ -88,7 +88,7 @@ fun ToolsSection(onAction: DevMenuActionHandler, devToolsSettings: DevToolsSetti
|
|
|
88
88
|
NewMenuButton(
|
|
89
89
|
withSurface = false,
|
|
90
90
|
icon = {
|
|
91
|
-
|
|
91
|
+
MenuIcons.Refresh(
|
|
92
92
|
size = 20.dp,
|
|
93
93
|
tint = NewAppTheme.colors.icon.tertiary
|
|
94
94
|
)
|
|
@@ -113,7 +113,7 @@ fun ToolsSection(onAction: DevMenuActionHandler, devToolsSettings: DevToolsSetti
|
|
|
113
113
|
NewMenuButton(
|
|
114
114
|
withSurface = false,
|
|
115
115
|
icon = {
|
|
116
|
-
|
|
116
|
+
MenuIcons.Fab(
|
|
117
117
|
size = 20.dp,
|
|
118
118
|
tint = NewAppTheme.colors.icon.tertiary
|
|
119
119
|
)
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
<clip-path
|
|
8
8
|
android:pathData="M0,0h20v20h-20z"/>
|
|
9
9
|
<path
|
|
10
|
-
android:pathData="M18.
|
|
10
|
+
android:pathData="M18.922,9.411C19.248,9.736 19.248,10.264 18.922,10.589L10.589,18.923C10.264,19.248 9.736,19.248 9.411,18.923L1.077,10.589C0.752,10.264 0.752,9.736 1.077,9.411L9.411,1.077C9.736,0.752 10.264,0.752 10.589,1.077L18.922,9.411ZM10,2.845L2.845,10L10,17.155L17.155,10L10,2.845ZM11.839,8.161L13.089,9.411C13.415,9.736 13.415,10.264 13.089,10.589L11.839,11.839C11.514,12.165 10.986,12.165 10.661,11.839C10.335,11.514 10.335,10.986 10.661,10.661L11.321,10L10.661,9.339C10.335,9.014 10.335,8.486 10.661,8.161C10.986,7.835 11.514,7.835 11.839,8.161ZM8.506,8.161L9.756,9.411C10.081,9.736 10.081,10.264 9.756,10.589L8.506,11.839C8.18,12.165 7.653,12.165 7.327,11.839C7.002,11.514 7.002,10.986 7.327,10.661L7.988,10L7.327,9.339C7.002,9.014 7.002,8.486 7.327,8.161C7.653,7.835 8.18,7.835 8.506,8.161Z"
|
|
11
11
|
android:fillColor="#8B8D98"
|
|
12
12
|
android:fillType="evenOdd"/>
|
|
13
13
|
</group>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "expo-dev-menu",
|
|
3
|
-
"version": "7.0.
|
|
3
|
+
"version": "7.0.7",
|
|
4
4
|
"description": "Expo/React Native module with the developer menu.",
|
|
5
5
|
"main": "build/DevMenu.js",
|
|
6
6
|
"types": "build/DevMenu.d.ts",
|
|
@@ -40,8 +40,8 @@
|
|
|
40
40
|
"@babel/preset-typescript": "^7.7.4",
|
|
41
41
|
"@testing-library/react-native": "^13.2.0",
|
|
42
42
|
"babel-plugin-module-resolver": "^5.0.0",
|
|
43
|
-
"babel-preset-expo": "~14.0.
|
|
44
|
-
"expo-dev-client-components": "3.0.
|
|
43
|
+
"babel-preset-expo": "~14.0.5",
|
|
44
|
+
"expo-dev-client-components": "3.0.5",
|
|
45
45
|
"expo-module-scripts": "^5.0.5",
|
|
46
46
|
"fuse.js": "^6.4.6",
|
|
47
47
|
"react": "19.1.0",
|
|
@@ -52,5 +52,5 @@
|
|
|
52
52
|
"peerDependencies": {
|
|
53
53
|
"expo": "*"
|
|
54
54
|
},
|
|
55
|
-
"gitHead": "
|
|
55
|
+
"gitHead": "1dafdaa317c182191909a94a355c8b08a2654783"
|
|
56
56
|
}
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|