Update day :party-parrot: - Apparently compose com...
# compose
c
Update day 🦜 • Apparently compose compiler 1.4.1 and 1.4.2 released in the same day? 1.4.2 w/ Support for Kotlin 1.8.10, and 1.4.1 had some general bug fixes. Bunch of 1.4.0-beta01 updates. Some interesting ones: • Since 1.3, added Emoji compat integration to
Text
and
TextField
, as well as the lower level Paragraph. It is enabled by default when emojicompat is configured. •
EmojiCompat
can be configured on a specific Text using
PlatformParagraphStyle
. • Added common implementation of
PinnableContainer
API used in all
LazyLayouts
to retain items that exit composition, but still need to be active. (If45a4) •
PinnableContainer.PinnedHandle.unpin()
was renamed to
release()
(I4667a) • Fixes an issue where
pullRefresh
was not consuming velocity, causing overscroll to show. Also changed the API signature of the
onRelease
lambda in
Modifier.pullRefresh
to return a Float for consumed velocity (I7db65, b/266874741) •
ComposeNodeLifecycleCallback
was added which allows to observe lifecycle of Compose nodes (I3731b) • Added
waitUntilNodeCount
,
waitUntilAtLeastOneExists
,
waitUntilExactlyOneExists
and
waitUntilDoesNotExist
as experimental API to
ComposeTestRule
, extending the
waitUntil
API to accept any matcher and any count of nodes. See
ComposeTestRule
for further documentation. (Ifa1b9, b/226934294) • Rename
Font.MaximumAsyncTimeout
to
Font.MaximumAsyncTimeoutMillis
. (I07af5) • Removed
GoogleFont.Provider.AllFontsListUri
and linked to it in ktdoc instead. (I16f29) m3 updates 🦜 Version 1.1.0-alpha06 : • Text fields now support prefix and suffix text (Ia8578, b/179884561) • Added a
TimePicker
function to show a time picker following the Material 3 spec, used in conjunction with
TimePickerState
and convenience method
rememberTimePickerState
(I71910) • A date input is now a display mode at the
DatePicker
. Added support for switching between date picker and date input modes. (Ieeff7) • Added API for
RichTextTooltips
. (I58ef3) • Modal bottom sheet implementation for Material 3, including
ModalBottomSheet
and
ModalBottomSheetDefaults
. Also introduces
SheetState
and
rememberSheetState
which can be used for future sheet components. (I0853a, b/244189383) HELL YEAH, TRUE MODAL BOTTOM SHEETS 🦜 🦜 🦜 thanksss @jossiwolf Also sorta related, developer preview 1 of android 14 is also out today!
🎉 22
🦜 10
f
LETS GO!
t
I can wait for the m3 ModalBottomSheet to remove the m2 dependency 😂
z
PSA #2: If youre planning on using input fields inside a ModalBottomSheet, this doesnt seem to be working at all as of this release.
a
Do you have a bug reported for the input fields inside the
ModalBottomSheet
?
z
There's also issue where the bottom sheet is not at the bottom of the screen when in landscape mode. Don't know if anyones already reported that
z
@Alex Vanyo Not personally, I can report it tomorrow afternoon!
@Alex Vanyo You can find my bug report of it here 🌟