Compose updates today! Things I found interesting....
# compose
c
Compose updates today! Things I found interesting.... M3 Version 1.1.0-alpha07 released: • Add a Time Input composable • Added a Material 3
DateRangePicker
API for selecting a range of dates • Text field colors now allow customizing • Fix bug where max height constraint is propagated and may crash Other compose artifacts Version 1.4.0-beta02: • Added a new
Modifier.Node.onReset()
callback allowing you to reset some local state to properly handle the case when the
Layout
will be reused (for example as an item of
LazyColumn
). Fixed
FocusTargetModifierNode
to properly reset the focused state. (I65495, b/265201972) • Added
BlendMode
parameter to
DrawScope.drawText
,
Paragraph.paint
, and
MultiParagraph.paint
methods to support different blending algorithms when drawing text on Canvas. (I57508) • Removed the
modifierElementOf()
API. Please extend from
ModifierNodeElement
directly instead. • Fix crash when ctrl+backspace on empty
TextField
• Incorporated changes in the Swipeable APIs in
BottomSheetScaffold
. `BottomSheetState`'s
confirmStateChange
param has been renamed to
confirmValueChange
.
progress
is now exposed as a float value.
animateTo
and
snapTo
are internal. Use
expand()
and
collapse()
instead.
direction
and
overflow
have been removed.
offset
has been replaced with
requireOffset()
. (I323b4) • Removed semantic roles from clickable and selectable surfaces, updated components that used them to set roles using modifier.semantics (Ibb4ba) • Minor update to the extended Material icons that tweaks the filled
desktop_mac
,
directions
, and
kitchen
icons. (I65f5e) • Accessibility focus order algorithm improved, for example top/bottom bars are more often read first/last respectively (74e9c5) Compose compiler:1.4.3 • Fixes conditional composable calls in arguments of composable calls
🙏 3
❤️ 1
e
@Ben Trengrove [G] Material 3 as well, or just Material?
b
As far as I know just material
Your project won't compile if you are affected
Copy code
Could not find androidx.emoji2:emoji2-views-helper:1.3.0-beta03.
     Required by:
         project :appcompat-theme > androidx.appcompat:appcompat:1.6.1
e
Ok thanks, I'll try it out and see 🫣