one 2.0.0-beta.147.1 → 2.0.0-beta.148.1
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.
|
@@ -1836,7 +1836,12 @@ private fun OneNativeMaterialTheme(content: @Composable () -> Unit) {
|
|
|
1836
1836
|
if (dark) darkColorScheme() else lightColorScheme()
|
|
1837
1837
|
}
|
|
1838
1838
|
}
|
|
1839
|
-
MaterialTheme(colorScheme = colorScheme
|
|
1839
|
+
MaterialTheme(colorScheme = colorScheme) {
|
|
1840
|
+
androidx.compose.runtime.CompositionLocalProvider(
|
|
1841
|
+
LocalContentColor provides colorScheme.onSurface,
|
|
1842
|
+
content = content,
|
|
1843
|
+
)
|
|
1844
|
+
}
|
|
1840
1845
|
}
|
|
1841
1846
|
|
|
1842
1847
|
@Composable
|
|
@@ -2143,7 +2148,7 @@ private fun RenderComposeSwitch(
|
|
|
2143
2148
|
) {
|
|
2144
2149
|
val enabled = !props.disabled && node.isEnabled
|
|
2145
2150
|
val overrides = props.switchColors
|
|
2146
|
-
val colors = SwitchDefaults.colors(
|
|
2151
|
+
val colors = SwitchDefaults.colors().copy(
|
|
2147
2152
|
checkedThumbColor = overrides.checkedThumbColor?.let(::Color) ?: Color.Unspecified,
|
|
2148
2153
|
checkedTrackColor = overrides.checkedTrackColor?.let(::Color) ?: Color.Unspecified,
|
|
2149
2154
|
checkedBorderColor = overrides.checkedBorderColor?.let(::Color) ?: Color.Unspecified,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "one",
|
|
3
|
-
"version": "2.0.0-beta.
|
|
3
|
+
"version": "2.0.0-beta.148.1",
|
|
4
4
|
"description": "One is a React framework for web, iOS, and Android apps.",
|
|
5
5
|
"license": "BSD-3-Clause",
|
|
6
6
|
"sideEffects": [
|
|
@@ -209,18 +209,18 @@
|
|
|
209
209
|
"@react-navigation/native-stack": "8.0.0-alpha.52",
|
|
210
210
|
"@react-navigation/routers": "8.0.0-alpha.17",
|
|
211
211
|
"@ungap/structured-clone": "^1.2.0",
|
|
212
|
-
"@vxrn/color-scheme": "2.0.0-beta.
|
|
213
|
-
"@vxrn/compiler": "2.0.0-beta.
|
|
214
|
-
"@vxrn/resolve": "2.0.0-beta.
|
|
215
|
-
"@vxrn/tslib-lite": "2.0.0-beta.
|
|
216
|
-
"@vxrn/use-isomorphic-layout-effect": "2.0.0-beta.
|
|
217
|
-
"@vxrn/utils": "2.0.0-beta.
|
|
218
|
-
"@vxrn/vite-plugin-metro": "2.0.0-beta.
|
|
212
|
+
"@vxrn/color-scheme": "2.0.0-beta.148.1",
|
|
213
|
+
"@vxrn/compiler": "2.0.0-beta.148.1",
|
|
214
|
+
"@vxrn/resolve": "2.0.0-beta.148.1",
|
|
215
|
+
"@vxrn/tslib-lite": "2.0.0-beta.148.1",
|
|
216
|
+
"@vxrn/use-isomorphic-layout-effect": "2.0.0-beta.148.1",
|
|
217
|
+
"@vxrn/utils": "2.0.0-beta.148.1",
|
|
218
|
+
"@vxrn/vite-plugin-metro": "2.0.0-beta.148.1",
|
|
219
219
|
"babel-dead-code-elimination": "1.0.10",
|
|
220
220
|
"babel-plugin-module-resolver": "^5.0.2",
|
|
221
221
|
"citty": "^0.1.6",
|
|
222
222
|
"core-js": "^3.38.1",
|
|
223
|
-
"create-vxrn": "2.0.0-beta.
|
|
223
|
+
"create-vxrn": "2.0.0-beta.148.1",
|
|
224
224
|
"escape-string-regexp": "^5.0.0",
|
|
225
225
|
"fast-deep-equal": "^3.1.3",
|
|
226
226
|
"fast-glob": "^3.3.3",
|
|
@@ -242,7 +242,7 @@
|
|
|
242
242
|
"tsconfig-paths": "^4",
|
|
243
243
|
"use-latest-callback": "^0.2.3",
|
|
244
244
|
"vite": "^8.2.2",
|
|
245
|
-
"vxrn": "2.0.0-beta.
|
|
245
|
+
"vxrn": "2.0.0-beta.148.1",
|
|
246
246
|
"web-streams-polyfill": "^4.3.0",
|
|
247
247
|
"ws": "^8.21.0",
|
|
248
248
|
"xxhashjs": "^0.2.2"
|