@momo-kits/native-kits 0.167.1-beta.8-debug → 0.167.1-beta.9-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.167.1-beta.8-debug"
43
+ version = "0.167.1-beta.9-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.167.1-beta.8-debug'
3
+ spec.version = '0.167.1-beta.9-debug'
4
4
  spec.homepage = 'https://momo.vn'
5
5
  spec.source = { :http=> ''}
6
6
  spec.authors = ''
@@ -57,6 +57,7 @@ data class ThemeAssets(
57
57
  )
58
58
 
59
59
  internal const val LEGACY_DEFAULT_FONT_FAMILY = "SFProText"
60
+ private const val NEW_DEFAULT_FONT_FAMILY = "MomoTrustSans"
60
61
 
61
62
  @Stable
62
63
  class Theme(
@@ -68,7 +69,7 @@ class Theme(
68
69
  private val designSystemFont = font
69
70
 
70
71
  val font: String
71
- get() = if (KitDesignSystem.isWhiteList) designSystemFont else LEGACY_DEFAULT_FONT_FAMILY
72
+ get() = if (KitDesignSystem.isWhiteList) NEW_DEFAULT_FONT_FAMILY else designSystemFont
72
73
 
73
74
  fun isHeaderImage(): Boolean {
74
75
  return !assets.headerBackground.isNullOrEmpty()
@@ -149,7 +150,7 @@ val defaultTheme = Theme(
149
150
  container = Colors.blue_08
150
151
  )
151
152
  ),
152
- font = "MomoTrustSans",
153
+ font = LEGACY_DEFAULT_FONT_FAMILY,
153
154
  assets = ThemeAssets(
154
155
  headerBackground = null
155
156
  )
@@ -206,7 +207,7 @@ val darkTheme = Theme(
206
207
  container = Colors.blue_08
207
208
  )
208
209
  ),
209
- font = "MomoTrustSans",
210
+ font = LEGACY_DEFAULT_FONT_FAMILY,
210
211
  assets = ThemeAssets(
211
212
  headerBackground = null
212
213
  )
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.167.1-beta.8
21
+ version=0.167.1-beta.9
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.167.1-beta.8'
3
+ s.version = '0.167.1-beta.9'
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.167.1-beta.8'
3
+ s.version = '0.167.1-beta.9'
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.167.1-beta.8-debug",
3
+ "version": "0.167.1-beta.9-debug",
4
4
  "private": false,
5
5
  "dependeNavigationncies": {},
6
6
  "devDependencies": {},