For latest changelogs check the releases page.
Added:
backpack-android:- Added
sizeproperty to change button size after creation
- Added
Fixed:
- backpack-android
- Fixed crash for loading button
Added:
- New
link,primaryOnDarkandlinkOnDarkbutton styles - Deprecated
BpkButtonLinkin favour oflinkbutton style
Added:
- New
label3typography style
Added:
- backpack-compose
- Added lint check for compose component usage
Fixed:
- Common
- Publish all three packages under a single version
- backpack-compose
- Upgraded backpack-compose to production ready
- Removed horizontal link Button padding
Breaking:
- Removed
buttonStrokeColorandbuttonStrokeColorPressedtheming properties - Replaced
Outlinetype toPrimaryOnDarkforBpkButton - Removed
BpkButtonWithIconbase class
Updated:
BpkButtondesign
Added:
PrimaryOnLighttype forBpkButtonLargevariant ofBpkButtonandBpkButtonLink
Breaking:
- Remove deprecated text API
- Removed old text styles & token
- Removed Relative theme
Breaking:
- Upgraded to the new typography system
- Deprecated old size scale & weight
- Mapped deprecated styles to new consolidated style:
- CAPS regular & emphasized, XS emphasized -> Caption
- XL heavy -> Heading 3
- XXL regular & heavy -> Heading 2
- XXXL regular & heavy -> Heading 1
- Updated text style + weight property on
BpkText,BpkFontSpan&getFontto use a combinedTextStylevalue - Text styles now include line height & letter spacing
Added:
- New
BpkButtoncomponent - New
focusedproperty forBpkCard
Added:
- Added new hero typography styles
Fixed:
- Updated xxl & xxxl text sizes
- Updated expanded nav bar text style to xxl emphasized
- Added
roundingproperty toBpkStarRating
Fixed:
- Default
ContentAlphaforBpkThemeis1 - Card default elevation is
xm - Updated hero and heading 1 text styles
- Initial release
Updated:
- Calendar 1 is deprecated in a favour of Calendar 2.
- Calendar 2 is not experimental anymore.
Fixed:
- Updated text secondary dark colour to
skyGrayTint04 - Updated letter spacing logic
Added:
- New icon set "Self-serve pick-up", with sm and lg icons.
Added:
- New
BpkTextInputLayoutcomponent for adding a label and/or error message or help text to an input field
Fixed:
- Updated SDK version to 31
- Updated
BpkBottomNavunselected colour to improve accessibility
Fixed:
- Updated world icons
Fixed:
- Removed dependency onto
backpack-common
Breaking:
- BpkSnackbar
- Increased Snackbar duration to 30 seconds when screen-reader is enabled
- Add
contentDescriptionfor icon actions - Removed
setActionandsetOnDismissedKotlin extension functions - use same named member functions instead
Fixed:
- Fixed an issue with Calendar2, where current months with less days than the current day were incorrectly formatted to the next month.
Added:
-
BpkSwitch:- Story with formatted label
- Example in docs with formatted label
-
Lint check for colour usage
Fixed:
- Updated
world--amer,world--apac,world--emeaicons to their latest version
Fixed:
-
Updated
BpkButtonto match Design System:- Updated various colours
- Updated icon spacing + horizontal padding
- All caps property is now false
-
Updated
BpkDialogto match Design System:- Updated flare radius to
12dp
- Updated flare radius to
-
Updated
BpkHorizontalNavto match Design System:- Updated default text colour to primary text
- All caps property is now false
- Update icon spacing from
24dpto16dpand fixed icon alignment and tinting
-
Updated
BpkChipto match Design System:- Updated icon spacing to
8dp - Icon size updated from
24dpto16dp
- Updated icon spacing to
-
Updated
BpkSwitchto match Design System:- Updated track checked colour to sky blue tint 03
- Updated unchecked thumb colour to sky white
- Updated dark unchecked track colour to black tint 3
Fixed:
- Publish public dependencies with library
Breaking:
- Now publishing on Maven Central
Added:
- Accessibility support for
BpkStarRatingandBpkStarRatingInteractive- set the newaccessibilityStatusattribute for better announcements.
Fixed:
- Updated font definition for relative theme
Breaking:
- Removed separation of internal & OSS variant. Custom font now needs to be provided by app
Fixed:
- Downgraded
core-ktxversion to 1.3.2 to fix test timeouts
Added:
- Lint check for component usage
Changed:
- Migrated to new Backpack Foundations packages,
@skyscanner/bpk-iosand@skyscanner/bpk-svgs. - Updated icons to newer versions.
Breaking:
- New app theming behaviour
- Backpack now provides a base theme to be extended by the application
BpkTheme.applyDefaultsToContextandBpkTheme.wrapContextWithDefaultswere removed in favour of using the base theme
Added:
- Added
ratingScaleproperty toBpkRatingto support a 0-5 scale
Fixed:
- Android Studio preview for components
- Updated colours for
BpkRatingcomponent for better accessibility
Breaking:
minSdkhas been bumped to 24
Added:
- New
BpkSlidercomponent - New
car-dooricon
Fixed:
BpkButtonbackground changes wheniconPositionproperty is updated
Added:
BpkNudgercomponent
Updated:
BpkRatingDM colours
Updated:
- Icons set
BpkDialogdesign
Updated:
BpkRatingdesign
Updated:
BpkMapMarkerin selected state looks the same in all the cases
Breaking:
BpkCalendarremovedisRtlproperty fromBpkCalendarController
Added:
BpkRadioButtoncomponent
Breaking:
BpkDialog- renamed
BpkDialog.Icon.colorResproperty toBpkDialog.Icon.color BpkDialog.Icon.colornow accepts@ColorIntinstead of@ColorRes
- renamed
BpkBadge- updated the design
- removed
bpkBadgeStyletheme attribute - removed
android:includeFontPaddingattribute android:includeFontPaddingis set to true by default
Fixed:
BpkCalendar- updated the design
Added:
- Custom Google Maps markers support
Fixed:
BpkDialogborder radius
Added:
BpkBottomSheet
Breaking:
- Removed
ViewPumpdependency - Removed
BpkInterceptor,BpkViewPumpContextWrapper,ElevationInterceptor,SpacingInterceptor
Updated:
BpkTextField- New design.
BpkCalendar- Multiline labels support
Added:
BpkCalendar- New functionality – labels for each cell.
Added:
BpkChip- New property –
chipDisabledBackgroundColor - New property –
chipTextColor
- New property –
Fixed:
BpkChip- Updated the designs
Breaking:
BpkRatingratingOrientationXML attribute has been renamed toratingStyleBpkRating.OrientationXML attribute has been renamed toBpkRating.Style
bpkBorderRadiusSmhas been changed from4dpto8dpBpkButtonradius has been changed from4dpto8dpBpkPanelradius has been changed from4dpto12dpBpkCardradius has been changed from4dpto12dp
Added:
BpkRating- New style –
pill
- New style –
Added:
BpkOverlay
Added:
BpkButton- Type can now be changed programmatically.
Fixed:
BpkStarRating- Half-star icon is now not filled
- Colours update
- Empty icon is now outline
Breaking:
- Updated icons
- Removed:
bpk_close_smallicon
Added:
BpkIcon- New icon dimension –
sm. - New icons:
bpk_account__femalebpk_beachbpk_car_washbpk_cars_flexiblebpk_cleanbpk_clean_policybpk_cleaning_medicalbpk_collapsebpk_educationbpk_electricbpk_exclamationbpk_explorebpk_face_idbpk_face_maskbpk_fingerprintbpk_flight_flexiblebpk_logoutbpk_pausebpk_playbpk_ppebpk_social_distancingbpk_sort_downbpk_sort_upbpk_swapbpk_virusbpk_weather__clearbpk_weather__cloudybpk_weather__fogbpk_weather__partly_cloudybpk_weather__rainbpk_weather__snowbpk_weather__thunderstormbpk_weather__tornadobpk_weather__wind
- New icon dimension –
Fixed:
- Improved vector assets support on
Android 5.Xfor:BpkBottomNavBpkChipBpkFlareBpkDialogBpkHorizontalHavBpkNavBarBpkStarRatingBpkPanelBpkSnackbar
- Updated samples using
BpkIcon
Added:
- Added
BpkOutlineChipcomponent.
Added:
- Added new
account--name,ticket-flexibleandhotel-flexibleicons.
Added:
BpkBarChart
Added:
-
BpkCalendar:- Added new
descriptionOnlyprop toHighlightedDay.
- Added new
-
BpkChip:- Added new
chipIconprop.
- Added new
Fixed:
BpkCalendar- Added accessibility labels to
WeekDayandMonthviews inBpkCalendar. - Updated calendar pre defined cell styles to match latest design.
- Added accessibility labels to
Added:
BpkFlare:- Added
flarePointerDirectionattribute withDOWNandUPoptions. - Added new
UPoption toflareInsetPaddingMode.
- Added
- Breaking:
This release is to ratify an error in version 22.3.0.
This version was breaking as we removed onYearChanged method from BpkCalendar and classes overriding would break.
-
Added:
-
BpkHorizontalNavsetBadge()method
Added:
BpkCalendar:- Ability to add and remove
BpkCalendarScrollListenerscroll listeners of the calendar withaddScrollListener, andremoveScrollListener - Ability to scroll to a specific position programmatically (with y offset) with
setSelectionFromTop(position: Int, y: Int = 0) - Added new
monthFooterAdapterattribute toBpkCalendarControllerand newHighlightedDaysAdapterto add a list of holidays to each month. - Added new
CalendarCellStyle.Highlightstyle.
- Ability to add and remove
Fixed:
- Updated
bpk_hotelsicon.
Fixed:
BpkDialog- fixed
setCanceledOnTouchOutside()behaviour.
- fixed
Fixed:
- BpkCalendar
- Updated selected background colour.
Added:
BpkHorizontalNavsetNotificationDot()method
Changed:
BpkBadge- Made 'destructive' badges darker to match other platforms.
Added:
BpkSnackbar- Title attribute
- Icon attribute
- Icon-only action.
BpkBottomNavcomponent.
Breaking:
- BpkCalendar
- Added pre defined
CalendarCellStylesto standardize calendar colouring logic. ColoredBucketconstructor was changed to useCalendarCellStyles.
- Added pre defined
Fixed:
-
BpkNavBar- Fixed collapsed style for dark mode.
-
BpkCalendar- Fixed line colour and disabled dates text colour for dark mode.
-
Added:
BpkLinkSpanspan.BpkTextnow usesbpkPrimarycolour for links.- New elevation colours
- New black tints colours
-
Fixed:
bpkLinecolor in the DMBpkPanelborder color in the DMBpkCardelevation colour in the DMBpkTextFieldtext, hint and icon colours in the DMBpkStarRatinginactive star colour in the DMBpkTextcolour tokensbpkBlackTint03was renamed tobpkBlackTint05
- Fixed:
BpkCard- Set default background to
bpkBackgroundTertiary
- Set default background to
BpkBadge- Changed success, warning and error colours.
- Breaking:
- General
- Updated
AppCompatto 1.1.0
- Updated
BpkTextdrawableTintis maintained now byAppCompatlibrary
- General
Fixed:
BpkBadge- Fixed a crash when changing type in runtime.
Added:
- Add
bpkLinesemantic colour.
- Added:
BpkDialog- New flare style
- Image property
-
Breaking:
- Button:
- removed
buttonCornerRadiusandbuttonAddElevationattributes.
- removed
- Button:
-
Fixed:
- Button
- the text cut when changing the text to a larger one
- Button
- Added:
BpkNavBar- Menu getter
-
Breaking:
BpkPageTitlewas removed.
-
Added:
BpkNavBar- Menu and nav icon support.
BpkCalendar- Disabled dates customisation
Fixed:
- Updated
bpk_cars,bpk_flightsandbpk_hotelsicons.
-
Breaking:
Checkboxtext color cannot be set now viaandroid:textColorattribute.Switchtext color cannot be set now viaandroid:textColorattribute.
-
Added:
- Dark Mode support for
Checkbox - Dark Mode support for
Switch - Dark Mode support for
StarRating - Dark Mode support for
InteractiveStarRating - Dark Mode support for
HorizontalNav - Disabled state support for
Checkbox - Semantic color support for
bpkPrimaryColor
- Dark Mode support for
Breaking:
-
The library reacts to the Dark Mode now
-
Added:
- New semantic colours and the palette for the Dark Mode support
- Dark Mode support for icons
- Dark Mode support for
Badge - Dark Mode support for
Button - Dark Mode support for
ButtonLink - Dark Mode support for
Card - Dark Mode support for
Calendar - Dark Mode support for
Chip - Dark Mode support for
Dialog - Dark Mode support for
Flare - Dark Mode support for
PageTitle - Dark Mode support for
Panel - Dark Mode support for
Rating - Dark Mode support for
Snackbar - Dark Mode support for
Text - Dark Mode support for
TextField - Dark Mode support for
Toast
Fixed:
- BpkSpinner
- Fixed inline
stylesupport.
- Fixed inline
Added:
-
BpkButton:
- Added
loading(app:buttonLoadingin XML) property and loading style.
- Added
-
BpkIcon:
- Added file and printer icons
Breaking:
- Removed old brand colours.
Breaking:
- Rename
bpkSeganocolour tobpkSagano.
Fixed:
- BpkButton
- Fixed default border radius.
Added:
compileSdkandtargetSdkupdated to API 29- NEW BRAND COLOURS 🎉
Breaking:
- Updated all components to use new colours.
- Removed unused
Bpk.chipstyle.
Added:
-
BpkCalendar:calendarDateSelectedSameDayBackgroundColorattribute
-
BpkIcon:- Added
bpk_single_booking
- Added
-
BpkChip:chipBackgroundColorattribute
Fixed:
-
BpkCalendar:- Height calculation of range selection
- Increased
rowheight - Default font weight is
emphasized - Removed today marking circle
- Changed the day's colour appearance
-
BpkChip:- Default font weight is
emphasized - Default font color is
bpkTextPrimaryLight - Default background color is
bpkGray50 - Removed elevation
- Default font weight is
Added:
BpkBadge- Added theme support
- Added
android:includeFontPaddingtheme property
Fixed:
- Switch
- Updated selected track colour to match platform standards.
Fixed:
-
BpkTextEdit- Changed text size from SM to BASE.
-
BpkPageTitle- Fixed wrong title alignment on RTL.
- Fixed wrong scrolling behaviour of
CoordinatorLayoutin some cases.
Added:
- New colours added:
bpkTextPrimaryLightbpkTextSecondaryLight
Added:
BpkPageTitle
Fixed:
-
Updated gray colours
gray50,gray100,gray200,gray300,gray400,gray500,gray700,gray900- Deprecated
gray600andgray800please update as these will be removed in the future. - For these tokens please use either one token above or below your current value to suit your needs.
- Deprecated
-
Updated icon borders to utilise updated gray color
-
BpkTextnow usesbpkGray900as default text colour.
Breaking:
-
Removed themeable grey colours.
bpkGray50ColorbpkGray100ColorbpkGray300ColorbpkGray500ColorbpkGray700ColorbpkGray900Color
-
Removed function
BpkTheme.getColor -
Changed API of
BpkSnackbarto be consistent with materialSnackbar.
Added:
BpkButton- Stroke width now increases when pressed for Secondary, Destructive and Outlined buttons
- Added
buttonStrokeColourPressedtheme property.
Added:
BpkSnackbarBpkDialognow expands to full screen when it takes more than 75% of available height.
Fixed:
BpkDialogcontent is now scrollable.
Breaking:
BpkIcon:- Renamed
bpk_swaptobpk_swap__horizontal:
- Renamed
Added:
- Added
BpkFlarecomponent BpkIcon:- Added
bpk_swap__vertical
- Added
Fixed:
- Bumped
androidx.appcompat:appcompatto1.0.2
Fixed:
- Icons:
- Added
autoMirroredprops to the following icons:arrow-leftarrow-rightlong-arrow-leftlong-arrow-rightchevron-leftchevron-rightfast-tracklistmedianative-android--backnative-android--forwardpolicysharestar-halfswaptrendtrend--downtrend--steadytrend--will-rise
- Added
Fixed:
BpkInteractiveStarRatingresets its value when receiving cancel touch event.
Breaking:
BpkText:- Removed deprecated
emphasizedprop. You should useweight="emphasized"now. - Introduced theme variables for all text styles. Those can be used to theme native components with Backpack's text style via code or
xml. - Previous text styles (e.g
@style/bpkTextBase) should not be directly used any more. - Text colour is now
gray700by default.
- Removed deprecated
Added:
BpkRatingcomponent.
Fixed:
BpkButton,BpkButtonLink- fixed icons alignment when text is too long.
BpkTextField- open for extension
Added:
BpkTextField
Breaking:
BpkFab:- Changed base class to
FloatingActionButton
- Changed base class to
Added:
- New
flight-landing,flight-takeoffandaircrafticons.
Fixed:
-
BpkInteractiveStarRating- Listener is being invoked when rating set programmatically or when user finishes the interaction.
-
ButtonLink- setting
buttonTextColorto white now works.
- setting
Fixed:
BpkButton- Fixed icon only buttons to be always round.
Added:
BpkHorizontalNav
Fixed:
BpkInteractiveStarRating- Fixed multiple listener invocations with the same values.
Added:
BpkDialog:addActionButtonnow accepts any view as argument.
Added:
- Added
BpkCheckboxandBpkButtonLinkcomponents. - Added
BpkFontSpanandBpkPrimaryColorSpanfont spans.
Added:
BpkToast
Added:
-
BpkButton
- Primary and Featured buttons now have elevation by default
buttonAddElevationattribute has no effect any more.
-
Added new component
BpkInteractiveStarRating -
Icons:
- New
paid,star-outlineicons - Updated
meal,bar,star,star-halfmediaicons
- New
Fixed:
BpkButton:- Elevation is now disabled for API 21 as it causes native crashes in some edge cases.
Fixed:
BpkButton:- Fixed a native crash on Galaxy S4 in some places
Fixed:
BpkCalendar:- Fixed rendering of passed weeks before current week in month.
- Fixed invalid days of the week on some rare circumstances.
Added:
BpkFab
Fixed:
BpkSpinner:- Disable spinner animation when
Global.ANIMATOR_DURATION_SCALEis 0. This ensures it doesn't cause timeouts in Espresso tests.
- Disable spinner animation when
Added:
- Added new smiley icons face--blank, face--happy, face--sad.
Updated:
- Updated world and heart icons.
Updated:
- Updated icons
bpk_heart__outline
Added:
- Added new icons
bpk_filter,bpk_heart__outline,bpk_trend__down,bpk_trend__steady,bpk_trend__will_rise,bpk_world__amer,bpk_world__apac,bpk_world__emea BpkText:- Added method
applyTotoBpkFontDefinitionandJvmStaticannotation togetFont.
- Added method
Updated:
- Updated icons
bpk_family,bpk_heart
Added:
BpkStarRating
Added:
- Added the following new tokens/dimensions:
bpkTextBaseSizebpkTextCapsSizebpkTextLgSizebpkTextSmSizebpkTextXlSizebpkTextXsSizebpkTextXxlSizebpkTextXxxlSize
Fixed:
BpkPanel- Added missing rounding corners
Changed:
BpkSwitch- Changed theming approach to not rely on constructor's default arguments.
Fixed:
BpkButton:- Fixed theming for stroke color.
Added:
- Added the following themeable props:
bpkGray50ColorbpkGray100ColorbpkGray300ColorbpkGray500ColorbpkGray700ColorbpkGray900Color
Breaking:
- Renamed
ThemesUtiltoBpkTheme
Breaking:
- Removed
ThemeOverlayEnforcementclass andbpkThemeOverlayattributes.
Added:
BpkGradients:- Added
bpkPrimaryGradientColorStartandbpkPrimaryGradientColorEndtheme props for thegetPrimaryfunction.
- Added
Added:
- BpkButton
- Added
buttonCornerRadiusandbuttonAddElevationtheme props
- Added
Fixed:
- BpkCalendar
- Changed changed background color to transparent.
- Removed synthetic imports.
Fixed:
- BpkButton
- Fixed icon alignment and size.
- Adjusted style to match current RN implementation.
Added:
- Added
BpkViewPumpContextWrapperto wrapViewPumpfunctionality and disabled it for Android Q.
Changed:
- Redesigned icons
bpk_alert__active,bpk_alert__add,bpk_alert__expired,bpk_alert__remove,bpk_price_alerts.
Fixed:
- Fixed text theming for buttons, calendar and badge
- Fixed
BpkCalendarto use the correct font definitions
Added:
- Added function
BpkText.getFontto retrieve the current font definition programmatically
Added:
- BpkChip
- Added theming support to BpkChip
Fixed:
- BpkChip
- Fixed text theming for BpkChip
Added:
- Replaced
org.threeten:threetenbpwithcom.jakewharton.threetenabp:threetenabpfor date handling - BpkText
- Added theming support
Breaking:
- BpkCalendar
- Replaced
java.util.Dateandjava.util.CalendarwithJSR-310date constructs (usingorg.threeten.bp.*) - Added theming support
- Fixed
updateSelectionmethod for single selection
- Replaced
Fixed:
- BpkCalendar now works with
height=wrap_content
Added:
- BpkSpinner
- Added theming support
Added:
-
BpkCalendar
- Added ability to set the selected colour when using a
ColorBucket - The week header now respects the locale to pick the first day of the week
- Added ability to set the selected colour when using a
-
Added
bpkThemeOverlayto the list of attributes andThemeOverlayEnforcementto allow controlling themes during runtime.
Added:
- Added animation tokens.
- Removed all logic related to the RN bridge from BpkCalendar
Fixed:
- Fix calendar year pill to show when the start date is in the past/future and to work in the RN bridge.
Breaking:
- Added theme support to
BpkButton.
Breaking:
- Added single selection to
BpkCalendar.
Breaking:
-
BpkChip now does not add a click listener by default any more, and now is up to users to add it.
- click listener was removed to avoid initialization problems if the chip is subclassed and the
onClickListenerchip's state
- click listener was removed to avoid initialization problems if the chip is subclassed and the
-
class
BpkDismissableChipwas removed as it's not supported at the moment.
Added:
- Added function
updateContenttoBpkCalendarController.
Added:
- Added
bpkPrimaryColortheme property andThemeUtils.getPrimaryColorfunction.- These should be used in place of
bpkBlue500.
- These should be used in place of
Breaking:
- Added support for color markers in BpkCalendar
Added:
- New icons
hideandeco-leaf.
- BpkCalendar
- Selecting a new date after the end date has been selected now resets the range selection.
Added:
-
New icons
grid-layoutandsocial-like. -
BpkSwitch- New XML property
switchPrimaryColoradded. BpkSwitchstyles can now be changed globally by setting thebpkSwitchStyleproperty in your current theme/style.
- New XML property
Added:
- New
bpk_social_likeicon. - New
darkvariant ofBpkBadge - Added year indicator badge on
BpkCalendar - Support for distribution via HockeyApp
Added:
-
New
bpk_speakericon. -
BpkCalendar
- Added ability to update the selected dates programmatically using
updateSelectioninBpkCalendarController. - BpkCalendar can now be extended.
- Internal changes to allow usage from React Native.
- Added ability to update the selected dates programmatically using
Added:
- Support for highlighting backpack components
Fixed:
- Darken text and icon on press along with the background on
BpkButton - Support
drawableTinton Android API < v23
Added:
- Added new component
BPKCalendar
- Drop support for Android API level 19 and 20
- Fixes a bug in
BpkButtonwhere button size was different when icon was present - Updates API for
BPKGradient - Updates to Kotlin 1.3.10
Added
- Added new
outlinetype toBpkButton, which has white text and border on a transparent background. Designed to be used on coloured backgrounds.
Breaking:
- Text style changes:
XXL: from
36spto30spXXXL: from42spto36sp
| Font size | Old value | New value |
|---|---|---|
| XXL | 36pt |
30pt |
| XXXL | 42pt |
36pt |
Fixed:
- Revert elevation tokens changes released in 1.3.0.
Added:
- Added new property
cornerStyletoBpkCardView. See usage in README.md.
Added:
- Introducing BpkChip component. See usage in README.md.
Added:
- Added tokens for border sizes.
- Added
bpkElevationXxltoken.
Changed:
- Changed elevation token values. See https://backpack.github.io/tokens/shadows.
Fixed:
- Updated
bpk_send_messageicon.
Added:
- Introducing
BpkDialogcomponent. See usage in README.md.
Added:
- Added property
weighttoBpkTextand support for newheavyweight.emphasizeis now deprecated. Useweightinstead.
- Type ramp changes for letter-spacing
- Fix RTL bug for
BPKButton
- Introducing the
BpkSwitchcomponent. See usage in README.md.
Added new icons:
bpk_call_backbpk_end_callbpk_keypadbpk_mutebpk_phone_callbpk_send_messagebpk_unmute
Introducing BpkSpinner component. See usage in README.md.
Update build tools to 28.0.3.
Bump Kotlin version to 1.2.71
New component BpkCardView
Fixes a bug to set button state from code
Change button API to accept icon and iconPosition.
Adds backpack icons to resources
Fix artifacts publishing
Changes the dependency signature from com.github.Skyscanner:backpack-android to com.github.skyscanner:backpack-android.
Fixes a bug which prevented release artifacts from being uploaded.
Introducing BpkBadge and BpkPanel component.
Introducing BpkGradients. See usage in README.md.
Adds Backpack text styles. See the full list in the README.md.
Usage:
<TextView
style="@style/bpkTextSm" />Adds Backpack radii tokens. See the full list in the README.md.
Usage:
<corners android:radius="@dimen/bpkBorderRadiusXl" />Adds Backpack elevation tokens. See the full list in the README.md.
Usage:
android:elevation="@dimen/bpkElevationXs"Update project id to "net.skyscanner.backpack"
Initial release of Backpack for Android featuring color tokens. Usage
<style name="AppTheme.Backpack" color="@color/bpkBlue500" />Dummy release to test, release automation. (not available for download)