Colton Idle
06/22/2023, 4:10 AMModifier.animateContentSize and AnimatedVisibility to be fully integrated into the lookahead system by reporting the target size in the lookahead pass.
• Introduced a new AnchoredDraggable API in Foundation. It can be used to build components that can be dragged between discrete states, like modal bottom sheets. This API replaces Material's Swipeable API. (I4a2ed)
• Support InputConnection#requestCursorUpdates (I0c69b)
• Introduced scrollAnimationSpec to allow custom animation specs. Updated BringIntoViewCalculator to BringIntoViewScroller. (Idb741)
• Added semantics properties and actions to support text translation. (I4a6bc)
• Introduced a BringIntoViewCalculator API that can be used to customize how components like Scrollable respond to bringIntoView requests. Changed the overload of scrollable to optionally accept an instance of BringIntoViewCalculator. (Iaf5af)
• Added a lint check to warn if you are creating a MutableInteractionSource in composition without remembering it, similar to the lint checks for creating mutable state / Animatable. (I5daae)
• includeFontPadding is now false by default in Material 2 typography. The default line height style has also been changed to Trim.None and Alignment.Center. Please consult the API docs if you wish to customize these values, and see the blog post for an in-depth explainer of these changes. (Icabc3, I3f801, I04c03) NICEEEE More docs here
• Material's Swipeable APIs have been deprecated. Please refer to Foundation's AnchoredDraggable APIs which are optimized for both simple and complex use cases. (I732e0) NICEEE
• BottomSheetState, ModalBottomSheetState and BottomDrawerState now expose a progress property indicating the progress between the current (settled) anchor and the closest anchor in the swipe direction. (I1b317, b/271169225, b/276375124, b/276776071, b/270066861) AWESOME
• Support lookahead in LazyList. This allows LazyList in the lookahead pass to bypass any animation (e.g. item placement animation, AnimatedVisibility, etc) and to calculate the lookahead size and position for all children. After the lookahead pass, children of LazyList could animate independently to the reality as seen in the lookahead pass.
• Added a set of common MultiPreviews (Ia5a27) Interesting?
• Support InputConnection#requestCursorUpdates (I0c69b)
• Added FocusRequester.saveFocusedChild and FocusRequester.restoreFocusedChild (Ic557e, b/272302679, b/275157318)
• More minor perf improvements it seems like allocation removals
M3 Version 1.2.0-alpha03
• includeFontPadding is now false by default in Material 3 typography
• Search bar now supports shadows via the newly added shadowElevation parameter. (Ia5369, b/271040353)
• ColorScheme now supports new `SurfaceContainer` roles.
• Surface tonal elevation overlay can now be disabled with the LocalTonalElevationEnabled composition local. (Ic203c, b/277774590)
• Scaffold's contentWindowInsets parameter now respects consumed window insets. Note that the behavior of content padding based on topBar and bottomBar remains unchanged when these parameters are provided. (I08b73, b/264601542)
• Fix the alignment of the center top app bar to ensure that a long title doesn't render over the action icons or the navigation icon. (I4369f, b/236994621)
• Dynamic color palettes from dynamicLightColorScheme and dynamicDarkColorScheme now support new surface roles. (I1252e)Siyamed
06/22/2023, 6:06 PMSiyamed
06/22/2023, 6:06 PMRafs
10/26/2023, 9:29 PMAnchoredDraggable available in multiplatform?