Skip to content

Commit ef3ab67

Browse files
committed
Merge branch 'main' into release
v0.1.2 release
2 parents 1ebbaf9 + c067c1d commit ef3ab67

File tree

11 files changed

+371
-331
lines changed

11 files changed

+371
-331
lines changed

README.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,12 @@
33
[![Maven Central](https://img.shields.io/maven-central/v/com.huanshankeji/compose-multiplatform-material)](https://search.maven.org/artifact/com.huanshankeji/compose-multiplatform-material)
44
![Kotlin version](https://kotlin-version.aws.icerock.dev/kotlin-version?group=com.huanshankeji&name=compose-multiplatform-material)
55

6-
Some simple Compose Multiplatform wrappers of common components, layouts, and Material Design components for
7-
desktop/Android and web (mainly based on [KMDC](https://github.com/mpetuska/kmdc))
6+
Some simple Compose Multiplatform wrappers of common components, layouts, and Material Design components for Android/desktop/iOS (those in `androidx.compose.material`) and Compose HTML (mainly based on [KMDC](https://github.com/mpetuska/kmdc))
87

98
We try to make the function types of the composable components follow those of the desktop and Android ones
10-
in `androidx.compose.foundation` and `androidx.compose.material`, meanwhile being compatible with the Web APIs. However,
9+
in `androidx.compose.foundation` and `androidx.compose.material`, meanwhile being compatible with the Compose HTML APIs. However,
1110
only subsets of the composables and composable arguments are supported due to the API differences, limitations of the
12-
web composables this project depends on, and our limited effort.
11+
Compose HTML composables this project depends on, and our limited effort.
1312

1413
Visual consistency across different platforms is not guaranteed.
1514

buildSrc/build.gradle.kts

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,7 @@ repositories {
1010
}
1111

1212
dependencies {
13-
implementation(kotlin("gradle-plugin", "1.8.10"))
14-
implementation("org.jetbrains.compose:compose-gradle-plugin:1.3.1")
15-
implementation("com.huanshankeji.team:gradle-plugins:0.4.0") {
16-
exclude("org.jetbrains.kotlin")
17-
}
13+
implementation(kotlin("gradle-plugin", "1.9.23"))
14+
implementation("org.jetbrains.compose:compose-gradle-plugin:1.6.1")
15+
implementation("com.huanshankeji.team:gradle-plugins:0.5.1")
1816
}
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
object DependencyVersions {
2-
val huanshankejiComposeWeb = "0.2.1"
3-
val kmdc = "0.1.0"
2+
val huanshankejiComposeWeb = "0.2.2"
3+
val kmdc = "0.1.2"
44
}

buildSrc/src/main/kotlin/lib-conventions.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@ plugins {
66
}
77

88
group = "com.huanshankeji"
9-
version = "0.1.1"
9+
version = "0.1.2"

compose-multiplatform-common/build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ kotlin {
2020
}
2121
named("jsMain") {
2222
dependencies {
23-
implementation(compose.web.core)
23+
implementation(compose.html.core)
2424

2525
api("com.huanshankeji:compose-web-common:${DependencyVersions.huanshankejiComposeWeb}")
2626
}

demo/build.gradle.kts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@ kotlin {
2626
}
2727
named("jsMain") {
2828
dependencies {
29+
implementation(compose.html.core)
30+
2931
// copied from https://github.com/mpetuska/kmdc
3032

3133
// SCSS dependencies

gradle/wrapper/gradle-wrapper.jar

-17.7 KB
Binary file not shown.
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-8.0.2-all.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.6-all.zip
44
networkTimeout=10000
5+
validateDistributionUrl=true
56
zipStoreBase=GRADLE_USER_HOME
67
zipStorePath=wrapper/dists

gradlew

Lines changed: 17 additions & 12 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

gradlew.bat

Lines changed: 10 additions & 10 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)