Releases: Tweener/czan
Releases · Tweener/czan
2.9.2
2.9.1
See CHANGELOG.md.
2.9.0
See CHANGELOG.md.
2.8.1
See CHANGELOG.md.
2.8.0
See CHANGELOG.md.
2.7.0
Full Changelog: 2.6.0...2.7.0
✨ What's new
- New
LinearProgressBar
constructor to create an indeterminate LinearProgressBar
⚠️ Breaking Changes
- 🍎 On iOS, Cupertino look & feel has been removed due to compose-cupertino library not being compatible with Compose >= 1.7.0 (and probably not maintained anymore).
💪 Enhancements
- Authentication buttons now properly reflect the disabled state.
TextField
: Allow customization of the capitalization of the keyboard. Defaults toKeyboardCapitalization.Sentences
, which means the first letter of each sentence will be uppercase.
🪲 Bug Fixes
None
🛠️ Performance Improvements
None
🟡 Other Changes
None
2.6.0
Full Changelog: 2.5.0...2.6.0
✨ What's new
- New composable:
DashedLine
- New composable:
Slider
⚠️ Breaking Changes
- Extension function
StateFlow.collectAsStateMultiplatform
has been removed. UseStateFlow.collectAsStateWithLifecycle()
instead
💪 Enhancements
SharedFlow.subscribe()
collects only when lifecycle is STARTEDCarousel
- Add customization of page spacingCard
,ExpandableCard
andCardTip
sizes are wrapped into a CardSizes object instead of individual propertiesTopBar
- Add more customization- You can now use a TopBar with a custom navigation icon:
TopBarWithCustomIcon()
- More granularity for color customization: title, navigationIcon and actionIcon
- You can now use a TopBar with a custom navigation icon:
🪲 Bug Fixes
- Fixes
LinearProgressBar
UI glitch after upgrade to CMP 1.7.0 - Fixes
CarouselDash
UI glitch after upgrade to CMP 1.7.0
🛠️ Performance Improvements
None
🟡 Other Changes
None
2.5.0
Full Changelog: 2.4.0...2.5.0
✨ What's new
- 🚀 Upgrade to Compose Multiplatform 1.7.0
⚠️ Breaking Changes
None
💪 Enhancements
None
🪲 Bug Fixes
None
🛠️ Performance Improvements
None
🟡 Other Changes
None
2.4.0
Full Changelog: 2.3.3...2.4.0
⚠️ Breaking Changes
None
✨ What's new
- 🚀 Upgrade to Kotlin 2.0.21 & Gradle 8.5.2
- 🎯 Add support for KS and WasmJS targets! You can now uses CZAN on the web.
- 📄 Set up automatic documentation deploy on czan.dev
💪 Enhancements
- Button: Add a loading state with animations. When in loading state, the button will display
...
instead of the label. - AuthenticationButtons: Add flag to enable or disable these buttons
- New
onHoldTouch()
Modifier extension function: Handle a tap event when the user keeps holding the Composable
🪲 Bug Fixes
- Button: Fixes border color for outlined buttons, now uses
MaterialTheme.colorScheme.outline
🛠️ Performance Improvements
None
🟡 Other Changes
None
2.3.3
Full Changelog: 2.3.2...2.3.3
Breaking Changes
NavigationBars
now have a mandatoryicon
parameter and an optionallabel
(used to be the other way around).Chip
has now two distinct click callbacks:onClick
(when the user taps on the whole chip) andonCloseClick
(when the user taps on the close icon, if visibile).
New Features
- Add a
Color.parseColor(hex: String)
extension function to convert a given hex color to aandroidx.compose.ui.graphics.Color
:
val colorNoHashNoAlpha: Color = Color.parseColor("00FF00")
val colorNoHashWithAlpha: Color = Color.parseColor("FF00FF00")
val colorWithHashNoAlpha: Color = Color.parseColor("#00FF00")
val colorWithHashWithAlpha: Color = Color.parseColor("#FF00FF00")
- New composable
TrailingIconText
to easily display a text with a trailing icon.
Enhancements
LinearProgressBar
now handles a progress animation when being drawn.AuthenticationButtons
border color now defaults toMaterialTheme.colorScheme.outline
(instead ofMaterialTheme.colorScheme.onBackgronund
).Card
now has aonClick
callback when the user taps anywhere on the card.
Bug Fixes
None
Performance Improvements
None
Other Changes
- Adds a new Composable function
colorResource(lightColor, darkColor?)
to easily configure a Color with optional dark mode:
val light_myNewColor = Color(0xFF...)
val dark_myNewColor = Color(0xFF...)
val myNewColor = colorResource(colorLight = light_myNewColor, colorDark = dark_myNewColor)
Text(color = myNewColor, ...)