expo-widgets 58.0.4 → 58.0.5
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,12 @@
|
|
|
10
10
|
|
|
11
11
|
### 💡 Others
|
|
12
12
|
|
|
13
|
+
## 58.0.5 — 2026-09-22
|
|
14
|
+
|
|
15
|
+
### 🎉 New features
|
|
16
|
+
|
|
17
|
+
- [Android] Added support for the `cornerRadius` modifier. ([#50333](https://github.com/expo/expo/pull/50333) by [@jakex7](https://github.com/jakex7))
|
|
18
|
+
|
|
13
19
|
## 58.0.4 — 2026-09-21
|
|
14
20
|
|
|
15
21
|
_This version does not introduce any user-facing changes._
|
package/android/build.gradle
CHANGED
|
@@ -6,7 +6,7 @@ plugins {
|
|
|
6
6
|
}
|
|
7
7
|
|
|
8
8
|
group = 'expo.modules.widgets'
|
|
9
|
-
version = '58.0.
|
|
9
|
+
version = '58.0.5'
|
|
10
10
|
|
|
11
11
|
def expoWidgetsPackageDirFile = project.projectDir.parentFile
|
|
12
12
|
def expoWidgetsPackageDir = expoWidgetsPackageDirFile.absolutePath
|
|
@@ -39,7 +39,7 @@ android {
|
|
|
39
39
|
namespace "expo.modules.widgets"
|
|
40
40
|
defaultConfig {
|
|
41
41
|
versionCode 1
|
|
42
|
-
versionName '58.0.
|
|
42
|
+
versionName '58.0.5'
|
|
43
43
|
|
|
44
44
|
externalNativeBuild {
|
|
45
45
|
cmake {
|
|
@@ -22,6 +22,7 @@ import expo.modules.kotlin.views.createComposeProps
|
|
|
22
22
|
import expo.modules.ui.BackgroundParams
|
|
23
23
|
import expo.modules.ui.CheckboxProps
|
|
24
24
|
import expo.modules.ui.CircularProgressIndicatorProps
|
|
25
|
+
import expo.modules.ui.CornerRadiusParams
|
|
25
26
|
import expo.modules.ui.FillMaxHeightParams
|
|
26
27
|
import expo.modules.ui.FillMaxSizeParams
|
|
27
28
|
import expo.modules.ui.FillMaxWidthParams
|
|
@@ -66,6 +67,7 @@ import androidx.glance.TintColorFilterParams
|
|
|
66
67
|
import androidx.glance.GlanceModifier
|
|
67
68
|
import androidx.glance.action.clickable
|
|
68
69
|
import androidx.glance.appwidget.CheckboxDefaults
|
|
70
|
+
import androidx.glance.appwidget.cornerRadius
|
|
69
71
|
import androidx.glance.appwidget.EmittableCheckBox
|
|
70
72
|
import androidx.glance.appwidget.EmittableCircularProgressIndicator
|
|
71
73
|
import androidx.glance.appwidget.EmittableLinearProgressIndicator
|
|
@@ -416,6 +418,7 @@ private fun ModifierType.toPeekModifier(converterContext: ConverterContext): Gla
|
|
|
416
418
|
"fillMaxHeight" -> asRecord<FillMaxHeightParams>(converterContext)?.let { GlanceModifier.fillMaxHeight() }
|
|
417
419
|
"background" -> asRecord<BackgroundParams>(converterContext)?.color?.toGlanceColorProvider()
|
|
418
420
|
?.let { GlanceModifier.background(it) }
|
|
421
|
+
"cornerRadius" -> asRecord<CornerRadiusParams>(converterContext)?.let { GlanceModifier.cornerRadius(it.radius.dp) }
|
|
419
422
|
// Unsupported Expo UI modifiers are ignored until they have exact Glance semantics.
|
|
420
423
|
else -> null
|
|
421
424
|
} ?: GlanceModifier
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "expo-widgets",
|
|
3
|
-
"version": "58.0.
|
|
3
|
+
"version": "58.0.5",
|
|
4
4
|
"description": "Widgets.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"expo",
|
|
@@ -28,14 +28,14 @@
|
|
|
28
28
|
},
|
|
29
29
|
"dependencies": {
|
|
30
30
|
"@expo/plist": "^0.10.0",
|
|
31
|
-
"@expo/ui": "~58.0.
|
|
31
|
+
"@expo/ui": "~58.0.5"
|
|
32
32
|
},
|
|
33
33
|
"devDependencies": {
|
|
34
34
|
"@expo/spawn-async": "^1.8.0",
|
|
35
35
|
"@types/jest": "^29.2.1",
|
|
36
36
|
"@types/node": "^22.14.0",
|
|
37
37
|
"@types/react": "~19.3.0",
|
|
38
|
-
"expo": "58.0.0-preview.
|
|
38
|
+
"expo": "58.0.0-preview.5",
|
|
39
39
|
"expo-module-scripts": "56.0.3",
|
|
40
40
|
"react-native": "0.88.0-rc.1",
|
|
41
41
|
"resolve-workspace-root": "^2.0.0"
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
"react": "*",
|
|
46
46
|
"react-native": "*"
|
|
47
47
|
},
|
|
48
|
-
"gitHead": "
|
|
48
|
+
"gitHead": "add8cbf49f477cfd2283ae05af35b4713a773c55",
|
|
49
49
|
"scripts": {
|
|
50
50
|
"build": "pnpm run build:lib && pnpm run build:plugin",
|
|
51
51
|
"build:lib": "expo-build src",
|