@momo-kits/native-kits 0.169.15-beta.3 → 0.169.15-beta.4

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.
@@ -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",
3
+ "version": "0.169.15-beta.4",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "publish:local": "bash publish.sh local"