@momo-kits/native-kits 0.160.1-search-animation.7-debug → 0.160.1-search-animation.8-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
CHANGED
|
@@ -349,25 +349,25 @@ private fun LiteScreenLayout(
|
|
|
349
349
|
}
|
|
350
350
|
|
|
351
351
|
if (!isHeaderNone && onGoBack != null) {
|
|
352
|
-
|
|
352
|
+
val coreModifier = Modifier
|
|
353
|
+
.layoutId(HeaderId.BACK_ID)
|
|
354
|
+
.then(animationOpacityModifier)
|
|
355
|
+
.clip(CircleShape)
|
|
356
|
+
.noFeedbackClickable(onClick = onGoBack)
|
|
357
|
+
.setAutomationId("btn_navigation_back")
|
|
358
|
+
inputSearchProps?.customBackIcon?.invoke(coreModifier) ?: Box(
|
|
353
359
|
modifier = Modifier
|
|
354
360
|
.size(28.dp)
|
|
355
|
-
.
|
|
356
|
-
.
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
shape = CircleShape,
|
|
363
|
-
)
|
|
364
|
-
.background(color = headerColor.backgroundButton)
|
|
365
|
-
}
|
|
366
|
-
.noFeedbackClickable(onClick = onGoBack)
|
|
367
|
-
.setAutomationId("btn_navigation_back")
|
|
361
|
+
.then(coreModifier)
|
|
362
|
+
.border(
|
|
363
|
+
width = 0.2.dp,
|
|
364
|
+
color = headerColor.borderColor,
|
|
365
|
+
shape = CircleShape,
|
|
366
|
+
)
|
|
367
|
+
.background(color = headerColor.backgroundButton)
|
|
368
368
|
.padding(Spacing.XS),
|
|
369
369
|
) {
|
|
370
|
-
|
|
370
|
+
Icon(
|
|
371
371
|
source = "arrow-back",
|
|
372
372
|
color = headerColor.tintIconColor,
|
|
373
373
|
size = 20.dp,
|
|
@@ -708,7 +708,7 @@ data class LiteInputSearchProps(
|
|
|
708
708
|
val placeHolder: String? = null,
|
|
709
709
|
|
|
710
710
|
val cursorBrush: Brush? = null,
|
|
711
|
-
val customBackIcon: @Composable (() -> Unit)? = null,
|
|
711
|
+
val customBackIcon: @Composable ((Modifier) -> Unit)? = null,
|
|
712
712
|
val customSearchIcon: @Composable (() -> Unit)? = null,
|
|
713
713
|
val customPlaceHolder: @Composable (() -> Unit)? = null,
|
|
714
714
|
val customTextStyle: TextStyle? = null,
|
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.1-search-animation.
|
|
21
|
+
version=0.160.1-search-animation.8
|
|
22
22
|
|
|
23
23
|
repo=GitLab
|
|
24
24
|
url=https://gitlab.mservice.com.vn/api/v4/projects/5400/packages/maven
|