BottomSheetHandleStyle.standard
is now mutable.
BottomSheetStyle
andBottomSheetHandleStyle
are now mutable.BottomSheetStyle.standard
is now mutable and lets you change the standard style.
This release adds macOS support and tweaks the design and behavior of the bottom sheet.
The handle was previously placed in a non-designable area, under which the sheet content scrolled.
Now, the area has a divider that separates the handle from the content, with the entire handle bar area being customizable with the handle style.
- The library now compiles for macOS.
- There is a new
BottomSheetHandleBar
view. BottomSheetHandleStyle
has a newbackgroundColor
property.BottomSheetHandleStyle
has a newdividerColor
property.BottomSheetHandleStyle
has a newpadding
property.
- The sheet handle is now placed in a bar, with padding and a divider.
BottomSheetHandleStyle
color
has been renamed tohandleColor
.
This is the first public release of BottomSheet.
Check out the readme and the demo app for information about how to use it.