Commit Graph

815 Commits

Author SHA1 Message Date
Xavier Carpentier
6fcb478d72 fix MessageContainer-Pure 2019-01-24 13:29:53 +01:00
Jasper Martin
b4259bd5fe Add video prop in the chat message example (#1100) 2019-01-24 13:26:14 +01:00
Xavier Carpentier
798be74629 bump version 2019-01-23 12:03:32 +01:00
Jasper Martin
9bd1d61acd Add renderUsernameOnMessage on the documentation (#1096)
Update README.md
v0.7.0
2019-01-23 11:49:28 +01:00
Farid Safi
3dca285856 Update README.md 2019-01-21 08:49:11 +01:00
Egidio Caprino
5d088ae263 feat: can disable send button (#1042) 2019-01-18 10:55:17 +01:00
Hamilton Chapman
5f33b90fcd Update Chatkit example (#1043) 2019-01-18 10:54:40 +01:00
Faolain
553224d0fc Feature(MessageContainer): Add ability to render scrollToBottom after scrolling a provided height (#1064)
* feat: add ability to render scrollToBottom after scrolling a provided (includes built-in default of 200) height up

* Update Color Test snapshot, added black

* add onScroll and scrollEventThrottle to FlatList

* Added Documentation to README on how to use scrollToBottom additions

* fix lint
2019-01-16 15:53:01 +01:00
greenkeeper[bot]
a1c2657472 Update @expo/react-native-action-sheet to the latest version 🚀 (#1085)
* fix(package): update @expo/react-native-action-sheet to version 2.0.1

* chore(package): update lockfile yarn.lock
2019-01-16 14:34:39 +01:00
Xavier Carpentier
502bae7c64 Improve perf (#1076)
* feat component perf with scu

* fix type on readme

* perf remove purecomponent
2019-01-12 00:16:08 +01:00
nandiniparimi1107
f872d670bc Min composer height is not respecting props in some instances. Fixing this issue (#1078) 2019-01-11 09:31:43 +01:00
Xavier Carpentier
837bbf2fb2 bump + remove package-lock v0.6.0 2019-01-09 14:26:38 +01:00
Alvin Crespo
9933e436b9 Fixes failed prop type warning for resizeMode (#1072) 2019-01-08 17:15:30 +01:00
nandiniparimi1107
b7de25ff4c Adding minComposerHeight and maxComposerHeight props. (#1069)
* Adding minComposerHeight and maxComposerHeight props.

* as per review comments

* As per review comments.
2019-01-07 18:21:46 +01:00
nandiniparimi1107
0cd69b25b5 Flat-list re-render on demand. (#1060)
* Fixing issue with flatlist as its not re-rendering on renderFooter update

* code cleanup

* code cleanup

* code cleanup

* extraData for re-rendering the flat list.

* Adding extraData to proptypes

* fixing lint errors

* fixing lint errors

* fixing lint errors
2019-01-01 23:36:35 +01:00
nandiniparimi1107
4fb2082b24 Fixing issue with flatlist as its not re-rendering on update (#1058)
* Fixing issue with flatlist as its not re-rendering on renderFooter update

* code cleanup

* code cleanup
2018-12-31 22:17:05 +01:00
Xavier Carpentier
8829f44bb2 fix eslint 2018-12-31 10:47:02 +01:00
Xavier Carpentier
32e36cfccf Key extractor as member 2018-12-26 15:22:17 +01:00
Martin Arista
4349c56d6b Justify Bottom Container (#1046)
* justify content based off position

* update tests
2018-12-26 15:00:50 +01:00
Xavier Carpentier
938500d7d6 Add renderUsername on Bubble props 2018-12-13 10:16:52 +01:00
Xavier Carpentier
843fc75d7d add renderUsernameOnMessage on Bubble 2018-12-13 10:02:21 +01:00
Hammad Jutt
679e338d30 Improve typings to allow for generic messages (#1025)
* allow generic message types

* refactor generic message types to extends interface + improve custom render function props

* Use RN StyleProp for style props

* Preseve backwards compatibility

* add defaultProps and onPressActionButton typings

* fix user typing
2018-12-04 13:37:35 -02:00
Lucas Monteiro
e0fb6670ad pending tick (#1024)
* pending tick

* disable lint for accessible-emoji
2018-12-04 13:37:21 -02:00
Maher Zaidoune
ae53c05560 add send video support (#1010)
* add send video message support using react-native-video

* update README

* Update MessageVideo.js

disabling eslint no-use-before-define for styles variable
2018-12-03 14:19:39 -02:00
arilton
6377796328 Show the username on the message (#929)
* Username on a messages footer

* Add the bool prop to render username on message

* Update based at pull request test #375

* Update to match with the eslint
2018-12-03 16:15:06 +01:00
Michał Osadnik
bb0a1e5132 Update README.md (#964) 2018-12-03 16:13:37 +01:00
Samuel Suther
d3c71c7045 Update README.md (#996)
`alwaysShowSend` Prop are not yet implemented in the current state of component, so I've removed it from the Docs.
2018-12-03 16:12:25 +01:00
Sibelius Seraphini
11548edbfa Merge pull request #1018 from tomasAlabes/patch-1
Error in FlatList with latest react-native version
2018-11-22 05:35:31 -02:00
Tomas Alabes
f1ba7d87d1 Error in FlatList with latest react-native version
`keyExtractor` in `FlatList` must now return a string: https://facebook.github.io/react-native/docs/flatlist#keyextractor
2018-11-21 23:06:35 -08:00
Xavier Carpentier
0a253f0f2b fix imageStyle?: ViewStyle 2018-11-21 11:47:37 +01:00
Sibelius Seraphini
ad9c79744a 0.5.0 v0.5.0 2018-11-19 14:28:32 -02:00
Xavier Carpentier
fd5f1dfb22 Update index.d.ts 2018-11-14 16:54:45 +01:00
Xavier Carpentier
47465d8f1a Update index.d.ts 2018-11-14 11:59:14 +01:00
Xavier Carpentier
f6573fc38d Update index.d.ts 2018-11-14 11:55:56 +01:00
Xavier Carpentier
905c74829f Update index.d.ts 2018-11-14 11:54:14 +01:00
Xavier Carpentier
d50e403237 Update README.md 2018-11-09 09:05:03 +01:00
Danilo Bürger
ebe4b31510 Improved typings (#940)
* Improved render typings

* Use IMessage type instead of any
2018-11-08 22:52:13 +01:00
raphaelpra
89c7b573cc Change component interface name ISystemChat to SystemChat (#995)
* Change component name ISystemChat to SystemChat

ISystemChat was defined twice leading to issues

* Add system param to IChatMessage
2018-11-08 22:51:05 +01:00
Gianfrancø Palumbo
96f8cf8a7a Add prop to customise to Text style of timestamps (#942)
* Add prop to customise to Text style of rendering times

* fix(Time) linting and test snapshot issues
2018-09-06 17:33:58 +02:00
Xavier Carpentier
a44cd245b5 Update README.md 2018-08-29 15:01:18 +02:00
Xavier Carpentier
c0bf5a91dc Update README.md 2018-08-29 14:59:58 +02:00
doomsower
052094d4dd Fix MessageContainer keyboard avoiding when messages array is empty (#898)
* Fix MessageContainer keyboard avoiding when messages array is empty

* Make linter happy
2018-07-22 16:26:51 +02:00
Araya
1ba8f8b233 Use IMessage type instead of any to define the type of message property (#861) 2018-07-09 11:17:31 +02:00
greenkeeper[bot]
0e17d218fb chore(package): update prop-types to version 15.6.2 (#907) 2018-07-09 11:16:36 +02:00
greenkeeper[bot]
ffcfc78c4f fix(package): update uuid to version 3.3.0 (#913) 2018-07-09 11:16:07 +02:00
Larry-Liu2016
1186b02deb Update InputToolbar.js (#906) 2018-07-09 11:14:29 +02:00
Danilo Bürger
8ec3b1dbfe Improved typings (#916)
* Replaced LinkStyle with TextStyle as LinkStyle doesn't even exist

* Properly typed renderDay and renderTime

* Added optional image prop to IChatMessage
2018-07-09 11:13:52 +02:00
Gleb Kost
1fedba2203 fix: enable renderFooter for FlatList MessageContainer (#914) 2018-06-29 14:44:39 +02:00
Helielson
36082ff059 Move listViewProps to the end (#882)
It allows to override props like `style` as suggested on #795
2018-06-16 22:47:19 +02:00
greenkeeper[bot]
dd6c79f5c0 chore(package): update react-test-renderer to version 16.4.0 (#868) 2018-06-16 22:45:09 +02:00