2025-01-29
- 🛠 Use latest and simpler workaround to display a Dialog in fullscreen with support to edge-to-edge.
- 🛠️ Modal
inEdgeToEdge
parameter now default to false.
2025-01-29
- 🐛 Conditional modifiers were not working as expected since they returned an empty modifier instead of modifier chain if the condition was not met.
2025-01-28
- 🐛 Conditional modifiers were not working as expected since they returned an empty.
- 🐛
Image
no longer use aBoxWithConstraint
as its root component which forbid intrinsic sizes - 🐛 Revert
Image
behavior on sizing with empty/loading/error states.
2025-01-06
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!
Important
Image component now has it's specs updated to the design ones! with new colors to its error state!
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)!
- ✨ 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
to2024.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.
- 🥳 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!
2024-12-11
- ⬆️ Upgrade Compose BOM to
2024.11.00
since it only contains bugfixes changes.
2024-11-07
- 🐛 User Avatar presence badge was incorrectly placed, especially in big sizes.
2024-10-07
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 aSparkFeatureFlag
for the activation of the debug features. - 📝 Documentation for
annotatedStringResource
has been improved with usage examples
- ♿ A colorbliness filter has been added to improve testing of components for this disability.
- 💄 New examples for the elevation tokens have been added.
- Icons screenshot are not bound to the theme colors anymore to reduce invalidation not related to the icons themselves.
2024-08-13
Warning
The Divider Component has been deprecated to use the HorizontalDivider
The divider component now has 2 fixed colors, outline
and outlineHigh
. I now accept a slot has a label indicator if you need to place a decorative text when separating your sections.
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.
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
- 🎨 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
2024-06-18
- 🐛
ModalScaffold
can now take no actions and will hide the Bottom app Bar. - 🐛
ModalScaffold
in dialog layout was not respecting the correct min and max width.
ModalScaffold
Added an example that will show the modal with no actions.
2024-05-16
- 🆕
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
- 🐛
Checkbox
Fix intents in CheckboxConfigurator
2024-04-23
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.
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!
- 🆕
TextLinkButton
will now useLocalContentColor
when using the Surface intent. This will allow you to have aonSurface
TextLink
when needed - 🆕
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 - 💄 New icons have been added
- 🎨 Brand colors has been updated to their latest values
- 🔧 All Configurators are now scrollable
- 🔧 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
2024-02-28
- 🆕 Create the base custom layout for horizontal progress tracker
- 🆕 Add
Slider
component - 🐛 Fix the
Button
end icon being squished when content is too long
- 🎨 Update
TextLink
configurator colors - 🎨 Add Configurator for
Progressbar
- 🚀 Replace deprecated actionsdesk/lfs-warning with composite action
2024-02-15
- 🆕 Add slots api to
Buttons
andTags
- 🆕 Add new
TextLink
Component - 🆕 Add Large
UserAvatarStyle
Component - 🐛 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
- 💄 Theme settings are now saved between sessions
- 🎨 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
2023-12-21
- Fix the content padding not being passed to it's children.
- Invert the position of buttons.
- Inset for non edge to edge app was broken and displaying the content bellow the system bars.
- Add the support for WindowHeightSizeClass.Expanded to show the fullscreen modal in portrait
2023-12-19
- 🆕 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
- 💄 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
2023-09-26
- 🆕 Add
IconButtons
with all intents, shapes and sizes - 🆕 Add loading state to the
IconButton
component - 🆕 Add
IconToggleButton
- 💄 Use M2 elevation system instead of the M3 one
- ⬆️ Bump
compileSdk
andtargetSdk
to 34 - 🎨 Change colors from LBC & KA
- 🐛 Make the readonly
Textfields
not take the focus look when focused - 📝 Replace oneliner with two distinct commands
- 🐛
ModalFullScreenScaffold
top padding issue when no illustration
- 🆕 Add Icons demo to CatalogApp
- 🆕 Add examples for tab component
- 💄 Add Kleinanzeigen theme
- 🎨 Add illustrations for components item
- 🚀 Fetch icon resources in coroutines
- 🐛 Shorten catalog app name
- 🐛 Add proguard rules to keep the names of spark icons resources
- 🐛 Component Illustrations are too big
- 🐛 Minor fixes in CatalogApp
- 💄 Modify Segmented color to be more visible and make switch take full width
- 💄 Update catalog app to show
ExtraLarge
icons
2023-08-24
- 🐛 Some color tokens were not updated on theme change
2023-08-17
- 🆕 Implement
Spark Tab
andTab Group
- 💄
Checkbox
,Switch
,RadioButton
now has intents support - 💄 Disabled components now have use
dim3
- 💄
Button Outline
border size is now 1dp instead of 2dp - 💄 Update
TextField
background color - 💄
TextField
leading content padding is adjusted - 💄
TextField
addons content color is alwaysonSurface
even when unfocused - 💄
ButtonContrast
in Surface intent is now readable - 💄
ModalFullScreenScaffold
spaces and layout has been adjusted - 🗑️ Small size for
Button
has been removed - 🐛 Replace
Modifier.autofill
byAutofill
Composable
- 🆕 Now have examples and a configurator for
Button
,Checkbox
,Switch
,RadioButton
TextField
- 💄 The launcher icon now has a light and dark variant depending on the theme mode
- 🐛 The app state is saved on configuration change
- 🐛 Fix the link to component documentation
2023-07-31
- 🆕 Added
Basic
andAccent
intents to all released components. - 💄Updated the default color intents to
Basic
forTag
,Chip
,Spinner
. - 🗑️ Deprecated
Primary
andSecondary
intents,Main
andSupport
should be used instead.
2023-07-11
- 🆕 Migrate
TextField
to the new spark spec with multiple sizes, styles and intents. - 🔧 Add extensions to make usage of dims and highlights simpler.
- 💄
Buttons
now have the correct color in disabled state. - 💄
Badges
now have all intents instead oferror
andinfo
. - 💄
Snackbars
now have a bigger shape in new ui. - 🐛
Tags
now correctly expose its children with semantics. - 🗑️ Deprecated
SparkIcons
are now removed. - Update icon resources
2023-06-23
- 🆕 Migrate
Badges
to the new spark spec with multiple sizes, styles and intents. - 🆕 Migrate
Icons
to the new spark spec with multiple sizes, styles and intents. - 🆕 Migrate
Chips
to the new spark spec with multiple sizes, styles and intents. - 🆕 Migrate
Toggles
to the new spark spec with multiple sizes, styles and intents. - 🆕 Add fullscreen modal component as experimental
- Update icon resources
2023-05-23
- Add missing Categories/Family icon #388
2023-04-18
- 🆕 Migrate
Button
to the new spark spec with multiple sizes, styles and intents. - 🆕 Migrate
Tags
to the new spark spec with multiple styles and intents. - 🆕 Migrate
RadioButton
to the new spark spec with the ability to have content on both side now. - 🆕 Migrate
Checkbox
to the new spark spec with the ability to have content on both side now. - 🆕 Add the ability for
PreviewWrapper
to specify a different background color thanSparkTheme.colors.background
which is useful to test custom surfaces for example. - 💄Fix
callout
Typo having a size of14.sp
instead of16.sp
2023-04-05
- Modify the
Image
fallback states background and icon colors #306 - Integrate the new typography tokens #298
- Add Legacy option to use previous DS style #310
2023-03-30
2023-03-29