@momo-kits/native-kits 0.163.1-footer.1-debug → 0.163.1-footer.2-debug
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/compose/build.gradle.kts +1 -1
- package/compose/compose.podspec +1 -1
- package/compose/src/commonMain/kotlin/vn/momo/kits/navigation/Navigation.kt +2 -2
- package/compose/src/commonMain/kotlin/vn/momo/kits/navigation/StackScreen.kt +1 -8
- package/gradle.properties +1 -1
- package/ios/native-kits.podspec +1 -1
- package/ios-demo/MoMoUIKitsDemo.podspec +1 -1
- package/package.json +1 -1
package/compose/build.gradle.kts
CHANGED
package/compose/compose.podspec
CHANGED
|
@@ -85,8 +85,8 @@ data class NavigationOptions(
|
|
|
85
85
|
val backgroundColor: Color? = null,
|
|
86
86
|
val tintColor: Color? = null,
|
|
87
87
|
val footerComponent: @Composable (() -> Unit)? = null,
|
|
88
|
-
// Transparent footer drops the surface background + shadow
|
|
89
|
-
//
|
|
88
|
+
// Transparent footer keeps its layout slot but drops the surface background + shadow,
|
|
89
|
+
// so the screen background shows through.
|
|
90
90
|
val footerTransparent: Boolean = false,
|
|
91
91
|
val floatingButtonProps: FloatingButtonProps? = null,
|
|
92
92
|
val keyboardOptions: KeyboardOptions = KeyboardOptions()
|
|
@@ -204,14 +204,7 @@ internal fun StackScreen(
|
|
|
204
204
|
|
|
205
205
|
Column(Modifier.zIndex(2f).fillMaxSize()) {
|
|
206
206
|
MainContent(content = content, isBottomTabRoot = isBottomTabRoot, isBottomTabChild = isBottomTabChild)
|
|
207
|
-
|
|
208
|
-
}
|
|
209
|
-
|
|
210
|
-
// Transparent footer floats over the content so the content bleeds underneath it.
|
|
211
|
-
if (options.footerTransparent) {
|
|
212
|
-
Box(Modifier.zIndex(3f).align(Alignment.BottomCenter)) {
|
|
213
|
-
FooterContent()
|
|
214
|
-
}
|
|
207
|
+
FooterContent()
|
|
215
208
|
}
|
|
216
209
|
|
|
217
210
|
Box(Modifier.zIndex(6f)) {
|
package/gradle.properties
CHANGED
package/ios/native-kits.podspec
CHANGED