Repository navigation
refactor: migrate off APIs deprecated in Compose 1.13.0 - #182
Merged
xelon-ua merged 2 commits intoDec 3, 2026
Merged
Conversation
Compose 1.13.0 deprecated VisualTransformation and the value-based BasicTextField. The table's text fields now run on TextFieldState behind the same value / onValueChange, and take an OutputTransformation. The overloads with visualTransformation stay, deprecated, on the old implementation until 4.0. RangeSlider, ListItem, runComposeUiTest and compose.desktop.currentOs move to their replacements. ListItem no longer gives its slots a minimum touch target, so the format dialog restores it.
Contributor
Author
|
Squash commit message: |
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Clears the deprecation warnings Compose Multiplatform / Material 3 1.13.0 introduced, without breaking consumers' source.
Changes
TableTextField,TableCellTextField,TableCellTextFieldWithTooltipError: new overloads takeoutputTransformationand run onTextFieldState;valuestays the truth. ThevisualTransformationoverloads are deprecated and keep the old implementation. Their transformation has no default any more (two all-default overloads would be ambiguous), so binaries built against them need a recompile.TableDatePickertext input:InputTransformationkeeps the digits,OutputTransformationshows the separators.RangeSlider: the state is updated on every composition. The suggestedrememberRangeSliderStatekeeps its first values, so the slider would ignore typed numbers.ListItem: the new overload drops the 48 dp touch targets of its slots;DialogListItemrestores them. Rows of the format dialog can shift by a few dp.runComposeUiTesttakesComposeUiTestConfig;compose.desktop.currentOsbecomesdesktop-jvm.Testing
qualityCheck; JVM (817), JS (806), Wasm (806) and iOS simulator (784) tests pass; Android sample assembles.