Releases: Telefonica/mistica-android
13.0.1
13.0.0
What's Changed
- ANDROID-14628 Not include release notes in the release notification by @jeslat in #366
- ANDROID-13687 Improve Snackbar accessibility by @jeslat in #358
🔨 Breaking Changes
A new optional parameter has been added to the Snackbar builder. This parameter allows including a custom content description in the action button.
If you are using the Snackbar from Java code, you must include this new parameter (you can pass null
) when calling withAction
because Java doesn't support the optional parameters. Example:
Before:
.withAction(R.string.retry, (v) -> retryAction.run())
After:
.withAction(R.string.retry, null, (v) -> retryAction.run())
Full Changelog: 12.3.0...13.0.0
12.3.0
What's Changed
- ANDROID-14724 Update color tokens by @dpastor in #362 (Includes new movistar accessibility palette)
Full Changelog: 12.2.0...12.3.0
12.2.0
What's Changed
- ANDROID-14475 Subtitle color changed in lists by @pmartinbTEF in #356
- ANDROID-14716 Add space to progress bar in button by @DevPabloGarcia in #359
- ANDROID-13760 Avoid duplicated tags in Compose Tab element by @pmartinbTEF in #361
- ANDROID-14761 Fix Image size of EmptyStateScreenView when it's IMAGE_SIZE_FULL_WIDTH by @jeprubio in #363
Full Changelog: 12.1.2...12.2.0
12.1.2
What's Changed
- ANDROID-14711 Allow setting colors from outside now that copy method has been deleted from MisticaColors and MisticaBrushes by @dpastor in #357
Full Changelog: 12.1.1...12.1.2
12.1.1
What's Changed
- ANDROID-14617 Compose TextInput hint should use preset3 regular by @yamal-alm in #351
Full Changelog: 12.1.0...12.1.1
12.1.0
What's Changed
- ANDROID-14618 Checkbox links not underlined by @pmartinbTEF in #354
- ANDROID-13801 Improve buttons accessibility by @jeslat in #355
Full Changelog: 12.0.0...12.1.0
12.0.0
🔨 Breaking Changes
-
GradientBackgroundFactory
class is removed. Should replace usages of:getBackground(context: Context)
--> new "backgroundBrand" gradient.getBackgroundForLoginLoadingScreen(context: Context)
--> Movistar and Telefonica should use "brandHigh" solid color, the rest of them, new "backgroundBrand" gradient.- This should be defined in apps themselves as it is not a mística component. (See next section for applying)
-
colorBackgroundBrand
andcolorBackgroundContainerBrand
can be now a solid color or a gradient.- For xml:
colorBackgroundBrand
has been removed,drawableBackgroundBrand
should be used from now on.colorBackgroundContainerBrand
has been removed,drawableBackgroundContainerBrand
should be used from now on.- IMPORTANT: Instead of plain colors these new attributes are drawables. Ensure drawable is also accepted where used.
- For compose:
MisticaTheme.colors.backgroundBrand
has been removed,MisticaTheme.brushes.backgroundBrand
should be used from now on.MisticaTheme.colors.backgroundContainerBrand
has been removed,MisticaTheme.brushes.backgroundContainerBrand
should be used from now on.- Check Current Mistica Documentation for additional info with examples.
- For xml:
-
MisticaColors
constructor arguments andcopy(...)
method have been removed.- In case you were instantiating one of these, just instantiate the object with no
constructor arguments, and assign specific colors on it afterwards. - If you were using copy method, make use of use of the already available method
updateColorsFrom(other: MisticaColors)
to achieve same behaviour to copy colors from anotherMisticaColors
object.
- In case you were instantiating one of these, just instantiate the object with no
-
Brand
interface has two new propertieslightBrushes
anddrakbrushes
- If you are extending this interface directly, you need to implement these properties accordingly with the brushes required for your brand.
- Mistica brands objects extending from Brand already implement these properties, so you will just usually need to reference the appropriate mistica brand brushes in your app.
-
Min api level support raised to 24
What's Changed
- ANDROID-14558 Mistica Gradients Support & O2New Brand by @dpastor in #352
Full Changelog: 11.8.0...12.0.0
11.8.0
What's Changed
- ANDROID-14620 Reset text color labels by @dagonco in #353
Full Changelog: 11.7.0...11.8.0
11.7.0
What's Changed
- ANDROID-14597 title view heading by @jeprubio in #350
Full Changelog: 11.6.0...11.7.0