Skip to content

Commit

Permalink
[#141] Update changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
florentmaitre committed Jul 26, 2022
1 parent 1503aaf commit 7847a0e
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 2 deletions.
14 changes: 14 additions & 0 deletions lib/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,20 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### Added

- \[Demo\] Add `ComponentCustomizationChipRow` and `ComponentCustomizationChip` composables to display rows of chips in bottom sheets ([#141](https://github.com/Orange-OpenSource/ods-android/issues/141))
- \[Lib\] Add `OdsListItemScope` and `OdsListItemIconType` enum as well as `Modifier.iconType` and `Modifier.divider` methods to configure `OdsListItem` icon type and divider ([#141](https://github.com/Orange-OpenSource/ods-android/issues/141))

### Changed
- \[Demo\] Update lists component UI ([#141](https://github.com/Orange-OpenSource/ods-android/issues/141))

### Removed

- \[Lib\] Remove `OdsListItemWideThumbnail`, `OdsListWideThumbnail` and `OdsListSquaredThumbnail` methods ([#141](https://github.com/Orange-OpenSource/ods-android/issues/141))

## 0.4.0 - 2022-07-06

### Added

- Add chips components: `OdsChip` and `OdsFilterChip` ([#113](https://github.com/Orange-OpenSource/ods-android/issues/113))
- Add tabs components: `OdsLeadingIconTab`, `OdsTab`, `OdsTabRow` and `OdsScrollableTabRow` ([#108](https://github.com/Orange-OpenSource/ods-android/issues/108))
- Add text fields components: `OdsTextField` and `OdsOutlinedTextField` ([#83](https://github.com/Orange-OpenSource/ods-android/issues/83))
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ inline fun Modifier.noRippleClickable(crossinline onClick: () -> Unit): Modifier
* @param T The type of the [Modifier.Element].
* @return The modifier element, or null if it could not be found.
*/
inline fun <reified T> Modifier.getElementOfType(): T? where T : Modifier.Element {
internal inline fun <reified T> Modifier.getElementOfType(): T? where T : Modifier.Element {
return foldOut(null as T?) { currentElement, foundElement ->
foundElement.orElse { currentElement as? T }
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import kotlin.contracts.ExperimentalContracts
import kotlin.contracts.contract

@OptIn(ExperimentalContracts::class)
fun CharSequence?.isNotNullOrBlank(): Boolean {
internal fun CharSequence?.isNotNullOrBlank(): Boolean {
contract {
returns(true) implies (this@isNotNullOrBlank != null)
}
Expand Down

0 comments on commit 7847a0e

Please sign in to comment.