Skip to content

Releases: adevinta/spark-android

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
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

0.9.0

23 Apr 14:52
8d7f963
Compare
Choose a tag to compare

Spark

🆕 Chips can now be selectable and closed

Caution

The Filled style has been removed and may break your build if used. You need to see with your ui to know which styles to use instead of this one

Warning

The styles for chips have been deprecated you now need to use either the Chip or the ChipSelectable components for your need and provide the style in argument

If you want to make your Chip closable then you will need to add a callback action in the new onClose parameter.

Screen_recording_20240423_163700.mp4

🆕 BottomSheet now use the spark specs

Caution

This change will most likely break your build since most of the api has changed.
We now use the M3 BottomSheet instead of a fork from a alpha version of it we did when it was only available in M2.

Warning

The BottomSheet currently only accept M3 snackbars, you won't be able to display a SparkSnackbar


  • 🆕 ProgressTracker is now available! it still has a few minor visual bugs but it can be tested by squads on their scope don't hesitate to give us feedbacks!
Screen_recording_20240423_163832.mp4
  • 🆕 TextLinkButton will now use LocalContentColor when using the Surface intent. This will allow you to have a onSurface TextLink when needed
Screen_recording_20240423_164027.mp4
  • 🆕 Popover can now take an intent for its surface color
image
  • 🆕 Image has its emptyIcon and errorIcon parameters open now for special cases
  • 💬 A11y have been translated to german
  • 💄 Rating will now have a lisible color when disabled
image
  • 💄 Badge now use surface instead of onColor for its border color
  • 🐛 Filled and Contrast Button now have a clear disabled state when their content color is dark
Before After
image image
  • 💄 New icons have been added

Catalog App

  • 🎨 Brand colors has been updated to their latest values
  • 🔧 All Configurators are now scrollable

CI

  • 🔧 Decorrelated spotless and ktlint
  • 🆕 Added Paparazzi as a manual workflow
  • 🆕 Ran Lava Vulnerability Scanner on CI workflow
  • 🔧 Moved code formatting tasks first in the contributing list

New Contributors

Full Changelog: 0.8.0...0.9.0

0.8.0

29 Feb 14:10
6883967
Compare
Choose a tag to compare

Spark

  • 🆕 Create the base custom layout for horizontal progress tracker
  • 🆕 Add Slider component
  • 🐛 Fix the Button end icon being squished when content is too long

Catalog App

  • 🎨 Update TextLink configurator colors
  • 🎨 Add Configurator for Progressbar
  • 🚀 Replace deprecated actionsdesk/lfs-warning with composite action

0.7.0

0.6.0