For latest changelogs check the releases page.
Added:
backpack-android
:- Added
size
property to change button size after creation
- Added
Fixed:
- backpack-android
- Fixed crash for loading button
Added:
- New
link
,primaryOnDark
andlinkOnDark
button styles - Deprecated
BpkButtonLink
in favour oflink
button style
Added:
- New
label3
typography 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
buttonStrokeColor
andbuttonStrokeColorPressed
theming properties - Replaced
Outline
type toPrimaryOnDark
forBpkButton
- Removed
BpkButtonWithIcon
base class
Updated:
BpkButton
design
Added:
PrimaryOnLight
type forBpkButton
Large
variant ofBpkButton
andBpkButtonLink
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
&getFont
to use a combinedTextStyle
value - Text styles now include line height & letter spacing
Added:
- New
BpkButton
component - New
focused
property forBpkCard
Added:
- Added new hero typography styles
Fixed:
- Updated xxl & xxxl text sizes
- Updated expanded nav bar text style to xxl emphasized
- Added
rounding
property toBpkStarRating
Fixed:
- Default
ContentAlpha
forBpkTheme
is1
- 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
BpkTextInputLayout
component for adding a label and/or error message or help text to an input field
Fixed:
- Updated SDK version to 31
- Updated
BpkBottomNav
unselected 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
contentDescription
for icon actions - Removed
setAction
andsetOnDismissed
Kotlin 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--emea
icons to their latest version
Fixed:
-
Updated
BpkButton
to match Design System:- Updated various colours
- Updated icon spacing + horizontal padding
- All caps property is now false
-
Updated
BpkDialog
to match Design System:- Updated flare radius to
12dp
- Updated flare radius to
-
Updated
BpkHorizontalNav
to match Design System:- Updated default text colour to primary text
- All caps property is now false
- Update icon spacing from
24dp
to16dp
and fixed icon alignment and tinting
-
Updated
BpkChip
to match Design System:- Updated icon spacing to
8dp
- Icon size updated from
24dp
to16dp
- Updated icon spacing to
-
Updated
BpkSwitch
to 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
BpkStarRating
andBpkStarRatingInteractive
- set the newaccessibilityStatus
attribute 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-ktx
version to 1.3.2 to fix test timeouts
Added:
- Lint check for component usage
Changed:
- Migrated to new Backpack Foundations packages,
@skyscanner/bpk-ios
and@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.applyDefaultsToContext
andBpkTheme.wrapContextWithDefaults
were removed in favour of using the base theme
Added:
- Added
ratingScale
property toBpkRating
to support a 0-5 scale
Fixed:
- Android Studio preview for components
- Updated colours for
BpkRating
component for better accessibility
Breaking:
minSdk
has been bumped to 24
Added:
- New
BpkSlider
component - New
car-door
icon
Fixed:
BpkButton
background changes wheniconPosition
property is updated
Added:
BpkNudger
component
Updated:
BpkRating
DM colours
Updated:
- Icons set
BpkDialog
design
Updated:
BpkRating
design
Updated:
BpkMapMarker
in selected state looks the same in all the cases
Breaking:
BpkCalendar
removedisRtl
property fromBpkCalendarController
Added:
BpkRadioButton
component
Breaking:
BpkDialog
- renamed
BpkDialog.Icon.colorRes
property toBpkDialog.Icon.color
BpkDialog.Icon.color
now accepts@ColorInt
instead of@ColorRes
- renamed
BpkBadge
- updated the design
- removed
bpkBadgeStyle
theme attribute - removed
android:includeFontPadding
attribute android:includeFontPadding
is set to true by default
Fixed:
BpkCalendar
- updated the design
Added:
- Custom Google Maps markers support
Fixed:
BpkDialog
border radius
Added:
BpkBottomSheet
Breaking:
- Removed
ViewPump
dependency - 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:
BpkRating
ratingOrientation
XML attribute has been renamed toratingStyle
BpkRating.Orientation
XML attribute has been renamed toBpkRating.Style
bpkBorderRadiusSm
has been changed from4dp
to8dp
BpkButton
radius has been changed from4dp
to8dp
BpkPanel
radius has been changed from4dp
to12dp
BpkCard
radius has been changed from4dp
to12dp
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_small
icon
Added:
BpkIcon
- New icon dimension –
sm
. - New icons:
bpk_account__female
bpk_beach
bpk_car_wash
bpk_cars_flexible
bpk_clean
bpk_clean_policy
bpk_cleaning_medical
bpk_collapse
bpk_education
bpk_electric
bpk_exclamation
bpk_explore
bpk_face_id
bpk_face_mask
bpk_fingerprint
bpk_flight_flexible
bpk_logout
bpk_pause
bpk_play
bpk_ppe
bpk_social_distancing
bpk_sort_down
bpk_sort_up
bpk_swap
bpk_virus
bpk_weather__clear
bpk_weather__cloudy
bpk_weather__fog
bpk_weather__partly_cloudy
bpk_weather__rain
bpk_weather__snow
bpk_weather__thunderstorm
bpk_weather__tornado
bpk_weather__wind
- New icon dimension –
Fixed:
- Improved vector assets support on
Android 5.X
for:BpkBottomNav
BpkChip
BpkFlare
BpkDialog
BpkHorizontalHav
BpkNavBar
BpkStarRating
BpkPanel
BpkSnackbar
- Updated samples using
BpkIcon
Added:
- Added
BpkOutlineChip
component.
Added:
- Added new
account--name
,ticket-flexible
andhotel-flexible
icons.
Added:
BpkBarChart
Added:
-
BpkCalendar
:- Added new
descriptionOnly
prop toHighlightedDay
.
- Added new
-
BpkChip
:- Added new
chipIcon
prop.
- Added new
Fixed:
BpkCalendar
- Added accessibility labels to
WeekDay
andMonth
views inBpkCalendar
. - Updated calendar pre defined cell styles to match latest design.
- Added accessibility labels to
Added:
BpkFlare
:- Added
flarePointerDirection
attribute withDOWN
andUP
options. - Added new
UP
option 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:
-
BpkHorizontalNav
setBadge()
method
Added:
BpkCalendar
:- Ability to add and remove
BpkCalendarScrollListener
scroll 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
monthFooterAdapter
attribute toBpkCalendarController
and newHighlightedDaysAdapter
to add a list of holidays to each month. - Added new
CalendarCellStyle.Highlight
style.
- Ability to add and remove
Fixed:
- Updated
bpk_hotels
icon.
Fixed:
BpkDialog
- fixed
setCanceledOnTouchOutside()
behaviour.
- fixed
Fixed:
- BpkCalendar
- Updated selected background colour.
Added:
BpkHorizontalNav
setNotificationDot()
method
Changed:
BpkBadge
- Made 'destructive' badges darker to match other platforms.
Added:
BpkSnackbar
- Title attribute
- Icon attribute
- Icon-only action.
BpkBottomNav
component.
Breaking:
- BpkCalendar
- Added pre defined
CalendarCellStyles
to standardize calendar colouring logic. ColoredBucket
constructor 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:
BpkLinkSpan
span.BpkText
now usesbpkPrimary
colour for links.- New elevation colours
- New black tints colours
-
Fixed:
bpkLine
color in the DMBpkPanel
border color in the DMBpkCard
elevation colour in the DMBpkTextField
text, hint and icon colours in the DMBpkStarRating
inactive star colour in the DMBpkText
colour tokensbpkBlackTint03
was renamed tobpkBlackTint05
- Fixed:
BpkCard
- Set default background to
bpkBackgroundTertiary
- Set default background to
BpkBadge
- Changed success, warning and error colours.
- Breaking:
- General
- Updated
AppCompat
to 1.1.0
- Updated
BpkText
drawableTint
is maintained now byAppCompat
library
- General
Fixed:
BpkBadge
- Fixed a crash when changing type in runtime.
Added:
- Add
bpkLine
semantic colour.
- Added:
BpkDialog
- New flare style
- Image property
-
Breaking:
- Button:
- removed
buttonCornerRadius
andbuttonAddElevation
attributes.
- removed
- Button:
-
Fixed:
- Button
- the text cut when changing the text to a larger one
- Button
- Added:
BpkNavBar
- Menu getter
-
Breaking:
BpkPageTitle
was removed.
-
Added:
BpkNavBar
- Menu and nav icon support.
BpkCalendar
- Disabled dates customisation
Fixed:
- Updated
bpk_cars
,bpk_flights
andbpk_hotels
icons.
-
Breaking:
Checkbox
text color cannot be set now viaandroid:textColor
attribute.Switch
text color cannot be set now viaandroid:textColor
attribute.
-
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
style
support.
- Fixed inline
Added:
-
BpkButton:
- Added
loading
(app:buttonLoading
in XML) property and loading style.
- Added
-
BpkIcon:
- Added file and printer icons
Breaking:
- Removed old brand colours.
Breaking:
- Rename
bpkSegano
colour tobpkSagano
.
Fixed:
- BpkButton
- Fixed default border radius.
Added:
compileSdk
andtargetSdk
updated to API 29- NEW BRAND COLOURS 🎉
Breaking:
- Updated all components to use new colours.
- Removed unused
Bpk.chip
style.
Added:
-
BpkCalendar
:calendarDateSelectedSameDayBackgroundColor
attribute
-
BpkIcon
:- Added
bpk_single_booking
- Added
-
BpkChip
:chipBackgroundColor
attribute
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:includeFontPadding
theme 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
CoordinatorLayout
in some cases.
Added:
- New colours added:
bpkTextPrimaryLight
bpkTextSecondaryLight
Added:
BpkPageTitle
Fixed:
-
Updated gray colours
gray50
,gray100
,gray200
,gray300
,gray400
,gray500
,gray700
,gray900
- Deprecated
gray600
andgray800
please 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
-
BpkText
now usesbpkGray900
as default text colour.
Breaking:
-
Removed themeable grey colours.
bpkGray50Color
bpkGray100Color
bpkGray300Color
bpkGray500Color
bpkGray700Color
bpkGray900Color
-
Removed function
BpkTheme.getColor
-
Changed API of
BpkSnackbar
to be consistent with materialSnackbar
.
Added:
BpkButton
- Stroke width now increases when pressed for Secondary, Destructive and Outlined buttons
- Added
buttonStrokeColourPressed
theme property.
Added:
BpkSnackbar
BpkDialog
now expands to full screen when it takes more than 75% of available height.
Fixed:
BpkDialog
content is now scrollable.
Breaking:
BpkIcon
:- Renamed
bpk_swap
tobpk_swap__horizontal
:
- Renamed
Added:
- Added
BpkFlare
component BpkIcon
:- Added
bpk_swap__vertical
- Added
Fixed:
- Bumped
androidx.appcompat:appcompat
to1.0.2
Fixed:
- Icons:
- Added
autoMirrored
props to the following icons:arrow-left
arrow-right
long-arrow-left
long-arrow-right
chevron-left
chevron-right
fast-track
list
media
native-android--back
native-android--forward
policy
share
star-half
swap
trend
trend--down
trend--steady
trend--will-rise
- Added
Fixed:
BpkInteractiveStarRating
resets its value when receiving cancel touch event.
Breaking:
BpkText
:- Removed deprecated
emphasized
prop. 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
gray700
by default.
- Removed deprecated
Added:
BpkRating
component.
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-takeoff
andaircraft
icons.
Fixed:
-
BpkInteractiveStarRating
- Listener is being invoked when rating set programmatically or when user finishes the interaction.
-
ButtonLink
- setting
buttonTextColor
to 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
:addActionButton
now accepts any view as argument.
Added:
- Added
BpkCheckbox
andBpkButtonLink
components. - Added
BpkFontSpan
andBpkPrimaryColorSpan
font spans.
Added:
BpkToast
Added:
-
BpkButton
- Primary and Featured buttons now have elevation by default
buttonAddElevation
attribute has no effect any more.
-
Added new component
BpkInteractiveStarRating
-
Icons:
- New
paid
,star-outline
icons - Updated
meal
,bar
,star
,star-half
media
icons
- 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_SCALE
is 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
applyTo
toBpkFontDefinition
andJvmStatic
annotation togetFont
.
- Added method
Updated:
- Updated icons
bpk_family
,bpk_heart
Added:
BpkStarRating
Added:
- Added the following new tokens/dimensions:
bpkTextBaseSize
bpkTextCapsSize
bpkTextLgSize
bpkTextSmSize
bpkTextXlSize
bpkTextXsSize
bpkTextXxlSize
bpkTextXxxlSize
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:
bpkGray50Color
bpkGray100Color
bpkGray300Color
bpkGray500Color
bpkGray700Color
bpkGray900Color
Breaking:
- Renamed
ThemesUtil
toBpkTheme
Breaking:
- Removed
ThemeOverlayEnforcement
class andbpkThemeOverlay
attributes.
Added:
BpkGradients
:- Added
bpkPrimaryGradientColorStart
andbpkPrimaryGradientColorEnd
theme props for thegetPrimary
function.
- Added
Added:
- BpkButton
- Added
buttonCornerRadius
andbuttonAddElevation
theme 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
BpkViewPumpContextWrapper
to wrapViewPump
functionality 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
BpkCalendar
to use the correct font definitions
Added:
- Added function
BpkText.getFont
to retrieve the current font definition programmatically
Added:
- BpkChip
- Added theming support to BpkChip
Fixed:
- BpkChip
- Fixed text theming for BpkChip
Added:
- Replaced
org.threeten:threetenbp
withcom.jakewharton.threetenabp:threetenabp
for date handling - BpkText
- Added theming support
Breaking:
- BpkCalendar
- Replaced
java.util.Date
andjava.util.Calendar
withJSR-310
date constructs (usingorg.threeten.bp.*
) - Added theming support
- Fixed
updateSelection
method 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
bpkThemeOverlay
to the list of attributes andThemeOverlayEnforcement
to 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
onClickListener
chip's state
- click listener was removed to avoid initialization problems if the chip is subclassed and the
-
class
BpkDismissableChip
was removed as it's not supported at the moment.
Added:
- Added function
updateContent
toBpkCalendarController
.
Added:
- Added
bpkPrimaryColor
theme property andThemeUtils.getPrimaryColor
function.- 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
hide
andeco-leaf
.
- BpkCalendar
- Selecting a new date after the end date has been selected now resets the range selection.
Added:
-
New icons
grid-layout
andsocial-like
. -
BpkSwitch
- New XML property
switchPrimaryColor
added. BpkSwitch
styles can now be changed globally by setting thebpkSwitchStyle
property in your current theme/style.
- New XML property
Added:
- New
bpk_social_like
icon. - New
dark
variant ofBpkBadge
- Added year indicator badge on
BpkCalendar
- Support for distribution via HockeyApp
Added:
-
New
bpk_speaker
icon. -
BpkCalendar
- Added ability to update the selected dates programmatically using
updateSelection
inBpkCalendarController
. - 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
drawableTint
on Android API < v23
Added:
- Added new component
BPKCalendar
- Drop support for Android API level 19 and 20
- Fixes a bug in
BpkButton
where button size was different when icon was present - Updates API for
BPKGradient
- Updates to Kotlin 1.3.10
Added
- Added new
outline
type toBpkButton
, which has white text and border on a transparent background. Designed to be used on coloured backgrounds.
Breaking:
- Text style changes:
XXL: from
36sp
to30sp
XXXL: from42sp
to36sp
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
cornerStyle
toBpkCardView
. See usage in README.md.
Added:
- Introducing BpkChip component. See usage in README.md.
Added:
- Added tokens for border sizes.
- Added
bpkElevationXxl
token.
Changed:
- Changed elevation token values. See https://backpack.github.io/tokens/shadows.
Fixed:
- Updated
bpk_send_message
icon.
Added:
- Introducing
BpkDialog
component. See usage in README.md.
Added:
- Added property
weight
toBpkText
and support for newheavy
weight.emphasize
is now deprecated. Useweight
instead.
- Type ramp changes for letter-spacing
- Fix RTL bug for
BPKButton
- Introducing the
BpkSwitch
component. See usage in README.md.
Added new icons:
bpk_call_back
bpk_end_call
bpk_keypad
bpk_mute
bpk_phone_call
bpk_send_message
bpk_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)