@momo-kits/native-kits 0.152.4-scale.3 → 0.152.4-scale.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.
@@ -1,5 +1,7 @@
1
1
  package vn.momo.kits.components
2
2
 
3
+ import androidx.compose.foundation.border
4
+ import androidx.compose.foundation.layout.Box
3
5
  import androidx.compose.runtime.Composable
4
6
  import androidx.compose.runtime.remember
5
7
  import androidx.compose.ui.Modifier
@@ -10,7 +12,9 @@ import androidx.compose.ui.text.style.TextAlign
10
12
  import androidx.compose.ui.text.style.TextDecoration
11
13
  import androidx.compose.ui.text.style.TextOverflow
12
14
  import androidx.compose.ui.unit.TextUnit
15
+ import androidx.compose.ui.unit.dp
13
16
  import vn.momo.kits.const.AppTheme
17
+ import vn.momo.kits.const.Colors
14
18
  import vn.momo.kits.const.Typography
15
19
  import vn.momo.kits.const.getFontFamily
16
20
  import vn.momo.kits.const.scaleSize
@@ -65,20 +69,23 @@ fun Text(
65
69
  accessibilityId ?: text
66
70
  }
67
71
 
68
- androidx.compose.material3.Text(
69
- modifier = modifier.setAutomationId(automationId, text),
70
- text = text,
71
- color = textColor,
72
- style = optimizedStyle,
73
- textAlign = textAlign,
74
- fontSize = fontSize,
75
- fontFamily = font,
76
- maxLines = maxLines,
77
- softWrap = softWrap,
78
- letterSpacing = letterSpacing,
79
- minLines = minLines,
80
- textDecoration = textDecoration,
81
- onTextLayout = onTextLayout,
82
- overflow = overflow
83
- )
72
+ Box(modifier = Modifier.border(1.dp, Colors.blue_03)) {
73
+ androidx.compose.material3.Text(
74
+ modifier = modifier.setAutomationId(automationId, text),
75
+ text = text,
76
+ color = textColor,
77
+ style = optimizedStyle,
78
+ textAlign = textAlign,
79
+ fontSize = fontSize,
80
+ fontFamily = font,
81
+ maxLines = maxLines,
82
+ softWrap = softWrap,
83
+ letterSpacing = letterSpacing,
84
+ minLines = minLines,
85
+ textDecoration = textDecoration,
86
+ onTextLayout = onTextLayout,
87
+ overflow = overflow
88
+ )
89
+ }
90
+
84
91
  }
package/local.properties CHANGED
@@ -4,5 +4,5 @@
4
4
  # Location of the SDK. This is only used by Gradle.
5
5
  # For customization when using a Version Control System, please read the
6
6
  # header note.
7
- #Wed Sep 10 18:28:25 ICT 2025
8
- sdk.dir=/Users/phuc/Library/Android/sdk
7
+ #Thu Jan 09 10:43:10 ICT 2025
8
+ sdk.dir=/Users/sophia/Library/Android/sdk
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@momo-kits/native-kits",
3
- "version": "0.152.4-scale.3",
3
+ "version": "0.152.4-scale.4",
4
4
  "private": false,
5
5
  "dependencies": {
6
6
  "@momo-platform/native-max-api": "1.0.18"