Skip to content

Releases: SchweizerischeBundesbahnen/mobile-ios-design-swiftui

Tiny SBBLoadingIndicator + Improvements

08 Jul 09:32
Compare
Choose a tag to compare

v1.2.1 - 8 July 2024

Features

  • SBBLoadingIndicator: now also exists in size .tiny

Improvements

  • SBBListItem: rightImage can also be displayed as is (without circle)
  • Update icons to 0.1.82

Bugfix

  • SBBTextArea and SBBTextField accessibility

New components + Improvements

03 May 13:38
da4375b
Compare
Choose a tag to compare

Features

  • New components:
    • SBBFooterBox to display a footer
    • SBBHeaderBox to display a footer

Improvements

  • New icons
  • SBBModalView: added the option to hide the cancel button.

Bugfix

  • SBBNotification and SBBPromotionBox: elements are now correctly read by VoiceOver.

SBBNotifications: hidden icon

02 Feb 16:44
9930bcc
Compare
Choose a tag to compare

Improvements

  • SBBNotifications: the icon can be hidden

SBBNotifications: retry button

02 Feb 11:23
Compare
Choose a tag to compare

Improvements

  • SBBNotifications: a retry button is added

Typographie renaming + SBBNotification update

05 Jan 09:03
bcce683
Compare
Choose a tag to compare

Improvements

  • SBBNotification: can also stay open (close button not present).

Deprecations

  • Renaming of the typographie names according to the revised DSM (e.g. xlarge instead of SBBHeader). Old typographie names are deprecated and will be removed in a future version.

New components + Improvements

03 Oct 09:49
f480f8b
Compare
Choose a tag to compare

Features

  • New components:
    • SBBUpDnCounterView to display an up and down counter
    • SBBMessage to display a message with an illustration
    • SBBPromotionBox to display a promotion box
    • SBBDatePicker to display a date picker
    • SBBStatus to display a status (alert, warning, success or info)
    • SBBNotification to display a status notification (alert, warning, success or info)
  • SBBTabView: a badge can be added to the tab bar icon
  • New color .redDark is added

Improvements

  • SBBTabView: accessibility area for a tab is bigger
  • SBBOnboardingView: accessibility is improved (e.g. text completely visible with all font sizes)
  • SBBMessage: accessibility label for 'retry' button is added
  • SBBIcons updated

Deprecations

  • Initializing an SBB List Item with init(label: String, image: Image) or init(label: String, type: SBBListItemType) is deprecated and will be removed in a future version. image is replaced with leftImage and the right image (decided by SBBListItemType) can now be customized using rightImage.

SBBTabBar bugfix

24 Apr 07:54
457789f
Compare
Choose a tag to compare

SBBTabbar now keeps the Navigation persistence when switching Tab. Before it always jumped back to Root View.

SBBSegmentedPicker update

17 Apr 12:03
b8aac81
Compare
Choose a tag to compare

Updated the SBBSegmentedPicker according to the new design template

SBB Icons Enum

17 Apr 11:57
e4f34d1
Compare
Choose a tag to compare

Improvements

re-import the newest SBB Icons / SBB Pictos
All SBB Icons / SBB Pictos are now present inside the "SBBIconName.swift" enum. You can create an SBB Image with the init(sbbIcon: SBBIcon) initializer

Deprecations

Initializing an SBB Image with init(sbbName: String) or init(sbbName: String, size: SBBIconSize) is deprecated and will be removed in a future version

Breaking changes

Attention: certain icons have been renamed. Please check your code whether the used icon-string exists. Better: migrate to the new init(sbbIcon: SBBIcon) initializer

SBBTextField improvements

10 Mar 07:54
60581cd
Compare
Choose a tag to compare

Some SBBTextfields improvements:

  • Boxed available.
  • Clear button can be disabled.
  • Bottom line optional even in edit mode.