Skip to content

Releases: adevinta/spark-android

1.1.0-SNAPSHOT

20 Dec 08:30
1eeb9b4
Compare
Choose a tag to compare
1.1.0-SNAPSHOT Pre-release
Pre-release

1.1.0-SNAPSHOT

2024-12-20

com adevinta spark icons_AnimatedIconsScreenshot_bellShake_bellshake

Animated Icons

Caution

The api for Icon, IconButton, IconToggleButton , Button, Tag & Chip has their api modified to support animated vector icons

Animated Icons can now be used with spark components!

Image

Important

Image component now has it's specs updated to the design ones! with new colors to its error state!

TextField

Caution

The position of the TextField status icon has been moved from the trailing addon to the support message which might impact your screens!

Now all textfields (not only the multi line one) can display a character count and their min width has been reduced to allow for side to side Textfield layout to be possible (previously it was too big to allow it)!

Spark

  • ✨ New icons available.
  • 🥳 Showkase is no longer used in the catalog app which means it'll also no longer bleed in your code!
  • 🎨 A new api allow you to convert a Material Theme to a Spark theme which could be used to support dynamic theming for ex.
  • 🐛 UserAvatar badge position is now correctly positioned.
  • ⬆️ The Compose BOM version has been upgraded from 2024.10.01 to 2024.12.01.
  • ⬆️ Bump compileSdk & targetSdk to API level 35 (Android 15).
  • ⬆️ Bump kotlin from 2.0.21 to 2.1.0.
  • ✨ A lint rule to detect wrong string annotation usages has been added by @EliottLujan!
  • 🎨 Theme color has been updated.

Catalog App

  • 🥳 Showkase is no longer used to preview some of our caspule components.
  • ✨ A Modal configurator as been added.
  • 💄 IconScreen no longer has clipping with the search bar.
  • 🛠️ Migrated from uri to the new Typesafe routes for navigation.
  • ✨ New examples for the shape tokens has benn added by @EliottLujan!

New Contributors

Full Changelog: 1.0.2...1.1.0-SNAPSHOT

1.0.2

11 Dec 14:37
5fede10
Compare
Choose a tag to compare

1.0.2

2024-12-11

Spark

  • ⬆️ Upgrade Compose BOM to 2024.11.00 since it only contains bugfixes changes.

1.0.1

07 Nov 13:39
f4f224e
Compare
Choose a tag to compare

1.0.1

2024-11-07

Spark

  • 🐛 User Avatar presence badge was incorrectly placed, especially in big sizes.

Full Changelog: 1.0.0...1.0.1

1.0.0

07 Oct 12:50
1c46455
Compare
Choose a tag to compare

[1.0.0]

2024-10-07

Spark

Caution

All the code that was legacy, coming from brikke and was deprecated has been removed from Spark.
This mean you build with break with this change

Caution

Material 3 compose & Compose has been upgraded to version 1.3 and 1.7 which introduce compiling & visual breaking changes.
Be sure to verify your UIs when upgrading.

  • 🐛 Add statusBar size on the content padding on BottomSheet content.
  • 🐛 One of TextLinkButton overloads was using intent Danger instead of Surface.
  • 🐛 Dividers no longer have a minimum width/height of 40.dp.
  • 💄 ModalScaffold now has a padding between its buttons when they overflow and stack each others.
  • 🔧 Chips now have a leading/trailing icon slots to ensure these content are not hidden when the chip content is too big for the required width.
  • 🔧 Components were missing sparkUsageOverlay so it has been added to them and remove on Icons to reduce the confusions with the huge amount of icons used in apps and our components.
  • 🔧 SparkTheme now take a SparkFeatureFlag for the activation of the debug features.
  • 📝 Documentation for annotatedStringResource has been improved with usage examples

Catalog App

  • ♿ A colorbliness filter has been added to improve testing of components for this disability.
  • 💄 New examples for the elevation tokens have been added.

CI

  • Icons screenshot are not bound to the theme colors anymore to reduce invalidation not related to the icons themselves.

Full Changelog: 0.11.3...1.0.0

0.11.3

05 Sep 16:06
33c12db
Compare
Choose a tag to compare

0.11.3

2024-09-05

Spark

  • 🐛 Specify explicitly the Kotlin BOM version otherwise consumers can't fetch it when using Spark.

0.11.2

04 Sep 15:11
52b60b5
Compare
Choose a tag to compare

0.11.2

2024-09-04

Spark

  • 🐛 TextField no longer grow in height when the helper message grows.
  • ⬆️ Upgrade Kotlin version from 2.0.0 to 2.0.20 to resolve infinite recomposition.

0.11.1

26 Aug 09:16
Compare
Choose a tag to compare

0.11.1

2024-08-23

Spark

Catalog App

  • Add new example to showcase the premade Addons for the TextField.

Full Changelog: 0.11.0...0.11.1

0.11.0

13 Aug 11:04
a17541c
Compare
Choose a tag to compare

0.11.0

2024-08-13

Spark

🆕 Divider

Warning

The Divider Component has been deprecated to use the HorizontalDivider

The divider component now has 2 fixed colors, outline and outlineHigh. It now accept a slot has a label indicator if you need to place a decorative text when separating your sections.

🆕 New Dropdown specs

Warning

The previous SelectTextField Api has been deprecated but should still be used in Combobox usecases.

The Dropdown replace the existing SelectTextfield in readonly mode. It adds new api to handle item groupings with a proper title and remove the necessity to provide the onValueChange callback.

🆕 Snackbar

Caution

SnackbarColors & every colored Snackbar override have been deprecated as error as their api is not compatible with the new one. You'll need to migrate them to use this version.

The new Snackbar loses its title and icon slot to accept only a SparkIcon.
It has 2 styles, intents and the new dismiss action that are also available on the showSnackbar function.

  • ⬆️ Spark now use Kotlin 2.0
  • ⬆️ Compose BOM has been increased from 2024.05.00 to 2024.06.00
  • 🐛 The Avatar component was using the color icon without tinting it rendering them incompatible with the dark mode
  • 🐛 Chip doesn't have a max width anymore.
  • 🐛 Textfield doesn't have a max width anymore.
  • 🐛 Progress Tracker Indicator size now follow the font scaling
  • 🐛 Textfield now correctly show the required indicator when the label fold in multiples lines

Catalog App

  • 🎨 KA theme colors for outline has been changed in light mode and in dark mode it's the background + variants color
  • 🆕 Examples on how to make a Button Toggle has been added

Full Changelog: 0.10.1...0.11.0

0.10.1

19 Jun 17:25
0.10.1
1a07faa
Compare
Choose a tag to compare

Spark

  • 🐛 Modal now hide the Bottom App Bar when no actions are provided
Before After
  • 🐛 Fix the Modal not using the right width

Catalog App

  • A new example has been added to cover modals with no buttons

Full Changelog: 0.10.0...0.10.1

0.10.0

17 May 08:31
cd44ec6
Compare
Choose a tag to compare

Spark

  • 🆕 BottomSheetScaffold now has a new sheetPeekHeight parameter
  • 💄 Chip Change chip icon default size to be bigger
  • 💄 TextField Change TextField Icon color from onSurface to neutral
  • 💄 Icons Update some icons
  • 🐛 ProgressTracker Fix clipped ProgressTracker indicator

Catalog App

  • 🐛 Checkbox Fix intents in CheckboxConfigurator