Skip to content

Releases: hmrc/android-components

3.14.2

26 May 10:59
c964b76
Compare
Choose a tag to compare

Added

  • Added isScreenReaderEnabled() extension for Context in ContextExt.kt
  • Added dpToPx() extension for Float in FloatExtensions.kt

Changed

  • Improved announcement of errors for TextInputView

3.14.1

21 May 09:01
f756a40
Compare
Choose a tag to compare

Changed

  • Improved content description for TextInputView to prevent duplicating error announcements when counter is exceeded.

3.14.0

17 May 12:01
142e69c
Compare
Choose a tag to compare

Added

  • Added new methods to set click listeners and custom click content descriptions to each text view inside MultiColumnRowView:
    setText1ClickAction(clickDescription: CharSequence? = null, listener: OnClickListener),
    setText2ClickAction(clickDescription: CharSequence? = null, listener: OnClickListener),
    setText3ClickAction(clickDescription: CharSequence? = null, listener: OnClickListener)

Changed

  • Fixed typo in method name inside MultiColumnRowView:
    setTextContentDescription(desc1: CharSequence?, desc2: CharSequence?, desc3: CharSequence?)

Removed

  • Removed setTextIsSelectable method and xml attributes text1IsSelectable, text2IsSelectable and text3IsSelectable from MultiColumnRowView

3.13.0

10 May 10:00
Compare
Choose a tag to compare

Added

  • Added ability to set error content descriptions on TextInputView

Changed

  • Improved content description for TextInputView to announce the error and counter status along with the hint on talkback.
  • Upgrade target and compile sdk versions to 30
  • Upgrade Gradle plugin to 4.1.3
  • Upgrade Kotlin version to 1.4.20
  • Upgrade Karumi shot version to 5.7.0
  • Upgrade android x annotation version to 1.2.0
  • Upgrade constraint layout version to 2.0.4
  • Upgrade material version to 1.3.0
  • Upgrade junit version to 4.13
  • Upgrade dependencies used in sample app: app compat to 1.2.0, recyclerview to 1.2.0

3.12.0

30 Apr 09:56
Compare
Choose a tag to compare

Changed

  • Updated MenuPanelRowView touch state colour

3.11.0

13 Apr 15:49
Compare
Choose a tag to compare

Added

  • Added body text for InformationMessageCardView

3.10.0

07 Apr 10:10
318152a
Compare
Choose a tag to compare
  • Changed to Github packages for artefact storage.

3.9.0

01 Mar 17:28
Compare
Choose a tag to compare

Added

  • Added ability for InformationMessageCardView to add a custom content description to headline

3.8.0

04 Feb 11:38
Compare
Choose a tag to compare

Changed

  • Updated the color of all text hints from black to grey 1
  • Removed content area from InformationMessageCardView

3.7.0

21 Jan 16:36
Compare
Choose a tag to compare

Changed

  • Renamed InformationMessageCardView functions: addHeadlineButtons() -> setHeadlineButtons(), addContentButtons() -> setContentButtons()
  • setHeadlineButtons() and setContentButtons() now clear existing buttons before adding new ones.