Skip to content

Commit e946fb5

Browse files
Updating docs and changelog
1 parent 5760e6e commit e946fb5

File tree

4 files changed

+51
-3
lines changed

4 files changed

+51
-3
lines changed

CHANGELOG.md

+33
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,38 @@
11
# Changelog
22

3+
## [0.6.0] 2020-01-07
4+
5+
- Exporting all the missing components and utils
6+
- AutoCompleteInput
7+
- Card
8+
- CommandsItem
9+
- DateSeparator
10+
- EmptyStateIndicator
11+
- EventIndicator
12+
- FileAttachmentGroup
13+
- FileUploadPreview
14+
- Gallery
15+
- IconSquare
16+
- ImageUploadPreview
17+
- KeyboardCompatibleView
18+
- LoadingErrorIndicator
19+
- LoadingIndicator
20+
- MentionsItem
21+
- Message
22+
- MessageNotification
23+
- MessageSystem
24+
- ReactionList
25+
- Spinner
26+
- SuggestionsProvider
27+
- UploadProgressIndicator
28+
- Refining prop-types and typescript types for components.
29+
- Fixing theme paths for MessageNotification component.
30+
31+
#### Breaking Change
32+
33+
- Replacing theme path `messageList.messageNotificationText` with `messageList.messageNotification.text` ([#3593dfb](https://github.com/GetStream/stream-chat-react-native/commit/9ad366562996edaef09b66bbee4eb657a99fb89e#diff-bff2172a77e0b6357dc54230974c9a61))
34+
- Replacing theme path `messageList.messageNotification` with `messageList.messageNotification.container` ([#3593dfb](https://github.com/GetStream/stream-chat-react-native/commit/9ad366562996edaef09b66bbee4eb657a99fb89e#diff-bff2172a77e0b6357dc54230974c9a61))
35+
336
## [0.5.1] 2019-12-23
437

538
#### stream-chat-expo (Expo package)

docs/build/bundle.2865348d.js renamed to docs/build/bundle.b2edd56f.js

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
<!DOCTYPE html><html><head><meta charset="UTF-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta http-equiv="X-UA-Compatible" content="ie=edge"><title>Stream Chat React Native - Docs</title><link rel="icon" type="image/x-icon" href="https://getstream.imgix.net/images/favicons/favicon-96x96.png"></head><body><div id="rsg-root"></div><script src="build/bundle.2865348d.js"></script></body></html>
1+
<!DOCTYPE html><html><head><meta charset="UTF-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta http-equiv="X-UA-Compatible" content="ie=edge"><title>Stream Chat React Native - Docs</title><link rel="icon" type="image/x-icon" href="https://getstream.imgix.net/images/favicons/favicon-96x96.png"></head><body><div id="rsg-root"></div><script src="build/bundle.b2edd56f.js"></script></body></html>

src/components/KeyboardCompatibleView.js

+15
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,21 @@ import {
99
} from 'react-native';
1010
import { KeyboardContext } from '../context';
1111

12+
/**
13+
* KeyboardCompatibleView is HOC component similar to [KeyboardAvoidingView](https://facebook.github.io/react-native/docs/keyboardavoidingview),
14+
* designed to work with MessageInput and MessageList component.
15+
*
16+
* Main motivation of writing this our own component was to get rid of issues that come with KeyboardAvoidingView from react-native
17+
* when used with components of fixed height. [Channel](https://github.com/GetStream/stream-chat-react-native/blob/master/src/components/ChannelInner.js) component
18+
* uses `KeyboardCompatibleView` internally, so you don't need to explicitely add it.
19+
*
20+
* ```json
21+
* <KeyboardCompatibleView>
22+
* <MessageList />
23+
* <MessageInput />
24+
* </KeyboardCompatibleView>
25+
* ```
26+
*/
1227
export class KeyboardCompatibleView extends React.PureComponent {
1328
constructor(props) {
1429
super(props);

0 commit comments

Comments
 (0)