diff --git a/README.md b/README.md index 06552c8..b01343e 100644 --- a/README.md +++ b/README.md @@ -97,7 +97,7 @@ Step 2. Add the dependency - n.b. this currently does not support Material 3. ```kotlin dependencies { - implementation("androidx.compose.material:material:1.5.4") + implementation("androidx.compose.material:material:1.6.0") implementation("com.github.jump-sdk:jetpack_compose_country_code_picker_emoji:2.2.6") } ``` diff --git a/ccp/src/main/java/com/togitech/ccp/component/TogiCountryCodePicker.kt b/ccp/src/main/java/com/togitech/ccp/component/TogiCountryCodePicker.kt index bc0f665..b785a7c 100644 --- a/ccp/src/main/java/com/togitech/ccp/component/TogiCountryCodePicker.kt +++ b/ccp/src/main/java/com/togitech/ccp/component/TogiCountryCodePicker.kt @@ -3,6 +3,7 @@ package com.togitech.ccp.component import android.content.Context import android.util.Log import androidx.compose.foundation.focusable +import androidx.compose.foundation.interaction.MutableInteractionSource import androidx.compose.foundation.layout.fillMaxWidth import androidx.compose.foundation.shape.RoundedCornerShape import androidx.compose.foundation.text.KeyboardActions @@ -301,7 +302,11 @@ private fun ClearIconButton( Icon( imageVector = imageVector, contentDescription = stringResource(id = R.string.clear), - tint = colors.trailingIconColor(enabled = true, isError = !isNumberValid).value, + tint = colors.trailingIconColor( + enabled = true, + isError = !isNumberValid, + interactionSource = remember { MutableInteractionSource() }, + ).value, ) } diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index 8d0f3db..3b50754 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -1,5 +1,5 @@ [versions] -kotlin = "1.9.20" +kotlin = "1.9.22" dokka = "1.9.10" ## SDK Versions @@ -8,30 +8,30 @@ targetSdk = "34" compileSdk = "34" # Dependencies -android-gradle-plugin = "8.2.0-rc03" +android-gradle-plugin = "8.2.2" gradle-versions = "0.50.0" detekt = "1.23.3" -accompanist = "0.32.0" -androidx-activity-compose = "1.8.1" +accompanist = "0.34.0" +androidx-activity-compose = "1.8.2" androidx-core = "1.12.0" -androidx-lifecycle = "2.7.0-rc01" +androidx-lifecycle = "2.7.0" androidx-test-junit = "1.1.5" # update version in README when changing below -compose = "1.5.4" +compose = "1.6.0" # https://androidx.dev/storage/compose-compiler/repository/ # https://developer.android.com/jetpack/androidx/releases/compose-compiler -composeCompiler = "1.5.4" +composeCompiler = "1.5.8" kotlinx-coroutines = "1.7.3" -kotlinx-collections-immutable = "0.3.6" +kotlinx-collections-immutable = "0.3.7" -libphonenumber = "8.13.25" +libphonenumber = "8.13.28" junit = "4.13.2" robolectric = "4.11.1" -paparazzi = "1.3.2-SNAPSHOT" +paparazzi = "1.3.1" [libraries] accompanist-systemuicontroller = { module = "com.google.accompanist:accompanist-systemuicontroller", version.ref = "accompanist" }