-
Notifications
You must be signed in to change notification settings - Fork 325
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2516 from GetStream/develop
Next Release
- Loading branch information
Showing
63 changed files
with
718 additions
and
359 deletions.
There are no files selected for viewing
5 changes: 5 additions & 0 deletions
5
...tnative/common-content/ui-components/channel/props/message-edited-timestamp.mdx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
Component to render message edited label in message when the message is clicked, within [`MessageList`](../../../../ui-components/message-list.mdx). This component is only rendered for messages from other users. | ||
|
||
| Type | Default | | ||
| ------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | ||
| ComponentType | [`MessageEditedTimestamp`](https://github.com/GetStream/stream-chat-react-native/blob/develop/package/src/components/Message/MessageSimple/MessageEditedTimestamp.tsx) | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
48 changes: 48 additions & 0 deletions
48
docusaurus/docs/reactnative/ui-components/message-edited-timestamp.mdx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
--- | ||
id: message-edited-timestamp | ||
title: MessageEditedTimestamp | ||
--- | ||
|
||
import MessageProp from '../common-content/contexts/message-context/message.mdx'; | ||
|
||
Component to render message edited label in message when the message is clicked, within [`MessageList`](./message-list.mdx). | ||
|
||
This is the default component provided to the prop [`MessageEditedTimestamp`](../../core-components/channel#messageeditedtimestamp) on the `Channel` component. | ||
|
||
## Props | ||
|
||
### <div class="label description">_overrides the value from [MessageContext](../../contexts/message-context#message)_</div> `message` {#message} | ||
|
||
<MessageProp /> | ||
|
||
### `calendar` | ||
|
||
Whether to show the time in Calendar time format. Calendar time displays time relative to a today's date. | ||
|
||
| Type | Default | | ||
| ---------------------- | ----------- | | ||
| `Boolean`\|`undefined` | `undefined` | | ||
|
||
### `format` | ||
|
||
Format of the date. | ||
|
||
| Type | Default | | ||
| --------------------- | ----------- | | ||
| `String`\|`undefined` | `undefined` | | ||
|
||
### `formatDate` | ||
|
||
Function to format the date. | ||
|
||
| Type | Default | | ||
| ----------------------- | ----------- | | ||
| `Function`\|`undefined` | `undefined` | | ||
|
||
### `timestamp` | ||
|
||
The date to be shown after formatting. | ||
|
||
| Type | Default | | ||
| ----------------------------- | ----------- | | ||
| `String`\|`Date`\|`undefined` | `undefined` | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7327,10 +7327,10 @@ [email protected]: | |
version "0.0.0" | ||
uid "" | ||
|
||
stream-chat-react-native-core@5.28.0: | ||
version "5.28.0" | ||
resolved "https://registry.yarnpkg.com/stream-chat-react-native-core/-/stream-chat-react-native-core-5.28.0.tgz#66449c014e034bf6041f364ccf8f25302b8ff580" | ||
integrity sha512-G+NmlCYPO84OE2p1soNoKRi/RlfM0ICnw3gm5wq8bPWaBvt1XozZuX6usO2+nEGVcdhaKTvXqX5i4+6FEGDPBw== | ||
stream-chat-react-native-core@5.29.0: | ||
version "5.29.0" | ||
resolved "https://registry.yarnpkg.com/stream-chat-react-native-core/-/stream-chat-react-native-core-5.29.0.tgz#b89d5f954c2063316ab6dc254e0b98188f01524d" | ||
integrity sha512-cm8CQUIHPE+hHxM1hVQ6V3ogUJLpGPRZBvMYbJW7+MBdhUTn4+40EqEbqHTEtHdkLgPUmxaDJsh/gFCtVEGgog== | ||
dependencies: | ||
"@gorhom/bottom-sheet" "4.4.8" | ||
dayjs "1.10.5" | ||
|
@@ -7363,6 +7363,21 @@ [email protected]: | |
jsonwebtoken "~9.0.0" | ||
ws "^7.4.4" | ||
|
||
[email protected]: | ||
version "8.31.0" | ||
resolved "https://registry.yarnpkg.com/stream-chat/-/stream-chat-8.31.0.tgz#387ed3109ac930e222bf260d98afc37dd1fcb1ac" | ||
integrity sha512-lORUtfDYljoAgRv7QHUADH1QTGydSWo+U8KmUKwv7BZyUZ2JGwh6VZbu9WL4Nmo7PDU7N/Ug0Q5PE59S6WE+OA== | ||
dependencies: | ||
"@babel/runtime" "^7.16.3" | ||
"@types/jsonwebtoken" "~9.0.0" | ||
"@types/ws" "^7.4.0" | ||
axios "^1.6.0" | ||
base64-js "^1.5.1" | ||
form-data "^4.0.0" | ||
isomorphic-ws "^4.0.1" | ||
jsonwebtoken "~9.0.0" | ||
ws "^7.4.4" | ||
|
||
stream-slice@^0.1.2: | ||
version "0.1.2" | ||
resolved "https://registry.yarnpkg.com/stream-slice/-/stream-slice-0.1.2.tgz#2dc4f4e1b936fb13f3eb39a2def1932798d07a4b" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6825,10 +6825,10 @@ statuses@~1.5.0: | |
resolved "https://registry.yarnpkg.com/statuses/-/statuses-1.5.0.tgz#161c7dac177659fd9811f43771fa99381478628c" | ||
integrity sha512-OpZ3zP+jT1PI7I8nemJX4AKmAX070ZkYPVWV/AaKTJl+tXCTGyVdC1a4SL8RUQYEwk/f34ZX8UTykN68FwrqAA== | ||
|
||
stream-chat-react-native-core@5.28.1: | ||
version "5.28.1" | ||
resolved "https://registry.yarnpkg.com/stream-chat-react-native-core/-/stream-chat-react-native-core-5.28.1.tgz#9bde6c2af43a24e8a5c9d4ca35da19ccef95cb34" | ||
integrity sha512-+vsLbqFmxm6Xyt4U3f2zfNvTTB9cXWTk8gyyw4b2RJ2qMZ/8wuN/luS5xwKdNbBZZCuaDlwuJpWE/x5/ERbpWg== | ||
stream-chat-react-native-core@5.29.0: | ||
version "5.29.0" | ||
resolved "https://registry.yarnpkg.com/stream-chat-react-native-core/-/stream-chat-react-native-core-5.29.0.tgz#b89d5f954c2063316ab6dc254e0b98188f01524d" | ||
integrity sha512-cm8CQUIHPE+hHxM1hVQ6V3ogUJLpGPRZBvMYbJW7+MBdhUTn4+40EqEbqHTEtHdkLgPUmxaDJsh/gFCtVEGgog== | ||
dependencies: | ||
"@gorhom/bottom-sheet" "4.4.8" | ||
dayjs "1.10.5" | ||
|
@@ -6865,6 +6865,21 @@ [email protected]: | |
jsonwebtoken "~9.0.0" | ||
ws "^7.4.4" | ||
|
||
[email protected]: | ||
version "8.31.0" | ||
resolved "https://registry.yarnpkg.com/stream-chat/-/stream-chat-8.31.0.tgz#387ed3109ac930e222bf260d98afc37dd1fcb1ac" | ||
integrity sha512-lORUtfDYljoAgRv7QHUADH1QTGydSWo+U8KmUKwv7BZyUZ2JGwh6VZbu9WL4Nmo7PDU7N/Ug0Q5PE59S6WE+OA== | ||
dependencies: | ||
"@babel/runtime" "^7.16.3" | ||
"@types/jsonwebtoken" "~9.0.0" | ||
"@types/ws" "^7.4.0" | ||
axios "^1.6.0" | ||
base64-js "^1.5.1" | ||
form-data "^4.0.0" | ||
isomorphic-ws "^4.0.1" | ||
jsonwebtoken "~9.0.0" | ||
ws "^7.4.4" | ||
|
||
strict-uri-encode@^2.0.0: | ||
version "2.0.0" | ||
resolved "https://registry.yarnpkg.com/strict-uri-encode/-/strict-uri-encode-2.0.0.tgz#b9c7330c7042862f6b142dc274bbcc5866ce3546" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6882,10 +6882,10 @@ statuses@~1.5.0: | |
resolved "https://registry.yarnpkg.com/statuses/-/statuses-1.5.0.tgz#161c7dac177659fd9811f43771fa99381478628c" | ||
integrity sha512-OpZ3zP+jT1PI7I8nemJX4AKmAX070ZkYPVWV/AaKTJl+tXCTGyVdC1a4SL8RUQYEwk/f34ZX8UTykN68FwrqAA== | ||
|
||
stream-chat-react-native-core@5.28.0: | ||
version "5.28.0" | ||
resolved "https://registry.yarnpkg.com/stream-chat-react-native-core/-/stream-chat-react-native-core-5.28.0.tgz#66449c014e034bf6041f364ccf8f25302b8ff580" | ||
integrity sha512-G+NmlCYPO84OE2p1soNoKRi/RlfM0ICnw3gm5wq8bPWaBvt1XozZuX6usO2+nEGVcdhaKTvXqX5i4+6FEGDPBw== | ||
stream-chat-react-native-core@5.29.0: | ||
version "5.29.0" | ||
resolved "https://registry.yarnpkg.com/stream-chat-react-native-core/-/stream-chat-react-native-core-5.29.0.tgz#b89d5f954c2063316ab6dc254e0b98188f01524d" | ||
integrity sha512-cm8CQUIHPE+hHxM1hVQ6V3ogUJLpGPRZBvMYbJW7+MBdhUTn4+40EqEbqHTEtHdkLgPUmxaDJsh/gFCtVEGgog== | ||
dependencies: | ||
"@gorhom/bottom-sheet" "4.4.8" | ||
dayjs "1.10.5" | ||
|
@@ -6927,6 +6927,21 @@ [email protected]: | |
jsonwebtoken "~9.0.0" | ||
ws "^7.4.4" | ||
|
||
[email protected]: | ||
version "8.31.0" | ||
resolved "https://registry.yarnpkg.com/stream-chat/-/stream-chat-8.31.0.tgz#387ed3109ac930e222bf260d98afc37dd1fcb1ac" | ||
integrity sha512-lORUtfDYljoAgRv7QHUADH1QTGydSWo+U8KmUKwv7BZyUZ2JGwh6VZbu9WL4Nmo7PDU7N/Ug0Q5PE59S6WE+OA== | ||
dependencies: | ||
"@babel/runtime" "^7.16.3" | ||
"@types/jsonwebtoken" "~9.0.0" | ||
"@types/ws" "^7.4.0" | ||
axios "^1.6.0" | ||
base64-js "^1.5.1" | ||
form-data "^4.0.0" | ||
isomorphic-ws "^4.0.1" | ||
jsonwebtoken "~9.0.0" | ||
ws "^7.4.4" | ||
|
||
strict-uri-encode@^2.0.0: | ||
version "2.0.0" | ||
resolved "https://registry.yarnpkg.com/strict-uri-encode/-/strict-uri-encode-2.0.0.tgz#b9c7330c7042862f6b142dc274bbcc5866ce3546" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2929,10 +2929,10 @@ [email protected]: | |
resolved "https://registry.yarnpkg.com/stream-buffers/-/stream-buffers-2.2.0.tgz#91d5f5130d1cef96dcfa7f726945188741d09ee4" | ||
integrity sha512-uyQK/mx5QjHun80FLJTfaWE7JtwfRMKBLkMne6udYOmvH0CawotVa7TfgYHzAnpphn4+TweIx1QKMnRIbipmUg== | ||
|
||
stream-chat-react-native-core@5.28.1: | ||
version "5.28.1" | ||
resolved "https://registry.yarnpkg.com/stream-chat-react-native-core/-/stream-chat-react-native-core-5.28.1.tgz#9bde6c2af43a24e8a5c9d4ca35da19ccef95cb34" | ||
integrity sha512-+vsLbqFmxm6Xyt4U3f2zfNvTTB9cXWTk8gyyw4b2RJ2qMZ/8wuN/luS5xwKdNbBZZCuaDlwuJpWE/x5/ERbpWg== | ||
stream-chat-react-native-core@5.29.0: | ||
version "5.29.0" | ||
resolved "https://registry.yarnpkg.com/stream-chat-react-native-core/-/stream-chat-react-native-core-5.29.0.tgz#b89d5f954c2063316ab6dc254e0b98188f01524d" | ||
integrity sha512-cm8CQUIHPE+hHxM1hVQ6V3ogUJLpGPRZBvMYbJW7+MBdhUTn4+40EqEbqHTEtHdkLgPUmxaDJsh/gFCtVEGgog== | ||
dependencies: | ||
"@gorhom/bottom-sheet" "4.4.8" | ||
dayjs "1.10.5" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.