Skip to content

Commit 994189c

Browse files
authored
Merge pull request #33 from jarroyoesp/feature/resources
Feature: Add Compose Resources to Library-UI
2 parents eb770f4 + 78f45e6 commit 994189c

File tree

22 files changed

+3489
-3309
lines changed

22 files changed

+3489
-3309
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[![CI-MASTER](https://github.com/jarroyoesp/ComposeMultiplatformApp/actions/workflows/ci.yml/badge.svg?branch=master)](https://github.com/jarroyoesp/ComposeMultiplatformApp/actions/workflows/ci.yml)
2-
[![Latest release](https://img.shields.io/github/v/release/JetBrains/compose-multiplatform?color=blue&label=Compose%20multiplatform)](https://github.com/JetBrains/compose-multiplatform/releases/tag/v1.7.3)
2+
[![Latest release](https://img.shields.io/github/v/release/JetBrains/compose-multiplatform?color=blue&label=Compose%20multiplatform)](https://github.com/JetBrains/compose-multiplatform/releases/tag/v1.8.2)
33
![Kotlin Version](https://img.shields.io/badge/Kotlin-2.1.20-blue?logo=kotlin&logoColor=white)
44
<div align="center">
55
<img alt="Compose multiplatform charts" src="./screenshots/compose_multiplatform_logo.png"/>

app/versions/dependencies/debugAndroidTestRuntimeClasspathDependencies.txt

Lines changed: 301 additions & 301 deletions
Large diffs are not rendered by default.

app/versions/dependencies/debugRuntimeClasspathDependencies.txt

Lines changed: 753 additions & 752 deletions
Large diffs are not rendered by default.

app/versions/dependencies/debugUnitTestRuntimeClasspathDependencies.txt

Lines changed: 755 additions & 754 deletions
Large diffs are not rendered by default.

app/versions/dependencies/releaseRuntimeClasspathDependencies.txt

Lines changed: 734 additions & 733 deletions
Large diffs are not rendered by default.

app/versions/dependencies/releaseUnitTestRuntimeClasspathDependencies.txt

Lines changed: 736 additions & 735 deletions
Large diffs are not rendered by default.
0 Bytes
Binary file not shown.

gradle/libs.versions.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,21 +5,21 @@
55
aboutlibraries = "11.4.0"
66
agp = "8.1.4"
77
androidCompileSdk = "34"
8-
androidx-compose = "1.8.2"
8+
androidx-compose = "1.8.3"
99
apollo = "4.3.0"
1010
coil3 = "3.0.4"
1111
coroutines = "1.10.1"
1212
detekt = "1.23.7"
1313
diktat = "1.2.5"
1414
gitlive = "2.1.0"
1515
gradle = "8.1.1"
16-
jetbrains-lifecycle = "2.9.0-beta01"
17-
jetbrains-navigation = "2.9.0-beta01"
16+
jetbrains-lifecycle = "2.9.1"
17+
jetbrains-navigation = "2.9.0-beta03"
1818
koin = "4.0.0"
1919
koin-ksp = "1.4.0"
2020
kotlin = "2.1.21"
2121
kotlinpoet = "2.0.0"
22-
kotlin-multiplatform = "1.8.0"
22+
kotlin-multiplatform = "1.8.2"
2323
kotlin-result = "2.0.1"
2424
kotlinx-datetime="0.6.0"
2525
ksp = "2.1.21-2.0.1"
Binary file not shown.

modules/feature-electricity/src/commonMain/kotlin/com/jarroyo/feature/electricity/ui/ElectricityContract.kt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,18 @@ import com.jarroyo.library.network.di.ElectricityData
44
import com.jarroyo.library.ui.shared.ViewEffect
55
import com.jarroyo.library.ui.shared.ViewEvent
66
import com.jarroyo.library.ui.shared.ViewState
7+
import com.kizitonwose.calendar.core.now
8+
import kotlinx.datetime.LocalDate
79

810
object ElectricityContract {
911
data class State(
12+
val dateSelected: LocalDate = LocalDate.now(),
1013
val electricityData: ElectricityData? = null,
1114
val loading: Boolean = false,
1215
) : ViewState
1316

1417
sealed class Event : ViewEvent {
18+
data class OnDateInputChipSelected(val localDate: LocalDate): Event()
1519
data object OnUpButtonClicked: Event()
1620
data object OnSwipeToRefresh: Event()
1721
}

0 commit comments

Comments
 (0)