Skip to content

Releases: Tweener/czan

2.3.2

28 Aug 08:01
Compare
Choose a tag to compare

Full Changelog: 2.3.1...2.3.2


Breaking Changes

  • Switch and SwitchWithText parameter isChecked renamed to checked for consistency across the library.

New Features

Enhancements

  • Adding top bar actions is now easier with dedicated Composable TopBarAction. ie:
SimpleTopBar(
    modifier = modifier,
    title = "Screen title",
    // ...
    actions = {
        TopBarAction(icon = Res.drawable.profile, onClick = onProfileClicked, contentDescription = stringResource(resource = Res.string.topbar_action_profile))
    }
)

Bug Fixes

None

Performance Improvements

None

Other Changes

None

2.3.1

01 Aug 11:22
Compare
Choose a tag to compare

Full Changelog: 2.3.0...2.3.1


Breaking Changes

None

New Features

Enhancements

  • Adds 3 new style options for ButtonStyle: ON_PRIMARY, ON_SECONDARY, ON_TERTIARY

Bug Fixes

None

Performance Improvements

None

Other Changes

None

2.3.0

28 May 18:04
Compare
Choose a tag to compare

Full Changelog: 2.2.1...2.3.0


Breaking Changes

None

New Features

None

Enhancements

CZAN now official support Kotlin 2.0! 🎉

Bug Fixes

None

Performance Improvements

None

Other Changes

None

2.2.1

28 Apr 18:13
Compare
Choose a tag to compare

Full Changelog: 2.2.0...2.2.1


Breaking Changes

None

New Features

  • Adds a new Composable CardTip to display a small tip message with a leading icon.

Screenshot_20240428-194938

  • Adds a new Composable Checkbox with an optional text.

Screenshot_20240428-195844

  • Adds a new Composable LeadingIconText which shows a text with a customizable leading icon.

Screenshot_20240428-195621

Enhancements

None

Bug Fixes

  • Button - Fixes the padding between the text and the leading icon.
  • NumericKeyboard - Removes decimal separator when deleting the last decimal.
  • NumericKeyboard - Fixes incorrect decimals handling when allowDecimals is false.

Performance Improvements

None

Other Changes

None

2.2.0

05 Apr 18:06
Compare
Choose a tag to compare

Full Changelog: 2.1.2...2.2.0


Breaking Changes

None

New Features

  • Adds a new Composable ContextMenu which will automatically adapt the look & feel of the target platform: Material3 for Android, Cupertino for iOS.
  • Adds NumericKeyboard Composable to easily handle numeric inputs.

Enhancements

  • Button can now use [DrawableResource] for leading and trailing icons.
  • Improves state management for Card to avoid losing current state when recomposing.
  • TextField can now be set to 3 different sizes: Small, Regular, Big. (See TextFieldSize).

Bug Fixes

None

Performance Improvements

None

Other Changes

None

2.1.2

20 Mar 17:02
Compare
Choose a tag to compare

Full Changelog: 2.1.1...2.1.2


Breaking Changes

None

New Features

  • Adds a new Composable Card, an enhancement to Material3 Card Composable, with preconfigured header, content and footer.
  • Adds a new Composable ExpandableCard which allow expanding or collapsing the Card when clicking on the card's header.
  • Adds a new Modifier function extension: clickableRipple to easily add a ripple effect to any Composable.
  • Adds a new String function extension: bold to apply bold style to parts of a string.

Enhancements

Bug Fixes

None

Performance Improvements

None

Other Changes

None

2.1.1

06 Mar 08:11
Compare
Choose a tag to compare

Full Changelog: 2.1.0...2.1.1


Breaking Changes

None

New Features

  • Updates Compose Multiplatform to 1.6.0
  • Tweener's dependencies are now fetched through a BoM: kmp-bom

Enhancements

None

Bug Fixes

  • Removes a dependency (placeholder-material3) that was not used and was preventing using C-ZAN on Android.

Performance Improvements

None

Other Changes

None

2.1.0

22 Feb 08:31
aabe905
Compare
Choose a tag to compare

Full Changelog: 2.0.2...2.1.0


Breaking Changes

  • This new release features the introduction of Compose Cupertino library to adapt the look & feel of your app for the targeted platform (Material 3 for Android and Cupertino for iOS).
    Follow these instructions to properly setup your app's theme.

New Features

  • Adds a new Comopsable of Scaffold which wraps the Material3 Scaffold class to automatically use the platform's look & feel.
  • Adds a new Comopsable of NavigationBar which wraps the Material3 NavigationBar class to automatically use the platform's look & feel.
  • Adds a new Comopsable of NavigationBarItem which wraps the Material3 NavigationBar class to automatically use the platform's look & feel.

Enhancements

None

Bug Fixes

None

Performance Improvements

None

Other Changes

None

2.0.2

19 Feb 15:23
Compare
Choose a tag to compare

Breaking Changes

None

New Features

  • Adds a new implementation of Icon which takes a Painter as a parameter:
fun Icon(
    modifier: Modifier = Modifier,
    painter: Painter,
    tint: Color = LocalContentColor.current,
    contentDescription: String? = null
)

Enhancements

None

Bug Fixes

None

Performance Improvements

None

Other Changes

  • Updates Compose Multiplatform to 1.6.0-rc02
  • Updates Compose compiler plugin

2.0.1

02 Feb 22:57
Compare
Choose a tag to compare

Breaking Changes

None

New Features

  • Adds a new Composable BoxWithAnimatedBorder which wraps a given Composable with a Surface with colored animated borders.
  • Adds some new Kotlin extension functions.

Enhancements

None

Bug Fixes

None

Performance Improvements

None

Other Changes

None