react-native-gifted-chat 0.16.3 → 1.0.0-beta-1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +12 -9
- package/lib/Actions.d.ts +13 -11
- package/lib/Actions.js +28 -34
- package/lib/Actions.js.map +1 -1
- package/lib/Avatar.d.ts +5 -6
- package/lib/Avatar.js +34 -39
- package/lib/Avatar.js.map +1 -1
- package/lib/Bubble.d.ts +11 -8
- package/lib/Bubble.js +13 -7
- package/lib/Bubble.js.map +1 -1
- package/lib/Composer.d.ts +5 -11
- package/lib/Composer.js +34 -40
- package/lib/Composer.js.map +1 -1
- package/lib/Day.d.ts +7 -10
- package/lib/Day.js +15 -19
- package/lib/Day.js.map +1 -1
- package/lib/GiftedAvatar.js +3 -3
- package/lib/GiftedAvatar.js.map +1 -1
- package/lib/GiftedChat.d.ts +47 -38
- package/lib/GiftedChat.js +61 -36
- package/lib/GiftedChat.js.flow +8 -0
- package/lib/GiftedChat.js.map +1 -1
- package/lib/GiftedChatContext.d.ts +9 -0
- package/lib/GiftedChatContext.js +9 -0
- package/lib/GiftedChatContext.js.map +1 -0
- package/lib/InputToolbar.d.ts +14 -28
- package/lib/InputToolbar.js +27 -83
- package/lib/InputToolbar.js.map +1 -1
- package/lib/LoadEarlier.d.ts +4 -5
- package/lib/LoadEarlier.js +12 -25
- package/lib/LoadEarlier.js.map +1 -1
- package/lib/Message.d.ts +10 -7
- package/lib/Message.js +11 -9
- package/lib/Message.js.map +1 -1
- package/lib/MessageAudio.d.ts +1 -3
- package/lib/MessageAudio.js +11 -9
- package/lib/MessageAudio.js.map +1 -1
- package/lib/MessageContainer.d.ts +3 -8
- package/lib/MessageContainer.js +3 -41
- package/lib/MessageContainer.js.map +1 -1
- package/lib/MessageImage.d.ts +4 -5
- package/lib/MessageImage.js +12 -15
- package/lib/MessageImage.js.map +1 -1
- package/lib/MessageText.d.ts +5 -13
- package/lib/MessageText.js +79 -82
- package/lib/MessageText.js.map +1 -1
- package/lib/MessageVideo.d.ts +1 -3
- package/lib/MessageVideo.js +11 -9
- package/lib/MessageVideo.js.map +1 -1
- package/lib/Models.d.ts +3 -4
- package/lib/Models.js +1 -0
- package/lib/QuickReplies.d.ts +5 -15
- package/lib/QuickReplies.js +67 -87
- package/lib/QuickReplies.js.map +1 -1
- package/lib/Send.d.ts +6 -7
- package/lib/Send.js +16 -21
- package/lib/Send.js.map +1 -1
- package/lib/SystemMessage.d.ts +4 -5
- package/lib/SystemMessage.js +10 -12
- package/lib/SystemMessage.js.map +1 -1
- package/lib/Time.d.ts +5 -9
- package/lib/Time.js +33 -33
- package/lib/Time.js.map +1 -1
- package/lib/TypingIndicator.d.ts +0 -1
- package/lib/hooks/useUpdateLayoutEffect.d.ts +3 -2
- package/lib/hooks/useUpdateLayoutEffect.js +1 -1
- package/lib/hooks/useUpdateLayoutEffect.js.map +1 -1
- package/package.json +22 -19
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "react-native-gifted-chat",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "1.0.0-beta-1",
|
|
4
4
|
"description": "The most complete chat UI for React Native",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"types": "lib/index.d.ts",
|
|
@@ -28,8 +28,9 @@
|
|
|
28
28
|
"config:dev": "json -I -f package.json -e 'this.main=\"node_modules/expo/AppEntry.js\"'",
|
|
29
29
|
"config:npm": "json -I -f package.json -e 'this.main=\"lib/index.js\"'",
|
|
30
30
|
"lint": "tslint --project .",
|
|
31
|
-
"lint:fix": "./node_modules/.bin/tslint ./src
|
|
31
|
+
"lint:fix": "./node_modules/.bin/tslint ./src/*.{ts,tsx} --fix",
|
|
32
32
|
"tsc": "node_modules/.bin/tsc --noEmit",
|
|
33
|
+
"tsc:watch": "node_modules/.bin/tsc --watch --noEmit",
|
|
33
34
|
"start": "yarn config:dev && expo start",
|
|
34
35
|
"start:web": "yarn config:dev && expo start -w --dev",
|
|
35
36
|
"build": "rm -rf lib/ && node_modules/.bin/tsc && cp flow-typedefs/*.js.flow lib/",
|
|
@@ -67,48 +68,50 @@
|
|
|
67
68
|
]
|
|
68
69
|
},
|
|
69
70
|
"devDependencies": {
|
|
70
|
-
"@babel/core": "7.9.
|
|
71
|
+
"@babel/core": "~7.9.0",
|
|
71
72
|
"@babel/preset-typescript": "7.9.0",
|
|
72
73
|
"@types/jest": "25.2.1",
|
|
73
|
-
"@types/react": "
|
|
74
|
-
"@types/react-native": "
|
|
74
|
+
"@types/react": "~16.9.35",
|
|
75
|
+
"@types/react-native": "~0.63.2",
|
|
75
76
|
"@types/react-native-communications": "2.2.1",
|
|
76
77
|
"@types/react-test-renderer": "16.9.2",
|
|
77
78
|
"@types/uuid": "3.4.9",
|
|
78
79
|
"babel-core": "7.0.0-bridge.0",
|
|
79
80
|
"babel-jest": "25.5.1",
|
|
80
|
-
"babel-preset-expo": "
|
|
81
|
-
"expo": "^
|
|
82
|
-
"expo-
|
|
83
|
-
"expo-
|
|
84
|
-
"expo-
|
|
85
|
-
"expo-
|
|
81
|
+
"babel-preset-expo": "8.3.0",
|
|
82
|
+
"expo": "^41.0.0",
|
|
83
|
+
"expo-app-loading": "1.0.3",
|
|
84
|
+
"expo-constants": "~10.1.3",
|
|
85
|
+
"expo-image-picker": "~10.1.4",
|
|
86
|
+
"expo-location": "~12.0.4",
|
|
87
|
+
"expo-permissions": "~12.0.1",
|
|
86
88
|
"flow-bin": "0.125.0",
|
|
87
89
|
"husky": "4.2.5",
|
|
88
|
-
"jest-expo": "^
|
|
90
|
+
"jest-expo": "^41.0.0",
|
|
89
91
|
"json": "9.0.6",
|
|
90
92
|
"prettier": "2.0.5",
|
|
91
|
-
"react": "16.
|
|
92
|
-
"react-dom": "16.
|
|
93
|
-
"react-native": "
|
|
94
|
-
"react-native-maps": "0.
|
|
93
|
+
"react": "16.13.1",
|
|
94
|
+
"react-dom": "16.13.1",
|
|
95
|
+
"react-native": "0.63.4",
|
|
96
|
+
"react-native-maps": "0.27.1",
|
|
95
97
|
"react-native-nav": "2.0.2",
|
|
98
|
+
"react-native-web": "~0.13.12",
|
|
96
99
|
"react-native-web-maps": "0.2.0",
|
|
97
100
|
"react-test-renderer": "16.9.0",
|
|
98
|
-
"react-native-web": "^0.11.7",
|
|
99
101
|
"tslint": "6.1.2",
|
|
100
102
|
"tslint-config-prettier": "1.18.0",
|
|
101
|
-
"typescript": "
|
|
103
|
+
"typescript": "~4.0.0"
|
|
102
104
|
},
|
|
103
105
|
"dependencies": {
|
|
104
106
|
"@expo/react-native-action-sheet": "^3.6.0",
|
|
105
107
|
"dayjs": "^1.8.26",
|
|
106
108
|
"prop-types": "^15.7.2",
|
|
107
109
|
"react-native-communications": "^2.2.1",
|
|
108
|
-
"react-native-iphone-x-helper": "^1.
|
|
110
|
+
"react-native-iphone-x-helper": "^1.3.1",
|
|
109
111
|
"react-native-lightbox": "^0.8.1",
|
|
110
112
|
"react-native-parsed-text": "0.0.22",
|
|
111
113
|
"react-native-typing-animation": "^0.1.7",
|
|
114
|
+
"use-memo-one": "1.1.1",
|
|
112
115
|
"uuid": "3.4.0"
|
|
113
116
|
},
|
|
114
117
|
"peerDependencies": {
|