@momo-kits/native-kits 0.169.15-beta.3-debug → 0.169.15-beta.4-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.169.15-beta.3-debug"
43
+ version = "0.169.15-beta.4-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.169.15-beta.3-debug'
3
+ spec.version = '0.169.15-beta.4-debug'
4
4
  spec.homepage = 'https://momo.vn'
5
5
  spec.source = { :http=> ''}
6
6
  spec.authors = ''
@@ -86,7 +86,8 @@ fun BottomTab(
86
86
  backToInitialTab: Boolean = true,
87
87
  // phone only: the pre-redesign docked bar (64dp, top indicator, curved center button) and its content
88
88
  // inset; floatingTabBarContentPadding() is then 0 and content keeps reserving the bar. Duo is unchanged.
89
- useLegacy: Boolean = false,
89
+ // On by default until the redesign rolls out; pass false for the floating bar.
90
+ useLegacy: Boolean = true,
90
91
  ) {
91
92
  val navigation = LocalNavigation.current
92
93
  val navigator = LocalNavigator.current
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.169.15-beta.3
21
+ version=0.169.15-beta.4
22
22
 
23
23
  repo=GitLab
24
24
  url=https://artifacts.mservice.com.vn/repository/maven-momo-app/
@@ -28,6 +28,7 @@ public struct BottomTab: View {
28
28
  /// `compressionBehavior`: iPhone Duo bar that starts compressed when the side bar can't hold both (a tap swaps).
29
29
  /// `onTabPress` gets the switch to run, e.g. after a login gate. `backToInitialTab`: back goes to it first.
30
30
  /// `useLegacy`: the pre-redesign phone bar (full width, content kept above it; edge to edge ignored).
31
+ /// On by default until the redesign rolls out; pass false for the floating bar.
31
32
  public init(
32
33
  items: [BottomTabItem],
33
34
  floatingButton: BottomTabFloatingButton? = nil,
@@ -35,7 +36,7 @@ public struct BottomTab: View {
35
36
  initialRouteName: String? = nil,
36
37
  onTabPress: ((_ index: Int, _ switchTab: @escaping () -> Void) -> Void)? = nil,
37
38
  backToInitialTab: Bool = true,
38
- useLegacy: Bool = false
39
+ useLegacy: Bool = true
39
40
  ) {
40
41
  self.items = items
41
42
  self.floatingButton = floatingButton
@@ -1,6 +1,6 @@
1
1
  Pod::Spec.new do |s|
2
2
  s.name = 'MoMoUIKits'
3
- s.version = '0.169.15-beta.3'
3
+ s.version = '0.169.15-beta.4'
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.169.15-beta.3'
3
+ s.version = '0.169.15-beta.4'
4
4
  s.summary = 'Demo browser for MoMoUIKits SwiftUI components'
5
5
  s.homepage = 'https://momo.vn'
6
6
  s.license = { :type => 'MIT' }
@@ -38,7 +38,7 @@ private struct DemoConfig: Hashable {
38
38
  var ctaLottie = false
39
39
  var initialRouteName = "Momo"
40
40
  var compressionBehavior: DuoBarCompressionBehavior = .toolbar
41
- var useLegacy = false
41
+ var useLegacy = true
42
42
  var backToInitialTab = true
43
43
  // a sticky footer in the tab's content body, to check it clears the floating bar
44
44
  var footer = false
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@momo-kits/native-kits",
3
- "version": "0.169.15-beta.3-debug",
3
+ "version": "0.169.15-beta.4-debug",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "publish:local": "bash publish.sh local"