Releases: adevinta/spark-android
0.11.3
0.11.2
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
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
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
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
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
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 useLocalContentColor
when using the Surface intent. This will allow you to have aonSurface
TextLink
when needed
Screen_recording_20240423_164027.mp4
- 🆕
Popover
can now take an intent for its surface color
- 🆕
Image
has itsemptyIcon
anderrorIcon
parameters open now for special cases - 💬 A11y have been translated to german
- 💄
Rating
will now have a lisible color when disabled
- 💄 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 |
- 💄 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
- @vyguera made their first contribution in #1032
- @lustikuss made their first contribution in #1062
Full Changelog: 0.8.0...0.9.0
0.8.0
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
What's Changed
Spark
- 🆕 Add slots api to
Buttons
andTags
- 🆕 Add new
TextLink
Component - 🆕 Add Large
UserAvatarStyle
Component @amokhefi - 🐛 Add
Info
asIconButton
intent color - 🐛 Fix
ConstraintLayout
Constraint not being applied toIconButtons
&IconToggleButton
- 🐛 Fix
annotatedStringResource
with args don't render annotation style - 🐛 Remove unexpected Compose tooling dependency on runtime classpath
- 🐛 Attempt to reduce letter spacing on callout typo
- 🚀 Update modifiers impl to use Node api
Catalog App
- 💄 Theme settings are now saved between sessions @theobch
- 🎨 Add Configurator for
Popover
- 🎨 Add Configurator for
Progressbar
- 📝 We can now specify a group to whom the app is distributed
- 📝 A message can be specified when publishing the app
New Contributors
Full Changelog: 0.6.1...0.7.0
0.6.0
What's Changed
Spark
- 🆕 Add
TextField addons
api with premade addons - 🆕 Add
Popover
component - 🆕 Add new
Modal
Component - 🆕 Add
Progressbar
Component - 🆕 Update rating specs
- 🆕 Add
Rating
Input - 💄 Add
Button Shapes
and unify the api for all button types - 🐛
Checkbox
checkmark was usingonPrimary
instead ofonColor
from intent - 🎨 Screenshot tests for all
SparkIcon
s
Catalog App
- 💄 Add
Subito
theme to catalog app - 💄 Add
Milanuncios
theme to catalog app - 🎨 Add examples ad configurator for
Rating
- 🎨 Add a configurator for the
Tab
- 🎨 Add missing test, examples, configurator for
Tag
component - 🐛 Fix typos in
TabsExamples
and replace one icon to fit the style - 🐛📝 Replace
zeroheight
links withspark.adevinta.com
New Contributors
Full Changelog: 0.5.0...0.6.0