@cord-sdk/react
Advanced tools
Comparing version 1.5.1 to 1.6.0
import * as React from 'react'; | ||
import type { ComposerSize, ComposerWebComponentEvents } from '@cord-sdk/types'; | ||
import type { ComposerSize, ComposerWebComponentEvents, EntityMetadata } from '@cord-sdk/types'; | ||
import type { ReactPropsWithLocation, ReactPropsWithStandardHTMLAttributes } from '../types'; | ||
@@ -11,2 +11,3 @@ export type ComposerReactComponentProps = ReactPropsWithLocation<{ | ||
size?: ComposerSize; | ||
messageMetadata?: EntityMetadata; | ||
onFocus?: (...args: ComposerWebComponentEvents['focus']) => unknown; | ||
@@ -13,0 +14,0 @@ onBlur?: (...args: ComposerWebComponentEvents['blur']) => unknown; |
@@ -13,2 +13,3 @@ import * as React from 'react'; | ||
showReplies?: ShowReplies; | ||
highlightThreadId?: string; | ||
onMessageClick?: (messageInfo: MessageInfo) => unknown; | ||
@@ -20,3 +21,3 @@ onMessageMouseEnter?: (messageInfo: MessageInfo) => unknown; | ||
}; | ||
export declare function ThreadedComments({ className, location, messageOrder, composerPosition, composerExpanded, showReplies, onMessageClick, onMessageMouseEnter, onMessageMouseLeave, onRender, onLoading, }: ThreadedCommentsReactComponentProps): React.JSX.Element; | ||
export declare function ThreadedComments({ className, location, messageOrder, composerPosition, composerExpanded, showReplies, highlightThreadId, onMessageClick, onMessageMouseEnter, onMessageMouseLeave, onRender, onLoading, }: ThreadedCommentsReactComponentProps): React.JSX.Element; | ||
export {}; |
{ | ||
"name": "@cord-sdk/react", | ||
"description": "React components for Cord", | ||
"version": "1.5.1", | ||
"version": "1.6.0", | ||
"homepage": "https://docs.cord.com/", | ||
@@ -22,4 +22,4 @@ "license": "MIT", | ||
"dependencies": { | ||
"@cord-sdk/components": "1.5.1", | ||
"@cord-sdk/types": "1.5.1", | ||
"@cord-sdk/components": "1.6.0", | ||
"@cord-sdk/types": "1.6.0", | ||
"classnames": "^2.3.1", | ||
@@ -32,3 +32,3 @@ "lodash": "^4.17.21" | ||
"devDependencies": { | ||
"@cord-sdk/jsx": "1.5.1", | ||
"@cord-sdk/jsx": "1.6.0", | ||
"@types/lodash": "^4.14.155", | ||
@@ -35,0 +35,0 @@ "@types/react": "^18.2.18", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
219549
4549
+ Added@cord-sdk/components@1.6.0(transitive)
+ Added@cord-sdk/types@1.6.0(transitive)
- Removed@cord-sdk/components@1.5.1(transitive)
- Removed@cord-sdk/types@1.5.1(transitive)
Updated@cord-sdk/components@1.6.0
Updated@cord-sdk/types@1.6.0