Skip to content

Releases: Telefonica/mistica-ios

v33.1.0

12 Sep 06:12
Compare
Choose a tag to compare

33.1.0 (2024-09-12)

Features

v33.0.0

26 Aug 15:22
Compare
Choose a tag to compare

33.0.0 (2024-08-26)

Feat

  • Title: Update title component and Mistica tokens (#396) (d3df994), closes #397

BREAKING CHANGES

  • Title: Add some title styles and modify the existing ones. Rename the color tokens from mistica-design.

  • Update tokens

  • Update tokens again

  • Fix breaking change

Migration guide

TitleView

If you use title2 style of TitleView, you should change it to title3.

Title remapping:
Title1 → no change
Title2 → the new one
Title3 → The old title2
Title4 → The old title3
Telefonica/mistica-design#1796

Color tokens

Some colors have been renamed from xxxxSelected to xxxxPressed.

v32.0.0

19 Aug 10:16
Compare
Choose a tag to compare

32.0.0 (2024-08-19)

Features

  • Title: Split Title component and UIKit (#395) (161ac6d)

BREAKING CHANGES

  • Title: Rename TitleView with TitleHeaderFooterView. TitleHeaderFooterView will wrap the TitleView (Title component)

  • Enable link interactions

  • Extract Title component from TitleView (UITableViewHeaderFooterView)

  • Rename and some fixes

  • Rename tests path

  • CR changes

Migration guide
TitleView has been renamed to TitleHeaderFooterView. If you already use TitleView, please, rename it to TitleHeaderFooterView.
Now, TitleView contains the Title component and TitleHeaderFooterView wraps the component as a UITableViewHeaderFooterView.

v31.4.1

01 Aug 13:28
Compare
Choose a tag to compare

31.4.1 (2024-08-01)

Bug Fixes

v31.4.0

26 Jul 10:30
Compare
Choose a tag to compare

31.4.0 (2024-07-26)

Features

  • Crouton: Allow to show crouton on a exact viewController (e30d0bc)

v31.3.0

23 Jul 15:17
Compare
Choose a tag to compare

31.3.0 (2024-07-23)

Features

  • Skeletons: added Mistica Skeletons components for SwiftUI and UIKit (e99d295)

v31.2.0

18 Jul 08:48
Compare
Choose a tag to compare

31.2.0 (2024-07-18)

Features

  • Snackbar: allow setting the accesibility identifier via SnackbarConfig (#386) (4f1e08c)

v31.1.0

15 Jul 05:55
Compare
Choose a tag to compare

31.1.0 (2024-07-15)

Features

  • InputField: add numeric style and option to set textContentType (#385) (1db8499)

v31.0.0

12 Jul 10:49
Compare
Choose a tag to compare

31.0.0 (2024-07-12)

Features

  • MisticaColors: Update MisticaColors and VivoNew palette (24a0a7c)

BREAKING CHANGES

  • MisticaColors: Refactor backgroundContainerBrand color token as MisticaColor

Migration guide from UIKit
To use the backgroundContainerBrand token from UIKit view we will have to make the following change:
Old way:
view.backgroundColor = .backgroundContainerBrand
New way:
setMisticaColorBackground(.backgroundContainerBrand)

For the case of UIStackView that contain background colors it would be advisable to change it and that it is the UIView that contains the UIStackView the one that has assigned the color. Once this change is done, it is also advisable that the UIStackView has a backgroundColor of type .clear:

setMisticaColorBackground(.backgroundContainerBrand)
stackView.backgroundColor = .clear

As a somewhat more exceptional case, you may need to use the optional parameter of setMisticaColor called ignoreSafeArea, since there are cases in which if you apply a MisticaColor to full screen the safe area may be incomplete and therefore you would have to set true when you set the MisticaColor:
setMisticaColorBackground(.backgroundContainerBrand, ignoreSafeArea: true)

By default this parameter is always set to false.

Migration guide from SwiftUI
To use the backgroundContainerBrand token from SwiftUI view we will have to make the following change:
Old way:
.background(Color.backgroundContainerBrand)
New way:
.background(misticaColorView(.backgroundContainerBrand))

v30.5.0

12 Jul 07:49
Compare
Choose a tag to compare

30.5.0 (2024-07-12)

Bug Fixes

  • iOS14: Upgrade package to iOS 14 and remove iOS 13 dependencies (f8e6578)

Features

  • Accesibility: Set sheet title label accessibility trait to header (#384) (72ade6d)