@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.
@@ -40,7 +40,7 @@ kotlin {
40
40
  }
41
41
 
42
42
  cocoapods {
43
- version = "0.163.1-footer.1-debug"
43
+ version = "0.163.1-footer.2-debug"
44
44
  summary = "IOS Shared module"
45
45
  homepage = "https://momo.vn"
46
46
  ios.deploymentTarget = "15.0"
@@ -1,6 +1,6 @@
1
1
  Pod::Spec.new do |spec|
2
2
  spec.name = 'compose'
3
- spec.version = '0.163.1-footer.1-debug'
3
+ spec.version = '0.163.1-footer.2-debug'
4
4
  spec.homepage = 'https://momo.vn'
5
5
  spec.source = { :http=> ''}
6
6
  spec.authors = ''
@@ -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 and floats over the content
89
- // instead of taking a layout slot, so the content scrolls underneath it.
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
- if (!options.footerTransparent) FooterContent()
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
@@ -18,7 +18,7 @@ kotlin.apple.xcodeCompatibility.nowarn=true
18
18
  name="ComposeKits"
19
19
  group=vn.momo.kits
20
20
  artifact.id=kits
21
- version=0.163.1-footer.1
21
+ version=0.163.1-footer.2
22
22
 
23
23
  repo=GitLab
24
24
  url=https://gitlab.mservice.com.vn/api/v4/projects/5400/packages/maven
@@ -1,6 +1,6 @@
1
1
  Pod::Spec.new do |s|
2
2
  s.name = 'MoMoUIKits'
3
- s.version = '0.163.1-footer.1'
3
+ s.version = '0.163.1-footer.2'
4
4
  s.summary = 'MoMoUIKits for iOS'
5
5
  s.homepage = 'https://momo.vn'
6
6
  s.license = { :type => 'MIT' }
@@ -1,6 +1,6 @@
1
1
  Pod::Spec.new do |s|
2
2
  s.name = 'MoMoUIKitsDemo'
3
- s.version = '0.163.1-footer.1'
3
+ s.version = '0.163.1-footer.2'
4
4
  s.summary = 'Demo browser for MoMoUIKits SwiftUI components'
5
5
  s.homepage = 'https://momo.vn'
6
6
  s.license = { :type => 'MIT' }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@momo-kits/native-kits",
3
- "version": "0.163.1-footer.1-debug",
3
+ "version": "0.163.1-footer.2-debug",
4
4
  "private": false,
5
5
  "dependencies": {},
6
6
  "devDependencies": {},