@momo-kits/native-kits 0.164.1-trustsans-test.2-debug → 0.164.1-trustsans-test.3-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/application/LiteScreen.kt +2 -0
- package/compose/src/commonMain/kotlin/vn/momo/kits/navigation/component/HeaderTitle.kt +3 -0
- package/compose/src/commonMain/kotlin/vn/momo/kits/navigation/component/HeaderUser.kt +1 -0
- 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
|
@@ -44,6 +44,7 @@ import vn.momo.kits.const.getFontFamily
|
|
|
44
44
|
import vn.momo.kits.modifier.kitsAutomationId
|
|
45
45
|
import vn.momo.kits.modifier.noFeedbackClickable
|
|
46
46
|
import vn.momo.kits.modifier.setAutomationId
|
|
47
|
+
import vn.momo.kits.navigation.component.HEADER_FONT_FAMILY
|
|
47
48
|
import vn.momo.kits.navigation.component.HEADER_HEIGHT
|
|
48
49
|
import vn.momo.kits.utils.getAppStatusBarHeight
|
|
49
50
|
import kotlin.math.max
|
|
@@ -361,6 +362,7 @@ private fun LiteScreenLayout(
|
|
|
361
362
|
text = title,
|
|
362
363
|
color = headerColor.tintIconColor,
|
|
363
364
|
style = titleStyle,
|
|
365
|
+
fontFamily = HEADER_FONT_FAMILY,
|
|
364
366
|
modifier = titleModifier,
|
|
365
367
|
maxLines = 1,
|
|
366
368
|
overflow = TextOverflow.Ellipsis
|
|
@@ -12,6 +12,8 @@ import vn.momo.kits.components.Text
|
|
|
12
12
|
import vn.momo.kits.const.Typography
|
|
13
13
|
import vn.momo.kits.modifier.setAutomationId
|
|
14
14
|
|
|
15
|
+
internal const val HEADER_FONT_FAMILY = "MoMoTrustDisplay"
|
|
16
|
+
|
|
15
17
|
@Composable
|
|
16
18
|
internal fun HeaderTitle(
|
|
17
19
|
title: String = "",
|
|
@@ -27,6 +29,7 @@ internal fun HeaderTitle(
|
|
|
27
29
|
fontSize = 15.sp,
|
|
28
30
|
lineHeight = 22.sp,
|
|
29
31
|
),
|
|
32
|
+
fontFamily = HEADER_FONT_FAMILY,
|
|
30
33
|
color = color,
|
|
31
34
|
maxLines = 1,
|
|
32
35
|
overflow = TextOverflow.Ellipsis
|
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.164.1-trustsans-test.
|
|
21
|
+
version=0.164.1-trustsans-test.3
|
|
22
22
|
|
|
23
23
|
repo=GitLab
|
|
24
24
|
url=https://gitlab.mservice.com.vn/api/v4/projects/5400/packages/maven
|
package/ios/native-kits.podspec
CHANGED