@momo-kits/native-kits 0.154.1-beta.2 → 0.154.1-beta.3

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.
@@ -74,24 +74,22 @@ fun Text(
74
74
  // on/off baseline config value, default will be false
75
75
  val isBaselineViewEnabled = true
76
76
 
77
- Box(modifier = Modifier.conditional(isBaselineViewEnabled){
78
- border(1.dp, Colors.blue_03)
79
- }) {
80
- androidx.compose.material3.Text(
81
- modifier = modifier.setAutomationId(automationId, text),
82
- text = text,
83
- color = textColor,
84
- style = optimizedStyle,
85
- textAlign = textAlign,
86
- fontSize = fontSize,
87
- fontFamily = font,
88
- maxLines = maxLines,
89
- softWrap = softWrap,
90
- letterSpacing = letterSpacing,
91
- minLines = minLines,
92
- textDecoration = textDecoration,
93
- onTextLayout = onTextLayout,
94
- overflow = overflow
95
- )
96
- }
77
+ androidx.compose.material3.Text(
78
+ modifier = modifier.conditional(isBaselineViewEnabled){
79
+ border(1.dp, Colors.blue_03)
80
+ }.setAutomationId(automationId, text),
81
+ text = text,
82
+ color = textColor,
83
+ style = optimizedStyle,
84
+ textAlign = textAlign,
85
+ fontSize = fontSize,
86
+ fontFamily = font,
87
+ maxLines = maxLines,
88
+ softWrap = softWrap,
89
+ letterSpacing = letterSpacing,
90
+ minLines = minLines,
91
+ textDecoration = textDecoration,
92
+ onTextLayout = onTextLayout,
93
+ overflow = overflow
94
+ )
97
95
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@momo-kits/native-kits",
3
- "version": "0.154.1-beta.2",
3
+ "version": "0.154.1-beta.3",
4
4
  "private": false,
5
5
  "dependencies": {
6
6
  "@momo-platform/native-max-api": "1.0.18"