Skip to content

Commit

Permalink
Merge branch 'igor.demin/revert-material3-to-stable' into jb-main
Browse files Browse the repository at this point in the history
  • Loading branch information
igordmn committed Feb 25, 2025
2 parents 84e7b9b + 2586585 commit dedd291
Show file tree
Hide file tree
Showing 521 changed files with 17,569 additions and 60,049 deletions.
3 changes: 0 additions & 3 deletions compose/material3/material3/api/1.3.0-beta03.txt
Original file line number Diff line number Diff line change
Expand Up @@ -693,9 +693,6 @@ package androidx.compose.material3 {
@SuppressCompatibility @kotlin.RequiresOptIn(message="This material API is experimental and is likely to change or to be removed in" + " the future.") @kotlin.annotation.Retention(kotlin.annotation.AnnotationRetention.BINARY) public @interface ExperimentalMaterial3Api {
}

@SuppressCompatibility @kotlin.RequiresOptIn(message="This material3 API is experimental and is likely to change or to be removed in the" + " future.") @kotlin.annotation.Retention(kotlin.annotation.AnnotationRetention.BINARY) public @interface ExperimentalMaterial3ExpressiveApi {
}

@SuppressCompatibility @androidx.compose.material3.ExperimentalMaterial3Api public abstract sealed class ExposedDropdownMenuBoxScope {
method @androidx.compose.runtime.Composable public final void ExposedDropdownMenu(boolean expanded, kotlin.jvm.functions.Function0<kotlin.Unit> onDismissRequest, optional androidx.compose.ui.Modifier modifier, optional androidx.compose.foundation.ScrollState scrollState, optional boolean matchTextFieldWidth, optional androidx.compose.ui.graphics.Shape shape, optional long containerColor, optional float tonalElevation, optional float shadowElevation, optional androidx.compose.foundation.BorderStroke? border, kotlin.jvm.functions.Function1<? super androidx.compose.foundation.layout.ColumnScope,kotlin.Unit> content);
method @Deprecated @androidx.compose.runtime.Composable public final void ExposedDropdownMenu(boolean expanded, kotlin.jvm.functions.Function0<kotlin.Unit> onDismissRequest, optional androidx.compose.ui.Modifier modifier, optional androidx.compose.foundation.ScrollState scrollState, optional boolean focusable, optional boolean matchTextFieldWidth, optional androidx.compose.ui.graphics.Shape shape, optional long containerColor, optional float tonalElevation, optional float shadowElevation, optional androidx.compose.foundation.BorderStroke? border, kotlin.jvm.functions.Function1<? super androidx.compose.foundation.layout.ColumnScope,kotlin.Unit> content);
Expand Down
2,248 changes: 2,248 additions & 0 deletions compose/material3/material3/api/1.3.0-beta04.txt

Large diffs are not rendered by default.

2,248 changes: 2,248 additions & 0 deletions compose/material3/material3/api/1.3.0-beta05.txt

Large diffs are not rendered by default.

10 changes: 8 additions & 2 deletions compose/material3/material3/api/api_lint.ignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,14 @@ AutoBoxing: androidx.compose.material3.DatePickerState#setSelectedDateMillis(Lon
Must avoid boxed primitives (`java.lang.Long`)


GetterSetterNames: androidx.compose.material3.ModalBottomSheetProperties#getShouldDismissOnBackPress():
Getter for boolean property `shouldDismissOnBackPress` is named `getShouldDismissOnBackPress` but should match the property name. Use `@get:JvmName` to rename.
ExecutorRegistration: androidx.compose.material3.TextDefaults#Clickable(String, androidx.compose.ui.text.SpanStyle, androidx.compose.ui.text.SpanStyle, androidx.compose.ui.text.SpanStyle, androidx.compose.ui.text.LinkInteractionListener):
Registration methods should have overload that accepts delivery Executor: `Clickable`
ExecutorRegistration: androidx.compose.material3.TextDefaults#Url(String, androidx.compose.ui.text.SpanStyle, androidx.compose.ui.text.SpanStyle, androidx.compose.ui.text.SpanStyle, androidx.compose.ui.text.LinkInteractionListener):
Registration methods should have overload that accepts delivery Executor: `Url`
ExecutorRegistration: androidx.compose.material3.TextDefaults#fromHtml(String, androidx.compose.ui.text.SpanStyle, androidx.compose.ui.text.SpanStyle, androidx.compose.ui.text.SpanStyle, androidx.compose.ui.text.LinkInteractionListener):
Registration methods should have overload that accepts delivery Executor: `fromHtml`


GetterSetterNames: androidx.compose.material3.SheetState#getHasExpandedState():
Getter for boolean property `hasExpandedState` is named `getHasExpandedState` but should match the property name. Use `@get:JvmName` to rename.
GetterSetterNames: androidx.compose.material3.SheetState#getHasPartiallyExpandedState():
Expand Down
8 changes: 2 additions & 6 deletions compose/material3/material3/api/current.ignore
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
// Baseline format: 1.0
RemovedClass: androidx.compose.material3.ExposedDropdownMenu_androidKt:
Removed class androidx.compose.material3.ExposedDropdownMenu_androidKt
RemovedClass: androidx.compose.material3.MenuAnchorType:
Removed class androidx.compose.material3.MenuAnchorType
RemovedClass: androidx.compose.material3.SearchBar_androidKt:
Removed class androidx.compose.material3.SearchBar_androidKt
AddedClass: androidx.compose.material3.ModalBottomSheetKt:
Added class androidx.compose.material3.ModalBottomSheetKt
1,222 changes: 79 additions & 1,143 deletions compose/material3/material3/api/current.txt

Large diffs are not rendered by default.

1,051 changes: 68 additions & 983 deletions compose/material3/material3/api/desktop/material3.api

Large diffs are not rendered by default.

Empty file.
Empty file.
3 changes: 0 additions & 3 deletions compose/material3/material3/api/restricted_1.3.0-beta03.txt
Original file line number Diff line number Diff line change
Expand Up @@ -693,9 +693,6 @@ package androidx.compose.material3 {
@SuppressCompatibility @kotlin.RequiresOptIn(message="This material API is experimental and is likely to change or to be removed in" + " the future.") @kotlin.annotation.Retention(kotlin.annotation.AnnotationRetention.BINARY) public @interface ExperimentalMaterial3Api {
}

@SuppressCompatibility @kotlin.RequiresOptIn(message="This material3 API is experimental and is likely to change or to be removed in the" + " future.") @kotlin.annotation.Retention(kotlin.annotation.AnnotationRetention.BINARY) public @interface ExperimentalMaterial3ExpressiveApi {
}

@SuppressCompatibility @androidx.compose.material3.ExperimentalMaterial3Api public abstract sealed class ExposedDropdownMenuBoxScope {
method @androidx.compose.runtime.Composable public final void ExposedDropdownMenu(boolean expanded, kotlin.jvm.functions.Function0<kotlin.Unit> onDismissRequest, optional androidx.compose.ui.Modifier modifier, optional androidx.compose.foundation.ScrollState scrollState, optional boolean matchTextFieldWidth, optional androidx.compose.ui.graphics.Shape shape, optional long containerColor, optional float tonalElevation, optional float shadowElevation, optional androidx.compose.foundation.BorderStroke? border, kotlin.jvm.functions.Function1<? super androidx.compose.foundation.layout.ColumnScope,kotlin.Unit> content);
method @Deprecated @androidx.compose.runtime.Composable public final void ExposedDropdownMenu(boolean expanded, kotlin.jvm.functions.Function0<kotlin.Unit> onDismissRequest, optional androidx.compose.ui.Modifier modifier, optional androidx.compose.foundation.ScrollState scrollState, optional boolean focusable, optional boolean matchTextFieldWidth, optional androidx.compose.ui.graphics.Shape shape, optional long containerColor, optional float tonalElevation, optional float shadowElevation, optional androidx.compose.foundation.BorderStroke? border, kotlin.jvm.functions.Function1<? super androidx.compose.foundation.layout.ColumnScope,kotlin.Unit> content);
Expand Down
Loading

0 comments on commit dedd291

Please sign in to comment.