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

Commit 75be525

Browse files
adamglin0adamglin
andauthored
release: 0.0.1 (#19)
Co-authored-by: adamglin <dev@adamglin>
1 parent 03434f5 commit 75be525

File tree

4 files changed

+24
-16
lines changed

4 files changed

+24
-16
lines changed

README.md

Lines changed: 17 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,37 @@
11
# Compose Shadow
22

3-
a kotlin platform library for show drop shadow in compose.
3+
a kotlin platform library for show drop shadow in compose. This library will continue to be actively updated until the
4+
official implementation of a complete shadow in Compose.
45

56
![Maven Central Version](https://img.shields.io/maven-central/v/com.adamglin/compose-shadow)
67

78
---
89

9-
## Install
10+
## Version
1011

11-
compose-shadow supports platforms below.
12+
| compose-shadow | cmp | kotlin |
13+
|----------------|---------------|--------|
14+
| 1.0.0 | 1.7.0-rc01 | 2.0.21 |
15+
| 0.0.1 | 1.7.0-dev1743 | 2.0.0 |
1216

13-
1. [x] android
14-
2. [x] ios
15-
3. [x] desktop(jvm)
16-
17-
#### in your kotlin module
17+
## Install
1818

19-
```kotlin
19+
```kts
2020
implementation("com.adamglin:compose-shadow:$version")
2121
```
2222

23+
## Support
24+
25+
compose-shadow supports platforms below.
26+
27+
1. [x] android > 28
28+
2. [x] ios
29+
3. [x] desktop(jvm)
2330

2431
## Using
2532

2633
add dropShadow by `Modifier`.
34+
2735
```kotlin
2836
Box(
2937
Modifier

compose-shadow/build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ mavenPublishing {
7272
coordinates(
7373
groupId = "com.adamglin",
7474
artifactId = "compose-shadow",
75-
version = "0.0.2-beta05"
75+
version = "1.0.0"
7676
)
7777
pom {
7878
name.set("compose-shadow")

compose-shadow/src/commonMain/kotlin/com/adamglin/composeshadow/DropShadow.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ fun Modifier.dropShadow(
4141
offsetX: Dp = 0.dp,
4242
offsetY: Dp = 4.dp,
4343
blur: Dp = 4.dp,
44-
spread: Dp = 0.dp
44+
spread: Dp = 0.dp,
4545
): Modifier {
4646
return this then DropShadowNodeElement(shape, color, offsetX, offsetY, blur, spread)
4747
}

gradle/libs.versions.toml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
[versions]
22
#android
33
androidCompileSdk = "35"
4-
androidMinSdk = "21"
4+
androidMinSdk = "28"
55
androidTargetSdk = "35"
66
androidGradlePlugin = "8.6.1"
77
#androidx
88
androidxActivity = "1.9.2"
99
androidxAppCompat = "1.7.0"
10-
androidxMacroBenchmark = "1.3.1"
11-
androidxAnnotation = "1.9.0-beta01"
10+
androidxMacroBenchmark = "1.3.2"
11+
androidxAnnotation = "1.9.0-rc01"
1212
#kotlin
13-
kotlin = "2.0.20"
13+
kotlin = "2.0.21"
1414
#compose
15-
composeMultiplatform = "1.7.0-beta02"
15+
composeMultiplatform = "1.7.0-rc01"
1616
#other
1717
detekt = "1.23.5"
1818
dokka = "1.9.20"

0 commit comments

Comments
 (0)