Skip to content
This repository has been archived by the owner on Oct 16, 2024. It is now read-only.

Commit

Permalink
v0.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisbanes committed Jun 27, 2023
1 parent 2eef171 commit e8f6f29
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@ The [Material 3 Window size classes](https://m3.material.io/foundations/layout/a

The `androidx.compose.material3:material3-window-size-class` library is available for Jetpack Compose, but it is not currently available for Compose Multiplatform. This library changes that, by providing the [WindowSizeClass](https://developer.android.com/reference/kotlin/androidx/compose/material3/windowsizeclass/WindowSizeClass) for many of the platforms supported by Compose Multiplatform.

| Platform | Supported | Sample | Notes |
|---------------|-----------|------------|-----------|
| Android || [android-app](https://github.com/chrisbanes/material3-windowsizeclass-multiplatform/tree/main/sample/android-app) | |
| iOS || [ios-app](https://github.com/chrisbanes/material3-windowsizeclass-multiplatform/tree/main/sample/ios-app) | |
| Desktop (JVM) || [desktop-app](https://github.com/chrisbanes/material3-windowsizeclass-multiplatform/tree/main/sample/desktop-app) | It's a bit hacky 😅 |
| Web | Not yet: [#8](https://github.com/chrisbanes/material3-windowsizeclass-multiplatform/issues/8) | | |
| Platform | Supported | Sample |
|---------------|-----------|------------|
| Android || [android-app](https://github.com/chrisbanes/material3-windowsizeclass-multiplatform/tree/main/sample/android-app) |
| iOS || [ios-app](https://github.com/chrisbanes/material3-windowsizeclass-multiplatform/tree/main/sample/ios-app) |
| Desktop (JVM) || [desktop-app](https://github.com/chrisbanes/material3-windowsizeclass-multiplatform/tree/main/sample/desktop-app) |
| Web | Not yet: [#8](https://github.com/chrisbanes/material3-windowsizeclass-multiplatform/issues/8) | |

## Usage

Expand All @@ -37,7 +37,7 @@ You'll note that I have kept the package name the same as that in AndroidX. This
```kotlin
val commonMain by getting {
dependencies {
implementation("dev.chrisbanes.material3:material3-window-size-class-multiplatform:0.1.0")
implementation("dev.chrisbanes.material3:material3-window-size-class-multiplatform:0.2.0")
}
}
```
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ SONATYPE_AUTOMATIC_RELEASE=true
RELEASE_SIGNING_ENABLED=true

GROUP=dev.chrisbanes.material3
VERSION_NAME=0.2.0-SNAPSHOT
VERSION_NAME=0.2.0

POM_URL=https://github.com/chrisbanes/material3-windowsizeclass-multiplatform/
POM_SCM_URL=https://github.com/chrisbanes/material3-windowsizeclass-multiplatform/
Expand Down

0 comments on commit e8f6f29

Please sign in to comment.