All notable changes done in ODS library will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- [App] Generalize code implementation section for all components (#501)
- [App] Use Orange placeholder images (#522)
- [App] Fix a bug where avatar have a default image (#504)
- [App] Fix highest emphasis buttons background color (#513)
0.12.0 - 2023-04-06
- [App] Add component search feature (#16)
- [App] Add modal drawers component (#112)
- [Lib] Add
OdsModalDrawer
component (#112) - [Lib] Add
OdsIconToggleButtonsRow
composable to display a group of toggle buttons (#484)
- [App] Update foods content
- [App] Rename application ID to
com.orange.ods.app
and replacedemo
withapp
in the project (#469) - [App] Update application name (#474)
- [App] Remove copyright text in the about screen (#486)
- [App] Update search with guidelines (#478)
- [App] Update chips variants in order to have "Action chips", "Choice chips" and "Input chips" in the chips detail screen (#494)
- [App] Split buttons and icons buttons in two different components (#484)
- [Lib] Encapsulate a
MaterialTheme
in theOdsTheme
to take directly benefits of colors set in Jetpack Compose SDK (#430) - [Lib] Update
OdsIconToggleButton
which displays a single icon button with two states. UseOdsIconToggleButtonsRow
to display a group of toggle buttons (#484) - [ThemeConfigurationContract] Change colors contract by respectively grouping Material, functional and components colors in
materialColors
,functionalColors
andcomponentColors
properties ofOdsColors
(#430)
- [App] Fix accessibility bug where content change on chip type selection was not read by TalkBack (#332)
- [App] Fix accessibility bug where text fields error messages were not read by TalkBack on state change (#359)
- [App] Fix crash on scrolling in guideline colors screen (#477)
- [App] Fix a bug where the customization bottom sheet did not expand automatically in tabs component demo (#458)
- [Doc] Fix a bug where documentation is displayed several times on the same page (#457)
- [Lib] Implement workaround by adding content description to
OdsOutlinedTextField
in order to allow TalkBack to focus this type of text field (#359) - [Lib] Fix a bug where image height is wrong in some cases in
OdsHorizontalCard
(#445) - [Lib] Fix a bug where selected text in modal drawer is bold (#502)
0.11.1 - 2023-03-10
- [App] Fix security vulnerability in the Manifest (#463)
0.11.0 - 2023-03-03
- [App] Add banner component (#115)
- [App] Add label for FAB size customization (#413)
- [App] Add bottom sheet component (#360)
- [Lib] Add
OdsBottomSheetScaffold
component (#360) - [Lib] Add
OdsHorizontalCard
component (#35) - [Lib] Add
OdsBanner
component (#115)
- [Lib] Add label, current value and icon parameters to
OdsLinearProgressIndicator
component to display text and/or icon above the indicator, and the current value below if necessary (#362) - [Lib] Add label parameter to
OdsCircularProgressIndicator
component to display a text below the indicator (#362) - [Lib] Rename
OdsTitleFirstCard
andOdsImageFirstCard
respectively intoOdsVerticalHeaderFirstCard
andOdsVerticalImageFirstCard
(#432)
- [App] Update application name and description in about page (#419)
- [App] Fix accessibility bug by preventing TalkBack to read the linear progress value twice (#441)
- [App] Keep same bottom sheet height when content or not (#447)
0.10.0 - 2023-02-07
- [App] Add new entries in about screen (#403)
- [Lib] Add
OdsFloatingActionButton
andOdsExtendedFloatingActionButton
components (#109) - [Lib] Add
OdsListItem
composable signature with anOdsListItemTrailing
as trailing parameter in order to manage accessibility (#387) - [Lib] Add
OdsDropdownMenu
andOdsExposedDropdownMenu
composables and related documentation (#111) - [ThemeConfigurationContract] Add
textFieldStyle
boolean in the theme contract to allow to choose between outlined or filled text fields in a custom theme (#415)
- [All] Upgrade dependencies (#401)
- [App] Display food content (#388)
- [App] Use
Enabled
wording in customization bottom sheets to be consistent with the code implementation (#395) - [App] Update structure of JSON file for recipes (#385)
- [Doc] Update documentation home content for Jetpack Compose integration (#409)
- [ThemeConfigurationContract]
OdsComponentCustomizations
has been renamed intoOdsComponentsConfiguration
(#415)
- [App] In buttons screens, group lines of code into one vocalisation (#392)
- [App] Fix an accessibility bug where icon buttons were not focusable with TalkBack (#393)
- [App] Fix list item selection controls trailing vocalization: Checkboxes, Switches and Radio Buttons in lists (#387)
- [App] Screens in about section now use current theme colors (#390)
- [App] Fix crash when exiting the fixed tabs screen (#418)
- [Lib] Fix cards vocalization when clickable (#391)
- [All]
OdsOutlinedTextfield
andOdsPasswordOutlinedTextField
have been removed and replaced byOdsTextField
andOdsPasswordTextField
. Text fields appearance (outlined or filled) is now managed by the theme configuration. (#415)
0.9.0 - 2023-01-06
- [App] Add
OdsIconButton
demo (#294) - [Lib] Add
OdsTopAppBarOverflowMenuBox
andOdsDropdownMenu
composables to display an overflow menu in the top app bar (#349) - [Lib] Add
enabled
extension method on ComposeColor
(#314)
- [App] Change buttons screens by removing style customization and adding a code implementation section (#339)
- [App] Display black and white illustrations for non Orange themes (#386)
- [Doc] Use ODS Jekyll theme header to display favicons on documentation github pages (#370)
- [Lib] Replace
tint
parameter ofOdsIconButton
composable methods bydisplaySurface
(#294)
- [App] Fix list item trailing icon vocalization and display (#337)
- [App] Fix a bug where dark mode did not work properly in about screens on Android 13 (#375)
- [Lib] Fix top app bar overflow menu colors (#349)
- [Lib]
OdsSmallCard
title is now single line and truncated if needed (#302) - [Lib] Fix a bug where password was not hidden in
OdsTextField
andOdsOutlinedTextField
(#376) - [Lib] Fix a bug where visualisation icon was still clickable in disabled state of
OdsTextField
andOdsOutlinedTextField
(#376)
0.8.0 - 2022-12-07
- [All] Add
NOTICE.txt
file (#356) - [App] Save the user theme selection in order to reopen the app with this theme #335
- [App] Add Snackbar component (#114)
- [App] Display an error message below text fields if customization error switch is on (#338)
- [Lib] Add
OdsSnackbar
andOdsSnackbarHost
composable to manage snackbars display (#114) - [Lib] Add
errorMessage
parameter toOdsTextField
,OdsOutlinedTextField
,OdsPasswordTextField
andOdsPasswordOutlinedTextField
to allow the display of an error message below text fields (#338) - [Lib] Add
characterCounter
parameter toOdsTextField
,OdsOutlinedTextField
,OdsPasswordTextField
andOdsPasswordOutlinedTextField
to allow the display of a character counter below text fields (#338) - [ThemeConfigurationContract] Add
outlinedChips
boolean in the theme contract to allow to choose between outlined or filled chips in a custom theme (#305)
- [All] Version numbers in changelog now display changes on GitHub when clicked (#322)
- [All] Update documentation #334
- [All] Upgrade compile and target SDK versions to 33 #343
- [App] Move change theme feature in top app bar by clicking on a palette icon #335
- [App] Add customization bottom sheets for buttons (#303)
- [App] Replace action buttons switches by a counter in cards customization bottom sheet (#327)
- [App] Add customization bottom sheets for sliders (#307)
- [App] Demonstrate outlined or filled chips according theme configuration (#305)
- [Lib] Allow to add side icons to
OdsSliderLockups
(#307) - [Lib] Use
OptIn
annotation instead of propagatingExperimentalMaterialApi
andExperimentalPagerApi
(#320) - [Lib] Use multipreview annotation instead of duplicating
Preview
annotations (#324) - [Lib] Change
OdsIconToggleButton
display (#303) - [ThemeInnovationCup] Use filled chips (#305)
- [Lib] Fix filter chips display for custom themes (#305)
- [Lib] Fix leading icon tab display for Innovation Cup theme (#330)
- [Lib] Fix a bug where keyboard return key adds a new line in single line
OdsTextField
andOdsOutlinedTextField
(#350)
- [App] Removed unused resources (#352)
0.7.0 - 2022-11-09
- [ThemeConfigurationContract] Add module to create themes
- [ThemeOrange] Add module for Orange theme
- [ThemeInnovationCup] Add module for Innovation Cup theme
- [App] Display an illustration and description header on guideline typography screen (#301)
- [App] Use step counter for list item line count customization (#306)
- [App] Display the chip name and a short description for each type of chip (#304)
0.6.0 - 2022-10-17
- [App] Display composable name associated to each component or variant (#267)
- [App] Progress & activities components have been split in two variants (#282)
- [App] Components detail screens have been homogenized (#254)
- [App] Variants displayed in buttons detail screen have been changed (#260, #278)
- [App] Expand components customization bottom sheets by default (#284)
- [App] Color hex value can now be copied to the clipboard (#256)
- [Lib] Cards and buttons composables have been renamed to match with Jetpack compose SDK naming (#267)
- [Lib]
OdsButtonContainedStyle
has been renamed intoOdsButtonStyle
(#260) - [Lib] Rename
ChoiceChip
toOdsChoiceChip
(#271)
- [App] Fix state vocalization for customization bottom sheets (#279)
- [App] Fix vocalization of counters values on change (#266)
- [Lib] Fix state vocalization for chips: selected/not selected (#280)
0.5.0 - 2022-09-07
- [App] Allow to enable or disable click on cards in customization bottom sheet (#247)
- [App] Add spacing guideline screen (#211)
- [App] Add customizable top app bar regular component preview (#105)
- [Lib] Add
KeyboardState
utility composable which allows to know if the keyboard is opened or closed in Jetpack Compose applications (#221) - [Lib] Add
OdsTextFieldCounter
, a composable to add a counter below a text field (#221) - [Lib] Add
OdsPasswordTextField
andOdsPasswordOutlinedTextField
which are text fields implementations for password entry (#221) - [Lib] Add
OdsChoiceChipsFlowRow
, a composable to display a set of choice chips in a full width flow row (#169) - [Lib] Add
imageBackgroundColor
,imageContentScale
andimageAlignment
properties toOdsCardImageFirst
,OdsCardSmall
andOdsCardTitleFirst
(#229) - [Lib] Add
OdsListItemScope
andOdsListItemIconType
enum as well asModifier.iconType
andModifier.divider
methods to configureOdsListItem
icon type and divider (#141)
- [App] Customization radio buttons has been replaced by chips (#169)
- [App] The number of items in bottom navigation can now be changed using plus and minus buttons (#172)
- [App] Update lists component UI (#141)
- [Lib] Replace
@DrawableRes Int
parameters type byPainter
for all cards and buttons components (#262) - [Lib] Change
OdsSlider
signature:leftIconRes
andrightIconRes
have been replaced respectively byleftIcon
andrightIcon
which arePainter
typed (#243) - [Lib] Change
OdsTopAppBar
signature:title
parameter type changed to String andonNavigationIconClick
parameter has been added (#105)
- [App] Fix vocalization of icons for sliders with icons (#243)
- [App] Fix list item number of lines wording (#252)
- [App] Fix a bug where guideline and component images were cropped (#229)
- [App] Fix a bug where back button did not collapse expanded bottom sheets (#238)
- [Lib] Cards are no more always clickable and corner radius has been added to the ripple effect (#247)
- [Lib] Fix a crash when last tab is selected and the user decreases tabs number (#245)
- [Lib] Fix ripple effect colors for outlined and text buttons when forced on dark or light (#168)
- [Lib] Remove
OdsListItemWideThumbnail
,OdsListWideThumbnail
andOdsListSquaredThumbnail
methods (#141)
0.4.0 - 2022-07-06
- [Lib] Add chips components:
OdsChip
andOdsFilterChip
(#113) - [Lib] Add tabs components:
OdsLeadingIconTab
,OdsTab
,OdsTabRow
andOdsScrollableTabRow
(#108) - [Lib] Add text fields components:
OdsTextField
andOdsOutlinedTextField
(#83) - [Lib] Add
OdsAlertDialog
component (#101) - [Lib] Add list items components:
OdsListItem
andOdsListItemWideThumbnail
(#73) - [Lib] Add controls components:
OdsCheckbox
,OdsRadioButton
,OdsSwitch
,OdsSlider
(#64) - [Lib] Add buttons components:
OdsButton
,OdsOutlinedButton
,OdsTextButton
andOdsToggleButton
(#45) - [Lib] Add
OdsTopAppBar
component (#25) - [Lib] Add
OdsCardSmall
,OdsCardImageFirst
andOdsCardTitleFirst
components (#32, #33, #34) - [Lib] Add
OdsBottomNavigation
andOdsBottomNavigationItem
components (#20) - [Lib] Add
OdsMaterialTheme
which is a Material theme extension for Jetpack Compose applications (#36) - [Lib] Add
Theme.Orange
andTheme.Orange.NoActionBar
, the Orange Design System theme for XML applications