Skip to content
This repository was archived by the owner on Sep 8, 2025. It is now read-only.

Commit dc943be

Browse files
committed
up version
1 parent b52d93b commit dc943be

File tree

2 files changed

+14
-3
lines changed

2 files changed

+14
-3
lines changed

README.md

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,13 @@ This is a Kotlin MultiPlatform library that provides declarative UI and applicat
66
in common code. You can implement full application for Android and iOS only from common code with it.
77

88
## Sample Screen
9+
910
|Android|iOS|
1011
|---|---|
1112
|![Sample Android](https://user-images.githubusercontent.com/5010169/70204616-d0bd1b00-1753-11ea-95d1-749341631ba7.png)|![Sample iOS](https://user-images.githubusercontent.com/5010169/70204576-aff4c580-1753-11ea-95b9-14e488edb689.png)|
13+
1214
Code of screen structure:
15+
1316
```kotlin
1417
class LoginScreen(
1518
private val theme: Theme,
@@ -206,7 +209,15 @@ allprojects {
206209
project build.gradle
207210
```groovy
208211
dependencies {
209-
classpath("dev.icerock.moko:widgets:0.1.0")
212+
commonMainApi("dev.icerock.moko:widgets:0.2.1")
213+
214+
commonMainApi("dev.icerock.moko:widgets-bottomsheet:0.2.1") // show bottom sheets
215+
commonMainApi("dev.icerock.moko:widgets-collection:0.2.1") // collection widget
216+
commonMainApi("dev.icerock.moko:widgets-datetime-picker:0.2.1") // show datepicker
217+
commonMainApi("dev.icerock.moko:widgets-image-network:0.2.1") // images with load from url
218+
commonMainApi("dev.icerock.moko:widgets-sms:0.2.1") // input with sms autofill
219+
commonMainApi("dev.icerock.moko:widgets-media:0.2.1") // moko-media integration
220+
commonMainApi("dev.icerock.moko:widgets-permissions:0.2.1") // moko-permissions integration
210221
}
211222
```
212223

@@ -219,7 +230,7 @@ buildscript {
219230
}
220231
221232
dependencies {
222-
classpath "dev.icerock.moko.widgets:gradle-plugin:0.1.0"
233+
classpath "dev.icerock.moko.widgets:gradle-plugin:0.2.1"
223234
}
224235
}
225236
```

gradle/libs.versions.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[versions]
22
kotlinVersion = "1.8.10"
33

4-
mokoWidgetsVersion = "0.2.0"
4+
mokoWidgetsVersion = "0.2.1"
55
mokoResourcesVersion = "0.21.2"
66
mokoMvvmVersion = "0.16.0"
77
mokoFieldsVersion = "0.12.0"

0 commit comments

Comments
 (0)