@momo-kits/native-kits 0.160.17-debug → 0.160.18-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.160.17-debug"
43
+ version = "0.160.18-debug"
44
44
  summary = "IOS Shared module"
45
45
  homepage = "https://momo.vn"
46
46
  ios.deploymentTarget = "15.0"
@@ -1,6 +1,7 @@
1
1
  package vn.momo.kits.components
2
2
 
3
3
  import androidx.compose.foundation.border
4
+ import androidx.compose.foundation.text.InlineTextContent
4
5
  import androidx.compose.runtime.Composable
5
6
  import androidx.compose.runtime.remember
6
7
  import androidx.compose.ui.Modifier
@@ -37,8 +38,9 @@ fun Text(
37
38
  minLines: Int = 1,
38
39
  letterSpacing: TextUnit = TextUnit.Unspecified,
39
40
  softWrap: Boolean = true,
40
- accessibilityId: String? = null
41
- ) {
41
+ accessibilityId: String? = null,
42
+ inlineContent: Map<String, InlineTextContent> = mapOf(),
43
+ ) {
42
44
  Text(
43
45
  text = AnnotatedString(text),
44
46
  color = color,
@@ -53,7 +55,8 @@ fun Text(
53
55
  minLines = minLines,
54
56
  letterSpacing = letterSpacing,
55
57
  softWrap = softWrap,
56
- accessibilityId = accessibilityId
58
+ accessibilityId = accessibilityId,
59
+ inlineContent = inlineContent
57
60
  )
58
61
  }
59
62
 
@@ -73,7 +76,8 @@ fun Text(
73
76
  minLines: Int = 1,
74
77
  letterSpacing: TextUnit = TextUnit.Unspecified,
75
78
  softWrap: Boolean = true,
76
- accessibilityId: String? = null
79
+ accessibilityId: String? = null,
80
+ inlineContent: Map<String, InlineTextContent> = mapOf(),
77
81
  ) {
78
82
  // Cache theme access to avoid repeated lookups
79
83
  val theme = AppTheme.current
@@ -124,7 +128,8 @@ fun Text(
124
128
  minLines = minLines,
125
129
  textDecoration = textDecoration,
126
130
  onTextLayout = onTextLayout ?: {},
127
- overflow = overflow
131
+ overflow = overflow,
132
+ inlineContent = inlineContent
128
133
  )
129
134
  }
130
135
 
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.160.17
21
+ version=0.160.18
22
22
 
23
23
  repo=GitLab
24
24
  url=https://gitlab.mservice.com.vn/api/v4/projects/5400/packages/maven
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@momo-kits/native-kits",
3
- "version": "0.160.17-debug",
3
+ "version": "0.160.18-debug",
4
4
  "private": false,
5
5
  "dependencies": {},
6
6
  "devDependencies": {},