Skip to content

Commit

Permalink
Update CHANGELOG about <ColumnView> and <Modal> refactors
Browse files Browse the repository at this point in the history
  • Loading branch information
zhusee2 committed Sep 2, 2019
1 parent 37f08c3 commit 0093dcc
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,12 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
### Breaking
- [Core] [Form] [ImageEditor] Peer dependency changes:
* Change from `@babel/runtime-corejs2` to `@babel/runtime-corejs3`.
- [Core] `<ColumnView>`:
* The `bottomPadding` prop is removed. Please use `bodyPadding` prop and pass an object instead.
- [Core] `<Modal>`:
* `<Modal>` is refactored to render a `<ColumnView>` as its inner layout.
* `<Modal>` no longer takes `size` and `bodyClassName` props.
* The `bodyPadding` prop now takes an object and is passed to `<ColumnView>`.
- [Form] `<SelectList>`:
- Rename prop `values` to `value`, and it receive a single value directly when is not `multiple`, and receive an array when `multiple` is true.
- Rename prop `defaultValues` to `defaultValue`, and it receive a single value directly when is not `multiple`, and receive an array when `multiple` is true.
Expand All @@ -24,13 +30,15 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
### Added
- [Core] [Form] [ImageEditor] setup `warning@4.0.3`.
- [Core] Add the `inline-info` icon to the selections of `<Icon>`.
- [Core] Add `flexBody` prop for `<ColumnView>` (and also `<Modal>`) to render its body as a Flexbox.

### Changed
- [Build] Upgrade to Babel v7.4.4 + `core-js` v3 to provide better polyfilling.
- [Build] Upgrade to Lerna v3.16.4; changes publish steps.
- [Core] Update `<Section>` title style and increase bottom margin.
- [Form] Update `<SelectRow>` and `<SwitchRow>` to adpat vertically-reversed appearance as `<TextInputRow>` in v3.0.
- [Form] Add `desc` prop to `<SelectOption>`
- [Storybook] Update examples for refactord `<ColumnView>` and `<Modal>`.

## [3.0.0]
### Breaking
Expand Down

0 comments on commit 0093dcc

Please sign in to comment.