-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bump the project version, add 2 opt-in annotations
ExperimentalApi
…
…and `LikelyInconsistentApi`, and mark the `Modifier.wrapContent...()` modifier functions with them
- Loading branch information
Showing
4 changed files
with
26 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 changes: 8 additions & 0 deletions
8
common/src/commonMain/kotlin/com/huanshankeji/compose/ExperimentalApi.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
package com.huanshankeji.compose | ||
|
||
@RequiresOptIn( | ||
"This API is experimental. It could change in the future without notice.", | ||
RequiresOptIn.Level.WARNING | ||
) | ||
@Retention(AnnotationRetention.BINARY) | ||
annotation class ExperimentalApi |
9 changes: 9 additions & 0 deletions
9
common/src/commonMain/kotlin/com/huanshankeji/compose/LikelyInconsistentApi.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
package com.huanshankeji.compose | ||
|
||
@RequiresOptIn( | ||
"This API is likely to be inconsistent now on Compose UI and Compose HTML, which could affect the final visual effect. " + | ||
"Please verify on both kinds of targets to make sure it works as expected.", | ||
RequiresOptIn.Level.WARNING | ||
) | ||
@Retention(AnnotationRetention.BINARY) | ||
annotation class LikelyInconsistentApi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters