Skip to content

Commit

Permalink
Update CHANGELOG about new <TextInput> and <TextInputRow>
Browse files Browse the repository at this point in the history
  • Loading branch information
zhusee2 committed Apr 12, 2019
1 parent c43f2c3 commit edf7575
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,14 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/)
and this project adheres to [Semantic Versioning](http://semver.org/).

## [Unreleased]
### Breaking
- [Core] Rewrite `<TextInput>` to match latest design, offering single-line `<input>`, multi-line `<textarea>` and supports custom rendering via render prop.
- [Form] `<TextInputRow>` now renders the new `<TextInput>` and forwards almost every prop to it, **without** a ref to its inner input.

### Changed
- [Core] Refactored `closable()` mixin to detect inside/outside clicks via React SyntheticEvent mechanism instead of listening native events from DOM.
- [Form] Enhance `<TextInputRow>`:
- Can render custom input by `renderInput` or `inputComponent` prop.
- Can specify textarea autosize rules by `minRows` and `maxRows` props.
- [Storybook] Fix mangled component name in storybook build. (#203)
- [Storybook] Update examples for core `<TextInput>` and form `<TextInputRow>`. (#203)

## [2.1.0]
### Changed
Expand Down

0 comments on commit edf7575

Please sign in to comment.